yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] nfinitefx45:
sounds like the flash didnt take on recovery, try it again if that doesnt work then try another recovery. If you used 1.5.2 then try 1.6.2 or vise versa
[Hero CDMA Android Development] flairmedk:
trying to disable OTA updates. Following tutorial:

cd C:\android-sdk-windows\tools

C:\android-sdk-windows\tools>adb remount

remount failed: Operation not permitted

C:\android-sdk-windows\tools>

Have tried phone reboot, unplug - replug usb, restarting cmd prompt. Any ideas?

BTW rest of root was soooo easy and simple TY to all who put this together.
[Hero CDMA Android Development] aacevedo17:
thanks nfinitefx45
[Hero CDMA Android Development] nfinitefx45:
two thing that i can think of right now, one is check that usb debug is on, and the other is go to C:\android-sdk-windows\tools>adb shell

see if you get "$" or "#" if you get the first one then type "su" and check you phone and make sure you tell the super user app that should be up to always allow. then exit adb. then go back and try your remount again.
[Hero CDMA Android Development] flairmedk:
Debug is on. got the $ prompt. adb shell shows superuser permission "unknow" on app with green dot beside it. exited out of $ to c:\android-sdk-windows\tools> and tried adb remount with the same failure. Hummm
[Hero CDMA Android Development] fatkitty420:
Superuser App was not installed on my system tray. Does this mean I'm running the ruu?
[Hero CDMA Android Development] nfinitefx45:
just try to redo the push and flash, sounds like it didnt take completely
[Hero CDMA Android Development] shamrock11:
I just rooted but am having problems. How do I unroot? PLEASE HELP ME!
[Hero CDMA Android Development] fatkitty420:
Re-did all the steps, still not appearing in the App tray...

Any other ideas?
[Hero CDMA Android Development] nfinitefx45:
just run the ruu from the 2nd post in this tread it will set you back to "Factory Fresh"
[Hero CDMA Android Development] soultraveler:
I'm having the same problem - i tried the steps several times and rebooted - still no superuser permissions app in the tray.
[Hero CDMA Android Development] nfinitefx45:
So you guys are getting all the way to this output ?

# sh /sdcard/unrevoked
sh /sdcard/unrevoked
Unpacking, please wait...

88 88 88b 88 88""Yb 888888 88 dP dP"Yb 88 dP 888888 8888b.
88 88 88Yb88 88__dP 88__ 88dP dP Yb 88odP 88__ 8I Yb
Y8 8P 88 Y88 88"Yb 88"" 8dP Yb dP 88"Yb 88"" 8I dY
`YbodP' 88 Y8 88 Yb 888888 YP YbodP 88 Yb 888888 8888Y

==================================================================

unrEVOked: root for HTC evo and hero (http://unrevoked.com)

$
[Hero CDMA Android Development] fatkitty420:
Yes. Everything looks like it worked but still no luck. I'll try to run Ruu but I'm short on time.

Will post back
[Hero CDMA Android Development] nfinitefx45:
ok, and running the ruu then trying to root again sounds like a smart move, as this shouldnt be having the issue you are talking about.
[Hero CDMA Android Development] Jim_Bob:
I revised my question....anyone?
[Hero CDMA Android Development] soultraveler:
That did it.. I didn't realize that there was indeed a newer ruu because it's dated may 18th on htc's site

Thanks again!!!
[Hero CDMA Android Development] integra144:
how do I know if the Root is successful?

Thanks
[Hero CDMA Android Development] shamrock11:
Who needs to unroot?

if anyone needs to unroot, just download the new ruu off htc or sprint's website. its included in the 2.1 update. it doesnt matter if you did the final part of this root method where it says it wont take your root off with the new updates because i put in the code to supposedly stay rooted after the new updates but im no longer rooted after downloading the new ruu!
[Hero CDMA Android Development] Maikock:
anyone know a way to get footprints to work on here? i tried pushing one and it didnt work, looked for the latest one i could find...
[Hero CDMA Android Development] pipefitter:
Riddle me this, Batman!

What's the advantage of rooting the 2.1 release compared to running a dev ROM based on the very same 2.1 release?

Is this just for those who have an unrooted 2.1 on their phone?

Would the audio be fixed if I flash the release, then root it, then flash say DamageRv5.0 a.k.a F1n1$h3R ?
[Hero CDMA Android Development] integra144:
How to tell if Root Succesful?

Can anyone tell me how to tell if route is successful, because I still don't the operation to un -install Amazon Mp3 from Sprint 2.1 the Applications menu also Wireless & Networks Internet Sharing is still grayed out. I used the RUU version form post to to reflash from sprint 2.1 from sprint downloads.

Thanks for help.
[Hero CDMA Android Development] Las_Vegas:
Thank you so much nfinitefx!

I decided to write up the rooting procedure for the Macintosh. To do so, I installed the SDK on a new Mac, and installed the RUU from Sprint's website. While it's still identified as HTC_sprint_hero_mr_2.27.651.5.exe, it does, in fact install 2.27.651.6. The unrevoked wouldn't work!

Thank you for posting the previous RUU. It installed over 651.6 without issue. I should have the Mac rooting procedure in a short bit.
[Hero CDMA Android Development] htchero789:
Finally. I got my phone rooted!!! if you are having problems take a look at page 42 the have some useful informantion.
[Hero CDMA Android Development] Jus10o:
You cant uninstall the apps using a Uninstaller.

Type this into command prompt

adb remount

adb shell

cd /system/app

ls

This will display all apps on your phone.. Then type this

rm NameOfApp.apk

rm NameOfApp.odex

Everything in android is caps sensitive so make sure you type the apps exactly.
[Hero CDMA Android Development] sisco_lopez:
Probleme

I typed in "adb push unrevoked /sdcard" i get "failed to copy 'unrevoked' to '/sdcard/unrevoked': permission denied" what did i do wrong and how do i fix it? Thanks
[Hero CDMA Android Development] integra144:
wow thanks so much
[Hero CDMA Android Development] waterbound:
If you cant write to your sd card make sure you aren't mounted to the sd card otherwise you will get that error message.
[Hero CDMA Android Development] sisco_lopez:
Thanks but my SD card isn't mounted, my phone is set to charge only.
[Hero CDMA Android Development] Las_Vegas:
Make sure that your phone is in Charge Only mode. You could also mount the sdcard to your PC and manually move the three files to the sdcard.
[Hero CDMA Android Development] sisco_lopez:
ok ill try that and get back to you. Thanks
[Hero CDMA Android Development] sisco_lopez:
ok so i put the files on my SD card ( thanks by the way) but when i get to step 7: "sh /sdcard/unrevoked" i get the image in my command prompt that is shown in the instruction but i don't get the "superuser permission app" what did i do wrong?
[Hero CDMA Android Development] Las_Vegas:
Yes... This happened to me also. If you allowed Sprint to update you to 2.27.651.6, the unrevoke won't work. Install the RUU in the second post of this thread and try again.
[Hero CDMA Android Development] sisco_lopez:
Yea Sprint pushed me that update this morning. I didnt know about the root at that point so i went ahead and installed it. But im downloading the RUU right now.
[Hero CDMA Android Development] krevitz:
worked for me using 2.1 from sprint, thanks again guys ;)
[Hero CDMA Android Development] theycallmegq:
HTC HERO 2.1 (rooted) Downgrade to 1.5? available??....

I was wondering now that they have figured out how to root the 2.1 os, will we all now be able to downgrade back to 1.5 stock on our hero's?.....

If so, That would be amazing. I am a newb. But I have rooted and everything. I just want 1.5 again. Since facebook contacts linking doesnt seem to work with any rom I flash even after wiping then flashing.

Thank YOU!
[Hero CDMA Android Development] tobiasly:
Just install the Android SDK for Mac and then follow the guide starting at Step 4. The only part of the guide that is Windows-specific are the paths for the Android tools etc. You'll just have to substitute the correct paths on your Mac but it's pretty easy to figure out. I ran it just fine from my Linux PC.
[Hero CDMA Android Development] tobiasly:
Insecure?

So after reading the blog entry at Grack I'm pretty worried about the security of my newly-rooted Hero. I definitely want to keep root access but it sounds like this is actually a pretty dangerous security hole.

If I install a different ROM will this security hole still exist? The whole custom ROM scene is pretty overwhelming for a n00b, any advice on where to start so it breaks down the options available?
[Hero CDMA Android Development] eduncan911:
Awesome!

While not a newb at flashing ROMs to my windows mobile device, we sprang got a Hero the other day for my wife.

So naturally, first thing I wanted to do was to flash a ROM. What perfect timing that the day after we get the phone, this guide comes out.

This guide worked flawlessly. Donation coming! Look from eduncan911@...

OT: perhaps it's because I replaced the 2 GB card with a 16 GB sdcard immediately, but the copying and flashing is much faster than what the guide say. Example: 5 minutes for backup? Try < 1 minute.
[Hero CDMA Android Development] bear187k:
Awesome! XD

Thanks SO much for posting the exploit. I"m happy with the performance of 2.1...but nothing says lovin' like root.

I'll be linking everyone I know to this. Thanks again!
[Hero CDMA Android Development] speedy0339:
im dumb

im stupid and updated my phone through the OTA update from HTC and now my build is 2.27.651.6 now when i type in the " su " part it says access denied. no i have to wait for another root... *sigh*
[Hero CDMA Android Development] Las_Vegas:
Install the RUU from post 2 of this thread and try again.
[Hero CDMA Android Development] jerseydvd:
You all rock!
[Hero CDMA Android Development] DominoDoug:
Does anyone know if the apk file on the unrevoked.com site will root the .6 RUU? And is there anyone out there willing to try? Apparently it's a one-click root.
[Hero CDMA Android Development] mmarcz:
I did the same thing. Just redownload the .5 original 2.1 update, ruu the phone, then follow these instructions, and you're good to go.
[Hero CDMA Android Development] Jus10o:
The update doesnt update the hboot. So you can run the RUU for .5 and it will downgrade your 2.1 and then you can do the root instructions.

I know some have said this to run the RUU, but just saying why this method works.
[Hero CDMA Android Development] guevr093:
Im trying to disable OTA updates but everytime I type in the last command I get an error saying no such file exists. I looked around and couldnt find anything. Anyone help?
[Hero CDMA Android Development] DominoDoug:
Okay, sounds good. I am already rooted and wasn't clear on if it worked or not. Thanks for the heads up.
[Hero CDMA Android Development] extxn72:
I'm going to second this question, since it looks like it's been skipped over. I just got a replacement phone the other day, and it's running 1.5 (which I've since rooted) but I had the audio drop issue with the ROMs I was running before. So, is there an advantage to running the .5 RUU, then rooting, or will the audio issues still be there?

Basically, is anyone who has rooted 2.1 experiencing audio problems after you flash a ROM?
[Hero CDMA Android Development] Raytaka1222:
I have a question and yes it is a n00b question since I am so new to android. I just rooted my phone using this guide. How exactly since I am rooted, flash my phone to a custom rom?

I already downloaded the dev kit and everything, but I need some help. Can anyone help or direct me?
[Hero CDMA Android Development] ptowsvc:
big mahalo for the root!!now that i am there what is the best way to flash the fresh rom?rom manager does not appear to be responding
[Hero CDMA Android Development] s0nniez:
I just rooted my friend's hero with this method. Everything turned out ok.

Then I flashed fresh 2.1, everything was fine.

He's trying to install apps that require root but it says the phone isn't rooted, or can't access root.

What's going on?

Thanks.
[Hero CDMA Android Development] aaron1981:
Thanks so much for this guide! I just went through the steps and it went very smoothly considering I'm in my first week on Android.

In case anyone is having trouble here is an obvious mistake I made:

Step 5: unzipped the hero-root.zip files to C:\android-sdk-windows instead of C:\android-sdk-windows\tools. This caused me to get stuck at command line step 3.

But now I am rooted and running!
[Hero CDMA Android Development] GadgetMonger:
You need to flash the su fix posted on the first page on the fresh rom thread ...
[Hero CDMA Android Development] s0nniez:
THANK YOU! You are a great help. :D
[Hero CDMA Android Development] Las_Vegas:
I found it easier to do in two steps:

cd /system/etc/security
mv otacerts.zip otacerts.bak
[Hero CDMA Android Development] GadgetMonger:
Yup..........
[Hero CDMA Android Development] aiwetir:
well i don't really see anything of substance about security in that blog post, mostly just trashing sprint and spreading fud. the thing with a rooted rom is that it should have the 'superuser permission' app installed which intercepts all su requests and asks you to allow or deny them once or forever. unless someone is sitting at your phone ready to press 'allow' then i don't see having root access as that much of a security threat.

remember the biggest threats to security are users anyway. how many of us have downloaded market apps that request your google credentials without a thought to what that means? be smart about what you have on your phone and how you use it and you should be fine.
[Hero CDMA Android Development] guevr093:
I tried this as well, but there is no /system/etc/security these folders don't exist and neither does the otacerts.zip. Im running the Zen-EXP ROM.
[Hero CDMA Android Development] timf76:
No audio problems

I was having audio problems with all the 2.1 custom roms I installed on my phone. After I rooted .5 no audio problems :)
[Hero CDMA Android Development] Las_Vegas:
If you installed another ROM rather than the stock ROM patch mentioned in the process, that file won't exist and won't need correcting.
[Hero CDMA Android Development] wnathanball:
out of memory

i used the second recovery.img from the link in REGW'S guide after i got the out of memory and got the correct response
[Hero CDMA Android Development] DominoDoug:
I would like to try out one of the Fresh roms(either Fresh or Fresh Toast). I have backed up my current setup and backed up my SD card. If I flash over to Fresh Toast and want to go back is it as easy as just selecting my saved state and reloading my SD card contents?
[Hero CDMA Android Development] pyropup55:
Great Job man! I'm glad I didn't flash 2.1 as soon as it dropped but muchs props to fixing it!:cool:
[Hero CDMA Android Development] devyn_ciara:
Thank you!! :)
[Hero CDMA Android Development] mprunty:
You are the man. I have been waiting for this ever since I first updated my Hero to 2.1, not realizing i should of rooted my phone back when I had 1.5. I will treasure your wisdom and the wisdom of all those who were involved in the process.
[Hero CDMA Android Development] rockypr:
F*ck i download the OTA update... What can i do to root my phone?
[Hero CDMA Android Development] lay6:
Problem with OTACERTS.ZIP

I did the install as directed. At the very end, I get the following "no such file or directory"

Any suggestions on how to plug that hole?

Thanks in advance

edit it is to the otacerts.zip....
[Hero CDMA Android Development] mlblack16:
I used the website www.unrevoked.com from my Hero to do the self root application and it was so easy I didn't believe it had worked.

Has anyone else used this method and do you know if the removal of OTA updates and nandroid backup are a part of this apk package or do I need to go back in and do them?
[Hero CDMA Android Development] mlblack16:
BTW, apparently these guys worked with Regaw on this method so that's why I ask if the apk package includes the other steps mentioned in the OP
[Hero CDMA Android Development] regaw_leinad:
For everyone that accidentally updated with the OTA .6, run the 2.27.651.5 RUU in the second post to revert, and then root using the method in my first post.
[Hero CDMA Android Development] regaw_leinad:
I am not positive about what they put in the apk as far as OTA disabling, I am pretty sure that it's not included, because it really is user-choice to do it or not. I would say go ahead and disable them yourself
[Hero CDMA Android Development] regaw_leinad:
And sorry, I've been pretty busy. I am going to post an OSX and linux guide tomorrow. Pm me if you would like to help out w/ them, for as I have 3 rehearsals and a gig tomorrow.
[Hero CDMA Android Development] lordjefe:
Help

OK -- I got stuck with 2.27.651.6, when I try to run the 2.27.651.5 RUU I'm getting a 171 USB error. Any thoughts?:confused:
[Hero CDMA Android Development] Las_Vegas:
Put your phone into "Fastboot" mode by holding Volume-up while starting. Then plug it into the USB, "Fastboot" should change to "Fastboot USB." Now you should be able to run the RUU .5 without problems.
[Hero CDMA Android Development] mlblack16:
Okay, thanks. What about the nandroid backup? Do you think this occurred as part of the apk?
[Hero CDMA Android Development] bravo1565:
rooting sprint hero 2.1 problems

i have followed the commands everything is good untill i get to the superuser app it doesnt show up on my phone like it said it would i want to root my hero but i am a newbee dont know if it matters but sprint 2.1 update is 2.27.651.5 my phone has 2.27.651.6 dont know if it means anything
[Hero CDMA Android Development] vumeister:
I'm at the exact spot, I am missing the superuser application. Can someone help us?

UPDATE: Just tried resetting the phone back to factory settings and refollowed the direction and the damn superuser application is still not there!
[Hero CDMA Android Development] sisco_lopez:
did you get the update from sprint yesterday? If so you would have to restore back by using the RUU posted in the second part on the first page.
[Hero CDMA Android Development] GadgetMonger:
Nandroid backup before you flash anything, then going back is as easy as a nandroid restore.
[Hero CDMA Android Development] chhansen:
Unable to Start Wifi

I cannot get wifi going. When I select, I get "unable to start wifi" if I turn on Airplane Mode, I get "unable to stop wifi". I have seen this error resolved in other rom threads by downloading certain audio and battery fixes but I am not sure if that is safe with this rom. How do I get this working?

Thanks for any help.
[Hero CDMA Android Development] GadgetMonger:
What version you running? 1.6 works the best with the hero.
[Hero CDMA Android Development] chhansen:
I don't know what version you are referring to. I have the rooted 2.1 Sprint rom installed. other than that, I have not changed anything.
[Hero CDMA Android Development] GadgetMonger:
I was thinking you were talking wifi tether.
[Hero CDMA Android Development] vumeister:
Ahh didn't see that, thanks, I did indeed install that update. Time to try again...

UPDATE: It now works perfectly, I am now rooted!
[Hero CDMA Android Development] GadgetMonger:
I guess the question still stands though. Are you running the ruu update from Sprint or were you already rooted and flashed the stock 2.1 rom posted here at xda? If its the ruu it could be a Sprint issue and you could try reporting it to them. Of course you know you probably don't want to tell them you're rooted. If its the rom you flashed you could try reflashing or try flashing another rom. I'm running freshrom 2.1.2 at the moment and wifi works fine.
[Hero CDMA Android Development] rockypr:
Downgrating to the 2.27.651.5 RUU will delete everything again?
[Hero CDMA Android Development] chhansen:
I was running Damagecontrol 2.08.1. I followed the instructions in the first post of this thread.
[Hero CDMA Android Development] sisco_lopez:
No prob. Glad to help
[Hero CDMA Android Development] Las_Vegas:
This is off the topic of this thread. You should read the DamageControl threads for the solution to your problems and failing that, post there.
[Hero CDMA Android Development] jeffpope0:
another update?

ok, so i restarted the process and it work! thanks so much to all..now i have another question. my sprint hero is trying to do an over the air update to htc software 2.27.651.6? i already loaded the 2.1 last week.. my current software is 2.27.651.5 will i loose my root if i download this htc update? any help would be great.. jeffpope0@comcast.net
[Hero CDMA Android Development] chhansen:
I was responding to a specific question about how my phone was rooted prior to using the method posted in this thread. Read the previous messages before going into jerk response mode.

Thanks
[Hero CDMA Android Development] SooooneR:
Flames Coming in 3....2....1.....Oh it burns!!!!

JeffPope^^^ Dude no disrespect but you have to take some time and read. The first post tells you that you will lose your root if you let the OTA update happen. Come on now! It also explains how to disable it..... sigh....
[Hero CDMA Android Development] jeffpope0:
o yea, i definetly read too fast. thanks for your help..so im guessing there is no root for the .6 software?
[Hero CDMA Android Development] hotaru:
it'd be nice to have the fix for the root exploit from the .6 update without losing root... is there some way to do that?
[Hero CDMA Android Development] GadgetMonger:
Actually you're both right. Some people take these forums way to seriously. Unless its a mod/admin its best to just blow em off. He is right though in that running a search of damages thread is probably what you want to do. Never had much luck with damage roms myself so....
[Hero CDMA Android Development] bravo1565:
how to root 2.1 sprint hero

How can I downgrade to 651.5 to root I have 651.6:confused:
[Hero CDMA Android Development] Jus10o:
Run the 651.5 ruu. It should downgrade for you.

There is a download in this thread somewhere.
[Hero CDMA Android Development] Broncotodd:
Hey all,

I'm a new user/frequent lurker....I had to register today just to say THANKS! I envy all the guys/gals who have the ability to do this. Well done!

This root was painless. It's the first time I've rooted a phone, so that should say something about how easy the thread made it!

I've found the thread on "How to remove Stocks, Nascar and other useless apps... " and it's huge. I'm going to start reading it, but if anyone has a better reference for what can/cannot be removed safely, it would be appreciated!

If an official app is removed via the SDK tool, will the empty directory be automatically removed or will I have to do that via a file manager?

Thanks again for the rootability! :D
[Hero CDMA Android Development] Jus10o:
What would be the point of it? No one can access your phone without superuser permissions popping up asking for permissions. So fixing it would be rather pointless since it being there doesnt effect your phone in anyway.
[Hero CDMA Android Development] Jus10o:
Do this.. Also remember android is Caps sensitive. So type apks exactly as they display.

adb shell

mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system

cd /system/app

ls

This will display all apps on your phone.. To remove them do this

rm NameOfApp.apk

rm NameOfApp.odex (if this file exist)

An apk file is almost like a .zip file. So when you remove the apk there isnt anything left behind. You can also remove all sprint apps and stock.apk. There are some others but its not a big deal to leave them. You can also do this

adb pull /system/app/NameOfApp.apk NameOfApp.apk

This will pull the apk from your phone. So if something goes wrong you can put it back like this

adb push NameOfApp.apk /system/app
[Hero CDMA Android Development] unCoRrUpTeD:
If you do..

adb pull /system/app apps

it will pull all of the apps in the folder. Easier than typing each one seperately.

You may have to make a folder called apps from whatever directory you are running adb from.