Mi11/Ultra/Pro TWRP 3.5.2_11


Jimnasium

Members
May 16, 2021
375
67
Hey guys, i have a serous question. I am still on the first release 3.5.1 and have the decrypt /password problem, so i cant full wipe and flash clean flash roms. Can i install this to solve the problem? Is it overruling the old one without a full wipe is needed?
You can try but it won't work, since you can not FLASH TWRP! You must boot into it using the command <fastboot boot TWRP.img>. The script from the Xiaomi.eu MIUI install will then install it permanently. These devices use A/B partioning and there is no recovery partition in the traditional sense, so you can't use <fastboot flash recovery TWRP.img> to flash TWRP. This is from XDA:

"On A/B devices supporting seamless updates, the recovery is now inside of the boot image along with the kernel. The recovery’s main function was to install updates, but since that’s handled by the system itself (update_engine) while Android is booted up the dedicated recovery partition is no longer needed.

To install a custom recovery on A/B devices, we thus need to modify the boot partition and replace the stock recovery with our own. This is why to install TWRP you need to use a fastboot command to boot a custom boot image first and then flash the TWRP installation script, as fastboot can’t patch partitions—only flash over them entirely. You could technically pre-patch your existing boot image with TWRP and then flash it via fastboot, but that’s more trouble than it’s worth. The TWRP installer script patches both the boot_a and boot_b partitions to install TWRP."

So there is an installer script out there that will patch it for you or better yet use the one that is in the Xiaomi.eu rom when you install the rom.
 
  • Like
Reactions: katerpanne

Reza1967

Members
Jan 24, 2020
23
15
You can try but it won't work, since you can not FLASH TWRP! You must boot into it using the command <fastboot boot TWRP.img>. The script from the Xiaomi.eu MIUI install will then install it permanently. These devices use A/B partioning and there is no recovery partition in the traditional sense, so you can't use <fastboot flash recovery TWRP.img> to flash TWRP. This is from XDA:

"On A/B devices supporting seamless updates, the recovery is now inside of the boot image along with the kernel. The recovery’s main function was to install updates, but since that’s handled by the system itself (update_engine) while Android is booted up the dedicated recovery partition is no longer needed.

To install a custom recovery on A/B devices, we thus need to modify the boot partition and replace the stock recovery with our own. This is why to install TWRP you need to use a fastboot command to boot a custom boot image first and then flash the TWRP installation script, as fastboot can’t patch partitions—only flash over them entirely. You could technically pre-patch your existing boot image with TWRP and then flash it via fastboot, but that’s more trouble than it’s worth. The TWRP installer script patches both the boot_a and boot_b partitions to install TWRP."

So there is an installer script out there that will patch it for you or better yet use the one that is in the Xiaomi.eu rom when you install the rom.
Can you help me out with easy step by step installing instructions ?
 

Reza1967

Members
Jan 24, 2020
23
15
You can't, fastboot ROM is installed via fastboot mode
Of course, but that's not my question. Can I install the ROM via fastboot mode while I am on twrp recovery now. In other words, if I install a fastboot ROM, wil my twrp being replaced
 

gogocar62

Members
Apr 22, 2021
610
182
If you now have TWRP ROM installed, you can upgrade with fastboot ROM. TWRP remains on the phone.
 

gogocar62

Members
Apr 22, 2021
610
182
If you are installing a fastboot ROM, it does not matter if TWRP is encrypted. You will normally perform a dirty update without losing data.

dirty installation / update = windows_fastboot_update_rom.bat
clear installation = windows_fastboot_first_install_with_data_format.bat
 
Last edited:

gogocar62

Members
Apr 22, 2021
610
182
Yes you can also install fastboot ROM with encrypted TWRP.

You mix two different things.
One thing is to install the stock Global ROM and another is to install the xiaomi.eu ROM.

Say exactly what you want.

Do you want to sell your phone:
Log off my account from my phone
Sign out of your Google Account
Install the stock ROM using Miflash and lock the bootloader
 
  • Like
Reactions: katerpanne

Reza1967

Members
Jan 24, 2020
23
15
No, my main problem is to get rid of the encryption/password problem in my twrp recovery. The followed problems are, if I have this problem, how to update in the future my phone or reset my phone....
 

Jimnasium

Members
May 16, 2021
375
67
Can you help me out with easy step by step installing instructions ?
I have posted instructions many times. It gets kind of tiring to continually repost the same things over and over for people that do not search. Not only have I posted this several times, so have many others, but the developers have also posted information on how to install TWRP, as well as, the Xiaomi.eu rom. Please look first, you will find the answers you seek
 
  • Like
Reactions: JiaiJ

Reza1967

Members
Jan 24, 2020
23
15
I have posted instructions many times. It gets kind of tiring to continually repost the same things over and over for people that do not search. Not only have I posted this several times, so have many others, but the developers have also posted information on how to install TWRP, as well as, the Xiaomi.eu rom. Please look first, you will find the answers you seek
Sorry man, I it's not a daily thing for me and in that case I am noob now .. that's the reason that I asked for simple steps ... Thought a place like this is the right one ... Of course I searched a lot for it but couldn't find a simple steps procedure yet
 

Jimnasium

Members
May 16, 2021
375
67
Sorry man, I it's not a daily thing for me and in that case I am noob now .. that's the reason that I asked for simple steps ... Thought a place like this is the right one ... Of course I searched a lot for it but couldn't find a simple steps procedure yet
Noob or no noob, did you bother to search first? If you did search, how in the world did you miss this? https://xiaomi.eu/community/threads/guide-install-twrp-for-mi-11-pro-ultra.61239/ That information is available for virtually every device on this website. I became a network engineer by starting with an old 386sx and dial up modem, searching for information. I also learned how to basically develop roms from searching for information on that topic. The internet and specialized websites have all the basic answers for everything you seek. Just got to search.
 
Last edited:
  • Like
Reactions: katerpanne

Reza1967

Members
Jan 24, 2020
23
15
Noob or no noob, did you bother to search first? If you did search, how in the world did you miss this? https://xiaomi.eu/community/threads/guide-install-twrp-for-mi-11-pro-ultra.61239/ That information is available for virtually every device on this website. I became a network engineer by starting with an old 386sx and dial up modem, searching for information. I also learned how to basically develop roms from searching for information on that topic. The internet and specialized websites have all the basic answers for everything you seek. Just got to search.
I'm not searching for how installing twrp, I am looking for how to solve the encryption/password problem , so my twrp is decrypted again... But thx anyway
 

Jimnasium

Members
May 16, 2021
375
67
I'm not searching for how installing twrp, I am looking for how to solve the encryption/password problem , so my twrp is decrypted again... But thx anyway
That information is on the web too! I have posted it many times as well.
 

katerpanne

Members
Apr 19, 2014
1,772
307
I'm not searching for how installing twrp, I am looking for how to solve the encryption/password problem , so my twrp is decrypted again... But thx anyway
hi… if you want to sell your phone, use stock rom, miflash, clear data and lock. twrp will gone.

wait for a twrp version for a12.so long you can update with fastboot.

if you want to wipe or format your device you can do it e.g. with fastboot commands

I hope I understand your questions correctly.

regards
 
  • Like
Reactions: Reza1967

Reza1967

Members
Jan 24, 2020
23
15
That information is on the web too! I have posted it many times as well.
I know this, and (again), thats not my question or problem. My question was how to get a full functionoal twrp including the password accept, so without this alternative installing. It was working before, so then was it decrpted when i set my password and twrp accepted it..... So again, i CAN flash roms, but i was looking for a fully working twrp and was asking if 3.5.2 has te same problem as 3.5.1 with the password fail or not, nothing more and nothing less....
 

katerpanne

Members
Apr 19, 2014
1,772
307
I know this, and (again), thats not my question or problem. My question was how to get a full functionoal twrp including the password accept, so without this alternative installing. It was working before, so then was it decrpted when i set my password and twrp accepted it..... So again, i CAN flash roms, but i was looking for a fully working twrp and was asking if 3.5.2 has te same problem as 3.5.1 with the password fail or not, nothing more and nothing less....
what do you dont understand? there is no full working twrp!!!!

ich kotz ab… spam!!!
 
  • Like
Reactions: marcel112

Reza1967

Members
Jan 24, 2020
23
15
what do you dont understand? there is no full working twrp!!!!

ich kotz ab… spam!!!
Whats youre problem man, give you a thanks in the other post. And my twrp was fully working first. I got a lot of answers but why are you all agressive for people that are not on experts level.... First time for me with this , so chill man or what are you doing here at all? Dont be rude like that
 

katerpanne

Members
Apr 19, 2014
1,772
307
Whats youre problem man, give you a thanks in the other post. And my twrp was fully working first. I got a lot of answers but why are you all agressive for people that are not on experts level.... First time for me with this , so chill man or what are you doing here at all? Dont be rude like that
i have tried to answer your questions and there was no feedback as the old question. what do you expect? i have written if i understood you and there was no response. i only want to help…

at the moment there is NO twrp !
 
  • Like
Reactions: JiaiJ