quick question - G1 Q&A, Help & Troubleshooting

I currently am running an older version of jf's recovery image and would like to upgrade to Cm recovery 1.4.
I have looked through the fourms and can't find any help on installing a new recovery image over the old one. I was just wondering if I would have to install it like I did with the first one, downgrade my phone and all that or is there a way I can insatll it with out having to do all those steps over again.
Thanks for you help in advance
Ps. Didn't really know where to post this thread sorry if it is in the wrong area..

Hi,
This should really be in the Q&A section.
To answer your question, save the .img on to your SD card, do not rename it, go to your terminal emulator and type flash_image recovery /sdcard/cm-recovery-1.4.img
As long as you did not rename the file, and you spell the commands right, then you should be golden.

QUESTION !!!!!!!!!! >>>> Q&A Section !!!

don't forget the su. also you will want to do reboot recovery so you can see your pretty new recovery image.

thanks
Thanks for all the help guys

ps
And I guess I brain farted not putting it in the Q&A section, my bad

still not working
ironnius said:
Hi,
This should really be in the Q&A section.
To answer your question, save the .img on to your SD card, do not rename it, go to your terminal emulator and type flash_image recovery /sdcard/cm-recovery-1.4.img
As long as you did not rename the file, and you spell the commands right, then you should be golden.
Click to expand...
Click to collapse
I did what you said it it didn't work, it gave me the message, this was all done in terminal emulator.
"error writing recovery : Permission denied"
Is there something i have to do to allow this?

do the following in terminal emu
su
flash_image recovery /sdcard/cm-recovery-1.4.img

Put the recovery img on the root of your ad card
Installing the CyangenMod Recovery IMG
1. Open up the Terminal App on your phone
2. Type in su then press on "Always Allow"
3. Type in the following:
Code:
cd /sdcard
wget http://n0rp.chemlab.org/android/cm-recovery-1.4.img
flash_image recovery /sdcard/cm-recovery-1.4.img4. Done! Easy as Pie

Fingerlickin said:
do the following in terminal emu
su
flash_image recovery /sdcard/cm-recovery-1.4.img
Click to expand...
Click to collapse
thank you that worked

1sickat said:
Put the recovery img on the root of your ad card
Installing the CyangenMod Recovery IMG
1. Open up the Terminal App on your phone
2. Type in su then press on "Always Allow"
3. Type in the following:
Code:
cd /sdcard
wget http://n0rp.chemlab.org/android/cm-recovery-1.4.img
flash_image recovery /sdcard/cm-recovery-1.4.img4. Done! Easy as Pie
Click to expand...
Click to collapse
yes please download the recovery image and put it on the sdcard, THEN download the recovery image AGAIN using the wget command and replace the first one. THEN use the flash_image command which requires su permissions WITHOUT getting those permissions first.
Sorry, in a bad mood today.

Related

How to install Cyanogen 1.3 recovery??

Can someone please help me install this? I've tried the terminal way and the update.zip way and I still see JF 1.43 recovery utility.
You sure you did it correctly? Try again make sure you redownload the image file. It should be roughly 4000kb.
Su
Flash_image recovery /sdcard/cm-recovery-1.3.1.img
domiiniicano said:
Can someone please help me install this? I've tried the terminal way and the update.zip way and I still see JF 1.43 recovery utility.
Click to expand...
Click to collapse
first obviously make sure you have root, do this buy going into Terminal Emulator and typing su then press enter you should see this (#) and make sure the .img file that you downloaded (Cyanogen's Recovery 1.3.1) is in the root of your SD card, this is where all your folders are like (DCIM) (make sure you don't rename the .img file) once all that is verified then go back to Terminal Emulator and type su again and when you get the (#) symbol type
flash_image recovery /sdcard/cm-recovery-1.3.1.img exactly how you see it because it is case sensitive then press enter, now turn off or reboot back in to Recovery and verify that it worked.

CM 1.4 Problem

I can't flash it :/
From what I understand, I download to my sd card
Then open terminal and type
flash_image recovery /sdcard/cm-recovery-1.4.img
When I do this I get this message.
Error writing recovery: Permission denied.
What am I doing wrong?
EDIT: Apparently I have to type su first in the terminal. Sorry, still a noob at this stuff. Thanks anyways.

[Q] Cant install recovery on my rooted Hero

the error i get every time i try every method i have found... yea i searched... it just keeps saying when i get to the flash_image recovery command
it says that command doesnt exist?
can some one help me out?
Just download rom manager from the market and use it to flash. You can do clockwork or amon ra
Sent from my HERO200 using XDA App
You should be entering "flash_image recovery" either using a terminal emulator on your phone OR using adb shell. Both of which you should enter the "su" command to get the substitute user (hash sign "#").
Try this:
Open up terminal emulator on your phone and type "flash_image"
Regardless of whether you get root (#) or not ($) you should get a response saying "usage: flash_image partition file.img" So it'll look something like this:
Code:
$flash_image <- this is what you enter
usage: flash_image partition file.img <-this is what gets returned to you
$
Let me know what response you get.
AbKc0rax said:
the error i get every time i try every method i have found... yea i searched... it just keeps saying when i get to the flash_image recovery command
it says that command doesnt exist?
can some one help me out?
Click to expand...
Click to collapse
As the other posters have said, rom manager from the market is your easiest choice,
as far as flashing a recovery manually, put the recovery image of your choice
on your sd card, and either from the terminal emulator, or from adb shell,
you need to make sure you have the # prompt, indicating you have
superuser rights. If you just see $ you need to type su first.
Once you have the # prompt, the command would be
flash_image recovery /sdcard/recovery.img
(replace recovery.img with the exact name of the recovery image you
are trying to flash). as the filenames are case sensitive, I usually rename
the recovery image to a more manageable form, (ie: I rename clockwork to
clockwork.img or amonra to amonra.img, shortening the names and ensuring
that I don't have an issue with missing a capitalized letter).

can't mount sdcard under root

My recovery got blown-up and when I try to install another recovery, from # mount /sdcard , I get mount: can't read
/etc/fstab: No such file or directory
or from adb mount shell /sdcard , I get the same thing.. How do I format the sdcard or whatever it needs to be able to mount it from the # prompt , or adb ?
Thanks for any help..
I'm trying to get sdk manager working, can I get in to flash a recovery thru fastboot ?
have you tried using terminal emulator? also, are you s-off?
Did you change your directory??? As in cd\???
And which method did you choose to install adb??? And are you just trying to install a recovery from adb??? If so then change the directory then try mount -a then try the flash recovery commands. Good luck
Yea its me Again With the
Modified Hero-
Yes terminal, CMD rooted but not x-off
I'm in the platform-tools dir of sdk , when I >adb shell mount -a I get /etc/fstab: No such file or directory.
Houndog101 said:
Yes terminal, CMD rooted but not x-off
I'm in the platform-tools dir of sdk , when I >adb shell mount -a I get /etc/fstab: No such file or directory.
Click to expand...
Click to collapse
what happened when you tried the terminal method? it should work. Make sure the recovery image is on your sd, in no folder at all, rename it to recovery.img. Then in TE type: su , then press enter. then type: flash_image recovery /sdcard/recovery.img , then press enter - what happens?
il Duce said:
what happened when you tried the terminal method? it should work. Make sure the recovery image is on your sd, in no folder at all, rename it to recovery.img. Then in TE type: su , then press enter. then type: flash_image recovery /sdcard/recovery.img , then press enter - what happens?
Click to expand...
Click to collapse
Problem is I can't get the program on my SD . I think my sd has gotten corrupted some how . I need a linux command to format the sd card so it can be mounted. I can get to SU . if this help,, I really appericate any help I can get, Thank you..
Houndog101 said:
Yes terminal, CMD rooted but not x-off
I'm in the platform-tools dir of sdk , when I >adb shell mount -a I get /etc/fstab: No such file or directory.
Click to expand...
Click to collapse
From the command line type
Cd\ "hit enter"
Then
cd\AndroidSDk\tools\ " hit enter"
Then mount -a if you want to mount your sd card "hit enter"
Or adb shell "hit enter"
To use adb
Or adb remount to mount your file directory/system " I think "
Or just use the commands to flash your recovery.
Yea its me Again With the
Modified Hero-
OK, I'll do that and get back.. Thanks.
Houndog101 said:
Problem is I can't get the program on my SD . I think my sd has gotten corrupted some how . I need a linux command to format the sd card so it can be mounted. I can get to SU . if this help,, I really appericate any help I can get, Thank you..
Click to expand...
Click to collapse
Are you running windows or linux on your computer??? And y not just take your card out and format threw your pc or via card reader???
Edit : don't forget to name your recovery correctly as in
recovery-RA-heroc-v.1.7.img
If your trying to flash RA
And make sure it reads on your sd/card correctly as in .img and not
img.img
So to flash RA for example would be
flash_image recovery /sdcard/recovery-RA-heroc-v.1.7.img
Yea its me Again With the
Modified Hero-
I'm gonna reinstall sdk, takes a while , then I'll post results..
thanks again.
Houndog101 said:
I'm gonna reinstall sdk, takes a while , then I'll post results..
thanks again.
Click to expand...
Click to collapse
If your by chance looking for an easy way to setup adb you can check out my thread in hero development section on how to install adb on windows. It takes like 15/20 min tops to have it all setup. That's if your using windows. Good luck
Yea its me Again With the
Modified Hero-
Houndog101 said:
I'm gonna reinstall sdk, takes a while , then I'll post results..
thanks again.
Click to expand...
Click to collapse
ok, but I still don't get why you can't boot into the ROM you're on, open the terminal emulator app, and follow the instructions, it should work.
il Duce said:
ok, but I still don't get why you can't boot into the ROM you're on, open the terminal emulator app, and follow the instructions, it should work.
Click to expand...
Click to collapse
I agree that should work. Would be way easier as well.
Yea its me Again With the
Modified Hero-
laie1472 said:
Are you running windows or linux on your computer??? And y not just take your card out and format threw your pc or via card reader???
Edit : don't forget to name your recovery correctly as in
recovery-RA-heroc-v.1.7.img
If your trying to flash RA
And make sure it reads on your sd/card correctly as in .img and not
img.img
So to flash RA for example would be
flash_image recovery /sdcard/recovery-RA-heroc-v.1.7.img
Yea its me Again With the
Modified Hero-
Click to expand...
Click to collapse
I don't have a card reader that small . wierd because from su
prompt # ls , its says the sdcard is there, but when I try to mount it I get, " mount: can't read
/etc/fstab: No such file or directory"
il Duce said:
ok, but I still don't get why you can't boot into the ROM you're on, open the terminal emulator app, and follow the instructions, it should work.
Click to expand...
Click to collapse
I can only boot to the 3 skateboard screen.
Houndog101 said:
I can only boot to the 3 skateboard screen.
Click to expand...
Click to collapse
oh, ok then. adb for you.
il Duce said:
oh, ok then. adb for you.
Click to expand...
Click to collapse
When I " adb push recovery-RA-heroc-v1.6.2.img /sdcard/recovery-RA-heroc-v1.6.2.img"
I get failed to copy 'push recovery-RA-heroc-v1.6.2.img /sdcard/recovery-RA-heroc-v1.6.2.img' : Read-only filesystem
Geez, been at this for 2 days now.. I'm at a lost..
Ok well lets start from the beginning then. When your at your command line are you typing su??? If so you don't have to. And y are you trying to push the recovery instead of flashing it????
Yea its me Again With the
Modified Hero-
laie1472 said:
Ok well lets start from the beginning then. When your at your command line are you typing su??? If so you don't have to. And y are you trying to push the recovery instead of flashing it????
Yea its me Again With the
Modified Hero-
Click to expand...
Click to collapse
ok, I type adb shell and I get the # prompt
then at the # prompt I type #flash_image recovery /sdcard/recovery-RA-heroc-v1.6.2.img
hit enter and I get Failed with error: -1

[Q] HTC Hero Flashing Problem

I have an MTS CDMA HTC Hero, and I'm un able to put a custom recovery image on. I went into that HBOOT menu and at the top it says "S-ON" and I was reading that it needs to say "S-OFF" in order for me to put a custom recovery like Clockwork Mod onto it. My phone is rooted, I used z4root. I have no idea how to put the custom recovery on. And I cannot find the free version of ROM Manager in the market, and I tried the appbrain method and putting the .apk on my sd card method and nothing is working
Any help would be appreciated
Thanks!
xcolester5x said:
I have an MTS CDMA HTC Hero, and I'm un able to put a custom recovery image on. I went into that HBOOT menu and at the top it says "S-ON" and I was reading that it needs to say "S-OFF" in order for me to put a custom recovery like Clockwork Mod onto it. My phone is rooted, I used z4root. I have no idea how to put the custom recovery on. And I cannot find the free version of ROM Manager in the market, and I tried the appbrain method and putting the .apk on my sd card method and nothing is working
Any help would be appreciated
Thanks!
Click to expand...
Click to collapse
Our phone does not require S-OFF to flash a custom recovery. When I get to a computer I'll upload a recovery.img for you to download. Until then download Terminal Emulator and Busybox Installer. With Busybox Installer open it and install busybox
私のEVO 3Dから送信される。
there should be aman ra or an older recovery in the wiki
Whenever I put my hero into recovery mode I also get this red exclamation mark with a phone beside it. Is that because I don't have a custom recovery installed on the phone or?
And I'm also not too sure how to install a custom recovery on the phone.
Flash recovery using: ADB
NOTE: This method will work while you are booting into the current recovery on the phone.
1.Download the ClockworkMod Recovery: HeroC
2.Copy the recovery.img to root of the SD card.
3.Boot the phone into recovery.
4.Open command prompt, cd to the Android SDK directory & type the following commands:
adb shell
mount /sdcard
flash_image recovery /sdcard/"name of recovery".img
reboot recovery
5.Your phone should now reboot into the ClockworkMod Recovery (orange text for 3.0+).
Flash recovery using: Terminal Emulator Note: Requires s-off, otherwise you'll recieve "out of memory" errors.
1.Download the ClockworkMod Recovery: HeroC Download Optimus V Download.
2.Move recovery.img to root of the SD card.
3.Open the Terminal Emulator on the phone & type the following commands:
4.:
su
flash_image recovery /sdcard/"name of recovery".img
reboot recovery
5.The phone should now reboot into the ClockworkMod Recovery (orange text for 3.0+).
Whenever I type in the first code I get "error: device not found" and I have my phone in recovery mode
do you have android sdk installed on your computer, if no , install it. if yes, open a command prompt and type,
cd C:\android-sdk-windows\tools
next type:
adb devices
it should list your device
next type:
adb shell
you should get a # sign
then procede from there
or try the terminal emulator method,,,much easier. you can get "terminal emulator " from android market...good luck
whenever I change my directory to the tools folder ADB doesn't work, but when I change it to the "Platform-Tools" folder ADB works.
Sorry for being such a pain-in-the-butt, but I'm new to this whole rooting stuff.
What's the terminal emulator method?
I was trying to do this method
"Type in the following commands:
adb push recovery-clockwork-2.5.0.7-heroc.img /sdcard/recovery-clockwork-2.5.0.7-heroc.img
adb shell
su
cd /sdcard/
flash_image recovery recovery-clockwork-2.5.0.7-heroc.img
reboot recovery"
but that doesn't seem to be working for me either, that's where I get the "Flash_Image: not found" error

Categories

Resources