Created
August 12, 2018 12:10
-
-
Save tsweeper/eef913a91229a811861e42e5faa4e1dd to your computer and use it in GitHub Desktop.
Overrides the captive portal settings of Android in the People's Republic China Mainland
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env sh | |
| adb shell settings put global captive_portal_fallback_url http://g.cn/generate_204 | |
| 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_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