刷lineageos系统后WIFI标志打叉的解决办法
1、应用范围适用于安卓刷LineageOS等三方系统后,预置的Captive Portal 和NTP服务器不能连接,表现出WIFI标志打叉,网络不稳定的情况。按照如下修改即可。本文以LineageOS为例,其他系统是否有内置终端需要自行判断。
2、已获得ROOT权限的:
打开开发者模式中本地终端的选项,在终端中获得root权限并输入以下命令:
settings put global ntp_server ntp1.aliyun.com
settings put global captive_portal_http_url http://connect.rom.miui.com/generate_204
settings put global captive_portal_https_url https://connect.rom.miui.com/generate_204
之后关闭WIFI再重新连接即可。
3、无ROOT权限的情况:
由ADB连接手机,在ADB环境下输入前述命令。
每条命令之前需加上adb shell。
如:settings put global ntp_server ntp1.aliyun.com
在ADB环境下就变成:adb shell settings put global ntp_server ntp1.aliyun.com
以上均基于网络内容并适当添加个人理解
adb shell settings put global ntp_server ntp1.aliyun.com
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 为什么显示adb.e: no devices/emulators found 哇
你好,能识别sim卡吗 如果是时区时间不准怎么操作?
页:
[1]