Skip to content

Instantly share code, notes, and snippets.

@pandada8
Created April 29, 2018 14:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save pandada8/3b48a70b1bc3909eb4d714beec7a6bde to your computer and use it in GitHub Desktop.
Save pandada8/3b48a70b1bc3909eb4d714beec7a6bde to your computer and use it in GitHub Desktop.
captival_fix.sh
adb shell settings put global captive_portal_http_url http://www.google.cn/generate_204
adb shell settings put global captive_portal_https_url https://www.google.cn/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