superuser commands not working in terminal emulator?

ZZalapski

New member
Feb 25, 2012
1
0
0
Visit site
I'm in the midst of installing GB on my new OV. Waiting for Sprint's website to go back up so I can access my account information that I need to transfer my number over to Virgin Mobile, before activating my phone...

In the course of following the guides on this site, though, I noticed some of the terminal emulator commands aren't working, even after rooting my phone. Specifically:

# flash_image recovery /sdcard/a.img
# find / -name flash_image
# md5sum Harmonia_2.03.zip

all returned a "not found" message. Although, # cd /sdcard seemed to work.

I've updated Superuser and its binary, rebooted, and taken out and put back the battery, all to no avail.

Any help would be appreciated. Thanks!
 

sellers86

Well-known member
Jul 21, 2011
1,837
617
0
Visit site
You have to have flash_image in your binary like curiousnoob said. Download flash_image to the root of you SD card. Then open terminal emulator and type

su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock5 /system
cat /sdcard/flash_image > /system/bin/flash_image
chmod 755 /system/bin/flash_image
mount -o remount,ro -t yaffs2 /dev/block/mtdblock5
flash_image recovery /sdcard/recovery.img
reboot recovery

recovery.img is the actual name of the recovery. Hope this helps. return at the end of each line
 
Last edited:

Trending Posts

Forum statistics

Threads
943,089
Messages
6,917,208
Members
3,158,815
Latest member
TheOzarks