[Q] Recovery Mode - Nexus 4 Q&A, Help & Troubleshooting

I get stucked showing an android laying on its back with the triangle thing on its tummy.
I have to randomly press my hardware buttons to get to CWM
is there anyway I can fix this that when I choose recovery mode it will go directly CWM?

That is the stock recovery. Not clockwork recovery.
I'm guessing you used the command "fastboot boot" instead of "fastboot flash" when trying to flash recovery.
Sent from my Nexus 7 using Tapatalk HD

El Daddy said:
That is the stock recovery. Not clockwork recovery.
I'm guessing you used the command "fastboot boot" instead of "fastboot flash" when trying to flash recovery.
Sent from my Nexus 7 using Tapatalk HD
Click to expand...
Click to collapse
I was able to flash the CWM already tho.
I'll just reflash the CWM.

This could be your problem too.
From efrant's N4 101 guide:
" I just flashed CWM, but every time I try to boot into CWM, I keep seeing the stock recovery. Why?
If you updated your Android build using an OTA update file (either manually or over-the-air), the update placed two files on your device that re-flash the stock recovery every time you reboot your device. These two files are:
/system/etc/install-recovery.sh <== this is the script that installs the patch file
/system/recovery-from-boot.p <== this is the patch
You have to rename (or delete) one or both of them, then re-flash your custom recovery. Now it will stick."
Sent from my Nexus 4 using xda premium

reflashed CWM. its still not sticking.
El Daddy said:
This could be your problem too.
From efrant's N4 101 guide:
" I just flashed CWM, but every time I try to boot into CWM, I keep seeing the stock recovery. Why?
If you updated your Android build using an OTA update file (either manually or over-the-air), the update placed two files on your device that re-flash the stock recovery every time you reboot your device. These two files are:
/system/etc/install-recovery.sh <== this is the script that installs the patch file
/system/recovery-from-boot.p <== this is the patch
You have to rename (or delete) one or both of them, then re-flash your custom recovery. Now it will stick."
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
okay I'll try this. but a got a quick question if I rename both of them (install-recovery.bak & recovery-from-boot.bak) will this possibly brick my device? or nothing major will be affected?

It won't brick your device.
Sent from my Nexus 4 using xda premium

El Daddy said:
It won't brick your device.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
thanks man. got it working. it doesn't show the stock recovery anymore. (renamed both files).

Related

HELP : No Recovery

Hi
I am on stock 4.1.2 unlocked and rooted and I was on TWRP recovery then I changed to CWM 6.0.1.0 because there are some problems in it an yesterday I flash the new TWRP 2.3.1.0 with goo manager and rebooted to TWRP and I did a backup of the rom and rebooted the tablet and I trasfer the paranoidandroid rom to my SD card and open the goo manager and select reboot recovery , it didn't reboot to recovery i I don't know why I did it a couple of times the tablet just rebooted normally like there are no recovery and I go to flash the CWM 6.0.1.0 and it is the same the phone rebooted normally it didn't rebooted to recovery
Somebody help me please
Sent from my Nexus 7 using xda app-developers app
Anybody
Sent from my Nexus 7 using xda app-developers app
You should be able to use fastboot to flash a recovery img or use a toolkit.
Sent from my Nexus 7 using Tapatalk 2
leelaa said:
You should be able to use fastboot to flash a recovery img or use a toolkit.
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
I did but it is the same it is reboot normally
Sent from my Nexus 7 using xda app-developers app
sharjackmission said:
I did but it is the same it is reboot normally
Click to expand...
Click to collapse
Did you remember to change the recovery-from-boot.p file after you did the 4.1.2 update?
iElvis said:
Did you remember to change the recovery-from-boot.p file after you did the 4.1.2 update?
Click to expand...
Click to collapse
Yes after I update to 4.1.2 OTA those problems came
And now I managed to reboot to CWM by wug's toolkit but I can't enter to recovery from the bootloader
Sent from my Nexus 7 using xda app-developers app
sharjackmission said:
Yes after I update to 4.1.2 OTA those problems came
And now I managed to reboot to CWM by wug's toolkit but I can't enter to recovery from the bootloader
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
This is a problem many Nexus 7 owners are experiencing since the 4.1.2 update, whether by OTA or flashed from sd card. There apparently is an issue with the bootloader (version 3.43). One solution that I have seen on t his forum and on another is to flash the last version of bootloader (3.31 I think). I have tried every conceivable method to get into either stock recovery or custom recovery to no avail...flash, 2 different toolkits, ROM Manager, TWRP...you name it, I've tried it to no avail. I have not tried to flash back to the old bootloader though...just doesn't sound like a good idea...although I have not heard of problems being encountered by those who have flashed the old bootloader...yet. There are a couple thread in this sub forum on the subject if you want to read the 100 different ways users have tried to get a recovery.
jpcalhoun said:
This is a problem many Nexus 7 owners are experiencing since the 4.1.2 update, whether by OTA or flashed from sd card. There apparently is an issue with the bootloader (version 3.43). One solution that I have seen on t his forum and on another is to flash the last version of bootloader (3.31 I think). I have tried every conceivable method to get into either stock recovery or custom recovery to no avail...flash, 2 different toolkits, ROM Manager, TWRP...you name it, I've tried it to no avail. I have not tried to flash back to the old bootloader though...just doesn't sound like a good idea...although I have not heard of problems being encountered by those who have flashed the old bootloader...yet. There are a couple thread in this sub forum on the subject if you want to read the 100 different ways users have tried to get a recovery.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?p=32918876
I found this and I didn't tried it because it may not work see for your self
I just wondering when the android 4.2 will be released to solve all those problems
Sent from my Nexus 7 using xda app-developers app
I think my bootloader is 3.41 and I have no issues but I flashed the factory image from Google because my touchscreen didn't respond after the 4.1.2 OTA.
Try flash the bootloader and see if it works and if not then flash the factory image.
Just note that if you use the script/batch file to flash it all automagically it will wipe your SD so flash each image separately and don't flash userdata.img
flashing factory fixes any software problem, its the best thing about owning a nexus.
Sent from my Nexus 7 using xda premium
found it
if you are on the latest bootloader vesion
reboot to booloader
fastboot erase cache
fastboot flash recovery nameofrecovery.img
fastboot erase cache
fastboot reboot
thank you all

[Q] Booting into recovery shows "no command"

Hi there,
yesterday succesfully rooted my device using the insecure boot image.
Today booted and also flashed the new CWM recovery image but now, when booting into recovery only get an android logo and the text "no command" ?
Any ideas ? Flashed back to original recovery image but no change either ?
Root remains though and working fine.
Thanks
CMW can't be flashed yet... read the official CMW thread in the N4 Original Development forum for help
Sent from my Nexus 7 using xda app-developers app
n7of9 said:
CMW can't be flashed yet... read the official CMW thread in the N4 Original Development forum for help
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Not true read here again :
UPDATE: There is an official ClockworkMod recovery for Nexus 4 now available directly by Koush, so this should all be easy as pie now and you can now safely install CWM too. I am updating the CWM method with the updated instructions.
Click to expand...
Click to collapse
has anyone reported it working?
Sent from my Nexus 7 using xda app-developers app
It seems tonight clockwork will release a new version with bugfixes which should make recovery working when flashed also.
Sent from my Nexus 4 using xda app-developers app
New clockworkmod recovery 6.0.1.8 had been released and I can confirm myself that it is working perfectly and stays when flashed !
You can download it here and follow the instructions as written here.
Good luck !
excellent, i was waiting for someone to confirm before flashing it myself
(looks like this thread is just a party for the two of us, wooohooo, let's find the hidden alcohol)
n7of9 said:
excellent, i was waiting for someone to confirm before flashing it myself
(looks like this thread is just a party for the two of us, wooohooo, let's find the hidden alcohol)
Click to expand...
Click to collapse
Meanwhile a newer 6.0.1.9 is released as well, which will hopefully also fix the backup being in the wrong location and not usable
CWM is fixed. Read this thread: http://forum.xda-developers.com/showthread.php?t=1995440
6.0.1.9 is the one i flashed and I'm still looking for my backup :s
n7'd from my n7
Disregard this post! It was meant for LBE which is a Virus or acts like one (Newest version that was translated)
I'm having the "no command" message as well. I've flashed CWM 6.0.2.3 no-touch (following this guide), and it doesn't seem to be sticking. It'll work the first time, but then revert to the "no command" screen. I've also tried flashing the stock recovery, and then I receive the same message. I have an unlocked bootloader, and I managed root via the same guide. Anybody have any ideas?
k3nav7 said:
I'm having the "no command" message as well. I've flashed CWM 6.0.2.3 no-touch (following this guide), and it doesn't seem to be sticking. It'll work the first time, but then revert to the "no command" screen. I've also tried flashing the stock recovery, and then I receive the same message. I have an unlocked bootloader, and I managed root via the same guide. Anybody have any ideas?
Click to expand...
Click to collapse
From efrants android 101 sticky:
I just flashed CWM, but every time I try to boot into CWM, I keep seeing the stock recovery. Why?
If you updated your Android build using an OTA update file (either manually or over-the-air), the update placed two files on your device that re-flash the stock recovery every time you reboot your device. These two files are:
/system/etc/install-recovery.sh <== this is the script that installs the patch file
/system/recovery-from-boot.p <== this is the patch
You have to rename (or delete) one or both of them, then re-flash your custom recovery. Now it will stick.
Sent from my Nexus 7 using Tapatalk HD
El Daddy said:
From efrants android 101 sticky:
I just flashed CWM, but every time I try to boot into CWM, I keep seeing the stock recovery. Why?
If you updated your Android build using an OTA update file (either manually or over-the-air), the update placed two files on your device that re-flash the stock recovery every time you reboot your device. These two files are:
/system/etc/install-recovery.sh <== this is the script that installs the patch file
/system/recovery-from-boot.p <== this is the patch
You have to rename (or delete) one or both of them, then re-flash your custom recovery. Now it will stick.
Sent from my Nexus 7 using Tapatalk HD
Click to expand...
Click to collapse
Perfect! Thank you! I had just previously downloaded 4.2.1, and so renaming recovery-from-boot.p did the trick. I had to remount my /system as read/write (used Total Commander, and it worked like a charm.
k3nav7 said:
Perfect! Thank you! I had just previously downloaded 4.2.1, and so renaming recovery-from-boot.p did the trick. I had to remount my /system as read/write (used Total Commander, and it worked like a charm.
Click to expand...
Click to collapse
No problem! Glad to help!
Sent from my Nexus 7 using Tapatalk HD
No Command recovery problem
Hello im using a Canvas Magnus A117 its an amazing phone i rooted it but wanted to install chainfire 3D on it but it didnt work and now my phone is bricked. I tried flashing a custom rom but in recovery when i click on apply update from sdcard it says No command. with a dead android and a red triangle with !. So i cant use any feature in the Recovery mode and my phone is bricked. What do i do?

[Q] Issue with Clockwork mod recovery after JOP40D update

I recently updated to android 4.2.1 and ever since then I cannot boot into recovery using CWM. When I try to do it, a picture of an android guy and a red triangle with an exclamation point inside appears and after a couple minutes it reboots as normal. Please help! I couldn't find any answers in the forums.
From efrant's nexus 4 101 sticky: http://forum.xda-developers.com/showthread.php?t=2010338
I just flashed CWM, but every time I try to boot into CWM, I keep seeing the stock recovery. Why?
If you updated your Android build using an OTA update file (either manually or over-the-air), the update placed two files on your device that re-flash the stock recovery every time you reboot your device. These two files are:
/system/etc/install-recovery.sh <== this is the script that installs the patch file
/system/recovery-from-boot.p <== this is the patch
You have to rename (or delete) one or both of them, then re-flash your custom recovery. Now it will stick.
Click to expand...
Click to collapse
Couldn't locate
El Daddy said:
From efrant's nexus 4 101 sticky: http://forum.xda-developers.com/showthread.php?t=2010338
Click to expand...
Click to collapse
I could not locate those files on my device. Am I doing something wrong?
gson55 said:
I could not locate those files on my device. Am I doing something wrong?
Click to expand...
Click to collapse
Have you tried flashing cwr with fastboot?
fastboot flash recovery cwr.img
Sent from my Nexus 7 using Tapatalk HD
El Daddy said:
Have you tried flashing cwr with fastboot?
fastboot flash recovery cwr.img
Sent from my Nexus 7 using Tapatalk HD
Click to expand...
Click to collapse
No I have not used fastboot.
What is your ultimate goal here?
Do you want stock with root? Or a custom ROM?
Sent from my Nexus 7 using Tapatalk HD
El Daddy said:
What is your ultimate goal here?
Do you want stock with root? Or a custom ROM?
Sent from my Nexus 7 using Tapatalk HD
Click to expand...
Click to collapse
Originally I had root and was just using my stock ROM but I wanted to flash a custom ROM now.
OK. First you'll need the platform tools located here: http://forum.xda-developers.com/attachment.php?attachmentid=1506153&d=1353717141
If you don't have fastboot drivers installed get them from here: http://forum.xda-developers.com/showthread.php?t=1996051
Once those are set up download the rom and gapps of your choice and put them on your phone.
Then, download CWR from here: http://www.clockworkmod.com/rommanager and put the image in the same directory as fastboot.exe. And rename it something easy to type such as cwr.img
Next, reboot into the bootloader.
Open the command window from the fastboot.exe directory. (hold shift and right click then choose open command window here)
Type "fastboot devices" (no quotes) and make sure it returns the serial number. If it doesn't, the drivers aren't installed correctly.
Next type: fastboot flash recovery cwr.img
Then reboot into recovery and flash your custom rom and gapps per usual.

*.img files and TWRP

I'm currently trying out a few kernels on my Nexus 4.
I'm currently running Franco's kernel but wanted to give Harsh's kernel a go.
Usually the kernels/roms I download are ZIP files, which work fine with TWRP, however, Harsh's kernel is an img file.
I found a previous thread that stated TWRP is compatible with img files & they can be installed fine - however - I only get the option to install a zip file. TWRP doesnt seem to be able to see an img file.
Am I doing something wrong or missing something?
Thanks.
IMG files are installed using fastboot. The command is:
fastboot flash recovery twrp.img
Sent from my Nexus 4 using xda premium
Thought so...
However, this thread does kinda makes out that flashing an .img through TWRP is possible.
http://forum.xda-developers.com/showthread.php?t=2033052
(different phone, i know - but I thought TWRP worked the same regardless of platform)
El Daddy said:
IMG files are installed using fastboot. The command is:
fastboot flash recovery twrp.img
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
For kernels it's fastboot flash boot boot.img
cmberry20 said:
Thought so...
However, this thread does kinda makes out that flashing an .img through TWRP is possible.
http://forum.xda-developers.com/showthread.php?t=2033052
(different phone, i know - but I thought TWRP worked the same regardless of platform)
Click to expand...
Click to collapse
That's also an HTC phone.
We do not have the capability to flash .img files in recovery.
Sent from my Nexus 4 using Tapatalk 2
Thanks for the correction. I had just woken up and misread the question.
Sent from my Nexus 4 using xda premium
Thanks for clearing it up.
I do a lot of ROM/kernel flashing away from a PC. So its convenient just to TWRP without the need connect it the phone via USB.
Sent from my Nexus 4 using xda app-developers app
oh I'm an idiot!
Just noticed that theres two download links for the Harsh Kernal. Ones a zip (for flashing in TWRP) & the others a .img.
Didnt notice the first link!! :silly:

Recovery won't flash

I had to do a complete wipe from the computer and flashed clockwork mod recovery. Since it was likely an old version I had the double 0 partition problem which I fixed by manually moving the files. I tried to update the recovery to twrp, but it won't flash using goomanager. It downloads and says it's flashed but it's not there.
I also seem to have a weird problem where I have to push the power button to get it to boot past the Google screen. If I don't push power it gets stuck there forever.
Any ideas?
Sent from my Galaxy Nexus using Tapatalk 4
Follow the sticky at the top that says flashing a factory ROM using fastboot/return to stock. Start from scratch, get it working, and then flash whatever you want.
Sent from my Nexus 7(2012) that has zero issues.
SlowCobra96 said:
Follow the sticky at the top that says flashing a factory ROM using fastboot/return to stock. Start from scratch, get it working, and then flash whatever you want.
Sent from my Nexus 7(2012) that has zero issues.
Click to expand...
Click to collapse
That's what I did, that's why I'm stuck on the old recovery.
Sent from my Nexus 7 using Tapatalk 4
T-Keith said:
That's what I did, that's why I'm stuck on the old recovery.
Sent from my Nexus 7 using Tapatalk 4
Click to expand...
Click to collapse
This might be an odd question, but have you tried just updating CWM first, and THEN flashing TWRP? Sometimes the flash won't go smoothly with an older version of one recovery to a newer version of a different recovery- not sure why, but that's just been my experience. I would update CWM first then try flashing TWRP.
Also, if goo is not working for you, you could try Rom Manager to update CWM and then flash TWRP. It can flash either. (If you really want to flash via the device).
Otherwise, (me personally) I'd just use adb fastboot to flash a new recovery.
Hope that helps
Thanks I will try that.
Sent from my Galaxy Nexus using Tapatalk 4
T-Keith said:
Thanks I will try that.
Sent from my Galaxy Nexus using Tapatalk 4
Click to expand...
Click to collapse
No problem. Let us know how it works out for you.
Tried flashing with fastboot, now it won't boot into recovery, just hangs at the Google logo.
Still needs a bump from the power button to get it to boot normally.
Sent from my Galaxy Nexus using Tapatalk 4
T-Keith said:
Tried flashing with fastboot, now it won't boot into recovery, just hangs at the Google logo.
Still needs a bump from the power button to get it to boot normally.
Sent from my Galaxy Nexus using Tapatalk 4
Click to expand...
Click to collapse
Ahh, that sucks! How are you *attempting to* access recovery... via reboot menu, via adb, or via 3-button press? It shouldn't matter, but you could try all three methods to see if any way will give you recovery access. Then, if/when you manage to get in, you could reflash again straight from recovery. I'm going to do some digging to see if I can find a better solution. I KNOW I've read about the same issue before, I know there's a solution... I just have to find it again.
Worse comes to worse, you might have to reflash stock recovery then reflash custom recovery. Might be a corrupt recovery img, but I will check and try some things out and let you know what I find.
Edited to add:
Yes. there was a bug in the older bootloader that bypassed/refused access to recovery... so since you restored stock, you probably need to update your bootloader to at least to version 4.18 (via fastboot). THEN you should be able to access recovery. I can't add links, but I can give you a text link once I find just the IMG file instead of the full firmware. Honestly, I never do backups so I don't have the file on hand. However, I may do one backup at least so I can extract my boot img and give it to you.
OK, so I found the info I was looking for.
From Elsewhere:
Steps:
Install latest nexus 7 bootloader.
This fixes the boot loader bug and now you can enter recovery from the bootloader screen.
Update the bootloader to at least 3.18. Make sure NOT TO DELETE THE BOOTLOADER!!!!!!!!!!!!!
I cannot emphasize this enough!!!!!!!!!!! I bricked my first one this way.
Use
fastboot flash bootloader C:\>>>>>>\bootloader-grouper-3.18.IMG***
Click to expand...
Click to collapse
Do NOT erase bootloader before you flash the new one. And after you have flashed the new one type;
fastboot reboot bootloader
Click to expand...
Click to collapse
and check the bootloader version to make sure you succeeded.
Click to expand...
Click to collapse
***Or whatever you name the boot img file!***
https://dl.dropboxusercontent.com/u/19608328/boot.img.zip --> This is from MY Nexus 7. It's Bootloader version 4.23, and works with JB 4.2.2- it does NOT have the recovery access bug.
https://dl.dropboxusercontent.com/u/19608328/recovery.img.zip --> This is a copy of MY CWM, which I just updated to 6.0.3.6 yesterday.
I'd flash the bootloader, then flash your recovery of choice. Not being able to access recovery is a bootloader issue, not a recovery issue. The fact that you restored/reverted an older full firmware put you on an older bootloader that would not allow users to access recovery.
Try the new(er) bootloader, it should work. My device is a 16gb grouper Nexus 7 running 4.2.2. Before that, it ran 4.1.2 without any issues, so it should work to resolve the problem you're having.

Categories

Resources