yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] lostparq:
RUU help

Hi, I saw other people asking for help here so I decided to ask as well. I am in the process of trying to root my hero. I must however downgrade from the .6 to the .5 of 2.1. But whenever I try to run th RUU with the software provided on the first page it tells me it could not connect to my phone and to check if my phone is connected to my USB and if it's connected to the PC. What am I doing wrong? I have downloaded the HTC sync and it works , so my phone is connected . Can someone help?
[Hero CDMA Android Development] wnathanball:
Sync then run sdk try keeping sync connected ...
[Hero CDMA Android Development] dhero1:
Who provides your service to you where you live? That's usually the same company who you pay to use your cellphone service.

I'm guessing you don't pay Sprint for your service ...
[Hero CDMA Android Development] simko.k:
no i dont..................
[Hero CDMA Android Development] regaw_leinad:
K then this isn't the rooting guide for you. This only works w/ Sprint Heros
[Hero CDMA Android Development] oxaveliant:
Hello to all I'm a newbie in the process of rooting my phone to get the froyo that I've been reading about and so far I've been successful up until the point where I'm suppose to download the latest version of the radio (2.42.01.04.27) and place it on my sd card..the problem is im not sure excatly how to place it on my sd card once ive downloaded it to my computer..

Am wondering if anyone can help me figure this step out to complete the process..many thanks to all who can help..
[Hero CDMA Android Development] jonnybsay:
Downgrading .7 to .5

I'm having some trouble downgrading from .7 to .5 to be able to use universal androot. I am running the stock sprint release of the newest version that was just released (.7) and really wanted to go back to a rooted phone with a froyo rom. I have the RUU .exe file for .5, and when I run it, it detects my phone, shows my current version, then reboots the phone to the bootloader. The phone just hangs on the htc logo, and the installer times out saying the phone is not connected via USB anymore. Anyone have any idea how to get around this to install a earlier version so I can re-root? Thanks in advance!
[Hero CDMA Android Development] jonnybsay:
Oops, sorry, just figured out the problem, but thought I'd post it just in case someone else ran into this same thing... For you Mac users out there, don't do the windows stuff using a program like vmware fusion or parallels where it asks you which operating system that you are simultaneously running you want to connect your usb device too. That's what was causing the usb connection to disappear... Booted my mac to windows only, and worked perfectly... now onto step 2 :D
[Hero CDMA Android Development] The_Law2:
Hey let me know how this goes I'm probably going to have to root my gf's hero and she just accepted the latest update. I'm knowledgeable with ADB and all that though, but I just need to hear that it's possible.
[Hero CDMA Android Development] Mac11700:
Seems there are a bunch of folks who have this issue...Good Ole Sprint :rolleyes:

Hope this works for everyone wanting to root

Mac
[Hero CDMA Android Development] johnnycr:
quick question

I'm going to need to do the .5 downgrade before I root. Is there some way I can completely backup/image my devices as it is right now before I do that so I can fall back on that if I mess us? The nandroid backup would probably work, but can I do that before rooting?
[Hero CDMA Android Development] dhero1:
I read somewhere that Google Android, not Sprint, was intent on defeating the mechanism used by Universal Androot as it allows app level SU instead of just user level SU which creates a significant security flaw (if I got the story right) ...
[Hero CDMA Android Development] Luro:
Noob Questions

Foremost, what are the chances of "bricking" my phone with this process?

Does the root process change over to a custom ROM or is the standard 2.1 ROM used?

I notice with other custom ROMs that there are issues with certain features not working (camera etc.) Since the point of rooting seems to be increasing functionality, does this package destabilize or break any functionality?

My main intention with the root is the ability to tether. I currently use PDAnet on a windows mobile 6.1 phone (yuck) and it does work fine, but I am wondering if it uses the full speed of my connection or if a better connection to the phone would be made through rooting. If that be the case, what is the recommended way to tether (I have no issue using a USB cable or the wireless access)

Thanks
[Hero CDMA Android Development] LiquidSolstice:
None whatsoever. It will either work, or it won't. Either way, all you have to do to restore it back to the way it was is run the official Sprint RUU.

Unless you chose to install an official Sprint ROM or Update, no, once you are rooted you'll be fine. All the custom ROMs on XDA are already rooted. You will never have to re-root unless you chose to flash back to stock (to take the phone in for service/sell it/etc). Your warranty is voided as long as you are rooted, but unrooting is as simple as flashing the Official Sprint Updater.

You're confusing rooting with other ROMs. See, what rooting is used for is to give you the ability to edit the Read Only Memory of your phone (the ROM). It also gives you what are called SuperUser permissions that let you use apps such as Wifi tethering and screen-capping utility ShootMe. It also enables you to install what's called a custom recovery menu, which is where you'll perform all your custom ROM jobs from. You don't even have to use a custom ROM if you don't want to. However, using a custom ROM is as simple as dragging and dropping a zip file on the root of your SD card, booting into recovery mode by holding the Volume Down button while booting, and selecting that zip and just waiting. I should make it clear; this will NOT affect your ability to make calls, text, use data, pretty much any and ALL the basic and advanced functiosn your phone has will not be broken. You don't need to call Sprint and reactivate, or any sort of hassle.

The perfect app to get that done is Wifi Tether for root users. Once you root, it is available in the marketplace. It has no restrictions on SSL sites like the free version of PDAnet, and is completely free and open source.
[Hero CDMA Android Development] LiquidSolstice:
Unfortunately, no. Nandroiding is a feature that is specific to recovery menus, and you can't use a recovery menu if you're not rooted. What are you trying to backup?
[Hero CDMA Android Development] LiquidSolstice:
If you fully unlock the phone with Regaw's S-OFF tool, you'll always be rooted no matter what.
[Hero CDMA Android Development] Luro:
Perfect! Assuming I am understanding right, the rooting package in the OP does not include a ROM, just roots the sprint ROM and after that is done I am free to jump back and forth between other rooted ROMs.

I will have to download the RU ending in .5 anyways so to "unroot," or fix something I bust up, I would just flash back to that as I am about to do in order to root now?

Thanks for answering all my questions.
[Hero CDMA Android Development] hotaru:
correct.

i'd use .6 and universal androot because i'm not a masochist, but yes, that works.
[Hero CDMA Android Development] Luro:
Ahhh even better. I will have to check into that, didn't know there was an "easier" option for rooting than the method described in the OP.

My phone attempted to move to .7 and I told it no so I should be able to run that right off. Thanks for the tip
[Hero CDMA Android Development] LiquidSolstice:
While yes, Universal Androot will work for .6, this is much more of a learning experience and introduces you to the concept of adb, which can be important depending on what you need to do. I would perform the root manually to better acquaint myself to how the rooting process works.

However, yes, if you don't want to deal with reflashing to .5, you can use the Androot method. However, I'm not sure Androot installs a recovery, so just in case, be sure to grab ROM Manager from the Market and install Clockwork Recovery from it.
[Hero CDMA Android Development] Luro:
I decided to go with the method in the OP as part of the masochistic learning experience. Rooted the phone and installed the latest updated sprint ROM from NFX - Super easy to do, big thanks to all!
[Hero CDMA Android Development] LiquidSolstice:
:D The more you know, the better :). Glad you had a successful experience.
[Hero CDMA Android Development] mattyok:
linux update?

any werd on a guide for linux users?
[Hero CDMA Android Development] peterocc:
I've tried step 2 on my GF's Hero and still the RUU loses connectivity while attempting to access the bootloader.

I get the 171 Error during the Bootloader sequence.

Any idea how to keep it connected to I can start the process? I've followed the instructions step by step and still cannot get it to run.

Any thoughts?
[Hero CDMA Android Development] LiquidSolstice:
Turn the phone off, press and hold the up button, and power on the phone. It will be in Fastboot mode. Connect the USB cable to it, the word Fastboot will change to Fastboot-USB. Then run the RUU.
[Hero CDMA Android Development] peterocc:
Thank you for the heads up. Will try this when the wife gets and update.
[Hero CDMA Android Development] LiquidSolstice:
Sorry, I meant volume up, not up. Was a bit tired heh. Good luck!
[Hero CDMA Android Development] hack311:
THANKYOU

Sweet bejeebus! Finally an answer. I love you times infinity.
[Hero CDMA Android Development] LiquidSolstice:
Did Fastboot work for you?
[Hero CDMA Android Development] KI6FFF:
Ok, I'm a supernoob, I don't know much abt droid, but I want to root my CDMA Hero. I've followed your guide, but I don't know how to install the .5 version onto the phone, is there a link where you've already covered this? I don't have the time to look at all 100+ pages of this thread... thanks! Oh, and I'm running build number 2.31.651.7 CL258838 release-keys
[Hero CDMA Android Development] animal7296:
ah there we go.. thank you :) I can't find every error on my own :p fixed

Thank you again[/QUOTE]

No problem. I try to help where I can and since it is not in dev then it may as well be here.

Besides it is you that has worked so hard to get this up and running and deserve all the thanks. ;)
[Hero CDMA Android Development] chromiumleaf:
Been following this for a couple weeks now and want to extend a massive CONGRATS to all who made this possible. You guys rock!
[Hero CDMA Android Development] DominoDoug:
Working like a champ! Thanks for the help and patience from everyone. This is my first Android phone and was rather hesitant to do this but everything came out fine.
[Hero CDMA Android Development] nfinitefx45:
Glad to hear it, now the real fun begins, Enjoy your new found freedom on Android
[Hero CDMA Android Development] ronnienyc:
Good work fellas!

I have been using Fresh for a while, but does anyone know if installing SPRINT'S 2.27.651.5 RELEASE in the normal manner requires you to reinstall apps, etc? I am tempted to start over with the standard install of 2.1...

Thanks again!!
[Hero CDMA Android Development] ItsDon:
Great job folks. This forum continually impresses me.
[Hero CDMA Android Development] jdrestless:
Thanks regaw_leinad.
[Hero CDMA Android Development] nfinitefx45:
yes it will wipe your system on install, you will be starting over fresh (no pun intended)
[Hero CDMA Android Development] Maikock:
Can someone please post a rooted copy of the Rom?
[Hero CDMA Android Development] DominoDoug:
From what I've been reading I see I should do a Nandroid backup. Can someone point me in the right direction? Or maybe even make "Nandroid" link on the first page?
[Hero CDMA Android Development] ronnienyc:
I guess my question is if you are starting with a normal non-rooted 1.5 phone, and apply the Sprint 2.1 update as Sprint would have you do it, will you then be starting from scratch or will your apps and settings from 1.5 remain intact?

(just want to make sure I was clear the first time I asked)

Thanks again.
[Hero CDMA Android Development] nfinitefx45:
here is the original release, and it does have root, but the adb is still secured so install the rom then flash the boot.img from this thread and you will be set.

http://xdaforums.com/showpost.php?p=6481028&postcount=1
[Hero CDMA Android Development] nfinitefx45:
If you run any RUU it will completely wipe the phone, only the info on your sdcard would remain. This includes rooted phones also. The RUU is a factory install to the latest version.
[Hero CDMA Android Development] bratten2121:
ahh

ok so i went to the recovery, and tried to install ic3rom new rom after doing this, was I not suppose to install a rom over this or what? it now comes up with an error when i try to install it saying

E: corrupt file:

system/lib/libflsaplayerlib.so

E: verfication failed

installation aborted...

what should i do now?
[Hero CDMA Android Development] regaw_leinad:
Try downloading the rom again, looks like a corrupted zip. I flashed RegawMOD many times w/o problems after doing this, so a corrupt zip is probably the issue there.
[Hero CDMA Android Development] ronnienyc:
Thanks, is there a way to get exactly what is in the RUU, without all the mods, without starting over?
[Hero CDMA Android Development] KitsapAndroid:
Awesome! Congrats on the hard work. :D Now it's time to get the official, root it, and remove the garbage I don't want. I know there are ROM's out there that are "better" than the official, but I like the feel of the official.
[Hero CDMA Android Development] bratten2121:
thanks alot man for everything! idk why you guys havent been requested to work for google yet!? & of course for the quick reply =P
[Hero CDMA Android Development] regaw_leinad:
alright guys, I'm going to bed. Please post your success/failures in here so I can see if i need to change anything tomorrow.

Thank you all for waiting patiently for the release!

-Dan
[Hero CDMA Android Development] DominoDoug:
I ran ROM manager in an attempt to backup my phone and for whatever reason Backup Current ROM is inoperable. It comes up with a file name but doesn't perform the function. Any other ways to backup?
[Hero CDMA Android Development] guitardoc64:
This guide and method will not work for the .7 release. The links to the .5 RUU are in the second post. You could try flashing the .5 and use this method, but I'm not sure that a .7 will go back to .5
[Hero CDMA Android Development] LiquidSolstice:
The Sprint .5 RUU is apathetic to the phone's current ROM. You could flash to it from CM6 for all it matters (using the RUU, not using recovery) and it would work fine.
[Hero CDMA Android Development] KI6FFF:
OK, how do I do this? I don't know how to install the .5 RUU onto my phone? Can someone pls tell me how to do it?
[Hero CDMA Android Development] LiquidSolstice:
Download this: http://www.4shared.com/file/2uQunBaV/RUU_Hero_C_Sprint_2276515_R_si.html

Plug your phone in and run it.

REMEMBER: This will wipe EVERYTHING on your phone right now. Be sure you have backed up anything you care about. If you use Google to store your contacts, you don't need to worry about backing them up. Anything on your SD card will *not* be touched, however.
[Hero CDMA Android Development] LiquidSolstice:
So here's the deal, you have two choices when it comes to custom ROMs; you can either use an HTC Sense based ROM (which currently only goes up to Android 2.1), or you can try CyanogenMOD6, which is Android 2.2.

CynaogenMod6 (or as its more commonly known, CM6) does not look the same as your phone currently. It might take some time to get used to, but if you enjoy messing around and exploring all the different options of your phone, you'll be just fine. Plus, CM6 has a native system of installing apps to the SD card, and does not come with any Sprint apps.
[Hero CDMA Android Development] KI6FFF:
Am I in USB mode when I run the exe file?
[Hero CDMA Android Development] LiquidSolstice:
No, charge only will be fine. :)
[Hero CDMA Android Development] KI6FFF:
Thanks for your help!
[Hero CDMA Android Development] glen4cindy:
So, I want to try this root thing in the next day or two, and I'm pretty comfortable with PC's and the like and I don't really think I'll have much trouble, but, in the mean time, if Sprint is pushing .7, how do I keep my phone at .6?

If there is something in .7 that prevents the .5 RUU from working, I certainly don't want .7 on my phone!

So, is there some setting in the menus that will allow me to hold off on being forced into .7 like Windows has where I can choose when to apply updates?

Thanks!
[Hero CDMA Android Development] glen4cindy:
Previous post is of no matter now.

I rooted this evening.

Everything went off without a hitch. I wanted to be very sure, so I CUT and PASTEed every command into my CMD window. This guide made it very easy, but, I am very comfortable around computers, and the command line. I cut my teeth on DOS 3.3.

I simply followed the guide at the beginning of this very long thread, AFTER I read EVERY post, and saw what people's issues were. Believe me, I learned ALOT by reading EVERYTHING.

I was AMAZED at the number of people who posted they couldn't root when they tried this on .6 though, when it is very clear at the top of the thread that you have to be at .5 first! Your patience is amazing!

I did have to downgrade to .5 first, which went fine.

I found it very funny, that, it was only about 35 to 45 seconds after I applied the very last line of the instructions to block OTA updates that Sprint offered my phone .6! I'm amazed that I was offered .6 so quickly! Of course, because I READ everything here, I declined it!

Now I just have to decide if I want to stay where I am or find a different ROM to load. I certainly want to KEEP the HTC Sense UI, because I really like it. I'm going to start investigating that Android 2.2 Sense thing I've been seeing at the bottom of some of these posts.

Thanks for this great guide. I know it has been noticed. Every board I've looked at that talks about rooting the CDMA Sprint Hero always refers to XDA and this thread.

I do have a couple of questions to ask that I have not really seen clear answers to in reading all 119 pages of this thread.

1. Which files can I safely delete from my SD card that will no longer be needed now that I am rooted? (They are still on my PC should something happen)

2. At which point in the process of steps is the actual ROM that I am using right now pushed to the SD card and loaded? I am asking this so I will know just exactly where I will need to modify the steps to put a different ROM on the SD card should I ever decide to do so.

Thanks for all the hard work.
[Hero CDMA Android Development] d-d:
problems rooting

so this is my first time rooting and ive been doing my research and started the process today. ive run into a little snag though. my phone is updated to 2.31.651.7 so i figure i need to downgrade. i cant seem to do that though.

the link on the beginning of this thread for the .5 thread hasnt worked for me

and

the other method ive found to downgrade is a executable program called "HTC Sprint Hero MR 2.27.651.5" that i cant get to work either. when i try to get the program to work i get the (170) USB connection error, even though im using the USB to miniUSB cord that came with the phone and the phone is set to charge only as instructed.

can someone please asist. i would greatly appreciate it
[Hero CDMA Android Development] LiquidSolstice:
Turn the phone fully off, Press and hold Volume UP while turning the phone on. It will boot into Fastboot mode. When you connect the USB, the word "Fastboot" will change to Fastboot-USB. Then run the RUU.
[Hero CDMA Android Development] Asadullah:
your best bet is to download the ruu from htc then use the one click root.apk that's posted around here. The htc ruu will take you back to the .6 kernel. I'm surprised that the ruu you have doesn't work. I went to the .7 kernel and back. Also if you do want the .5 ruu search for conflipper he's got a page dedicated to them
[Hero CDMA Android Development] Asadullah:
In other news so I was looking at the otacerts that we are advised to remove to prevent automatic ota updates and noticed it's a .pem file. If you know anything about anything then you know that a .pem file is one of the files used to sign update.zips apks and so fourth. I actually pulled mine out and switched it with the .pem file in my auto sign and signed an apk with it!

So my questions:

1 is this the signature on the update.zip?

2 If it is then can this be pushed to /system/etc?
[Hero CDMA Android Development] LiquidSolstice:
If you're planning on using a custom ROM, you don't need to worry about this. Custom ROMs are all pre-rooted and have the patched otacerts.zip in them, so you'll never have to worry about auto updates over the air.
[Hero CDMA Android Development] glen4cindy:
Okay, so I am a super newbie when it comes to rooting. I have only just rooted my phone, and have followed the guide at the beginning of this thread. I have not yet loaded anything other than that this guide directed me to load.

So, now, is somthing Sprint is doing going to break my phone or something? Is there something? If OTA updates are allowed, those will undoubtedly break root, right?

I suppose I need to get to work picking a custom ROM and getting it loaded right away to avoid whatever problem is on the horizon? How much time do we have?

Someone please explain this post above if I have misunderstood. Thanks!
[Hero CDMA Android Development] skyline1432:
i know ur tired of noob questions but im trying to root and cant even get started i have build .6 and im trying to run the ruu and i keep getting the 107 error and ive read as much as one could in two days of this topic and still even trying running the .exe as a admin doesnt work and i tried holding the volume up while it loads all the sprint the screens and no fast boot anything shows up what am i doing wrong and can anyone please help me... im rooting for the hope i could use swype on my sprint hero and of course the overclocking and wifi teetering abiltiy and i know nothing of rom's or what ever this flashing is i keep reading about if anyone can help me get to the point where i can run swype and teeter my wifi please help
[Hero CDMA Android Development] uraijit:
I had mine rooted at one point. But did a factory restore to .5, and left it in a drawer for a few months, planning to sell it.

Started using the phone again today, for my wife. Got it all activated with sprint, got the phone working. Decided to re-root it, and I can't for the life of me get the Superuser ninja back. :(

I've triple checked that it's running .5, and not .6 (checked in Settings>About Phone>Software Information.Software Number: 2.27.651.5

However, Build Number says "2.27.651.5 CL16939 release-keys".

I don't remember the "CL16939 release-keys" being there before, but like I said, the last time I messed with it was in June.

Any ideas?
[Hero CDMA Android Development] jonbtrini:
Great guide! This had me done in less than 15 minutes when I finally decided to try rooting my Hero! Great job!
[Hero CDMA Android Development] blunative:
I get this after step 7..

tinypic.com/r/34qk6cp/7

Sorry, still a new user so I'm not allowed to post a link to the pic...

Sprint HTC Hero 1.5
[Hero CDMA Android Development] Hippie459MN:
This guide is for 2.1, Not 1.5 :)
[Hero CDMA Android Development] DoubleA319:
after you finish with the rooting process. Is it safe to delete the "unrevoked" , "recovery.img" & "boot-patched.zip" files off the sd card?
[Hero CDMA Android Development] LiquidSolstice:
Yes.

10chars
[Hero CDMA Android Development] blunative:
:( that sucks, can I use the link from the 2nd post to go from 1.5 to 2.1?..
[Hero CDMA Android Development] LiquidSolstice:
Yes. 10chars
[Hero CDMA Android Development] blunative:
I've been trying for the past hour. All I've been getting is

ERROR[171] USB CONNECTION ERROR