//删除旧的监测点 adb shell settings delete global captive_portal_https_url adb shell settings delete global captive_portal_http_url //添加新的监测点(小米源 adb shell settings put global captive_portal_https_url https://connect.rom.miui.com/generate\_204 adb shell settings put global captive_portal_http_url http://connect.rom.miui.com/generate\_204
//删除旧的监测点
adb shell settings delete global captive_portal_https_url
adb shell settings delete global captive_portal_http_url
//添加新的监测点(小米源
adb shell settings put global captive_portal_https_url https://connect.rom.miui.com/generate\_204
adb shell settings put global captive_portal_http_url http://connect.rom.miui.com/generate\_204
不过可以通过读取/data/user/0/com.chinaunicom.bol.cloudapp/app_webview/Default/目录下Cookies文件中X-YP-Access-Token的值,刷新令牌和访问令牌都填它,亲测可用。
而且里面有个expires_utc字段的值我复制给deepseek,告诉我是2025年7月17号的意思,猜测可能给了半年的有效期
完,今天尝试从移动云盘复制一部电视剧到联通云盘,才传了几个就强制给我踢下线了,现在cookies也没有X-YP-Access-Token字段了
📝 记录 一键dd脚本https://github.com/bin456789/reinstall