Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@m13253
Created January 22, 2020 16:01
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save m13253/c75bb88c1bd7885138e3cc7d92826716 to your computer and use it in GitHub Desktop.
Save m13253/c75bb88c1bd7885138e3cc7d92826716 to your computer and use it in GitHub Desktop.
Change Android captive portal detection to Xiaomi's server
adb shell settings put global captive_portal_https_url https://connect.rom.miui.com/generate_204
adb shell settings put global captive_portal_http_url http://connect.rom.miui.com/generate_204
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment