How to install a xiaomi.eu recovery image
Because of more and more working TWRP on MIUI13 Android12 a little How To
and here we go ....
Unlock your device (only once)
- you need to unlock
bootloader
-> a small [
howto] to unlock bootloader
Install Tools and Drivers
- install
USB drivers & adb and fastboot tools (Windows 10)
- install
SDK Platform Tools (Windows 10 & 11 / Mac / Linux)
- install
xiaomi drivers (sometimes necessary)
-> a small [
howto] if you have driver issues
Download xiaomi.eu recovery rom
- download
recovery image for your phone to PC
-> choose stable or weekly like you want or need
Now you need a TWRP for Android 12
-
download TWRP for your device from xiaomi.eu
- or
download TWRP for your device from skkk
- rename the downloaded TWRP into "twrp.img"
Boot and install TWRP on your device
There are A/B and
non A/B devices on the market
All devices before Mi 11 era (except Mi 10S, Redmi Note 10 Pro Global) are non-A/B devices
Check if you have a A/B device or not
- Download Treble Check
- Check for this entry
View attachment 42952
Prepare Boot and install TWRP / ROM
- open "cmd.exe" on your PC
- change to directory were you have installed
adb & fastboot
-> as example "cd c:\adb"
- copy downloaded and renamed "twrp.img" to "c:\adb"
- connect PC and phone with USB cable
- put phone in fastboot (
reboot phone and then holding "Volume -" and "Power on" buttons simultaneously)
- you should see a bunny picture and an info "fastboot" on the phone
-> on some devices you will see orange info "FASTBOOT" (new fastboot logo)
please do this step to prevent from black window
- type in "cmd window": "fastboot devices" and hit RETURN
- check if you see a number (sometimes with characters)
-> then all is fine
- if you dont see a number:
change USB port / change USB cable / use USB 2.0 / use an USB Hub / check driver installation
do next steps only if "fastboot devices" shows a number / characters
- the "cmd window" should be open on PC
- change to "c:\adb"
-> as example "cd c:\adb" hit RETURN and type "dir" hit RETURN
- you should see the files "fastboot.exe" and "twrp.img"
Boot and install TWRP / ROM on A/B device
- type "fastboot.exe boot twrp.img" (without "")
- TWRP should be loading and then enter PIN/Pattern/Password
- copy downloaded ROM to internal storage of your device
- install the ROM -> see nice pictures from
@gogocar62
- optional you can flash TWRP permanent with "Install Recovery Ramdisk"
- Reboot to System -> see nice pictures from
@gogocar62
Boot and install TWRP / ROM on non A/B device
- type "fastboot.exe flash recovery twrp.img" (without "")
- type "fastboot.exe reboot recovery" (without "")
- TWRP should be loading and then enter PIN/Pattern/Password
- copy downloaded ROM to internal storage of your device
- install the ROM -> see nice pictures from
@gogocar62
- Reboot to System -> see nice pictures from
@gogocar62
Thats all ... voilla .....
Here are some hints and solutions for issues:
Do I have to format (not wipe) Data in TWRP
You have to format (not wipe) data in TWRP
- if you install the xiaomi.eu rom for the first time
- if you change from weekly to stable (recommended)
- if you change from stable to weekly (recommended)
- you will
loose your data -> make a backup
How to change the language in TWRP
- see nice pictures from
@gogocar62
BOOT / REC TWRP for some devices
For some devices there are different TWRPs available
1.)
BOOT-TWRP -> fastboot boot twrp - boot TWRP only
2.)
REC-TWRP -> fastboot flash recovery_ab twrp.img - install TWRP permanent
3.)
BOOT-REC-TWRP -> you can use both fastboot commands -> see 1.) & 2.)
TWRP update shows ERROR: 1 / can not mount system ...
- this error can occur if you try the update with updater app or if you started TWRP manually
-
Solution:
-> while you are in TWRP reboot your device in recovery mode
-> try to install the rom again
-> if it will fail, reboot in recovery again
-> or use "fastboot boot twrp.img" again
-> sometimes you need more then one try
-> if it will not work choose another twrp version
You can test if you have a A/B device with this command
# fastboot flash recovery twrp.img
If there is an error message "no recovery partition" you have an A/B device
or run this command it is true if A/B
# adb shell getprop ro.build.ab_update
Updates of TWRP
- For non-A/B devices TWRP will not be replaced automatically while installing ROM unless you flash the new, working recovery.
- For most A/B devices TWRP will be flashed permanent while installing ROM (perhaps a different version than yours)
- If there is a REC-TWRP for the device, the TWRP is not included into the ROM any longer
How to start TWRP manually
# fastboot boot-recovery
# fastboot boot recovery
# adb boot recovery
# restart device
# hold "power on" and "volume +"
If you cant decrypt / see your folders after booting TWRP
- check if you use the correct TWRP (see links)
- change Pattern/Password to PIN
- remove the PIN in system and try it again
-
solution from
@Karpfenhai
-
solution1 &
solution2 from
@digeratz
- if it will not work choose another twrp version
You can check if your device is unlocked
fastboot oem device-info
-> there is a line "Device unlocked = true or false"
--------------------------------------------------
If you dont see "Mi Unlock Status" in developer options
-> your device is also unlocked