adb problems.......

dilip007

Senior Member
Sep 28, 2010
158
8
0
first of all iv been trying to root my legend for hours and this is geting very furstarting... i am using the guide here http://forum.xda-developers.com/showthread.php?t=845512

i have finaly managed to get adb to work and have made my goldcard after 2 days of intense work and now im trying to downgrade my phone to root it

i am geting the following error in adb

when i type adb remount it says remount failed operation not permitted i have looked all over the net and found no answer

in additon to that when im trying to use adb push i type the following

adb shell
$su
su
#adb push flash_image /data/local/
adb push flash_image /data/local/

i just get the same line repeated how to excute commands from adb? this is very confusing since im noob with rooting also the following lines i don't know how to excute them too

adb push flash_image /data/local/
adb push misc1-2.img /data/local/
chmod 755 /data/local/flash_image
cat /dev/mtd/mtd0 > /sdcard/misc_backup.img
/data/local/flash_image misc /data/local/misc1-2.img

please explain to me how to use theese thanks!
 
Sep 26, 2010
33
1
0
entropicamente.net
That one is relatively easy. You could also follow Paul's guide but I like my approach better
Connect your phone to your PC. Second you have to install VISIONary r13 into your phone and do the "temproot" procedure. After a successful "temproot" you should be able to adb shell and then su. Fire up command prompt and issue:

adb shell
su

...you should have root privileges now (showing #). Next thing is backing up misc partition and replacing it with one from hack4legend-v5.zip. Extract this zip somewhere and fire another command promt there. Now you should upload flash_image binary and misc1-2.img:

adb push flash_image /data/local/
adb push misc1-2.img /data/local/


...switch back to 1st command prompt and change permission of flash_image_binary:

chmod 755 /data/local/flash_image

...and backup your current misc partition:

cat /dev/mtd/mtd0 > /sdcard/misc_backup.img


Now flash misc1-2.img:

Code:
/data/local/flash_image misc /data/local/misc1-2.img
exit


...and you are set to downgrade retaining HBOOT 1.00.
Read better, you have to open a new terminal for pushing the files to the phone, you can't use adb push while you are in adb shell.

BTW you should avoid posting questions in development section.