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:
?















Very nice. Returned mine yesterday. I doubt root access will create the physical keyboard that I think I really wanted.
But it is very nice, congratulations to all.
Like or Dislike:
0
0
Tried it on my droid. The asroot2 does not work.
$ /data/local/asroot2 /system/bin/sh
/data/local/asroot2 /system/bin/sh
[1] Killed /data/local/asroot2 /system/bin/sh
Like or Dislike:
0
0
Anybody try this on a moment yet?
Like or Dislike:
0
0
question. I can get to:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cd /system/bin
cat sh > su
chmod 4775 su
when i get to the cat sh > su I get a prompt saying “cannot create su: read-only file system. Am i doing something wrong??
Like or Dislike:
1
0
sorry i just saw the “post in forum disclaimer” doing it now.
Like or Dislike:
0
0
Just successfully rooted my Sprint Hero and about to root my GF’s Hero… Thanks for the guide!!
Like or Dislike:
1
0
Dank,
Glad it worked thanks for confirming! FINALLY!
Now we just need some ROMs
Like or Dislike:
1
0
rooted wi-fi tether does not work.
Like or Dislike:
0
0
Erik,
Others have confirmed it works. Where is the issue occurring?
Like or Dislike:
0
0
step 6 will not work on mine
((( i get this MSG ( /bin/smount: not found , please help
Like or Dislike:
0
0
The issue is addressed here:
http://code.google.com/p/android-wifi-tether/issues/detail?id=184
Like or Dislike:
0
0
Tried on the Cliq but once you get to step 6, it keeps saying Operation not permitted. =\
Like or Dislike:
0
0
Boooo was hoping it would work on the Cliq! Still waiting patiently!
Like or Dislike:
0
0
Nice. Worked like a charm. Ive been trying to build a kern. mod for a few weeks and this will help a ton. I love linux.
Like or Dislike:
0
0
Same thing as above has been said to be stated on the samsung moment, It would be nice if people with experience in rooting could figure out the problem with the moment/cliq…
i am sure the moment should be easier because it is just a stock build of android with the cdma adjustments, i would really like my moment to be rooted but the xda-developers only swerve towards HTC devices sooo probably no luck from them…
Like or Dislike:
0
0
For those of you getting the read only try using sdk 1.5 instead of 1.6
Like or Dislike:
0
0
i did also used SDK1.5 but im still getting same erorr on step 6
Like or Dislike:
0
0
Is there a way to undo this if I needed to?
Like or Dislike:
0
0
Durhamite,
There definitely is (considering the nature of the steps, you should be able to undo them by going backwards essentially), but I’ll do that procedure and video later in the week.
Like or Dislike:
0
0
Thank you TheUnlockr.
I’d definitely return my Sprint Hero now.
Why?
’cause this sucker is rooted…haha. Be sure to look for Sense on XDA ported to Droid!
Droid (better hardware, physical keyboard, Adroid 2.0 (today, now!)), here i come…
Like or Dislike:
0
0
So I did the root for the sprint HTC Hero and nothing at all I did the install for the USB drivers and got the serial number pop up with no problem so I did the rest of the steps and this is what I get.
C:\Users\bob>cd\
C:\>cd AndroidSDK\Tools\
C:\AndroidSDK\tools>adb devices
List of devices attached
HT99GHF00595 device
C:\AndroidSDK\tools>adb push asroot2 /data/local/
320 KB/s (74512 bytes in 0.227s)
C:\AndroidSDK\tools>adb shell chmod 0755 /data/local/asroot2
C:\AndroidSDK\tools>adb shell
$ /data/local/asroot2 /system/bin/sh
/data/local/asroot2 /system/bin/sh
[+] Using newer pipe_inode_info layout
Opening: /proc/2357/fd/3
SUCCESS: Enjoy the shell.
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
# cd /system/bin
cd /system/bin
# cat sh > su
cat sh > su
# chmod 4775 su
chmod 4775 su
#
does nothing at all am I missing something or what.
thanks
TOOTHPICK
Like or Dislike:
0
0
Toothpick,
If you didnt get any errors, you have root access. Go download an app from the market that requires root to confirm that it worked.
Like or Dislike:
0
0
keep getting damn read only error i tried the 1.5 and 1.6 the same fucking thing. frustrating everyone esle shit works exept mine.
Like or Dislike:
0
0
i been waiting for weeks for this.
Like or Dislike:
0
0
listn to anyone having the read only error the problem is that u have to htc syn you phone i did it and i stop getting the error i have the htc sync program so what i made sure is that the phone was sync with the htc sync program and it should work like mine. if it does let me know.Thank U
Like or Dislike:
0
0
Mike,
Glad it worked! Thanks for the issue and solution will add it to the post today!
Like or Dislike:
0
0
Tried this on my HTC Eris (Verizon) using Android SDK 1.5R1. When I get to step 6:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
I get the following error message:
“mount: Operation not permitted”
Anyone get this to work on the HTC Eris?
Thanks
Like or Dislike:
0
0
my phone wont boot past the htc startup screen, any idea what to do so i can fix this?
Like or Dislike:
0
0
Bill,
Describe your issue a little better in the tech support forums and well be glad to help, like how many of the steps did you complete, did you get any errors while going, etc.
And this way we dont clog up the comments.
Like or Dislike:
0
0
Works awsomely, Been trying everything and today has been the greatest day every. rooted 3 devices today. all successful and all htc hero sprint.
Thank You again
Like or Dislike:
0
0
Mnbgibbs,
Your welcome, glad to help!
Like or Dislike:
0
0
Worked fantastically, and it wasn’t as hard or cloogy at all. I posted a story and link back to this site. http://www.germreviews.com/200911083/sprint-htc-hero-rooted-actually-really-easy
I was following the xda thread last night, but I wasn’t brave enough to try anything yet.
Like or Dislike:
0
0
MR Sidepart,
Thanks! Really appreciate it, glad to help!
Like or Dislike:
0
0
Please help… Can’t get by this step, always says ‘Not Found’
5. Then type:
adb push asroot2 /data/local/
adb shell chmod 0755 /data/local/asroot2
adb shell
/data/local/asroot2 /system/bin/sh
any hints????
Like or Dislike:
0
0
the ‘not found’ always comes after I type the last line… /data/local/asroot2/system/bin/sh
Like or Dislike:
0
0
Trying this on the Eris… Cant locate serial on cmd. Uninstalled usb drivers.. when reconnecting, it just puts “HTC Android Phone USB Device” on. Not ADB Composite device.
Any ideas?
Like or Dislike:
0
0
Kevin,
Install them manually. Tell Windows to install the drivers from inside the usb drivers folder in the sdk.
Like or Dislike:
0
0
Fixed original issue… Didn’t have USB Debug on (idiot i know).
However when doing “/data/local/asroot2 /system/bin/sh” i got:
/data/local/asroot2 /system/bin/sh
/data/local/asroot2: permission denied
Like or Dislike:
0
0
Guys,
I am running XP with a Sprint Hero and it would not load up the ADB driver at all. I had to download it from the web and install it manually from device manager. But first, windows would not even ask for the adb driver unless I plugged in the usb cable to the phone, and selected HTC Sync. Only then would I see the listing in device manager with the yellow question mark telling you that there was an error loading the driver. I then loaded the driver I found at this site:
http://www.anddev.org/debugging-installing_apps_on_the_g1_windows_driver-t3236.html
Good luck.
Like or Dislike:
0
0
Is there a way to root my Hero on a mac computer?
Like or Dislike:
0
0
after i have uninstalled the htc drivers, and then plug it back in everything downloads except the ADB. will you please help with this?
Like or Dislike:
0
0
imm stuck at step 5 it keeps saying
$ /data/local/asroot2 /system/bin/sh not found
what am i doing wrong ive tried both version 1.5 and 1.6 can some one plsss help thanks in advance
Like or Dislike:
0
0
I did download lots of apps from the market that needed root to use them and every time I try to install one it says you need root to use.
Like or Dislike:
0
0
will not work on the cliq. doesn’t allow anything after step 6. bummer. i don’t think the cliq will ever be rooted. it’s being overshadowed very quickly
Like or Dislike:
0
0
ive been trying to root a t-mobile hero in the uk for a few days now and nothing is happening its just not lettin me root will following this guide root my hero
Like or Dislike:
0
0
Nathan,
It is worth a try, can’t hurt. Let us know if it works for you.
Like or Dislike:
0
0
I worked for me now I guess forget all I said about it not working it does not I just restarted my phone 3 times and now it works
Like or Dislike:
0
0
Not only did the root work for my Sprint Hero. I was able to teather as a wireless access point. GREAT! Now when 2.0 comes out with sense Im sure that Sprint will somehow disable it
Like or Dislike:
0
0
Blindsense,
Doesnt matter if they do
Once we have this and have the RUU to downgrade you to 1.6 again you can do this process and then use a custom ROM with 2.0 instead of the official one. All the benefits and still have root
Like or Dislike:
0
0
noobie question: Will rooting the HERO delete the Sense UI?
Like or Dislike:
0
0
Thecatbywas,
No way
Why would we ever get rid of Sense UI 
All rooting does is give you full permission in the phone, this allows you to do things that the phone didnt let you do before (like Wifi Tether) and that is it. Doesn’t remove anything.
Good luck!
Like or Dislike:
0
0
Does not work on the ERIS
is there anouther way to do it?
Like or Dislike:
0
0
Mike,
What is the error you are getting on the Eris?
Like or Dislike:
0
0
i have got verizon’s HTC Eris with Android 1.5.
i have followed the steps and i am getting the following massage in step 6:
$ mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
mount: Operation not permitted
am i missing something?
Like or Dislike:
0
0
Moshe,
This process may not work for the Eris, we are having everyone with an Eris try it though and post their error, just like you did
Can you check something? Is the Eris running Android 1.6 or 1.5? Goto Settings then About phone and look and let us know.
Like or Dislike:
0
0
Hey, glad to see you’re getting use out of the asroot2 program that I ported to Android from Ingo Molnar’s exploit.
The original (non-mirror, but it’s identical to your mirrored versions) is at http://zenthought.org/tmp/asroot2 and is available as part of “FlashRec”, and the source is available in the “flashrec” project on Google Code.
Like or Dislike:
0
0
Hey again Zinx!
I was wondering who was behind this program. I will put the link to your site instead of the mirror we have, thanks for letting me know.
Hey and if you have any other programs come out send me an email using the Contact Us Send Us Tips form on this site so I can post them with credit to you in the first place
Actually working on a new section of the site, would you mind sending me an email using the Contact Us form ASAP, I would like to talk to you about it.
Like or Dislike:
0
0
i am trying to follow the process on the HTC Eris device.
why am i getting this massage:
$ /data/local/asroot2 /system/bin/sh
/data/local/asroot2 /system/bin/sh
[1] Killed /data/local/asroot2 /system/bin/sh
$
Like or Dislike:
0
0
I used SDK 1.5 and 1.6 in the dame file folder because it would not work before with just 1.5.
My brother just got an HTC HERO also and was able to root it right away so now I will do the same to my wifes phone so she has root also.
Thanks for all the help keep up the good work
TOOTHPICK
Like or Dislike:
0
0
Is there any way to accomplish this using a Mac?
Like or Dislike:
0
0
The exploite has been patched for the eris so this will not work. We are stuck untill a new exploite is found.
Like or Dislike:
0
0
Unlockr…
Sweet! And it worked like a charm! Having fun exploring & learning from you guys… I’m officially a fan. Thnx.
Like or Dislike:
0
0
Yeah… I spoke too soon…
Wasn’t able to use apps that require root.
When I went back through the process, I get similar errors as reported earlier:
c:\androidSDK\tools\adb shell
$ /data/local/asroot2 /system/bin/sh
/data/local/asroot2 /system/bin/sh
/data/local/asroot2: permission denied
I am using SDK 1.5… the debugging toggle is on.
Thoughts?
Like or Dislike:
0
0
im getting the same thing and im getting that its not read able im running 2.1 on my cellular south htc hero
Like or Dislike:
0
0
I was wondering have you tried this method. I seen that you have made 2 prior videos with the GSM Hero and the myTouch.
http://zenthought.org/content/project/flashrec
Like or Dislike:
0
0
Wes,
Yes, we have. That method does not work that is why we had to search for a new method.
Like or Dislike:
0
0
TheUnlockr,
The ERIS is running Android version 1.5.
Like or Dislike:
0
0
hey unlockr is there anyway you can make a video or atleast a set of instructions of how to get google navigation on the g1 or mytouch thanx in advance
Like or Dislike:
0
0
Took me about…oh…all day, but it worked. For those who get the ‘Not Found’ error after (/data/local/asroot2 /system/bin/sh), you have to pay close attention to everything, there are alot of spaces.
Like or Dislike:
0
0
Worked great! Now, to figure out how to delete the NASCAR app…
Like or Dislike:
0
0
I cant get the drivers to install, i have tried to install manually but when i go to the usb folder and select it, i get a error saying no drivers in folder. Please help!
Like or Dislike:
0
0
TheUnlockr,
Tec186
I followed your instructions to the letter once before the video and again after with no errors. I installed 3 different Root Required programs and all 3 seemed to install OK but none do what they are supposed to do. Is there a command line I can type to know for sure if I have done this correctly? Or maybe I have to do something else to run these programs as SU? The main one I’m hoping to get working is “Wireless Tether 1.6 HTC” which I got here: http://code.google.com/p/android-wifi-tether/ I installed the first one for ver 1.6 and 1.5. Any help would be greatly appreciated
Like or Dislike:
0
0
By the way thank you for this, it’s all I wanted for Christmas. Now if only I could figure out the other stuff.
Like or Dislike:
0
0
after i type in the push asroot2, I keep getting permission denied? What am I doing wrong? I also have the dollar sign before it if that helps any
Like or Dislike:
0
0
Finally I got it to work!! Thank you all for your help.
Like or Dislike:
0
0
what did you do to make it work?
Like or Dislike:
0
0
FlashRec says it supports the Sprint HTC Hero now…And someone on XDA said that they have used it..
Like or Dislike:
0
0
is there anyway i can root my hero using a mac? also, sort of a noobie question, but what exactly does rooting your phone do?
Like or Dislike:
0
0
I’m up to the 5th step, the very 1st step (adb push asroot2 /data/local/), but it just paupauses on me forever. It doesn’t freez up, I can clos the screen and restart the proceses, and just another long pause again. Please help, I don’t want 2 return my phphone, but its giving me too of a head ach..
Like or Dislike:
0
0
I’m getting the same problem two steps down where you would put adb shell, and supposedly a $ sign comes out afterward but it just freezes up.. it just pauses…
Like or Dislike:
0
0
I think i was successful doing this, now at the end it says : All Done! You now have root access! Try to download a root program from the Market and see if it works… Now how do i verify if i was really successful at it and how do i download a root program from the market?
Thansk unlkr
Like or Dislike:
0
0
Hi there
can i root my T-mobile G2 (UK) with latest ROM 2.73110.26
please advise
Thanx
Like or Dislike:
0
0
worked great for me. thanks!
Like or Dislike:
0
0
I’ve seen this question about doing this via mac asked a few times, any answer would be great. Some of us are new to the android side, any beginners guide to rooting available?
Like or Dislike:
0
0
Kyle,
As with a lot of hacking, programming etc. most instructions are meant for Windows. Either use boot camp or borrow a friend’s Windows computer to do these procedures (you only need it for the initial procedures then you can do most things on the phone itself from then on).
Other than that, you can try this procedure on your Mac, download the SDK for Mac from Google and then use the built in Terminal app for Mac instead, but again if you can find a Windows comp to use, just use that for now.
Like or Dislike:
0
0
I am getting a message of “su text busy” on the last step. Any ideas?
Like or Dislike:
0
0
If i happen to screw it up somehow and can’t turn my phone on anymore, does factory reset fix the problem? Or am I screwed?
Like or Dislike:
0
0
Anybody knows of a easy step by step on how to install the Apps to Sd Card application? Any help would be great. Also an easy Step by step on how to backup so i ca install a rom on the phone .. thanks.
Like or Dislike:
0
0
Also i do think i rooted the phone because i just finished uninstalling the Sprint Bloatware apps, and Im guessing i could’ve not done that without my device being rooted. Its great the phone is running allot faster its snappier..
Like or Dislike:
0
0
I don’t know if I was successful at rooting my Hero or not… Last line I got was
____________________________
#
____________________________
I installed a screen capture app and it required root for it to work and it worked on mine, but im confused because I cant delete files that are on the phone, i only have Read permissions. Would I need to do everything from the PC? IF so, how? thanks
Like or Dislike:
0
0
Hi I want to know if I root my Sprint HTC Hero can I have my app on my sd card instead of my internal memory and if so how do I do it
Like or Dislike:
0
0
I have successfully rooted and got wifi tether working but I am looking to get apps2sd working without installing a custom rom. anybody get this going without installing a rom first?
Like or Dislike:
0
0
Did not work on HTC Tattoo on Orange UK.
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
mount: Operation not permitted
$ cd /system/bin
cd /system/bin
$ cat sh>su
cat sh>su
cannot create su: read-only file system
$
Like or Dislike:
0
0
Iliko,
Thanks for letting us know!
Like or Dislike:
0
0
hey im new to this..i got an sprint htc hero.. now its company unlocked.. but its the cdma version.. which means no sim card involved.. now i brought it with me to india.. how do i use this? do i goto my local companies who have cdma services? has any1 else been able to run any other network aside from sprint on SPRINT HTC HERO.. please help.. im really mind fucked ryt now.. thanks..
Like or Dislike:
0
0
Xtacisnow,
Less than 3% of the world uses CDMA, so you will have to buy a GSM phone to use it overseas unfortunately.
Like or Dislike:
0
0
Thanks for the guide. It was very helpful.
Like or Dislike:
0
0
Has anybody tried this rooting procedure with the new software update from Sprint/HTC?
Like or Dislike:
0
0
I see a lot of people having problems following the instructions – I assume from the feedback its because they are entering in the wrong code like I tried to do untill I realized that its displayed a littel tricky but is correct..
do not type “adb shell” _enter_
type adb shell _space_
and then
/data/local/asroot2 _space_
and then
/system/bin/sh
this will resolve the people that get the $ and stay paused
Like or Dislike:
0
0
I had rooted my Sprint HTC Hero and it was working wonderfully. Then I went and updated my firmware. Now my root apps no longer work and I couldn’t re-root. Anyone with advise for me?
Like or Dislike:
0
0
Manny,
That updates only purpose was to block our rooting exploit hence why you lost root access. You should never update your phone if you want to keep root access. So you need to find the Sprint RUU and use it to downgrade back to the original firmware and reroot Im going to do a video on this tomorrow.
Like or Dislike:
0
0
I tried rooting for the first time post firmware update and I got stuck at the very end where it says:
cat sh > su
I get the error: cannot create su: read-only file system.
Is there anything I can do about this? At the xda forums a lot of people are saying they have re-rooted post update. Are they doing it using a different technique? Or what? Or am I doing this wrong? I’ve never rooted before, so I may just be doing it wrong. Can anyone help?
-alex
Like or Dislike:
0
0
Alex,
You would most likely have to downgrade using the original Sprint RUU and then root the phone.
Do you have a link to where they are saying they rerooted and how and Ill be happy to check it out and post.
Like or Dislike:
0
0
After step 5 I get:
Opening: /proc/14482/fd/3
SUCCESS: Enjoy the shell.
#
Then the cursor thing is blinking after the # but I can’t type anything like the keyboard is disabled. I have gotten the same result on two different computers, help?
Like or Dislike:
0
0
Hey! Thanks for the reply! I actually rooted using your technique (not the one click root) but the regular root technique for sprint’s htc hero on your page! Thanks so much! My only thing is, now I followed your steps to flash a recovery image…and once I did that, when I hold Power and Home to boot into that green screen, I get stuck on the HTC logo. The phone freezes there, and I have to pull out the battery. Any advice? This is my first time rooting and flashing recovery so I may have done something wrong, but I followed all of your instructions and got the results you said I would…just I can’t boot into the “green screen” to check if it flashed. I also don’t know how the heck to do a Nandroid back up. Any help would be much appreciated! Thanks so much!
-alex
Like or Dislike:
0
0
Hey Unlockr…I found out what the problem is…you guys have people flashing a Hero recovery image, but it’s not the right image…people need to use the heroc (with the letter “c” at the end) in order for the phone to actually boot up in recovery mode. That’s because it is the Hero CDMA version…so ya…i got everything working now…but thanks for your great site and all your help! (PS: Your normal root method works fine even post Sprint Update). God bless!
-alex
Like or Dislike:
0
0
AsRoot2 Downlaod at the top of the page is broken. Can someone point me to go get it!!!?? please and thanks
Like or Dislike:
0
0
Hi i’m new in all this 3g cells and Droids stuff, so i have some basic questions.. what is root your phone and why people tells me that i have to do it, (i want it by the way, sounds fun)… what is a ROM, why there are so many? Does ROM stands for READ ONLY MEMORY? should i back up my phone before root it if so, how i can back it up???
Thanks and sorry for so many questions
Like or Dislike:
0
0
Dithel Bless,
Rooting your phone is similar to jailbreaking if you are familiar with the iPhone. It is the process of giving us root access command and the ability to basically tell the phone what to do without the restrictions Google, HTC, or Motorola etc have put on the phone.
But more importantly the ROM is the part of the phones memory that holds the Operating System and native apps etc (which is normally Read Only but since we have root access we can tell the phone to replace it with our own custom ROM.
ROM definitely stands for Read Only Memory you got it
The number of ROMs are because of the number of developers out there (thank god for them lol) and they all add their own performance and aestetic tweeks to their own ROMs so its up to you which you prefer.
The other main benefit to rooting is that some apps need root access to control things that are normally blocked, for example, WiFi Tethering.
You can easily back up your phone after flashing the recovery image, you just boot up and click backup and save the backup to your computer and you are all set.
Hope that helps
Like or Dislike:
0
0
forgot to tell you i bought a HTC HERO from Sprint last week… so i don’t even know what version it is.. thanks
Like or Dislike:
0
0
So simple. I thank all that are literate in the development of this for being able to provide people like me, who are not literate in phone debugging and development, the ability to root our Heros in such a simple procedure. Very grateful.
Like or Dislike:
0
0
After step 5 I get
Opening: /proc/14482/fd/3
SUCCESS: Enjoy the shell.
#
but it won’t let me proceed with step 6. It wont let me type at all. Any ideas?
Like or Dislike:
0
0
Unlockr, Thanks for the good work. Alex, You were right you can root even with the Sprint firmware update. I just had to reinstall my drivers and it worked. Now about recovery image. Do you recommend doing it and what exactly would be the benefit? Thanks again!
Like or Dislike:
0
0
UnLockr
Just want to confirm something. Once we root and load a custom recovery image do you still suggest flashing to the newest MoDaCo Rom as discussed here: http://theunlockr.com/2009/09/04/htc-hero-official-update-to-fix-lag-released-unofficially/. The article is from september, I’m running the most recent Official HERO (v 1.56.651.2) and I don’t know if the information still applies or if HTC already took care of the issue. Also, since i’m running this version is there anything special i need to know before rooting or loading recovery image?
Like or Dislike:
0
0
Hey All
Just finished rooting my phone and loading RA’s custom recovery image and wanted to share my results and step by step procedures (the final instructions are mixed among the posts but I wanted to share in one spot):
THIS WORKED EVEN FOR MY UPDATED FIRMWARE SPRINT HERO
1) follow instructions for adb install above EXCEPT if you are running windows 7 (which I am). If running win7 follow skip steps 4 and 5 in ADB setup and instead follow instructions here: http://www.mydigitallife.info/2009/08/24/workaround-for-htc-hero-sync-problem-in-windows-7/. once you get that stuff installed continue with step 6 on adb setup
2) follow theUNLOCKR’s very clear and concise instructions above for Step II: on this page. It’s very simple and took me less than 3 minutes to get root
3) download the “heroc recovery image” it MUST be that image as that is for Sprint CDMA phones. you can find it here: http://forum.xda-developers.com/showthread.php?p=4898505
click on the link that says (mirror)
4) follow unLOCKR’s instructions for “How to Flash a Recovery Image” located above in section III: Flash a Recovery Image
5) smile and enjoy a rooted sprint hero with recovery image.
theUNLOCKR — hope you don’t think i’m stepping on your toes, just wanted to list out step by step how I ended up having to do it to save some other users some time ready through all the replies. you guys have the best instructions out there!!!
Like or Dislike:
0
0
LoserBaby,
Not stepping on toes at all
We love when you guys contribute! Ill incorporate your updated steps into the procedure so its easier for others. Thanks!
Like or Dislike:
0
0
Thats frikin sweet. After bricking my first phone
I finally got the sucker rooted. Thanks Unlockr
Like or Dislike:
0
0
I have followed all the steps with out flaw, have flashed the custom recovery file successfully, but when I try to access the root in a file explorer it says that i dont have privileges. my question is, is there a way to check permissions in adb shell? when I type root it says access denied any ideas how to check that we have root privileges in the command prompt?
Like or Dislike:
0
0
Syscrasher13,
Try to type su and hit enter in terminal. If it goes to the next line without an error, you have root.
Like or Dislike:
0
0
in step 6 after each line, does it just echo it back? is that what its supposed to happen?
Like or Dislike:
0
0
I still cant get this root thing can you please telll me step by step so i can really get this thing please??
Like or Dislike:
0
0
Alright, I would hate to say this if it has been said, but this worked even after the sprint firmware was updated. Glad I still have root and don’t have to roll back. Build number 1.56.651.2 cl85027
thanks for all the hard work. keep on keeping on, our hardware is ours let’s keep it that way!
Like or Dislike:
0
0
the recovery image u gaves us need to be rename just take off the “c” from the hero n that should work, i was wondering y when i reboot it it did not went to recovery mood n then i found that recover image has a miss slell…
Like or Dislike:
0
0
I lost root after the update but retried the method and successfully got it back. It does work post update.
Like or Dislike:
0
0
FINALLY!!!
I was using an outdated recovery, but I finally got past the HTC logo when booting into the recovery. I used the method given by LoserBaby above. And the file he pointed out.
My next question… Now that I have root and I’ve made my Nand backup, what do I do? I want to put on modaco so I can use tether. Is there a how to for this somewhere? Also, what does making this backup do for me? If something bad happens to my phone do I reboot into the recovery and then do the Nand Restore?
Thanks for your help!
Like or Dislike:
0
0
Thanks for the help. Very clear instructions. I rooted it, but didn’t put on a custom rom. Thanks for noting that they are not the same and that the latter is not required. Blogged a bit about it.
http://sprintherotips.blogspot.com/2009/12/i-took-dive-and-rooted-my-hero-success.html
Like or Dislike:
0
0
RD,
Thanks glad it worked! Would you mind linking to this procedure for anyone that wants a different procedure to follow as well from your blog, if it helped you.
Thanks!
Nice blog by the way!
Like or Dislike:
0
0
i cant get past this:
cd AndroidSDK\Tools\
it says the system cannot find the path specified
Like or Dislike:
0
0
Jerry,
You need to make sure that the SDK is saved on the C: drive (not in any subfolders) and that you renamed it to AndroidSDK. Then make sure that when you click on it you can see the Tools folder DIRECTLY inside.
If they cant find the path, then it is in the wrong place or named incorrectly.
Like or Dislike:
0
0
Hey, I seem to be having the same issue that Chris and Cpatt3n were having above. asroot2 seems to run just fine, but no communication with the shell it establishes seems to take place. After running it, the program doesn’t seem to accept input and there is no local echo, any commands seem to queued until the program terminates.
I’m running Vista, and my adb drivers at least -seem- to be working in every other way, but I can’t figure this being anything but a driver issue. Anybody happen to have a solution? Cpatt3n seems to have responded to the Windows 7 fix indicating that it worked, but he also said he managed to brick a phone the first time around.
Like or Dislike:
0
0
Just commenting again to clarify that I managed to solve my “problem” shortly after I posted here simply by going into a continuous shell (that is, typing “adb shell” by itself without suffixing it immediately with a command) then completing the tail end of step 5 and moving on to step 6.
Like or Dislike:
0
0
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cd /system/bin
cat sh > su
when i get to the cat sh > su I get a prompt saying “cannot create su: read-only file system but I moved file asroot2 into tools folder inside androidSDK folder. A previous member found an answer to this in the forum section but I was not able to find it sorry, would really appreciate help.
using Windows XP
Like or Dislike:
0
0
I get “adb server is out of date…Killing”
But still get serial number.
Like or Dislike:
0
0
Successfully rooted my Hero with Sprint update in Ubuntu
.. Thanks TheUnlockr.
Like or Dislike:
0
0
JGeZau,
You are very welcome! Nice, think that’s one of the first roots done in Ubuntu that I’ve heard of
Like or Dislike:
0
0
im tryn to root my lil bros phone wow haha this is crazy i dont wanna brick his phone im stuck at cat sh > su all it keeps sayn is read only file sys can someone help
Like or Dislike:
0
0
Nick,
Try to do the How To Root the Sprint Hero in One Click procedure first and see if that works.
Like or Dislike:
0
0
when i get to
adb shell /data/local/asroot2 /system/bin/sh
then hit enter i get
[1} killed /data/local/asroo…
any ideas? sprint htc hero
Like or Dislike:
0
0
So will any of these methods work on a brand new (arriving today
), Droid Eris? If so which one, seems there are alot of differernt instructions here….
Like or Dislike:
0
0
Crosby,
Unfortunately, no
Something about the Verizon version. BUT there is no harm in trying and letting us know if it gets past flashing the recovery screem (worst comes to worst it will just error and say you cant continue).
Like or Dislike:
0
0
Hmm.. So what advantages does having the phone rooted have above it not being rooted. Perhaps Ill need to changed providers, as i dont really like Verizon anyhow. I can still get all the freeware apps and such Im assuming. Im so tired of paying verizon for everything and having to try to find ways around downloading ringtones/etc.
Like or Dislike:
0
0
Worked great, thanks!
Like or Dislike:
0
0
If I were to root my Sprint Hero what Roms are available to put on it? Has anyone gotten 2.1 to run on a hero or at least 2.0?
Just curious… and looking for help more than anything, I have never done this and do not want to brick my phone.
Like or Dislike:
0
0
adb shell chmod 0755 /data/local/asroot2
this step im getting there is no such directory
Like or Dislike:
0
0
Hey Unlockr,
I’m currently having a problem right now with step 6. When I get down, everything’s good and gravy until I put in “adb shell /data/local/asroot2 /system/bin/sh” it just says
“SUCCESS: Enjoy your shell.
# _”
After that, like others said before me, the cursor just blinks and blinks. Any solution? I’ve also tried putting a / after /system/bin/sh and that got me a fresh line but the mount line didn’t work.
Any solutions?
Like or Dislike:
0
0
I am stuck at the # as well on my Sprint HTC hero and I hope I haven’t missed a solution but need some help too. Thanks for any tips you can give the guys stuck at #!
Like or Dislike:
0
0
i have the same problem with it freezing(step 6)
like the guys above mention
Like or Dislike:
0
0
First off thanks a bunch just rooted in mins. Just tryin to help if u can’t get past cd androidsdk\tools then open sdk it says on the top sdk location. Copy an paste that in the command prompt as cd (….paste…)\tools\
Like or Dislike:
0
0
My step-dad’s Sprint Hero was rooted by this method. He wanted to root it just for the wifi tether. The wifi tether opens but when a computer connects it says “no internet connection” on the computer. Also, the phone’s battery gets drained without even using it. it’s draining too fast. i have a mytouch and i used the one click method and my wifi tether works just fine. Please help.
Like or Dislike:
0
0
Jordan,
I would try reformatting the card, wiping data and reloading the ROM (if you have one). OR I would try to look for an upated version of the WiFi Tether for Sprint Hero file (they make different ones for each phone now so your MyTouch one probably wont work on the Hero).
Like or Dislike:
0
0
I’m new to this, my question is: if I root my Hero it would be able to use Metro pcs (voice, text, internet)?
Like or Dislike:
0
0
Carol,
You are thinking of unlocking not rooting. You would need to unlock the phone to use Metro PCS (and with CDMA phones like Sprint and Metro, you would need a local person to actually flash the phone with Metro settings by plugging in the phone).
Like or Dislike:
0
0
Thanks TheUnlockr,
How about to unroot it? Is it like as easy as rooting it? or should i load a custom recovery image and then put a custom rom? if so, where would I be able to get roms for the Sprint Hero? Thanks again. And sorry for the inconvenience
Like or Dislike:
0
0
Jordan,
Search our site for how to unroot the hero (sprint hero)
Like or Dislike:
0
0
HELP – please. I’m trying to root my sprint hero, using “better terminal emulator” since I only run power-pc macs, and can’t have the bridge program.
I have placed the su program “asroot2″ into ‘sdcard’. Two issues come to mind.
1- the “sh” already exists in /system/bin (so the cat sh > su may not be possible unless I rename sh, cat sh(asroot2) > su, then put old sh back)
2- the volume is read only.
I have not tried the remount -rw yet, but suspect $ won’t have priveldges to do so.
Can I execute asroot2 , changing my mode, then continue? Does someone know if this would work? Can I get a listing of asroot2?
Am I even on the right track?
Like or Dislike:
0
0
Hi All,
any progress with rooting the HTC ERIS offered by Verizon?
thanks
Moshe
Like or Dislike:
0
0
im having a problem rooting my htc hero it says cannot create su and unable to chmod su could u please help me out on wat i need to do to fix that maybe yahoo message me at twinz4eva2000
Like or Dislike:
0
0
adb push asroot2 /data/local/
adb shell chmod 0755 /data/local/asroot2
adb shell
/data/local/asroot2 /system/bin/sh
im getting a no such file or directory please help me i got the serial number though
Like or Dislike:
0
0
I am getting /data/local/asroot2/system/bin/sh: not found. It did find my serial number and went through the rest of the steps up until this process. Please help.
Like or Dislike:
0
0
I got it figured out. There is a space after the 0755 in the step that you have to do.
adb shell chmod 0755 /data/local/asroot2
then a space between asroot2 and the /system.
/data/local/asroot2 /system/bin/sh
if you don’t have spaces in those two spots in won’t work. Once the spaces were added it went through a breeze.
Like or Dislike:
0
0
Everything worked like a charm on my Sprint HTC Hero. Rooted without a hitch and to prove it, I now have the WiFi tether app working (it requires root) – I’ve wanted that forever.
I can’t believe it but it’s finally happened. Thank you to everyone who had anything to do with coming up with this rooting process.
Like or Dislike:
0
0
For some reason my internet connection is not allowing me to download the Android SDK file kit… I was wondering if it is possible that somebody could actually send it to me through my email account?
Like or Dislike:
0
0
Bruce,
It is way too large to send by email (most emails have a 10MB limit) unfortunately.
Like or Dislike:
0
0
I went through the steps successfully on my Sprint HTC Hero but have a couple questions:
1. How can I test root access, do you know of a market app that would go to root?
2. Do apps now reside and run from root or just reside there?
Thank you
Shelley
Like or Dislike:
0
0
I followed the procedure to root my HTC Hero from Sprint. I believe it worked, the last message I got in cmd was #
So after that you say to download a root program. I have no idea what that is or how to get it? So, I still don’t really know if it worked or not.
Like or Dislike:
0
0
Rizzle,
Search the market for the word Root. Then download any of the apps that say they require root access, then see if they work.
Good luck!
Like or Dislike:
0
0
question. I can get to:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cd /system/bin
cat sh > su
chmod 4775 su
when i get to the cat sh > su I get a prompt saying “cannot create su: read-only file system. Am i doing something wrong??
sorry i just saw the “post in forum disclaimer�!?!?!?
where is the dissclaimer I cant find it and not sure what Im looking for, I know Im sooo close I can almost taste it
THANKS FOR ANY HELP
Like or Dislike:
0
0
Worked for me without a problem.
Like or Dislike:
0
0
How would I know if I was able to root my HTC Hero, correctly?
Like or Dislike:
0
0
I have gone through all the required steps all the way till the last step, which is step 6.
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cd /system/bin
cat sh > su
chmod 4775 su
When I typed each of those commands in, it seems as if the commands are just getting mirrored back to me. Would that mean the commands went through?
I also noticed you have informed another person to type SU at the end of the command?
I’m not even sure if I did everything correctly.
Like or Dislike:
0
0
So I formatted my sd card and step 6. worked where it previously had not.
Like or Dislike:
0
0
i need help with step 5 and 6 wish ya could show it on the video step by step
Like or Dislike:
0
0
when i type cd androidsdk\tools\
nothing happens what am i doing wrong?
Like or Dislike:
0
0
DarkXShadowX21,
Do the How To Setup ADB first.
Like or Dislike:
0
0
how exactly do you know if your rooted???
Like or Dislike:
0
0
JoeJoe62807.
Download the terminal emulator from the market and in it type su and hit enter. If it shows a # symbol you are all set.
Like or Dislike:
0
0
Having some major problems when dealing with step 6:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cd /system/bin
cat sh > su
chmod 4775 su
I see a lot of people have also been having problems with this step but the questions are not very well worded and usually not enough information is given. The exact problem i am having is when i get to the first line:
“mount -o remount,rw -t yaffs2 /dev/block/mtdblock3″
I receive the message in command prompt:
“mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
mount: Operation not permitted”
From that point on everything i type in is an error message to the last line of Step 6.
The other two errors i receive are:
1. Typed: “$ cat sh > su”
Received: “cannot create su: read-only file system”
2. Typed: “chmod 4775 su”
Received: “Unable to chmod su: No such file or directory”
The errors of course came in that order.
If anyone else has had this problem and knows how to fix it or just knows how to fix it i would greatly appreciate your help.
Like or Dislike:
0
0
I forgot to mention I am using the HTC hero
Firmware version 1.5
Baseband version 1.04.04.10.09
Kernel version 2.6.27-6bc66721
Build Number 1.44.557.2 cL81721
Software Version 1.44.557.2
Like or Dislike:
0
0
Same issue here..
Got through the “mount”
I enter, “cat sh > su” and get error message:
“cannot create su: read-only file system”
any help?
Like or Dislike:
0
0
Jonathan, when i enter this:
“..mtdblock3 /system”
I get your error message,
When I enter this:
“..mtdblock3/system”
it works..
But im still stuck on my error
Like or Dislike:
0
0
i tried to add a theme and reboot but my sprint hero is stuck in the htc screen wat do i do the rooting went good
Like or Dislike:
0
0
Is it possible to just gain root access temporarily to remove unwanted system apps? I don’t wish to keep my device rooted past removal.
Like or Dislike:
0
0
Rooted and flashed with RA rom. Works like a charm with the exception that convert ext2 to convert ext3 says :Error : Run upgrade_fs via console
Like or Dislike:
0
0
I have an HTC Hero from Sprint, and I want to try flashing a custom ROM, but I’m wondering first, if I do it and it get’s messed up, how can I flash the original ROM that shipped with the unit?
Like or Dislike:
0
0
Worked great!!!
Like or Dislike:
0
0
When I got to step 6 all it did was echo what I typed so I thought I did something wrong until I tested it out by downloading Terminal Emulator from the market and typing su and got # back. So I guess I’m rooted after all! Thanks TheUnlokr!
Like or Dislike:
0
0
Can someone PLEASE tell me how to get past that pesky “#” at the end of Step 5??? I’m completely unable to move onto Step 6 b/c of it. The cursor flashes and I can’t input any characters.
PLEEEEEEASE HELP!!!! THANX GUYZ!!!
Like or Dislike:
0
0
I have a problem, im running android 2.1 htc hero sprint. and i get a error on step 6 says “operation not permitted”
how do i go about fixing this?
im trying to tether my phone i have the app im not willing to pay 30 bucks so i wanna root. please tell me what im doing wrong?
all adk is done like how it was said here.
anyone? thank you
Like or Dislike:
0
0
I just updated my hero to 2.1 at the sprint store, but it sucks! Will this work on my phone with the new 2.1 rom?
Like or Dislike:
0
0
having trouble getting root access on my sprint hero android 2.1, I just want root access to download root apps, can anyone help me.
on step 5 I type in everything correctly and get a file not found message.
What am I missing? plz help me out
p.s. step by step instructions would be nice im a newbie on android
Like or Dislike:
0
0
With Android 2.1 on the Sprint Hero it does not appear to work:
c:\AndroidSDK\tools>adb push asroot2 /data/local
755 KB/s (74512 bytes in 0.096s)
c:\AndroidSDK\tools>adb shell chmod 0755 /data/local/asroot2
c:\AndroidSDK\tools>adb shell
$ /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 /system
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
mount: Operation not permitted
$ cd /system/bin
cd /system/bin
$ cat sh > su
cat sh > su
cannot create su: read-only file system
Like or Dislike:
0
0
I get that same “Mount: Operation Not Permited” Thing. Android 2.1 Sprint HTC Hero. Everything works before that it does that [1] Killed thing idk if its supposed to do that, it’d be nice if the walkthrough gave whats supposed to showup you know? if you have a fix my email is::: isjav08@gmail.com ty in advance!
Like or Dislike:
0
0
i have the same problem. cant get passed after entering
adb shell chmod 0755 /data/local/asroot2
Is the $ supposed to be there after entering adb push?
i then get a [1]Killed.. sigh.. please help.
Like or Dislike:
1
0
Hi,
This has probably been asked numerous times, but will rooting the phone wipe out any data on the phone? I’m talking about contacts, text messages, etc., not the SD card.
Thanks!
Like or Dislike:
0
0
IT WORKS!! It freakin works, finally awesomeness on my Hero. rock on guys.
Like or Dislike:
0
0
How did you get past the part where is says cat sh > su. Thats where I get stuck.
Like or Dislike:
0
0
i couldnt get passed the cat sh > su kept saying
cannot create su: read-only file system
Like or Dislike:
2
0
does this work with the 2.1 update im not getting past step 5
adb shell chmod 0755 /data/local/asroot2
Like or Dislike:
0
0
i have same proble , i can go to step 5 fine then an error, i have try everything, amons ra inage, root 2, flashrec wiz everything ,,,,,
heres my htc info…..thanks
htc hero
firmware ver.
2.1-update 1
baseband version
2.42.01.04.23
kernell version
2.6.29-bc0d2cff
htc-kernel@and 18-2 #1
build number
2.41.556.1 cl200014 release-keys
software number
2.41.556.1
browser ver.
webkit 3.1
pri ver.
2.28_131
prl ver.
00108
Like or Dislike:
0
0
$ mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
mount: Operation not permitted
can anyone help with this as I too get this and then everything else doesnt work
cheers
Like or Dislike:
0
0
I rooted my phone sucessfully! thank you!!!
Like or Dislike:
1
0
James – how did you get past this bit?
$ mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
mount: Operation not permitted
Like or Dislike:
0
0
i got problem after step 5.
when i am going to do step 6:
#mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
it i showing me lke that:
/data/local/asroot2 /system/bin/sh
[1] Killed /data/local/asroot2 /system/bin/sh
$ mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
mount: Operation not permitted
so please anyone help me…
i am waiting for answer..
Like or Dislike:
0
0
I’m having the same problem as tenknoboy. When I begin step 6 i get the same “Operation not permitted” message. Additionally when I try using using su to get permissions I get “permission denied” when typing su
Does anyone have an idea of how to proceed?
Like or Dislike:
0
0
After I type this in… /data/local/asroot2 /system/bin/sh it tells me there is not file found…. what gives
Like or Dislike:
0
0
Chris,
We just posted a new procedure for the Hero. Try this instead and post in the comments if it works or not (be careful and read the instructions carefully, most people miss the install drivers part):
http://theunlockr.com/2010/08/03/how-to-root-the-htc-hero-unrevoked-method/
Like or Dislike:
0
0
HOW DO YOU DO IT IF THE HTC PHONE IS FLASHED IT WAS A CELLULAR SOUTH HTC HERO BUT I FLASHED IT TO CRICKET
Like or Dislike:
0
0
Gary,
Shouldn’t matter what carrier ur using. So long as its CDMA.
Like or Dislike:
0
0
When i get to this part –
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
I get an error that says ‘mount’ is not recognized as an internal or external command, operable program or batch file. What do i do???
Like or Dislike:
0
0
Rick,
You need to have typed adb shell a few lines up and then continued.
Like or Dislike:
0
0
gettin permision denied after step 5 can someone help?
Like or Dislike:
0
0
the link for the new directions on rooting htc hero -
http://theunlockr.com/2010/08/03/how-to-root-the-htc-hero-unrevoked-method/
is not found. nothing is there. how do i access the new directions for rooting the HTC Hero?
thanks
Like or Dislike:
0
0
Keith,
Try the link now. Sorry about that.
Like or Dislike:
0
0
i cant download root2.. it takes me to a website and asks for log in information which i do not have.. help.. i want to root my hero
Like or Dislike:
0
0
Like or Dislike:
0
0