Skip to content

Instantly share code, notes, and snippets.

@T2hhbmEK
Created June 6, 2018 17:35
Show Gist options
  • Save T2hhbmEK/9430f0cbd94d7e1bac0a631500c475b1 to your computer and use it in GitHub Desktop.
Save T2hhbmEK/9430f0cbd94d7e1bac0a631500c475b1 to your computer and use it in GitHub Desktop.
adb_captive_portal.sh
adb shell settings put global captive_portal_http_url http://connect.rom.miui.com/generate_204
adb shell settings put global captive_portal_https_url https://connect.rom.miui.com/generate_204
adb shell settings put global captive_portal_fallback_url http://www.google.cn/generate_204
adb shell settings put global captive_portal_other_fallback_urls http://www.qualcomm.cn/generate_204
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment