前置条件 打开 开发者选项 设置-关于本机-连点 Build号 设置-系统-开发者选项- 打开USB调试 电脑使用ADB工具 下载地址: Android开发者官网 PixelOS下载地址 1、时间同步 手机连接电脑执行:

1
2
3
4
//设置中国时区
adb shell setprop persist.sys.timezone Asia/Shanghai
//设置NTP服务器
adb shell settings put global ntp_server ntp1.aliyun.com

  2、WIFI感叹号

1
2
3
4
5
6
//删除无法使用的监测点
adb shell settings delete global captive_portal_https_url
adb shell settings delete global captive_portal_http_url
//添加新的监测点(小米源)
adb shell settings put global captive_portal_https_url https://connect.rom.miui.com/generate\_204
adb shell settings put global captive_portal_http_url http://connect.rom.miui.com/generate\_204

  其他NTP服务器 阿里云

1
2
3
4
5
6
7
8
ntp.aliyun.com
ntp1.aliyun.com
ntp2.aliyun.com
ntp3.aliyun.com
ntp4.aliyun.com
ntp5.aliyun.com
ntp6.aliyun.com
ntp7.aliyun.com

腾讯云

1
2
3
4
5
6
ntp.tencent.com
ntp1.tencent.com
ntp2.tencent.com
ntp3.tencent.com
ntp4.tencent.com
ntp5.tencent.com

ntppool(China)

1
2
3
4
cn.pool.ntp.org
cn.pool.ntp.org
cn.pool.ntp.org
cn.pool.ntp.org

1