[Q] Can't flash recovery / no recovery - Nexus 5 Q&A, Help & Troubleshooting

Hi,
So I flashed twrp using adb, and now when I try to boot into recovery mode it says: "No command."
I'm on stock 5.1 Lollipop N5 with unlocked bootloader.
How do I get twrp or some kind of recovery back on my phone?

Re-download the twrp recovery image. Then boot into the bootloader and:
fastboot flash recovery twrp.img. Where twrp.img is the name of the twrp image file you downloaded.
On 5.1 I've had to boot into twrp, flash supersu, then flash twrp
fastboot boot twrp.img
Flash supersu in twrp, then,
fastboot flash recovery twrp.img
Sent from my Nexus 5 using XDA Free mobile app

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.

Can't flash or boot a recovery

I recently tried to install multirom but it kinda messed up, Now I can't either do fastboot boot recovery.img or fastboot flash recovery.img cause none of them works. I also tried to recover stock firmware but it didn't help. any help is appreciated.
I can boot into stock recovery via fastboot boot recovery.img but cannot boot a twrp or cwm.

TWRP - No command

Hi can someone help me
I fastboot installed twrp when I try to reboot to recovery I get a no command and tried the power and volume up but takes to me to stock recovery.
I flashed elemental kernel after install does that wipe twrp or something?
Using Magisk as well
did you do fastboot boot twrp.img and then flash the zip in twrp or did you just try to flash the image file using fastboot flash recovery twrp.zip?
r29 said:
Hi can someone help me
I fastboot installed twrp when I try to reboot to recovery I get a no command and tried the power and volume up but takes to me to stock recovery.
I flashed elemental kernel after install does that wipe twrp or something?
Click to expand...
Click to collapse
You need to fastboot boot twrp image, install twrp-pixel-installer-sailfish-3.0.2-0-RC1, reboot recovery, if you want root, then install SuperSU, reboot.
Tulsadiver said:
You need to fastboot boot twrp image, install twrp-pixel-installer-sailfish-3.0.2-0-RC1, reboot recovery, if you want root, then install SuperSU, reboot.
Click to expand...
Click to collapse
exad said:
did you do fastboot boot twrp.img and then flash the zip in twrp or did you just try to flash the image file using fastboot flash recovery twrp.zip?
Click to expand...
Click to collapse
Thanks for the help problem solved
I was reboot system after fastboot boot twrp.img and installing zip so it didnt give me the option to allow modification

Recovery installation

Just simple guide for twrp recovery installation
Instead of using fastboot boot recovery.img use fastboot flash recovery recovery.img it will permanently write recovery in to your phone!

Need help stuck at fastboot

I recently installed twrp 3.2.1-0 and "succesfully" install superSU 2.82
BUT i got stuck in fastboot mode,i can still load in twrp recovery using
fastboot flash boot twrp.img
I also tried flashboot flash boot boot.img (stock boot of nokia 3)
Any suggest,i can still load in normal recovery and also twrp

Categories

Resources