Amon RA Recovery 1.5.2 & Emulator small error - G1 Q&A, Help & Troubleshooting

I'm trying to install Amon RA's custom recovery but the damn Terminal Emulator says there no file in the SD card.. What do i do? Some one help me..
I remember rooting the phone perfectly fine.. im just wondering why this wont work? Do i need to install a lower version first? I'm confused..

What rom are you using?
Install
There are several ways to install a custom recovery, choose the one that suits you most (I probably forgot a few).
via a simple reboot -> Requires Cyanogen's ROM (other ROMs will probably work too, check init.rc where to put the recovery.img)
Code:
Rename recovery-RA-dream-v1.5.2.img to recovery.img
Copy recovery.img to /data
Reboot fully (the recovery will be flashed automatically)
Reboot to recovery

Related

Problem with Recovery Images

Ok so I've tried searching for this and couldn't find what I needed. I have Amon Ra's recovery image and I'm trying to change to cyanogen's 1.4 recovery. I tried install it thru the terminal emulator but when I pull up the recovery screen it's still Amon Ra's, so any help would be appreciated.
What commands/steps did you use?
/You shoud post this in Dream Q&A.
http://forum.xda-developers.com/forumdisplay.php?f=507
So I downloaded recovery image 1.4 to my sdcard, then I opened terminal emulator and typed in flash_image recovery /sdcard/cm-recovery-1.4.img and I get a message that says
-d delete the image file after a successful flash
thats where I'm stuck at

biggest trouble ever installing 2.2

so back when i had 1.5 on my hero i had no problem at all installing roms. so when i updated to 2.1 stock awhile back i tried to root it and install a rom on it with the command prompt and unevoked method. it got it rooted and when i got to the recovery menu i nanidroid backedup and wiped and installed it. it then got stuck on the htc boot screen so i tried different rom and still would hang on it. so i said screw it and stayed on stock. i then later used the unlock univeral to root it but i can not stand the stock rom it is so slow and lags so i tried the offiical htc update from .6 to .7 to see if it would be faster but once it downloaded and i pressed install it would yet again hang on the htc screen. i cant even make calls with out lagging. so i tried once more to install 2.2 on it with a recovery img. i download rom manger and put froyo on the sd card but it would yet again hang when i click install rom from sd card. what do i do?!!!!!
update: i tried doing it through the teminal but it say flash_recovery not found
so i tried to do it through rom manger and it did the back up and installed it through the recovery menu but once it was done and rebooted it yet again is stuck on the htc boot screen.
help please!
It might b the recovery ur using if your able to boot into any rom access terminal you can get it from the market try to flash a different recovery I recommend. Darchstar RA 1.6 once u download it place it on the root of ur SD card not in any folders / then open up terminal and type su once the # appears type flash_image recovery /sdcard/ recovery- name of recovery. img wen that's done type reboot recovery and you should boot into recovery then try and flash ur rom from there hope this helps good luck
Root-Hack-Mod-Always™
laie1472 said:
It might b the recovery ur using if your able to boot into any rom access terminal you can get it from the market try to flash a different recovery I recommend. Darchstar RA 1.6 once u download it place it on the root of ur SD card not in any folders / then open up terminal and type su once the # appears type flash_image recovery /sdcard/ recovery- name of recovery. img wen that's done type reboot recovery and you should boot into recovery then try and flash ur rom from there hope this helps good luck
Root-Hack-Mod-Always™
Click to expand...
Click to collapse
ill try this when i get home tonite. thanks!
i tried doing it through the teminal but it say flash_recovery not found
so i tried to do it through rom manger and it did the back up and installed it through the recovery menu but once it was done and rebooted it yet again is stuck on the htc boot screen.
I recommend you boot into recovery - wipe your system / cache / dalvik cache and then flash the 2.2 rom of your choice -
if you were just flashing rom after rom without flashing then that could be a lot of your troubles -
also - you mentioned that the recovery file was not found on your sdcard - did you remember to unzip it first before attempting to flash it through terminal emulator? because it wont work otherwise ...
if you have extracted it to the root of your sdcard you shouldnt have any trouble
type
su
flash_image recovery /sdcard/nameofyourrecovery.img
reboot recovery
and you should be good to go - let me know how you do and we'll see if we can't help you further if needed
good luck!
cbwhat said:
i tried doing it through the teminal but it say flash_recovery not found
Click to expand...
Click to collapse
did you type:
su
flash_image recovery /sdcard/yourrecovery.img
or su
flash_recovery like your post shows - because you dont want to do it like that - just checking -
Vandelay007 said:
did you type:
su
flash_image recovery /sdcard/yourrecovery.img
or su
flash_recovery like your post shows - because you dont want to do it like that - just checking -
Click to expand...
Click to collapse
no it i type in
su
flash_image recovery /sdcard/recovery7.img
flash_image not found
cbwhat said:
no it i type in
su
flash_image recovery /sdcard/recovery7.img
flash_image not found
Click to expand...
Click to collapse
you said that you are doing this in a terminal window? (i am assuming that is on the phone) is your phone connected via usb to your computer? is the sdcard mounted by the computer? if it is unplug the usb and try again. if the computer has mounted the sdcard you can't access it from the phone.
i dont have it plugged in when i use the terminal on the phone
cbwhat said:
i dont have it plugged in when i use the terminal on the phone
Click to expand...
Click to collapse
ok just checking.... that was the only thing that i could think of that would stop you from reading the sdcard.
It may sound silly, bt when I do it I always make sure I account for case sensitivity...
Like flash_image recovery /sdcard/RA-Darchstar.img
Have you tried that?
Sent from my HERO200 using XDA App
yep make sure everything that has a capitals in it i capitalized in the terminal
this may sound silly as well.. sometimes when i use adb to push i mistype the location for example: adb push myfile.ext /adcard
everything goes fine until i go to find the file....
don't know though.
i still can't figure out how to install a custom rom.
Try backing up you sd and reformatting it on ur pc then just place the recovery img on your sd and nothing else then try to flash it good luck feel free to pm me I know how u feel man so if I can help I will good luck
Root-Hack-Mod-Always™

Upgrading from RA-heroc-v1.5.2 to v1.6.2

I'm running CM6 stable.
How would I go about upgrading to the new version of the recovery image? Is this pretty much it or is there something within the current recovery I can just click?
Amon_RA said:
via adb -> Requires a custom recovery (with test-keys)
Code:
Copy recovery-RA-heroc-v1.6.2.img to the root of your sdcard
Boot into your current custom recovery (boot while holding HOME)
Connect your Hero via usb to your pc/mac/...
adb shell
$su (not required if you have root already)
#mount -a
#flash_image recovery /sdcard/recovery-RA-heroc-v1.6.2.img
Click to expand...
Click to collapse
clankfu said:
I'm running CM6 stable.
How would I go about upgrading to the new version of the recovery image? Is this pretty much it or is there something within the current recovery I can just click?
Click to expand...
Click to collapse
This is pretty much it It's the standard way to change recoveries, not another was as far as I know of.
Impaler to the rescue again
I've actually never accessed adb before. What do I have to do before typing "adb shell"? Is there something I have to do so that the cmd prompt recognizes or loads my phone?
You have the option to flash 1.6.2 via rom manager - im using clockwork mod - and decided, after trying darch's recovery that clockwork offers more - including being able to explore the entire sdcard -
is there anything special about 1.6.2 that would make it worth trying out as opposed to clockwork recovery ?
Vandelay007 said:
You have the option to flash 1.6.2 via rom manager - im using clockwork mod - and decided, after trying darch's recovery that clockwork offers more - including being able to explore the entire sdcard -
is there anything special about 1.6.2 that would make it worth trying out as opposed to clockwork recovery ?
Click to expand...
Click to collapse
I think some prefer clockword mod but not sure what the differences are. I just want to upgrade to 1.6.2 because it got rid of the some of the bugs.
Here's the thread for it:
http://forum.xda-developers.com/showthread.php?t=581521
clankfu said:
I think some prefer clockword mod but not sure what the differences are. I just want to upgrade to 1.6.2 because it got rid of the some of the bugs.
Here's the thread for it:
http://forum.xda-developers.com/showthread.php?t=581521
Click to expand...
Click to collapse
This is the easiest way in my opinion:
Download the RA image you want to flash
Put it on the base of your sd card
Open up terminal emulator on your phone
su
flash_image recovery /sdcard/name-of-recovery.img
reboot recovery
You should see your new RA image Let me know how it goes!
Thank you sir

E: can't open /cache/update.zip - need help

Hi folks.
Having some problems everytime I try to boot in recovery mode or try to install a ROM using ROM Manager.
when my phone boots into manual recovery mode, I eventually get this message.
E: can't open /cache/update.zip
(bad)
Installation Aborted
I've made sure I have my update.zip in the root of my internal sd. In manual recovery mode, I even selected the "reinstall packages" option and it would execute just fine and then reboot my phone.
So I'm stuck scratching my head as to why I get the error message above and can't access the additional menu items in the manual recovery mode.
Help please as I am a noob to this hacking stuff.
THanks everyone!
after you reinstall packages and it reboots, do you select reinstall packages again? you should because it takes 2 times to get into clockworkmod
Pirateghost said:
after you reinstall packages and it reboots, do you select reinstall packages again? you should because it takes 2 times to get into clockworkmod
Click to expand...
Click to collapse
When I boot into manual recovery mode and select reinstall packages, the phone reboots and turns on...it doesn't go back to the <2e> recovery menu. Does that sound right?
drumega said:
When I boot into manual recovery mode and select reinstall packages, the phone reboots and turns on...it doesn't go back to the <2e> recovery menu. Does that sound right?
Click to expand...
Click to collapse
no it doesnt
what rom are you currently running?
Firmware version: 2.1-update1
Baseband version: I896UXJI2
Kernel version: 2.6.26 [email protected] #2
Build number: ECLAIR.UXJI2
drumega said:
Firmware version: 2.1-update1
Baseband version: I896UXJI2
Kernel version: 2.6.26 [email protected] #2
Build number: ECLAIR.UXJI2
Click to expand...
Click to collapse
you're canadian
i896
did you use this: http://forum.xda-developers.com/showthread.php?t=833953 to root?
Yes...I rooted using z4 root.
drumega said:
...
I've made sure I have my update.zip in the root of my internal sd. In manual recovery mode, I even selected the "reinstall packages" option and it would execute just fine and then reboot my phone.
...
Click to expand...
Click to collapse
There's your problem. Your new file should NOT be named update.zip. The update.zip package MUST be the one for CWM. Its this update.zip that is used when you choose reinstall package and then you get into 2e recovery mode.
Name your file something different so it won't interfere with the update.zip of CWM on your sd root.
If you deleted that CMW update.zip file just return in CMW and reinstall the Recovery. It will push the update.zip again.
Not sure I completely understand.
to give clearer picture, here is where my update.zip file is located.
/sdcard (folder)
within the /sdcard folder are the following:
/Android
/clockworkmod
/DCIM
/download
/layar
/media
/sd
/tmp
...and finally, my update.zip file
so I'm assuming the update.zip is in its proper location within the /sdcard folder
With the file there, I reboot into manual recover and select reinstall packages...it executes and the phone boots up and turns on. It doesn't return me to the manual recovery mode again and I'm assuming it is during the return to the manual recovery mode where I can access additional menu items such as install from SD.
So I'm assuming this update.zip file I have now is the one for CWM. Thoughts?
at what point did you FLASH clockwork recovery manager? are you sure that update.zip file thats on there isnt for something else like the root?
to be honest, at this point I'm not entirely sure. the update.zip could be for the root.
what do you mean by flash clockwork recovery manager...when I go into ROM Manager, under the Recovery heading I see the following options.
Flash ClockworkMod Recovery (Current Recovery: ClockworkMod 2.5.1.2)
Reboot into Recovery
drumega said:
to be honest, at this point I'm not entirely sure. the update.zip could be for the root.
what do you mean by flash clockwork recovery manager...when I go into ROM Manager, under the Recovery heading I see the following options.
Flash ClockworkMod Recovery (Current Recovery: ClockworkMod 2.5.1.2)
Reboot into Recovery
Click to expand...
Click to collapse
-First delete every update.zip you have in /sdcard
-Return in ClockworkMod and tap on Flash ClockworkMod Recovery (yes it will reinstall the recovery, thus copying the right update.zip onto the /sdcard).
-Now rename your .zip you were trying to install (ie. my_new_file.zip)
-Copy it in /sdcard
-Reboot into Recovery and select Reinstall Package (if it goes directly into the recovery menu even better)
-Now you should be in the CWM Recovery.
-Select the "install zip from sdcard"
-Select your "my_new_file.zip" to flash it.
-Reboot in normal mode.
ok...so I went into ROM Manager application and tapped on Flash ClockworkMod Recovery
A status bar displayed and it completed like in a second or 2. Then I went into my /sdcard directory and there is no update.zip file there. Doesn't seem like it is copying the update.zip file into the directory.
No biggy, just means the recovery is correctly installed.
Just follow the procedure and try it like it is and see if you get a error.
flashing clockwordmod recovery doesn't install an update.zip on your sd card (1 click roots do).
All flashing CWM recovery does is install clockwork recovery in place of standard recovery mode.
ok...so I've deleted the update.zip file from the /sdcard directory.
went into ROM Manager and clicked on Flash ClockworkMode Recovery
Rebooted my phone and got to the <2e> screen. I click on reinstall packages and now it gives me an error message that the update.zip cannot be found.
So then I used z4 root to unroot. I then rooted my phone again and found that it didn't place an update.zip in the /sdcard directory. So it appears without the update.zip in the /sdcard directory I cannot reinstall packages. But if I put the update.zip file back into the /sdcard directory, I can reinstall packages, but then I'm back to the same issue again....feels like a never ending loop.
ok...finally got things to work. Looks like I had the wrong update.zip file in my /sdcard.
I searched the forums and found the correct one that now allowed me to reinstall packages twice and take me to the full recovery menu.
for others that may need the update file, it is located here:
http://forum.xda-developers.com/showpost.php?p=9850347&postcount=1687
That was it!
Awesome, thanks! I had just returned my Captivate to AT&T for a replacement today, and I was pretty convinced the shysters had made it harder for me to re-root and mod my phone. Now, how do I wire you a beer?
If you downloaded with your phone right after rooting, make sure you delete the update from the general sd card folder and move the update from your download folder to the general sd card folder. I had flashed with odin and rom manager last night and i had to install it that way due to fact clockwork has been down.

[Q] CM7 stuck in booting

Running 2.3.3, build number is CL 49208, using a Mac. Unlocked bootloader with fastboot. Used recovery-RA-passion-v2.2.1. Put the su-2.3.6.1 on my phone. Finally got it to reboot in recovery. Installed CM7.0.3. Oh, and I bought this phone in China (it's legit). Also, I used info from lots of sources before I finally found a recent post here that suggested the su zip file. One of those things I put in my sdcard is Radio_20100203_2_Signed_PASSION.img. Don't know if that helps. I couldn't find a more updated radio image.
The plan is to install CM7 so I can run openvpn.
It stops and cycles through the CM7 load screen -- turquoise android on a skateboard with an arrow circling around. Goes no further.
What did I miss? How do I fix it? Thanks.
Sounds like your in a bootloop.
Did you flash GAPPS also?
Here's more infos for radio, ect...
http://forum.xda-developers.com/showthread.php?t=744605
Has happened to me before. I removed the SD card and scanned it for errors on my PC. Worked after that. HTH.
Sent from my Nexus One using XDA App
Uhh...I can't put a microsd card in my computer -- I don't think.
Would you recommend updating the radio image? I'm thinking the 5.12.00.08, since my phone is in fact Korean. Do I still need the GAPPS image? Can I flash that image into my phone, or do I need to put it on the root of the sdcard?
cat3rpill3r said:
Uhh...I can't put a microsd card in my computer -- I don't think.
Would you recommend updating the radio image? I'm thinking the 5.12.00.08, since my phone is in fact Korean. Do I still need the GAPPS image? Can I flash that image into my phone, or do I need to put it on the root of the sdcard?
Click to expand...
Click to collapse
They make an adapter for micro sd card t ofit a USB port.
You can try new radio but If it's bootlooping I think your problem is elsewhere.
Did you check MD5SUM of the ROM before flashing?
Fortunately, my neighbor has a plethora of microsd adapters.
I did not check the sum. I read a few suggestions about doing that, but I couldn't figure out how, so I just trusted that what I had was fine. Lesson learned.
Let me get this straight: I need to put the GAPPS image on the sdcard AND flash the GAPPS image from fastboot? If I do update the radio image, do I need to reinstall CM7?
Put cm7 rom and gapps on sd card,
boot into recovery and flash rom then gapps, reboot.
Its highly recommends you do radio via fastboot.
To check md5sum, you can use one of the many free app from market.
Ok, ran checksum in fastboot. Not really sure what I'm looking for, so I'll just post what happened. In every case except gapps and su, the numbers returned were the same on the sdcard as in the tools file on my mac. Gapps and su are only on the sdcard.
For the CM7 zip, it returned: MD5(pathtofile)= 98d06d6a58c7de87d40269bfe0ae0e7b
For the RA img: 3def709ab1c9e051a92a1c8b1504a36a
For the Radio img: 310d85c4998163818f7dcdef730c2a12
For the gapps zip: 2f6a93654d1cfe191ff709b360ad60fc
For the su zip: b23147cb55eba3ae32a996a913fa54ea
I'm too new to the forum to post the link where I'm getting my instructions.
The CM7 version is update-cm-7.0.3-N1-signed, the RA is recovery-RA-passion-v2.2.1, the radio img is Radio_20100203_2_Signed_PASSION (the updated radio link you posted had removed the radio img because of some sort of violation), and gapps zip is gapps-passion-ERE36B-2-signed.
Still having the bootloop problem. I tried to find the most updated versions of everything I could. Is there a compatibility issue somewhere?
Another thought:
Do I need to flash the su zip from my sdcard in recovery? I don't know what that will do, so I haven't tried it yet.
There are a couple of files that Amon-RA suggests I delete in order to prevent calling the stock recovery:
/system/etc/install-recovery.sh
/system/recovery-from-boot.p
Any idea how I can check for and delete these using fastboot via mac terminal?
You can't delete them from fastboot. Use fastboot to boot off the new recovery and delete them in there through adb.
Code:
fastboot boot recovery "c:\location\to\recovery.img"
Can you be more specific? I use fastboot to flash the recovery image, and when I'm in recovery on the phone, I use adb from my computer? Or I can access a command line in the phone?
Well, you use fastboot to flash the recovery. Then you use the command I posted below so you can boot directly into that recovery. Once in there, you use adb on the computer to go into the phone, mount the system partition (which can be done under the mounts and storage menu in recovery) and then find those files and remove them.
But you really only need to delete those files if you want to stay running stock Android. If you have a custom recovery on the phone, that is all you need to install CM, and CM doesn't contain the files that revert the recovery back to stock.
Just got it to work. It was, in fact, a compatibility issue. The gapps zip was for a different version. I found a different zip (for Gingerbread) at: http://goo-inside.me/gapps. If you have Gingerbread, choose a zip with gb in the name.

Categories

Resources