yashsingh1/xdaforums huggingface dataset:
[Legend Android Development] AngeloLegend:
1. Connect the phone in charge only mode.

2. run crackin.bat

3. even if you end up with the cr--rw---- download and install modaco visionairy apk

4. temproot phone.

5. in cmd, type adb shell, then ''su'' and accept super user permissions on phone

You should see a # <this means you have the permissions.

6. in cmd, type: /data/local/flash_image misc /data/local/misc1-2.img

7. run the RUU again. it should work now.

Thanks to: http://android.modaco.com/content/htc-legend-legend-modaco-com/323201/downgrading-from-froyo-ota/ (the apk can be found here)

good luck :)
[Legend Android Development] makedonii:
ty man! i had the same problem and it worked for me! ty wery mutch again! :)
[Legend Android Development] seereek:
Dude, I've tried it all.... I ran it under recovery, charge only (debugging on of course). And one f***** big nothing ;( I tried different ways to create a Goldcard and It says it's been succseful but still can't tell. I downloaded any adb drivers for legend, updated existing ones. I did termroot and run cmd but still nothing - I can't get specified line ;/ Besides, when I reboot legend in recovery mode, console says (after adb devices) 'device offline'. I tried to found out a solution but - sadly, I haven't. So I gave up. I think that in few days I'll try this whole procedure again, because i really want to have CM7. It's very sad that we ain't got one click method to root (downgrade if its necessary and perm root).

update.

Done&Done.

I changed OS and made everything under XP. Works great.
[Legend Android Development] zerodi:
oh ! do u think it would work with windows7 32bit cas ive been trying on 64bit for several hours and i cannot for the life of me get this thing to downgrade, its very stressful !!
[Legend Android Development] seereek:
Where have you stuck? i dont know the deal with 64bits cause ive been using 32 so far and i got my trouble anyway... i couldn't get the line crw........ so i tried it under xp and it worked great. if you feel like it's not gonna get you anything under 64, try it on 32. u have nothing to lose
[Legend Android Development] zerodi:
thanks yeah , im stuck on the crw part, i have xpmode on win7 but i dont think that will recognise the usb
[Legend Android Development] seereek:
i'm not quite sure it does...

Did You try this way?? I read it helped many times.
[Legend Android Development] kanada_green:
i have tried every method possible but i get error 171 and the phone gets stuck at the black HTC screen......can someone explain what i'm doing wrong.
[Legend Android Development] rampee:
How I rooted a friend's 2.2 Stock Legend

I was trying this for 4 whole days with no luck.

The Legend was running the stock 2.2 (Asia) firmware - s/w v3.15.720.3. Tried numerous methods to downgrade to s/w v1.31 and went through almost all the errors people have posted here. 4 days of errors!

I'm using a Windows 7 machine with the latest HTC Sync 3.x (as 2.0.3.3 did NOT install). I don't think it matters much. Just make sure adb drivers are in place (hint: look for this program called PDAnet).

I found that it is really easy to make mistakes when making the goldcard.

The easiest way to create the goldcard is through this tool:

http://sites.google.com/site/roothtchero/goldcard-2

After making the goldcard, I followed this step by step, from section III:

http://theunlockr.com/2010/06/07/how-to-root-the-htc-legend/

Worked like a charm. I'm successfully running CM7 now!

Hope this helps others who face similar issues.
[Legend Android Development] duffcase:
This happened to me as well. What I did was finish the RUU installer, unplug the usb cable, replug the usb cable, then restart the RUU installer. --> Installation success.

Hope this can help others as well.
[Legend Android Development] GeyerA:
Dear all,

I can confirm what Duffcase said.

I always needed to launch the RUU.exe twice. I did not unplug the USB though. So when the timeout messages shows up, just close the application and re-launch without touching the phone. It will stay with the black screen and exclamation mark. Second round, the application will find the bootloader.

Make also sure that you made your goldcard while the card was in the phone not in the computer. Might have an influence too and I also noticed if one goldcard did not work, try to buy another same size.....

Good luck

Andreas
[Legend Android Development] PaulKemp:
Hi, I can confirm that the following method is working on Win 7 x64:

1. Connect the phone in charge only mode.

2. run crackin.bat

3. even if you end up with the cr--rw---- download and install modaco visionairy apk

4. temproot phone.

5. in cmd, type adb shell, then ''su'' and accept super user permissions on phone

You should see a # <this means you have the permissions.

6. in cmd, type: /data/local/flash_image misc /data/local/misc1-2.img

7. run the RUU again. it should work now.

Thanks to: http://android.modaco.com/content/ht...rom-froyo-ota/ (the apk can be found her

However, I was having some issues myself. I was using the wrong directory for adb. It got messed up when I was moving the files between my downloads folder and installing the Andorid SDK. Check that. It worked for me when i copied the files from hack4legend-v5.zip into my C:\Program Files (x86)\android-sdk-windows\platform-tools folder. And then Temprooted, su'd and run those commands. Good luck. Check the sdk version!
[Legend Android Development] PaulKemp:
BTW, this sould be on the first post! :)
[Legend Android Development] sadsac:
Guys Im trying to root my GF's legend, I've tried a couple of times to make a goldcard and each time the RUU installer fails after selecting the 1.31 update.

Its is Hboot 1.01 and 2.2 froyo.

Does this mean there is an error with my goldcard? How do I know if my goldcard is working properly - can I check somehow? Cheers
[Legend Android Development] LiViD:
Why do people fail to read the instructions? You cannot root while using the Froyo ROM. You must downgrade to EClair before rooting! This is a requirement!
[Legend Android Development] sadsac:
Sorry but ive spent hours reading here on xda and modaco. Im trying to downgrade to 1.31. Can I not downgrade from 2.2 to 1.31?

If not can I downgrade from 2.2 to 2.1? Then to 1.31. Have googled this for legend but nothing comes up.

Once downgraded I'll then try to root obviously. Maybe above I should have typed downgrade instead of root, although I am trying to root eventually!

Thanks in advance.
[Legend Android Development] cyRq:
1.31 is a RUU version, not an Android build.

God...
[Legend Android Development] LiViD:
Make sure you are using a regular SD card (2GB) and not SDHC. This will give you a better chance of having a goldcard that works.
[Legend Android Development] sadsac:
sorry guys, i have already rooted my desire s so maybe one <small> step above a noob?!

ive managed to downgrade build using visionaryplus.apk temproot method over on modaco, am off to root now. Thanks for replying

EDIT: have now rooted using the unlockr guide linked from xda and installed cm7.1.0 and gapps... cheers
[Legend Android Development] sadsac:
Thanks, i was using an 8gb sandisk sdhc card which didnt seem to work, switched to a 1gb generic card i had and it worked...
[Legend Android Development] iakovl:
trying to follow the guide and still have problems

getting error 131 : customer id error when i try to run RUU
[Legend Android Development] hong101:
Thanks a lot, it is working :)
[Legend Android Development] Kimmoth:
PITA every step of the way : (

I've modded a few phones before, but this one's making me feel like it's too hard. Yet I kind of need to get it done in order for the damn thing to accept my SIM and actually make calls...

Following this guide because my bootloader is 1.02.

Stuck at the point where I needed a goldcard, the Revskills page was returning errors, but after a couple of days it's come good, but of course I'm stuck on the very next step, dammit :eek:

When I'm in the terminal (does it need to be as admin?) and I run crackin.bat from the Android\android-sdk\tools directory with the hack4legend files in it, it returns "Copying tools", then 'adb' is not recognized as an internal or external command, operable program or batch file. a bunch of times, but still runs through steps "Freeing primary PERM linker", "Freeing secondary PERM linker", "Rebooting to normal mode to unlock CHMOD links", "Rebooting to normal mode to downgrade ROM", and "Freeing links", all the while spitting out the error, although I didn't notice the phone rebooting.

Now, I was pretty sure I have a working ADB, cause that was one of the hassles I've struggled with; there was a flag in my Device Manager about it until I sorted it, and now HTC Sync appears to work and so on. But anyway, whatever, I install the Android SDK to get around it, but no dice, same error. So I figure I should just add ADB to the path, right? So I add C:\Program Files\Android\android-sdk\tools\adb.exe to my path, and I'm still getting the same error.

It's driving me nuts this time around, every little step is broken down into several painful hassles. Just for example, my login timed out before I tried to post this... this forum's missing a head/wall smiley.
[Legend Android Development] smithchipz:
Hey mate you don't need to do the gold card method anymore. You can unlock your bootloader via HTCdev, root with HTCSuperTools v3 and then apply CWM via the S-OFF method.
[Legend Android Development] ranger4740:
Yes smithchipz is right you've already got hboot 1.02 so all you have to do is unlock the bootloader and flash the recovery Img, you don't even need HTC super root tools if your never going to use stock rom again just follow the normal rom flashing procedure.
[Legend Android Development] Kimmoth:
I managed to get the bootloader unlocked after another try at HTCDev; for some reason I couldn't get the code the first time.

Is there a guide to HTCSuperTools for the Legend? I tried option 4, 'Attempt S-OFF, SIM unlock, and everything else (using gfree)', and it referred me to HTCDev, saying I needed to unlock the bootloader : /

Then I tried flashing the recovery image, but got this error:

E:failed to verify whole-file signature

E:signature verification failed

Installation aborted.
[Legend Android Development] ranger4740:
For recovery use s-off method.
[Legend Android Development] Kimmoth:
Even though my phone is S-ON?

I gave it a shot with the phone in fastboot mode (it says FASTBOOT USB when I plug in the cable), but when I typed adb reboot bootloader, it returned:

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

* daemon started successfully *

error: device not found

And then when I tried again, it just said, error: device not found :(
[Legend Android Development] ranger4740:
I don't believe you need to do the reboot bootloader as your already in fastboot just do the fastboot flash recovery recovery.img
[Legend Android Development] Kimmoth:
The error I got was from doing exactly what you said, ie attempting to fastboot flash the S-ON recovery image.

Is there a guide anyone can point me to? I've got google fatigue bad.
[Legend Android Development] masterbalby:
I am also there
[Legend Android Development] wag3slav3:
Tester

I'm going to need a tester in about three hours. I have a nand unlock procedure, so we might get this done today.
[Legend Android Development] lengfo:
I 'm here ,I'm ready for test
[Legend Android Development] masterbalby:
I am disgusted. I leave in weekend this evening and I would not have a PC
[Legend Android Development] casca:
see it on the bright side mate, if something good happens, you'll have no trouble setting up your Legend, as everything will be tested already :)
[Legend Android Development] Joeball88:
Well said.

Also, I'm here for the testing! I'll be on IRC.
[Legend Android Development] ryaneu:
woo hoo, you guys rockkkk. i really appreciate what you have done.
[Legend Android Development] BesFen:
Iam here too.... just to give a support, if it happend, we will have more rooted legend's community
[Legend Android Development] casca:
working on it (actually joe and wag3) has we speak :) cross your fingers guys
[Legend Android Development] acid74:
Any progress so far??:confused:
[Legend Android Development] casca:
think so :)
[Legend Android Development] wag3slav3:
Yahoo!

Successfully changed rom version on mtd0. Either nand unlocked recovery or full RUU downgrade now possible.
[Legend Android Development] ch33syguy:
Goddamn, that's good news! How long until it's released? :D
[Legend Android Development] kyosa:
It's wonderful news!

cheers,
[Legend Android Development] drive2droad:
Thats amazing news ...
[Legend Android Development] marc22:
good news,thanks I hope to release very soon.
[Legend Android Development] ryaneu:
does it work on the 2.03 rom?
[Legend Android Development] wag3slav3:
Epic failure is epic. :(
[Legend Android Development] drive2droad:
What happened now ?
[Legend Android Development] Joeball88:
well I suppose the failure is ...legendary.

-cricket-cricket-
[Legend Android Development] acid74:
I had high hopes,,,,what's next:confused:
[Legend Android Development] Joeball88:
Agreed... I was working on this with wag3 all day! and we got next to nowhere... my hopes are dashed. :(

At least there is some interest out there now.

Also I can't thank wag3slav3 enough for his help. He really put a lot into this for us.
[Legend Android Development] acid74:
Sure he did his best and i deeply appreciate that...at least he heard our voices unlike many others...i am so sad.If i only could afford to buy another phone i would surely donate my legend to unrevoked just for the root sake but but...
[Legend Android Development] casca:
Big thank you joe and wag3...sorry not to be able to assist you guys...different timelines is *****d up...

Lets see if someone picks up our frustrated atuem.i've read at modaco, Unrevoked is working at Legend...
[Legend Android Development] loupiac45:
Is there a solution ?
[Legend Android Development] Joeball88:
Not at the moment. We did make some progress, but we didn't get to the 'root' of the problem.:D
[Legend Android Development] rpearl:
can the OP, wag3slav3, talk to us on irc?

freenode:##incredibleroot
[Legend Android Development] wag3slav3:
I'll be around again on monday. I'm acting in a play by Shakespeare all weekend.
[Legend Android Development] drive2droad:
Unrevoked can help , they need the hardware that is our HTC Legend ... help them out
[Legend Android Development] lengfo:
wag3slav3 ,thank you for your help to root our legend 2.03.

I want to know what is the problem to root

: technical problem ? time problem?
[Legend Android Development] wag3slav3:
technical problem
[Legend Android Development] acid74:
@wag3slav3

Any contact with unrevoked team?And thank you very much for trying to give us root for our devices.
[Legend Android Development] lengfo:
special?

Excuse me .

As you have rooted 'Incredible' and 'Eris' ,From technical point of view ,Can you tell me what is the special of the lengend(2.03) 's rooting protection .Why it become too difficult to root ?

If there is enough time ,Can the protection be hacked ? or it's just unpossible to root ? :confused:
[Legend Android Development] ryaneu:
it seems like the 2.03 rom has some kind of special protection that makes it alot harder to root. am i right?
[Legend Android Development] kylecore:
You should send the info you've gathered to unrevoked.com and see if they can give you some pointers and tips to help you out.

They said they'd try and get root but they don't have a legend to work with.

Maybe they could communicate with you and get something working?

Maybe even run some software that let's them use your comp via the web so they could technically use your legend but not have to be there?

Just a though but it could work :)
[Legend Android Development] wag3slav3:
There's a hardware lock on the filesystems that must be broken to be able to write the data to the internal storage.

It's unlocked in recovery mode, but there is no way to access anything in recovery. There's a bug in the boot process of the recovery system that is exploitable on the Incredible, which has the same writelock as the Legend.

The same bug is on the Legend, but the window of opportunity is much shorter. I am working on extending it through some USB host tricks and filesystem mounting tricks.

Don't give up yet, my new trick will allow us to have a 100% reliable root for Legend, Incredible (which is at about 5%, you just have to keep trying) and pretty much any Android 2.1 device.

My new Eris method technically works on all of the devices, but the hardware writelock is keeping me from using my read/write access to actually write. Linux is open, but the hardware is physically locked.

The old method of the Eris used the same vulnerability, that's what all of the SD card popping was, on most Eris' the success rate is about .02%, on some with specific issues is closer to 10%.
[Legend Android Development] wag3slav3:
Yeah, that would be nice. Unfortunately I have no way to contact them, and they actually go to quite a bit of trouble to obfuscate their methods. People do that for two reasons. First is to keep the device manufacturers from patching the holes with an update. The second is to be more elite than all the other "hackers" on the block. I have no idea which it is in this case. I did take apart their unrevoked kit for the incredible.

It's given me some places to look for unlocking the nand, but as they wanted to hide the method they use I won't go into it here.
[Legend Android Development] ch33syguy:
If you need a Bell test subject, PM away :P
[Legend Android Development] lengfo:
"Don't give up yet, my new trick will allow us to have a 100% reliable root for Legend"

Thanks for you resolution and all what you do for us .

Yes ,We trust you can do it .You are our hope and we (all of people who want to root legend 2.03 ) will never give up. Our hero will be here.

It seems to root legend 2.03 is just a time problem . :) haha...

If you need any help ,like test or repeat things (just told me how to keep try :P ) and so on , just post here ,We are very glard to do it and do everything what we can .
[Legend Android Development] ryaneu:
wag3slav3 , does your failed method allow us to downgrade our ROM from 2.03 to 1.31 by modifying mtd0.img and flash_image?

downgrading the hboot version?
[Legend Android Development] rpearl:
We're happy to work with other devs and we have. We only hide things to give HTC a hard time.

If you've found the way we unlock NAND on the incredible/evo/desire/aria, you'll also have found that it doesn't work on the legend.

If you've dug a bit further and found out why that particular exploit works on those devices, you may be on track for a similar one on yours. That, I can't tell. We're trying to get physical access to a myTouch Slide (which is the same hardware) to test things a bit.

We are on freenode IRC. Join ##incredibleroot for the time being, although our dev work goes on elsewhere.
[Legend Android Development] wag3slav3:
My method allows an overwrite of the misc parition, and the system is recognized in hboot mode as an older version of the ROM. The older RUU still refuses to downgrade the phone, even though it believes it's upgrading the phone.
[Legend Android Development] casca:
Wag3slav3, i just remembered something...we didn't tried the ruu with the goldcard method man!maybe it works along with what you've done...i was only able to upgrade to 2.03.405.3 with the goldcard...just remembered that....
[Legend Android Development] ryaneu:
what error message did it come out when you tried downgrading using an older version of ROM? is it bootloader version error?
[Legend Android Development] Joeball88:
It was 'Error [130]: Model ID Error'
[Legend Android Development] acid74:
Maybe as casca says a goldcard could do the trick.:confused:
[Legend Android Development] wag3slav3:
Put together a goldcard and test it Joe. We fixed the Model ID error and your phone was recognized as a legend again. You're ROM version is still 1.00.000 on your misc partition. We went back to your original misc flash with only the version number changed.

If that works for you I'll release the working misc flash script we built together.
[Legend Android Development] acid74:
Seems that Joe is offline pm me with instructions,i could quickly make a goldcard and give it a try.
[Legend Android Development] casca:
I think I'm right about the goldcard guys,simply due to the error 130. When both my hero and Legend didn't upgrade because of this error, i made a goldcard and voila...but let us wait for the feedback from joe. Let us hope that monday, is a fine day for science :)
[Legend Android Development] Joeball88:
umm holy sh*t guys... its working

will post back soon

omg
[Legend Android Development] CinqueXX:
irc?

Is there an irc chan this is all happening on live?
[Legend Android Development] Joeball88:
OK absolutely amazing news...

I've downgraded from 2.03 ROM to 1.31...

which means I can root! (hopefully!!!) I'm going to give it a try.

Sit tight!
[Legend Android Development] CinqueXX:
You might just about to become famous...
[Legend Android Development] lengfo:
Congratulate ,That means We can downgrad by RUU with wag3slav3 's method ?
[Legend Android Development] fearthefox:
Joe will be the new Canadian hero as I have been waiting for this.
[Legend Android Development] casca:
Well...for once i got a pretty good idea...about time!hahaha lol

team work across the oceans guys!that is what it is!Hell yeah!
[Legend Android Development] casca:
Success!rooted The Legend!great work joe And wag3slav3!Just wait for wag3slav3 batch release!mission complete!
[Legend Android Development] Joeball88:
Yep. So thanks to casca and wag3slav3, I now have root access! No word on when this will be publicly available, but to settle the minds of everyone, ROM v2.02 (and most likely 1.32 and 2.03) are now rootable!
[Legend Android Development] ch33syguy:
Adsafasdwafs

AWESOME news guys!
[Legend Android Development] fearthefox:
Hopefuly it will be avaiable soon I want to install more apps on my sd card. By the way CONGRATS.
[Legend Android Development] danishh:
**** yeah, that's awesome.

congrats, looking forward to doing this to my baby.
[Legend Android Development] Juicy47:
Let's hope wag3slav3 protects the batch file as an EXE so HTC can't see the loophole, other wise they will patch it.
[Legend Android Development] ryaneu:
can't wait for the release...
[Legend Android Development] wag3slav3:
Well, I guess we won! Scripts will be rolled tomorrow. :D
[Legend Android Development] marc22:
Congratulations guys
[Legend Android Development] ayo73:
wow ! congratulations too...

can't wait to root back my lovely legend.

Thanx a lot for this hard work !!!
[Legend Android Development] acid74:
The right idea at the right time:)...good job guys.
[Legend Android Development] loupiac45:
Congratulations for your wonderful work ! As others have said, a good idea at the right time!

Congratulations Joe and Wag3 but Casca !
[Legend Android Development] casca:
I hope that the Legend community grows, and that at least we have now good custom roms to put in it...wtf...I'll be happy just by being able to install stuff with A2SD lol!
[Legend Android Development] kefs:
w00t! congrats guys! the android community will only grow because of this!
[Legend Android Development] masterbalby:
I have anything else to say only BRAVO !!!!!!!!!!
[Legend Android Development] casca:
hey guys, the only problem now is that there is no one developing good updated roms for us, either with froyo, or at least based on 2.03.405.3!

I just wanted Froyo if possible, some tweaks and a2sd+ working correctly...

I hope this comes to boost things up...
[Legend Android Development] frullewulle:
Watch cyanogen Mod 6.0.0 thread. Is froyo based
[Legend Android Development] casca:
yeah,I just seen it, but it's still really buggy...and no sense(i kinda like it!)
[Legend Android Development] desiibond:
awesome guys. you are amazing. you are the best. I almost lost hope on installing rooted apps on my legend.

btw, can I use the same method to downgrade from 1.32 to 1.31?
[Legend Android Development] casca:
most probably yes.
[Legend Android Development] desiibond:
great. ready to test :)