[HowTo] Install Recovery image


TWRP already loads but the folders do not appear in the storage, what do I do?
I performed the following steps: booting the system

set a pin
boot into twrp
it should ask for the pin
try flashing again

does not ask for a pin
 
Last edited:
TWRP already loads but the folders do not appear in the storage, what do I do?
I performed the following steps: booting the system

set a pin
boot into twrp
it should ask for the pin
try flashing again

does not ask for a pin
do you use the correct twrp try to mount partition in twrp it should ask for pin
 
How can I change the language?
 

Attachments

  • recovery.jpeg
    recovery.jpeg
    40.8 KB · Views: 500
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 your device A12
- 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
-> eg "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
1641373554513.png

- 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"
-> eg "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 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

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

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 A/B devices TWRP will be flashed permanent while installing ROM (perhaps a different version than yours)

If you cant decrypt / see your folders after booting TWRP
- change between PIN/Pattern/Password and try it again
- another solution from @Karpfenhai
Is there maybe a similar description for MacOS? :)
 
After installing TWRP, and about to install an EU ROM for the first time, it is recommended to do Format Data right?

How about the Advanced Wipe? Is it recommended? And what partitions to wipe? Or we should just go straight to Format Data? No wipes needed?
 
For the first time installing the EU rom on an A/B Device, is it recommended to format the data partition?
 
For the first time installing the EU rom on an A/B Device, is it recommended to format the data partition?
yes its mentioned in my post…
Do I have to format Data in TWRP
You have to format (not wipe) data in TWRP
- if you install the xiaomi.eu rom for the first time

you will loose your data while unlocking as well… make a backup
 
install twrp on a redmi 9t to be able to flash the new rom but I suppose the data is encrypted you only see numbers and letters I configure the pin in the system but twrp does not ask what should I do?
 
install twrp on a redmi 9t to be able to flash the new rom but I suppose the data is encrypted you only see numbers and letters I configure the pin in the system but twrp does not ask what should I do?
did you use the twrp for a12 and try to disable pin, pw, pattern
 
boot into system
setup a pin
boot into twrp
should ask for pin
try to flash again
Hello, I have same issue, have pin, twrp asked for it nad i wrote it, accepted and decrypted but have 3 errors:
failed to mount /system_root,/system_ext and /product
 
Hello, I have same issue, have pin, twrp asked for it nad i wrote it, accepted and decrypted but have 3 errors:
failed to mount /system_root,/system_ext and /product
is it your first xiaomi.eu installation and did you try another twrp for A12?
 
Trying to install TWRP again after an unsuccessful first attempt.
Skkk gave a black screen on fastboot boot. Teamwin booted and after entering pin I was able to install the "xiaomi.eu_multi_HMK40Pro_MI11i_V13.0.10.0.SKKCNXM_v13-12.zip" but with lots of errors. I didn't execute the step of "Install Recovery Ramdisk" but choose another option, something like install TWRP permanently if i remember correctly.
Afterwards the device (mi11i A/B) booted up but the start screen was all messed up and almost all icons were missing and TWRP wasn't installed (orange fastboot in stead of twrp menu).
I am going to give it a second try but now following all the steps for a A/B device form the first post.

"fastboot devices" doesn't give output but "adb devices" does. Is this a problem or can i proceed?
 
Trying to install TWRP again after an unsuccessful first attempt.
Skkk gave a black screen on fastboot boot. Teamwin booted and after entering pin I was able to install the "xiaomi.eu_multi_HMK40Pro_MI11i_V13.0.10.0.SKKCNXM_v13-12.zip" but with lots of errors. I didn't execute the step of "Install Recovery Ramdisk" but choose another option, something like install TWRP permanently if i remember correctly.
Afterwards the device (mi11i A/B) booted up but the start screen was all messed up and almost all icons were missing and TWRP wasn't installed (orange fastboot in stead of twrp menu).
I am going to give it a second try but now following all the steps for a A/B device form the first post.

"fastboot devices" doesn't give output but "adb devices" does. Is this a problem or can i proceed?
Flash was successful this time.
Remarks:
- fastboot devices didn't give any output because the device wasn't in fastboot
- the kkk still gave a black screen and Teamwin image booted normally
- flash worked this time without any errors. Don't know what went wrong the first time (used the same image and the same twrp)
- at first attempt at reboot I choose "Slot A" instead of System (maybe this messed up my start screen!)
- no success at making TWRP permanent (didn't become permanent after flashing rom nor with "Install Recovery Ramdisk".

Success to you all...
 
  • Like
Reactions: katerpanne
Hi All,For those who are having issues:
I have successfully installed latest stable ROM on XM12.

Installed over previous fastboot rom. Assuming you followed all the unlocking procedures, and your phone is UNLOCKED.
you need to boot your phone to FASTBOOT.
once in fastboot you need to RUN TWRP (the 1st time you install a TWRP ROM) - doing this by: fastboot run twrp.img
you will need to change language from Chinese to English... (or your preference)
Then you simply install the rom from TWRP, over the existing XIAOMI.EU rom (used to be fastboot).
After this install - you should have rom working and TWRP installed.

Hope this helps...
 
Hi All,For those who are having issues:
I have successfully installed latest stable ROM on XM12.

Installed over previous fastboot rom. Assuming you followed all the unlocking procedures, and your phone is UNLOCKED.
you need to boot your phone to FASTBOOT.
once in fastboot you need to RUN TWRP (the 1st time you install a TWRP ROM) - doing this by: fastboot run twrp.img
you will need to change language from Chinese to English... (or your preference)
Then you simply install the rom from TWRP, over the existing XIAOMI.EU rom (used to be fastboot).
After this install - you should have rom working and TWRP installed.

Hope this helps...
Do you have to "format data" before the first one?
 
Do you have to "format data" before the first one?
I have described it in the howto…

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
 
  • Like
Reactions: immerzu
Hi All,For those who are having issues:
I have successfully installed latest stable ROM on XM12.

Installed over previous fastboot rom. Assuming you followed all the unlocking procedures, and your phone is UNLOCKED.
you need to boot your phone to FASTBOOT.
once in fastboot you need to RUN TWRP (the 1st time you install a TWRP ROM) - doing this by: fastboot run twrp.img
you will need to change language from Chinese to English... (or your preference)
Then you simply install the rom from TWRP, over the existing XIAOMI.EU rom (used to be fastboot).
After this install - you should have rom working and TWRP installed.

Hope this helps...
Hi,
I have also successfully installed latest stable ROM on XM12 (cupid), over a fastboot version.
Just follow the instructions at: https://xiaomi.eu/community/threads/switch-from-fastboot-to-recovery-rom.66440/#post-665291

The first versions of xiaomi.eu ROM for XM12 were fastboot versions. For several months now,
I have been upgrading with the fastboot method. The version that has been published on 4-Aug-2022, 13.0.37 is
a twrp version not a fastboot version. So the process of upgrading needs to change to use twrp.

At the first attempt, the installation with twrp I downloaded, failed with these errors:

Updater process ended with ERROR: 1
Failed to mount '/system_root' (no such file or directory)
Failed to mount '/system_ext' (no such file or directory)
Failed to mount '/product' (no such file or directory)

The issue has been resolved by changing the twrp image that has been used. It worked with twrp image taken from https://dl.akr-developers.com/?dir=skkk/TWRP/A12/v3.9_A12 (the one that is mentioned at:
 
Last edited:
  • Like
Reactions: katerpanne
booting to fastbook and I cant find the device when writing adb devices, tried few fixes nothing works
Did thes ethings several times before - But yes today I have the same issue. I got the device in list, if its fully booted in OS. But once rebooted to fastboot its not listed anymore. Any hint?

//Update:

I guess we are just stupid due to the heat :D

"ADB devices" when in OS and USB Debuging
"fastboot devices" weh in fastboot ;)

So just used the wrong commanc
 
Last edited:
  • Like
Reactions: katerpanne
Did thes ethings several times before - But yes today I have the same issue. I got the device in list, if its fully booted in OS. But once rebooted to fastboot its not listed anymore. Any hint?

//Update:

I guess we are just stupid due to the heat :D

"ADB devices" when in OS and USB Debuging
"fastboot devices" weh in fastboot ;)

So just used the wrong commanc
that it is :) but its mentioned in the howto…
 
  • Like
Reactions: l4v4l4mp3