一台闲置的小米6,给他刷了LineageOS, 但是wifi一直是一个X,提示
已连接 但无法访问互联网
以前也找过资料.这次记录下来.
关闭网络校验:
adb shell settings put global captive_portal_mode 0
关于captive_portal_mode的值:
0:彻底禁用检测
1:检测到需要登录则弹窗提醒(默认值)
2:检测到需要登录则自动断开此热点并不再自动连接
更改时间同步服务器:
adb shell settings put global ntp_server asia.pool.ntp.org
记得重启:
adb reboot