• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.
OK

Actually i wanted to make a tutorial showing the working of the flash_image command as an alternative to the fastboot command :)


Then do it.
Sam already had mentioned that method but it would be good for everyone if u make tutorial in all things root in a more comprehensive manner considering everyone noob
:)
 
Upvote 0
this is the cmd to flash recovery through adb

mount -o remount,rw -t yaffs2 /dev/block/mtdblock1 /system

cat /sdcard/flash_image > /system/bin/flash_image

chmod 755 /system/bin/flash_image

mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak (if it gives error message here, simply proceed to the next step)

mount -o remount,ro -t yaffs2 /dev/block/mtdblock1 /system

flash_image recovery /sdcard/your recovery name

reboot recovery

The phone will reboot now.


NOTE: If you get this error after step 4

mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
failed on '/system/etc/install-recovery.sh' - No such file or directory

issue the next command

this is what he mentioned in this thread
http://androidforums.com/a70-all-things-root/461765-tut-installing-cwm-recovery-v5-0-2-3-a.html
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones