Invalid MIUI 11 9.10.10 5GHz WiFi Channel Bug (RN7P UK)


Yemble

Members
Oct 6, 2019
160
40
I am running 9.10.10 on a Redmi Note 7 Pro, in the UK. In my house, I have three routers, two configured as APs, all running DD-WRT. Each router delivers both 2.4GHz and 5GHz WiFi, using different channels for 2.4GHz and different WT80 channel blocks for 5GHz. Each band has a different SSID.

On all of my numerous devices, Motorola, Samsung, Dell, HP, etc., with the one notable exception of the RN7P, I can see 5GHz in the channel ranges, 100-116, 117-128 and 48-64. With the RN7P I can see 5GHz in the channel ranges, 100-116 and 117-128, but NOT 48-64. Each of these three channel blocks should be available in the UK, but there seems to be a bug in the RN7P ROM, preventing detection of the lower channel block.

All of the lower 13 channels are visible on 2.4GHz.

It seems to me that the internal channel lookup table for the UK is incorrect for this ROM. Any chance of fixing it?

Also, GPS.CONF file is referring to Asia (China) NTP servers. This is incorrect for the EU region and should be changed appropriately in future releases of this ROM. Note, that with a rooted ROM, it is possible for the user to correct this themself by editing the file, however, this should not be necessary!
 
Last edited:

FuSan

Members
Nov 25, 2018
60
20
I can confirm the bug. I have a k20 pro and RN5/Pro with the latest beta.

They can detect higher channels but not lower ones on 5ghz wifi like 36,40,44,48 (only this are available to me on mi router 4A gigabyte edition for some crazy unknown reason). This bug can be avoided by doing a trick I found while google searching.. (seems like it was available before also)

Turn on airplane mode. Search for wifi... 5ghz wifi is available now.. Connect it.. Disable airplane mode...

Edit(Just some unnecessary information about the router): okay now I know about the reason for no higher channel than 48.
:(
Firmware itself was made to comply with Eu laws, and it's not possible to change region to other places for some weird reason. So basically according to chinese law no lower channel for 5ghz on miui rom(36-48)... And according to eu law, without dfc no higher channels(149-165) on the router firmware..
 
Last edited:

Yemble

Members
Oct 6, 2019
160
40
5GHz WiFi is still an issue in 9.10.10.

GPS.CONF looks a lot better now. Not perfect for UK, but at least it is pointing to EU NTP servers

For anyone still wanting to edit this, you may need to do this in a temporary location and then copy it into /vendor/etc using the TWRP file manager.
 
Last edited:

pittrich67

Members
Dec 29, 2016
606
82
Mix 3 v9.10.10 WiFi and AI button bug

I still have the WiFi bug. After interrupting the device for a few hours, the Wi-Fi connection will not be established automatically. If I make the connection by hand, the WLAN connects to my 5 GHz WLAN.
Similarly, I have an error configuring the AIButton. If I want to configure the AI crashes the settings.
e5a3cb1e2249e84eb1111bb48ede68d2.jpg


Gesendet von meinem MIX 3 mit Tapatalk
 

Igor Eisberg

Developer
Staff member
Oct 6, 2016
6,538
322
5GHz WiFi is still an issue in 9.10.10.

GPS.CONF looks a lot better now. Not perfect for UK, but at least it is pointing to EU NTP servers

For anyone still wanting to edit this, you may need to do this in a temporary location and then copy it into /vendor/etc using the TWRP file manager.
Only one secondary NTP server can be specified, we picked Germany as the center of Europe. Can't see why we would prioritize the UK.
Anyway it's just a secondary server, the primary server is still europe.pool.ntp.org.
 
  • Like
Reactions: pittrich67

Yemble

Members
Oct 6, 2019
160
40
Only one secondary NTP server can be specified, we picked Germany as the center of Europe. Can't see why we would prioritize the UK.
Anyway it's just a secondary server, the primary server is still europe.pool.ntp.org.
Yep, no issue with that, although ideally it would be set according to user region. I guess that Google have not got round to that yet.

However, I'm far more interested in the WiFi VHT80 channel issue. Any news on that?
 

Igor Eisberg

Developer
Staff member
Oct 6, 2016
6,538
322
Yep, no issue with that, although ideally it would be set according to user region. I guess that Google have not got round to that yet.

However, I'm far more interested in the WiFi VHT80 channel issue. Any news on that?
Try logging with the following command while toggling WiFi off and then on again:
adb logcat -s wpa_supplicant

(Might contain network names and IPs, so send me in private)
 
  • Like
Reactions: pittrich67

MahmudSazzad

Members
Mar 7, 2019
13
15
Jus to reignite this thread, the new update on mi router 4a seems to fix the problem, But my phone cannot update to the latest version firmware. Can anyone find it and update it?
 

FuSan

Members
Nov 25, 2018
60
20
Just reset your router and choose a region that has all the wifi 5ghz channels. I choose singapore and I have access to all channels. New update is based on global firmware rather than locked region. So we now have region select which fixes the problem.

Btw I learned the cause for previous issue. It was due to google that sets the wifi channels based on your region. When a sim card is insert google sends the wifi channels based on the sim region. So if that assumed region has locked some wifi channels it doesn't show those. It's not the roms problem at all. Some custom roms don't have this problem because they don't use this service of google or somehow removed it.
 

MahmudSazzad

Members
Mar 7, 2019
13
15
Just reset your router and choose a region that has all the wifi 5ghz channels. I choose singapore and I have access to all channels. New update is based on global firmware rather than locked region. So we now have region select which fixes the problem.

Btw I learned the cause for previous issue. It was due to google that sets the wifi channels based on your region. When a sim card is insert google sends the wifi channels based on the sim region. So if that assumed region has locked some wifi channels it doesn't show those. It's not the roms problem at all. Some custom roms don't have this problem because they don't use this service of google or somehow removed it.
Even after resetting when I try to set the region to Singapore it says the mi wifi app and router region does not match, and if I log in with germany selected as the region as it is the default, it just says couldnt update. Any solution? Im always getting this.
31750
 
Last edited:

FuSan

Members
Nov 25, 2018
60
20
Even after resetting when I try to set the region to Singapore it says the mi wifi app and router region does not match, and if I log in with germany selected as the region as it is the default, it just says couldnt update. Any solution?
Not sure on my k20 pro I have a option to select region below username on miwifi app. So try to look into that and try to see if you get that too.
 

Attachments

  • Screenshot_2020-09-05-21-23-47-462_com.xiaomi.router.jpg
    Screenshot_2020-09-05-21-23-47-462_com.xiaomi.router.jpg
    153.5 KB · Views: 192

MahmudSazzad

Members
Mar 7, 2019
13
15
Not sure on my k20 pro I have a option to select region below username on miwifi app. So try to look into that and try to see if you get that too.
So when does your update (for the router) happen? After resetting? Or before?
 

MahmudSazzad

Members
Mar 7, 2019
13
15
Not sure on my k20 pro I have a option to select region below username on miwifi app. So try to look into that and try to see if you get that too.
This is what is shown in my settings, sadly.
 

Attachments

  • Screenshot_2020-09-05-21-31-30-852_com.xiaomi.router.jpg
    Screenshot_2020-09-05-21-31-30-852_com.xiaomi.router.jpg
    211.9 KB · Views: 159

FuSan

Members
Nov 25, 2018
60
20
So when does your update (for the router) happen? After resetting? Or before?
Update was done before. I just reset the router because that's what I need to choose region on the router. You won't get a new update after resetting the router.

So just to make sure. You reset the router accessed the admin dashboard through 192.138.31.1 in your browser. Set everything up including region. (region selection option is in a place that doesn't come to view very easily. Sorry can't remember or give screenshot of that)
Then choose the region in miwifi. There is 2 place to set the region. One is in the router and one is in the mifi app. I think you didn't do it on the router.
Go to your router admin dashboard in browser. From there go to settings>status and see what's the region there. You can't change region from there. Just check what region it's currently in. To change you need to reset your router and set it first time you set up the router.
 

Attachments

  • Screenshot_2020-09-05-21-39-23-921_com.android.chrome.jpg
    Screenshot_2020-09-05-21-39-23-921_com.android.chrome.jpg
    213.1 KB · Views: 200

MahmudSazzad

Members
Mar 7, 2019
13
15
Update was done before. I just reset the router because that's what I need to choose region on the router. You won't get a new update after resetting the router.

So just to make sure. You reset the router accessed the admin dashboard through 192.138.31.1 in your browser. Set everything up including region. (region selection option is in a place that doesn't come to view very easily. Sorry can't remember or give screenshot of that)
Then choose the region in miwifi. There is 2 place to set the region. One is in the router and one is in the mifi app. I think you didn't do it on the router.
Go to your router admin dashboard in browser. From there go to settings>status and see what's the region there. You can't change region from there. Just check what region it's currently in. To change you need to reset your router and set it first time you set up the router.
Unfortunately my update is failing in all my devices. Ill try to do from another device
 

FuSan

Members
Nov 25, 2018
60
20
Unfortunately my update is failing in all my devices. Ill try to do from another device
Try to do it from the browser, router dashboard. You won't get different firmware update if you use the miwifi app. If your router is upto date in browser (192.168.31.1) then there shouldn't even be a firmware update in the mifi app. Why it is failing I have no idea.
 

MahmudSazzad

Members
Mar 7, 2019
13
15
3.0.23 is latest firmware for mi router 4a gigabit edition btw.
I know. My version is 2.28.132. my router is not udating via any device, laptops, desktops or phones to 3.0.23. could you provide me the update file? If it is cached in your pc somewhere?
 

FuSan

Members
Nov 25, 2018
60
20
I know. My version is 2.28.132. my router is not udating via any device, laptops, desktops or phones to 3.0.23. could you provide me the update file? If it is cached in your pc somewhere?
Well that's a problem.
I had auto update turned on and one day I just noticed the dashboard different and then found out about it. You can't find the firmware file. It downloads from the server and directly installs it to the router. It doesn't even come to the desktop or any other clients. And its not available in the internet also. Anyway just keep the auto update or something like that on. It should auto update in a few days. Maybe.
 

MahmudSazzad

Members
Mar 7, 2019
13
15
Well that's a problem.
I had auto update turned on and one day I just noticed the dashboard different and then found out about it. You can't find the firmware file. It downloads from the server and directly installs it to the router. It doesn't even come to the desktop or any other clients. And its not available in the internet also. Anyway just keep the auto update or something like that on. It should auto update in a few days. Maybe.
Well, i guess its my bad luck. Ill keep the auto update on and lets hope it updates.
 

MahmudSazzad

Members
Mar 7, 2019
13
15
Hello.. Did you managed to update the firmware? I found out that the latest firmware is now available on the internet.


Check the github page given above. They have the stock english 3.0.24 firmware for mi router 4a gigabit edition...
Hello.. Did you managed to update the firmware? I found out that the latest firmware is now available on the internet.


Check the github page given above. They have the stock english 3.0.24 firmware for mi router 4a gigabit edition...
Woah Man. Thankssssss. This is awesome.