Skip to content

Instantly share code, notes, and snippets.

@linhdh
Forked from shibajee/Unlock Xiaomi Routers
Created January 27, 2022 07:51
Show Gist options
  • Save linhdh/808aad09f46615e754ba8d0a96df923c to your computer and use it in GitHub Desktop.
Save linhdh/808aad09f46615e754ba8d0a96df923c 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment