Soft brick while trying to flash TWRP - Xiaomi Redmi Note 5 / 5 Plus Questions & Answers

Hello to all !
In order to install Lineage OS on my Xiaomi Redmi Note 5, I was trying to flash TWRP as recovery. I was able to run successfully command 'fastboot flash antirbpass dummy.img' to skirt anti rollback, then i execute successfully 'fastboot flash recovery recovery.img' command to flash TWRP, but no way to boot on TWRP.
I tried also to run command 'fastboot boot recovery.img' but while booting it stays stucked on MI logo.
While searching for a solution I inconveniently run command 'fastboot flash boot recovery.img', so now I'm in a bootloop on fastboot mode if I press volume down and power button, or MI logo if I start in normal mode.
I still have access to fastboot commands, do you know how I can do to fix it (and maybe a way to install TWRP correctly) ?
And I can not stop my phone, does it exist a command which allows to do this in fastboot or I have to wait for my phone to be without battery ?
Thanks in advance for your help !

Ivanov93 said:
Hello to all !
In order to install Lineage OS on my Xiaomi Redmi Note 5, I was trying to flash TWRP as recovery. I was able to run successfully command 'fastboot flash antirbpass dummy.img' to skirt anti rollback, then i execute successfully 'fastboot flash recovery recovery.img' command to flash TWRP, but no way to boot on TWRP.
I tried also to run command 'fastboot boot recovery.img' but while booting it stays stucked on MI logo.
While searching for a solution I inconveniently run command 'fastboot flash boot recovery.img', so now I'm in a bootloop on fastboot mode if I press volume down and power button, or MI logo if I start in normal mode.
I still have access to fastboot commands, do you know how I can do to fix it (and maybe a way to install TWRP correctly) ?
And I can not stop my phone, does it exist a command which allows to do this in fastboot or I have to wait for my phone to be without battery ?
Thanks in advance for your help !
Click to expand...
Click to collapse
I guess you have Redmi note 5 - codename: Whyred (Snapdragon 636 and with dual rear camera) so Redmi 5 plus doesn´t have ARB.
If the next recommendation doesn´t work you will find better guidance in the thread for your specific device https://forum.xda-developers.com/redmi-note-5-pro so is slightly different.
Flash again your stock boot image , reboot and check that USB debugging is enabled and start again the process:
Put TWRP in your sdcard and a copy with this name in your adb folder into pc, reboot to fastboot and first just boot to TWRP, don´t flash it in fastboot, use code
Code:
fastboot boot TWRP.img
then in TWRP flash TWRP file and flash dummy.img ARB. In the case that your counter is up to 4 here you will find the file to enable again fastboot mode https://forum.xda-developers.com/redmi-note-5-pro/how-to/index-everything-anti-roll-t3816219

Ivanov93 said:
I still have access to fastboot commands, do you know how I can do to fix it (and maybe a way to install TWRP correctly) ?
Click to expand...
Click to collapse
I will assume that you have the correct TWRP build for your device (do you have vince, or whyred?).
If you have the correct TWRP, then did you flash magisk or lazyflasher after installing TWRP?

MAAAN
Do like this: once you flashed type
Fastboot boot recoveryname.img

Related

[RN3P Kenzo] Bootloader unlocked but unable to get into TWRP

RN3P Kenzo, ROM is Global Dev 6.8.18.
I unlocked the bootloader officially (using the code and the MiFlashUnlock tool). I then used ADB to flash Cofface TWRP which did not work. These are the steps I used:
First I booted into fastboot.
Then I did this in Minimal ADB 'fastboot flash recovery twrp.img'.
The message was
sending 'recovery'
OKAY
writing 'recovery'
OKAY
finished.
Next I did 'fastboot reboot'.
Then I tried to get into TWRP recovery using the MIUI update app. Didn't work. Any help? Thanks in advance.
monsieurazizx said:
RN3P Kenzo, ROM is Global Dev 6.8.18.
I unlocked the bootloader officially (using the code and the MiFlashUnlock tool). I then used ADB to flash Cofface TWRP which did not work. These are the steps I used:
First I booted into fastboot.
Then I did this in Minimal ADB 'fastboot flash recovery twrp.img'.
The message was
sending 'recovery'
OKAY
writing 'recovery'
OKAY
finished.
Next I did 'fastboot reboot'.
Then I tried to get into TWRP recovery using the MIUI update app. Didn't work. Any help? Thanks in advance.
Click to expand...
Click to collapse
Try this, "fastboot boot twrp.img" NOT fastboot flash boot, just "fastboot boot twrp.img"
andersonaragao said:
Try this, "fastboot boot twrp.img" NOT fastboot flash boot, just "fastboot boot twrp.img"
Click to expand...
Click to collapse
OK. It boots into TWRP. But my question is, will I have to use "fastboot boot twrp.img" every time to boot into TWRP? That would be a hassle, but if that's the only way, I'll just deal with it.
Thanks though, it was nice to know the recovery image was working.
monsieurazizx said:
OK. It boots into TWRP. But my question is, will I have to use "fastboot boot twrp.img" every time to boot into TWRP? That would be a hassle, but if that's the only way, I'll just deal with it.
Thanks though, it was nice to know the recovery image was working.
Click to expand...
Click to collapse
No. You dont need to fastboot everytime. As you once booted into TWRP from "fastboot boot twrp.img" your recovery is perminantly TWRP. You can boot into by pressing the key combination or from the updater app..
Happy Flashing
Try fastboot reboot recovery but if not boot into recovery don't boot into system and reboot recovery via key combination. If you reboot system stock recovery erase twrp.
Note many devices will replace your custom recovery automatically during first boot. To prevent this, use Google to find the proper key combo to enter recovery. After typing fastboot reboot, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install.
https://twrp.me/devices/xiaomiredminote3.html
"fastboot reboot" hold volume up until you see mi logo
Wipe:
/data
Then flash:
http://forum.xda-developers.com/redmi-note-3/how-to/modified-twrp-deleting-emmcappsboot-t3371667
@Up disables dm-verity and encryption on /data partition[that's why we wipe it inorder to format it].
By SharkcpN(Newbie Guide)
B) Prevent TWRP From Getting Over-written
After the TWRP gets flashed, disconnect the cable from the phone.
Hold power button + volume up buttons till phone gets restarted.
When the Mi Logo shows up, release the power button & keep holding the volume up button.
Release the Volume Up button after TWRP logo shows up.
If the language is in Chinese, select the right box, & select English.
Check the box & swipe to allow modifications.
it worked for me

Cannot access recovery after using MSMDownloadTool recovery package

Hi,
I screwed up my phone and hard bricked it, so I used the MSMDownload Tool to make it run normally again, but...
It allowed me to recover my phone, but I cannot access recovery. I also tried to update the phone, but it would hang on the oneplus logo. I also cannot unlock my bootloader, as after it completes (and says it completed successfully on my computer) it again hangs on the oneplus logo.
Could anybody help me out here with how to fix this problem? Thanks in advance!
Hello .
My condolences first. I've been there before.
Anyway can you get your device bootloader unlocked in settings then fastboot and do ya fastboot Cody terminal stuff?
Code:
fastboot oem unlock
DON'T FORGET THIS WILL WIPE WIPE INTERNAL STORAGE.
Yay! Once you done that stay in fastboot and push twrp from there. Flash latest naturally.
Code:
fastboot flash recovery twrp.img
fastboot boot recovery twrp.img
That should jump into your TWRP then flash a rom if you want . But that should do it .
Hope I helped give us a thanks if I did

Successfully unbricked mi 9t

I would like to share my experienced how to unbricked my phone that stock on fastboot mode.why my phone is brick? The reason why my phone brick just because i restore the wrong system with the other vendor from china to miuimix and after restore it, it stock on fastboot mode unable to recover backup or to load in recovery mode. It didn't also turn off. l try to use miflash tool but it didn't work because of authorization not match to my phone, i tried other fastboot rom but it didnt work.. Try to boot twrp using fastboot boot but it didn't show any. I came up with the idea to flash. Img using cmd into the system that i restore, begin with the boot.img nothing will happen. Until i flash the vbmeta.img, then it begin to show boot img and eventually access twrp. I wiped everything and flash again a brandnew rom miui12 and it works well now.. Hope it will help to others to have an idea to unbrick there phone. ☺☺☺
flamedrops said:
I would like to share my experienced how to unbricked my phone that stock on fastboot mode.why my phone is brick? The reason why my phone brick just because i restore the wrong system with the other vendor from china to miuimix and after restore it, it stock on fastboot mode unable to recover backup or to load in recovery mode. It didn't also turn off. l try to use miflash tool but it didn't work because of authorization not match to my phone, i tried other fastboot rom but it didnt work.. Try to boot twrp using fastboot boot but it didn't show any. I came up with the idea to flash. Img using cmd into the system that i restore, begin with the boot.img nothing will happen. Until i flash the vbmeta.img, then it begin to show boot img and eventually access twrp. I wiped everything and flash again a brandnew rom miui12 and it works well now.. Hope it will help to others to have an idea to unbrick there phone.
Click to expand...
Click to collapse
Could you explain? My phone is stuck at fastboot and my pc doesn't detect the phone.
if u could access your phone via fastboot / adb then it wasn't a hardbrick , just a softbrick
TahmidZee said:
Could you explain? My phone is stuck at fastboot and my pc doesn't detect the phone.
Click to expand...
Click to collapse
You should check first the driver of your computer. Make sure you have the driver of your phone to your computer. After that you can check your device via adb by using commnd on cmd "adb devices".
instructions to flash:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot erase recovery
fastboot flash recovery twrp-3.3.1-0-davinci.img
link: https://dl.twrp.me/davinci/twrp-3.3.1-0-davinci.img
w595shubham said:
instructions to flash:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot erase recovery
fastboot flash recovery twrp-3.3.1-0-davinci.img
link: https://dl.twrp.me/davinci/twrp-3.3.1-0-davinci.img
Click to expand...
Click to collapse
VERY VERY THANX A LOT MAN...THX THX THX:highfive:
flamedrops said:
I would like to share my experienced how to unbricked my phone that stock on fastboot mode.why my phone is brick? The reason why my phone brick just because i restore the wrong system with the other vendor from china to miuimix and after restore it, it stock on fastboot mode unable to recover backup or to load in recovery mode. It didn't also turn off. l try to use miflash tool but it didn't work because of authorization not match to my phone, i tried other fastboot rom but it didnt work.. Try to boot twrp using fastboot boot but it didn't show any. I came up with the idea to flash. Img using cmd into the system that i restore, begin with the boot.img nothing will happen. Until i flash the vbmeta.img, then it begin to show boot img and eventually access twrp. I wiped everything and flash again a brandnew rom miui12 and it works well now.. Hope it will help to others to have an idea to unbrick there phone.
Click to expand...
Click to collapse
Can u please explain it. I am stuck with the same problem. I got success in flashing fastboot rom via miflash tool but it's still stuck in fastboot.
Thanks God Bless You.
---------- Post added at 05:01 PM ---------- Previous post was at 04:36 PM ----------
Deaddo6 said:
VERY VERY THANX A LOT MAN...THX THX THX:highfive:
Click to expand...
Click to collapse
This Helped You guys are angel
w595shubham said:
instructions to flash:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot erase recovery
fastboot flash recovery twrp-3.3.1-0-davinci.img
link: https://dl.twrp.me/davinci/twrp-3.3.1-0-davinci.img
Click to expand...
Click to collapse
I have the same problem. I tried also this one, but nothing.
Everything goes ok in CMD, but when I type:
fastboot boot twrp.img
I get:
FAILED (remote: Failed to load/authenticate boot image: Load Error)
I still can't go in Recovery, neither turn off the phone. How solve this?!
dix93 said:
I have the same problem. I tried also this one, but nothing.
Everything goes ok in CMD, but when I type:
flash boot twrp.img
I get:
FAILED (remote: Failed to load/authenticate boot image: Load Error)
I still can't go in Recovery, neither turn off the phone. How solve this?!
Click to expand...
Click to collapse
flash boot twrp.img?
What do you wanna do?
If you want to boot into TWRP it should be
Code:
fastboot boot recovery "name-of- recovery.img"
If you want to flash TWRP it should be
Code:
fastboot flash recovery "name-of-recovery.img"
Your command
fastboot flash boot twrp.img should flash the recovery image over the boot image?
If you want to boot into twrp you should use the command above.
As far as I know not every device/firmware is able to boot into TWRP. It seems other users were able to do so with a mi 9t so my advice would be:
- Try another usb port / cable.
- Check twice if you renamed the twrp image correctly
- Try another twrp version (older one or unofficial)
w595shubham said:
instructions to flash:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot erase recovery
fastboot flash recovery twrp-3.3.1-0-davinci.img
link: https://dl.twrp.me/davinci/twrp-3.3.1-0-davinci.img
Click to expand...
Click to collapse
Wolfcity said:
flash boot twrp.img?
What do you wanna do?
If you want to boot into TWRP it should be
Code:
fastboot boot recovery "name-of- recovery.img"
If you want to flash TWRP it should be
Code:
fastboot flash recovery "name-of-recovery.img"
Your command
fastboot flash boot twrp.img should flash the recovery image over the boot image?
If you want to boot into twrp you should use the command above.
As far as I know not every device/firmware is able to boot into TWRP. It seems other users were able to do so with a mi 9t so my advice would be:
- Try another usb port / cable.
- Check twice if you renamed the twrp image correctly
- Try another twrp version (older one or unofficial)
Click to expand...
Click to collapse
Thank you. Actually I was confused in the transcript here, I meant fast boot instead of flash.
But I figured out to use XiaomiFlash Tool to install a ROM via fastboot, and then reinstall a recovery.
The popup camera is not working good with the XIAOMI official rom (It tries to close the cam even if it is already closed). Now I'm trying to install Havoc OS to try to solve those problem, but it demands me the miui v11.0.4 or new (error in twrp), even if I have the miui v12.... trying to figure out why
for the guys whome are stuck on fastboot, you may try "XiaoMiTool V2". this bought my Mi9T from fastboot to life.
make sure all the drivers are installed as well. what's better is install usb drivers, reboot computer, enable usb debugging, connect the phone to computer, select transfer data, wait till the computer completely setup your phone, turn off phone and connect to computer, wait till computer detects and setup, put the phone on fastboot mode and connect, check whether computer shows android device... once everything are confirmed then proceed with flasing.. :good::good:
w595shubham said:
instructions to flash:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot erase recovery
fastboot flash recovery twrp-3.3.1-0-davinci.img
link: https://dl.twrp.me/davinci/twrp-3.3.1-0-davinci.img
Click to expand...
Click to collapse
This command - fastboot flash vbmeta worked.
(using a version from Redispade for Grus - mi9se)
Unbricked my bootloop (recovery) after upgrading from miui 12 (android 10) to 12.5 android 11.
thanks!

Mi A3 Fastboot Loop

Hello I'm stuck at fastboot loop with my Mi A3 after flashing TWRP
Here is what I did:
1. unlocked bootloader
2. downloaded TWRP from here: dl. twrp. me/ laurel_sprout/twrp-3.3.1-0-laurel_sprout.img.html (cant post links, sorry)
3. installed it with fastboot flash boot twrp-3.3.1-0-laurel_sprout.img
After that the reboot is always goes into fastboot
I found the advice to change the partition - it was B and I set it to A and it could load the stock recovery, so I tried to flash TWRP again and it went to Fastboot loop again, on both partitions. No I don't know what to do.
command 'fastboot devices' - shows the device.
but I cannot boot into recovery, I tried holding power and volume up buttons many times, it always boots into Fastboot (screen with bunny and robot)
Please help!
Vsider said:
Hello I'm stuck at fastboot loop with my Mi A3 after flashing TWRP
Here is what I did:
1. unlocked bootloader
2. downloaded TWRP from here: dl. twrp. me/ laurel_sprout/twrp-3.3.1-0-laurel_sprout.img.html (cant post links, sorry)
3. installed it with fastboot flash boot twrp-3.3.1-0-laurel_sprout.img
After that the reboot is always goes into fastboot
I found the advice to change the partition - it was B and I set it to A and it could load the stock recovery, so I tried to flash TWRP again and it went to Fastboot loop again, on both partitions. No I don't know what to do.
command 'fastboot devices' - shows the device.
but I cannot boot into recovery, I tried holding power and volume up buttons many times, it always boots into Fastboot (screen with bunny and robot)
Please help!
Click to expand...
Click to collapse
Flash the boot.img of your current firmware version in twrp to both slots and flash twrp installer.zip afterwards then reboot. Now you will be able to boot as normal and have twrp installed also
Vsider said:
Hello I'm stuck at fastboot loop with my Mi A3 after flashing TWRP
Here is what I did:
1. unlocked bootloader
2. downloaded TWRP from here: dl. twrp. me/ laurel_sprout/twrp-3.3.1-0-laurel_sprout.img.html (cant post links, sorry)
3. installed it with fastboot flash boot twrp-3.3.1-0-laurel_sprout.img
After that the reboot is always goes into fastboot
I found the advice to change the partition - it was B and I set it to A and it could load the stock recovery, so I tried to flash TWRP again and it went to Fastboot loop again, on both partitions. No I don't know what to do.
command 'fastboot devices' - shows the device.
but I cannot boot into recovery, I tried holding power and volume up buttons many times, it always boots into Fastboot (screen with bunny and robot)
Please help!
Click to expand...
Click to collapse
Don't use twrp
It'll break userdata partition
Use shrp recovery
For Android 9
https://sourceforge.net/projects/mi...RP_P-v2.2-laurel_sprout-official.img/download
For Android 10
https://sourceforge.net/projects/mi...HR_Q-v2.2-laurel_sprout-official.img/download
Shrp installer Flashable zip after flashing ROM
https://sourceforge.net/projects/mi...ller-v2.2-laurel_sprout-official.zip/download
Rajendran Rasa said:
Don't use twrp
It'll break userdata partition
Use shrp recovery
For Android 9
https://sourceforge.net/projects/mi...RP_P-v2.2-laurel_sprout-official.img/download
For Android 10
https://sourceforge.net/projects/mi...HR_Q-v2.2-laurel_sprout-official.img/download
Shrp installer Flashable zip after flashing ROM
https://sourceforge.net/projects/mi...ller-v2.2-laurel_sprout-official.zip/download
Click to expand...
Click to collapse
TWRP breaks down? ? Man!! Everyone using it.
All the youtubers.
There is a stable twrp for a3

Android 11 Stock Images for unbricking X3 Superzoom with Fastboot Commands

I have bricked my X3 SZ and worked 1 week to get it unbricked (bricked after update of Android 11) myself, even the service centre not able to restore it and told me that may be Motherboard Problem. Finally by flashing Android 11 Stock images (created using OFP to CMD file converter), I restore the phone. I tried with unlocked Bootloader mode, don't know about locked bootloader state.
Simply download the stock images from the link and boot into bootloader mode, connect to PC, open Minimal ADB Fastboot and flash with fastboot commands. Required USB, Realme, Android Drivers to be installed in the PC. All your data will be lost and do it at your own risk.
Download all the images (userdata, recovery, boot, vbmeta & dtbo) and copy to the Minimal ADB Fastboot folder, run the CMD prompt and run the following commands:
fastboot devices (to check whether phone connected successfully or not)
fastboot erase userdata
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash vbmeta vbmeta.img
fastboot flash userdata userdata.img
fastboot flash dtbo dtbo.img
fastboot reboot
Done.. your X3 SZ must reboot and starts, if not you need to work around or contact SC.. Good Luck
Link Deleted
Thx
EDIT: Very informative and useful!
Cant get magisk_boot.img to work. Going to try orangefox recovery to install Magisk (root).
Tried numerous times to install it (here) took 3-4 hours to get Python to work in windows 7 (cus missing libraries, and newer version dont work). Its bricked the phone 3 times now.
I tried to install TWRP but failed, after I tried Orangefox, successfully installed but not able to boot, rebooting into recovery only, then I flashed only boot image using fastboot and able to boot but lost Custom Recovery. After all I stopped trying anything on X3 SZ
please provide new link

Categories

Resources