"No command." error after flashing Recovery TWRP - Nexus 5 Q&A, Help & Troubleshooting

I am having some issues trying to flash Recovery (TWRP). When ever I try to boot to Recovery after flashing it, it says "No command." even after I did everything correctly.
My Nexus 5s bootloader is unlocked and I am currently running Marshmallow 6.0.1 if that matters.

CableStone said:
I am having some issues trying to flash Recovery (TWRP). When ever I try to boot to Recovery after flashing it, it says "No command." even after I did everything correctly.
My Nexus 5s bootloader is unlocked and I am currently running Marshmallow 6.0.1 if that matters.
Click to expand...
Click to collapse
What do u mean it says no command, do u mean u still end up in stock recovery, the one with the android and triangle? If that's what's happening then u aren't flashing twrp correctly, or ur not booting strait to recovery after flashing it, how are u flashing it, via command line? If so do this:
fastboot flash recovery "recovery name here".zip
fastboot reboot recovery
That should fix your issue, if u don't boot straight to recovery after u flash it, or if u use something like flashify, when the device reboots it overwrites recovery with the stock recovery, which is what ur seeing
Sent from my XT1526 using Tapatalk

CableStone said:
I am having some issues trying to flash Recovery (TWRP). When ever I try to boot to Recovery after flashing it, it says "No command." even after I did everything correctly.
My Nexus 5s bootloader is unlocked and I am currently running Marshmallow 6.0.1 if that matters.
Click to expand...
Click to collapse
And after flashing the custom recovery again, do not unplug the USB cable or let the device boot. After flashing the recovery, the display should go back to the bootloader, use the volume rocker to highlight recovery, press the power to get into recovery. This will make sure that you flashed right this time. The TWRP logo should be display if everything goes right.

Recovery is flashed with the fastboot command "fastboot flash recovery name-of-file.img".

soupysoup said:
What do u mean it says no command, do u mean u still end up in stock recovery, the one with the android and triangle? If that's what's happening then u aren't flashing twrp correctly, or ur not booting strait to recovery after flashing it, how are u flashing it, via command line? If so do this:
fastboot flash recovery "recovery name here".zip
fastboot reboot recovery
That should fix your issue, if u don't boot straight to recovery after u flash it, or if u use something like flashify, when the device reboots it overwrites recovery with the stock recovery, which is what ur seeing
Sent from my XT1526 using Tapatalk
Click to expand...
Click to collapse
Yeah, sorry for missing that.. And do you need a rooted device in order to flash a TWRP?

Root is not required to flash a custom recovery or a custom rom.

soupysoup said:
fastboot flash recovery "recovery name here".zip
fastboot reboot recovery
That should fix your issue, if u don't boot straight to recovery after u flash it, or if u use something like flashify, when the device reboots it overwrites recovery with the stock recovery, which is what ur seeing
Click to expand...
Click to collapse
It seems to me that this is only required with TWRP 3.0.0 while 2.8.7.1 will happily survive a normal system boot. I've tried right now, just one phone, back to back tests, no other changes.
How come the phone overwrites 3.0.0 with stock but leaves 2.8.7.1 untouched? This is weird.
Am I missing something, perhaps?

Related

[Q] [i9023] Blank/Black screen in recovery

Hey everyone,
Basically I was trying to flash a new ROM onto an old Nexus S of mine and when I tried to boot into recovery there was just a black screen. I pressed the power button and a single line saying "Clockwork mod Recovery" and the version number popped up. I assumed that the recovery must've been corrupted so I erased it and installed the latest version using fastboot which seemed to work fine.
Now whenever I try to boot into recovery I just get a blank screen with nothing else. I've tried using other recovery images such as twrp but the same problem happened, I just get the background wallpaper/image and nothing else.
I searched the forums and apparently people were having this issue earlier on when the i9023 was first released but now most custom recoveries are supposed to work with both i9020 and i9023.
Also the touch buttons light up and vibrate whenever I touch them when I'm in recovery mode.
Any help to this problem would be greatly appreciated as atm I have an old ROM which is buggy as hell and I need to get rid of it.
Cheers!
I had the same Issue. If you can boot into the rom, you can try to download the rommanager-app and install the recovery from there.
Hey I tried that already that and instead of booting into recovery it just went into the bootloader and said "No Recovery or Bootloader found".
Any other ideas?
Did you clicked the first point in rommanager? Install recovery, or you only hit the second button reboot into recovery?
Sent from my Full Android on Crespo using XDA App
Hey
I have the i9023 and I install rom manager. install CWM and if I reboot into recovery it works and I get in to CWM recovery.. but after reboot into os.. if I go into Rom manager and reboot to recovery it dont work? I just get the android figur and a "!".. then I just can Power + vol up and I'm in bootloader recovery..
Do I have to install CWM every time i want to use it? and can't I access CWM on boot op ?
sorry for my bad English
Normaly you have to flash the recovery only once.
Try to flash the newer clockwork-recovery with fastboot.
http://forum.xda-developers.com/showthread.php?t=988686
Alfiedk: You need to get rid of this file:
/system/etc/install-recovery.sh
As it re-installs the stock recovery every boot.
I think you can download any custom ROM for your phone, and flash it in CWM recovery, this will also solve the problem
Edit: Did you unlock the phone? Have you tried fastboot oem unlock?
Sent from my SNES
bedalus said:
Alfiedk: You need to get rid of this file:
/system/etc/install-recovery.sh
As it re-installs the stock recovery every boot.
I think you can download any custom ROM for your phone, and flash it in CWM recovery, this will also solve the problem
Edit: Did you unlock the phone? Have you tried fastboot oem unlock?
Sent from my SNES
Click to expand...
Click to collapse
I havent unlock my phone, but I can get in to bootloader is it then necessary to unlock ?
I try to delete the /install-recovery.sh
Yes you need to unlock your bootloader, if you dont want to reflash it all the time.
Sent from my Full Android on Crespo using XDA App
Xziped said:
Yes you need to unlock your bootloader, if you dont want to reflash it all the time.
Sent from my Full Android on Crespo using XDA App
Click to expand...
Click to collapse
Then it must be unlock as default.. I havent unlock it.. just delete the install install-recovery.sh and it works every time now.
now I just have to find a ROM to try..
Xziped said:
Did you clicked the first point in rommanager? Install recovery, or you only hit the second button reboot into recovery?
Sent from my Full Android on Crespo using XDA App
Click to expand...
Click to collapse
Yes I made sure I selected install clockwork mod. Like I said the problem isn't the same when I do this, instead of a blank screen, when I boot into recovery it goes straight to fastboot and tells me that I don't have a recovery image installed at all...
Simultaneity said:
Yes I made sure I selected install clockwork mod. Like I said the problem isn't the same when I do this, instead of a blank screen, when I boot into recovery it goes straight to fastboot and tells me that I don't have a recovery image installed at all...
Click to expand...
Click to collapse
what happens when you try to temporary boot into the recovery?
instead of "fastboot flash recovery recovery.img", try to "fastboot boot recovery.img"
Just look for an recovery.img that works temporary and then try to flash it permanently.
I'll try it and get back to you Xziped. If anyone else can think of any other ideas please just throw'em at me, I'm willing to try anything!
Yeah no help there either. It does the exact same thing temporarily booting into a recovery that it did when I actually had it installed on the phone :\.
I updated ROM manager to the latest and tried installing CWM with that but to no avail. It still says that there is no recovery installed when I do that.
Simultaneity said:
Yeah no help there either. It does the exact same thing temporarily booting into a recovery that it did when I actually had it installed on the phone :\.
I updated ROM manager to the latest and tried installing CWM with that but to no avail. It still says that there is no recovery installed when I do that.
Click to expand...
Click to collapse
Sorry but if not even the temporary recovery boots up, i dont know what else we can do
did you try some of the older recoverys? is your bootloader unlocked?
I haven't tried an older recovery and my bootloader is unlocked.
could it be a problem with my computer as opposed to the phone itself? As in my computer is messing up when trying to flash the recovery?
I've also noticed now that when I boot into fastboot mode the menu just locks up and doesn't respond to anything. Sometimes I have to pull the battery and other times it'll start responding after randomly pressing the power key a lot of times...
I'll try an older recovery next
Simultaneity said:
I haven't tried an older recovery and my bootloader is unlocked.
could it be a problem with my computer as opposed to the phone itself? As in my computer is messing up when trying to flash the recovery?
I've also noticed now that when I boot into fastboot mode the menu just locks up and doesn't respond to anything. Sometimes I have to pull the battery and other times it'll start responding after randomly pressing the power key a lot of times...
I'll try an older recovery next
Click to expand...
Click to collapse
Use Odin, that might solve your problems. Search for the Nexus S version of Odin in the Dev section here.
khartaras said:
Use Odin, that might solve your problems. Search for the Nexus S version of Odin in the Dev section here.
Click to expand...
Click to collapse
There's a version of Odin for the Nexus S!?!? I'll look into that straight away thanks!
Simultaneity said:
There's a version of Odin for the Nexus S!?!? I'll look into that straight away thanks!
Click to expand...
Click to collapse
Just look @ http://www.samfirmware.com/ .
There you should find all you need
Sent from my Full Android on Crespo using XDA App

Nexus 5 recovery Mode problem

i am using Android L downloaded from google and want to go back on Parandroid but when i switch it to recovery mode...no recovery mode is der ..only recovery screen black screen with android....when i try to download th e twrp app it is saying you dont have root permissions.On the fastboot mode when i do fastboot oem unlock..then it says it already unlocked...:crying:..
:crying::crying::crying: please Guys Help me
Just flash a new recovery by fastboot. Everything should be just fine.
Sent from my Nexus 5 using Tapatalk
Yes, fastboot flash recovery.
However, i'd recommend full return to KK stock first or you may misplace your sdcard data so back that up to computer then return to stock. From there, flash recovery
recovery problem
akash4357 said:
Just flash a new recovery by fastboot. Everything should be just fine.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
in fastboot mode i flashed recovery..
and sill i getting the android open display with red sign whenever i switch to recoverymode....??
and what should be the state of secure boot ??
nayan_sharma said:
in fastboot mode i flashed recovery..
and sill i getting the android open display with red sign whenever i switch to recoverymode....??
and what should be the state of secure boot ??
Click to expand...
Click to collapse
I dont know that the official preview repartioning the device or not and what changes made on the configs because i dont try that.
Maybe you can try everythings from the begining, so flash the latest KitKat factory image and after upgrade your recovery. I think its a faster way if you dont have enough knowledge. No need flash radio etc.
Basically with fastboot flash recovery recovery.img should work after you cleared the recovery partition ( fastboot erase recovery )
If you want testing a recovery how it works without flash just type: fastboot boot recovery.img, after rebooting your phone, your device looks like before with no changes, if it working than you need flash and use it.
fagyi said:
flash the latest KitKat factory image and after upgrade your recovery.
Click to expand...
Click to collapse
Which is what I suggested, but I was ignored.
nayan_sharma said:
and sill i getting the android open display with red sign whenever i switch to recoverymode....??
Click to expand...
Click to collapse
When the image of an Android with a red triangle appears:
While holding down the Power key, tap the Volume Up key.
That should get you back into the custom recovery that you just flashed
PaisanNYC said:
When the image of an Android with a red triangle appears:
While holding down the Power key, tap the Volume Up key.
That should get you back into the custom recovery that you just flashed
Click to expand...
Click to collapse
This screen is part of stock recovery.

Can't flash custom recovery on a XT925

Hi,
My wife just got a new phone and gave up her old XT925 so I thought I would try to put CM or SlimKat on it and let my daughter play around with it. But I'm having trouble putting a custom recovery on it. I've unlocked the bootloader. I've used fastboot to write the recovery image...but when I try to reboot directly into recovery so the binary update can complete, it pauses for a couple of minutes and then reboots the OS normally. If I try entering reovery after that, I end up with the dead android with a red exclamation point in him and "no command" written below.
The phone currently has 4.4.2 and System 181.46.3.XT925.RCI.en.CA. Am I out of luck with this device and stuck on 4.4.2?
Thanks!
What recovery did you try to flash ?
Use this one, it worked for me :
http://forum.xda-developers.com/showthread.php?t=2747535
Thanks. That one worked. I wonder why I had trouble with twrp.
Orionbell37 said:
What recovery did you try to flash ?
Use this one, it worked for me :
http://forum.xda-developers.com/showthread.php?t=2747535
Click to expand...
Click to collapse
pls update the link pls
Pausky said:
pls update the link pls
Click to expand...
Click to collapse
Its because you need to rename the stock recovery to .bak at the end of the file name. The stock recovery is getting in the way of you rebooting to TWRP or what ever custom recovery you are trying to use.
If you cant figure out how to do that or don't know where in system the stock recovery is just hit me up and ill give you the path to the file. After you rename the file just go back into fastboot and reflash the custom recovery and you should be able to reboot into TWRP or what ever custom recovery you want.

No Volume Buttons. Is flashing custom recovery from 12s impossible?

Hey Guys,
I want to flash twrp to my OnePlus One, but CyanogenOS12S won't let me without a hardware boot into recovery mode. My OnePlus' volume buttons do not work, thus i cannot do a hardware boot to recovery mode. When i boot into cyanogenOS and try a software reboot into recovery mode it defaults to Cyanogen's stock recovery. (And yes I have unchecked "update Cyanogen recovery" in developer options)
Is there any way for me to flash and access a custom recovery? I very much hope there is as I would like to have this phone rooted to perform nandroid backups and to attemot to fix the low mic volume issue when im not on speakerphone.
Appreciate any help!
Thanks,
Mrcalebw
easiest way is going to be fastboot flash a new recovery like twrp using fastboot. Just google. As of now you have stock cm recovery installed
Cannot leave the fastboot screen
aeppacher said:
easiest way is going to be fastboot flash a new recovery like twrp using fastboot. Just google. As of now you have stock cm recovery installed
Click to expand...
Click to collapse
Hey!
Thanks for the reply and help. I tried to do this, but once I
fastboot falsh recovery recovery.img' which is successful
then 'flashboot boot recovery.img' The fastboot screen lights up brighter and my oneplus disconnects from adb and my computer and i have to do a hard power off by holding the powerbutton.
And I'm back where i started without a custom recovery to boot into.
mrcalebw said:
Hey Guys,
I want to flash twrp to my OnePlus One, but CyanogenOS12S won't let me without a hardware boot into recovery mode. My OnePlus' volume buttons do not work, thus i cannot do a hardware boot to recovery mode. When i boot into cyanogenOS and try a software reboot into recovery mode it defaults to Cyanogen's stock recovery. (And yes I have unchecked "update Cyanogen recovery" in developer options)
Is there any way for me to flash and access a custom recovery? I very much hope there is as I would like to have this phone rooted to perform nandroid backups and to attemot to fix the low mic volume issue when im not on speakerphone.
Appreciate any help!
Thanks,
Mrcalebw
Click to expand...
Click to collapse
If your phone is rooted. I guess it would be. Then try this steps to reboot it to recovery
No need of pc.
1. Download TWRP manager from the play store
2. Open the app
3. Open menu in the app by touching the left top corner of the app.
4. Touch on the reboot option and then
5. Touch on the reboot to recovery and touch yes.
Sent from OPO using Tapatalk
Press on thanks if I helped you
Currently not root
ashuthosh.heda said:
If your phone is rooted. I guess it would be. Then try this steps to reboot it to recovery
Click to expand...
Click to collapse
Hi,
Thanks for your help. The trouble is that i do not currently have root on my phone.
If its possible to get root, without having to boot into custom recovery that would be fantastic.
I'm beginning to feel like this might be a lost cause.
I'd love any suggestions though!
Is the bootloader of your OPO unlocked??
Sent from OPO using Tapatalk
Currently on Resurrection Remix.
Press on thanks if I helped You
ashuthosh.heda said:
Is the bootloader of your OPO unlocked??
)
Click to expand...
Click to collapse
Yes, the bootllader has been unlocked through use of adb
Then try flashing the supersu zip from the fast boot and try the steps as mentioned above
Sent from OPO using Tapatalk
Currently on Resurrection Remix.
Press on thanks if I helped You
Flash supersu without custom recovery?
ashuthosh.heda said:
Then try flashing the supersu zip from the fast boot
Click to expand...
Click to collapse
And how do i flash supersu zip from fastboot? Without having to temporarily boot into a custom recovery?
As far as I was aware you cant flash supersu unless you have a custom recovery installed, which i cannot install (original post issue)
If theres a command I'd be very grateful!
mrcalebw said:
And how do i flash supersu zip from fastboot? Without having to temporarily boot into a custom recovery?
As far as I was aware you cant flash supersu unless you have a custom recovery installed, which i cannot install (original post issue)
If theres a command I'd be very grateful!
Click to expand...
Click to collapse
Did you tried any oneplus one tools?
You can cannect your phone as adb right? Then try this tool.
http://forum.xda-developers.com/oneplus-one/development/toolbox-oneplus-one-toolbox-t2808987
It may help. It has the option boot to fastboot and boot to recovery.
Sent from OPO using Tapatalk
Currently on Resurrection Remix.
Press on thanks if I helped You
Only boots to custom from full boot
ashuthosh.heda said:
Did you tried any oneplus one tools?
You can cannect your phone as adb right? Then try this tool.
http://forum.xda-developers.com/oneplus-one/development/toolbox-oneplus-one-toolbox-t2808987
It may help. It has the option boot to fastboot and boot to recovery.
Sent from OPO using Tapatalk
Currently on Resurrection Remix.
Press on thanks if I helped You
Click to expand...
Click to collapse
I have tried a couple of toolboxes. The trick there is that adb commands only send once the phone has booted and is on debugging mode. When full boot happens, the cyanogen stock recovery overwrites the custom recovery.

Cant understand whats wrong flashing custom recovery samsung s2 plus

Hey. I dont understand I flash the custom recovery with odin but when i go into recovery I have stock recovery. I have tried twrp and Clockwork. Non works, The flash process is passed and complete. I wait for the phone to reboot and let it start up shut it down. Then go into recovery mode. I have taken out the battery before it starts up and go into recovery straight away but still stock... what is going wrong? I have heard about bootloader But all say its no bootloader on for s2 plus. Any help is appreciated! Thank you. If something is unclear please ask. :good:I have tried 6 custom recovery's non works. but will flash
wackyleaks said:
Hey. I dont understand I flash the custom recovery with odin but when i go into recovery I have stock recovery. I have tried twrp and Clockwork. Non works, The flash process is passed and complete. I wait for the phone to reboot and let it start up shut it down. Then go into recovery mode. I have taken out the battery before it starts up and go into recovery straight away but still stock... what is going wrong? I have heard about bootloader But all say its no bootloader on for s2 plus. Any help is appreciated! Thank you. If something is unclear please ask. :good:I have tried 6 custom recovery's non works. but will flash
Click to expand...
Click to collapse
Your mistake is you are letting it boot into system before you boot into recovery. It doesn't work like that, you obviously haven't carefully and completely read the instructions to install custom recovery via Odin.
You have to flash the recovery and then boot immediately into recovery BEFORE allowing the device to boot into any other mode, otherwise, it reverts back to stock recovery.
Here is the simplest way to do this without screwing it up.
When you flash the recovery in Odin, make sure the "autoreboot" option in Odin is UNCHECKED, then flash the recovery. When it is done flashing, disconnect the device from PC, then, you have two options, either remove the battery then immediately reinsert the battery then boot into recovery using the button combination or disconnect device from PC then power the device off then boot into recovery using the button combination.
Sent from my SM-S767VL using Tapatalk

Categories

Resources