Skip to content

Instantly share code, notes, and snippets.

@shibajee
Created August 27, 2020 06:15
Show Gist options
  • Save shibajee/4861767bc10fde9328ed59b817bcc521 to your computer and use it in GitHub Desktop.
Save shibajee/4861767bc10fde9328ed59b817bcc521 to your computer and use it in GitHub Desktop.
Change region of Xiaomi routers to unlock all channel:
1. Login to ur router in browser.
2. Open a new tab and paste this
http://192.168.31.1/cgi-bin/luci/;stok=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/api/xqsystem/set_country_code?country=CN
get the stok value from login tab and replace it in new tab and then hit enter.
3. Router will reboot automatically and on next login u will see all 5Ghz channel 36~48 and 149~165.
**u can also go with country=HK or country=TW (hongkong or taiwan)
@ahsanonair
Copy link

I was able to unlock upper channels (149 and above) of 5GHz WiFi on Ax3000. For me what I did was

  • Turned off smart connect i.e. separated 2.4GHz and 5GHz bands
  • First changed the location** and country code*** of satellite router then primary router to CN.
  • Changed the 5GHz bandwidth to 80MHz.

** http://192.168.31.1/cgi-bin/luci/;stok=xxxxxxxxxxxxxxxxxxxxxxxxx/api/xqsystem/set_location?location=CN *** http://192.168.31.1/cgi-bin/luci/;stok=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/api/xqsystem/set_country_code?country=CN

If you change the primary router first it will break the mesh network and you have to reset it. Also keep the wireless channel to auto because dropdown will not show the extended channels. I initalized the router with South Korea region and after changing the location to CN I changed the time zone of primaray router to Korea again as satellite/mesh router timezone was not changed with location change

image

I tried the instructions you mentioned, however at the link of the Country Code, it will come up with the below error
{"msg":"Couldn't complete this action","code":1606}
Can you please help me out here?
I have paid a hefty amount with this router and seems like its a waste for 5G Band. :'(

@muneebshafiq
Copy link

@ahsanonair I also got wrong message but when I checked region in system settings it was changed. And in my solution above, as wireless channel is set to auto. So sometimes channel changes to lower spectrum like 36 or 48 but for me a restart usually fixes it.

@ahsanonair
Copy link

somehow, the procedure is not working for me.
message kardein mujay insta peh same ID hai as GitHub.
aisay open forum peh whatsapp send karna munasib nahi lagraha

@muneebshafiq
Copy link

somehow, the procedure is not working for me. message kardein mujay insta peh same ID hai as GitHub. aisay open forum peh whatsapp send karna munasib nahi lagraha

Ok let's discuss there

@Coll147
Copy link

Coll147 commented Apr 25, 2025

It worked :D thanks

Xiaomi Ax3200 Mi wifi 1.0.83

1000109145

1000109143

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment