• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[GUIDE] Gain root access HTC Hero TMobile

Search This thread

akuma24

Senior Member
Jan 18, 2010
429
28
I have finally managed to root my phone. after trying for a rather long time, i did it yesterday and am running modaco custom ROM which is superb. I have listed the instructions I followed in case anyone else is having the same issues as i had

(unable to backup via amon RA image - backup failed)

Text in Bold indicates something you need to type
(Instructions taken from various sites - for XP only - Credits to Unlocker & Modaco)

If your current build number is 2.73.405.5 you can skip the Goldcard section

Phone Details:
Model Number
T-Mobile G2 Touch
Firmware Version
1.5
Baseband Version
63.18.55.06FU_6.35.07.08
Kernel Version
2.6.27-0078c992
Build Number
2.73.110.26 CL#69351 release-keys
Software Version
1.0.0.A6288

In order to root the phone, I had to downgrade the build number from 2.73.110.26 to 2.73.405.66.

Setting UP ADB on XP

First things first, we need to download and setup android SDK,
1) sdk can be downloaded from developer.android.com/sdk/

2) Extract the file to c:\AndroidSDK

3) Plug your phone in to the pc via USB cable. Windows should automatically find the drivers and you should get a message in the bottom right corner saying "device is setup and ready to use" (or something similiar).

Any issues here, google is your friend, find the drivers for your device ;)

4) Now that windows can "see" your hero, click on Start, Run, type cmd and hit enter.

5) on this screen we need to check if adb is working so change the directory to where we extracted the sdk folder:
cd\ press enter
cd\ AndroidSDK\tools press enter
adb devices press enter

You should get something similiar to:
List of devices attached
HT9BTL900210 device


6) If you see this number, all is ok so far.

Now that adb is setup and we can communicate with our phone from the pc we need to create a Goldcard

Create Goldcard
( I tried with a 8GB ScanDisk and it worked)
Take a bakup of your sd card data, copy the files to your pc, before creating
a Goldcard as we need to format the card.

1) Ensure SD card is in your phone, click on Menu | Settings | SD Card & Phone Storage | Unmount SD card, wait a few ticks, then click on Format SD Card

2) Press back a few times and go to Settings | Application | Development and put a tick in USB Debugging

3) Connect the phone to the pc, then click on Start | Run | enter cmd and hit enter, we get the same command window as before

4) Now we need to obtain a code so that we can create the gold card. in the command prompt enter the following:

cd\ press enter
cd\ AndroidSDK\tools press enter
adb devices press enter
you should see a serial number displayed

5) Now type the following

adb shell press enter
cat /sys/class/mmc_host/mmc1/mmc1:*/cid press enter
You should get something similiar to this:
045354535230384780705c3088008a10

Make a note of this code.

6) Next go to this website >> http://hexrev.soaa.me/ , enter your code and click on Submit and make a note of the new code

7) Now go to http://revskills.de/pages/goldcard.html, fill in your details and paste the code, click on submit and check your e-mail. The godcard will be e-mailed to you, save this to your desktop.

8) Now we need to download and install a HexEditor so click the following link, download and install
http://download.cnet.com/HxD-Hex-Ed...068.html?part=dl-HxDHexEdi&subj=uo&tag=button

9) On your phone, pull down the notification bar and click to copy files to your computer, Click on Mount

10) Open the HexEditor and click on Extras | Open Disk | Under Physical Disk select Removable disk, uncheck "Open as Read Only" and click OK

11) Click on Extras | Open disk image | select the goldcard.img file (sent to you via email) Click ok when prompted for the disk size (512 Hard Disk/Floppy Disk)

12) You should have 2 tabs, one is your sd card and the other the goldcard. click on the goldcard, click on Edit | Select All, then Edit | Copy.

13) Click on the sdcard (removable disk) tab, highlight from offset 00000000 to 00000170, click on Edit | Paste Write. The highlighted cells should go red.

14) Click on File | Save and close the HexEditor

15) On your phone, pull down the notification bar and select to turn of USB storage. Pull down the notification bar again and click to copy files to your computer, Click on Mount. If XP opens the SD card all has worked ok.

16) On your phone, pull down the notification bar and select to turn of USB storage. Reboot your phone with the goldcard (sdcard) still inside.

Downgrade to an older ROM

1)You should already have HTC Sync installed on your computer, if not head over to http://www.htc.com/www/SupportDownload.aspx?p_id=283&cat=3&dl_id=852 | download and install HTC Sync

2) Next we need to down load the ROM, RUU_Hero_HTC_WWE_2.73.405.5_WWE_..exe which can be downloaded from here http://www.megaupload.com/?d=RCQ6V92U

3) Connect your phone to the pc and ensure HTC Sync picks up your phone, any issues here, either reboot your pc or phone until the phone\pc can see each other.

4) Double click the file you downloaded RUU_Hero_HTC_WWE_2.73.405.5_WWE_..exe and follow the instructions. they are very straight forward. It can take up 10 mins to complete.

Hopefully you should now have a phone with the Build Number as 2.73.405.5
If this is the case, continue reading.

Download Custom ROM

Now would be a good time to download the ROM you want to use, I am currently using Cronos which is based on 2.1 and is super quick

http://www.cronosproject.org/forum/viewforum.php?f=16&sid=332f8bccd0147f4ee8eb093920eb428d

1) Once downloaded, rename the file to Update.zip

2) Connect your phone to your pc and pull down the notification bar again and click to copy files to your computer, Click on Mount.

3) Copy the file, Update.zip to the root of your SD card.

4) On your phone, pull down the notification bar and select to turn of USB storage


Gain ROOT access


1) On your phone, click on Menu | Settings | Applications | put a tick in "Unknown Sources"

2) Connect the phone to your pc and on your phone, pull down the notification bar and click to copy files to your computer, Click on Mount

3) Download the following 2 files and save them to your desktop
http://zenthought.org/content/project/flashrec Version 1.1.3
http://www.megaupload.com/?d=WP29CWHK recovery-RA-hero-v1.5.2.img

You can also use recovery-RA-hero-v1.5.3.img but I found version 1.5.2 worked for me.


4) Copy both of these 2 files to the root of your SDcard, should show as Removable disk\media within "My Computer"

5) On your phone, pull down the notification bar and select to turn of USB storage. Disconnect your phone from the pc

6) Go to the market place and download a file manager, I used ASTRO

7) Open ASTRO and select flashrec-1.1.3.apk (the file you copied over), if prompted select package installer. click in Install if it doesnt automatically install the app

8) Open FlashRec (click on open after install) and click on Backup Recovery Image. Should take a few seconds to backup

9) Now click on the empty text box and type the following
/sdcard/recovery-RA-hero-v1.5.2.img then click on Flash Custom Recovery Image . It should take to long doing this, 10 seconds maybe

10) Power of your phone, once shutdown, hold down the Home and Power button together until the phone boots in to recovery mode

11) On the Recovery Screen, select Backup/Restore (using the trackball) and then Nand backup, this should take a minute or so

12) Next click on Wipe and select Wipe data/factory reset

13) Now select Flash zip from sdcard, this can take up to 5-15 mins. Once this is done, it should prompt you to reboot your phone, if not select "Reboot system Now"

14) Done, hopefully if everything when according to plan your phone should boot with Cronos (whichever rom you chose), the first time it boots it can take ages.

Update Radio

Check to ensure the radio version is 63.18.55.06JU_6.35.09.26, If yes skip this section, if not you can download it from the Modaco site

http://android.modaco.com/content/h...oms-radios-in-update-zip-format-for-gsm-hero/


1) Connect the phone to your pc and on your phone, pull down the notification bar and click to copy files to your computer, Click on Mount

2) Remove the update.zip file from the SD card

3) Rename the radio from 63.18.55.06JU_6.35.09.26 to Update.zip

4) On your phone, pull down the notification bar and select to turn of USB storage. Disconnect your phone from the pc

5) Power down your phone, select HOME and POWER to boot in to Recovery mode

6) Select Flash zip from sdcard, this should take roughly 5 mins, reboot the phone.

Thats it your done, If you click on Menu | Settings and nothing shows, reboot the phone again ( I had this rather strange issue)

Setting up SD CARD to work with A2SD

Follow this guide, its very good :)
http://androidandme.com/2009/08/news/how-to-manually-partition-your-sd-card-for-android-apps2sd/

Hopefully you now have a rooted phone all setup and working. As someone on here said, Road to Freedom :cool:
 
Last edited:

drspikes

Senior Member
Aug 29, 2009
174
16
London
Thanks for this.

I'm still stuck. The goldcard seemed to work twice but when I tried the RUU_Hero_HTC_WWE_2.73.405.5_WWE_..exe it said "waiting for bootloader" and the screen on the Hero had changed to the white screen with 3 skateboarding androids and what looked like a selectable option "?RUU USB", can't quite remember but there was no way of selecting it and no buttons advanced the process.

Don't know if anyone else got this? Any tips on what I'm doing wrong?
 

akuma24

Senior Member
Jan 18, 2010
429
28
did you receive any erros on your pc, i,e the RUU setup should be running andupdating you with whats happening, did that throw an error?
 

drspikes

Senior Member
Aug 29, 2009
174
16
London
I will do it again tonight but got something along the lines of "waiting for bootloader.....timed out" Will confirm in the next hour, but some other threads said they needed to create a gold card a few times before one worked.

Any advice welcome
 

drspikes

Senior Member
Aug 29, 2009
174
16
London
On the windows RUU update utility I get
ERROR [171]: USB CONNECTION ERROR

This is despite the device syncing well and being fully recognised by RUU until failing waiting for bootloader....

On the HTC Hero I get a white screen with 3 skateboarding androids on it.
On the white screen at the top I get
HERO CVT SHIP S-ON
HBOOT-1.76.0007 (HERO10000)
MICROP-010f
TOUCH PANEL-SYN0104
RADIO-6.35.07.08
Aug 4 2009, 19:43:30 (not the current time)

RUU USB <---- Highlighted in orange. making me think you could select it, however, no buttons on the device do anything. The Hero stays like this until I pull the battery out but then it boots normally (even after the RUU.exe exits). If I pull the USB cord out, the USB text dissapears and only RUU remains highlighted.

Any ideas? The SD card used is the stock one shipped with the device which others have said works fine. If no one has a better idea, I will try later using my other 8gb card, but this is a pain as I have to back it all up.
 

drspikes

Senior Member
Aug 29, 2009
174
16
London
I formatted the SD card ie non-gold card version and repeated the RUU and got the same message so I'm assuming the goldcard didn't work. Sigh... not to back up my 16Gb card...
 

Detol Loki

Senior Member
Apr 6, 2010
81
0
Newcastle
So i got a SD card another member recommended as working as a gold card = no go.

This is getting beyond a joke now. Nobody has information on what the actual
credentials are for a card to be use able? I've spent too much money on this crap
I think I'll just sell this ****.
 

drspikes

Senior Member
Aug 29, 2009
174
16
London
So I tried my 16Gb card but that didn't work either.

I don't think I'm that unlucky to get two cards which won't work as Goldcards and am very confident I have followed the instructions correctly.

The only thing I can think of is that as my phone was returned from being fixed only two weeks ago, they may have patched the kernal so even Goldcard will not work. Sigh, I might just have to wait for T-mo to pull their finger out with the 2.1 upgrade.

For what it's worth, Kernel version:
2.6.27-0078c992
Build : 2.73.110.26
Software version: 1.0.0.A6288
 

Detol Loki

Senior Member
Apr 6, 2010
81
0
Newcastle
Kernel Version:
2.6.27-0078c992
[email protected] #821

Build Number:
2.73.110.26 cl#69351

Software Version
1.0.0.A6288

Bought and last updated in December 2009

Anyone with the same build etc that was able to gold card?
 

drspikes

Senior Member
Aug 29, 2009
174
16
London
Thanks for this info.

Looks like it's the same. No-one with a goldcard in south london wants a little visit from me and my Hero ?!? :)
 

akuma24

Senior Member
Jan 18, 2010
429
28
Chaps, I tried 3 times and on my fourth attempt I was successful, I used a 8GB Scandisk Card which worked. I gave up twice but eventually got lucky and it worked so I understand your frustration

It maybe worth uninstalling and re-installing your drivers, or you can try this:

USBDeview >> http://download.cnet.com/USBDeview/3000-2094_4-10614190.html, download and install

Whilst the phone is plugged in, open USB Deview, find all the htc drivers and delete them, after deleting them, disconnect your phone and plug it back in, drivers should re-install,

Try again with a different USB port on your machine, let me know how you get on
 

drspikes

Senior Member
Aug 29, 2009
174
16
London
Complete success!

Seems it was a problem with Win 7 (32-bit).
Worked first time in Vista with the stock 2gb card already created using Win 7 earlier.
Happily now enjoying a custom 2.1 Rom!

Angry yet again with M$.
So pleased I've moved to Ubuntu as my main OS.
 

TheReverend210

Senior Member
Apr 7, 2010
232
133
Newcastle
I managed to get my goldcard work first time round, fortunately. I used a SanDisk 2Gb card, but curiously, I realised afterwards I forgot to format it, I still had all the hidden linux files (starting with a .) on it

I think all T-mobile branded hero's use the same firmware initially.

Also, I couldn't get the USB to work on Win7, had to go onto XP.

Finally, a guy at my work had the same problem, not being able to goldcard his Hero, I suggested to him, when he goes into the hex editor, include all off the offsets, like when you get down to 170, highlight all the way down to the right of that line.
 

j_simon208

Senior Member
Mar 14, 2007
77
1
I wasnt able to use either of my Win7 (32 or 64) to do this, but behold my daughters Netbook with XP was the winner!!! worked perfect..now...whats the best rom currently?
 

ddotpatel

Senior Member
Mar 10, 2010
1,161
7
Leeds, UK
I wasnt able to use either of my Win7 (32 or 64) to do this, but behold my daughters Netbook with XP was the winner!!! worked perfect..now...whats the best rom currently?

I highly recomend MCR3.2 (MoDaCo Custom ROM for GSM Hero) ,... Fast, stable,.... No complaints at all. I flashed this on the 1st day i got my HERO,... Now waiting for a stable Android 2.1 release,... Probably MCR4.0.
 

akuma24

Senior Member
Jan 18, 2010
429
28
I highly recomend MCR3.2 (MoDaCo Custom ROM for GSM Hero) ,... Fast, stable,.... No complaints at all. I flashed this on the 1st day i got my HERO,... Now waiting for a stable Android 2.1 release,... Probably MCR4.0.


I have to agree, modaco 3.2 is fantastic, even when memory is running low its still quick, Paul has done an excellent job, flashed the hero with modaco 3.2 as soon as it was rooted, havent tried anything else yet