pixel 3xl 设备安卓11/10.0/9.0/8.1/7.1.x/6.x WiFi和信号出现叉x号或者感叹号的消除办法

/ 0评 / 2

20200227更新:在安卓11/10.0/9.0/8.1/8.0/7.1.2里如何消除x号(在老一点点版本是感叹号)呢?

产生204响应的服务器
加粗网址亲测可行,其余未测试,但可作为一个参考

http://connect.rom.miui.com/generate_204
http://www.v2ex.com/generate_204
https://captive.v2ex.co/generate_204
http://www.noisyfox.cn/generate_204
http://www.google.cn/

1.首先开启usb调试,然后用数据线连接电脑和手机。

2.然后解决好您的adb驱动问题

3.在电脑开始菜单-运行 输入cmd,打开命令提示符

依次输入下面语句

(以下办法支持安卓11)

adb shell settings put global captive_portal_mode 0

adb shell settings put global captive_portal_https_url https://www.google.cn/generate_204

(以下办法支持安卓10.0/9.0)

adb shell settings put global captive_portal_https_url https://www.google.cn/generate_204

然后开启飞行模式,然后关闭飞行模式解决!亲自测试有效!

下面语句对安卓8.1/8.0有效
测试系统:Android 8.1。默认使用https来验证,如要使用http,需要先写入关闭https验证的配置,再填写http服务器。然后开启飞行模式,再打开感叹号即可消失。其中,xxxxx即服务器的URL。

# 查看所有配置
adb shell settings list global
# 使用https
adb shell settings put global captive_portal_https_url xxxxx
# 使用http
adb shell settings put global captive_portal_use_https 0
adb shell settings put global captive_portal_http_url xxxxx
# 使用默认,即删除配置
adb shell settings delete global captive_portal_http_url
adb shell settings delete global captive_portal_https_url

下面语句对安卓7.1/7.0有效

adb shell settings delete global captive_portal_server  

adb shell settings put global captive_portal_detection_enabled 0

发表评论

邮箱地址不会被公开。 必填项已用*标注