phone booting into default recovery even after flashing twrp (xiaomi redmi note 4) - General Questions and Answers

whenever i try to go into recovery mode, it takes me to the default one even after i flashed twrp. my bootloader is unlocked and i flashed twrp several times. even when i use the command prompt from fastboot mode it still takes me to the default recovery. any ideas to what's wrong?

Asafbzm said:
whenever i try to go into recovery mode, it takes me to the default one even after i flashed twrp. my bootloader is unlocked and i flashed twrp several times. even when i use the command prompt from fastboot mode it still takes me to the default recovery. any ideas to what's wrong?
Click to expand...
Click to collapse
This could be a solution or a workaround:
"Hello i just had a personal experience with my Asus zenfone selfie Z00T Stock recovery kept replacing TWRP. (Boot loader already unlocked)
This is how i got around it i downloaded the latest TWRP for my device and placed directly in minimal adb and fastboot app folder then i renamed it to recovery .
then i put my device in fastboot mode using the buttons on the phone and After i ran minimal adb and fastboot app as admin then i typed fastboot flash recovery recovery.img
once done i then i typed fastboot boot recovery.img. and my phone booted to twrp recovery then i selected reboot recovery directly on my phone and to finish reboot system (still in twrp) that's it.
(OEM commands to boot from fastboot to recovery do not work on some devices )
it only worked for me eventually because i downloaded the latest TWRP from the official TWRP website.
The idea is to flash the custom recovery and then booting from the custom recovery.img that you just used to flash (the one still on the pc) using minimal adb and fastboot app.
IT may not work on all devices as the commands may change from one device to another but the idea stays the same. (example for nexus fastboot -c "lge.kcal=0|0|0|x" boot recovery.img)
I hope this will help some people out."

sill not booting into twrp
Tiqqy said:
This could be a solution or a workaround:
"Hello i just had a personal experience with my Asus zenfone selfie Z00T Stock recovery kept replacing TWRP. (Boot loader already unlocked)
This is how i got around it i downloaded the latest TWRP for my device and placed directly in minimal adb and fastboot app folder then i renamed it to recovery .
then i put my device in fastboot mode using the buttons on the phone and After i ran minimal adb and fastboot app as admin then i typed fastboot flash recovery recovery.img
once done i then i typed fastboot boot recovery.img. and my phone booted to twrp recovery then i selected reboot recovery directly on my phone and to finish reboot system (still in twrp) that's it.
(OEM commands to boot from fastboot to recovery do not work on some devices )
it only worked for me eventually because i downloaded the latest TWRP from the official TWRP website.
The idea is to flash the custom recovery and then booting from the custom recovery.img that you just used to flash (the one still on the pc) using minimal adb and fastboot app.
IT may not work on all devices as the commands may change from one device to another but the idea stays the same. (example for nexus fastboot -c "lge.kcal=0|0|0|x" boot recovery.img)
I hope this will help some people out."
Click to expand...
Click to collapse
i've just tried this but the 'fastboot boot recovery' command just turn the phone back on from fastboot. thanks anyways!

Tiqqy said:
This could be a solution or a workaround:
"Hello i just had a personal experience with my Asus zenfone selfie Z00T Stock recovery kept replacing TWRP. (Boot loader already unlocked)
This is how i got around it i downloaded the latest TWRP for my device and placed directly in minimal adb and fastboot app folder then i renamed it to recovery .
then i put my device in fastboot mode using the buttons on the phone and After i ran minimal adb and fastboot app as admin then i typed fastboot flash recovery recovery.img
once done i then i typed fastboot boot recovery.img. and my phone booted to twrp recovery then i selected reboot recovery directly on my phone and to finish reboot system (still in twrp) that's it.
(OEM commands to boot from fastboot to recovery do not work on some devices )
it only worked for me eventually because i downloaded the latest TWRP from the official TWRP website.
The idea is to flash the custom recovery and then booting from the custom recovery.img that you just used to flash (the one still on the pc) using minimal adb and fastboot app.
IT may not work on all devices as the commands may change from one device to another but the idea stays the same. (example for nexus fastboot -c "lge.kcal=0|0|0|x" boot recovery.img)
I hope this will help some people out."
Click to expand...
Click to collapse
Work for me. Thanks buddy

This works, thumb up
Asafbzm said:
i've just tried this but the 'fastboot boot recovery' command just turn the phone back on from fastboot. thanks anyways!
Click to expand...
Click to collapse
i have suffered with the same problem for hours until i decided to come here and look for related article , it actually worked and made me wonder that it wasn't that hard to fix it , i just rebooted fastboot and flashed twrp and in the end typed 'fastboot reboot recovery.img
that solved my suffering within 5 seconds. thank you for sharing the knowledge

Tiqqy said:
This could be a solution or a workaround:
"Hello i just had a personal experience with my Asus zenfone selfie Z00T Stock recovery kept replacing TWRP. (Boot loader already unlocked)
This is how i got around it i downloaded the latest TWRP for my device and placed directly in minimal adb and fastboot app folder then i renamed it to recovery .
then i put my device in fastboot mode using the buttons on the phone and After i ran minimal adb and fastboot app as admin then i typed fastboot flash recovery recovery.img
once done i then i typed fastboot boot recovery.img. and my phone booted to twrp recovery then i selected reboot recovery directly on my phone and to finish reboot system (still in twrp) that's it.
(OEM commands to boot from fastboot to recovery do not work on some devices )
it only worked for me eventually because i downloaded the latest TWRP from the official TWRP website.
The idea is to flash the custom recovery and then booting from the custom recovery.img that you just used to flash (the one still on the pc) using minimal adb and fastboot app.
IT may not work on all devices as the commands may change from one device to another but the idea stays the same. (example for nexus fastboot -c "lge.kcal=0|0|0|x" boot recovery.img)
I hope this will help some people out."
Click to expand...
Click to collapse
I had the same issue on Poco F1 and this worked for me as well! Pleasant surprise. First result on google was this article and it worked, 2 minutes work.

Lamantin001 said:
I had the same issue on Poco F1 and this worked for me as well! Pleasant surprise. First result on google was this article and it worked, 2 minutes work.
Click to expand...
Click to collapse
Okay, I was a bit too early with that. The next time I turned off the phone and tried booting to recovery (Vol up+pwr), I got booted into factory recovery (mi-recovery 3.0) :/

Lamantin001 said:
Okay, I was a bit too early with that. The next time I turned off the phone and tried booting to recovery (Vol up+pwr), I got booted into factory recovery (mi-recovery 3.0) :/
Click to expand...
Click to collapse
Update:
I found the solution. I followed the steps in this article:
How can I keep MIUI from overwrite TWRP with stock recovery after a ROM flash?
I'm on fw Global 9.6.6.0. (Bought the phone 'bogus' unlocked with "fake" 9.6.4.0, bricked it while trying to restore chinese fw and re-lock bootloader using miflash - I'm not doing that again brought it back to life using the steps from...
forum.xda-developers.com

Asafbzm said:
whenever i try to go into recovery mode, it takes me to the default one even after i flashed twrp. my bootloader is unlocked and i flashed twrp several times. even when i use the command prompt from fastboot mode it still takes me to the default recovery. any ideas to what's wrong?
Click to expand...
Click to collapse
Try this:
when you are in fastboot mode type:
Code:
fastboot boot recovery.img
This command will boot your phone to twrp. Install twrp .zip file (there are 2 options when installing .img or .zip)
after this go to ADB/Sideload - This is in Advanced section
Then swipe to start a sideload. Now on your pc type:
Code:
adb sideload recovery.zip
This worked for me. I hope this works for you too

Related

Flash recovery, stuck on dead android with exclamation mark

Im trying to flash either CWM or TWRP viea fastboot, i download the recovery, re name it to recovery ( recovery.img) place it in my C drive folder and then type fastboot flash recovery C:\recovery.img
however each time when entering recovery from the boot screen it ends with a dead android and an exclamation mark, what next?
Are you booting android before booting recovery
It's easier to put the image in the same location as fastboot so you just type
fastboot flash recovery recovery.img
After classifying I've rebooted into android, then powered off and back to recovery, followed by recovery then the dead android.
That should read after flashing, not classifying.
2Pints said:
That should read after flashing, not classifying.
Click to expand...
Click to collapse
Your on 5.0.1? I had the problem too what worked for me and I can't tell you why was to boot into twrp, flash supersu and then boot back into the bootloader and flash twrp
Fastboot boot twrp.img
Flash supersu, then
fastboot flash recovery twrp.img
Sent from my Nexus 5 using XDA Free mobile app
I cant get to the TWRP bit
download twrp rename it to recovery
fastboot flash recovery C:\recovery.img
fastboot reboot
boot into bootloader, select recovery, phone reboots ( google splash screen) then dead android.
2Pints said:
I cant get to the TWRP bit
download twrp rename it to recovery
fastboot flash recovery C:\recovery.img
fastboot reboot
boot into bootloader, select recovery, phone reboots ( google splash screen) then dead android.
Click to expand...
Click to collapse
Try opening a cmd window in the folder with your image and flashing, ( shift+right click) and boot straight into recovery, without restarting...
2Pints said:
I cant get to the TWRP bit
download twrp rename it to recovery
fastboot flash recovery C:\recovery.img
fastboot reboot
boot into bootloader, select recovery, phone reboots ( google splash screen) then dead android.
Click to expand...
Click to collapse
Are you actually reading what we're posting? The post above yours tells you what to do so follow that and it should work
Its because of the install recovery shell script replacing recovery on first boot of android. You'll want to remove those scripts
Basically dont do "fastboot reboot". Just boot from bootloader directly into recovery, then using TWRP file manager, delete the scripts.
/system/recovery.init.boot.p
/system/bin/install-recovery.sh
rootSU said:
Its because of the install recovery shell script replacing recovery on first boot of android. You'll want to remove those scripts
Basically dont do "fastboot reboot". Just boot from bootloader directly into recovery, then using TWRP file manager, delete the scripts.
/system/recovery.init.boot.p
/system/bin/install-recovery.sh
Click to expand...
Click to collapse
Exactly. Gosh, how hard can this be.
People don't read - if they did, they would know.
Android has been using this for a while now, to ensure stock recovery stays there.
a maguro wrote this.

TWRP install dont work

Hi guys.
I unlocked my bootloader, and installed the Global Beta Rom via TWRP.
Now, that I am finishing that, TWRP is not installed anymore. And I can't install it.
When I boot into fastboot, and install TWRP like usual, everything is ok. No error appears. But when I want to boot into TWRP via key-combination, nothing happens. When I boot MiUi again, then reboot and try to boot into TWRP again, the Mi-Recoverymenue appears. But not TWRP. Can anyone help here?
After ROM package installed, boot and setup everythings you need, reboot to fastboot mode.
You must install TWRP again, then boot to TWRP by using command, same as the first time you install TWRP. Full commands:
1. fastboot devices.
2. fastboot flash recovery twrp.img
3. fastboot boot twrp.img
DungHD said:
After ROM package installed, boot and setup everythings you need, reboot to fastboot mode.
You must install TWRP again, then boot to TWRP by using command, same as the first time you install TWRP. Full commands:
1. fastboot devices.
2. fastboot flash recovery twrp.img
3. fastboot boot twrp.img
Click to expand...
Click to collapse
Done that.
Device reboot, screen turns black. Then device reboot again, and MIUI will start.
After you install TWRP via fastboot command boot into TWRP via fastboot using the TWRP image on your computer. After TWRP comes up disconnect your phone from your computer, go into the TWRP reboot menu and select reboot into recovery. After you boot back into TWRP it should stick until you flash another ROM zip.
Same issue here.....please have a look at attached picture to see what I have done.
Even after a couple of minutes the screen remains black after trying to boot into TWRP.img with "fastboot boot twrp.img"
Is this a wrong command?
OK with rebooting the system is replacing TWRP, mens I need to go directly into TWRP without rebooting OS., but neither the command above nor ´"fastboot reboot" and simultaniously holding Vol+ and Power ware entering TWRP .....even more
Entering "fastboot reboot" afterwards, device is rebooting normally.
Would be great to explain how I can successfully get TWRP run.
Thx a lot!!
MIUI overwrites the recovery with each boot.
You'll have to get root access and adjust s few files (there is a guide somewhere here on xda) to get it to stay
flyingjack said:
Same issue here.....please have a look at attached picture to see what I have done.
Even after a couple of minutes the screen remains black after trying to boot into TWRP.img with "fastboot boot twrp.img"
Is this a wrong command?
OK with rebooting the system is replacing TWRP, mens I need to go directly into TWRP without rebooting OS., but neither the command above nor ´"fastboot reboot" and simultaniously holding Vol+ and Power ware entering TWRP .....even more
Entering "fastboot reboot" afterwards, device is rebooting normally.
Would be great to explain how I can successfully get TWRP run.
Thx a lot!!
Click to expand...
Click to collapse
Did you download wrong .img file for polaris?
All versions has capacity more than 46 MB. Latest version is 46788 KB.
DungHD said:
Did you download wrong .img file for polaris?
All versions has capacity more than 46 MB. Latest version is 46788 KB.
Click to expand...
Click to collapse
THx mate! actually I downloaded the wrong file. With the correct one evreythink is working fine!!!

Cannot boot into TWRP after flashing it

I have unlocked bootloader.
I enabled adb debugging from developer settings.
1. adb reboot bootloader
2. fastboot flash recovery twrp.img (tried all of those: peter's, from twrp website, from link on lineageos official thread)
Up to this point everything works fine
3A. fastboot reboot then hold PWR+VOL_UP
3B. Hold PWR+VOL_UP
And at this step I am seeing fastboot logo plus "Unlocked" label at bottom (while in regular fastboot I don't see Unlocked label)
My best guess that something went wrong while booting into twrp, and it fallbacks to fastboot. However I have no clue how to check what's wrong, where to check any logs etc.
Any help appreciated
My advice would be to flash recovery again and manually reboot into recovery and not using fastboot reboot
If this doesnt work flash rom again via bootloader....Then flash recovery....Do Not use fastboot reboot....
Manually holding buttons go into recovery

not going into system after flashing twrp via fastboot

this is not troll, i just forgot command, but i understand where is problem, i just need help in issuing command, and also keeping TWRP after booting in system
okay, this is not usuall getting stuck in twrp after flashing it via fastboot.
i just need help how to boot , system
because way i installed it, is via fastboot:
' fastboot flash recovery twrp.img '
done good
but i mistakenly followed tutorial , and executed what they said should be okay (i mean it is okay, to boot it into recovery, but my phone manufacturer is stupid and don't include proper fastboot)
so i typed command
' fastboot boot recovery '
which it booted into recovery, and when i reboot into 'system' from twrp it boots into system. i had same issue, but i forgot command how to do this (and link to that solution also)
i just know that, last command, my phone misinterpret it , to boot recovery as boot way. instead of kernel, boot.img
------------------------------------------
because we have beautifull documentation on fastbood issued by google, i don't know how to make it boot system, i mean, boot.img
and, i want it to keep twrp installed, suprisingly, when i go power + volume up , sometimes it brings stock recovery and sometimes twrp.
for now, help me how to issue command, to boot kernel and not recovery
- and phone is: Allview Viva H801 , android 5.0
yea, some no name, that's why i'm asking for help
---------------
EDIT:
i think i managed to permamently flash TWRP, which was purpose, because now I can, use power on + volume up , and it always brings up TWRP (yay)
but now, i don't know how i can access bootloader (fastboot) , if i need to issue commands you instruct me to issue. i can use only twrp
kraken-gz said:
this is not troll, i just forgot command, but i understand where is problem, i just need help in issuing command, and also keeping TWRP after booting in system
okay, this is not usuall getting stuck in twrp after flashing it via fastboot.
i just need help how to boot , system
because way i installed it, is via fastboot:
' fastboot flash recovery twrp.img '
done good
but i mistakenly followed tutorial , and executed what they said should be okay (i mean it is okay, to boot it into recovery, but my phone manufacturer is stupid and don't include proper fastboot)
so i typed command
' fastboot boot recovery '
which it booted into recovery, and when i reboot into 'system' from twrp it boots into system. i had same issue, but i forgot command how to do this (and link to that solution also)
i just know that, last command, my phone misinterpret it , to boot recovery as boot way. instead of kernel, boot.img
------------------------------------------
because we have beautifull documentation on fastbood issued by google, i don't know how to make it boot system, i mean, boot.img
and, i want it to keep twrp installed, suprisingly, when i go power + volume up , sometimes it brings stock recovery and sometimes twrp.
for now, help me how to issue command, to boot kernel and not recovery
- and phone is: Allview Viva H801 , android 5.0
yea, some no name, that's why i'm asking for help
---------------
EDIT:
i think i managed to permamently flash TWRP, which was purpose, because now I can, use power on + volume up , and it always brings up TWRP (yay)
but now, i don't know how i can access bootloader (fastboot) , if i need to issue commands you instruct me to issue. i can use only twrp
Click to expand...
Click to collapse
Connect to adb while booted into TWRP and type the command:
adb reboot bootloader
That "should" boot into fastboot
For future reference, when flashing TWRP via fastboot, immediately after you flash the TWRP.img, enter the command:
adb reboot recovery
That should boot straight into TWRP and keep TWRP. If you let the device boot into any other mode than recovery, it will revert back to stock recovery, you have to boot directly into TWRP immediately after flashing it in order to keep TWRP.

[CLOSED] i can't get out of twrp

kk
kraken-gz said:
i managed to flash twrp via fastboot, with command:
fastboot flash recovery recovery.img
and then i applied:
fastboot boot recovery
and it booted into twrp (yay), but when i try to reboot it into system (or poweroff, and on), it boots into twrp. succesfully managed to replace stock recovery, but now i cant go into system. i got backup of system, but i don't know how to boot into system now.
phone is Allview Viva H801
I don't know how i can get into fastboot now via twrp. Is there way to communicate with twrp via PC. because twrp terminal , closes keyboard when i press key 'b', which makes it impossible to type any command (to get into fastboot )
can i fix this via twrp as i cant go into bootloader
Click to expand...
Click to collapse
TWRP don't have reboot bootloader option!?
Re-flash Stock ROM.
Thread closed as OP removed the content from the opening post.

Categories

Resources