🛠️告别网络受限(激活后)

参考教程:悟空的谷歌TV激活教程

需要激活之后并打开开发者权限才行 这个设置只是以后WiFi不需要UDP支持,但外网还是要连的

寻找梯子

首先你需要启用开发者模式,并安装SideQuest

打开SideQuest并连接头显,在头显中选择允许电脑访问,点击SideQuest右上角的 Run ADB... > CUSTOM...

在弹出的框中点击左侧的List Devices,如果列出了一串头显序列号,就是连接成功了,然后把下面的代码粘贴进去运行(连点三下选择一整行)

一行一行运行,别4行一起进去了

//设置NTP服务器
adb shell settings put global ntp_server ntp3.aliyun.com
//打开WiFi可用性验证
adb shell settings put global captive_portal_mode 1
//关闭https模式
adb shell settings put global captive_portal_use_https 0
//设置WiFi验证地址
adb shell settings put global captive_portal_http_url http://connect.rom.miui.com/generate_204

验证设置是否成功,查看//后的返回值是否一致

adb shell settings get global ntp_server
//ntp3.aliyun.com
adb shell settings get global captive_portal_mode
//1
adb shell settings get global captive_portal_use_https
//0
adb shell settings get global captive_portal_http_url
//http://connect.rom.miui.com/generate_204

恢复默认

adb shell settings delete global ntp_server
adb shell settings delete global captive_portal_mode
adb shell settings delete global captive_portal_use_https
adb shell settings delete global captive_portal_http_url

最后更新于