www.rodneybeede.com "I would love to change the world, but they won't give me the source code" - unknown
 Navigation

Rooting your Sprint HTC Hero (CDMA) without loading a custom ROM - Last Modified 2011-05-10 14:56 UTC - Created 2011-01-31 00:52 UTC

These instructions tell you how to root the stock firmware on your HTC Hero (CDMA Sprint) Android phone without replacing the stock firmware. This is useful if you want the ability to run "root" only apps and wish to keep the same interface. You can also copy apps to your SDCard and run them from that to save on storage space.

You will need:

  1. Windows 7 Home Premium Edition 64-bit
    • Actually any version of Windows XP or later or Linux could work, but these instructions were written using a machine with Windows 7
  2. Java 6 JDK
    • Download latest from java.sun.com
    • Make sure you download the JDK
    • Download the 32-bit or 64-bit version based on your OS
  3. Google Android SDK (Zip or Installer)
  4. HTC SYNC UPDATE
  5. If your phone isn't on version 2.27.651.6 or newer
    1. You will have to erase all data on the phone
    2. Download HTC HERO (SPRINT) 2.1 SOFTWARE UPDATE
    3. After installing turn your phone off and on and trigger Sprint's over the air update to the latest version
  6. Cyanogen Community Root Exploit
  7. An SD card in your phone with some free space (at least 20MB)

Steps

  1. Backup everything on your phone!
    • I like SMS Backup (Christoph Studer) for backing up my SMS and MMS messages to my Google Mail
    • If you have a Google account you can login to it on your phone to backup all your contacts
    • Remember to backup your SDCard contents too
  2. If you need to update your phone software version do so now
    • Installing HTC SYNC before running the RUU update works best
  3. Uninstall any old version of Java
    1. Start
    2. Control Panel
    3. Programs and Features
    4. Look for any Java... entries
    5. Uninstall
    6. Reboot if asked
  4. Install the latest Java JDK you downloaded
  5. Install HTC SYNC if not already installed
  6. Install or unzip the Android SDK
    • Make sure to note which directory you install it in
    • You don't need to install anything from the SDK Manager
  7. Plug in your phone via a USB cable
    • Make sure your phone is in charge only mode and NOT USB Disk mode (don't mount the SDCard as a drive in Windows)
  8. Turn on USB Debugging on your phone
    1. Home Screen
    2. Menu button
    3. Settings
    4. Applications
    5. Development
    6. USB debugging checked
  9. Open a command prompt
  10. Go into the Android SDK directory
  11. Go into the tools sub-directory
  12. Place the Java JDK bin folder in your path
    • In the command prompt type set PATH=%PATH%;C:\Program Files\Java\jdk1.6.0_23\bin (may vary slightly)
    • Type in java -version to verify
  13. At the command prompt type: android and press enter
  14. Available Packages menu
  15. Click into Android Repository
  16. Select Android SDK Platform-tools ...
  17. Install Selected button (bottom right)
  18. Accept and install
  19. Tell it Yes to restart of ADB
  20. Close both windows
  21. Go back to the command prompt
  22. ctrl+C to kill the running program
  23. cd ..\platform-tools
  24. adb devices
  25. Make sure a line with some letters and lots of numbers appear. That's your phone.
  26. Follow the instructions at http://wiki.cyanogenmod.com/index.php?title=HTC_Hero_(CDMA):_Full_Update_Guide#Rooting_the_HTC_Hero_.28CDMA.29 and follow the Rooting the HTC Hero (CDMA) part
Other instructions that you may find useful are at http://wiki.cyanogenmod.com/index.php?title=HTC_Hero_(CDMA):_Full_Update_Guide