2021-11-19 12:07:46
感觉像看到黑阈的帖子……统一做个解释,有很多类似问题。
目前从Android11升级到Android12的Pixel5设备,使用fastboot flash刷入magisk修改过的boot会无法开机。
解决方案有两个:
1. 使用fastboot boot boot.img载入magisk修改过的boot镜像,能正常开机,但因为这个命令没有修改磁盘上存储的内容,重启即变回原版boot丢失magisk。要求不能重启,每次重启后需要重复以上步骤。
2. 执行fastboot -w后再执行fastboot flash。这会清空设备全部内容,重建data分区。如果认为手机上的内容都不重要,可以用这个方案。
当然,还有方案3:等待magisk修复。这看起来像keystore或vold有更新,绑定了boot镜像签名,导致无法解密data分区。
相关issue:https://github.com/topjohnwu/Magisk/issues/4343
补充说明:
recovery显示:
无法加载 Android 系统。您的数据可能已损坏。如果系统仍然显示这条消息,您可能需要恢复出厂设置,并清空存储在此设备上的所有用户数据。
Cannot load Android system. Your data may be corrupt. If you continue to get this message, you may need to perform a factory data reset and erase all user data stored on this device.
与
bootloader显示:
Device state: Error
Enter reason : failed to verify/load boot images
这两种不同情况,不要混淆。这里讨论的是前者,后者自己去关vbmeta的验证。
1.8K viewsedited 09:07