yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] Broncotodd:
I had already got into the SDK and printed off a list of all the apps currently on the phone....That's alot o preinstalled crap LOL... I'm trying to figure out what to get rid of, if anything....Stock 2.1 has been running just fine for me as is.

If I understand correctly "pulling the app" removes it from my phone, and stores it in the directory where my SDK tools folder is? pushing is vice-versa?

Thanks for the help btw!
[Hero CDMA Android Development] Jus10o:
Pulling it is like making a copy of it. It will still remain on the phone. Pushing the file puts to back to the phone and a copy still remains on your computer. So both do the same thing just in different directions.
[Hero CDMA Android Development] Broncotodd:
Sounds like if I have any doubts about an app, I should pull it off and then remove it....if problems arise, push it back!

I think I will probably just kill the "never will I use these apps" and consider it good!

Thanks again! :)
[Hero CDMA Android Development] touch_rules:
How to root Sprint 2.1 Release for CDMA Hero

Worked great, thanks for all the hard work.
[Hero CDMA Android Development] darrick913:
ive followed the inst., for rooting 2.1. i get to the part with the super user and the apt is on phone but when opened there is a blank data page and the cmd prompt says access denied.. what can i do?
[Hero CDMA Android Development] darrick913:
i got it figured... yeah me...lol
[Hero CDMA Android Development] DominoDoug:
Thank you.
[Hero CDMA Android Development] zero1600:
its works great thx man. I was gonna get rid of my hero becuz i didnt like the official 2.1 release.
[Hero CDMA Android Development] amartins02:
Hi everyone,

I'm having a problem after the root. I had no problems when I rooted with the 1.6 rom. I followed all the instructions from page 1. I use the browser without a problem but when I start the wifi tether I run into issues. First super user app pops up asking for permissions and I allow for all of them. Then after I connect a device to the wifi tether I can't access the internet on either device. Even when I restart the phone I can't get online on the phone browser. When I reflash with the backup then it all works again until I run wifi tether again which repeats the same process.

Basically it seems like the wifi tether is messing with the phones internet settings causing it to not be able to get online.

Any ideas?
[Hero CDMA Android Development] Sina702:
Is there a ROM from the official Sprint 2.1 Release that i can put on my phone, and it keeps root? And if there's already one, can somebody post the link please? I couldnt find after searching
[Hero CDMA Android Development] extxn72:
Thanks for answering...anyone else confirm this? Any audio issues with ROMs after rooting 2.1?

Also, does the horrendous lag when calling from a direct dial shortcut remain after rooting/flashing a ROM? I'm still running rooted 1.5, and I noticed that the lag is not there on Pure Hero, but when I run the "official" 2.1 stock ROM that Damage put together, the lag is there. So is it just dependent on the ROM, not which version you're running rooted?

Sorry for all the noob questions...I'm just trying to figure out if I should stick with 1.5 and deal with the audio issues on ROMs, just run stock 1.5 (rooted, of course), or update to 2.1, root it, and deal with the crappiness that's in that one. If the audio issues are fixed on ROMs after rooting 2.1, it's a no brainer...unless there's other issues, like the call lag. And the bluetooth thing.
[Hero CDMA Android Development] Jus10o:
http://xdaforums.com/showthread.php?t=681697

also this one with apps2sd

http://xdaforums.com/showthread.php?t=682373
[Hero CDMA Android Development] herohunt2:
No "Charge only" option on pull-down bar.

Please help! When connecting my phone to my pc I don't see a "Charge Only" option, just the following:

ONGOING

USB connected

Select to copy files to/from your computer.

NOTIFICATIONS

HTC Sync

Synchronize your phone with Windows

How do I proceed?

Thanks!

Nevermind. Got it.
[Hero CDMA Android Development] GadgetMonger:
Make sure you're using wifi tether v1. 60 . Also after you connect if you don't have internet access try turning mobile connections off and back on again in settings.
[Hero CDMA Android Development] house1999:
If I rooted my Hero using this method, will I be able to flash custom roms without losing root? I thought I remember reading somewhere that the patched boot.img is where the exploit lies. So flashing a custom rom or kernel will invariably flash a new boot.img. Please correct me if I'm wrong. Thanks for the help.
[Hero CDMA Android Development] Jus10o:
Pm me the rom you want to use and ill do the boot.img fix and just make a flashable update.zip
[Hero CDMA Android Development] GadgetMonger:
Flash away. Just don't run newest ruu or updates from Sprint.
[Hero CDMA Android Development] waterbound:
reboot your cell ...seems to have helped others with the exact same problem..
[Hero CDMA Android Development] sponge66:
Thank You

Can I start right from Step 6 after reboot?
[Hero CDMA Android Development] Jus10o:
Yes you can.. If you havent already tried.
[Hero CDMA Android Development] SammyM00782:
I'm gonna try this shortly...maybe. I'd love to run another rom cuz this sprint **** is terrible. I can't thank you enough for figuring this out. If I could get ya a bj I would, you've earned it. Ugh, I can't believe with all the *****ing we did after the 2.1 update they'd patch only root access. WTF?! Well, I gotta make sure I gather up all the software I need to do this so I don't get screwed. Thanks again.
[Hero CDMA Android Development] sponge66:
Still doing it any suggestions?
[Hero CDMA Android Development] nfinitefx45:
Hey Jus10o good job keeping up with the questions, I'll be around again tomorrow evening to help out again.
[Hero CDMA Android Development] nfinitefx45:
try flashing the other recovery listed, so if your doing 1.5.2 then try 1.6.2 or vice versa
[Hero CDMA Android Development] sponge66:
Ok thanks..I'm good at following instructions but am to new to this and do not really understand 1.52 or 1.62. Is this another recovery image? If so can I install this using the instructions in this thread. When is saw this thread and the fact that i have the same RUU build # I thought it wouldn't be to tough.
[Hero CDMA Android Development] nfinitefx45:
Yes the instructions are the same for both. It just seems that some have trouble if one the other usually works. 1.6.2. is just the updated 1.5.2.
[Hero CDMA Android Development] timf76:
Give it a shot, you can always go back to 1.5.
[Hero CDMA Android Development] xtrigit:
thanks

Thanks for the simple guide.

When i get to this step:

adb remount

I get the following message:

What did I miss?
[Hero CDMA Android Development] foddyy:
Great job, Tks a looooooooooot, Donating is on the way
[Hero CDMA Android Development] WDwooley:
I'm having the same problem. It says- Please wait. This will take up to 30 seconds.

That is as far as it ever goes. Tried rebooting phone with no luck. I also can not get any other RUU to run. On progress screen shows waiting for bootloader then to a screen that shows unable to connect with device.
[Hero CDMA Android Development] bravo1565:
how to root 2.1 sprint hero

i just rooted finally a installed damagecontol v2.08.1 and superuser app just shows black screen any know why and what i have to do to make it work
[Hero CDMA Android Development] killacammiami:
step 3 of Step 9 it says no such file in directory :( i dont use apps 2 sd help how to pass this i entered adb push unrevoked and i get a list of things i fixed this by un\zipping the files directly into the tools folder without having them in the folder but now im stuck right here Microsoft

C:\androidsdk\tools>adb push unrevoked /sdcard

1191 KB/s (439327 bytes in 0.360s)

C:\androidsdk\tools>adb push recovery.img /sdcard

1182 KB/s (3356672 bytes in 2.771s)

C:\androidsdk\tools>adb push boot-patched.zip /sdcard

1037 KB/s (2279194 bytes in 2.145s)

C:\androidsdk\tools>adb shell

# sh /sdcard/unrevoked

sh /sdcard/unrevoked

Unpacking, please wait...

chmod: /data/DxDrm/unrevoked.2381: No such file or directory

/sdcard/unrevoked: /data/DxDrm/unrevoked.2381: not found

rm: cannot remove '/data/DxDrm/unrevoked.2381': No such file or directory

#
[Hero CDMA Android Development] nfinitefx45:
ok after you type the "su" command you need to look on you phone and the superuser windows should be up asking for you to approve the su command. you need to do this.Then in adb the "$" will change to "#"
[Hero CDMA Android Development] nfinitefx45:
you wont see anything unless it needs the su approval, then it will popup and ask.
[Hero CDMA Android Development] regaw_leinad:
You mean an official 2.1 version of RegawMOD? If so, then yes, at some point. I have to go find a job to make money now for the summer haha. I'll stay around, but now I have to focus on normal life for a bit.

If you're talking about this:

http://shop.sprint.com/en/software_downloads/pda_smartphone/htc_hero.shtml

Well, then, there you go hehe
[Hero CDMA Android Development] d1msum4lyfe:
if 1.5, just root it like any 1.5 and update to whichever rom u want afterward :D
[Hero CDMA Android Development] regaw_leinad:
Any Hero that came w/ 2.1 on it can be rooted using my guide.
[Hero CDMA Android Development] dlozo:
way to go!!!!!

I have been lurking in this thread since the beginning without even a need for it, just to see it accomplished. I saw it start off strong and slowly saw devs wither away as the EVO launch loomed. Glad to see you and the others persevered! Hats off to you, you have just attained "legend" status. Thanks to all involved for all the hard work!
[Hero CDMA Android Development] puppetmstr:
Oh and I have your ROM flashed but it has been giving me some problems with stopping me from receiving texts. Do you think I should update to Offical 2.1 then re-root and wait for an official 2.1 rom to come out? BTW Thanks :D
[Hero CDMA Android Development] regaw_leinad:
Let me know how this works for everyone! Keep me updated too!
[Hero CDMA Android Development] fowen:
Edit: This was the last line.

"error writing recovery: No space left on device"

How is my device full and what do I do to fix it?
[Hero CDMA Android Development] gunnyman:
CONGRATS!!!!!!!!! Hurrrah!!!!
[Hero CDMA Android Development] d1msum4lyfe:
did u try rebooting your phone? and then trying it again?
[Hero CDMA Android Development] regaw_leinad:
Need to ask, is anyone else experiencing this?

try downloading this and putting it on your sdcard and running the command again.

http://www.4shared.com/file/oh1hfn-m/recovery.html

yeah try that too
[Hero CDMA Android Development] fowen:
No, but I will do that now.

I did recieve a ton of emails through exchange yesterday that I think is causing some problems with my device. The notification still thinks I have "99+" emails and Sync fails sometimes. I have rebooted since then but still hasn't fixed the other problem.
[Hero CDMA Android Development] skndeep102:
Just did this... easiest root guide ive seen
[Hero CDMA Android Development] regaw_leinad:
Just to let all of you know, I have RUU'd over 15 times and tested this in the last few days. So if you have any big problems, run the 2.27.651.5 RUU and then follow the guide step by step.
[Hero CDMA Android Development] PPC F250:
Didn't happen to me!
[Hero CDMA Android Development] regaw_leinad:
Thanks :) I tried REALLY hard to make this guide perfect and easy to follow
[Hero CDMA Android Development] avegasrascal:
I guess my question is I really didn't see a difference between 1.5 or 2.1 except maybe the speed and if it was it wasn't much. So I guess i'll stay 1.5 and update it to my liking. Thanks
[Hero CDMA Android Development] sivanesh:
Worked Awesome!!!

I had the latest Signed Test Leak (without the su).

The Root hack was simply superb!

:)
[Hero CDMA Android Development] fowen:
Reboot did it. Thank you very much.

This has been my first root and the guide was very very easy to follow. Thank you for all of your hard work!

I owe you $10.00 for the "bounty". PM me your Paypal and I will send it over. Also, if you need any web site hosting let me know. I will hook you up.
[Hero CDMA Android Development] nimcmillion:
So now that i have rooted 2.1, Does that mean I can remove sprint apps and such?
[Hero CDMA Android Development] nfinitefx45:
ok one of two things. if you are sdk 5 or lower then you need to copy the files to the C:\android-sdk-windows\tools.

if your is the sdk 6 then they need to be placed in another location. read the docs or readme for the versoin you downloaded
[Hero CDMA Android Development] killacammiami:
thanks i just found out y it says this message i dont even have 2.1 installed on my phone yet ... iguess i suppose to already have it installed???

C:\androidsdk\tools>adb push unrevoked /sdcard

1191 KB/s (439327 bytes in 0.360s)

C:\androidsdk\tools>adb push recovery.img /sdcard

1182 KB/s (3356672 bytes in 2.771s)

failed: not found

# # C:\androidsdk\tools>adb shell

C:androidsdktools: not found

# Syntax error: "(" unexpected

# #

C:androidsdktools: not found

# Syntax error: "(" unexpected

# # # sh /sdcard/unrevoked

sh /sdcard/unrevoked

Unpacking, please wait...

chmod: /data/DxDrm/unrevoked.2381: No such file or directory

C:\androidsdk\tools>adb push boot-patched.zip /sdcard

1037 KB/s (2279194 bytes in 2.145s)

C:androidsdktools: not found

# Syntax error: "(" unexpected

# # /sdcard/unrevoked: /data/DxDrm/unrevoked.2381: not found

rm: cannot remove '/data/DxDrm/unrevoked.2381': No such file or directory

#C:\androidsdk\tools>adb shell

# sh /sdcard/unrevoked

sh /sdcard/unrevoked

C:androidsdktools: not found

# # Unpacking, please wait...

chmod: /data/DxDrm/unrevoked.2381: No such file or directory

/sdcard/unrevoked: /data/DxDrm/unrevoked.2381: not found

rm: cannot remove '/data/DxDrm/unrevoked.2381': No such file or directory

Unpacking, please wait...

chmod: /data/DxDrm/unrevoked.2387: No such file or directory

/sdcard/unrevoked: /data/DxDrm/unrevoked.2387: not found

rm: cannot remove '/data/DxDrm/unrevoked.2387': No such file or directory

# Unpacking,: not found

# # chmod:: not found

# /sdcard/unrevoked:: not found

# rm:: not found

#sh /sdcard/unrevoked

sh /sdcard/unrevoked

Unpacking, please wait...

chmod: /data/DxDrm/unrevoked.2393: No such file or directory

/sdcard/unrevoked: /data/DxDrm/unrevoked.2393: not found

rm: cannot remove '/data/DxDrm/unrevoked.2393': No such file or directory

#
[Hero CDMA Android Development] nfinitefx45:
yes this is only for those that have 2.1 this will not work for rooting 1.5 there is another thread on how to take care of that ocated here http://xdaforums.com/showthread.php?t=583291
[Hero CDMA Android Development] killacammiami:
thanks so much .. i was rooted with 1.5 ..... but can i use a custom rom ? or theme ? i need that ring delay to b fixed
[Hero CDMA Android Development] killacammiami:
trying to flash recovery img i get this

C:\androidsdk\tools>adb shell

$ su

su

# flash_image recovery /sdcard/recovery.img

flash_image recovery /sdcard/recovery.img

mtd: read error at 0x00000000 (Out of memory)

mtd: read error at 0x00020000 (Out of memory)

mtd: read error at 0x00040000 (Out of memory)

mtd: read error at 0x00060000 (Out of memory)

mtd: read error at 0x00080000 (Out of memory)

mtd: read error at 0x000a0000 (Out of memory)

mtd: read error at 0x000c0000 (Out of memory)

#

C:\androidsdk\tools>

edit nevermind !!! i restarted holding down vol up and end i went to hboot and then after that i seen it say recovery i went there and i guess it installd
[Hero CDMA Android Development] johnnyphive:
Any word on Apps2SD support for this yet??? I know there are other ROMs out there that have A2SD working, but i want a bone stock with A2SD..
[Hero CDMA Android Development] athanos:
Have you tired this: http://xdaforums.com/showthread.php?t=682373. Not sure if that will help you or not.
[Hero CDMA Android Development] crimsonxhound:
i have the 2.27.651.5 ruu from sprint if you want to add it to ur page... for anyone that updated to .6 already this method wont work... and you cant download .5 from sprint anymore it says its .5 but its really .6... but anyways if u want it pm me and ill make it available;)
[Hero CDMA Android Development] likethebird:
Root noob question

First, thank you for the hard work in getting root back to the CDMA HTC Hero.

Forgive me if this has already been answered but is "unrooting" as easy as simply running the official Sprint RUU with HTC Sync? Will this restore any removed applications (i.e. Sprint Nascar) and return the phone to "Factory Fresh" 2.27.651.5?

Thank you and I apologize once more if this was answered. New to root and the possibilities seem endless; I just like to always have a way out.
[Hero CDMA Android Development] johnnyphive:
I get errors when trying to install that ROM. Noted on that thread
[Hero CDMA Android Development] athanos:
It's already available on the first page of this thread. Not to be mean or anything, but this has been discussed quite a bit in this thread. Thank you though for your willingness to help out.
[Hero CDMA Android Development] athanos:
Installing the Sprint RUU will 'unroot' you. And it should replace all of the apps making it 'factory fresh'. I'm not totally sure about th eapps, but I would think that it would do that.
[Hero CDMA Android Development] likethebird:
Thank you!

Thank you very much for the quick response.
[Hero CDMA Android Development] GadgetMonger:
Make sure USB debugging is checked in settings /app/dev.
[Hero CDMA Android Development] Las_Vegas:
I wasn't trying to be a jerk and was responding to the etire thread of messages that were off topic. Once rooted, any problem unrelated to the rooting itself should be posted in another thread in order to get an appropriate response.
[Hero CDMA Android Development] broncobuddha:
I'm still unable to get past step 9. I have the files in the correct folders and have the necessary HTC Sync drivers.

When I run the adb devices command from a C:\android-sdk-windows\tools prompt I get:

'adb' is not recognized as an internal or external command, operable program or batch file.

My phone has debugging on and is on charge only. Please help.
[Hero CDMA Android Development] Las_Vegas:
Somehow your Android SDK isn't installed properly. I suggest that you carefully follow the instructions at http://developer.android.com/ to reinstall the SDK before continuing.
[Hero CDMA Android Development] hooover:
You may need to re install the HTC drivers.
[Hero CDMA Android Development] broncobuddha:
I had an extra folder or something in there. I'm through it and on to the next part of #9.

Thanks all.
[Hero CDMA Android Development] DominoDoug:
I partitioned my SD card using ROM Manager and lost about 1 gig that I would like to get back. I did some research and apparently I can do it if I flash my recovery image to Amon_RA's. Can I do this without affecting my current backups and root?
[Hero CDMA Android Development] spookytay:
I followed the instructions with success. Flashed Damagecontrols ROM and got it working. Now I'm having the same problem, going into supersusers just has a blank screen and I can't install apps that require root access. Yes USB debugging is on. Any thing else to try?
[Hero CDMA Android Development] Broncotodd:
I had read somewhere that more recently purchased phones only worked/worked better with the 1.6.2. I replaced the recovery image that came in the Hero zip the 1st time through with 1.6.2 and it went smoothly.

I bought my phone the 1st week of May 2010.

Hope that helps :)
[Hero CDMA Android Development] idaho4045:
just to for warn everyone ... when you up date to the ruu on this forum (2nd post from rega) if you dont disable the OTA updates it will pop up an update DO NOT DOWNLOAD THE UPDATE!!! it will patch this exploit (as far as i kno anyway) so please everyone be sure to disable the OTA updates! and thanks again to Rega and the crew for getting this done!!.. and again everyone please be sure to down load the 2.1 RUU that rega posted in this thread!

thanks again guys!
[Hero CDMA Android Development] revcp:
I've been doing searches to figure out how to get the newest recovery image on my phone. Could you tell me what the process is?
[Hero CDMA Android Development] Jus10o:
Put the recovery image on you sdcard.. NOT IN A FOLDER

Then type this into command prompt

adb shell

cd /sdcard

flash_image recovery NameOfRecovery.img

In place of "NameOfRecovery" you must name it exactly as its written on you sdcard.
[Hero CDMA Android Development] Las_Vegas:
Go to the first post of this thread. The procedure for flashing the recovery image is there after the initial rooting of the phone. The recovery image supplied in the package is the most recent version.
[Hero CDMA Android Development] revcp:
Many thanks, to both of you! I perused that first page pretty thoroughly, just didn't see the reference to flashing the .img.
[Hero CDMA Android Development] revcp:
I'm stuck. Keep getting "No such file or directory"
[Hero CDMA Android Development] revcp:
Arrgggh. Thought I had it figured out. I had computer connect set to "disk drive" in order to drop .img onto sd. Forgot to remove and reset to "charge only". After doing that step correctly, however, I now receive a new error message: "can't find recover partition"
[Hero CDMA Android Development] cephraim:
Maps/Nav FCing

Uh-oh!

Just realized that Google Maps and Navigation are FCing on me after rooting with this procedure.

Anybody else seeing this? Any fix?

EDIT: Nevermind. Realized that I got myself into trouble with cache clearing and moving the cache to the SD card. Uninstalled and reinstalled Maps and I'm all set now.
[Hero CDMA Android Development] revcp:
Success!

Finally got it. You guys who know what you're doing must get a chuckle out of those of us who don't. I wasn't even sure it had flashed, but when I booted into recovery to delete battery stats there it was: 1.62.

Thanks to all of you for all your help!
[Hero CDMA Android Development] madflava54:
How do I restore the backup that I made when I rooted the phone? I messed somewhere and i guess downloaded the OTA update and cannot root the phone again now.

P.S. I am a huge Android newb
[Hero CDMA Android Development] bzegil:
Yesterday after rooting I did a Nandroid backup using 1.52, today I tried restoring that backup using the same 1.52 after having some problems, but I am stuck on the white and green HTC screen, I upgraded the recovery image to 1.62 and I am stuck on the same screen, I then downgraded to 1.52 again...and still the same problem, any ideas? I've searched and didn't find an answer.
[Hero CDMA Android Development] aacevedo17:
hey everyone, how do i flash the recovery image 1.6.2? or where do i go about doing this. thanks!!
[Hero CDMA Android Development] nfinitefx45:
turn the phone off. then while holding the home key press the power button wait till the recovery screen comes up then go to nandroid backup and choose the backup from the list and restore. If this does not work then you will need to run the ruu listed in post 2 of this thread, then redo post one again.

go to recovery again and do a dalvik wipe. if that doesnt work then go back into recovery and do a wipe/reset and a dalvik wipe, then reboot. that should work.

just follow the instrustons from the first post it is the same for both.
[Hero CDMA Android Development] madflava54:
Sorry, I don't see where or how I install the RUU. I found the .exe file, downloaded, and got a bootloader error though. Any idea what is wrong?