Hey All,
I managed to install TWRP to boot_a partition, boot TWRP, extract my firmware off the phone as a backup called boot_b.img (b is my active slot) and patch boot_b.img with Magisk. I am too scared to flash the patched boot_b.img over boot_b partition so I am trying to flash the patched boot_b.img over the boot_a partition which currently has TWRP. However, when I try to boot boot_a partition where TWRP was, I get a boot loop. A couple questions:
- What am I doing wrong?
- Why do we have to flash both boot_a and boot_b at the same time?
- Should I be flashing vbmeta_a also? I am using the attached vbmeta.img and flashing with “fastboot flash --disable-verity --disable-verification vbmeta_a vbmeta.img”
- When I try to flash vbmeta_a, fastboot flash says it uploaded 0KB. Any idea why? DDing to it from TWRP and then rereading the device I just DDed to, shows that DD didn't write anything.
Version Info:
android 12
Build: GN2200_11_C.11 Kernel:5.4.147-qgki-ga9e7460afd8c
Thanks in Advance!