How to recover bootloop & stuck in TWRP & encrypted data after trying to rollback or change rom version


fatjoez

Members
Aug 8, 2011
102
30
CAUSE:
I try to rollback xiaomi.eu 20.5.14 (miui 12 - android 10)
I install the last week version: xiaomi.eu 20.5.7 (miui 12 - android 10)

PROBLEM:
After install 20.5.7 - Phone bootloop & stuck boots to TWRP & cannot decrypt data in TWRP.

FIX SOLUTION:
You must flash the previous rom again (20.5.14) to boot the rom & decrypt data.

REQUIREMENTS:
You need computer + adb software (adb.exe). This guide will not teach you ADB.

INSTRUCTIONS:
1: Connect phone to computer by usb
& open phone to TWRP

2: Open command line on computer &
Run command "adb devices" to check phone is visible

3: Download the last rom version which worked to your computer & put the file in same folder as ADB.exe

4: copy rom from computer to phone using command below (replace ROMFILENAME with the name of your rom file):
adb push ROMFILENAME.zip /tmp/

5: Go to TWRP - install zip

6: Look for rom file in root directory, top level: /tmp/ + Click install

NOTE: do not format / wipe any data / cache

7: After installation, reboot system, phone will boot to OS after 5-10 minutes.
 
Last edited:
  • Like
Reactions: LOLO9393

Alan098765

Members
Sep 16, 2019
1,016
142
So you don't have to format data and lose all files with this method?

Sent from my Mi 9 Lite using Tapatalk
 
  • Like
Reactions: fatjoez

LOLO9393

Members
Feb 8, 2016
2,230
322
No format or losing files
Many thanks sharing your knowledge.
It can be done the same from mounting OTG stick or external SDCARD when available. This is not available for everybody.
But is your solution.
Well done.
 

fatjoez

Members
Aug 8, 2011
102
30
Many thanks sharing your knowledge.
It can be done the same from mounting OTG stick or external SDCARD when available. This is not available for everybody.
But is your solution.
Well done.
Yes you are correct.

Unfortunately MI 9 SE and many phones - No SD Card
& most people don't have "OTG" usb memory :(

This method is good because is just computer & phone! Hope it will save many people!