TWRP and MIUI 13 / Android 12


michelleDeko

Members
Jun 16, 2021
39
20
Hello,

I have read online, that TWRP doesnt support Android 12 right now. I have the Version 3.5.1 of TWRP (newest one for Mi 11 Pro is 3.6.0 right now, without Android 12 support still.)
How will I be able to update to MIUI 13, after it gets a stable release, with TWRP? And how will I be able to update TWRP? Do I just need to flash the TWRP IMG File?
 

Tsim Pouki

Members
Sep 4, 2021
287
52
Hello,

I have read online, that TWRP doesnt support Android 12 right now. I have the Version 3.5.1 of TWRP (newest one for Mi 11 Pro is 3.6.0 right now, without Android 12 support still.)
How will I be able to update to MIUI 13, after it gets a stable release, with TWRP? And how will I be able to update TWRP? Do I just need to flash the TWRP IMG File?
The software versions on android 12 will be fastboot, not recovery, so we'll work without twrp until a compatible version for each device is released
 

michelleDeko

Members
Jun 16, 2021
39
20
The software versions on android 12 will be fastboot, not recovery, so we'll work without twrp until a compatible version for each device is released
Ok then I will probably need to wait for Android 12 Release of TWRP? Because I dont have any clue how fastboot works. And how will I be able, to update TWRP? Do I just need to flash the newer TWRP IMG file in the Recovery? There is an option to flash an IMG file, but I dont know if its made for TWRP IMG files.
 

Tsim Pouki

Members
Sep 4, 2021
287
52
These are the steps for updating (copied from FAQ)

Installation of A12 devices via Fastboot:
- Download our ROM zip file
- Unpack downloaded zip file in the PC
- Reboot your device to fastboot mode (press volume down + power)
- Connect to PC via USB cable
- Run fastboot installation script from unpacked zip according your PC operating system:
--- For Windows OS - windows_fastboot_update_rom.bat
--- For Linux - linux_fastboot_update_rom.sh
--- For MacOS - macos_fastboot_update_rom.sh

For TWRP, you'll have to check their site. If/once you find a version that supports A12, just enter fastboot mode (as guided above) and flash is using this command

fastboot flash recovery (file name, for examle twrp.img)
 

michelleDeko

Members
Jun 16, 2021
39
20
These are the steps for updating (copied from FAQ)

Installation of A12 devices via Fastboot:
- Download our ROM zip file
- Unpack downloaded zip file in the PC
- Reboot your device to fastboot mode (press volume down + power)
- Connect to PC via USB cable
- Run fastboot installation script from unpacked zip according your PC operating system:
--- For Windows OS - windows_fastboot_update_rom.bat
--- For Linux - linux_fastboot_update_rom.sh
--- For MacOS - macos_fastboot_update_rom.sh

For TWRP, you'll have to check their site. If/once you find a version that supports A12, just enter fastboot mode (as guided above) and flash is using this command

fastboot flash recovery (file name, for examle twrp.img)
will this delete my data?
 

michelleDeko

Members
Jun 16, 2021
39
20
These are the steps for updating (copied from FAQ)

Installation of A12 devices via Fastboot:
- Download our ROM zip file
- Unpack downloaded zip file in the PC
- Reboot your device to fastboot mode (press volume down + power)
- Connect to PC via USB cable
- Run fastboot installation script from unpacked zip according your PC operating system:
--- For Windows OS - windows_fastboot_update_rom.bat
--- For Linux - linux_fastboot_update_rom.sh
--- For MacOS - macos_fastboot_update_rom.sh

For TWRP, you'll have to check their site. If/once you find a version that supports A12, just enter fastboot mode (as guided above) and flash is using this command

fastboot flash recovery (file name, for examle twrp.img)
I also found this video? So is it possible to update TWRP in TWRP?
 

Tsim Pouki

Members
Sep 4, 2021
287
52
I also found this video? So is it possible to update TWRP in TWRP?
Personally, i wouldn't do it. This way you typically replace something while using it, and it could brake things. Fastboot taked a bit more time but makes sure that the previous recovery file is completely deleted before flashing the new one. I'm not sure if it happens with the same safety levels by updating through twrp. Of course i could me wrong since im not an expert. It's just the way i see it
 

michelleDeko

Members
Jun 16, 2021
39
20
Personally, i wouldn't do it. This way you typically replace something while using it, and it could brake things. Fastboot taked a bit more time but makes sure that the previous recovery file is completely deleted before flashing the new one. I'm not sure if it happens with the same safety levels by updating through twrp. Of course i could me wrong since im not an expert. It's just the way i see it
Ok I just tried doing everything like in the video but the partition is completly different. I dont have a Recovery Partition. So do you eventually have a youtube tutorial how I can update TWRP with fastboot? Like, I dont even know where I get the tools for PC...
 

Tsim Pouki

Members
Sep 4, 2021
287
52
Ok I just tried doing everything like in the video but the partition is completly different. I dont have a Recovery Partition. So do you eventually have a youtube tutorial how I can update TWRP with fastboot? Like, I dont even know where I get the tools for PC...
This is for the tools
And this is for TWRP

Feel free to leave a reply here if you find any difficulties
 
  • Like
Reactions: BigDisplay

michelleDeko

Members
Jun 16, 2021
39
20
This is for the tools
And this is for TWRP

Feel free to leave a reply here if you find any difficulties
Soooo
Guess I have a problem?
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery twrp.img
target reported max download size of 805306368 bytes
sending 'recovery' (196608 KB)...
OKAY [ 4.617s]
writing 'recovery'...
FAILED (remote: (recovery_a) No such partition)
finished. total time: 4.621s
 

michelleDeko

Members
Jun 16, 2021
39
20
Soooo
Guess I have a problem?
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery twrp.img
target reported max download size of 805306368 bytes
sending 'recovery' (196608 KB)...
OKAY [ 4.617s]
writing 'recovery'...
FAILED (remote: (recovery_a) No such partition)
finished. total time: 4.621s
I now tried this tutorial. Now im in TWRP 3.6.0 (installed version: 3.5.1)
Problem: How do I flash it now? I have an option in advanced called "Flash Currewnt TWRP" but the guy in the video uses the setting "Onekey Inject TWRP"

I genuinly dont know how to continue now.
 

Tsim Pouki

Members
Sep 4, 2021
287
52
I now tried this tutorial. Now im in TWRP 3.6.0 (installed version: 3.5.1)
Problem: How do I flash it now? I have an option in advanced called "Flash Currewnt TWRP" but the guy in the video uses the setting "Onekey Inject TWRP"

I genuinly dont know how to continue now.
Soooo
Guess I have a problem?
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery twrp.img
target reported max download size of 805306368 bytes
sending 'recovery' (196608 KB)...
OKAY [ 4.617s]
writing 'recovery'...
FAILED (remote: (recovery_a) No such partition)
finished. total time: 4.621s
then you have to type fastboot boot twrp.img and it should work (at least it worked on the second tutorial)
 

Tsim Pouki

Members
Sep 4, 2021
287
52
I now tried this tutorial. Now im in TWRP 3.6.0 (installed version: 3.5.1)
Problem: How do I flash it now? I have an option in advanced called "Flash Currewnt TWRP" but the guy in the video uses the setting "Onekey Inject TWRP"

I genuinly dont know how to continue now.
You can flash any twrp version you want using the tutorial that you sent. It's the same prosses for every recovery that you want to flash
 

michelleDeko

Members
Jun 16, 2021
39
20
You can flash any twrp version you want using the tutorial that you sent. It's the same prosses for every recovery that you want to flash
That not my problem. I boot the TWRP.img and then? I booted into TWRP, after I reboot into TWRP again, Im on the old version again because it didnt install, because the Onekey Injection TWRP button is missing under "Advanced"
 

michelleDeko

Members
Jun 16, 2021
39
20
That's very strange.. It should be installed by default. Are you sure that you flashed the correct file? Are you on android 11 or 12?
Im on Android 11. I couldnt install it, since I got the error I posted earlier.
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery twrp.img
target reported max download size of 805306368 bytes
sending 'recovery' (196608 KB)...
OKAY [ 4.617s]
writing 'recovery'...
FAILED (remote: (recovery_a) No such partition)
finished. total time: 4.621s
After that I tried just booting it. It booted without any problems. It just didnt install on the phone.
 

Tsim Pouki

Members
Sep 4, 2021
287
52
Im on Android 11. I couldnt install it, since I got the error I posted earlier.

After that I tried just booting it. It booted without any problems. It just didn't install on the phone.
You can try to flash it as boot (fastboot flash boot twrp.img). Some phones don't have recovery partition and the boot does the whole job.
If you want to try it, i recommend you to download the rom that you use just for case that something brake (you'll be able to flash the normal boot image and everything should be normal. Typically it won't let you install like that it if the recovery is not supposed to be combined with boot but its better to be safe than sorry)
 

michelleDeko

Members
Jun 16, 2021
39
20
You can try to flash it as boot (fastboot flash boot twrp.img). Some phones don't have recovery partition and the boot does the whole job.
If you want to try it, i recommend you to download the rom that you use just for case that something brake (you'll be able to flash the normal boot image and everything should be normal. Typically it won't let you install like that it if the recovery is not supposed to be combined with boot but its better to be safe than sorry)
Well seems like I destroyed everything now. I just flashed the TWRP.img file on the boot partition. I now wanted to boot into the System (so MIUI) and welp. Now it boots TWRP instead. Im now really goddamn scared that I broke my phone
 

michelleDeko

Members
Jun 16, 2021
39
20
Well seems like I destroyed everything now. I just flashed the TWRP.img file on the boot partition. I now wanted to boot into the System (so MIUI) and welp. Now it boots TWRP instead. Im now really goddamn scared that I broke my phone
Please say me I can save all my apps, files etc. I dont want to setup everything new...
If I need to setup everything new, I will sell this phone and buy a new one with official support because holy s*it I dont want to destroy another phone
 

Tsim Pouki

Members
Sep 4, 2021
287
52
Well seems like I destroyed everything now. I just flashed the TWRP.img file on the boot partition. I now wanted to boot into the System (so MIUI) and welp. Now it boots TWRP instead. Im now really goddamn scared that I broke my phone
If reboot to system brings you to twrp then download the rom that you currently run, go to images folder, find boot image and then flash it (fastboot flash boot boot.img) and everything will be back to normal
 

Tsim Pouki

Members
Sep 4, 2021
287
52
If reboot to system brings you to twrp then download the rom that you currently run, go to images folder, find boot image and then flash it (fastboot flash boot boot.img) and everything will be back to normal
Did this fixed your issue?