• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Stuck in fastboot after flashboot flash recovery twrp.img

Search This thread

Shahaf

Member
Mar 30, 2012
12
0
Hello,
I tried to root my 9T(model M2010JI9SG) following this guide:
I used twrp from this link:
version 3.5.2_9-0
after I flashed twrp, I got into fastboot mode, which I can't leave.
I tried doing volume up +power, volume down+ power, and all the buttons as well, nothing worked, every time it goes back to fastboot,
I tried to redo everything, still didn't fix, and tried to flash stock via mi tool, didn't work too.

Please help me fix that,
Thanks!!!
 
Last edited:

zgfg

Senior Member
Oct 10, 2016
6,050
3,550
Hello,
I tried to root my 9T(model M2010JI9SG) following this guide:
I used twrp from this link:
version 3.5.2_9-0
after I flashed twrp, I got into fastboot mode, which I can't leave.
I tried doing volume up +power, volume down+ power, and all the buttons as well, nothing worked, every time it goes back to fastboot,
I tried to redo everything, still didn't fix, and tried to flash stock via mi tool, didn't work too.

Please help me fix that,
Thanks!!!
OMG

You should first of all know your phone model

"Redmi 9T" reads as different name than "Mi 9T", isn't it?

Hence you MUST NEVER flash TWRP for Redmi K20/Mi 9T (guide clearly says it is for that phone, check the big picture in your post) to your Redmi 9T
 

zgfg

Senior Member
Oct 10, 2016
6,050
3,550
oh damn, I can fix that somehow?
Check on twrp.me is there TWRP for your Redmi 9T

Or download the so called Fastboot/TGZ ROM for your M2010JI9SG, extract recovery.img (stock Recovery) and flash it back over the wrong TWRP

For more details search on XDA for Redmi 9T subforum (this one is for Mi 9T), there should be users and freaks who can better help you for the same phone
 

Shahaf

Member
Mar 30, 2012
12
0
Check on twrp.me is there TWRP for your Redmi 9T

Or download the so called Fastboot/TGZ ROM for your M2010JI9SG, extract recovery.img (stock Recovery) and flash it back over the wrong TWRP

For more details search on XDA for Redmi 9T subforum (this one is for Mi 9T), there should be users and freaks who can better help you for the same phone
Thank you, I will check with them!
 

zgfg

Senior Member
Oct 10, 2016
6,050
3,550
Thank you, I will check with them!
Here you can find firmwares for lime:

You should (?) know what was your installed firmware, download the same Fastboot/tgz and extract (TGZ=Tar+GZIP) your original stock recovery.img, and flash it from Fastboot (just like you flashed the wrong TWRP)

You could also use MiFlash tool to flash the whole firmware, but it must be not needed
 

Shahaf

Member
Mar 30, 2012
12
0
Here you can find firmwares for lime:

You should (?) know what was your installed firmware, download the same Fastboot/tgz and extract (TGZ=Tar+GZIP) your original stock recovery.img, and flash it from Fastboot (just like you flashed the wrong TWRP)

You could also use MiFlash tool to flash the whole firmware, but it must be not needed
It worked!!! now my device is working, now in order to root, which twrp should I use?
 

zgfg

Senior Member
Oct 10, 2016
6,050
3,550
It worked!!! now my device is working, now in order to root, which twrp should I use?
You don't need TWRP. Extract boot.img (like you extracted recovery.img). Install Magisk apk and use the method Install (Magisk), then Select and patch your boot.img (do not tick Recovery option)

Find the patched img in Download folder, transfer to PC and flash from Fastboot - this time to boot partition, not to recovery partition

If anything goes wrong, flash back the stock boot img

Btw, on that Redmi 9T, do you have A12 (or A11 or what) and is it MTK chipset?

Generally, use Magisk Stable v23 from TJW:

But if A12 or MTK and if it ain't work, you can try Magisk Alpha ('pilot' builds for the new Magisk to be soon? released)
 

Shahaf

Member
Mar 30, 2012
12
0
You don't need TWRP. Extract boot.img (like you extracted recovery.img). Install Magisk apk and use the method Install (Magisk), then Select and patch your boot.img (do not tick Recovery option)

Find the patched img in Download folder, transfer to PC and flash from Fastboot - this time to boot partition, not to recovery partition

If anything goes wrong, flash back the stock boot img

Btw, on that Redmi 9T, do you have A12 (or A11 or what) and is it MTK chipset?

Generally, use Magisk Stable v23 from TJW:

But if A12 or MTK and if it ain't work, you can try Magisk Alpha ('pilot' builds for the new Magisk to be soon? released)
I tried to do it, after I patched boot.img I transfered it to my PC and did fastboot boot boot_patched.img

it did ok on sending, but then failed on booting(unknown command), any fix for that?
 

zgfg

Senior Member
Oct 10, 2016
6,050
3,550
I tried to do it, after I patched boot.img I transfered it to my PC and did fastboot boot boot_patched.img

it did ok on sending, but then failed on booting(unknown command), any fix for that?
fastboot boot xxx.img boots one time to the xxx.img

For flashing (permanently) to boot you need to use:
fastboot flash boot xxx.img

Before flashing the 'stock' or patched boot img, pls double check: compare your firmware name in Settings / My device against the fastbboot/tgz package you downloaded and extracted the boot.img from

Recovery images might be the same for several firmwares, but boot.img is more critical. If extracted from the wrong firmware, it will not be your real stock boot.img and will not boot

You can use this app (now when your phone boots) to download and look for the proper firmware:
 

zgfg

Senior Member
Oct 10, 2016
6,050
3,550
It worked!!! now my device is working, now in order to root, which twrp should I use?
I would trust to the following thread on Xiaomi.eu forum, to find the suitable TWRP for your device.
Post #1, link to AFH, then scroll to lime (if that's the code name for your Redmi 9T):
Based on experience with my 9T I would pick
twrp-3.5.2_10-3-lime-brigudav.img

I.e., Xoaomi.eu provides weekly and stable firmwares that are usually well ahead of the official firmwares (on my Mi 9T, daily driver and businesses phone I was 9 months on their weeklies until I switched to their Stable two months ago)

The point is that Xiaomi.eu firmwares for most phones (I just checked, Redmi 9T is on the list) require TWRP to flash

That means if people recommend the TWRP as there, it nust be the right one

Once you have TWRP you can back up your boot partition. You will get boot.emmc.win and that will be your exact stock boot.img

You can still use the Patch and Flash method to install Magisk (as described you earlier), by patching that boot.emmc.win
 
Last edited:

Shahaf

Member
Mar 30, 2012
12
0
I would trust to the following thread on Xiaomi.eu forum, to find the suitable TWRP for your device.
Post #1, link to AFH, then scroll to lime (if that's the code name for your Redmi 9T):
Based on experience with my 9T I would pick
twrp-3.5.2_10-3-lime-brigudav.img

I.e., Xoaomi.eu provides weekly and stable firmwares that are usually well ahead of the official firmwares (on my Mi 9T, daily driver and businesses phone I was 9 months on their weeklies until I switched to their Stable two months ago)

The point is that Xiaomi.eu firmwares for most phones (I just checked, Redmi 9T is on the list) require TWRP to flash

That means if people recommend the TWRP as there, it nust be the right one

Once you have TWRP you can back up your boot partition. You will get boot.emmc.win and that will be your exact stock boot.img

You can still use the Patch and Flash method to install Magisk (as described you earlier), by patching that boot.emmc.win
it worked! thank you