yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] SuperSaints:
Questions

I am a complete noob and will be rooting my Hero soon. I just bought the EVO and figure I can learn to root on my Hero first.

Assuming everything goes well with my 1st root :rolleyes:, is it still the stock rom when done? I want it to stay the same and just add tethering. How do I do that?

In case I want to try a different rom, where do you go for that?

Is there any negative to disabling the OTA's? Won't there be some updates needed for the phone? Also, once I sell my Hero, the new person won't know to come here for update zips, so what then? If I want to "unroot" the phone because of this, do you just do a hard reset?

Finally, what the hell is all this stuff about "recovery images" and nandroid, etc. Am I screwed lol!

Oh and one more thing, do I need to have my Hero activated to root it? I have the EVO active right now.

Thanks for any help, I really need it! And thanks to the guys who have done so much work. I will be donating! :D
[Hero CDMA Android Development] xjreyes:
everytime that i try this is give me the usb problem .. i can't seem to get the ruu to work for me... i've tried with 3 different usb cords... any suggestions?
[Hero CDMA Android Development] Starries:
I want to ask if Singapore's official 2.1 update can be rooted using the above method?
[Hero CDMA Android Development] frickn:
very sweet! works like a charm once I downgraded.

Thanks!!

frickn'
[Hero CDMA Android Development] ricoishere2:
noob question: Do you need to have your sd card clear and/or formatted in a certain way before you begin the root process? After root, can phone be re-flashed back to original 2.1 sprint rom if necessary?
[Hero CDMA Android Development] Jus10o:
For anyone wondering if the rom stays default 2.1 after rooting... YES

To go back to stock 2.1 unrooted hero.. Run the RUU at the bottom of the main post where regaw said.. "this is what I used when rooting blah blah" -- something along those lines. Im on phone so im not going to look. But its a RUU.exe file
[Hero CDMA Android Development] klyles29:
Yes!

before this thread, i wanted to throw my phone in the Mississippi river. not so much anymore. thanks and keep em coming
[Hero CDMA Android Development] arh1192:
EDIT: nvm I figured out my problem
[Hero CDMA Android Development] regaw_leinad:
Yes. Now you can do anything you want to the phone.

Just remember to

adb remount

before changing anything.
[Hero CDMA Android Development] nebenezer:
That means you can do whatever the hell you want with your phone.

You are now the administrator of you r phone, remove apps, make it awesome, brick it. It's your call now :D
[Hero CDMA Android Development] thatguythatdid:
Re: [GUIDE]

Congratulations and good work

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

Sent via the XDA Tapatalk App
[Hero CDMA Android Development] nfinitefx45:
Well Congratulations regaw, I knew you would pull this off. Great job !!
[Hero CDMA Android Development] puppetmstr:
The difference is more applications are available on 2.1 as well as a few fixes. 2.1's market you get a more in-depth description of applications using screeshots. There are applications that are only on 1.6+ or even just 2.1 But most are 1.6+.

So having 1.5 is cool and all, but once you get to 2.1 its hard to go back. I couldn't.
[Hero CDMA Android Development] nimcmillion:
Sorry new to doing this on my own. Usually just flashed roms by others. Is there instructions on how to remove sprint apps and other unwanted things on the forum.

Thanks, sorry for the Noob questions. Awesome job on the Root!
[Hero CDMA Android Development] Jus10o:
type this in command prompt

$ adb remount

$ adb shell

# cd /system/app

# ls

It will display all apps on your phone. To remove them type this.

# rm NameOfApp.apk

It is caps sensitive, so make you type the apk exact.
[Hero CDMA Android Development] PPC F250:
I've gotta hand it to ya man AWESOME job! Instructions couldn't have been better. Performing my Nand backup now. Great Job!
[Hero CDMA Android Development] regaw_leinad:
don't forget to remove the .odex files as well.

here is the guide I used when I first started on android.

http://xdaforums.com/showthread.php?t=581635
[Hero CDMA Android Development] Maikock:
Could someone post a rooted copy of the stock 2.1 Rom please?
[Hero CDMA Android Development] busstomper:
Incredible! Big props to all involved.
[Hero CDMA Android Development] Rsoehelk:
Yeah that lol

But without it removing root like any other Rom on this forum. Just tweaked.
[Hero CDMA Android Development] biohazardfroggie:
Thanks Regaw you the best man!! your super pro!!!!
[Hero CDMA Android Development] DominoDoug:
I received pretty much the same lines as fowen except at the end of mine it said

mtd: wrote block after 1 retries

#

It did NOT say

# flash_image recovery /sdcard/recovery.img

flash_image recovery /sdcard/recovery.img

#

Am I safe to proceed with the reboot recovery command?
[Hero CDMA Android Development] anshawnga:
I make it all the way to the end and it says no zip files found in the recovery mode.....:confused:
[Hero CDMA Android Development] jerry43812:
I've posted this guide here, too! You guys are awesome, and very good job, too!
[Hero CDMA Android Development] whatsleft4her:
Amazing job regaw, i never went stock but cant wait to see your come back rom release. Should be amazing!

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

Sent from my HERO200
[Hero CDMA Android Development] regaw_leinad:
did you push the boot-patched.zip to your sdcard?
[Hero CDMA Android Development] regaw_leinad:
try rebooting regularly and flashing again.
[Hero CDMA Android Development] anshawnga:
Yep should I do it again?
[Hero CDMA Android Development] spartan11:
thank you so much! this was very easy to follow
[Hero CDMA Android Development] hattrick1965:
I think I screwed this up........how do I get back to the recovery menu on the phone?
[Hero CDMA Android Development] ejpyle:
mtd: read error

I am getting this error...

mtd: read error at 0x003a0000 (Out of memory)
mtd: read error at 0x003c0000 (Out of memory)
mtd: read error at 0x003e0000 (Out of memory)
mtd: read error at 0x00400000 (Out of memory)
mtd: read error at 0x00420000 (Out of memory)
mtd: read error at 0x00440000 (Out of memory)
mtd: read error at 0x00460000 (Out of memory)
mtd: read error at 0x00480000 (Out of memory)
mtd: read error at 0x004a0000 (Out of memory)
mtd: read error at 0x004c0000 (Out of memory)
mtd: read error at 0x004e0000 (Out of memory)

Any idea what this means?
[Hero CDMA Android Development] hotaru:
i'd guess it means "out of memory"...
[Hero CDMA Android Development] AwsmGy:
After rooting, even without a custom ROM I'm unable to send MMS messages. Does anyone know what could be causing this?
[Hero CDMA Android Development] dudeandroid109916:
help!

so when i get to the part where to type in adb shell where you get a $ i get a # and i keep following the steps till i get to the part where to allow permisions on superuser and i dont get it on my phone any idea what happened
[Hero CDMA Android Development] kokane52:
thx for the info regaw! u made these instructions simple for a noob like myself! :)
[Hero CDMA Android Development] gupter:
Nandroid Problem

Long time reader, first time poster! If I am posting in the wrong place, please advise me on where to post to get help.

I have followed the directions in this thread to root my Sprint Hero Phones. I have rooted three Hero's thus far. The first two gave me zero problem. The third one will not do a Nandroid backup. When ran connected USB i can view the log which I will post below. Yes the SD card is empty 2GB free, I tried to reformat the card. It is a problem while backing up the recovery. IF i run it with switches nandroid-mobile.sh -b --recovery then it runs without error but there is no recovery.img file. Therefore, it is obvious it cannot created a recovery.img and that is the part that fails. Can anyone help me with this issue. I am new to root so I don't even know what recovery.img is for? Is that the recovery menu I am in when trying to make this backup?

LOG:

Create Nandroid backup?

Press HOME to confirm,

any other key to abort.

Performing backup : .

nandroid-mobile v2.2.1

Using G1 keyboard, enter a prefix substring and then <CR>

or just <CR> to accept default: Accepting default.

Using - prefix to create a backup folder

mounting system and data read-only, sdcard read-write

checking free space on sdcard

..Dumping boot to /sdcard/nandroid/HT01NHF07567/BCDMRS-20100701-0617/boot.img.....done

.mtd: ECC errors (0 soft, 1 hard) at 0x00380000

error reading recovery: No such file or directory

.Dumping recovery to /sdcard/nandroid/HT01NHF07567/BCDMRS-20100701-0617/recovery.img....mtd: ECC errors (0 soft, 1 hard) at 0x00380000

.error reading recovery: No space left on device

md5sum: can't open '/sdcard/nandroid/HT01NHF07567/BCDMRS-20100701-0617/recovery.img': No such file or directory

mtd: ECC errors (0 soft, 1 hard) at 0x00380000

.error reading recovery: No space left on device

md5sum: can't open '/sdcard/nandroid/HT01NHF07567/BCDMRS-20100701-0617/recovery.img': No such file or directory

.mtd: ECC errors (0 soft, 1 hard) at 0x00380000

error reading recovery: No space left on device

md5sum: can't open '/sdcard/nandroid/HT01NHF07567/BCDMRS-20100701-0617/recovery.img': No such file or directory

.mtd: ECC errors (0 soft, 1 hard) at 0x00380000

.error reading recovery: No space left on device

md5sum: can't open '/sdcard/nandroid/HT01NHF07567/BCDMRS-20100701-0617/recovery.img': No such file or directory

.mtd: ECC errors (0 soft, 1 hard) at 0x00380000

error reading recovery: No space left on device

md5sum: can't open '/sdcard/nandroid/HT01NHF07567/BCDMRS-20100701-0617/recovery.img': No such file or directory

Fatal error while trying to dump recovery, aborting.

Error : Run 'nandroid-mobile.sh' via adb!
[Hero CDMA Android Development] latepenguin:
Thanks for the instructions, just got my hero from sprint (not feeling the evo) and it came with the .6 update. The RUU you provided worked in downgrading the device and rooting the phone.

thanks again!
[Hero CDMA Android Development] redlinethecar:
error 67

Great tutorial one of the best I have ever followed. Only issue I have is I still can't seem to tether my device. I still get the error 67 code when I try. I did have .6 but downloaded .5 and installed it before following your directions. I am at a lost so if anyone has had this same run in or sprint updated or changed something please let me know if there is a work around. Thank you very much.
[Hero CDMA Android Development] aaronspurling:
i tried the fastload usb method to try an run .5 so i can downgrade from .6 but i cant get it to work, im running 2.0.3.3 sync

EDIT: figured it out! i switched over to my net book win xp sp3 and it had 2.0.5 sync, tried it as charge only with usb debugging on, just finished flashing fresh 2.3.3 now i just need recommendations for roms to try
[Hero CDMA Android Development] redlinethecar:
Ok first id like to appologize for this unneccessary post. Root actually does work. I needed to download a tether app. I just though when I rooted the phone it would let me tether from the androids tether software. Thanks so much.
[Hero CDMA Android Development] chromiumleaf:
Try browsing around this Android Development section and looking for custom ROMs that have the wireless tethering feature installed or enabled. Now that you have root access, you can flash a whole new ROM that will have plenty of enhanced features, such as wireless tethering, superuser permissions, needless stock apps removed, better speed and battery life, etc. I'm sure you'll find one you like on here.
[Hero CDMA Android Development] chromiumleaf:
The best recommendation most of us will give you is to just try a bunch of them out. Each person has different preferences and likes/dislikes, so the only way to find which one is your favorite is by trying several of them out for a few hours each. Now that you're rooted, I think you'll find that nandroid backups and flashing new ROMs will be quite easy.

You can gauge which ones are most popular by looking at how many posts/replies some of these ROM threads have. More posts/pages in the thread usually means more people are using them. That may help you get started at which ones to try out.
[Hero CDMA Android Development] ja3713:
I just finished doing the root part where its suppose to add the super permission app but no app was added to my phone?
[Hero CDMA Android Development] regaw_leinad:
Read the first sentence of the first post and you will find your answer.
[Hero CDMA Android Development] PlagaDeRock:
are 2.1 roms running better on a rooted 2.1 phone? is it worth it to upgrade, root, then reflash the same rom again?
[Hero CDMA Android Development] ski843:
WTF?

when I get to the step that I input sh /sdcard/unrevoked it says can't op /sdcard/unrevoked. Help please. I have tried everything I can think of.
[Hero CDMA Android Development] FussyQBert:
First off, great guide!

I successfully rooted my new Hero and its working great. I was just wondering if you guys had some cool ideas and things to do/customize for a first-time rooter.

First, I was going to try and remove some of the bloat applications (NASCAR, Music Store, etc). I was following another guide for that found here:

showthread.php?t=581635

(sorry can't post links yet)

I'm just curious where he wants me to type in "adb shell". I tried to do it from "C:\android-sdk-windows\tools". And the command is not found. It's not finding the command at all, anywhere. My Hero is plugged in, set to USB Debugging and Charge Only. So what am I doing wrong here?

EDIT:

Ok... So I think there was a problem installing the drivers... I'm not too sure what's going on. I was on 1.5 yesterday and updated to 2.1 then rooted. After either the update or the root Windows 7 notified me that the drivers failed to install. I'm guessing this is when "adb" stopped working. Any help is appreciated!
[Hero CDMA Android Development] couponfork:
This may be a dumb question but I am having troubles going from 2.27.651.6 to 2.27.651.5. Does anyone have a detailed guide of how to revert backwards to 2.27.651.5? Thank you in advance!
[Hero CDMA Android Development] cheyennemtn:
You have to revert back using RUU before you can root.
[Hero CDMA Android Development] sekarpdkt:
First download exe file mentioned in second post first page of this thread. Ensure you have installed HTC sync. Connect phone with pc and execute exe in pc. Will flash .5. Then follow first post.

You may need to use win xp.
[Hero CDMA Android Development] Murawd:
Worked flawlessly. Beautiful work guys.
[Hero CDMA Android Development] rconnjr:
reboot

Hi,

Thanks for all the great work. I have completed the root and flashed RegawMOD_v2.1t_signed and now the phone is on the headbanger screen but just keeps replaying over and over. Any ideas?

Aside from this issue, you have made this so easy. Thanks
[Hero CDMA Android Development] rconnjr:
acctually, I cant seem to get any ROMS to boot up. They all seem to flash ok, but always hang up.
[Hero CDMA Android Development] rconnjr:
YAY! after reading more I learned about wiping before flashing and it worked.
[Hero CDMA Android Development] rconnjr:
OK, Last post about this. I got RegawMOD_v2.1t_signed working but I cannot get any other roms to boot up. It gets stuck at the white HTC screen. I have tried all the wipes and rebooting countless times. Any help would be appreciated.
[Hero CDMA Android Development] Shadomastr:
I may have had the same problem you are having now. it sounds like you may have deleted all the roms off of your phone so you can't flash anything. Miner would get stuck on the white htc screen and I could not do anything else. I ended up having to plug my sd card into the comp using a micro sd adapter (the comp would not recognize the phone). Then I loaded a rom into the card and re flashed.

Hope this helps!
[Hero CDMA Android Development] firsttimer44:
I know this is very nooby but I just got my HTC hero yesterday. I am having a little trouble reverting back to the .5 edition. I downloaded the .rar file, what do I do from there? application installer from sync or something? I am lost.

I have heard all the great things rooting your phone can do and I am really looking forward to getting this thing going.

Thanks
[Hero CDMA Android Development] AH28:
I am having trouble reverting back to 2.27.651.5 from 2.27.651.6 using HTC Sync 2.0.40.. Looks like it's going fine and then all of a sudden I get a USB Connection Failure in HTC Sync and I have to do a battery pull to get the Hero back. Any thoughts? I'm trying to get back to .5 in order to root the Hero again. Thanks.
[Hero CDMA Android Development] AH28:
I just tried with HTC Sync 2.0.33 as well and experienced the same problem. It gets to about 80 on Waiting for Bootloader and then craps out.
[Hero CDMA Android Development] roundaway:
Same here. Win7 Home, HTC Sync 2.0.40, and signed.exe. Everything appears to be going well and then I get a time-out at about 90-seconds with the Error about USB cable not being connected.

The phone is displaying "htc" when the error occurs. If I pull the USB cable from the phone the white bootloader screen is there.

Any ideas why we can't revert?

Edit: Have not activated phone yet. Was waitly until rooted and then darchdroid.
[Hero CDMA Android Development] firsttimer44:
Same problem for me, any fixes?
[Hero CDMA Android Development] dezel29:
thanks for a wonderful guide, i am having a problem though. i get thru no problem untill i get to where my superuser app is supposed to be there...there isnt one on my phone app list...the cmd window just says please wait this will take up to 30 seconds.

$

i have 2.1 update version and never rooted the phone or anything till now...

please help...this slow clumsy phone is driving me nuts...lol

thanks a million for your help bro

update: ok, i guess i have to use the RUU in second post first to revert back to .5....how to do this ? sorry for the noob questions
[Hero CDMA Android Development] sekarpdkt:
Second post in previous page.

Download exe. Connect phone. Run the exe. Ensure HTC sync is installed. Try using windows xp.
[Hero CDMA Android Development] firsttimer44:
So can you not do it with windows 7?
[Hero CDMA Android Development] sekarpdkt:
Lot of people reported issue with windows 7.

I am not in a position 2 post link. Can you check the thread No need forAndroidSDK. is it of any use as lot of discussion about windows 7.
[Hero CDMA Android Development] dezel29:
help please

ok, have followed to the letter and then realized i needed the .5 RUU so i downloaded it and tryed running it but keep getting an usb connection error everytime...its connected no problem but when running this it doesnt work...any ideas or suggestions ? thanks
[Hero CDMA Android Development] firsttimer44:
apparently it is working fine for windows xp, but windows 7 seems like a no go.
[Hero CDMA Android Development] nfinitefx45:
extract the rar and run the ruu exe.
[Hero CDMA Android Development] nfinitefx45:
Ruu issues

If you are running the ruu and it fails first try to just close the ruu and run it again.

Do not reboot your phone just leave it on the htc screen.

Ff that didnt work then while the phone is still on htc screen unplug the usb wait about 15 seconds the plug it back in and run ruu.
[Hero CDMA Android Development] xxproblemzxx:
quick question....if i restore a nandroid do i lose root access?
[Hero CDMA Android Development] roundaway:
Win7 Fix that worked for me

Right click on the signed.exe, select Troublshoot Compatability. Then Troubleshoot Program. Check "The program worked in earlier versions..." and "The program requires additional permission". Select Next and pick Windows XP (Service Pack 3). Start Program. Phone was not yet connected via USB with debugging ON. Went through the first couple of screens and then connected USB when it asked to confirm USB was connected. Verified phone info screen came up and then the remaining screens. I got the time-out at about 90-seconds while waiting for bootloader and the Error171: USB Connection. Unplugged phone leaving it at the "htc" screen, exited program, and selected "Start Program" again from the compatability troublshooter. Repeated the steps and it worked. Rest of root guide was perfecto.

I tried to flash recovery-RA-heroc-v1.6.2.img from the shell and got the out of memory error. Renamed the file to recovery.img and tried again and it worked.

Sorry for too many words, but know others are experiencing the same thing. Hope it helps.

(This is a replacement phone 'cause the other Hero doesn't like river outtings. It did like Darchdroid!)
[Hero CDMA Android Development] droidmods:
root

How do I root from 1.5 on hero
[Hero CDMA Android Development] AH28:
No, you will not lose root access.
[Hero CDMA Android Development] AH28:
Find it here.
[Hero CDMA Android Development] AH28:
Awesome, will try this tomorrow. Thanks!
[Hero CDMA Android Development] lilmikeyv:
Plz help! I followed last week (thank you again for such an easy guide) and I achieved root. But then I tried to install nfinite's sprint rom and not only didn't that work, but I seemed to lose root. Then I tried to redo the process and I am not able to get the super user app to show...I confirmed I still show the.5 version and usb debugging is checked...plz help!!!Thanks in advance!
[Hero CDMA Android Development] donnyevo4g:
hey ,man no matter what i do i can no root this phone iv tyed everything and everyones root steps what do i do i can no get past tping adb devices in command propmt all my drivers are right im really confused i did my evo 123 can you help
[Hero CDMA Android Development] regaw_leinad:
Just to let you all know.. I figured this out and RUU'd and rooted over 25 times on my x64 Windows 7 Ultimate before I posted the guide... I don't know why you are having trouble with it.
[Hero CDMA Android Development] madnarg24:
juts got my replacement hero from sprint and followed the guide (which worked flawlessly) and now have stock rom w/ root. quick question though...when i boot into recovery and try to restore my nand+ext backup from my previous phone i get the following:

Error : Run 'nandroid-mobile.sh' via adb!

I can flash the old rom i was using (dc 2.08) but would love to avoid redoing all my programs and settings.

any ideas?
[Hero CDMA Android Development] reedsw:
Have a friend with a 2.27.651.6 build hero. How do I get the 2.27.651.5 build RUU on his phone with a laptop running ubuntu? The rooting I can do blindfolded, its the concern that I get his phone tomorrow and I cant figure out how to replace the RUU to be able to root.
[Hero CDMA Android Development] xxproblemzxx:
Yeah but somehow I lost superuser permissions. I just flashed an older version of the rom I'm using and got it back....weird huh
[Hero CDMA Android Development] Berfurd:
2.1 GSM Hero

Will this method work to root a GSM Hero with factory installed 2.1?
[Hero CDMA Android Development] nil2321:
issues with the root at step 8

i get it all done perfectly untill step 7 but after that i do not get the app superuser persmission in my phone not sure why i tried this more than twice also rebooted my computer and phone still didn;t worked.
[Hero CDMA Android Development] athanos:
I'm not sure why everyone is having trouble with it either. I have done this 32 times for people at work and not had even one problem yet. I almost wish I would have a problem so that I could figure it out and post some answers. I still have 10 more requests from people at work to root their phones. Maybe with any luck, heheh, I will run into a problem to help solve some of the other issues people seem to be having. This is a great guide and many thanks go out to Regaw for putting this together.
[Hero CDMA Android Development] athanos:
I could be wrong, but I don't think this will work with a GSM Hero. If I am wrong, I'm sure someone will come along soon and correct me :)
[Hero CDMA Android Development] athanos:
Did you lose the su app completely? Or when you open SuperUser did it just have a black screen? I have heard that if you have a black screen you can go into application management and clear the data for it and it will start working again.