yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] redram38:
Wow all I can say is this was about as easy as it gets. I was rooted but wanted the newest PRI from the update but was worried I would never see root again. I followed everything after pushing the files to the sd card ( I just copied them there using disk drive ) and it took less than 2 minutes to get it rooted. Did my nandroid then re-flashed my backed up nandroid of AOY 2.1 Rom and I am back to where I was with A2SD working and now I can use the internet connection as well. Thx for this and Man I hope everyone don't jump ship to the EVO. Looking Forward to your latest Rom Reg and Thx again for this root.
[Hero CDMA Android Development] jerrygon:
Trying to revert back to .5 using the file on post 2. The install goes fine until the phone reboots and tries go into bootloader. Then it gets stuck on the HTC screen and the install program gives me a error. Anyone have any ideas? Thanks!
[Hero CDMA Android Development] aacevedo17:
.6 back to .5

Hey guys, accidently downloaded the latesty upate... :( i noticed at the beggining of this thread it mentions that if you want to go back to .5 to go to the 2nd thread or something. i cant find it anywhere can someone please guide me in the right direction. i would really appreciate it. thanks you all.
[Hero CDMA Android Development] jerrygon:
Just click on any of the links on post 2, download that file and install from your computer.
[Hero CDMA Android Development] D3FAULT:
EDIT: Fixed

Okay. I can't even get past Step 9. I did everything else I was supposed to afaik.

However, this is what happens:

I know it'd E: and not C:, but that's the drive I'm on so that should be okay?
[Hero CDMA Android Development] aacevedo17:
problem tryin to go back to .5.

so i downloaded the ruu from this post that will give you .5 aggain. and everytime i try it, it gets stuck at the part that says it is finding bootloader. after that it exits and asks if i have the phone connected to usb correctly. anyone have any idea what may be going on?

nvm. htc syn was the prob.
[Hero CDMA Android Development] harry5315:
I'm having the same problem. I'm lost. You said, "htc sync the problem?" What was the problem, and how did you correct it? :confused:
[Hero CDMA Android Development] htadeja:
i have been using htc sprint vouge for 2 years now and i love the phone. i waited for nexus but it never took of the ground. the evo which is my next choise is too bulky plus i have to pay $10 monthly extra. hero is my only option left so i bought one at best buy with 1.5 stock last week. upgraded it to 2.1 the other day. rooted it today. followed instructions as noted and it worked like a charm. now im happy with the phone and very satisfied with the system. i may have to stick with this for a long time again. thanks a lot for your efforts and good job.
[Hero CDMA Android Development] jerrygon:
Yes, please do say what was wrong with HTC sync. I am having this same problem. It says its looking for boot screen but then phone gets stuck on HTC screen and it errors out. Please help...
[Hero CDMA Android Development] melgabean:
make sure you have the newest HTC Sync downloaded from the htc website. also once you plug your phone into the computer make sure it is set as charge only. then try to run the program and see if it solves your issue.
[Hero CDMA Android Development] betonblack:
managed to get my phone rooted and overclocked but now im having text and network connectivity issues. the answer might be in this thread but unfortunately i dont have the time to skim through and find out what the heck is going on.

phone: sprint htc hero

unrevoked (2.1)
[Hero CDMA Android Development] PortableTech:
I know this has been asked and passed by in the thread previously, but is there any hope of getting this to work on the new Alltel HTC Hero? I am willing to do what ever I can to assist, even setting up remote access to a computer the phone is connected to if this would assist. I know there at least a decent handfull of us in this position.

-- Mia
[Hero CDMA Android Development] regaw_leinad:
hey Mia

unfortunately, this was an exploit in the customizations Sprint made to their carrier specific Hero. Basically they opened up a HUGE security hole when they made their customizations. This exploit will not work on other carriers.
[Hero CDMA Android Development] Kfunk:
I hope there is an answer in here as well. I had the same proble after rooting. I lost my network connectivity as well. I had to reinstall the RUU and don't have root anymore just so I can use my phone :confused:
[Hero CDMA Android Development] Kfunk:
I just re-rooted and so far all appears to be going well. :D
[Hero CDMA Android Development] raz699:
DISABLE OTA UPDATES!!!!

To disable OTA updates that will patch this exploit, (after rooting and booted after creating a nandroid backup) run the following commands from Command Prompt.

Code:

cd C:\android-sdk-windows\tools

Code:

adb remount

Code:

adb shell

Code:

mv /system/etc/security/otacerts.zip /system/etc/security/otacerts.zip.bak

After doing this, the OTA updates WILL still download, BUT they will not pass signature checks to flash because of the code you just entered.

Ok, Did that and now I regret it. Please Help! Downloaded the .6 to my wifes phone and love the improvements. I would like to do it on mine but I either lost the .bak somehow or am doing it wrong. All I wanted the root for was to change the bootscreen and remove bloatware and that it done.

Can someone send me the /system/etc/security/otacerts.zip file, I seem to have lost my .bak because it can't find the file when I mv /system/etc/security/otacerts.zip.bak /system/etc/security/otacerts.zip

to put it back or am I doing it wrong? Tried doing the nandroid backup but the upgrade still wont pass, I went so far as to reinstall ruu then root again, remove bloatware again, change boot screen again, and now it still wont pass. I am at a loss here. Any ideas?
[Hero CDMA Android Development] nautical34:
Moved to Q & A
[Hero CDMA Android Development] harry5315:
I've done that with negative results. Thanks. Anyone else have the cure? :o
[Hero CDMA Android Development] ethandissi:
is there a simple way to check if the root was successful btw i am having trouble at two parts getting su permission to pop up and also disabling ota updates thanks! and i have tried various roms... o and i tried using regs rom the .5 one and i couldn't use it i compressed it and it said it wasn't signed did i do something wrong?
[Hero CDMA Android Development] gunnyman:
do this adb shell

cd /system/etc/security

ls

the .bak file should be there.
[Hero CDMA Android Development] jmmcjohn:
It worked great when i first did it. But I just wiped my phone (using the menu / privacy / factory defaults) and now when i try doing the same steps it does not install the super user.

What should I do?
[Hero CDMA Android Development] s0be:
If you execute "SDK Setup.exe" from the SDK install, and use it to install the USB drivers, you can skip step 3, by editing the 'android_winusb.inf' to have an entry that matches your phone. For my Alltel CDMA hero, the entry was:

; HTC Hero Alltel
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C9A&MI_01

Still not gotten myself root on my hero, but have managed to segfault a few times hunting for an available escalation exploit.
[Hero CDMA Android Development] boomhower:
Worked great, thanks!
[Hero CDMA Android Development] harry5315:
After several failed attempts while booted up normally, this suggestion is what worked perfectly for me. Thanks! :D
[Hero CDMA Android Development] LiquidSolstice:
I don't get it. I successfully did this once, and due to a badly written app, I had to hard reset (holding Home+Back and turning phone on).

Now, when I try to do it again, I'm not hitting the step where Superuser Permissions shows up on my applications list.

I've tried formatting my SD Card through the phone, I've triple checked to make sure USB Debugging is on and the USB mode is Charge Only.

And I only have ".5" as my software version, not ".6".

What am I doing wrong? I saw that at least one other user in this thread is in the same predicament.
[Hero CDMA Android Development] raz699:
I have since wiped the phone (I Know, I Know) and it is gone now. Decided to go with a custom rom with apps2sd so I don't need the file anymore but want it in case I need warranty service. If someone could send me the original otacerts.zip file you would be my hero (No pun intended). Only takes a minute to pull it, pretty please! Someone, anyone???
[Hero CDMA Android Development] LiquidSolstice:
I had the exact same issue as you.

Unfortunately, there is no easy way around it. As far as I can tell, you have to use the Sprint RUU to reflash the phone, and then root it over again. I've tested this multiple times and it does work.

You'll need to download this (http://outboundlink.me/anxo/dr_ta_1.../2uQunBaV/RUU_Hero_C_Sprint_2276515_R_si.html) and run it. It's the same link as the RUU Regaw posted in the second post of this thread.

Sorry I couldn't give you any better news. Best back up your stuff. Not sure if you're new to this, I certainly am. (I spent a lot of time back in the day messing around with Windows Mobile roms, so this isn't all that crazy hard, but it certainly is daunting for first timers)
[Hero CDMA Android Development] nfinitefx45:
well Untill you flash a rom, even a stock rom w/root, if you do a factory reset it will wipe out your root. I just posted a stock rom of the latest version that is rooted. you may want to look into something like that.
[Hero CDMA Android Development] KingKwentyne:
hey guys i went through all the steps up until the part where i put in the command to flash. it keeps giving me a read error (out of memory) any help on that would be much appreciated. thanks
[Hero CDMA Android Development] KingKwentyne:
hey guys i went through all the steps up until the part where i put in the command to flash. it keeps giving me a read error (out of memory) any help on that would be much appreciated. thanks sorry for double post. browser issue.
[Hero CDMA Android Development] jasonnelms:
Plz Help - Possible Brick?

I just tried this, everything seemed to work. When I got to the Nand Backup part I got the error: Error : Run 'nandroid-mobile.sh' via adb!

I tried to back out and reboot as I saw in another forum and now I am hung on an HTC load screen. Please tell me there is a way to fix this!
[Hero CDMA Android Development] 4redstars:
How much charge do you have left in your battery? if it is low it may not allow you to nand restore or backup.
[Hero CDMA Android Development] jasonnelms:
I have full charge. My SD card only had around 1GB left on it though.

Can I even boot back to a working phone without a backup?
[Hero CDMA Android Development] jasonnelms:
Ouch -scared I jacked my phone.

I should mention that I am very new to this and am very confused as to what to do next. I need a working phone and I am ok with moving on without a backup if I have no other choice but right now, rebooting just sends me to the HTC white screen and I have to pull the battery to get it to do anything unless I hit a bunch of buttons on boot and get into the recovery partition.

Any ideas?
[Hero CDMA Android Development] nfinitefx45:
go back to recovery (hold the home button and press power) go to wipe options, do a dalvik wipe. then reboot, just remember that this will take between 5 to 10 minutes as it rebuilds the cache. It should boot. If this doesn't work then go back to recovery, wipe otion and click factory restore, this will reset your phone and undo root, at this point because you have not flash a rom yet. then reboot
[Hero CDMA Android Development] UniqueNate:
Hey I downloaded the 2.27.651.5 RUU and when I try to downgrade the build, it keeps saying error. It says please make sure your device is plugged in via USB and it is.

and ideas?
[Hero CDMA Android Development] FalconWC:
Worked Great

Thanks You are the man! Many tried you succeeded.
[Hero CDMA Android Development] snowmans:
Quick and easy for my first root on Andriod, thank you.

There were a couple spots that I thought the info may have been a bit more clear. I didn't document as I went thought, but if I go though the process again, to send some suggestions, will it mess anything up since it is already rooted?
[Hero CDMA Android Development] melgabean:
make sure you have the latest Htc Sync downloaded and installed. it'll have whatever usb drivers you are missing. you can find it on the htc website.

or just click here and download then try again.
[Hero CDMA Android Development] melgabean:
nope won't mess anything up
[Hero CDMA Android Development] hapticchaos:
easypeasy

this was incredibly easy, thank you very much.
[Hero CDMA Android Development] sekarpdkt:
Just to say thanks

Even though I rooted using unrevoked.com, I found that it does not do nandroid backup. Pressing HOME + POWER button does not bring backup menu.

So I followed the steps above again, re rooted ;) and took backup. Now my phone is secured :-)

If you plan to use as2SD, use to recovery image mentioned between step 9 and 12 in first post (Thanks to nfinitefx45). You need receovery image 1.6.2.

Jumping to nfinitefx45 thread Sprint 2.27.651.6 STOCK Deoxed w/apps2sd 6/18/2010:Update 2 to get Apps2SD with full speed.

Great job team. We must learn to write manual this way.
[Hero CDMA Android Development] regaw_leinad:
To clarify, you do NOT need the 1.6.2 recovery to use a2sd. That does not affect a2sd.

And that you for the compliment on the guide :) took a LONG time to make it look good!
[Hero CDMA Android Development] mistal0n31y:
help

hi i was wondering if anyone can help me i have done everything correctly up to the command prompt steps i have entered the cd C:/android-sdk-windows/tools prompt after that i tried entering the adb device but receive the following message ('adb' is not recognized as an internal or external command, operable program or batch file.) any advice? thanks in advance
[Hero CDMA Android Development] melgabean:
do you have HTC sync installed on your computer?

also just check to make sure you have the adb.exe file under that folder. so once your at C:\android-sdk-windows\tools type dir and see if it is at the top of your list of files. if not check to make sure you have unzipped and placed the androidsdk files in the correct area. (i know it sounds dumb to check but i've been fooled by dumber things)
[Hero CDMA Android Development] sekarpdkt:
Just to say thanks

Thanks for the info. Later I realised that my SD Card has full FAT32 partition. SD card EX2-EXt3 was not going to work. I wiped my SD card data, did complete re-partition (Swap, EXT3 and FAT32). Installed deoxed ROM from nfinitefx45.

My market applications are now getting installed in SD.

G8.

PS : First attempt with EXT4 partition failed to install market application in SD card. I revert back to EXT3 (one more format of SD card). If others has problem try to switch back to EXT3.

Thanks team.
[Hero CDMA Android Development] ReggRock15:
I got through all the steps but after I get the large unrevoked sign on my command prompt i never get the superuser permissions app it just keeps saying please wait this may take 30 seconds
[Hero CDMA Android Development] usopen:
Htc hero attempt at rooting

I feel stupid asking for help, but I am stuck! I got to the point where I have the superusers permission app, but I can't go any further when trying to type in su in command prompt, can someone please help this newbie?

-Chad-
[Hero CDMA Android Development] usopen:
Since I turned my computer off after trying all night, what command prompt do I need now to type in su for it to recognize my phone and give me the prompt to give privileges? I have the superusers permissions app and the screen is blank like you said, I just don't know what to type in the command since I am beginning a new day. Does this make sense?

-Chad-

In the Command Prompt on your computer, type:

8.

Code:

su

A prompt will appear on your Hero asking you to give /system/bin/sh privileges. Click Allow.
[Hero CDMA Android Development] trentonite:
wifi is unable to start / stop

I applied the root successfully and followed every step to a tee. at first my wifi was working fine and then i rebooted my phone. now the wifi says it is unable to start. i checked to see if it somehow attempted to apply the sprint update to 2.1 but it didn't.

is there any kind of quick fix for this? i read somewhere on this thread about flashing it, but i couldn't find the file it was saying to flash with.

thanks
[Hero CDMA Android Development] greenldg:
what did you do? I have same concern.
[Hero CDMA Android Development] trentonite:
well i just tried restoring my nand backup...luckily i hadn't really done much since rooting it. the wifi is working now, but then again i haven't tried to tether or reboot yet.

i'll keep you posted

-----------------------------------

EDIT: After tethering successfully and rebooting the phone, all is back to normal. I guess it just hit a rough patch the first time around when installing or something.
[Hero CDMA Android Development] ekz13:
flawless, thank you for the easy instructions. worked like a charm!!
[Hero CDMA Android Development] spicy_mchaggiz:
followed all the steps to a T! Worked well until I restarted the phone, now it says I have no data connection so it won't let me on the market, or even maps! What the heck?
[Hero CDMA Android Development] ooMikeoo:
2.27.651.5 mirrors

Are there any other mirrors out there for the 2.27.651.5 RUU besides the 2 in the 2nd post?, my employer blocks both of those websites in their firewall.
[Hero CDMA Android Development] jerry43812:
Since this was just brought to my attention, I will be mirroring one from my website,. I will post a link once updated and uploaded..
[Hero CDMA Android Development] nhs510:
I'm not allowed to post links, but you can get the 2.27.651.5 RUU straight from HTC via ftp at this link: wwwDOTmydigitallife.info/2010/05/27/download-sprint-htc-hero-android-2-1-software-update/

Not trying to break rules, just trying to help!
[Hero CDMA Android Development] khol91:
Is there any way to modify this to work with the Droid Eris? Unfortunately we're stuck in the same boat that you guys were in, except we have almost NO Dev community anymore :(
[Hero CDMA Android Development] feefeeboomboom:
dude thats .6 not .5. htc and sprint didnt update the version number that they have up for dl..
[Hero CDMA Android Development] osuskippy:
Any update on when an OSX guide will be available? I just got a Hero phone today and am excited to use it.
[Hero CDMA Android Development] balak:
A belated thank you post. Very clear instructions and newbie like me could root in a few minutes.

I managed to follow the instructions from this and the linux version of previous (1.6?) rooting and make do using my ubuntu lucid laptop.

Now onto the different ROMs!
[Hero CDMA Android Development] josh21984:
not working

i cant seem to get it to install the superuser app on my phone after running the revoked it says may take up to 30 sec. and it still dont work is there anything that you might think will work please let me know
[Hero CDMA Android Development] Stramondroid:
Guide worked great! I had the no memory issue, rebooted and was okay!

Just an FYI, my coworker got the HERO today in the mail from Sprint, and it was preloaded with 2.1update1, but I bet you guys already knew that.

Have a great one!
[Hero CDMA Android Development] Oxrod:
There is a new version of HTC sync (2.0.40) Will this matter?
[Hero CDMA Android Development] splitfx:
Thanks!

Worked like a charm guys thanks!
[Hero CDMA Android Development] harharharris:
Guys, i'm having trouble with my Wireless Tether after flashing this rom. It just says "Unable to Tether. Please try again!"
[Hero CDMA Android Development] itrackit:
my wife finally agreed to let me root her sprint 2.1 (.5) update and this was ridiculously easy. loading a rom now. thanks for the hard work to make this happen.
[Hero CDMA Android Development] ImageMan77:
I went from 1.6->2.1 official->the build said in this guide->root. My phone started crashing constantly, I did the root correctly. I went back to Sprints official one off their website, twice. It still crashes but not as much. What could be an issue or what tools can I use to see why its crashing? It reboots rarely while in use but almost everytime it goes into idle state and you try to use the phone again.
[Hero CDMA Android Development] jergud:
what about GSM hero

hi guys, I just want to know if this method works well for GSM hero too ?

thanks for your reply
[Hero CDMA Android Development] stevets:
I was having a problem where after running sh /sdcard/unrevoked the superuser permissions wouldn't show up. I am/was running .651.5 so I was getting pretty confused. It turns out that if you have Fresh Kitchen open, it will not allow this part of the root to go through. Once I closed Kitchen it worked fine and I was able to proceed with allowing permissions in the Superuser app.

Many thanks to all who have contributed!
[Hero CDMA Android Development] wardfan220:
You have to make sure that USB debugging is on, double check that.
[Hero CDMA Android Development] Shark0011:
Need help plz

hi i did the exact steps u did my sprint htc hero has the build number 2.27.651.5 and firmware version 2.1-update1 and software number is 2.27.651.5. I did the same exact steps and didnt get an error but after i wrote reboot recovery my phone just turned off and didnt turn back on. I pressed﻿ the red power button but it didnt turn on that way so i had to take a battery out and put it back in. any help this is my 8th attemp at rooting my hero =[
[Hero CDMA Android Development] Oxrod:
Rooted for my first time using these directions. Had no problems. Thank you guys.
[Hero CDMA Android Development] abadasstanker69:
Why is this NOT stickied yet?
[Hero CDMA Android Development] danyolson:
please help with steps

after i do step #4 the blinking vertical line justs jumps to the next and won't let me type anything.. so i can't move onto step 5.. hopefully someone can help.. new to this but want to root.. thanks in advance :)
[Hero CDMA Android Development] danyolson:
sorry i meant command three.. ugh
[Hero CDMA Android Development] digital3721:
I had never done anything like this before (lol that sounded really gay) but i was amazed how easy it was to do. Really looking forward to flashing new roms and all the other things i will now be able to do. Thank you very much!!!
[Hero CDMA Android Development] noobie100:
I guess I was pretty luck to have downloaded the entire .zip file. :)
[Hero CDMA Android Development] guitardoc64:
Thanks for this guide. It was easy enough, and worked like a charm. Now, off to the ROMssssss!!!
[Hero CDMA Android Development] Quantic:
help

This procedure can also go for HERO Android G2 updated to 2.1 official?

Regards
[Hero CDMA Android Development] freddyraptor:
thanks bro.. im a noob but this is just a jam for me ..tryin to learn more things in kernal
[Hero CDMA Android Development] pr20de:
I'm sorry to bother you guys, I searched thru the pages looking for the answer but haven't found it yet.

I'm stuck at the adb shell command (Step 6), after I hit enter the cmd immediately shows a dollar sign I've waited upwards of 10 min and nothing.

i'm gonna keep searching thru the thread, if I find something I'll let you know, if any of you guys know hot to solve my problem i'd appretiate it if you'd let me know.

Thanks
[Hero CDMA Android Development] Jus10o:
When you get the $ type this

su

so it will look like this

adb shell

$ su

#

Then continue doing the rest of the commands
[Hero CDMA Android Development] pr20de:
nevermind......
[Hero CDMA Android Development] waggums:
Worked perfectly! Thanks!