[HOWTO] Rooting your Legend! Guide from MoDaCo!

c_man

Senior Member
May 3, 2010
334
6
0
London, UK
The guide

Follow through these steps, one by one and at the end of it you'll have a rooted Legend with the latest ROM.

Note: This process will wipe your device and there is currently no option to backup your device ROM before you start.
  • Make your microSD card into a goldcard by following these instructions (it's a good idea to back up the contents of your card first!).
  • Unzip the file you downloaded to a directory, then open a command prompt / terminal window at that directory.
  • Turn off your HTC Legend, then turn it back on with the 'back' button held down. You'll see 'FASTBOOT' written on the screen in a red box. Connect the phone to the computer.
  • In the terminal window, enter either 'step1-windows.bat', './step1-mac.sh' or './step1-linux.sh' as appropriate.
  • When this step has completed, REMOVE THE GOLDCARD and either format it and replace, or replace with a different (non goldcard) microSD.
  • Navigate to the 'BOOTLOADER' and then 'RECOVERY' option on the menu, using the volume buttons to move and the power button to select.
  • In the terminal window, enter either 'step2-windows.bat', './step2-mac.sh' or './step2-linux.sh' as appropriate.
  • When this has completed, your device should be at the 'recovery' screen. Select the 'wipe' option, then select the option to apply an update zip from sdcard, and select 'rootedupdate.zip'. This will take a little while, so go make a nice cup of tea. When the flash has finished, reboot, and you are DONE!
So as I bought my Legend unlocked/unbranded, I just follow Pauls guide in the OP and ignore the bits in RED?

Correct.
/10char
Can anyone advise... if I follow the above process WITHOUT a Goldcard and the process does not complete and ends with failures, at either Step1 or Step2...will my Legend become bricked, or can I just turn it off and turn it on and it will be as it was before I tried anything?
 

Zionator

Senior Member
Jan 28, 2009
2,120
640
198
Birmingham
www.Infowars.com
So as I bought my Legend unlocked/unbranded, I just follow Pauls guide in the OP and ignore the bits in RED?



Can anyone advise... if I follow the above process WITHOUT a Goldcard and the process does not complete and ends with failures, at either Step1 or Step2...will my Legend become bricked, or can I just turn it off and turn it on and it will be as it was before I tried anything?
i don't know if anyone can install with out gold card but if u read my post before ur's then u can skip step2!!! And i could return to standard os when failing to root but cant guarantee ur's will!!!
 
Last edited:

Zionator

Senior Member
Jan 28, 2009
2,120
640
198
Birmingham
www.Infowars.com
:cool: Lucky you!

I have to get from 2.05.405.2 to 1.31 first :eek:
I wonder if I need a Goldcard for that, as my Legend is unbranded and unlocked - I will post in that thread...

Enjoy Azure :D
I would strongly advice u to go the goldcard way and when u r done and can't spare ur sdcard as goldcard just format it most times it will work only if u r unlucky it will mess up for u.
as for my self i have made it once and i have keept it from my first legend and am using a 8gb as sdcard while the goldcard is the one the came with the first legend.
 

c_man

Senior Member
May 3, 2010
334
6
0
London, UK
Ok, so I can copy my SD card contents to Mac, format it FAT32, use SD card as Goldcard, root, then re-format SD card and copy back contents from Mac to SD card right?

I don't think I have a Micro SD Card reader, is there any way I can format it from when it's inside my Legend and connected to Mac?

FYI - I am running OSX10.6 and Win7 64bit [via boot camp].
 

Zionator

Senior Member
Jan 28, 2009
2,120
640
198
Birmingham
www.Infowars.com
Ok, so I can copy my SD card contents to Mac, format it FAT32, use SD card as Goldcard, root, then re-format SD card and copy back contents from Mac to SD card right?

I don't think I have a Micro SD Card reader, is there any way I can format it from when it's inside my Legend and connected to Mac?

FYI - I am running OSX10.6 and Win7 64bit [via boot camp].
well u can make gold card on the phone as well i did it but i did so in Ubuntu 10.04 lts by using a simple command line.
Do u have ubuntu ? or is ur X 10.6 mac command similar to that of linux terminal ? sorry have only played once with a mac and swore never to do that again so i dont have any knowledge of mac and i only use win7 for BF2142 or wow so cant help u there ether :D
 

c_man

Senior Member
May 3, 2010
334
6
0
London, UK
well u can make gold card on the phone as well i did it but i did so in Ubuntu 10.04 lts by using a simple command line.
Do u have ubuntu ? or is ur X 10.6 mac command similar to that of linux terminal ? sorry have only played once with a mac and swore never to do that again so i dont have any knowledge of mac and i only use win7 for BF2142 or wow so cant help u there ether :D
"well u can make gold card on the phone" <-- what do you mean?

I don't know Ubuntu that well but I would guess the command line is similar? [that really is a guess]
 

Zionator

Senior Member
Jan 28, 2009
2,120
640
198
Birmingham
www.Infowars.com
"well u can make gold card on the phone" <-- what do you mean?

I don't know Ubuntu that well but I would guess the command line is similar? [that really is a guess]
lol safest way is to dl ubuntu free from there web site and install it as a virtual instead of full install then follow the how to adb for ubuntu and install adb, sdk, eclipse and the plugins for both adb/sdk manager and eclipse and u r ready to go.

Here is a guide from : http://www.lineardroid.co.uk/2010/04/how-to-set-up-adb-in-ubuntu/

9.10/10.04

From 9.10 onwards, eclipse is available in the Ubuntu repositories, which makes our job that bit easier.
Open a terminal and type
sudo apt-get install eclipse and if you are using Ubuntu 64bit sudo apt-get install ia32-libs
This will install eclipse as well as its dependencies, including Java Runtime Environment (JRE).
Now, open eclipse and go to “Help>Install New Software…” and click on “Add” near the top of the page.
Next Step

For Name and Location, type
Eclipse and http://download.eclipse.org/releases/galileo/ and click OK.
This makes dependencies available for the installation of the Android Development Tools (you do not need to install anything from here, you just need it in the list for the next part to work).
Next, go to “Add” again and for Name and Location, type
Android and http://dl-ssl.google.com/android/eclipse/
Developer Tools will now be available. Tick the box and click “Next”. On the next page, select all available packages, click “Next” and wait for it to download and install everything, click “Finish” and restart eclipse.
Now, we need to download the SDK and tell eclipse where to find it.
Go to http://developer.android.com/sdk/download.html?v=android-sdk_r05-linux_86.tgz and download the file. Once the download is complete, extract the archive and rename the folder “AndroidSDK” and move it to your home folder.
Download fastboot from http://android-dls.com/files/linux/fastboot and move it to ~/AndroidSDK/tools/
Open a terminal and type chmod a+x ~/AndroidSDK/tools/* to make ADB, DDMS and Fastboot executable.
Next, go back to eclipse and go to “Window>Preferences” and select “Android” from the left hand side. Under SDK Location, browse to you SDK folder (/home/name/AndroidSDK) and apply the changes.
Now, go to “Window>Android SDK and AVD Manager” and go to “Available Packages” on the left hand side. In the middle, expand the repository (if it is unavailable, got to “Add Site…” and enter http://dl-ssl.google.com/android/repository/repository.xml) and tick all available boxes. This will install all SDK components for android versions (highly recommended).
ADB, Fastboot and DDMS

Lastly, we need to make the device available to normal users as opposed to only root users AND available from the terminal without having to navigate to the tools folder.
Open the terminal, and type gedit .basrc (replace gedit with your favourite text editor) and at the top of the file, paste this (replacing ross with your username)
#AndroidDev PATH
export PATH=${PATH}:/home/ross/AndroidSDK/tools

This will make ADB, Fastboot and DDMS available from the terminal on next login.
Now, to make the device available to normal users, open a terminal and type
sudo gedit /etc/udev/rules.d/51-android.rules (replacing gedit with your favourite text editor)
Then paste SUBSYSTEM==”usb”, SYSFS{idVendor}==”0bb4″, MODE=”0666″
Save and exit.
Ensure that the rules are executable:
sudo chmod a+rx /etc/udev/rules.d/*
Then type sudo /etc/init.d/udev restart if you are using Karmic or
sudo restart udev if you are using Lucid
Congratulations, you can now use ADB, Fastboot, DDMS and eclipse with your Android device.
Note: idVendor may vary. Use lsusb from the terminal, look for your Android device and replace “0bb4″ with the first 4 characters after “ID”.
Thanks to wddglr for his excellent guide on setting up ADB
 
Last edited:

c_man

Senior Member
May 3, 2010
334
6
0
London, UK
lol safest way is to dl ubuntu free from there web site and install it as a virtual instead of full install then follow the how to adb for ubuntu and install adb, sdk, eclipse and the plugins for both adb/sdk manager and eclipse and u r ready to go.
After reading that, the easiest way is surely the PC Tool which makes a Goldcard for you: http://android.modaco.com/content/software/308798/pc-application-goldcardtool/ EDIT: Thanks for updating your post :) with the details.

I still didn't understand your comment: ""well u can make gold card on the phone" ..but time for bed now :)
 
Last edited:

Zionator

Senior Member
Jan 28, 2009
2,120
640
198
Birmingham
www.Infowars.com
After reading that, the easiest way is surely the PC Tool which makes a Goldcard for you: http://android.modaco.com/content/software/308798/pc-application-goldcardtool/ EDIT: Thanks for updating your post :) with the details.

I still didn't understand your comment: ""well u can make gold card on the phone" ..but time for bed now :)
well i meant that u have the sdcard in the phone and run the comand from terminal just a single line command and it will turn it into a goldcard i mean it the exat same way as with the dongle i just used my phone instead of the dongle.
 

dgupta

Senior Member
Jul 20, 2010
124
14
0
Thanks a lot for letting us know the importance of traceball and yr expert help... lol.

I suggest you read the instructions again and try the whole proceedure again from the beginning.
The trackball is the most sensitive part of the Legend build. use it to scroll up and down and press it to select an item, or use the volume up and down button and power to select alternatively.
Format your sd card and make a gold card again.
Let us know how it went.


Sent from my HTC Legend using XDA App
 

paulsmid

Member
Aug 15, 2010
12
0
0
Legend is dead now

Hi, tried step 1, was OK, but did not go into recovery mode
Now after reboot, it started OK, but no connection with provider, also not with other simcards.
Can anyone please help?? Urgens please, thanks.

Paul:mad:
 

SayNoToApple

New member
Aug 16, 2010
3
0
0
how do i make my legend go into recovery mode?
i pressed it but it shows me a phone with a red error sign
is that recovery mode?

nothing happen
tried step 2 but
failed
 

kyleh0000

Member
Mar 20, 2009
11
0
0
ok so far i have created the gold card all ok
step 1 complete all ok
step 2 complete but with errors
Wiped ok
Tried to apply update.zip from SD card and it says signature verification failed

any ideas?