- 8 Aug 2011
- 114
- 30
I post this because the MIUI 12 rom for MI 9 SE can result in boot loop to Recovery / Fastboot
# How to flash rom in recovery while data encrypted
1. Put ROM on a USB stick & connect to phone with USB OTG
2. "mount" "System" partitions + select storage USB OTG
3. Flash the rom (system partition is not encrypted even if data is inaccessible so roms can be flashed)
4. Reboot
Troubleshooting
# bootloop - stuck in fastboot
1. reflash a recovery image
# bootloop - stuck in recovery (see below) OR
# bootloop - stuck in MI logo (initial boot screen)
(24/6/21 FOLLOW THE STEPS IN SEQUENCE ORDER: #1(required), #2(try but skip if error "cannot access /data"), #3(required)
0. Connect phone to your computer by usb & boot phone to fastboot
1. disable verity using command (you need to download the vbmeta file for your phone):
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
disconnect, reboot
IF STILL bootloop to recovery
2. flash zip MAGISK uninstaller (this may fail with error "cannot access /data" but it's OK)
3. flash zip MAGISK installer (21.0 works) (latest correct version, check betas & user feedback)
Reboot & phone will boot OK. Repeat the above steps if it doesn't work first time.
# How to flash rom in recovery while data encrypted
1. Put ROM on a USB stick & connect to phone with USB OTG
2. "mount" "System" partitions + select storage USB OTG
3. Flash the rom (system partition is not encrypted even if data is inaccessible so roms can be flashed)
4. Reboot
Troubleshooting
# bootloop - stuck in fastboot
1. reflash a recovery image
# bootloop - stuck in recovery (see below) OR
# bootloop - stuck in MI logo (initial boot screen)
(24/6/21 FOLLOW THE STEPS IN SEQUENCE ORDER: #1(required), #2(try but skip if error "cannot access /data"), #3(required)
0. Connect phone to your computer by usb & boot phone to fastboot
1. disable verity using command (you need to download the vbmeta file for your phone):
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
disconnect, reboot
IF STILL bootloop to recovery
2. flash zip MAGISK uninstaller (this may fail with error "cannot access /data" but it's OK)
3. flash zip MAGISK installer (21.0 works) (latest correct version, check betas & user feedback)
Reboot & phone will boot OK. Repeat the above steps if it doesn't work first time.