BEFORE YOU START:

You need to be able to access your phone via ADB.

Read here: http://www.wiihacks.com/no-name-yet/...setup-adb.html


*****WARNING! THIS CAN BRICK YOUR PHONE*****
***DO THIS ONLY IF YOU UNDERSTAND THE RISK***


ROOT YOUR HERO!

Download these files: xda-developers

Unzip and add them to the Tools folder of your Android SDK

Plug your Hero in but DO NOT mount your SD card

Open a command prompt on your PC and type the following (press Enter after each line!)

cd\
cd AndroidSDK\Tools\
adb devices


Check to make sure your phones serial number pops up (if not, then redo the ADB setup above)

Then, enter the following commands:

adb push asroot2 /data/local/
adb shell chmod 0755 /data/local/asroot2
adb shell
/data/local/asroot2 /system/bin/sh


Then, type:

mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cd /system/bin
cat sh > su
chmod 4775 su


Congratulations! you now have full root access to your Hero!

*****WARNING! THIS CAN BRICK YOUR PHONE*****
***DO THIS ONLY IF YOU UNDERSTAND THE RISK***



OPTIONAL!

*****WARNING! THIS CAN BRICK YOUR PHONE*****
***DO THIS ONLY IF YOU UNDERSTAND THE RISK***


Flash a recovery Image (only needed if you want to flash custom roms to your phone)

1) Find a recovery image for your phone (they wont be posted here due to copyright and legal restrictions). MAKE SURE IT IS FOR YOUR PHONE!

2) Write down the name of the file EXACTLY as it is written (i.e RA-Hero-Recovery-v1.2.2.img)

3) Put the file on the root of your SD card

4) Download Terminal from the Market if you donít already have it and install it (there are a few different terminals in the Market some have an onscreen
keyboard and some donít experiment till you get one, also hold down Menu in some of them to bring up the onscreen keyboard if you donít see it).

5) Open the Terminal Program and type the following:

su
flash_image recovery /sdcard/name-of-recovery.img

(obviously replacing name-of-recovery.img with the one you wrote down earlier)

6) Phone should pause for a second and then show you a new blank line. Turn it off and back on by holding down Home and Power to ensure it flashed correctly. Done.

*****WARNING! THIS CAN BRICK YOUR PHONE*****
***DO THIS ONLY IF YOU UNDERSTAND THE RISK***