1. 去google下载指定的包 https://developers.google.com/android/images#sailfish
ctrl+f 搜索Pixel 的刷机包 这里推荐8.1
2.将刷机包下载好后 push到手机中
adb shell reboot -p 将手机关机后(这里要注意手机电量)
然后将手机重启 同时按住音量向下键和开机键; 然后直接运行flash.bat 刷入干净的系统
3.下载twrp https://eu.dl.twrp.me/sailfish/ 最新版的
将 下载好的Magisk和TWRP.zip 全部push到sdcard中
adb push MagiskPath /sdcard/
然后将手机重启 同时按住音量向下键和开机键;
$ fastboot flash recovery twrp-3.2.3-0-bullhead.img
fastboot boot *\twrp-3.3.0-0-sailfish.img 将 img临时运行 后
将 magisk和twrp 全部安装
最后滑动重启, 进行手机查看是否有root权限