• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Recovery Image and Loading New ROMS

bdg4891

Lurker
May 10, 2010
8
0
Hey all,

So I have a rooted Eris (checked positively using terminal emulator) running a 2.1v3 ROM. What I'd like to do is eventually get to the 2.1 OTA ROM.

Earlier I downloaded ROM Manager which, after some searching gave me some problems other people have been having. I can't flash to the ClockworkMod recovery image as it gives me a "Error occurred while attempting to run privileged commands!" message. I tried reinstalling, fixing permissions etc. all with the same results.

So now i'm trying to flash Amon's recovery image instead using Terminal Emulator and the command line:

su
flash_image recovery /sdcard/file_name_here.img

only to yield the message that the file could not be found or something. I'm on a mac and I saw another way on here that involves running commands from your computer to your phone using the skd. I started to do that only to run into a "permission denied" when attempting the first "adb" command line.


Am I missing something? I'm trying to read and re-read as closely as I can. I'm not entirely comfortable with this whole process but I'm trying to take the time to really understand it and i'm still having difficulties.
 
Hey all,

So I have a rooted Eris (checked positively using terminal emulator) running a 2.1v3 ROM. What I'd like to do is eventually get to the 2.1 OTA ROM.

Earlier I downloaded ROM Manager which, after some searching gave me some problems other people have been having. I can't flash to the ClockworkMod recovery image as it gives me a "Error occurred while attempting to run privileged commands!" message. I tried reinstalling, fixing permissions etc. all with the same results.

So now i'm trying to flash Amon's recovery image instead using Terminal Emulator and the command line:

su
flash_image recovery /sdcard/file_name_here.img

only to yield the message that the file could not be found or something. I'm on a mac and I saw another way on here that involves running commands from your computer to your phone using the skd. I started to do that only to run into a "permission denied" when attempting the first "adb" command line.


Am I missing something? I'm trying to read and re-read as closely as I can. I'm not entirely comfortable with this whole process but I'm trying to take the time to really understand it and i'm still having difficulties.



I'll agree with the first responder that your post should be in the All Things Root sub-forum; please self-report your own thread (the little triangle) and ask a mod to move it there.



As for your trouble(s), it's not apparent what the trouble is when you say "file could not be found or something". That either means that the "flash_image" program was not in the (phone) shell's PATH, or it it can't find the image file on the SD card. Which one is it? As for the latter case, the SD card might not be mounted (although that doesn't seem normal for "stock" HTC releases); inside the adb shell, if you type the command

mount

Does it report the /sdcard being mounted? Or alternately, if you do a

ls -l /sdcard

Do you see the files you know are on your SD card listed? If not, what happens if you type the command

mount /sdcard

as the root user?


There is a recent thread over on the All Things Root sub-forum about rooting with a Mac - I put a detailed post in there about how to do what you want using fastboot and a Mac. Or, you can do it the hard way described in the top of that post - closer to what you are trying right now.

Make sure you check the md5sum signature of the Amon_RA recovery image before you flash that image ( e3932991f097993602af3c7a4b61a4f8 recovery-RA-eris-v1.6.2.img ).

eu1
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones