解决Android/安卓原生ROM出现网络连接受限(Limited connection),网络无法链接的问题

原链接:https://www.cnblogs.com/gnz48/p/16433726.html
删除变量&关闭检测

adb shell settings delete global captive_portal_mode
adb shell settings put global captive_portal_mode 0

删除默认的强制门户设置:

adb shell settings put global captive_portal_https_url https://connect.rom.miui.com/generate_204
adb shell settings put global captive_portal_http_url http://connect.rom.miui.com/generate_204

你可能感兴趣的:(android)