2024/04/11补充:
首先我的OEM是灰色的,以为是V版本不能刷机,但是这个手机之前我刷成功过的,
看是否属于Verizon版本(无法解锁OEM,即无法刷机)
# adb shell getprop ro.boot.cid
如果返回的值为 VZW__001 , Pixel 是 Verizon 版
无运营商锁的版本的返回: 11111111或00000000。
下载TWRP https://dl.twrp.me/sailfish/
下载Magisk
地址:https://github.com/topjohnwu/Magisk/releases/download/v18.0/Magisk-v18.0.zip
adb reboot bootloader -- 进入fastboot模式
fastboot devices -- 查看设备是否连上
执行 fastboot boot .\twrp-3.7.0_9-0-sailfish.img 进入 Twrp 界面
将文件推系统盘:
adb push .\twrp-installer-3.7.0_9-0-sailfish.zip /system
adb push .\Magisk-v20.4.zip /system
然后安装TWRP和Magisk
点击install 找到 system 里的刚推入的两个文件,记得选择增加文件一次性安装两个zip包,重启
点击Reboot ,很好, 手机变成了无限重启.....
Google Pixel (twrp.me)下载Pixel twrp的时候,要注意选择版本,我之前应该用的Americas版本的,所以一直无限重启,一直失败。
之后经过多次刷机测试,正常刷 twrp和面具,
到此结束~
2024-03-25加++
我的红米K50执行adb root,adbd cannot run as root in production builds,由于system的文件是只读文件,尝试方法刷入magisk模块Magisk Overlayfs(System分区读写) - Magisk中文网 (magiskcn.com),修改系统文件,
ro.debuggable=1
ro.secure=0
解决 ‘adb root‘ 时提示 ‘adbd cannot run as root in production builds‘-CSDN博客,
确实尝试了没效果
执行
adb shell "su -c 'cd data;ls;'"