[GUIDE] Install TWRP for Mi 11/Pro/Ultra


Mehdi624624

Members
Jul 25, 2021
13
5
That's what I am trying to save you, some money! Those guy that say they have authorized Mi accounts are just flashing your phone regularly and then charging you money for it. If you can access fastboot, all you would have to do is either format your internal storage or access EDL by typing in the ADB command <fastboot oem edl> and flashing a stock rom using the MiFlash tool. If your device is accidentally locked, you just need to unlock it again using the MiUnlock tool. These guys claiming to have authorized unlock codes are scam artists!
ow i wasn't aware of that, thank you very much :)
 
  • Like
Reactions: Jimnasium

Jimnasium

Members
May 16, 2021
382
67
ow i wasn't aware of that, thank you very much :)
To set a phone that doesn't respond, you need to take the back cover off and short two pins to access EDL mode, but you only have to do that if you have a locked bootloader. However, if you bought your phone legitimately and went through the MiUnlock process, your Mi account is bound to that device and should you accidentally lock your bootloader, as long as you can access fastboot, you can run the MiUnlock tool, sign in with your Mi account and unlock the bootloader again. Anyone that tells that they can do it on-line for you is full of it and is merely trying to scam you. There are no unlock codes. If you took your device into a Mi store and asked them, they would have to remove the back, jump the pins and that would allow edl mode and then flash a rom.
 
  • Like
Reactions: Mehdi624624

Jimnasium

Members
May 16, 2021
382
67
Basically formatting process wipe all data from phone and set it to default state...
this will possible due to different memory type in your phone...general android mobile structure contain four type of memory.....
1) ROM (read only memory)....use to store your android os system..you can not write it direct....
2) RAM (Random access memory)...use to store running process data...
3) Internal Memory.....your phone storage....
4) External Memory...removable storage like memory card...

When you perform format your mobile...the process go to wipe all data from your internal memory. Wiping only removes your data from the data partion and does not touch the system partition.
1) your phone getting completely new like factory outlet.
2) all data wiped so when you install anything it will store in non-fragmented format, so you get complete performance..
3) it will delete unnecessary files which created by applications and stay after delete it.
4) it will reset all twice generate by applications, so your mobile will work more stable.
5) and bigger advantage which all people want. it will create space for you to store new data.

This step should be done anytime one is coming from one rom to another in order to clean the internal storage of any previous system info/files that may still be on your device causing conflicts in either bootup or operating the system.
 

GodSir

Members
Aug 17, 2021
6
3
I am using xiaomi11 pro, when i install twrp show wrong:


C:\adb>fastboot flash recovery twrp.img
Sending 'recovery' (196608 KB) OKAY [ 4.294s]
Writing 'recovery' FAILED (remote: '(recovery_b) No such partition')
fastboot: error: Command failed


How i do fix it?
 

katerpanne

Members
Apr 19, 2014
1,572
307
I am using xiaomi11 pro, when i install twrp show wrong:


C:\adb>fastboot flash recovery twrp.img
Sending 'recovery' (196608 KB) OKAY [ 4.294s]
Writing 'recovery' FAILED (remote: '(recovery_b) No such partition')
fastboot: error: Command failed


How i do fix it?

try with boot instead of flash recovery
 

smeroni68

Members
Jun 21, 2021
11
15
I am using xiaomi11 pro, when i install twrp show wrong:


C:\adb>fastboot flash recovery twrp.img
Sending 'recovery' (196608 KB) OKAY [ 4.294s]
Writing 'recovery' FAILED (remote: '(recovery_b) No such partition')
fastboot: error: Command failed


How i do fix it?
Why are you using the wrong command? Where is written you can flash instead of boot command?

Inviato dal mio M2011K2G utilizzando Tapatalk
 

Poney70

Donator
Oct 3, 2019
5,332
337
I am using xiaomi11 pro, when i install twrp show wrong:
You need to use "fastboot boot twrp.img" because new devices don't have a "recovery" partition. ;)

If you want to have a permanent TWRP, you can go in the "Advanced" menu of TWRP => Use "Onekey inject TWRP" option or you can also simply install the latest Xiaomi.eu ROM for your device.

:)
 

Jimnasium

Members
May 16, 2021
382
67
try with boot instead of flash recovery
I am using xiaomi11 pro, when i install twrp show wrong:


C:\adb>fastboot flash recovery twrp.img
Sending 'recovery' (196608 KB) OKAY [ 4.294s]
Writing 'recovery' FAILED (remote: '(recovery_b) No such partition')
fastboot: error: Command failed


How i do fix it?
You DO NOT flash recovery as there isn't a recovery partition in the traditional sense. Try <fastboot boot twrp.img>, then format your internal storage if you are coming from another rom. Then reboot to fastboot again. Using the ADB command <fastboot boot twrp.img> again. Copy the rom from your PC to your phone's internal storage and flash. If you are flashing a Xioami.eu rom the TWRP Recovery will be installed so that it is persistent.
 

cevyil

Members
Aug 2, 2011
5
13
I have a problem with twrp rom install Mi 11 pro,when i was installed an update with developer or stable rom,phone not starting,reboots only twrp recovery.
Can you help me?
 
Last edited:

pittrich67

Members
Dec 29, 2016
581
82
You DO NOT flash recovery as there isn't a recovery partition in the traditional sense. Try , then format your internal storage if you are coming from another rom. Then reboot to fastboot again. Using the ADB command again. Copy the rom from your PC to your phone's internal storage and flash. If you are flashing a Xioami.eu rom the TWRP Recovery will be installed so that it is persistent.
I did exactly the same on Mi 11

Mi 11
 
  • Like
Reactions: Jimnasium

ChIcKo

Members
May 22, 2021
2
13
I have a problem with twrp rom install Mi 11 pro,when i was installed an update with developer or stable rom,phone not starting,reboots only twrp recovery.
Can you help me?
have you wipe dalvik & cache ?
 

katerpanne

Members
Apr 19, 2014
1,572
307
OK,but is this operation clear my data on internal storage?
if you change from weekly to stable or vice versa you have to format the partition not only wipe. make a backup before. otherwise its not possible to encrypt the partition
 

xNAPx

Members
May 31, 2021
174
40
You DO NOT flash recovery as there isn't a recovery partition in the traditional sense. Try <fastboot boot twrp.img>, then format your internal storage if you are coming from another rom. Then reboot to fastboot again. Using the ADB command <fastboot boot twrp.img> again. Copy the rom from your PC to your phone's internal storage and flash. If you are flashing a Xioami.eu rom the TWRP Recovery will be installed so that it is persistent.
It is much easier than that, you actually boot into twrp and flash straight the ROM, after that you format and reboot to system. Done
 
  • Like
Reactions: 1647838042

archer797

Members
Sep 16, 2011
15
15
I have Mi 11 Ultra. I managed to unlock the bootloader via the tool.

I put the phone in fastboot mode and when I type "Fastboot devices", the phone is recognised. When I type "fastboot boot twrp.img", the phone screen goes blank and then phone boots in to MIUI. I tried multiple times and still no success. I am unable to boot the phone into twrp.

Please help. I am unsure what I am doing wrong.

Recovery that I am trying to use is "Mi11Ultra(Pro)-twrp3.5.1-recovery-21.5.9-decrypted.img".
 
Last edited:

Poney70

Donator
Oct 3, 2019
5,332
337
I have Mi 11 Ultra. I managed to unlock the bootloader via the tool.

I put the phone in fastboot mode and when I type "Fastboot devices", the phone is recognised. When I type "fastboot boot twrp.img", the phone screen goes blank and then phone boots in to MIUI. I tried multiple times and still no success. I am unable to boot the phone into twrp.

Please help. I am unsure what I am doing wrong.

Recovery that I am trying to use is "Mi11Ultra(Pro)-twrp3.5.1-recovery-21.5.9-decrypted.img".
What's your current ROM's version? You may need to update your ROM first. ;)
 

archer797

Members
Sep 16, 2011
15
15
Simple question,did you put the twrp image into your adb folder first?
Yes. When I run "fastboot boot twrp.img", the command executes successfully. The phone reboots itself and goes directly to MIUI instead of going into TWRP.