解决在类原生设备上 WIFI 网络连接受限的方法

ADB 连接手机,输入以下命令开关 WIFI 后即可:

1
2
adb shell settings put global captive_portal_http_url http://204.ustclug.org
adb shell settings put global captive_portal_https_url https://204.ustclug.org

或使用小米 204 服务器:

1
2
http://connect.rom.miui.com/generate_204
https://connect.rom.miui.com/generate_204