{Fixed} Android TV / Google TV国内开机不会自动连接WIFI / 连接国内网络不会更新时间
•
移动开发
引用: 悟空百科
使用usb adb、网络adb、串口敲以下命令修改安卓全局数据库
1、写入新的ntp服务器地址
adb shell settings put global ntp_server ntp.ntsc.ac.cn
2、打开网络验
//如果你是Android R 以上的电视盒子
adb shell settings put global captive_portal_mode 1
//Android Q 以下的电视盒子
adb shell settings put global captive_portal_detection_enabled 1
3、设置一个返回204 空内容的服务器
adb shell settings put global captive_portal_use_https 0 adb shell settings put global captive_portal_http_url http://connect.rom.miui.com/generate_204
本文来自网络,不代表协通编程立场,如若转载,请注明出处:https://www.net2asp.com/c9daa3fb18.html
