yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] lancepberg:
wtf why wont my hero root

when i get to number 7 it wont put the super user app on my hero what other ways can i get around this
[Hero CDMA Android Development] nachtfrau:
Same issue here. However I was able to root it once, see the superuser icon and proceed with the root. Then I had to wipe the phone because I installed a ROM that I didn't want. Wiped, tried to root again, no luck. Same result for me, can't see the superuser icon under apps after proceeding to step 7. Like I said, worked once but didn't work again after that. I'm still on .5 as well which confuses me as to why it isn't working this time.
[Hero CDMA Android Development] LiquidSolstice:
Sorry, posting this again. I'm not sure why, but I know exactly the problem you're having, and I can tell you that the only way (in my experience) to fix that is to reflash the .5 RUU, and then follow rooting instructions.
[Hero CDMA Android Development] nachtfrau:
Fantastic, thanks for the advice, I'll try it out and post the results. Also do you know of an app that will basically take an image of my settings/apps so once I root again, all I have to do is load my settings and I'm back to my current settings? Spent half the day today configuring my phone completely again, trying not to do that again, and again, and again lol.
[Hero CDMA Android Development] LiquidSolstice:
Well, it's a tad bit tricky to use, but Titanium Backup is what I would use. I think it's in the market and free, and is designed specifically for rooted phones.

if you want to do a stable backup of your phone when it's working perfectly but you want to try a different rom, all custom Recovery menus (which you'll have once you root) allow you to make what's called a Nandroid, which is essentially a snapshot image of your ENTIRE phone, and can be used to easily restore to. It's a large file, usually around 200-300MB, but it preserves every last one of your settings and modifications, because it's just a snapshot image of your current setup.
[Hero CDMA Android Development] nachtfrau:
Now I'm really confused lol. When I hold down the volume up key and boot to recovery I get the Android system recovery console and have the Nandroid option's to restore a previous backp and have made 3 backups so far, as a rooted phone should. However when my phone boots up and I go into my apps, no superuser icon. Also if I try to use a application like ROM Manager to switch to another ROM, says I don't have permission/rights to run some of the commands.

Any ideas?
[Hero CDMA Android Development] fastbruh:
Need help fast

I followed all steps correctly, got to the adb devices code and it keeps saying not recognized, I have the usb on charge only and i have debugging checked, so what is going on???
[Hero CDMA Android Development] aquaboy1976:
Thank you!!!

Thank you so much! I was able to get through most of it without issue.

The only problem I had was during part 8 of step 9. I typed "su" and selected "Allow" for /system/bin/sh privileges. I was then told permission denied in my Command Prompt windows. I rebooted my phone and started from the beginning of step 9 again. By doing so, did I create extra files on my sdcard?

Thanks!
[Hero CDMA Android Development] mjricci:
Trouble at step 7

I am getting to step 7 and not seeing the Super User permission app in my applications menu on my phone...I have restarted my phone. I have downloaded the recovery.img. Still not showing up. Everything I did matches to the screen shots up to the "Unrevoked" screen. It shows "Please wait. This will take up to 30 seconds." Then shows a $...But the app isn't showing up on my phone...Thoughts?
[Hero CDMA Android Development] regaw_leinad:
did you read the big red writing at the very top of the first post? ;)
[Hero CDMA Android Development] nachtfrau:
Ok figured out my issue. Restored to the first nandroid backup I did and sure enough, there was the super user app. I must of goofed when wiping and when it came back it was back to stock with no super user icon. Now it's fixed and back to being rooted again lol. Just need to get it back to the way I want it and make another nandroid backup of that and should be good from there to start flashing ROMS.

Thanks again guys for this fantastic write up! Very much appreciated!
[Hero CDMA Android Development] masteryee:
having trouble rooting

I am new to this and I get stuck on where it says that the Superuser App is in my app tray.

I was successful at doing everything up until that point. Any help?

I am running Android 2.1.

I did stop right there and can I continue where I left off?

Thanks!
[Hero CDMA Android Development] masteryee:
I'm having the same issue.

I have the 2.27.651.6 and tried to type "su" but it said "su is not recognized as an internal or external command, operable program or batch file."

Do I have to start it all over again?

Thanks!
[Hero CDMA Android Development] regaw_leinad:
you forgot to type adb shell first.

AND

you need to be on 2.27.651.

5

for this to work.
[Hero CDMA Android Development] LiquidSolstice:
Flash a ROM of something else. Wipe everything before doing so.

You may need to restart your computer for the ADB driver to be recognized. Are you sure you put the Android SDK where it needs to be?

This means one of two things. You either are on the .6 software and need to downgrade, or you're re-rooting and you didn't reflash the .5 RUU. There's only one solution: Reflash the Official Sprint RUU, and follow the steps again. It will work.
[Hero CDMA Android Development] LiquidSolstice:
You forgot ADB Shell. Right now, you're trying to "su" your computer, not the phone, and on Windows, "su" doesn't do anything.

Type adb shell first.

EDIT: Dammit Regaw, beat me to it :P
[Hero CDMA Android Development] regaw_leinad:
yeah hahah AND noticed that they posted that they have .6... lol i wish people would read the BIG RED PRINT on the first post...
[Hero CDMA Android Development] aka_word:
Everything went smoothly, thanks.
[Hero CDMA Android Development] camaroryan:
Some how i lost my superuser app but my phone is still rooted is there anyway i can get the app back i have tried rerooting my phone but i havent fully restored my phone to factory setting any ideas?
[Hero CDMA Android Development] bbh1983:
Problem with flash image

Ok, I'm new to this and got all the way to the point where I flash the recovery image and it says image not found? Not sure what I'm doing wrong, but any help would be appreciated. Thanks!
[Hero CDMA Android Development] guitardoc64:
Try getting the su app from the market and installing.

Did you make sure that you have the recovery on your SD?
[Hero CDMA Android Development] bbh1983:
Trying something else
[Hero CDMA Android Development] kb0lcr:
Success

New guy here,

I just tried your instructions for rooting my .6 hero last night. I followed the directions step-by-step, and it worked perfectly the first time. You've saved a trip out the cardoor window for my phone (it was headed that way if something didn't change).

Thanks for all your hard work!
[Hero CDMA Android Development] wera72:
Hello.

first post and thank you for all of your help.

I have a problem. I have followed the rooting instructions and continue to fail at

the second command> adb devices

when i type this in i get an error telling me ADB is not recognized as an internal or external command,operable program or batch file.

Any suggestions would be greatly appreciate.

thank you for all of your hard work!
[Hero CDMA Android Development] LiquidSolstice:
You need to cd into the directory first. "cd C:\android-sdk-windows\tools"

If you've oen that and it still isn't working, that means you haven't installed HTC Sync or you haven't restarted after installing it.
[Hero CDMA Android Development] regaw_leinad:
actually, that error has nothing to do w/ HTC Sync. You just need to

cd C:\android-sdk-windows\tools

then do your command. adb should be recognized.

Make sure you see the file "adb.exe" in the directory C:\android-sdk-windows\tools.
[Hero CDMA Android Development] LiquidSolstice:
Ah, well I was 1 for 2 then :P.

Also, what I just realized might be a helpful hint is to type "dir" just to double check that adb.exe is in there.
[Hero CDMA Android Development] usnret04:
Thanks to the OP for this thread. I was about to flash CyanogenMod when I came across a link to this thread.

I've already rooted my phone with ROM Manager. I had to use the Alternate Flash Recovery method, Clockwork would not work.

The phone is now rooted and I have Superuser, did my nandroid back up, etc...

But after reading your thread, I have two concerns:

I have the .6 Build Number, will that still be OK, or do I have to down-grade?

Do I need to Disable OTA Updates? If so, how would I do it with the method I have used to root the phone?

Thanks for your generous help in this matter.
[Hero CDMA Android Development] usnret04:
Update: I was able to get the Clockwork Recovery to work now via ROM Manager.

Still curious about the .6 build and OTA Updates though.

Thanks!
[Hero CDMA Android Development] LiquidSolstice:
You must downgrade to .5 because the root exploit exists in .5. You'll need to do this whether you want to flash Regaw's own ROM or CM6.
[Hero CDMA Android Development] usnret04:
Thanks for the reply. So now that I'm already rooted with CW and have SuperUser, how do I get the RUU to work unless I follow the entire root process?
[Hero CDMA Android Development] LiquidSolstice:
Wait, you're already rooted? Why do you want to root again? You just flash the new ROM that you want to use now.
[Hero CDMA Android Development] bloodge1:
Thanks so much for this. Every other guide I tried confused the hell out of me and didn't work. Your guide was easy :D
[Hero CDMA Android Development] piscesjoey:
Just rooted my replacement Hero using this method. Miss the simplicity of the 1 click root, but this method wasnt a problem at all except for the first time running the RUU to downgrade and it wouldnt go to bootloader, but I figured it out to just run the RUU again without unplugging the phone from USB. Thanks Regaw!
[Hero CDMA Android Development] LiquidSolstice:
The 1-Click root, as far as I know, is not a true root.
[Hero CDMA Android Development] LostHero:
im new (in case you didnt notice this is post #1) and was wondering if i could just use the original download for 2.27.651.5 that i got from the sprint site since it is still on my computer and downgrade with that??

and the reason my user name is LostHero is not b/c i lost it, its b/c im lost when it comes to this kinda stuff..

TIA
[Hero CDMA Android Development] LiquidSolstice:
If you're asking if you can use it so you don't have to download all over again, the answer is yes :).
[Hero CDMA Android Development] LostHero:
aight!! im not sure if i will do the root from my computer b/c it has been acting up lately and its hughesnet satellite internet which is not all that fast and if i have to do a lot of downloading it might go to dial up speed...thanks for the little bit of info and being so quick to respond!!
[Hero CDMA Android Development] LiquidSolstice:
No worries. As long as your USB ports are working, and you have installed HTC Sync and grabbed the Android SDK, I cannot see you having any issues. Unless perhaps you have an overly agressive AV program.

I should be online on XDA for at least the next half an hour, feel free to post here, I can get back to you pretty quickly.
[Hero CDMA Android Development] LostHero:
thanks for that...im bout to go to bed though.. i may do it tomorrow while im watching some football.

i do not have the android sdk but will get that..and as for the sync, i cant remember if it was my computer or my work computer but one of them does not work properly?? dont know whats the deal with it. like i said i will probably play around with it tomorrow..

i do have one question right now. some things calls for adobe flash player and with the hero you can not get it. can you get it with it being rooted??
[Hero CDMA Android Development] LiquidSolstice:
Well, the only reason you need Sync is because it installs the USB driver required for your computer to communicate with your Hero. Whether or not the program itself runs is irrelevant.

As far as the Flash Player goes, if the custom ROM you chose to flash includes it, yes, you will be able to use it. I have never really needed or wanted to use Flash on my phone, so I can't share my experiences with you on that.
[Hero CDMA Android Development] LostHero:
the only reason i was asking about flash is b/c another website i go to post gif's sometimes and i only see it as a picture. i noticed my buddies palm pre played the gif's and i wanted mine to do the same..(i really dont even know if flash has anything to do with it, i just assumed it was) and also i was going to draft for fantasy football and the draft board was recommending to download adobe flash. the draft is over now so no need for that but would like to know why the gif's dont show.
[Hero CDMA Android Development] LiquidSolstice:
Hmm. Wish I had an answer for you. My best guess is that the default Android browser (not even sure what web rendering engine it is based on) does not support GIF animations, which is weird, since I know I've seen full blown flash banner ads in it before.
[Hero CDMA Android Development] LostHero:
im using skyfire as a browser..find the htc internet browser kinda slow..could skyfire be the problem, i also used opera mini for a while and noticed the same thing.
[Hero CDMA Android Development] LiquidSolstice:
Well yes, Opera Mini cannot display those things because of the way the content is delivered to you. Opera Mini isn't exactly a conventional web browser, more of a (very loose defintion here) a remote viewing program.
[Hero CDMA Android Development] Cheeva316:
At step "3" I believe it is...

I get this

C:\android-sdk-windows\tools>adb push unrevoked /sdcard

cannot stat `unrevoked` : No such file directory

C:\android-sdk-windows\tools>

I used the ruu .6 instead of .6, so I don't know what the deal is but thats what I get someone please help me, thanks
[Hero CDMA Android Development] LiquidSolstice:
This is your problem, the root exploit does not exist in .6. If you meant to say you're using .5, the only other thing I can suggest is to ensure that the unrevoked files are actually in the tools directory.
[Hero CDMA Android Development] Chaoswarper:
Broblem in Rooting

I did'nt get it work on my Hero, Unrevoked appeared in commandline but Superuserpermissions icon did'nt appear in my applicationmenu.

Phone Software specs:

Firmware version: 2.1-update 1

Baseband version: 63.18.55.06PU_6.35.15.11

Kernel version 2.6.29-063c4d24

Build number 3.32.405.2

How do I fix this so I can finally root and get everything work?

Please help!, I'm newbie with these
[Hero CDMA Android Development] regaw_leinad:
Are you on Cell South?

Build number 3.32.405.2

vaguely reminds me of a Cell South RUU I had a while back.

If so, this only works for Sprint CDMA Heros
[Hero CDMA Android Development] Cheeva316:
So let me get this straight I need to use .5? I have 2.1 update installed on the phone, I have downloaded the files in Post #1 of this forum over and over again and I also get a "usb error" message when I try to sync my phone with the Hot sync download. I am goin on 7 hrs of trying this over n over again...someone please help. Or am I following the wrong thread as far as 1.5 or 2.1?
[Hero CDMA Android Development] LiquidSolstice:
Using the RUU in the second post, power off your phone completely. Then, hold the Volume UP button to put the phone in Fastboot mode. Connect to USB. The Fastboot will change to Fastboot USB. Run teh Sprint RUU, and then follow the instructions. Once you are done, you are free to flash any other ROM of your choice.

EDIT: What is "Hot sync" and why are you using it here?
[Hero CDMA Android Development] Cheeva316:
So "hold the volume up & power button"?
[Hero CDMA Android Development] LiquidSolstice:
Yes. Turn the phone on while holding Volume UP
[Hero CDMA Android Development] Cheeva316:
EDIT: What is "Hot sync" and why are you using it here?[/QUOTE]

I was referring to "step 3" in 1st post
[Hero CDMA Android Development] LiquidSolstice:
I was referring to "step 3" in 1st post[/QUOTE]

AH. You mean HTC Sync. You don't need to run the program to perform the root. The program only installs the USB drivers required for the SDK and ADB.
[Hero CDMA Android Development] Cheeva316:
Got everything to go through accept after I hit allow on the "Superuser" (sorry if I misspelled that) the phone did nothing, and now I had to re-set everything for internet but it won't work, does it have something to do with this tut that I followed?
[Hero CDMA Android Development] Cheeva316:
Does it have anything to do with still having all those files on my sdcard still installed in my phone?

Want my internet back...lol
[Hero CDMA Android Development] Cheeva316:
Also have done this which it's set to.

Use ANYCUT app download it and shortcut proxys to the desktop.

use wap.metropcs.net

port: 3128
[Hero CDMA Android Development] LiquidSolstice:
It's not supposed to do anything. Superuser Permissions is not an app, it's a collection of permissions that other apps are granted, such as wifi tethering. I'm not sure why your data connection isn't working, perhaps using a proxy isn't working.
[Hero CDMA Android Development] tailsthecat3:
is there still no way to root the official .6 sw update?

thank you thank you
[Hero CDMA Android Development] hotaru:
there's an app that can root it. i think it's called "universal androot" or something like that. i used it to root my dad's hero for him.
[Hero CDMA Android Development] bandd:
I'm trying to figure out how to follow through with this procedure using Linux (Ubuntu 10.04 specifically) on a recently purchased Hero running the .6 firmware. Is there a way to flash the .5 firmware in linux, since obviously the RUU will only work in Windows?

I have been successful in extracting the rom.zip from the .5 RUU (through wine). Can I push this rom to the phone and then flash it? Or does it not work this way?

I'm a reasonably avid Linux user, no fear of the command line, but brand-spakin' new to android and phone mods.
[Hero CDMA Android Development] Elijah Lynn:
I second this, I initially rooted my phone on Windows but have since switched to Kubuntu full-time and have a friend who has a Hero and I want to root it for him and make it fast. Has anyone rooted their Hero using GNU/Linux? Specifically Ubuntu or Kubuntu?
[Hero CDMA Android Development] Elijah Lynn:
This post says just start from step 4 once you have Android SDK installed.

http://xdaforums.com/showpost.php?p=6706168&postcount=480
[Hero CDMA Android Development] Elijah Lynn:
Whoops, totally overlooked your question about backing down the latest Sprint ROM to the rootable Sprint ROM. Doesn't appear to be a way to do that. May have to boot into Windows for that.
[Hero CDMA Android Development] ereotav:
I just rooted useing this method and it was great! But i have 2 questions.

1) What recovery is it?

2) My phone wants me to upgrade to the .6 build via OTA. I did all parts of the root. So can i download this build update without it hurting my phone. or is that a no no.
[Hero CDMA Android Development] bdizzel1982:
why go thru all that work just use this Universal Androot download and install the apk and with one click you have root and this will work on the .6 firmware :)
[Hero CDMA Android Development] bdizzel1982:
There is no Recovery installed using this method you can download Rom Manager and flash Clockwork Mod if you want. Also if you install the OTA and go to .6 you will lose your Root but you can get it back by downloading Universal Androot and installing the apk then run the app and with one click you have root on .6 :D
[Hero CDMA Android Development] regaw_leinad:
Actually....

when you run the command

flash_image recovery /sdcard/recovery.img

it flashes a recovery image, Amon_RA 1.6.2
[Hero CDMA Android Development] bdizzel1982:
ah I missed that when I glanced thru it quick my bad :p either way the main page should be updated as this old process is not really needed anymore when you can just get root access with one click now
[Hero CDMA Android Development] tomh1979:
i actually used universal androot to root my wife's hero, worked perfect, i just had to use unrevoked forever thought to do s-off for full nand unlock, so now it's time to find a froyo rom and flash that.
[Hero CDMA Android Development] LiquidSolstice:
Why did you s-off? You don't need full nand unlock to flash CM6. IN fact, nand unlocking is a bad idea if you ever need to return or get servicing.
[Hero CDMA Android Development] regaw_leinad:
I don't really know why I called it nand unlock in my S-off thread lol the heroC's nand flash IS unlocked already, but it just sounded cooler to name the title that :p
[Hero CDMA Android Development] tomh1979:
i can always s-on, not a hard thing to do, just another tool to flash, the unrooting part is alot easier though, just go back into the root app and click un-root, lol, but anyways, not a fan of cm6, well atleast not for my evo for a few reason, one main thing is due to their lack of support for sense, which i like sense, however with my evo they also don't support 4g, which i really extremely like, lol. I can only assume that their Hero rom is also sense-less.

However nand unlock is nice though so i can flash a backup just incase i need it, which can also be used to flash backups of other roms on the go too.
[Hero CDMA Android Development] surfline22:
I'm trying to root and during the step in command prompt where I type:

adb devices

The result is:

List of devices attached

But there is no device listed.

What am I doing wrong here? Im on 1.5... , USB Debugging is enabled.

Thanks.
[Hero CDMA Android Development] sekarpdkt:
If you are using windows xp you need to install latest HTC sync software.
[Hero CDMA Android Development] regaw_leinad:
or windows vista or 7...
[Hero CDMA Android Development] simko.k:
help please

my build number is this " 3.32.405.2 CL191507 release-keys "

i downloaded 0.5 and pluged my phone but while i was updating it told me " update fail " what should i do ???

it says " ERROR 130: model id error " help plz

please can someone help me
[Hero CDMA Android Development] regaw_leinad:
Are you on Sprint?
[Hero CDMA Android Development] bdizzel1982:
Just use universal androot much simpler
[Hero CDMA Android Development] LiquidSolstice:
For starters, why are you doing this on 1.5 when the guide clearly says Sprint 2.1 release?
[Hero CDMA Android Development] dhero1:
Hmmm ... fyi, I used this update method this morning successfully, and it loaded Amon_RA 1.5.2 for me.
[Hero CDMA Android Development] surfline22:
When I type:

C:\android-sdk-windows\tools>adb push unrevoked /sdcard

The result is::

cannot stat 'unrevoked': No such file or directory

I'm on 2.27.651.5 and I have followed all the steps..

What is going wrong?

Thanks.
[Hero CDMA Android Development] simko.k:
please... i don't understand what u just asked me???
[Hero CDMA Android Development] regaw_leinad:
ah that's what I mean, sorry. There is a link to 1.6.2 down below that command in the guide
[Hero CDMA Android Development] sekarpdkt:
Mean these steps are for HTC hero cdma of sprint. He suspects that yours is not Sprint hero.
[Hero CDMA Android Development] josh6780:
Can someone explain to me how doing this is any different than using unrevoked if we are already using unrevoked file to root the phone.
[Hero CDMA Android Development] LiquidSolstice:
This was the original method before th 1click root, and thsi method, unlike the 1click root, allows you to install the recovery straight through this process. Granted, yes, with 1click root you can grab ROM Manager and install clockwork, but I guess it just comes down to which one you like more, somehow, this just feels more solid and more of a true root process to me. Plus, it feels kinda cool to do xD
[Hero CDMA Android Development] simko.k:
i know..... how can i know if its sprint or not ????
[Hero CDMA Android Development] hotaru:
does it have a sprint logo above the top edge of the screen?
[Hero CDMA Android Development] regaw_leinad:
Do you have Sprint Service???