替换掉google的检查网络服务器为自建,不影响WIFI认证:
update:
adb shell settings put global captive_portal_server www.google.cn
update:
adb shell settings put global captive_portal_server weibin.me
Android 7.1.1 / Android 8(Oreo):
adb shell settings put global captive_portal_https_url https://weibin.me/generate_204
似乎很容易反弹,所以建议关闭https的然后使用之前的http的办法。
adb shell settings put global captive_portal_use_https 0
adb shell settings put global captive_portal_http_url http://weibin.me/generate_204
或者彻底关闭
adb shell settings delete global captive_portal_server
adb shell settings put global captive_portal_detection_enabled 0
Android 关闭设置向导:
echo "ro.setupwizard.mode=DISABLED">> /system/build.prop
Android 重新进入设置向导:
adb shell am start -a android.intent.action.MAIN -n com.google.android.setupwizard/.SetupWizardTestActivity
温柔的等待一会儿,或者飞行一下即可。别在墙边哭泣
本文由 Bin 创作