给一加 6 刷上 Pixel Experience P 之后,手机没有 root,adb 却有。。传统的 locationreportenabler 用不了了,但是通过研究它的代码,我发现了只用 adb root 的方法。 大概就是这三条指令
adb root
adb shell "setprop gsm.sim.operator.numeric 运营商代码"
adb shell "setprop gsm.sim.operator.iso-country 运营商国家"
本质上还是通过伪造国外运营商来开启。不过有些细节还没有研究清楚,比如清除数据之类的。无脑把 Google 有关的全部清了肯定没事。至于免 root 教程中提到的关闭电话权限,亲测不需要。
截图:
