adb shell settings put global captive_portal_http_url https://www.google.cn/generate_204
adb shell settings put global captive_portal_https_url https://www.google.cn/generate_204
提供另外一个还算靠谱的地址:
http://connect.rom.miui.com/generate_204
版权属于:Kiritake Kumi (Niconeiko) 以及本文所引用的第三方材料的所有者
谢谢分享,写的不错@(哈哈)