yashsingh1/xdaforums huggingface dataset:
[Legend Android Development] EpicSauce:
Thanks for this guide and the many follow up posts which have helped me understand what I needed to do to root my phone (stock Froyo, firmware 3.15 and HBOOT 1.01).

I'll summarise what worked for me - which isn't exactly the steps written in the guide. Like other posters I found some confusing bits which don't apply - thanks to ThauExodus for pointing out the correct steps in this situation.

After creating a goldcard, I followed the 2nd guide up to the flashing of LEGEIMG.zip (testimage.zip). BTW, after running 'adb reboot bootloader', I had to select the BOOTLOADER option with the power button to put the phone into FASTBOOT at which point LEGEIMG.zip is scanned for and found. (Unlike other posters I didn't have to remove the .zip extension from the file name...)

After a successful flash, I had an unrooted eclair rom with firmware 1.31 and HBOOT 1.01. I skipped the following step 'upgrading of rooted FroYo ROM' and went directly to step 7 in the 3rd guide which is to run the batch file 'step2-windows.bat'. This does the deed and patches the eclair rom so it is rooted.

What tripped me up was remembering to re-mount my SD card after copying files between my pc and phone. Otherwise it all looks too easy now! ;)
[Legend Android Development] udusilm:
Hi and thanks for great guide. There are tons of guides, so this guide is complex of them:)

I have unrooted legend with froyo(2.2) and hboot 1.01.

Althought i folllowed step by step this guide(starting with goldcard) and i have read all topic comments, still problems with LEGEIMG.zip(testimage.zip) telling me no image or wrong image in phone bootloader.

tried to remove .zp from file, recreated goldcard, nothing. I redownloaded r4_legend_boot.zip again but same. So does someone have updated file or working file? please link it here:) Seems its corrupted cause when trying to open zip file with windows, it shoud show some files on it? all other zip file will open. rootedupdate for example.

edit: i skiped the legeimg section and tried legend rooting scripts on next section in this guide and they worked now and i managed to root my legend:)
[Legend Android Development] w1ckedzocki:
I need help with a little problem here.

When i have to flash the misc image i get the following error:

# /data/local/flash_image misc /data/local/misc1-2.img

mtd: not writing bad block at 0x00020000

error writing misc: No space left on device

how can i solve it? is misc the normal place where android save the apps? How can i make enough space.

/edit:

Don't know if its important, my hboot version is 1.00
[Legend Android Development] TheLegendaryJay:
Try it again, I got that and tried again straight after and it worked. Odd, but it worked.
[Legend Android Development] w1ckedzocki:
Unfortunately it didnt worked. I tried it a few times and also did several reboots.

But the error message is now slightly different:

# /data/local/flash_image misc /data/local/misc1-2.img

mtd: read all-zero block at 0x00000000; skipping

mtd: MEMGETBADBLOCK returned 1 at 0x00020000 (errno=0)

mtd: not writing bad block at 0x00020000

error writing misc: No space left on device
[Legend Android Development] ThauExodus:
Have you tried to delete some apps or factory reset your phone before trying to root it? Your Data partition seem to be full...
[Legend Android Development] w1ckedzocki:
yes i deleted some apps = didn't worked

now i made a factory reset, seems that it also didn't worked
[Legend Android Development] ThauExodus:
Or maybe it can't write on your misc partition....
[Legend Android Development] w1ckedzocki:
hmm seems like my situation gets even worse :D

now i have problems to connect my phone to my computer. My Legend is connected, usb-debugging enabled but adb doesn't show me any device.

Before the factory reset it worked ...

/edit:

damn ... boot loop ...

/edit2:

today is not my day. I could fix the boot loop but now my legend isn't able to recognize my sd card anymore
[Legend Android Development] w1ckedzocki:
Ok i have some new facts.

When i had the boot loop i went into the bootloader. i had an older ruu (Eclair 2.1) as legeimg.zip there which i executed.

Well, i got back into the system but the sd card isn't working. but when i'm in the bootloader he recognizes the card (i know that because he found the legeimg.zip on the sd card).

Anyone has an idea?
[Legend Android Development] Framedtrash:
Hi Gents

I plan on rooting a legend running 2.2 but the link to the Vodafone FroYo OTA update is down

Can some one please post up a working link

Thanks

why didn't i just google it ha

here is a new link to the file HERE
[Legend Android Development] Framedtrash:
Mods can delete this post

Thanks
[Legend Android Development] anurag09:
stuck

can some one guide how to install clockwork recovery on phone. i have been stuck there for hours. plz help me as soon as possible. my network is gone i am unable to use my phone.:(:eek:
[Legend Android Development] namtrac:
You need FakeFlash, see the stickies.
[Legend Android Development] wildanw2:
adb: not found

Anyone please help me.

I got the '#' promt but how to push the goldcard.img?

I tried many times but always failed (adb: not found) though I already put the goldcard.img into the tools folder where the adb.exe is.

Also I tried to push flash_image and misc1-2.img but I got the same result 'adb: not found' :confused:

I really really want to root my Legend

My Legend have:

HBOOT 1.01.0000

Android version 2.2

Baseband version 47.51.35.17U_7.13.35.05

Build number 3.15.707.3 CL291292 release-keys

Thanks in advance
[Legend Android Development] jabbado:
Sounds like you're trying to run adb from a different folder to the one it's in. You have to be in the same folder, or add the path to you're PATH environment variable. Otherwise windows doesn't know where adb is.

\

EDIT: After re-reading your post and seeing you had su access, you're not trying to run the adb commands from within the shell, are you? You need to open one command prompt and give su rights (the "adb shell, su" bit). Then open another prompt to issue the adb commands.
[Legend Android Development] wildanw2:
adb: not found

I did temproot and execute 'adb shell' then 'su', that is why I got the '#'. I also put the needed files goldcard.img, flash_image and misc1-2.img in folder tools where the adb.exe is. Why I still got a message 'adb: not found' when I try to push those files? :confused:

Thanks

EDIT: Yeah I did it!!! :p

Thanks FeaRThiS for the guide and thanks to jabbado for opening my mind (sorry for my misunderstanding in English).

I'll share my happiness to anyone who are really really Noob just like me.

This guides were divided into three secsions; 1. Gold Card, 2. Downgrade 3. Root.

Just follow this wonderful guide step by step carefully and at the end, you'll get rooted Legend.

If you get 'adb: not found'

1. Open command promt and execute adb shell then su and you'll get "#"

2. Open another command promt and run the codes exactly what FearTHiS told.

If your phone do not find LEGEIMG.zip by itself just select and enter bootloader when you've already at the fastboot.
[Legend Android Development] Catnap:
Stop doing adb shell :P

adb push goldcard.img /data/local/ can't be run from within shell.

"Push goldcard.img to your phone via 2nd command prompt:" should tell you something.
[Legend Android Development] cobels:
step2-windows.bat does not finish. The legend stays in ! screen. What can i do?
[Legend Android Development] amvv:
use fakeflash method...
[Legend Android Development] cobels:
Thx for the reply but i you can only use fake flash if phone is allready rooted, or am i mistaken.
[Legend Android Development] wildanw2:
When you already at the ! screen, after running the step2-windows.bat, push volume up and power ,choose apply update.zip and follow the guide from the post 1.
[Legend Android Development] cobels:
The phone is not yet rooted, so i have executes step1- windows. Then i execute step2-windows which exit very fast and leaves me in ! screen.

What to do. I can not do update.zip because the phone i not yet rooted i think.
[Legend Android Development] wildanw2:
Did you follow the guide section 1 (gold card) and section 2 (downgrade)? If not, you MUST.
[Legend Android Development] Moby2kBug:
Worked like a charm, thx m8.

The only problem for me was that dreaded "SU" "permission denied" problem.

I solved it, via rebooting the phone and did a temproot with Visionary+ again.

So if U have the some problem, just reboot the phone and try it again. Maybe U will have to try it several times.
[Legend Android Development] pileot:
when im trying to use my goldcard i have that LEGEIMG.zip file in the root of the SD card, when i reboot it doesnt detect it, when i manually try to use it it says its an invalid file. help?
[Legend Android Development] NRGman:
works for me
[Legend Android Development] colors:
plz help me, having problem with the downgrading and maby making a goldcard? I tried using this method

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

and this

http://theunlockr.com/2010/03/10/how...te-a-goldcard/

the CID number is very different from the another. What´s the correct?

And i also having problem with adb. I get a # when i type adb shell su but then im stuck. It says adb not found :S why? tried googling the answer and got the tip to downloaded latest sdk, tried to kill adb.exe under taskmanager without luck.
[Legend Android Development] Catnap:
Well of course it is. If they were all the same you wouldn't need the generator, would you?
[Legend Android Development] colors:
You missunderstod me, i ment the CID number before reversing is the same, when i reverse manually and take to 00 from the beginning its way different att then the reversed CID number from goldcard tool. Why? The CID number should be the same when im talking about one phone? And whats the correct? the one from goldcard tool or the one i manually reversed with two zeros?

Edit: about the adb shell, probably find the solution, i have tried to type the adb commands in adb shell, never accured to me i must have two cmd windows open
[Legend Android Development] Catnap:
Just use this: http://android.modaco.com/content/software/308798/pc-application-goldcardtool/

It clearly says "...2nd command window".
[Legend Android Development] colors:
Ok, will do. Yes in this guide but i have looked at a Simplified version on my native language that didn´t have 2nd command windows info :P

Edit 2: Omfg so simple it was when i had the right info. Have now a rooted legend with cm7 =)
[Legend Android Development] QkSi1ver:
Help

I'm stuck at this stage at the end of step 2:

"Next step is upgrading of rooted FroYo ROM. Put FroYo update ROM zip to your sdcard and install it via ClockworkMod recovery. You may also flash backed up misc partition after that. Still in recovery mode and hooked with your PC switch to command prompt and restore it back:"

what is froyo update ROM zip.. is it the firmware.zip renamed to update.zip and the placed at the root of the SDCARD?

Is the "ClockworkMod" recovery the same as the "Recovery" found in the bootloader?

Thanks

BTW i was on BELL Froyo OTA updated at stock.

After several searches...i gave up on this method...at the end of step 2... I couldnt find anything about what the end of step 2 means ...

So i ended up doing paul's method...r4-legend-root ( step 1 and step 2) which failed on whatever sdcard i used as gold card... but when i tried on a winxp running on vmware, it went smooothly... got root after sometime...

installed ROM Manager after to get the CWM recovery and was able to flash Blayo's rom..
[Legend Android Development] alfagama:
ok, and now i dont know what have i done wrong....

i have made a goldcard and then i done what the 2nd guide says... at the end when i am in bootloader the phone finds the LEGEIMG.zip but i says that this is an older version... is this a goldcard problem or something else?
[Legend Android Development] QkSi1ver:
did you use other methods other than this guide?

In my situation, i used the goldcardtool to make my goldcard... ( so i skipped step 1) , then used step 2 up to flashing the LEGEIMG.zip... in bootloader it landed, it didnt recognize the zip right away, i recalled i had to choose back from the menu , to bring the screen to recognize the LEGEIMG.zip. Then i was in a different version of the ROM... at which point i hit a wall...

and improvised by using another guide ( which is basically step 3) skipping the flashing with VOdaphone froyo (end of step 2)... and then again hit another wall but this time it was related to win7 not picking up the goldcard so running the step1-windows.bat it hanged at writing zip....

my solution here was to run the step in a winxp environment... and it worked

To summarize (Condensed my experience of wasting 8 hrs over the downgrading and rooting):

1. I started out with this thread to root my Stock OTA BELL Froyo Legend with HBOOT 1.01 on my win7 32 bit pc

2. Instead of Guide 1, i used the goldcard tool from modaco to avoid typing errors in generating a goldcard... i used 3 different goldcards just in case prior to starting the process

3. Did Guide 2, until the flashing of LEGEIMG.zip, rebooted fine and i saw i has a different ROM with 2.1 installed and this is where i hit my first wall, where the end of Guide 2 wasnt clear enough for me . I didnt want to assume anything at this point and in the meantime i was stuck with a phone which didnt have service.

4. I wasted countless hours trying to figure out the end of Guide 2 but then decided to skip the end

5. Because Guide 3 mentioned i have to be on 1.31, i followed this wag3slav3 guide and this does the trick

6. Then I was ready to do Guide 3, but i hit another wall when running step1-windows.bat , it got stuck at writing zip. Tried different gold cards to no avail...then i found a blog about using a different pc or vmware with winxp.

7. Using the same gold cards i was able to complete the step 1, step 2 and YES... i rooted it!

8. INstalled Titanium back Up but it asked for root permission... which i granted but then told me im not rooted?!?! WTF but it turns out that i was missing a busybox... not sure what it was, but i was able to install it separately ... now it seems to be working fine... all the rooted apps like setcpu, rommanager works great although i'm not too sure how to use them yet...

Now the exploring part :P

hope this helps other ppl who wants to go through this ordeal... during my quest , i realize a lot of ppl like me who went through all the same process , depending on their pc, sd cards..etc has the same problem... some of them are great in posting feedback on the forum after getting help, but others who were in the same spot as me asking for help desperately never bothered post their feedback after a successful root although i see their post after asking about post-root questions... and another thing i learn is that google is indeed your friend... i did countless search to find ways of doing it differently after i got stuck and practically no live support :P... good luck
[Legend Android Development] alfagama:
thanks for the answer, i will try again an hope that i will do it this time.

i will be back (i hope soon...)
[Legend Android Development] BlaY0:
You obviously missed/f***ed-up the misc partition owerwriting part. That's the part you actually fake the system version numer so fastboot thinks your phone is running some ancient one and doesn't complain.

Sent from my HTC Legend
[Legend Android Development] alfagama:
it could be but i have made every step, i just dont know if i receive a message when i try to overwrite the misc partition, because i make every step and my phone did not react...
[Legend Android Development] BlaY0:
Well, check misc partition again to see which version number does it hold. Temproot again, adb shell, su and at the end execute "busybox strings /dev/mtd/mtd0". The last line it shows is version which should be less than 1.31.405.4. If it isn't, you messed something with a step I mentioned.

Sent from my HTC Legend
[Legend Android Development] alfagama:
thanks i will try again.
[Legend Android Development] alfagama:
after entering last command it says permission denied... where is the problem?
[Legend Android Development] QkSi1ver:
you meant the last command with adb to go in bootloader?

im not an expert but if you were able to use adb prior to this step, you can try going to booloader manually... power off and power on with volume back... it should pick up the legen.zip
[Legend Android Development] BlaY0:
Last command you are reffering to is "adb reboot bootloader". This command cannot return permission denied. Be precise dude!

Sent from my HTC Legend
[Legend Android Development] QkSi1ver:
i thought too but didnt want to assume anything :) coz im finished learning about update.zip in my sd card is the fakeflash from ROM Manager :)

btw, someone told me about your customized version, can i use it for the legend because it seems more updated than the one from ROM Manager ( which i have no idea why it would use an old version when from what i saw, there are 3.x versions ou there)

thansk
[Legend Android Development] alfagama:
I have tried to do this manually but i had the same message... the file is older...

and about the last command "adb reboot bootloader" it gave me "permission denied"...
[Legend Android Development] BlaY0:
As I said, your didn't overwrite misc partition with older version that's why bootloader complains!
[Legend Android Development] PaulKemp:
This is soo much easier on my desire HD. But, thanks for the guide! It worked, and i even skipped step 2 somehow. Happy rooting
[Legend Android Development] loscassapalle:
i have a problem after step2-windows.bat:

after wiping data, i select "flash zip", "rootedupdate.zip", but the it says

E: no digest for recovery-windows.bat

E: Verification failed

Installation aborted

any suggest?
[Legend Android Development] loscassapalle:
no one else had this problem:confused:

edit: probably i didn't need it, beacause i flashed cm7 (instead of it) and it works...
[Legend Android Development] amvv:
you haven't placed file flash_image in your sdk/tools folder in pc...
[Legend Android Development] retasor:
GSM/RADIO broken after rooting

I have finally rooted my legend. But I'm affraid that I have broken something.

I have installed the update-cm-7.0.3-Legend-signed rom.

after I have followed the rooting/downgrading steps from the following links.

http://xdaforums.com/showthread.php?t=725430

http://xdaforums.com/showthread.php?t=894465

http://xdaforums.com/showthread.php?t=746454

Now I can't connect to my carrier any more. I don't have any signal at all. WiFi is still working but I cannot make a phone call.

After reading all the step again I figured out that I has forgotten to put a backup back. In these instructions: "[GUIDE] How To Root HBOOT 1.01:"http://xdaforums.com/showthread.php?t=894465

adb shell
flash_image misc /sdcard/misc_backup.img
exit

I don't now if this can cause the problem but I don't have the backup anymore.

I hope that somebody has an idea what the problem could be and how I can solve it.
[Legend Android Development] retasor:
Solved

Sorry My Fault!

I had to put the battery cover on it because that one had the antenna I guess!

After putting that one back. Every thins is working!!!
[Legend Android Development] zabaknilesh:
After going through all the 16 pages I am still not very clear of rooting Legend.

My Legend is : 1.01 With stock 2.2 India Firmware.

Steps :

1) How to Backup stock 2.2 India update in case I need to revert before even starting the root or downgrade process. All i have is the temp root from Visionary.

2) After I do a backup of current stock Rom , It is very unclear on how to

a) Downgrade to hboot + 2.1

b) Root 2.1

c) install custom roms.

Can some good Samaritan spend some 15 mins to write a step by step guide ?

Legend is the phone that really has very less "Step by Step" Guides for noobs ..:(
[Legend Android Development] QkSi1ver:
I'll try to see if i can remember...

1) For Step 1, you will need to install either ROM Manager which comes with CWM recovery tool (but i think this needs you to be rooted but it wont hurt trying to install it anyway without root and see if you can use the back up in ROM Manager..which is nothing but calling CWM and is straight forward) ...or you can use Blayo's version 3.0X in this forum and copy it as update.zip in your root of the SD. Reboot your phone in recovery, you will see the triangle, press Vol Up and Power to pick up the update.zip, this will give you the menu to back up your ROM

2) a)You dont need to download HBoot if you just want to root... im also on 1.01.

b) Here's my personal experience on how i did mine ... http://xdaforums.com/showpost.php?p=13754628&postcount=134

c) Once you did step 2b) ... any ROM installation is simple... and is nothing but running CWM Tool in recovery ( or if you have installed ROM Manager is has the CWM tool included) and choosing the ZIP file which may contain ROM, updates, Radio...etc onto your phone...

Like you i feared about missing a crucial step reading all the long process /guides but in the end, once you get around this fear and actually do the step by step as it is described, you should be ok.

Always do a back up though...99% of the time you can get back from the back up :) with the CWM installed and the back up installed on your SD card...
[Legend Android Development] zabaknilesh:
Thanks QkSi1ver . I did the procedure successfully.

My Steps:

1) Goldcard as given in first page

2) Root with visionary, use RUU update.exe to downgrade to 2.1.

3) Root as per step 3.

No mistakes and perfectly done..:) Happy.

Now trying Blayo, then will try ogo2 and finally cyanogen 7.1rc1 or nightly builds..
[Legend Android Development] Opperpanter:
Thanks for this guide, worked out nicely.

Except for one thing:

When I try to boot into recovery (Via Power-VolumeDown), the phone loads into

the "!" screen.

What did I miss? Could this have to do with the fact that I didn't restore the original misc partition?

Thanks.

EDIT: I just restored the backup image of misc, but didn't help.

EDIT2: Just ran recovery-windows.bat but didn't help either. It showed the clockworkmod recovery, but any key press made it go back to the android recovery (like with Power and VolumeUp).
[Legend Android Development] die_braut:
Hi,

I've got serious issues pushing the generated goldcard.img to the phone. After I type "adb push goldcard.img /data/local/", adb keeps telling "not found".

I put the goldcard.img the every folder I could imagine, to C:\, to C:\adb\platform-tools\.

So what can I do to make adb push that file?

I successful got the image, also I have su.

Thanks in advance
[Legend Android Development] agentsky:
Help guys!!!

I've done the downgrade in my HTC Legend from Froyo to Eclair, but i'm having problem with the step1-windows on the rooting procedure...

My Hboot btw is 1.01

I'm getting...

"writing..."

how long should i wait...

Did i missed something...
[Legend Android Development] agentsky:
Found a solution and now rooted my Legend with custom ROM.

Just need to restart the PC and tried it again, and magic! all goes well...

after 4 hours of reading threads....
[Legend Android Development] maxq1:
posting this as it might help someone...

rooted an HTC legend a couple of weeks back for a friend. it was on hboot 1.01. on these steps from the unlockr, i got stumped:

running step2 gets me nada, even w/ those HTC sync install-shed. so i turned off the phone, copied BlaY0's custom recovery update to sd then did fake flash. it worked! note though that i was able to run step1 successfully first. step2, as in the modaco guide, i guess was only needed to run recovery from the Legend Rooting Tools.
[Legend Android Development] Meocene:
if anyone knows how to get any drivers to load under Win7 x64 i'd be sooooo grateful!
[Legend Android Development] Neardood1:
It says no device connected when i try to run part 2 in the downgrading bootlader section. Anyone know anyway to make it work? Also, while running part one it has an id verification error as well.