I have tried every method I can find. The Flashrec, adb push, mount-a, flash_image recovery *.img
Flashrec says cannot run command
mount -a says something about no device
Flash_image says no such file or directory
Please help Im on 1.2.3
Thanks.
adb push recovery-green.img /sdcard/
1445 KB/s (3868672 bytes in 2.613s)
C:\android\tools>adb shell reboot
C:\android\tools>adb shell
# su
su
# cd /sdcard/
cd /sdcard/
# flash_image recovery recovery-green.img
flash_image recovery recovery-green.img
error opening recovery-green.img: No such file or directory
# flash_image recovery recovery-green.img
flash_image recovery recovery-green.img
error opening recovery-green.img: No such file or directory
# flash_image recovery recovery-green.img
flash_image recovery recovery-green.img
error opening recovery-green.img: No such file or directory
# flash_image recovery recovery-green.img
flash_image recovery recovery-green.img
error opening recovery-green.img: No such file or directory
# flash_image recovery recovery-green.img
flash_image recovery recovery-green.img
error opening recovery-green.img: No such file or directory
#
Not Dev. Mods please move to Q&A.
try this
adb push recovery-green.img /sdcard/
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cd /sdcard
flash_image recovery recovery-green.img
reboot recovery
Also, if you get stuck, search for ROM Manager in the market. it will let you flash the clockworkmod RA. After you have flashed that, you can look a little further down the list in that app, and you will see the option to flash RA Recovery v1.6.2. All of this is included in the free version of the app.
smstutler said:
try this
adb push recovery-green.img /sdcard/
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cd /sdcard
flash_image recovery recovery-green.img
reboot recovery
Click to expand...
Click to collapse
dude i was having the same problem for a while, make sure your phone is on and not in recovery mode, make sure its not mounted, just have it on charge only, and in the root of your sdcard and not in a folder, and make sure debug is on. also when i had the same problem i had a thread about it, just go through this thread and it will help you. in the mean time you can take your recovery image, rename it to something like myrecovery and that way its easier for you to remember it. then open up
adb shell, then type flash_image recovery myrecovery.img
heres the thread for me help. http://forum.xda-developers.com/showthread.php?t=685522
Thanks guys, Im gonna try these things now. I tried searching, but couldnt get my keywords right, my apologies for placing in the wrong thread.
Ill update soon with results.
Thanks again!
smstutler said:
try this
adb push recovery-green.img /sdcard/
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cd /sdcard
flash_image recovery recovery-green.img
reboot recovery
Click to expand...
Click to collapse
This worked perfect. I knew I was going wrong with the mount, it was basically telling me the syntax was wrong, and after pasting your command, I was able to flash the recovery perfect.
Thanks again. !!!! XDA ROCKS!!! DONATE!! I DO!!!!
I think you have to downgrade to a different version because i had the same message for flashrec and adb command.
The option I used was Clockwork Mod Recovery with Rom Manager. Just install Rom Manager and then click "Flash Clockwork Mod Recovery". With the recovery.img on the root of the sdcard.
koushikdutta.com/2010/02/clockwork-recovery-image.html
I know you already figured it but just in case it does not work for anyone else this is an option.
Related
I can enter the first two commands, mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system,flash_image recovery recovery.img and cd /sdcard but when i type in the last command i get this
cannot open /system/recovery.img no such file
Don't know what you're typing there.. missing some stuff.
Try this:
Code:
mount -o remount,rw /dev/block/mtdblock3 /system
cd /system
cat /sdcard/recovery.img > recovery.img
flash_image recovery recovery.img
Did you type SU before??
i did what the first reply did. what do you mean su?
i got it thanks
SU = root access.
Once you have rooted your phone and installed a custom image, you need to type "su" and press enter anytime you go to the command prompt to do something requiring root. Basically root is disabled by default so you don't break things - you need to specifically tell the phone you want root access to try and avoid breaking things by mistake.
Anyway, glad you got it working.
Hi Guys,
I am having a problem with rooting my G1, For the last hour I have been stuck at the point where I have downgraded the phone to the RC7 successfully and am trying to press enter twice and type the telnetd.
At this point I'm not sure if it should give me a sign that it has worked but I then goto telnet command prompt which is showing some questions marks them the # sign but when I type in the commands from the instructions the following happens: Typed exactly as it appears on my screen
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# #cd sdcard
# #flash_image recovery recovery.img
No such file or directory
# #flash_image recovery/sdcard/recovery.img
usage: flash_image partition file.img
# #cat recovery.img > /system/recovery.img
recovery.img: No such file or directory
Try reading this: http://forum.xda-developers.com/showthread.php?t=442480
Its sounds like you havent put the recovery image in your sdcard.
read the instructions again.
I placed the recovery image and the zip file in the sd card, but i was thinking of sacking this method and trying the root.apk method.
rename cm-recovery-1.4.img to recovery.img on your sd card
-OR-
flash_image recovery cm-recovery-1.4.img
The file is called recovery.img
Ok I rebooted the phone pressed enter<reboot>enter again and the phone rebooted, so now I have root what next, do I need to do anything else before putting on a rom, what rom should I put on?>?????
http://androidcommunity.com/forums/f12/rooting-your-g1-made-easy-11825/
faster and less complicated
gtrplr71 said:
http://androidcommunity.com/forums/f12/rooting-your-g1-made-easy-11825/
faster and less complicated
Click to expand...
Click to collapse
Thanks worked
no problem
I have Sprint signed 2.0 ruu and I have the phone rooted successfully.
My problem is this, when I try to flash the recovery image it says "file not found"
I've tried flashing from terminal on phone and from CMD on pc.
I have searched and searched with no luck.
please anyone help. Also how to use nand Restore what is the file that is being restored.
Also how to add removed apps from DC 2.0.72 rom step by step please.
Thanks
make sure debugging is turned on in the phone
settings>applications>development>usb debugging
Here is a guide that you can try
http://forum.androidcentral.com/htc-hero-roms-hacks/9542-how-repair-your-bootloader-after-using-2-1-ruu.html
or try these instructions
http://forum.xda-developers.com/showthread.php?t=583291
Theres some others you can do, but its a males it more difficult after doing the 2.1 RUU
Thanks for the reply
Still showing flash image not found
I tried those websites with no luck!! Does this not work after installing the 2.1 ruu?
C:\AndroidSDK\tools>adb shell
# su
su
# cd /sdcard
cd /sdcard
# flash_image recovery recovery-ra-heroc-v1.6.2-blue.img
flash_image recovery recovery-ra-heroc-v1.6.2-blue.img
flash_image: not found
# [1] Killed su
# exit
exit
C:\AndroidSDK\tools>adb shell
# su
su
# cd /sdcard
cd /sdcard
# flash_image recovery recovery-ra-heroc-v1.5.2.img
flash_image recovery recovery-ra-heroc-v1.5.2.img
flash_image: not found
# flash_image recovery recovery-RA-heroc-v1.5.2.img
flash_image recovery recovery-RA-heroc-v1.5.2.img
flash_image: not found
# exit
exit
# adb push recovery-RA-heroc-v1.5.2.img /sdcard
adb push recovery-RA-heroc-v1.5.2.img /sdcard
adb: not found
#
joshuadb20 said:
I tried those websites with no luck!! Does this not work after installing the 2.1 ruu?
C:\AndroidSDK\tools>adb shell
# su
su
# cd /sdcard
cd /sdcard
# flash_image recovery recovery-ra-heroc-v1.6.2-blue.img
flash_image recovery recovery-ra-heroc-v1.6.2-blue.img
flash_image: not found
# [1] Killed su
# exit
exit
C:\AndroidSDK\tools>adb shell
# su
su
# cd /sdcard
cd /sdcard
# flash_image recovery recovery-ra-heroc-v1.5.2.img
flash_image recovery recovery-ra-heroc-v1.5.2.img
flash_image: not found
# flash_image recovery recovery-RA-heroc-v1.5.2.img
flash_image recovery recovery-RA-heroc-v1.5.2.img
flash_image: not found
# exit
exit
# adb push recovery-RA-heroc-v1.5.2.img /sdcard
adb push recovery-RA-heroc-v1.5.2.img /sdcard
adb: not found
#
Click to expand...
Click to collapse
No that will not work. pm me and I will fix it with you on gtalk.
Since you ran the test ruu you do not have flash_image on your phone. You need to push flash_image to /system/bin/flash_image. I will attach it as a .zip below. Put the .zip in your sdk folder then follow these adb instructions to rename and push it:
Code:
adb remount
adb push flash_image.zip /system/bin/flash_image
Be sure to type it as above to correctly rename it..it is not really a .zip but XDA forces the rename to attach..
You have to give flash_image permission now, so type this:
Code:
adb remount
adb shell chmod 0755 /system/bin/flash_image
Now you should be able to flash the custom recovery if you have indeed rooted your phone and gave permissions to flash_image.
Thankyou thankyou thankyou
I love you guys, This fixed my issue, it drove me nutts all night last night.
Thank you very much!!! Your posting solved my all day issue, im happy :-*
C:\>cd androidsdk\tools\
C:\AndroidSDK\tools>adb shell
$ su
su
# cd /sdcard/
cd /sdcard/
# flash_image recovery recovery-ra-heroc-v1.2.3.img
flash_image recovery recovery-ra-heroc-v1.2.3.img
flash_image: not found
# adb remount
adb remount
adb: not found
#
I am having the same issue on my phone except I can't get the the flash_image file to even work. See above for example of my outcome. Am I not rooted fully? I am using universal androot and getting the Superuser icon and everything. Please help if you can. This is driving me crazy.
91nbtsi said:
...
# flash_image recovery recovery-ra-heroc-v1.2.3.img
...
Click to expand...
Click to collapse
Are you sure it is not named recovery-RA-heroc-v1.2.3.img ?
kjjjjshab said:
Are you sure it is not named recovery-RA-heroc-v1.2.3.img ?
Click to expand...
Click to collapse
I am pretty new to this, so it is case sensitive? I will try and see.
jeez guys. just plug your phone into your computer and drop the heroc-...img into your sdcard's root folder.
then:...\tools> adb shell
ls (to see what's in your current directory)
cd sdcard (to hop onto your sdcard)
su (if not already root)
flash_recovery recovery-.......3.img
reboot recovery
kjjjjshab said:
Are you sure it is not named recovery-RA-heroc-v1.2.3.img ?
Click to expand...
Click to collapse
It is the command "flash_image" that is not found - not the img file
I have the same problem - but in posting it I see that everyone is looking at the error as though it relates to9 the img file
91nbtsi said:
C:\>cd androidsdk\tools\
C:\AndroidSDK\tools>adb shell
$ su
su
# cd /sdcard/
cd /sdcard/
# flash_image recovery recovery-ra-heroc-v1.2.3.img
flash_image recovery recovery-ra-heroc-v1.2.3.img
flash_image: not found
# adb remount
adb remount
adb: not found
#
I am having the same issue on my phone except I can't get the the flash_image file to even work. See above for example of my outcome. Am I not rooted fully? I am using universal androot and getting the Superuser icon and everything. Please help if you can. This is driving me crazy.
Click to expand...
Click to collapse
Here is what you need to do
Code:
adb shell
cd sdcard
flash_image recovery xxxxxxxxxxxx.img
reboot recovery
You should not need to remount, but if you need to or for future reference you type in adb remount from the command prompt and not in adb shell
diogenesthesceptic said:
It is the command "flash_image" that is not found - not the img file
I have the same problem - but in posting it I see that everyone is looking at the error as though it relates to9 the img file
Click to expand...
Click to collapse
Read an earlier post, download the file and do what the post instructs. You need the flash_image file on your phone
danknee said:
Since you ran the test ruu you do not have flash_image on your phone. You need to push flash_image to /system/bin/flash_image. I will attach it as a .zip below. Put the .zip in your sdk folder then follow these adb instructions to rename and push it:
Code:
adb remount
adb push flash_image.zip /system/bin/flash_image
Be sure to type it as above to correctly rename it..it is not really a .zip but XDA forces the rename to attach..
You have to give flash_image permission now, so type this:
Code:
adb remount
adb shell chmod 0755 /system/bin/flash_image
Now you should be able to flash the custom recovery if you have indeed rooted your phone and gave permissions to flash_image.
Click to expand...
Click to collapse
Mine says "remount failed: Operation not permitted" when I try to remount.
LARPkitten said:
Mine says "remount failed: Operation not permitted" when I try to remount.
Click to expand...
Click to collapse
If you are in recovery and trying this you do not need to remount. If you are booted into Android try
Code:
adb shell
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
you might also replace /dev/block/mtdblock3 with /dev/mtd/mtd1
and then chmod
I am having this problem as well.
Okay if your having a problem with the ole "flash_image not found" saying do this open up command prompt and type
Code:
adb shell
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
then open up another command prompt with the old one still running and type this
Code:
adb push flash_image /bin
adb shell chmod 0755 /system/bin/flash_image
Now you should be good to flash your recovery
Asadullah said:
Okay if your having a problem with the ole "flash_image not found" saying do this open up command prompt and type
Code:
adb shell
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
then open up another command prompt with the old one still running and type this
Code:
adb push flash_image /bin
adb shell chmod 0755 /system/bin/flash_image
Now you should be good to flash your recovery
Click to expand...
Click to collapse
I'm getting all the same errors everyone else on here is getting. Is flash_recovery a file that is required? I don't mean the .img file, but is it some kind of command file?
I have tried every method I can find. The Flashrec, adb push, mount-a, flash_image recovery *.img
Flashrec says cannot run command
mount -a says something about no device
Flash_image says no such file or directory
Please help Im on 1.2.3
Thanks.
adb push recovery-green.img /sdcard/
1445 KB/s (3868672 bytes in 2.613s)
C:\android\tools>adb shell reboot
C:\android\tools>adb shell
# su
su
# cd /sdcard/
cd /sdcard/
# flash_image recovery recovery-green.img
flash_image recovery recovery-green.img
error opening recovery-green.img: No such file or directory
# flash_image recovery recovery-green.img
flash_image recovery recovery-green.img
error opening recovery-green.img: No such file or directory
# flash_image recovery recovery-green.img
flash_image recovery recovery-green.img
error opening recovery-green.img: No such file or directory
# flash_image recovery recovery-green.img
flash_image recovery recovery-green.img
error opening recovery-green.img: No such file or directory
# flash_image recovery recovery-green.img
flash_image recovery recovery-green.img
error opening recovery-green.img: No such file or directory
#
One thing you could try is renaming the file to recovery.img or rec.img. I do something quick and easy. Also try rooting both computer and phone. I had this problem, went to sleep and the next morning have it a try and it worked. Make sure you type everything just as it says. Might also try using flashrec or fresh kitchen.
-------------------------------------
Sent via the XDA Tapatalk App
All these things I have done. Except rebooting the pc. It runs great, its 7 64, but geeesh, I hate rebooting it..lol
Ok Ill try that and let you know,. As far as fresh kitchen, can you tell me more about it, or point me in the correct direction?
thanks!
Stramondroid said:
I have tried every method I can find. The Flashrec, adb push, mount-a, flash_image recovery *.img
Click to expand...
Click to collapse
I had a similar problem upgrading the recovery image, where I ultimately corrupted the recovery image, and then could not boot into recovery at all anymore (though the phone worked perfectly on a regular boot). The new fresh kitchen was the only thing that worked for me.
http://forum.xda-developers.com/showthread.php?t=644007&page=2
Fresh Kitchen
http://geekfor.me/new-release/fresh-kitchen-105/#more-972
download
Go to the "Rooter" tab, under the "Options" heading, and check "Flash RA only"
I have corrupted my recovery image also ,but Kitchen didn't work to fix it. Any other suggestions/
Try rom manager in the market. It had a button to flash recovery, it's the easiest way
Sent from my HERO200 using XDA App
danaff37 said:
Try rom manager in the market. It had a button to flash recovery, it's the easiest way
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
+1...I was going to suggest the same thing
Sent from my froyo using the xda app
Hi guys,
I just got a problem while flashing a recovery. I tried to use RomManager to flash the clockworkmod on my click, but while booting into it I just can enter the normal android recovery
I've read a little about this problem and found out, that I need to push the flash_image command line into the /system/bin - and there is the problem!
There're 2 different problems ... first one is permission denied - but I am root ...
Does someone has an idea why I can't push the flash_image?
Also tried http://forum.xda-developers.com/showpost.php?p=9192029&postcount=21 but it won't work - even with mounting the folders ...
Hope you can help me
Regards,
Smoky
Re
$ adb push flash_image /sdcard/
$ adb shell
# mount -o remount,rw -t yaffs2 /system
# mv /sdcard/flash_image /system/bin
# chmod 755 /system/bin/flash_image
# cd /system/bin
# ./flash_image recovery /sdcard/recovery.img
# mount -o remount,ro -t yaffs2 /system
Ok, found a solution
http://forum.xda-developers.com/showthread.php?t=950759
Thx, ready to close