首先,你要确定自己在快捷栏打开了流量开关。打开流量开关即可去掉部分X。如果你不想打开流量开关依然要去掉X号,那么可以看下面的步骤:

下面的所有代码,分行输入,新手不推荐多行输入。

Android 11 & Android 12

adb shell settings put global captive_portal_mode 0

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

Android 10 - Android7.1.1

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

Android 7.1 & Android 7.0

adb shell settings delete global captive_portal_server

adb shell settings put global captive_portal_detection_enabled 0
1
0