PaulOBrien

24/May r4 - HTC Legend rooting guide - Now with 1.31.x

664 posts in this topic

I am stuck at step 2, this is what i got from cmd.exe:

C:\r4-legend-root>step2-windows.bat

Legend Root Step 2

Pushing required files to device...

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

push: files/etc/mtab -> /etc/mtab

push: files/etc/fstab -> /etc/fstab

push: files/sbin/wipe -> /sbin/wipe

push: files/sbin/unyaffs -> /sbin/unyaffs

push: files/sbin/ums_toggle -> /sbin/ums_toggle

push: files/sbin/um -> /sbin/um

push: files/sbin/tune2fs -> /sbin/tune2fs

push: files/sbin/toolbox -> /sbin/toolbox

push: files/sbin/sdparted -> /sbin/sdparted

push: files/sbin/recovery -> /sbin/recovery

push: files/sbin/reboot -> /sbin/reboot

push: files/sbin/parted -> /sbin/parted

push: files/sbin/nandroid-mobile.sh -> /sbin/nandroid-mobile.sh

push: files/sbin/mkyaffs2image -> /sbin/mkyaffs2image

push: files/sbin/mke2fs -> /sbin/mke2fs

push: files/sbin/log2sd -> /sbin/log2sd

push: files/sbin/fs -> /sbin/fs

push: files/sbin/flash_image -> /sbin/flash_image

push: files/sbin/fix_permissions -> /sbin/fix_permissions

push: files/sbin/e2fsck -> /sbin/e2fsck

push: files/sbin/dump_image -> /sbin/dump_image

push: files/sbin/busybox -> /sbin/busybox

push: files/sbin/backuptool.sh -> /sbin/backuptool.sh

push: files/sbin/adbd -> /sbin/adbd

push: files/system/bin/sh -> /system/bin/sh

push: files/system/bin/linker -> /system/bin/linker

push: files/system/lib/libstdc++.so -> /system/lib/libstdc++.so

push: files/system/lib/libm.so -> /system/lib/libm.so

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

link_image[1721]: 75 could not load needed library 'libc.so' for '/system/bin

/sh' (load_library[1051]: Library 'libc.so' not found)CANNOT LINK EXECUTABLE

Pushing update file to device sdcard - this may take a few minutes...

adb server is out of date. killing...

* daemon started successfully *

** daemon still not runningerror: cannot connect to daemon

adb server is out of date. killing...

* daemon started successfully *

^CAfbryd batchjob (J/N)? n

Now wipe and apply rootedupdate.zip from the recovery image menu.

adb server is out of date. killing...

* daemon started successfully *

After this cmd quits and my phone still stands on the !-screen without goin into RECOVERY screen..

0

Share this post


Link to post
Share on other sites

Hey i have a issue with this.

On step 2 it just goes to start deamon then it closes, no push nothing.. :/

Any ideas?

CMD says:

Legend Root Step 2

Pushing required files to device...

'adb-windows.exe' is not recognized as an internal or external command,

operable program or batch file.

'adb-windows.exe' is not recognized as an internal or external command,

operable program or batch file.

'adb-windows.exe' is not recognized as an internal or external command,

operable program or batch file.

Pushing update file to device sdcard - this may take a few minutes...

'adb-windows.exe' is not recognized as an internal or external command,

operable program or batch file.

'adb-windows.exe' is not recognized as an internal or external command,

operable program or batch file.

Now wipe and apply rootedupdate.zip from the recovery image menu.

'adb-windows.exe' is not recognized as an internal or external command,

operable program or batch file.

Edited by Swamp
0

Share this post


Link to post
Share on other sites

okey now i have a HUGE issue, flash failed big time some how, some were, i could redo everything but i can't formate my Sdcard, cuz my computer can't find my phone. can only find fastboot in fastboot mode, nothing else. not disk mode, adb or bootloder.

Any ideas?

0

Share this post


Link to post
Share on other sites

I've been having wonderful luck with gold cards. So far I've tried 2GB Kingston, 2GB Sandisk and 1GB Samsung. None of them works for the first step and I keep getting '42 custom id check fail' on all of them. Yet I managed to downgrade my Legend to an earlier version. Is it a gold card problem or am I doing something wrong?

0

Share this post


Link to post
Share on other sites

I got it now managed, had vodafone Legend with Bootmanager 0.43.0003.

I used this to downgrade: http://forum.xda-developers.com/showthread.php?t=725430

Then i wanted to root the device which gave me the same problem as I think iziy has.

Step two cant be performed on the phone. I noticed that always when i had the phone plugged in my xp pc, the device manager came up and looked for a driver. But he could not find one.

So i found at the unlockr a thread telling me to use usbdeview to delete all drivers of htc currently installed and the plug the legend back in and let it search for drivers.

This worked for me after a restart of the pc and i was able to get adb devices and also the step 2 of this howto.

tHx Paul and everyone for dealing with sh17 like this :P

GQKKE and swamp try usbdeview to delete the htc drivers, this was my problem... I had the same signs.

Edited by Tobsenseless
0

Share this post


Link to post
Share on other sites

Hi This is my first post here.

I have been trying to root my legend for ages now, here is where I am at :

I had a Vodafone HTC Legend and I did have the shonky Vodafone update on it 2.1 xxxxx something that came down over the air.

Anyways I went ahead and downgraded the system to 1.31.405.5 as explained on unlockr using the crackin.bat file this worked as far as I can tell and it is currently unbranded with bootloader v 43.0001.

Using the same goldcard I have used to downgrade to 1.31 I have mounted the linux build under VM to try and root the phone. I run step1.sh and get the Remote: 43 Main Version Check Fail Error.

---------------------------------------------------------------------------------------------------------------------

I have also tried the step1-windows.bat method and it just gets stuck at writing ZIP....

Now as I managed to downgrade the phone using crackin.bat I am guessing that the Goldcard Works, I have also tried without HTC synch running in the background and just get the same error. I have tried to take off the drivers and reinstall them but all give me the same error 43 and I cannot continue with step2.

Any help here would be much appreciated as I am now fully out of Ideas !!!

BrOw

EDIT:

Just to let you know I managed to Root my legend in the end. I had pretty much given up hope as all I was getting was the 43 error but then I managed it. The main changes I made to the above where that I made a new goldcard using the goldcard tool and I used my Win7 32bit machine and it worked. I think it was the OS change that did it as the drivers may well have been the problem. Anyways now I am enjoying Froyo on my legend and am all round Chuffed Cheers to all in this thread particularly Paul.

BrOw

Edited by sybrows
0

Share this post


Link to post
Share on other sites

Please note that this didnt work for me on Windows 7 64bits.

I tried on Vista 32 and that worked out good for me.

Also i had some troubles with the device not found error but that was helped by downloading the latest HTCsync from the HTC website.

I followed this howto and i rooted my legend and upgraded to 2.2 ( Cyanogen mod )

Thanks Paul U THA MAN!!!

0

Share this post


Link to post
Share on other sites
Using the same goldcard I have used to downgrade to 1.31 I have mounted the linux build under VM to try and root the phone. I run step1.sh and get the Remote: 43 Main Version Check Fail Error.

---------------------------------------------------------------------------------------------------------------------

BrOw

Maybe u need to create a new goldcard

0

Share this post


Link to post
Share on other sites
Maybe u need to create a new goldcard

All good got it sorted in the end By Creating New GC and changing OS to Win 7 32bit. Not sure which did it but prob OS

BrOw

0

Share this post


Link to post
Share on other sites
Pushing required files to device...

error: device not found

error: device not found

Pushing update file to device sdcard - this may take a few minutes...

error: device not found

error: device not found

Now wipe and apply rootedupdate.zip from the recovery image menu.

$ error: device not found

Can easily solve when u using HTCSync 2.0.33...don't use any other newest version

HTCSync 2.0.33 Download Here

0

Share this post


Link to post
Share on other sites

Problem with step 2.. Using w7 32bit. Legend with 43.0001 and ROM 131.405.4

16 Gb Kingston memory card

First had problems with step 1 and "adb out of date", but unistalled htc synd and got by it.

c:\r4-legend-root>step2-windows

Legend Root Step 2

Pushing required files to device...

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

push: files/etc/mtab -> /etc/mtab

...

push: files/system/lib/libc.so -> /system/lib/libc.so

31 files pushed. 0 files skipped.

1132 KB/s (3734509 bytes in 3.219s)

- exec '/system/bin/sh' failed: Permission denied (13) -

Pushing update file to device sdcard - this may take a few minutes...

- exec '/system/bin/sh' failed: Permission denied (13) - Protocol failure

What to do?

Edit: I can run step 1 without having my sd card as goldcard... Is this right? How do i know that step 1 worked?

Edited by andreas083
0

Share this post


Link to post
Share on other sites

Thank you very much!!!!great work Paul

Edit: I can run step 1 without having my sd card as goldcard... Is this right?

Andreas083....if your phone is unbranded you don't need goldcard

I've had almost the same problem like you on step2,how i've solved it?

Make the first step on a windows box,Download the ISO Image – MD5SUM: c56dd594f0a1179ed3a44924fca456d2,

burn it, run it and continue the second step with this method (the iso method)

Edited by nikosma
0

Share this post


Link to post
Share on other sites
Andreas083....if your phone is unbranded you don't need goldcard

I've had almost the same problem like you on step2,how i've solved it?

Make the first step on a windows box,Download the ISO Image – MD5SUM: c56dd594f0a1179ed3a44924fca456d2,

burn it, run it and continue the second step with this method (the iso method)

Thanks for trying to help me here..

Where can I download this? It isn't avalible any more.

Funny thing though. Now after step 1 I installed mybackup and it detected my phone as rooted. Tried rom manager but can't install a new rom.

Tried wxp, same error.

Tried to do it from Ubuntu, booted from cd and had the files on local hd. Opened a terminal, managed to get to the right folder tried sudo ./step2-linux.sh got "command not found" tried sudo sh step2-linux.sh wich launched but got some syntax errors with adb-linux

How do I tun this from Ubuntu?

0

Share this post


Link to post
Share on other sites

You're welcome andreas083...

Here you are http://www.megaupload.com/?d=5LO8I8UJ

Tried to do it from Ubuntu, booted from cd and had the files on local hd. Opened a terminal, managed to get to the right folder tried sudo ./step2-linux.sh got "command not found" tried sudo sh step2-linux.sh wich launched but got some syntax errors with adb-linux

It is a little complicated

0

Share this post


Link to post
Share on other sites
Thank you very much!!!!great work Paul

Edit: I can run step 1 without having my sd card as goldcard... Is this right?

Andreas083....if your phone is unbranded you don't need goldcard

I've had almost the same problem like you on step2,how i've solved it?

Make the first step on a windows box,Download the ISO Image – MD5SUM: c56dd594f0a1179ed3a44924fca456d2,

burn it, run it and continue the second step with this method (the iso method)

I've had almost the same problem like you on step2,how i've solved it?

Make the first step on a windows box,Download the ISO Image – MD5SUM: c56dd594f0a1179ed3a44924fca456d2,

burn it, run it and continue the second step with this method (the iso method)

Worked like a charm!

Great work guys!

I can't run either step 2 or recovery from windows though. Used Rom manager to install new rom instead of the revocery-step

0

Share this post


Link to post
Share on other sites

The easiest way to root your legend and get froyo :

1. Download Universal androod

2. Do a soft root !

3. Download Rom Manager

4. Go "Download ROM" -> "AleSPAM" -> Azure 1.0.1 (CyanogenMod 6.0.0 (Android 2.2)

That's it !

I've tried all other how tos....without success!

0

Share this post


Link to post
Share on other sites
The easiest way to root your legend and get froyo :

1. Download Universal androod

2. Do a soft root !

3. Download Rom Manager

4. Go "Download ROM" -> "AleSPAM" -> Azure 1.0.1 (CyanogenMod 6.0.0 (Android 2.2)

That's it !

I've tried all other how tos....without success!

-> AndRoot does NOT support HTC Legend. Your solution would be nice otherwise.

0

Share this post


Link to post
Share on other sites

i get the 43 check fail error after step 1, try to proceed to step to but apparently my phone isnt connected....unless im blind, it is.

i have a htc legend running android 2.2 with hboot version 1.00.0000

help please.

EDIT: after 3 hours of searching google and trial and error of various methods (whilst holding my breath to see if i bricked my phone) i got it to work

Edited by lostunsunghero
0

Share this post


Link to post
Share on other sites
The easiest way to root your legend and get froyo :

1. Download Universal androod

2. Do a soft root !

3. Download Rom Manager

4. Go "Download ROM" -> "AleSPAM" -> Azure 1.0.1 (CyanogenMod 6.0.0 (Android 2.2)

That's it !

I've tried all other how tos....without success!

Is this method realy working with un-rooted phones? It looks too easy to be true...

0

Share this post


Link to post
Share on other sites

Where can I check my rom number? In the bootmenu I get Legend unknown ship s-on

Hboot-0.43.0001

I got a Legend that I debranded from vodafone. But I want to root so I can install froyo 2.2.

0

Share this post


Link to post
Share on other sites
Is this method realy working with un-rooted phones? It looks too easy to be true...

Right now, ROM Manager requires /system/bin/su. You can't just go and write to /system on the Legend, it's protected by the baseband processor (AFAIK; feel free to correct me). So, no.

I'd love to have a Legend without that stupid NAND Lock. Anybody?

0

Share this post


Link to post
Share on other sites

C:\r4-legend-root>step2-windows.bat
Legend Root Step 2

Pushing required files to device...

* daemon not running. starting it now on port 5037 *
* daemon started successfully *
push: files/etc/mtab -> /etc/mtab
push: files/etc/fstab -> /etc/fstab
push: files/system/lib/libc.so -> /system/lib/libc.so
push: files/system/lib/liblog.so -> /system/lib/liblog.so
push: files/system/lib/libcutils.so -> /system/lib/libcutils.so
push: files/system/lib/libm.so -> /system/lib/libm.so
push: files/system/lib/libstdc++.so -> /system/lib/libstdc++.so
push: files/system/bin/linker -> /system/bin/linker
push: files/system/bin/sh -> /system/bin/sh
push: files/sbin/backuptool.sh -> /sbin/backuptool.sh
push: files/sbin/mkyaffs2image -> /sbin/mkyaffs2image
push: files/sbin/wipe -> /sbin/wipe
push: files/sbin/fix_permissions -> /sbin/fix_permissions
push: files/sbin/reboot -> /sbin/reboot
push: files/sbin/tune2fs -> /sbin/tune2fs
push: files/sbin/recovery -> /sbin/recovery
push: files/sbin/mke2fs -> /sbin/mke2fs
push: files/sbin/log2sd -> /sbin/log2sd
push: files/sbin/um -> /sbin/um
push: files/sbin/fs -> /sbin/fs
push: files/sbin/unyaffs -> /sbin/unyaffs
push: files/sbin/nandroid-mobile.sh -> /sbin/nandroid-mobile.sh
push: files/sbin/e2fsck -> /sbin/e2fsck
push: files/sbin/flash_image -> /sbin/flash_image
push: files/sbin/busybox -> /sbin/busybox
push: files/sbin/ums_toggle -> /sbin/ums_toggle
push: files/sbin/adbd -> /sbin/adbd
push: files/sbin/parted -> /sbin/parted
push: files/sbin/sdparted -> /sbin/sdparted
push: files/sbin/dump_image -> /sbin/dump_image
push: files/sbin/toolbox -> /sbin/toolbox
31 files pushed. 0 files skipped.
1203 KB/s (3734509 bytes in 3.031s)

Pushing update file to device sdcard - this may take a few minutes...

failed to copy 'rootedupdate.zip' to '/sdcard/rootedupdate.zip': I/O error

Now wipe and apply rootedupdate.zip from the recovery image menu.

nohup: appending output to nohup.out
^CTerminate batch job (Y/N)? y[/codebox]

After finally getting Step 2 working, I ran into the problem of Step 2 NOT being able to copy rootedupdate.zip to the SD card properly. After Step 2 had completed my Legend was on the recovery screen but it could not complete the Flash ZIP from SD card step, so I ended up loading a custom ROM (Cyanogen 6.1.0) onto the SD card and flashed it. All good!

0

Share this post


Link to post
Share on other sites

Hi guys. First i want to thank you all for the great work you all do. Seen al lot of it all around the internet.

I am running Gingerbread on my Desire and it works like a charm. My wife has a Legend and is making me crazy and begging me to install Gingerbread on her legend to.

After reading tons of posts it should work if i do the downgrade first (she's running 2.2 now with the latest Hboot). I only have one question regarding the goldcard. My wife's Legend is completely unbranded and original HTC. If i read ok, there is no need for me to create a goldcard for the Legend because this is only necessary if you do have a network branded phone.

So, the short question is: Do i need to create a goldcard when i am going to root this phone and run custom firmware, if my Legend is unbranded and original HTC?

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2016. MoDaCo uses IntelliTxt technology.