tonghuashuai
V2EX  ›  Android

Android 系统时间不对有遇到的吗?

  •  
  •   tonghuashuai · Jan 20, 2020 · 21502 views
    This topic created in 2337 days ago, the information mentioned may be changed or developed.

    Pixel 4 xl,使用网络提供的时间和时区,发现快 7 分钟

    Supplement 1  ·  Jan 20, 2020
    用了一楼的办法貌似是可行的,还没重启,到目前为止时间是正确的了。
    8 replies    2020-01-22 07:41:11 +08:00
    11dad
        1
    11dad  
       Jan 20, 2020   ❤️ 1
    我的 2xl 和 s7e 也遇到过,重启时间就不对,遇到几次了,自己调下再设成自动吧
    JamesR
        2
    JamesR  
       Jan 20, 2020   ❤️ 2
    彻底解决方法:

    adb shell "settings put global ntp_server pool.ntp.org"

    因为默认 NTP 服务器 Google 的 time 服务器,你被墙着,连不上的。
    augustheart
        3
    augustheart  
       Jan 20, 2020
    很多手机的计时精度很差的,只要一段时间没有网络同步时间就能差很多。
    顺便说,kindle 的计时精度真高,为了省电,我 kindle 大半年内一直是飞行模式使用,时间居然差不多(一分钟内)
    hsheng
        4
    hsheng  
       Jan 20, 2020 via Android
    @JamesR 为啥不用 cn.pool.ntp.org ?默认的是 time.android.com
    hsheng
        5
    hsheng  
       Jan 20, 2020 via Android
    我不知道这个 adb shell settings put global ntp_server 命令,自己写了 overlay 把源代码 frameworks/base/core/res/res/values/config.xml 里的 config_ntpServer 替换了编译的😂😂
    JamesR
        6
    JamesR  
       Jan 20, 2020
    @hsheng #4 看个人喜好,以前用过国内的某 NTP 服务器,快是挺快,后来挂了,我公司 N 多机器要改,累死我不说还耽误事,cn 不放心直接排除,用国际 NTP 服务器。
    默认的改时间后试过同步不了,具体域名各版本手机可能有差异。
    ShinichiYao
        7
    ShinichiYao  
       Jan 20, 2020
    没插 SIM 卡吧?
    tonghuashuai
        8
    tonghuashuai  
    OP
       Jan 22, 2020 via Android
    @ShinichiYao 插了的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2780 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 58ms · UTC 09:53 · PVG 17:53 · LAX 02:53 · JFK 05:53
    ♥ Do have faith in what you're doing.