How To: Gain Root Access on Your HTC Hero (OBSOLETE)

There is a new improved method for this procedure; How To Root Your HTC Hero in One Click!

Already got your new HTC Hero? Ready to get started unlocking its full potential soon as you slide it out of the box? Us too :)

Here is how to Root the HTC Hero so we can use Wifi Tether, Move Cache to SD card (to stop the issue of the phone slowing down after using it for a while), and load some custom ROMS!

1. Download these 4 files:
Android SDK
Fastboot (scroll to Fastboot tool and download the appropriate one for you computer’s OS)
CM-Hero-Recovery.img
Superuser.zip

2. Once you download the SDK, extract the SDK files to “C:\AndroidSDK”. Then extract the fastboot program to the C:\AndroidSDK\tools\ folder.

3. Extract the CM-Hero-Recovery.img.zip contents into the Tools folder in the AndroidSDK folder on your computer.

4. Extract the Superuser.zip contents into the Tools folder in the AndroidSDK folder on your computer.

5. Turn off the phone, then turn it back on by holding down the Power and Back button (to enter bootloader mode).

6. Plug the phone into the computer via USB. Make sure that it says FASTBOOT USB instead of FASTBOOT now.

7. Your computer should say installing drivers right now (if this is the first time you have connected the phone in fastboot mode). Hopefully your computer will automatically install them, but if it doesn’t then use this guide from Google to install the drivers.

8. Goto the Start menu type cmd into the run section of the start menu and hit enter to bring up the Command Prompt.

9.  Type the following into the command dos prompt on the computer (the black screen with white letters that just opened) while the phone is connected through USB, hitting enter at the end of the line:
cd\
cd androidsdk\tools\
fastboot devices

10. You should see a serial number pop up and the word fastboot to the right of it. This means that your USB drviers are all set up correctly and you can continue. If you do NOT see this, then you need to start over or Google for how to set up the USB drivers correctly (this will help).

11. If the serial number and the word fastboot next to it popped up, then go back to the command prompt on the computer and type

fastboot boot cm-hero-recovery.img

12. Once the phone boots up into the recovery screen type the following in the command prompt on the computer:

adb shell mount /system
adb push su /system/bin/
adb shell chmod 4755 /system/bin/su
adb push Superuser.apk /system/app/
adb shell reboot

13. Once the phone reboots, click the Menu button and click Settings.

14. Goto Applications > Development and check the USB debugging on.

15. While the phone is still plugged in, goto the Command Prompt still up on your computer and type:

adb devices

You should see a serial number, which means the computer is seeing the device.

16. Then type:

adb shell
su

The phone should pop up an su request. Click Always Allow on the phone.

17. Type:

reboot

18. Phone should reboot and you now have Root Access! Try downloading a program that needs root access and see if it works to test it out.


  • HTC HERO

    Permission denied ?????? Please help me :((((((

    • http://www.theunlockr.com TheUnlockr

      Hello HTC Hero,

      Read the bold writing at the top of the post….

  • http://kurdak.pl kurdak

    Hello.
    I use this tutorial to get a root acces.
    Thanks you, i dont need install Modaco Rom.
    Please, can you macke tutorial or tell me how I can du apps to sd now ?

  • Julian

    Much appreciated – Many thanks.

    Took me a few mins to realise on my PC setup I had to put the full directory path in to the commands to push some of the files up, but all done and tethered now!

  • Chrono

    Does this work in the new Hero rom?

    • http://www.theunlockr.com TheUnlockr

      Hello Chrono,

      Please read the bold writing at the top of the post. This method is obsolete, but there are links in the bold writing to the new method and that will work on the new Hero ROM no problem.

  • MV

    Hi Chrono,

    I have just rooted the new HTC ROM (first updated with htc site update):

    - Backup your stuff
    - Install the HTC provided update
    - Apply the One-Click method
    - Reboot by means of Home+Poweron
    - Do *this* howto, without the fastboot part (so skip steps 5+6+7)

    That will root the new rom..

    Marijn

  • Rob

    I have tried in vain to get my Hero G2 Touch to have access to ROOT, I previously had this until my G2 firmware was upgraded from t-mobile.

    When I get to the staged of entering FASTBOOT BOOT …..

    The result I get is download ‘boot.img’… (remote: not allow).

    I Cannot get any further, please could you provide in laymans terms a step to step guide on how to get rid of this restriction, I have checked the USB debugging is switched on and all the drivers on my laptop are current and OK…..

    Below is a list of the Boot Screen, which I hope help.

    HERO CVT SHIP S-ON
    HBOOT-1.76.0007 (HERO10000)
    MICROP-010f
    TOUCH PANNEL-SYN0104
    RADIO-6.35.07.08
    Aug 4 2009,19:43:30

    FASTBOOT USB

    please can you help as I and many others as I noticed are having the same problem, could you post a reply here to clear things up.. Cheers

    • http://www.theunlockr.com TheUnlockr

      Hello Rob,

      You are using the wrong procedure is why :) Says OBSOLETE in the title.
      Just did a new post for how to root the Hero when fastboot is not allowed. Called How To Downgrade The HTC Hero (So we can root it). Look for it and you can do that procedure to get it done. Good luck!

  • SDPurr

    Hello,
    I have a Hero locked to Orange, Do I need to root the phone and then install ROM 2.73.405.5. To unlock it ?

    Thanks
    Steve

    • http://www.theunlockr.com TheUnlockr

      SDPurr,

      This is the wrong procedure (it says OBSOLETE in the title and there is bold writing at the top of the post explaining why).
      Is your Hero on firmware (check in the about screen) 2.73.x.x or above? If so goto the How To Downgrade the Hero So It Can Be Rooted Procedure, if it is below 2.73.x.x then just go straight to the How To Root in One Click procedure.

  • wensterretje

    I have a G1 and white work on my vista premium pc n I would like to root my mobile and even build – an issue my G1 is DRC92.

    And yet everything I drive into terminal emulator I get permission denied. Why?
    what’s wrong??
    Please help me.
    thanks

    • http://www.theunlockr.com TheUnlockr

      Wensterretje,

      Why are you doing in the How to Gain Root Access on the HTC Hero? Please goto the How To Root the Mytouch/G1 procedure and make sure to read the before you begin… good luck!

  • Rolex

    hello.

    I got one problem.

    When i write fastboot boot cm-hero-recovery.img it says downloading boot img … FAILED remote : not allowed

    Can you please help me..

  • katiesays

    Hello
    I would like to view all cache and internet history on my htc hero. Is this possible? I know in the settings it says “clear cache”  & “clear cookies” but I want to view all of it, even if the internet history has been deleted. Does the phone operating system keep such information like a P.C? Cache files, index.dat  etc? please help..thank you.