Skip to content

Instantly share code, notes, and snippets.

@shellexy
Last active January 31, 2017 13:48
Show Gist options
  • Save shellexy/21aba0fdbdbb523669964b7fe8aa7f7e to your computer and use it in GitHub Desktop.
Save shellexy/21aba0fdbdbb523669964b7fe8aa7f7e to your computer and use it in GitHub Desktop.
修改 wifi 验证服务器地址
安卓 5.0~6.0 可以
adb shell settings put global captive_portal_server google.cn
安卓 7.0~7.1 同上并需要服务器支持 https
安卓 7.1.1 可以
adb shell settings put global captive_portal_https_url https://google.cn/generate_204
上述 google.cn 可以也换成 www.qualcomm.cn 高通中国的验证服务器
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment