xChar
·2 months ago

手机打开USB调式

设置-关于手机-版本号,连续点击打开开发者模式,进入开发者选项把USB调式打开

Windows配置adb

下载adb

解压到C盘根目录(非小白可自由选择)

image

修改系统环境变量

image

添加adb目录

image

开始操作

手机连接电脑,终端里依次输入:

adb shell settings put global captive_portal_use_https 1
adb shell settings put global captive_portal_http_url http://204.ustclug.org
adb shell settings put global captive_portal_https_url https://204.ustclug.org
adb shell settings put global captive_portal_mode 0

完成后手机切换一下飞行模式再切回,一切OK。

Loading comments...