Jump to content

Unable to copy file to /system/bin or load .img file


Recommended Posts

Guest checkerman
Posted

I have a rooted desire running froyo modaco r5 and I am trying to copy the flash_image file to the /system/bin directory. I currently have clockwork 2.5.0.7 I have searched all over the net and I just cant seem to manage it. Ultimately im trying to write a custom recovery .img file to the desire. I tried using unrevoked to do this but it doesnt work, and also flashboot. Below is what i have tried.

Connect phone in charge only mode.

open command prompt

cd android\tools

adb root

adbd root is already running as root

adb remount

adb remount successful

adb push flash_image/system/bin

failed to copy "flash_image" to "/system/bin" : out of memory

then i tried adb shell

mount /dev/block/mtdblock4 /system

exit

adb push flash_image /system/bin

9000kb/s (0 bytes in 205851.0s) (ignore the kb size as im away from the pc i tried it on so just put something in there!)

I then run terminal emulator on the phone, run su, cd /system/bin and the file is not there. I seem to be going round in circles at the moment. As i just cannot seem to load an img file no matter which way i try.

Also with fastboot is it necessary to erase before writing? If i try and write the image file with fastboot I get a remote signature verify failed.

Thanks

Guest checkerman
Posted

Thanks was downloading and trying after the post, and managed to get it working. Although it seemed to break my recovery, though luckily somehow with some perseverance I have managed to fix that too.

Thanks again

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.