解决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

本文来自网络,不代表协通编程立场,如若转载,请注明出处:https://net2asp.com/3b7c0acc1e.html