How To: Root Your Sprint HTC Hero
November 7, 2009 in Android How To's, Featured, How To's, HTC Sprint Hero How To's, Video
There is now a faster method to root using a new FlashRec app! Click here for the new procedure!
How To Root Your Sprint Hero in One Click!
!UPDATE 12.01.09: If you went to the above procedure and it did not work for you, please use the procedure below.
Finally there is root access for the Sprint Hero! Here is a quick How To for everyone.
Thanks Zinx (ZenThought.org)
Thanks Geoff!
Thanks XDA-Developers (as always!)!
Thanks JManley69 for brining the procedure from Sprint Community!
Thanks Sprint Community!
I. Before You Begin
You need to be able to access the phone via ADB.
Follow this procedure to get ADB setup on your Hero.
How To Setup ADB/Install USB Drivers
If you have Windows 7 you can follow this procedure if the above one does not work to setup ADB:
How To Setup ADB in Windows 7
II. Root the CDMA Hero
1. Download the following file and then unzip it.
2. Take the unzipped file and save it into the Tools folder of your AndroidSDK.
3. Plug your phone in via USB and do NOT mount the SD card.
4. Open the Command Prompt and type the following (hitting enter at the end of every line):
cd\
cd AndroidSDK\Tools\
adb devices
And make sure your phone’s serial number pops up (if not redo section I).
5. Then type:
adb push asroot2 /data/local/
adb shell chmod 0755 /data/local/asroot2
adb shell
/data/local/asroot2 /system/bin/sh
6. Then type:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cd /system/bin
cat sh > su
chmod 4775 su
All Done! You now have root access! Try to download a root program from the Market and see if it works
III. Flash a Custom Recovery Image (Optional. Only necessary for Flashing Custom ROMs)
1. After you have confirmed you have root access, you can flash a recovery image so you can flash custom ROMs.
2. Use this procedure to flash the Hero Recovery Image of your choice to the phone.
!UPDATE 12.01.09 – Sprint Hero Users – Flash THIS recovery image in the above procedure
Post if it works! Thanks!
Reported Issues:
?



L33roy337 said on February 23, 2011
I get:
[1] Killed /data/local/asroot2 /system/bin/sh
Jmr01 said on March 4, 2011
I had just tried to use to root command prompts, but on the beginning of step 6 it says for me operation not permitted…How do I get pass this?
Jmr01 said on March 4, 2011
after the first line in step 6(mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system), the response back was “mount: Operation not permitted”
I tried to continue with the next lines but each one had an error. What should I do now?
Gibson87 said on May 17, 2011
what does the root actually do?
Kinsey Sheppard said on May 22, 2011
i get as far down as to put { cat sh > su } into the command prompt but it keeps saying “cannot create su: read-only file system” what should i do to get around it?
Anonymous said on June 20, 2011
Microsoft Windows [Version 6.1.7601]Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:UsersMost Wanted>cd/
C:>cd AndroidSDK/tools/
C:AndroidSDKtools>adb devicesList of devices attachedHT045HF00115 device
C:AndroidSDKtools>adb push asroot2 /data/local/970 KB/s (74512 bytes in 0.075s)
C:AndroidSDKtools>adb shell chmod 0755 /data/local/asroot2
C:AndroidSDKtools>adb shell$ /data/local/asroot /system/bin/sh/data/local/asroot /system/bin/sh/data/local/asroot: not found$ /data/local/asroot2 /system/bin/sh/data/local/asroot2 /system/bin/sh[1] Killed /data/local/asroot2 /system/bin/sh$ mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /systemmount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /systemmount: Operation not permitted$ cd /system/bincd /system/bin$ cat sh > sucat sh > sucannot create su: read-only file system$ chmod 4775 suchmod 4775 suUnable to chmod su: No such file or directory$
THATS WHAT I DO AND I DONT KNOW WHAT TO DO TO GET ROOTED FROM HERE… PLEASE HELP??
fuck u said on July 1, 2011
this website is spam it completely overrode my spyware settings allowing ads to pop up and continuios frozed my computer. do not trust it!
Matt Sparks said on July 9, 2011
obviously youre the dumbass here i havent had one pop up
get MBAM it’s the shit for blocking pop ups dumbass
Jayhawk said on July 25, 2011
I followed the directions and it worked fine. Thank you. Next step upgrade the OS to Android 2.3.
Kiddrosiee said on July 30, 2011
it keeps saying path cannot be found. not working at all!
Mabel said on September 8, 2011
sooo anyone with a Hero post 2.1 = No Root For You? is this the consensus? =(
can’t wait for Sprint’s iPhone… although Sprint sucks swampass here on the west coast so maybe I’m waiting for nothing. *sigh*
Linkwulluf said on November 13, 2011
recovery-RA-heroc-v1.2.3.img link broke