原生安卓系统WiFi受限
adb devices并在手机上点击允许该电脑调试 如果显示(其他机型会显示其他代码) List of devices attached PM1LHMA781401142 unauthorized 则说明连接成功,可以执行ADB命令 6、依次输入以下代码
adb shell settings delete global captive_portal_http_url
adb shell settings delete global captive_portal_https_url
adb shell settings put global captive_portal_http_url http://connect.rom.miui.com/generate_204
adb shell settings put global captive_portal_https_url https://connect.rom.miui.com/generate_204每次输入完代码都点击下回车,执行完成后,打开飞行模式,并且关闭,或者直接重启手机再次连接WiFi即可。 如果无法连接,需要修改NTP时间服务器(非必须)
adb shell settings put global ntp_server ntp.aliyun.com之后重启手机即可
本文是原创文章,采用 CC BY-NC-ND 4.0 协议,完整转载请注明来自 Scciwe
评论
匿名评论
隐私政策
你无需删除空行,直接评论以获取最佳展示效果