yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] aaron130:
Oh sorry Grant, Ok Im gonna do this now. Will my phone still be rooted after I do this??
[Hero CDMA Android Development] aaron130:
Thanks guys I really do appreciate all this help!! gonna run the RUU now
[Hero CDMA Android Development] johnsongrantr:
you need to either do one of 2 things

root your phone

or in adb shell type

su

and try agian... mount blah blah blah can only be run as root aka #
[Hero CDMA Android Development] aaron130:
So when this is done should I just try again rooting from scratch?
[Hero CDMA Android Development] johnsongrantr:
yes sir, you loose your root by useing RUU, but you will be able to root agian with that version
[Hero CDMA Android Development] aaron130:
ok all flashed
[Hero CDMA Android Development] aaron130:
Ok I am going to sleep I worked all night and gottas work tonight so I will try rooting tonight on a fresh brain. Grant thannks again for all youer help!! I will report back tonight and let you guys know if it worked this time. Thanks again!
[Hero CDMA Android Development] Diplomat2387:
Has anybody got this Automatic Rooting app to work on their Sprint Hero?

http://xdaforums.com/showthread.php?t=559362
[Hero CDMA Android Development] simplyphp:
I think that is for GSM only ATM, we don't have a 1-click root method yet.
[Hero CDMA Android Development] thecodemonk:
We do have a one-click recovery flash method though! (and sort of one-click root if you just immediately flash MoDaCo after the recovery image).

http://zenthought.org/content/project/flashrec

Install that, load the recovery image and modaco onto your sdcard. Rename MoDaCo's image to update.zip, Input the path to the recovery image into flashrec, flash....reboot into recovery, flash:update.zip

???...profit?
[Hero CDMA Android Development] Diplomat2387:
I havent't even rooted my phone yet..Kind of scared too...Don't want to brick my phone or anything...I'm new to Android and rooting..
[Hero CDMA Android Development] jygsaw:
But... isn't the mount blah blah blah one of the steps to even get root access to the phone? Don't I need to do all of this to get root:

adb push /directory_you_placed_asroot2/asroot2 /data/local/

adb shell

chmod 0755 /data/local/asroot2

/data/local/asroot2 /system/bin/sh

mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

cd /system/bin

cat sh > su

chmod 4755 su

I can run the first 3 lines just fine, but its "mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system" that gets me the operation not permitted message. I'll try typing in su at the shell, but i'm not particularly sure if it'll let me since... I haven't got root access :(
[Hero CDMA Android Development] johnsongrantr:
line 1 copies the exploit to your phone

line 2 give you access to the phone's command line

line 3 gives you permissions to exploit and makes it an executeable

line 4 runs the exploit and gives you root access

this is were you are failing because YOUR line one is bad probally

to simplify it a bit copy asroot to your sd card and use the following commands

adb shell
mv /sdcard/asroot2 /data/local/asroot2
chmod 0755 /data/local/asroot2
/data/local/asroot2 /system/bin/sh
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cd /system/bin
cat sh > su
chmod 4755 su
[Hero CDMA Android Development] jpyrogen:
@aaron130

I was having the same issue you have had.

i reflashed to stock firmware. just as if the phone was new.

then started over with root and recovery flash from page 1 post......

and now i can boot into recovery just fine!

Thanks everyone for the advice
[Hero CDMA Android Development] farra712:
HELP! Everything went fine for the rooting, and I rebooted into recovery mode, got the screen with the droid skateboarders, and hit the home button. My phone went to a black screen with a picture of a phone and a triangle with a "!" in it, and on my computer a window popped up on the desktop tray saying that it was searching for drivers, but nothing ever happened, and my phone will not power down or respond to anything. What can I do???

EDIT: I removed the battery and rebooted the phone. Still not sure where to go from here.
[Hero CDMA Android Development] jaytavarez91:
After I back up Using Nandroid than what?
[Hero CDMA Android Development] aaron130:
Thanks a lot good to know! I flashed the stock RUU this morning and gonna start from scratch tonight at work,hopefully it works this time. Thanks to EVERYONE in these forums there is such great support in here!!
[Hero CDMA Android Development] aaron130:
Id like to thank everyone I FINALLY got it to boot in recovery!! My special thx to Grant for helping me all morning!! Now One LAST question, I rebooted in recovery, now should I do a nandroid backup? Or just do that before I flash a ROM?

Edit: YES!! im sorry, a gazillion thx to chuckhriczko for putting this tutorial up!!!
[Hero CDMA Android Development] esoteric1311:
THANKS

A million and one thanks to chuckhriczko for the tutorial!:)
[Hero CDMA Android Development] thecodemonk:
Nandroid whenever you think you might want to go back to this point in time from a change!
[Hero CDMA Android Development] johnsongrantr:
no prob bud... glad to see you up and running.... i guess all we need sometimes is a little stock love to fix our problems

and codemonk is right... you can never ever have enough backups.... after you get a backup then backup your backup on your workstation...

although not THAT painful.... having to RUU.... root.... flash... custom rom.... everytime we screw something up.... it can get kinda time consumeing
[Hero CDMA Android Development] aaron130:
Ya I hear ya! Sometimes that is actually the fun part though,LOL. Something weird must of happened on my first root cuz I did all the exact stuff and it just wouldnt work that 1st time,lol. But thanks again Grant your help is MUCH appreciated!! I didnt even know there was a stock Sprint RUU out there to flash back to!! LOL Thats VERY good to have. Now, as for the ROM thats out there. How is it? Do you recomend it or should I wait for an update? And all I do is rename it update.zip and run update.zip on the recovery screen correct?
[Hero CDMA Android Development] seankent4uf:
It seems as if every time I push an update.zip file to /sdcard/ and then want to apply sdcard:update.zip from the recovery screen, I have to reboot the phone first in order for the card to be read and for the recovery image to recognize that the update.zip file exists. Has anyone else seen this or am I doing something out of sequence?
[Hero CDMA Android Development] atoy74:
Please forgive my noobness but I'm outta practice for Android devices. My Hero is only about a week old and dont mind staying with the stock Sprint ROM (for now.) That being said, I do want to root it and take advantage of some of the apps out there.

My question is if I root the phone with the above instructions will I have to flash a new ROM or could I just reboot and continue where I left off? Does flashing the recovery img wipe the phone?
[Hero CDMA Android Development] aaron130:
No it will not wipe your device. Just click reboot now after flashing the recovery img. But BEFORE you do that do a nandroid backup that way if you do flash a rom you can always go back to right where you are right now.
[Hero CDMA Android Development] Diplomat2387:
I am just curious because I am a noob to Android and rooting but are we CDMA users going to get "One Click Root Method" like in this video by TheUnlockr?

http://www.youtube.com/watch?v=neE5zA687hE
[Hero CDMA Android Development] diesel556:
http://zenthought.org/system/files/asset/2/flashrec-1.1.3-20091107-2.apk

New in 1.1.3:

•Sprint Hero support.

From http://zenthought.org/content/project/flashrec
[Hero CDMA Android Development] ath:
Looks like Sprint is pushing out an update. I got a notification earlier today but ignored it. Now I got a text message asking to call *2 for a "Software Update".... hmmm! It does not say much which makes me wonder what it is all about.
[Hero CDMA Android Development] Diplomat2387:
Has anybody tried this method yet?...I would love to see a video for it like how they did the GSM Hero and MyTouch 3g...
[Hero CDMA Android Development] thorkon:
I have been searching all over and I cannot seem to find the windows vista 64bit usb driver. Whenever I download the android sdk there is no folder that has usb drivers...

Any assistance, I spent a hour or two looking for this but everywhere redirects to google's site saying the file is in sdk folder, which I am not seeing...
[Hero CDMA Android Development] simplyphp:
I extracted the sdk to c:\ directory and renamed the folder to androidsdk. Here is what I have:

C:\androidsdk\usb_driver\amd64\

Try looking there.
[Hero CDMA Android Development] thorkon:
Thanks but There is no usb_driver folder when I go into the main directory. Its windows R3 android sdk from googles android site.

it has these folders:

add-ons

platforms

tools

skdreadme.txt

SDK Setup (which doesnt open when i click on it)

Googles site says to run sdk setup and to then add the platform to be worked on but SDK setup wont run and none of these guides mention even running it...
[Hero CDMA Android Development] simplyphp:
Uploading my full sdk dir, including the win7 64bit drivers, to rapidshare now.
[Hero CDMA Android Development] simplyphp:
http://rapidshare.com/files/305764744/sdkzipped.zip.html

MD5: 608BEACC1C8998B7D49F25222B83D728
[Hero CDMA Android Development] thecodemonk:
You can follow the guide at theunlockr.com for the GSM Hero...all you need to change is use the latest version of flashrec and use the CDMA Recovery image over in the development subform here. :)
[Hero CDMA Android Development] thorkon:
Thank you! That USB folder is definately not in the one on the site right now. Not sure why...
[Hero CDMA Android Development] Diplomat2387:
Has anybody tried this method and got it working.?..I'm a newbie to Android rooting...LoL..I wish unlockr would come out with a video or something..
[Hero CDMA Android Development] diesel556:
Yes.

Flashrec: http://zenthought.org/system/files/a...20091107-2.apk

Recovery Image (first post): http://xdaforums.com/showthread.php?t=581521

IF you don't want to flash a custom recovery image or a custom rom you can simply use asroot2 (extracted from the flashrec apk) to give yourself root on the Sprint ROM. There are many guides on how to do this.
[Hero CDMA Android Development] Diplomat2387:
So will you able to clarify some things for me..?..It states that this is a "one click root method"..I watched the video for the GSM Hero and all he did was download the flashrec apk and custom recovery image..And then he ran the flashrec apk on the phone applied the image...So with this we do not need adb,and won't have to run cmd and type in all the commands?..Is that correct?..And also what is the difference between the FlashRec method vs the method people have been trying to do..?..And are their good/bad things when using either?
[Hero CDMA Android Development] LeftonJackman:
Even an idiot like me could follow it. Well done!
[Hero CDMA Android Development] LeftonJackman:
It was a help. I kept it up alongside the walkthrough and it made it nice and clear. Big thanks to all the devs who made this possible!
[Hero CDMA Android Development] thecodemonk:
The main benefit from doing it manually (most of the guides around here) is that you can play with the stock ROM and tweak from there. Flashrec mainly roots for the purpose of installing a recovery image (Flashrec is short for Flash Recovery) so it's meant to be a more speedy way of getting a custom ROM installed.
[Hero CDMA Android Development] SoulMan72:
Hey All,

Thanks much for all the info. Got my phone rooted and backed up! Can't wait for some cool roms to come out and to try out any other hacks.

Never had so much fun with a phone before!
[Hero CDMA Android Development] Diplomat2387:
Oh okay...That clarifies it more for me...TheUnlockr says that the FlashRec method does not work...Has anybody used this method beside thecodemonk and can u confirm this..?
[Hero CDMA Android Development] to0:
How long does it take to reboot to the recovery image? I followed all of the instructions:

# flash_image recovery /sdcard/recovery-RA-heroc-v1.2.3.img

flash_image recovery recovery-RA-heroc-v1.2.3.img

# exit

exit

$ adb shell reboot recovery

And now it's just hanging at the HTC boot screen.

Should the flash_image step happen instantly? There was no delay between me pushing enter on the command and the next # prompt appearing.

edit: I've been waiting at the boot screen for about five minutes now.
[Hero CDMA Android Development] johnsongrantr:
this worked???

adb.exe is a windows/dos application not a linux application

anway.... i get what you're saying..... search the forum for the htc sync aplication and sprint RUU application

install htc sync.... then run the sprint RUU

this will wipe your phone

re-root your phone

re-download the heroc recovery image (verify it is heroc "C" stands for cdma)

re-flash the heroC recovery image.... try agian

don't know why it happens (probally corrupt recovery image in transfer/stock or something) but someone else was reporting the same problem and this fixed him

-cheers-
[Hero CDMA Android Development] to0:
Ya. "adb shell BLAH" executes BLAH on the phone.

edit: Oooh, I see where your question comes from. I executed that from a Windows prompt after closing my adb shell.

What's the point of all of this? I can boot into the normal OS just fine, just not the recovery image.
[Hero CDMA Android Development] johnsongrantr:
just trust me on this one if you would

there is corruption somewhere in your recovery image

you can try just re-downloading and re-flashing the custom recovery image but my money is on what I said
[Hero CDMA Android Development] to0:
Thanks. I'll give it a shot in a few minutes.

edit: You rock, thanks again. Sorry for the doubt. I'm far from new to phone flashing and even further from being new to Linux, but Android's a whole new place for me. I can tell I'm gonna like it, though.

To help searchers:

If your CDMA Hero hangs at the boot screen after flashing the recovery image, you have a corrupted recovery partition. To fix it, reinstall the official HTC/Sprint ROM via RUU and repeat the rooting process.
[Hero CDMA Android Development] rootbeer001:
finally.....

i had the same issue as some of the other members here where i would root properly, but could not get the recovery image to load properly.

i can mod my psp and wii, but for the longest time, could not get the phone.

i had to reflash the ruu, reroot the thing, and everything is working just fine.

i wonder if installing certain apps or playing around with the root access somehow affects the flash memory or if it's all the apps that load in the background.

thanks to everyone for getting this thing up and running.
[Hero CDMA Android Development] killabee44:
I had the issue where I could not get back into the flash the recovery image in order to install the modaco rom. It turns out that I was too impatient and had unplugged the usb cable before the last command was finished. After you give the last command:

adb shell flash_image recovery recovery-RA-heroc-v1.2.3.img

you will be pushed to the next line with (I believe) a # (pound) sign at the beginning.

you need to wait... and wait... and wait... It is not finished yet.

When you get a prompt that begins with the directory you extracted the cdk into, then you are good.

I know the OP said that as soon as you see the # sign you were done, but not for me. Maybe some pc's are taking longer to finish than others, who knows. This was my issue and helped me finally get it working.

BTW.. This all happened with a Windows machine.
[Hero CDMA Android Development] blozout:
Any help would be greatly appreciated -

I rooted my Sprint HTC Hero this afternoon so that I could delete some of the stock Sprint apps, specifically Nascar, NFL and Stocks. Since that time I have not had a wireless network connection. WiFI works fine, but wireless does not. Everything looks like normal on my home screen, I show bars, the EV symbol, and E911 crosshatch thing(dont know what its called) but when i try to connect it does not work. Not browser or email. SMS and voice work fine. The wireless setting look correct as well. Does anyone have any ideas what could possibly be the problem? Thanks in advance.
[Hero CDMA Android Development] jman069:
Have you tried updating your profile in the phone settings?
[Hero CDMA Android Development] MuzikJay:
Uh Oh

I think I may have messed my phone up. I followed the steps and tried to root but just got this

C:\Users\James\android-sdk-windows\tools>adb push /C:\Users\James\android-sdk-windows_asroot2/

asroot2 /data/local/

* daemon not running. starting it now *

* daemon started successfully *

error: device not found

C:\Users\James\android-sdk-windows\tools>adb shell

error: device not found

C:\Users\James\android-sdk-windows\tools>chmod 0755 /data/local/asroot2

'chmod' is not recognized as an internal or external command,

operable program or batch file.

C:\Users\James\android-sdk-windows\tools>/data/local/asroot2 /system/bin/sh

The system cannot find the path specified.

C:\Users\James\android-sdk-windows\tools>mount -o remount,rw -t yaffs2 /dev/bloc

k/mtdblock3 /system

'mount' is not recognized as an internal or external command,

operable program or batch file.

C:\Users\James\android-sdk-windows\tools>cd /system/bin

The system cannot find the path specified.

C:\Users\James\android-sdk-windows\tools>cat sh > su

'cat' is not recognized as an internal or external command,

operable program or batch file.

C:\Users\James\android-sdk-windows\tools>chmod 4755 s

I've had usb debugging checked for awhile already so it's not that. I don't really know what I'm doing here haha.
[Hero CDMA Android Development] thecodemonk:
I noticed to get my computer to recognize my phone I have to click the HTC Sync icon on the phone to get it to try and connect (it doesn't have to succeed...I usually click it and then click the back button once I see the phone attempt to connect).
[Hero CDMA Android Development] Ceger:
Tried that. Let it sit at the # prompt for an hour with no change. When I type Reboot Recovery, it just has a black screen after the initial HTC logo at turn on.

Is the recovery img file really only 3.19MB? I have tried downloading it many times and from different locations to ensure it wasn't corrupted. When typeing the Flash command, is it supposed to create a file or folder on the sdcard?

Thanks for any help in advance.

Ceger
[Hero CDMA Android Development] magnu5:
So, here's what i've gathered from reading this thread:

Everyone who has attempted this, has had a problem.

lol

I'm very scared to even attempt this on my phone. I was playing around and beating the hell out of my htc mogul, but this seems to either be twice the work load, or just completely full of errors.

Is there a more detailed walk-through to be used, or perhaps one that has all the info needed in the first post, instead of people having errors, then other steps being said in later posts?
[Hero CDMA Android Development] thecodemonk:
Do a quick search on this forum for "guide" as the topic title and you'll find a few. For the most part, it will seem like everyone's having problems partly because people for whom it works...don't post. :P

It works smoothly each time I've performed the root and installed the recovery image a few times now (I've gone back to RUU a few times to test some things).
[Hero CDMA Android Development] ajones7279:
Pretty much lol. I had no problems whatsoever. I've just been posting to help out and whatnot.
[Hero CDMA Android Development] myjellio:
Cellular South cdma htc hero

Will this work if your carrier isn't sprint ? My carrier for the cdma htc hero is cellular south.
[Hero CDMA Android Development] magnu5:
Which "guide" did you use? I've seen a few, but unsure of which to go for.
[Hero CDMA Android Development] pasha_02:
Getting message cannot create su

Hey guys ,

When i try running cat sh > su

I get the message cannot create su: read only file system

Any ideas?
[Hero CDMA Android Development] rldev:
I think I was able to root the phone. I had no problems with procedure. I was able to su via terminal. However, I am unable to boot into recovery mode. When I hold down power and home, all I get is a white screen which only gives me the option to erase data on the phone(I suppose factory reset). I'm not sure what I'm doing wrong.
[Hero CDMA Android Development] Kykiskly:
Hey Guys,

I get all the way to push the img recovery to the SD card

adb push recovery-RA-heroc-v1.2.3.img /sdcard/

however when i do the next step which is adb shell follow by su

i get the following

$ su

su

su: permission denied.

$

Any ideas?????????:(
[Hero CDMA Android Development] Tech Star:
I can't get the drivers installed to do this. :/

I download the "android-sdk_r3-windows.zip" from http://developer.android.com/sdk/index.html and I do everything it says here and Windows can't find the driver. Can anyone help me?
[Hero CDMA Android Development] markachee:
No. http://xdaforums.com/showthread.php?t=581869
[Hero CDMA Android Development] rdhddmazoku:
So I had the exact same problem aaron did and I did as someone else suggested and waited a few minutes before rebooting into recovery and...it worked. After spending 2 hours copying the img file over and flashing all I had to do was wait a few minutes after flashing before typing in recovery reboot. Thanks everyone for your posts and I successfully backed up my phone. On to the rom now...
[Hero CDMA Android Development] Onompoly2:
I'm lost as ever, I'm using ubuntu

I don't want to duplicate post so i figure i'll link to the thread.

It is really confusing having one thread discussing both windows rooting and ubuntu rooting plus 30 pages...

Anyone with Ubuntu get this phone rooted?

I am considering just finding a windows computer and doingthis, but the information in this forum is jumbled... but then again i don't know what i'm doing.

http://xdaforums.com/showthread.php?p=5046154#post5046154

Help lol
[Hero CDMA Android Development] brianhaden:
Rooted but no recovery

Okay guys, I'm sure this is something I'm just overlooking, but for the life of me i can't boot into recovery. I have sucessfully rooted the device (confirmed by dling and installing apps that require root access), but when i try and boot into recovery all i get is a "!" yield sign thingy with a phone. Any help would be appreciated. Thanks again for the great walk through.

P.S. I'm wondering if it's my sd card (sandisk 16gb)
[Hero CDMA Android Development] theresthatguy:
This looks handy: http://xdaforums.com/showthread.php?t=593559
[Hero CDMA Android Development] obededom:
what recovery are you using? Amon_Ra's seems seems to be pretty much the consensus, if so it should be pretty easy.

If your having a lot of problems it is also easy and possible through your computers command line:

mount card

format SD card from settings menu

push recovery image to it

turn usb storage off on the phone

unplug phone

(windows)

1. plug in phone, don't mount the SD card or activate sync

2. enable usb debugging on your phone

3. open command line with admin privileges

4. cd into the location of androidSDK/tools (for me it's)

cd C:\android-sdk-windows\tools

5. adb shell

(you should see: #, if not, type su then enter)

6. type "reboot recovery"

7. hit enter

8. phone will reboot in recovery

9. you name your child after ObedEdom

EDIT: removed improper link
[Hero CDMA Android Development] brianhaden:
Well thank you for the help but it looks like I still need help with baby names lol. I tried what was suggested and still wound up on that same screen with the "!" and the phone. Also, i think the recovery image you linked was for the GSM hero, but i already had one for the cdma.