Flashing recovery image - EVO 4G General

So I had a stock Evo -> rooted via unrevoked, upgraded via OTA to 3.70, lost root. Re-rooted using unrevoked 3.31, CWM 2.6 installed perfectly fine. So far so good.
Before I foolishly upgraded via OTA, I had psfmod which is based on CWM 2.5.1.8. My question is
1. Can I flash psfmod (even do it's CWM 2.5, not 2.6)
2. I know it will cause problems, if I can flash psfmod, how?
I tried terminal emulator
$su
~# flash_image recovery /sdcard/recovery.img
no success, I've tried to reflash using unrevoked, no success. What to do now?
Yes I have backed up everything;
Thanks in advance!
-ninjila

I wouldn't go that route, but if you want to flash that image as recovery:
Code:
su
remount rw
find -iname "flash_image"
[will display the directory flash image is stored]
Code:
chmod 755 directory path to flash_image
[i found when I tried to flash, mine didn't have proper permissions, so use chmod]
Code:
flash_image recovery sdcard/recovery.img

Related

Amon Ra Fail

hi all. I already Unlock the Bootloader, I flash the Amon Ra 1.5.3, it works. I made the Nandroid backup, then after reboot it doesn't work. is going to original recovery (see triangle with exclamation mark in the middle). what can I do? I was trying several times but same results. Amon Ra recovery is working only until reboot... What I have done wrong? thanks in advance
You have to flash a ROM after flashing the Recovery for the Recovery to stick, if the same principle from the G1 transfers over to the N1... ie, flash Recovery, boot into it, flash a ROM, you are good to go.
I mean. it will not remain if I will not flash a custom rom?
Are you flashing from sd or fastboot?
from fast boot. i was following the steps from http://androidcommunity.com/forums/...ing-amon-ras-recovery-on-the-nexus-one-30499/.
A nandroid backup does not have the proper permissions/formatting for your system to boot.
You need to nandroid
then fastboot flash boot boot.img, etc
DELETE......
wow way for them to steal my outdated tutorial..... bastards
ovigt71 said:
hi all. I already Unlock the Bootloader, I flash the Amon Ra 1.5.3, it works. I made the Nandroid backup, then after reboot it doesn't work. is going to original recovery (see triangle with exclamation mark in the middle). what can I do? I was trying several times but same results. Amon Ra recovery is working only until reboot... What I have done wrong? thanks in advance
Click to expand...
Click to collapse
Have you already flashed (through OTA or manually) the last update released by google? If yes you need to delete (you must be root for this) the install-recovery.sh you find in /system/etc:
Code:
adb shell
cd system
cd etc
rm install-recovery.sh
By deleting this file I solved this problem of having to reflash the recovery after each rom reboot
ok. so, finally, someone can post one link or a explicit tutorial about how to install this recovery? at least one link would be good enough.. ... thanks
eug89 said:
Have you already flashed (through OTA or manually) the last update released by google? If yes you need to delete (you must be root for this) the install-recovery.sh you find in /system/etc:
Code:
adb shell
cd system
cd etc
rm install-recovery.sh
By deleting this file I solved this problem of having to reflash the recovery after each rom reboot
Click to expand...
Click to collapse
yes. i already install the update.... I was trying to root by MoDaCo way, but after root I was no able to enable the wireless. WIfi was completely out of order. Lucky me 'cose I already done the nandroid backup, otherwise........ so I install again the Amon Ra recovery and I roll back the backup.... please help with one good tutorial regarding root.
http://forum.xda-developers.com/showthread.php?t=612858
easist recovery can be tricky
do u have SDK?
Yes, I have.... usualy I go in recoveryy mode from "ADB reboot booloader recovery"..
Think i should write a recovery flashing tutorial?

CM recovery to Amon RA recovery

can ANYONE please tell me how to get to amon Ra's latest recovery image? i'm currently running Cyanogen's 1.4.img recovery, but i want to flash Hero roms, and i need to partition my sd card for that.. i need to get on Amon Ra recovery.. HELP!!
use the search feature above...
djn541 said:
use the search feature above...
Click to expand...
Click to collapse
that didnt help..
you obviously didnt search hard enough as its listed under EVERY release thread for amons ra recovery
but ill post here for you anyways since im a nice guy
via terminal on phone (must have root)
Code:
Copy name_of_recovery.img to the root of your sdcard
start the terminal app
$su (not required if you have root already)
#mount -a
#flash_image recovery /sdcard/name_of_recovery.img
also you can partition your sd card via your pc, mac or linux box.. you do not need ra recovery to do that..
digitaljeff said:
you obviously didnt search hard enough as its listed under EVERY release thread for amons ra recovery
but ill post here for you anyways since im a nice guy
via terminal on phone (must have root)
Code:
Copy name_of_recovery.img to the root of your sdcard
start the terminal app
$su (not required if you have root already)
#mount -a
#flash_image recovery /sdcard/name_of_recovery.img
also you can partition your sd card via your pc, mac or linux box.. you do not need ra recovery to do that..
Click to expand...
Click to collapse
ok.. i've tried that with about 4 diff recovery images.. when i type su and hit enter, it should ask for superuser permissions, right? well, it opens a new window that says superuser request in the corner (where the name of the app is), but it's a blanks screen.. i cant allow the superuser permissions if it wont give me the option to do so..
update: i tried it without the su.. i did the
#mount -a
#flash_image recovery /sdcard/recovery-RA-dream-v1.5.2.img
but all i got was a dollar sign.. i rebooted into recovery, and i'm still stuck on cyanogen 1.4 recovery..
You need SU. It gives you Root Access. You need Root Access.
ok.. when i open the superuser permissions app, i get nothing.. just the app name right under the notification bar..
update: now i have SU (the problem was with the ROM i was running..), but when i try to flash the recovery image, i get:
error reading /sdcard/recovery-RA-dream-v1.6.2.img header: I/O error
help!!
update 2: SUCCESS!! the problem was that i had other files on my sd card.. i'm such a nOOb.. thanks to everyone that helped..

[Q] Clockwork Mod Recovery 3.0.0.5

I had the Clockwork Mod 3.0.0.5 flashed and was running CM7. But when I tried to go back to complete stock, I flashed back to CM 2.5 or whichever one was the latest official CM. I then restored my nand backup of the original rom. Now I'm trying to flash back CM 3.0.0.5 via terminal emulator, but it keeps spitting out an error of flash_image not found. I have the CM 3.0.0.5 labeled as recovery.img, and thru terminal I typed in the following:
su
flash_image recovery /sdcard/recovery.img
but it keeps spitting out the same error over and over again. Is there another way how I can flash to 3.0.0.5?
Kid Poker said:
I had the Clockwork Mod 3.0.0.5 flashed and was running CM7. But when I tried to go back to complete stock, I flashed back to CM 2.5 or whichever one was the latest official CM. I then restored my nand backup of the original rom. Now I'm trying to flash back CM 3.0.0.5 via terminal emulator, but it keeps spitting out an error of flash_image not found. I have the CM 3.0.0.5 labeled as recovery.img, and thru terminal I typed in the following:
su
flash_image recovery /sdcard/recovery.img
but it keeps spitting out the same error over and over again. Is there another way how I can flash to 3.0.0.5?
Click to expand...
Click to collapse
you can use this threadhttp://forum.xda-developers.com/showthread.php?t=918275
or if you so please you can also use this thread http://forum.xda-developers.com/showthread.php?t=919332
simple searching in the dev section finds these answers
Kid Poker said:
I had the Clockwork Mod 3.0.0.5 flashed and was running CM7. But when I tried to go back to complete stock, I flashed back to CM 2.5 or whichever one was the latest official CM. I then restored my nand backup of the original rom. Now I'm trying to flash back CM 3.0.0.5 via terminal emulator, but it keeps spitting out an error of flash_image not found. I have the CM 3.0.0.5 labeled as recovery.img, and thru terminal I typed in the following:
su
flash_image recovery /sdcard/recovery.img
but it keeps spitting out the same error over and over again. Is there another way how I can flash to 3.0.0.5?
Click to expand...
Click to collapse
Just go to this link and follow the instructions and you can flash back and forth with no issues. http://goo.gl/K0xTy and next time search a little.
Weird
I got the ClockworkMod Recovery awhile ago and I am trying to backup current rom and it says E:Can't mount/sd/

[Q] Help With ClockworkMod Recovery Downgrading

Hello,
I am currently running Rom Manager 3.0.1.0 with ClockworkMod Recovery version 3.0.0.6. I'm trying to install GorillaSense DHD-MT4G Revolution theme on my phone but, I can't seem to install the update due to the ClockworkMod version. I need to downgrade to 2.5.1.2. When I do this through the Rom Manager it states that I have successfully flashed ClockworkMod Recovery but when I reboot into recovery, it doesn't load.
The versions available to me is 3.0.0.6 and 2.5.1.4. Is there any way I can get access to 2.5.1.2 again?
Any help would be appreciated. Thanks.
clone132 said:
Hello,
I am currently running Rom Manager 3.0.1.0 with ClockworkMod Recovery version 3.0.0.6. I'm trying to install GorillaSense DHD-MT4G Revolution theme on my phone but, I can't seem to install the update due to the ClockworkMod version. I need to downgrade to 2.5.1.2. When I do this through the Rom Manager it states that I have successfully flashed ClockworkMod Recovery but when I reboot into recovery, it doesn't load.
The versions available to me is 3.0.0.6 and 2.5.1.4. Is there any way I can get access to 2.5.1.2 again?
Any help would be appreciated. Thanks.
Click to expand...
Click to collapse
Well if you have Rom Manager 3.0.1.0 then yes you can flash Recovery 2.5.1.2 by going to Rom Manager and go down to the last option "All clockworkmod recoveries". Find 2.5.1.2 from the list and it will flash it for you.
Thank you for your quick reply. My problem lies in the fact that Rom Manager states that I have successfully flashed 2.5.1.2 but when I try load boot into recovery the recovery does not load.
clone132 said:
Thank you for your quick reply. My problem lies in the fact that Rom Manager states that I have successfully flashed 2.5.1.2 but when I try load boot into recovery the recovery does not load.
Click to expand...
Click to collapse
Well in that case manually flash it via terminal. Just put the 2.5.1.2 recovery.img in SDCard and flash it.
HKM said:
su [hit enter]
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system [hit enter]
cp /sdcard/flash_image /system/bin [hit enter]
flash_image recovery /sdcard/recovery.img [hit enter]
Click to expand...
Click to collapse
You will need flash_recovery file which you can find by using search function along with 2.5.1.2.img this meth works as I did it always.
EDIT: Sorry if you can't find it but here is the atth as I keep backup of almost everything on mSD.BkP so download it and unzip them in root of your /sdcard so you will have standalone flash_recovery and recovery.img in it.
Thanks for all your help. That worked perfectly.
Sent from my HTC Glacier using XDA App
clone132 said:
Thanks for all your help. That worked perfectly.
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
No problem glad could help, thats why I love console(terminal) once you understand SC and basic *nix arc you can virtually rip apart anything without any GUI frame.
Sent from my HTC Glacier
BlackSHELF said:
Well in that case manually flash it via terminal. Just put the 2.5.1.2 recovery.img in SDCard and flash it.
You will need flash_recovery file which you can find by using search function along with 2.5.1.2.img this meth works as I did it always.
EDIT: Sorry if you can't find it but here is the atth as I keep backup of almost everything on mSD.BkP so download it and unzip them in root of your /sdcard so you will have standalone flash_recovery and recovery.img in it.
Click to expand...
Click to collapse
Had a similar issue and followed your directions above in terminal. After I enter in the last line and hit enter, is it supposed to show something going on because it just goes to the next line. I downloaded your attached clockwork file and put it on the root of my SD card. Thanks for any help.
boroarke said:
Had a similar issue and followed your directions above in terminal. After I enter in the last line and hit enter, is it supposed to show something going on because it just goes to the next line. I downloaded your attached clockwork file and put it on the root of my SD card. Thanks for any help.
Click to expand...
Click to collapse
I don't quite remember what happens after you enter the last command on the terminal but, the only command I entered when I downloaded the files and extracted it to the root was "su[enter]
flash_image recovery /sdcard/recovery.img[enter]"
After that I was able to boot into recovery.
Another option is deleting the copy of the recovery in your SD card and redownloading it with ROM Manager. Just go to: /sdcard/clockworkmod/download/mirror1.kanged.net/recoveries. Delete recovery-clockwork-2.5.1.2-glacier.img, redownload and try loading it with Rom Manager again.
Hopes this helps.

Q: Root works in su but not apps

Hey folks, I just updated to .21 and reran rootkeeper. That restored su to /system/bin. I can adb in and get root just fine. However if I run the superuser app or titanium it always fails getting root.
Code:
[email protected]:/system/bin # ls -l su
ls -l su
-rwsrwsr-x root root 22228 2012-05-06 13:22 su
Anyone have any suggestions as to why this is?
Just to follow up. I tried running vipermod, that failed (both option 1 and 3), and I figured I'd boot into recovery and just wipe, but all I get is the "dead android" picture. From what I read, to restore stock recovery I need cwm. To flash cwm, I need root for recoveryinstaller. I have root through adb, is it possible to flash cwm via adb?
I'm really stuck here. All I want to do is wipe and restore this baby to stock.
Try copying the su from system/bin and paste it to system/xbin
run RecoveryInstaller after that to install CWM
Done that already too. No dice.
shadoslayer said:
Just to follow up. I tried running vipermod, that failed (both option 1 and 3), and I figured I'd boot into recovery and just wipe, but all I get is the "dead android" picture. From what I read, to restore stock recovery I need cwm. To flash cwm, I need root for recoveryinstaller. I have root through adb, is it possible to flash cwm via adb?
I'm really stuck here. All I want to do is wipe and restore this baby to stock.
Click to expand...
Click to collapse
The "dead android" is the stock recovery.
You can try Wolf's method to flash the recovery blob.
http://forum.xda-developers.com/showthread.php?t=1622628
or you can go back to .17, root with ViperMod, use OTA Rootkeeper and OTA back to .21
Really? They must have changed the recovery since the HC roms, because I remember this having some options in recovery back then...
Ok, I'll give flashing the recoveryblob a shot. thanks for the help!
Hey, thanks base. It worked perfectly. I was able to get cwm flashed, flashed su+bb, backed up everything with titanium and we're all good. You've been a great help!

Categories

Resources