0
点赞
收藏
分享

微信扫一扫

Android WIFI显示x信号

说明:默认的Android系统访问的特定服务器地址国内无法访问,或者处于内网无法访问,出现x号 修改原理,关闭检测或者修改检测服务器为当前网络可访问的服务器,这个问题可能会导致以下两个问题

1.待机时自动断开网络

2.浏览器下载文件时,加入到downloadservice后一直处于队列中

临时处理可以写adb shell脚本关闭检测开关,关闭后需要重新开关一下wifi才会生效

检测开关:

删除变量:(删除以后默认启用) adb shell settings delete global captive_portal_mode
关闭检测: adb shell settings put global captive_portal_mode 0
查看当前状态: adb shell settings get global captive_portal_mode

服务器地址相关:

删除(删除默认用HTTPS)
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_http_url http://captive.v2ex.co/generate_204
adb shell settings put global captive_portal_https_url https://captive.v2ex.co/generate_204


举报

相关推荐

0 条评论