WiFi叉号或叹号去除

一、叉号/叹号出现的原因
这是因为在连接一个网络的时候,系统会去请求一个google的网址来确定这个网络是否具有网络访问。由于我国GFW封锁策略,导致系统请求google网址不成功,就会出现叉号或叹号。

二、去除教程

1. 手机root并开启调试模式。
2. 电脑配置adb环境,打开命令行。
Android 7.0之前版本的系统,执行以下命令:

  1. adb shell “settings put global captive_portal_server www.qualcomm.cn”;

复制代码

Android 7.0之后的版本需要执行下面的两条命令:

  1. adb shell “settings put global captive_portal_http_url http://www.qualcomm.cn/generate_204”;
  2. adb shell “settings put global captive_portal_https_url https://www.qualcomm.cn/generate_204”;

3. 然后打开飞行模式,关闭飞行模式,此时,应该去除了叉号或叹号。

其他地址

https://www.gstatic.com/generate_204

http://www.gstatic.com/generate_204

http://google.cn/generate_204
https://google.cn/generate_204

http://www.google.cn/generate_204
https://www.google.cn/generate_204

http://developers.google.cn/generate_204
https://developers.google.cn/generate_204
http://www.qualcomm.cn/generate_204
https://www.qualcomm.cn/generate_204

参考

https://cli.ee/generate-204

发表回复

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

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据