Recovery image would't update/install. - Desire Q&A, Help & Troubleshooting

Hi everyone,
I've done a LOT of reading/searching, but since I can't find sulution decided someone could help.
Just to avoid future questions:
>My Desire is rooted.
>I tried using fastboot (Error: - not allowed)
>I tried using adb (I get an error that /system/bin/sh cannot be found).
>I tried Unreavoked3, but since the phone is rooted, the recovery doesn't isntall.
>I tried ROM Manager. It says the recovery is up to date, but when you boot it, it is stock.
>I'm using original USB cable supplied with the phone.
The only way I get into CWM recovery is flashing update.zip on my sdcard (fakeflash?).
My question are:
1. Why i cant access shell via adb?
2. How should i flash recovery?
Thank You in advance.

So if you turn the phone on whilst holding the volume down button and then select Recovery it doesn't boot into the custom Recovery?

No, it boots into stock recovery.

I just use the Android Flasher Utility (here). Really quick and painless, but you need s-off though.
I'm quite curious, how are you rooted without a custom recovery?

Maybe I don't get it, I bought the phone about a year ago and rooted using unreavoked utility. The recovery I get to gives me 4 options. Text is in blue colour, reboot, apply update.zip and wipe options. What I do, is apply update.zip so i get into CMW recovery.

If you rooted with unrEVOked it flashes CWM. If you've never had that you're not rooted
I'd go back to 100% stock with an RUU suitable for your phone and then root again
EDIT: You weren't rooted and then accepted an OTA update did you?

I think I didn't. So if I:
1. Do a nandroid backup now, I have custom rom installed.
2. Then go back to stock RUU.
3. Root the phone.
Can I do a nandroid restore so I don't have to install everything back again?
EDIT: But I have Superuser app, and if I enter Terminal, type "su" I get root privileges. How can I not be rooted?

Related

Recovery and Flash_Image not working

I rooted my phone and was able to access Clockwork, but since then I have not been able to boot into recovery. I have gone through many troubleshooting steps including trying to use Rom Manager by clockworkmod to flash a new recovery, trying to go through to root process again and trying to use terminal and adb to flash a recovery. When I try flash_image, it says "flash_image: not found". Rom manager won't boot into recovery. My phone sticks at the exclamation screen when I try to manually boot into recovery. I can't use update.zip because that requires that you have the ability to user recovery. I haven't been able to find any other way to flash a recovery mod onto my system. Is there any way that I can just get the files that are supposed to be installed on the phone and the locations they are supposed to go to so I can just flash them one at a time? Or does anyone have another possible solution?
ESPRDIAG.zip
ESPRDIAG.nbh
ESPRIMG.zip
ESPRIMG.nbh
All those files are showing as missing when I start bootloader.
I think you need to re-root your device if not first. If it is rooted whatever rom you have selected to install needs to be in the root directory of your sdcard. Again before you can flash any rom you need to be rooted and have access to clockwork.
I hope that helps if not try this
http://forum.xda-developers.com/showthread.php?t=702973&page=103
Go through the root process again to get back to clockwork to flash a new ROM. Or follow the process to flash the engineering rom, which will save you from having to do all of that to get back in to clockwork recovery each time.
Finally got it to work, but is there any way that I can get it to go into Clockwork every time I boot into recovery without having to flash it again?
Flashing the engineering rom will enable you to leave update.zip on the root of your sdcard and just flash update.zip eachtime you get to recovery to get into clockwork. Or if you have flashed eng build you can start using rom manager to boot into clockwork recovery. Afaik that's the only way to boot into clockwork.
SySfS

Flash "Temporary" CWR, becomes Permanent?

After following Droid-Life.com's guide on unlocking the bootloader, and then rooting the phone, after installing Rom Manager and flashing CWR through the manager, the recovery truly becomes permanent.
This causes problems because if I try to install an OTA update I get the red error because I'm not running stock recovery.
I guess my question is, is there a stock recovery.img that I'm able to flash through fastboot in order to get rid of CWR and get back stock recovery? Thanks!
If you can't follow my train of thought: When I want to root, I need to install SU.zip through CWR
push su.zip thru adb to phone > flash CWR "temporarily" > install su.zip > reboot
But the problem is, the next time I try rebooting to recovery, I get CWR, not stock recovery like I wanted. And that stock-recovery.p file is still on my phone and alive.
http://forum.xda-developers.com/showthread.php?t=1399879
Shortly after posting, I just answered my own question. I downloaded the stock images from Google, found the recovery.img image in there, simply flashed with ADB and worked great. Thanks for your attention

Had root via CF. Ran TWRP custom recovery. Unsuccessful. Can't root at all now.

Not sure what has happened. Rooted with Odin3.7/CF. Everything running great. Titanium Pro installed. Knox frozen.
Wanted to install CM ROM. Ran TWRP app to set custom recovery. Said nothing found. Ran install of latest image. Install unsuccessful. Only option after that was to reboot into download mode and reflash from the xda forum files linked above. Now it seems to be stuck as unrooted and I can't get SU/root back.
Is this thing trying to flash itself now? Anyone have a custom recovery image and settings to use with Odin? Or is this something else? Sorry for the n00b problems/questions. :'( Any help is greatly appreciated. I'm trying to get this set up for a friend, and obviously, Android/Linux is not my specialty.
Also:
Tried flashing to this and then tried running the CF-Root again. No root. No glory.
Not sure what else to do at this point. I had root before and then CM instructed to run a custom recovery before installing the ROM. So I tried that with TWRP and failed. Now it seems like it is unable to flash the CF-Root. It goes through the process then says restoring stock recovery before rebooting.
If anyone has any advice, that would be great. I'm sure it is something stupid, simple, and outside the scope of my knowledge. Thanks.
Also:
I booted into recovery mode after the TWRP failed. No custom recoveries were listed.
Originally, I tried this and rooting failed. I still ran the custom recovery with that package. Then I ran the files linked in the first paragraph above and got root. Those instructions never mentioned running a recovery after flashing to root. Is this where things got messed-up? Should I have run a recovery after that? Or was the recovery from the first attempt at getting root still on the partition? I'm so confused.
Did you manage to root it? What device is it?
Flash back to stock and start fresh
Sent from my SCH-R530U using Tapatalk

Installing Stock Recovery

I do not have access to any PC, whether its windows, Linux or mac. All I have is my chromebook. With that said, is there any way to install the stock recovery back to my nexus device without the use of a pc? I currently have TWRP installed, but just got prompted to update to 6.0, and would like to install it. Any suggestions?
timrock said:
I do not have access to any PC, whether its windows, Linux or mac. All I have is my chromebook. With that said, is there any way to install the stock recovery back to my nexus device without the use of a pc? I currently have TWRP installed, but just got prompted to update to 6.0, and would like to install it. Any suggestions?
Click to expand...
Click to collapse
You'll need a copy of the stock recovery image, which you should be able to pull from a factory image.
Once you have that, you should be able to flash it from within TWRP itself (be careful - if you do this, once you exit TWRP, you'll only have the stock recovery until TWRP is re-flashed), or you can use the flashify app if you are rooted.
There are some things to consider though - are you rooted and/or have made any modifications to the /system partitiion? If so, an OTA will likely fail even if the stock recovery is re-installed. If you're rooted, I'd say just wait patiently on a stock (or near-stock) rooted flashable ROM, and upgrade that way by just flashing in TWRP. I believe there are 1 or 2 options for this already in the forums here, and I'm sure more will be coming soon, along with updates to the many custom ROMS out there.
If you do successfully flash stock recovery and successfully accept/install the 6.0 OTA, you'll eventually need access to a PC with fastboot to get TWRP back and/or root the device again, so that's also a consideration for many users.

Bootloop or just bad instalation?

Backgrond: Fresh new device. I unlocked bootloader through the all in one toolbox here (http://forum.xda-developers.com/android/software/tool-tool-one-driversunlocktwrpfactory-t3358711) to unlock bootlaoder successfully and install twrp ( I chose this version TWRP 3.2.1 Blu Spark OP5T).
I unlock my bootloader successfully and then tried to install superSU through twrp. I realized at the time of TWRP installation, that I didnt have SUPERsu on my device so I booted up my phone, downloaded Super SU from (http://www.supersu.com/download) and then went back into recovery mode. I was able to install the file through twrp but now I'm stuck on the OnePlus Screen.
On the toolkit screen there was a message saying
"if you flash a modified recovery and you dont root your stock rom (or flash another rom) you will brick you phone.
Is that what I did? Should I flash a custom rom?
I can access fastboot, recovery, etc and use adb sideload. I thought maybe I installed the wrong super user file so I flashed a new one through adb sideload (this file SR5-SuperSU-v2.82-SR5-20171001224502) but that didnt do anything either.
What should I do?

Categories

Resources