pixel2安装magisk
先解锁,参考kele.im/index.php/archives/14/
然后下载magisk
https://github.com/topjohnwu/Magisk/releases/download/v16.0/Magisk-v16.0.zip
https://github.com/topjohnwu/MagiskManager/releases/download/v5.7.0/MagiskManager-v5.7.0.apk
adb install MagiskManager-v5.7.0.apk
adb push Magisk-v16.0.zip /sdcard/
然后下载twrp
https://twrp.me/google/googlepixel2.html
放到platform-tools目录
adb reboot bootloader
fastboot boot twrp-3.2.1-2-walleye.img
此时需要输入系统锁屏密码
进twrp选择根目录的Magisk-v16.0.zip安装,然后重启设备.