手机打开 USB 调式#
设置 - 关于手机 - 版本号,连续点击打开开发者模式,进入开发者选项把 USB 调式打开
Windows 配置 adb#
解压到 C 盘根目录(非小白可自由选择)
修改系统环境变量
添加 adb 目录
开始操作#
手机连接电脑,终端里依次输入:
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。