admin管理员组文章数量:1026989
Intro
在日常刷机的过程中,有一个细节大家可能没有注意到,因为不是所有人都会因为这个细节而踩坑,那就是刷机后的时间校准问题,
-
app提示时间不正确
-
明明设置好了时间,但就是提示你时间不对
-
Wifi有感叹号, 时间无法同步
-
Wifi有小×,但是可以正常上百度访问网站。
其实很简单,都是时间不同步引起的问题。
我们首先要手动调节到当前时间,(不调节也行)
- 确保手机USB连接电脑
- 或者网络adb连接手机
- 确保手机已经连接网络的情况下使用下面的命令
在Linux的shell里以root用户执行:
# settings put global captive_portal_http_url https://www.google/generate_204
# settings put global captive_portal_https_url https://www.google/generate_204
# settings put global ntp_server 1.hk.pool.ntp
# reboot
Windows下在命令行用下面的命令
adb shell settings put global captive_portal_http_url https://www.google/generate_204
adb shell settings put global captive_portal_https_url https://www.google/generate_204
adb shell settings put global ntp_server 1.hk.pool.ntp
adb reboot
结语:
如果是在非网络连接的情况下,手机是获取不到网络的时间同步!从而会导致失败。在执行上诉命令成功后,如果遇到时间不正确可以手动调节至正确时间再次执行命令而保证完美时间同步。。
Intro
在日常刷机的过程中,有一个细节大家可能没有注意到,因为不是所有人都会因为这个细节而踩坑,那就是刷机后的时间校准问题,
-
app提示时间不正确
-
明明设置好了时间,但就是提示你时间不对
-
Wifi有感叹号, 时间无法同步
-
Wifi有小×,但是可以正常上百度访问网站。
其实很简单,都是时间不同步引起的问题。
我们首先要手动调节到当前时间,(不调节也行)
- 确保手机USB连接电脑
- 或者网络adb连接手机
- 确保手机已经连接网络的情况下使用下面的命令
在Linux的shell里以root用户执行:
# settings put global captive_portal_http_url https://www.google/generate_204
# settings put global captive_portal_https_url https://www.google/generate_204
# settings put global ntp_server 1.hk.pool.ntp
# reboot
Windows下在命令行用下面的命令
adb shell settings put global captive_portal_http_url https://www.google/generate_204
adb shell settings put global captive_portal_https_url https://www.google/generate_204
adb shell settings put global ntp_server 1.hk.pool.ntp
adb reboot
结语:
如果是在非网络连接的情况下,手机是获取不到网络的时间同步!从而会导致失败。在执行上诉命令成功后,如果遇到时间不正确可以手动调节至正确时间再次执行命令而保证完美时间同步。。
版权声明:本文标题:【亲测有效】已连接,但无法访问互联网”开机后wifi有感叹号, 时间无法同步解决办法 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/jiaocheng/1729028543a927341.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论