yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] Nesto44:
Network not working(3G) after Rooting(FIX)

Ok blozout im not sure if you have resolved your problem or not but just for other people who may encounter this problem....I had the same problem after i rooted my phone, my Network(3G) connection was down, and so i just had reset my network connection, So the best way is to call Sprint and Speak with Tech Support and tell them that your Internet connection is not working..... they will have access the EPST(basic Programming Menu) by dialing ##3282# however u still need the your MSL Code, which is gonna specific to your phone and accnt... they will walk u through the rest and everything should be back to normal:)..... I hope this Helps
[Hero CDMA Android Development] bhawke01:
Hey Brian i am getting the samething that you are. but i think its because i updated my phone before i even started reading into rooting. did you update your phone? when did you buy it? because the new ones are coming with the new software.
[Hero CDMA Android Development] Keefuss:
What IF

Can anyone tell me how whack the notion of an external monitor,keyboard, mouse combo to the android OS is? That would be SOOOO Suh-weet!

Who the hell needs a laptop anymore???
[Hero CDMA Android Development] rockcrawler:
I fail to see how this pertains to this guide.

If you would like others opinions, please start a new thread.
[Hero CDMA Android Development] poorboy8u:
Can anyone tell me why I can't get the img out of winzip? every method Ive tried to extract it with hasnt worked. Placing the zip file in the tools folder does nothing either.
[Hero CDMA Android Development] p926g88:
I think I screwed the pooch. Everything went smoothly on my Sprint Hero down to the reboot recovery command. It's been an hour counting on attempt 2 and it will not boot past the 'HTC' screen. Is there any way I can nuke it back to factory and start over? I can literally do nothing to do the device////update: OK, phone finally rebooted, but I do not have root. I must have done something wrong, and the one click kitchen thing isnt working for me either, it's saying cannot find asroot2, please redownload kitchen.
[Hero CDMA Android Development] Kcarpenter:
search forums for RUU. There is a sticky on the first page. I think at least.
[Hero CDMA Android Development] tbaybucs:
for me when the phone reboots windows 7 loses the sync so i cant continue any clues ? thanks
[Hero CDMA Android Development] djisia87:
Copy paste:

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

after that command

Permission DENIED. any ideas how get it ????
[Hero CDMA Android Development] tr41t0r:
I rooted my phone and flashed damage control v2.08.1 and now my phone keeps looping between the sprint logo and the HTC quietly brilliant logo. I can't get back into recovery mode either...
[Hero CDMA Android Development] masterninja:
Have you tried pulling the battery, replacing the battery, reboot in recovery...?
[Hero CDMA Android Development] szainmehdi:
No Commands working in Recovery

Hey. I can't seem to do any commands on my Hero in the recovery mode. I cant format my SD card, restore a nandroid backup, or wipe. Please help. I have the one that your guys listed, the 1.3.2 or something.
[Hero CDMA Android Development] tomp517:
The same thing is happening to me. And I keep trying it and it doesn't work. Did you ever figure out what went wrong?

Because i need help too.:confused:
[Hero CDMA Android Development] seraphimsphoto:
Changes

I think Google has changed the SDK package. Any chance of updating the article?
[Hero CDMA Android Development] skyrkt:
Personally I used the software root path, I forgot what it was called but it worked fast and very well.

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

Sprint HTC Hero
[Hero CDMA Android Development] jasonlefever:
I got everything on here to work up to the "chmod 0755" part and it says something like "[1] Killed". Then the command prompt takes me back to the dollar sign thing. Then I put in the mount and remount part and then after all that's in, it says "mount: Operation not permitted" Then it takes me back to the dollar sign. What am I doing wrong? On another note, I updated my Hero to Android 2.1, would that effect my root attempt?
[Hero CDMA Android Development] 98classic:
YES, no root for you. 2.1 ruu isnt rootable. explit has been patched
[Hero CDMA Android Development] djisia87:
1:

Code:

Code:

cd C:\android-sdk-windows\tools

2:

Code:

Code:

adb devices

If you've been following this guide you will see your phone's serial number. If you get "device not found" error, you either need to make sure you the drivers were properly installed or make sure you enable USB debugging AFTER you connect the USB cable. Continue on once you get the proper phone serial output.

3:

Code:

Code:

adb push asroot2 /data/local/

4:

Code:

Code:

adb shell

5:

Code:

Code:

chmod 0755 /data/local/asroot2

6:

Code:

Code:

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

You should see an output that says:

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

[+] Using newer pope_inode_info layout

Opening: /proc/857/fd/3

SUCCESS: Enjoy the shell.

#

Now for a few last commands.

7:

Code:

Code:

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

8:

Code:

Code:

cd /system/bin

9:

Code:

Code:

cat sh > su

10:

Code:

Code:

chmod 4755 su

You are now officially rooted. A few more steps and you will have flashed the recovery image.

11:

Code:

Code:

exit

12:

Code:

Code:

exit

13:

Code:

Code:

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

Pushing is equivalent of copy the file to the root of your sdcard. By the time you finished reading this it should be done. You'll know its done because the ouput will say something like transferred X bytes in X secs.

14:

Code:

Code:

adb shell reboot

This will cause the phone to restart automatically. Wait till it is fully booted to continue. (Also, make sure after your phone reboots that USB Debugging Is Still Enabled).

15:

Code:

Code:

adb shell

16:

Code:

Code:

su

17:

Code:

Code:

cd /sdcard/

18:

Code:

Code:

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

FLASHING TO THE RECOVERY TAKES SEVERAL SECONDS-- BE PATIENT. ENTER THE NEXT COMMAND ONLY AFTER THE COMMAND PROMPT RETURNS TO THE # (ROOT SYMBOL).

19:

Code:

Code:

reboot recovery

I spent 4-5 hours trying to load custom recovery and did thank to this post

P.S. Rename recovery-RA-heroc-v1.2.3.img to recovery-RA-heroc-v1.5.2.img

It was copied from androidforums
[Hero CDMA Android Development] gunnyman:
This WON'T work to root stock 2.1.
[Hero CDMA Android Development] lostinroot:):
I think we need to make a GIGANTIC Sign on the homepage.

ONCE YOU GO FLASH, YOU CANT GO BACK (yet)
[Hero CDMA Android Development] additc:
Solution

Heres what I did.

Buy an old hero on ebay.

Sell my RUUed 2.1 hero on ebay.

After all the ebay fees and junk, I lost about $2.

But now have a rootable 1.5 hero which can use a 2.1 custom rom and the all mighty wifi router app.

FTW.
[Hero CDMA Android Development] k.trazy:
I'm good up until the point where I have to type in "mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system" then it replies back saying mount: operation not permitted. WTF is going on???
[Hero CDMA Android Development] fenderbenderr45:
Default CDMA Hero firmware

im not talking about the ROM, but the default firmware. anybody got it?
[Hero CDMA Android Development] info563:
Screwed up Need Help!! PLZ.. I have 2.1 Hero Sprint

I had the old RUU 1.5 on my CDMA Hero but I tried to upgrade it to the Fresh Rom 3.3 I kept getting force close and nothing was working I tried to recover it wouldn't let me. Finally I used HTC Sync and I used the new RUU 2.1 with the 5 as the last number now I can't go into recovery mode. Every time I reboot and press the volume button I get to recovery with a yield Sign and a phone, I've pressed home & Back buttons to get to recovery (2) I've tried to restart I've wiped my SD card I've tired to do whatever I can come across here but Nothing is working.. I need help please to get my Wireless WiFi Teether again PLZ help me here...

Thanks ,
[Hero CDMA Android Development] theresthatguy:
Because you ran the 2.1 ruu, your phone is stock and there is no custom recovery. I am posting from xda app so I can't provide they link but search the cdma hero forum for the 2.1 root guide. Or ruu back to 1.5 and use the asroot2 method.
[Hero CDMA Android Development] ghostdogg01:
operation not permited message

i am at step

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

and i get operation not permited what do i do know, thanks In adva
[Hero CDMA Android Development] ScottG489:
So I went through this entire thread and finally found the answer to my rooting problem, 2.1 isn't rootable with this method.

So given the fact that I have 2.1, what can I do to get root? It must be possible somehow.

Is there a new method besides this one to get root on 2.1?

Do I need to somehow put 1.6 (or whatever the last version on this phone was) then use this method?

I'd just like to be pointed in the right direction since all searching has lead to this rooting procedure which doesn't work. Thanks in advanced
[Hero CDMA Android Development] aoaleman:
Here is a good place to start.

xdaforums.com/showthread.php?t=755795

Hope that helps. :D
[Hero CDMA Android Development] ScottG489:
Yea, I've been to that guide. See it points you to........well it points to a guide for rooting using a program that doesn't seem to work for 2.1 as far as I know (forum won't let me post links since I'm new)

It has apk's for 1.5 and 1.6 for the universal root. So that won't work unfortunately.

Feel free to correct me if I'm wrong but I don't believe this works unfortunately...
[Hero CDMA Android Development] aoaleman:
The program Universal Androot worked for my 2.1. Its a one click process to root. You might need to manually root it somehow. Good luck.
[Hero CDMA Android Development] izzwanemir:
can i install on my hd mini ?
[Hero CDMA Android Development] golferdroid:
Not to sound like a tard. But what does cd mean. Like when it says cd into tools. Please help. Buddy of mine stuck here.
[Hero CDMA Android Development] theimpaler747:
cd is when you type in a command to a windows cmd prompt.... such as:

cd C:\android-windows-sdk\tools
[Hero CDMA Android Development] lokipimpin:
okay Im not new to this.. but my hero is getting the cobb webs out!... i cant seem to get it to flash anything! been trying everything. it was rooted then i un-rooted now i re-rooted an cant get it up an going! .lil help people...lol

:confused:
[Hero CDMA Android Development] regaw_leinad:
If you're willing to wipe your phone, I'd recommend un-rooting by following THIS GUIDE, and then root your phone using my RegawMOD Hero Rooter.

Running that zip in the first link WILL restore your phone to factory settings, deleting all user data (not your Sprint network information though). You will have to sign into Google again later and it will restore your contacts.

EDIT: Just saw it said NOT new to this lol.. so excuse the babying ;)
[Hero CDMA Android Development] debage39:
I used z4root. Have superuser. But still trying to find out how to flash cwm.
[Hero CDMA Android Development] scataldo721:
Go to market nd download Tom manager then open it the top option if flash CWM recovery
[Hero CDMA Android Development] goliath714:
He means ROM Manager.
[Hero CDMA Android Development] debage39:
"Error flashing recovery"
[Hero CDMA Android Development] anthony_s:
There was someone else also having a problem flashing CWM through ROM Manager. I told them to go to manage applications and to clear cache and data and try again, and if that didn't work, to uninstall and reinstall ROM Manager. The second option worked for them.
[Hero CDMA Android Development] debage39:
Hero rooter. Instructions r kinda different but it works. I used darchs method.
[Hero CDMA Android Development] debage39:
Might not b called hero rooter but was a one touch apk. Formatted SD so dnt have the apk to check. But originally tried the hero rooter mentioned above. Couldn't complete process due to lack of wifi. All done with handset. Rename flash file HERCIMG.ZIP

Hope this was helpful. I'm still learning but glad to share any info I can.
[Hero CDMA Android Development] regaw_leinad:
If your talking about my RegawMOD Hero Rooter, you don't need wifi for it to work...
[Hero CDMA Android Development] debage39:
No I meant for the framework. Didn't see the link til after I left the hotspot. So I couldn't complete it.
[Hero CDMA Android Development] debage39:
My bad reg. I was just informed it was ur rooter. I confused it with another method. And it worked like a dream. Phone is more compatible.
[Hero CDMA Android Development] laie1472:
Umm Nah first off you mean that it wasn't his method you were referring to. Also his method didn't work for you " for unknown reasons " doesn't mean it was his method. The method your referring to is the method I suggested to you when I sent you the apk. That's how you were able to root you phone and install a recovery.

Root_Hack-Mod*Always\
[Hero CDMA Android Development] debage39:
Also wanted to thank laie1472 for all the time and effort he has put in setting my phone up, and regaw leinad for his rooter. And xda for putting together a community of knowledge and all the ppl on it that have helped me.
[Hero CDMA Android Development] laie1472:
Glad you got everything up and running. If you need anything else let me know.

Root_Hack-Mod*Always\
[Hero CDMA Android Development] Stuart Little:
You can root with:

POOT: This app is a one click root app. No computer needed

Framaroot: Framaroot is a oneclick root app . No computer needed

This is the most popular one!

Z4Root: Z4Root is an oneclick root app . No computer needed

Towelroot: Towelroot is an oneclick root app. No computer needed

Baidu: No information

Vroot: No information

Gingerbreak: This app can root almost all gingerbread devices

Downloads:

Poot - Download the app >>here<<

Framaroot - Download the app inside this XDA Thread - >> CLICK HERE <<

Z4ROOT - Download the app inside this XDA Thread - >> CLICK HERE <<

Towelroot - Download the app inside this XDA Thread - >> CLICK HERE <<

Baidu ROOT - Download the app >> HERE <<

vROOT - Download the app >> HERE <<

Gingerbreak - Download the app inside this XDA Thread - >> CLICK HERE <<

Flash a SU ZIP - Download the ZIP >> HERE << and flash it on your unlocked bootloader phone !

Hit thanks if you liked this post or this post has helped you out !
[Hero CDMA Android Development] chuckhriczko:
Did you copy recovery-RA-heroc-v1.2.3.img to your android sdk/tools folder?
[Hero CDMA Android Development] magicalan:
ok now that the root has been released

what else can we do besides themes and roms? :p
[Hero CDMA Android Development] WhiteWidows:
Crap its on my desktop still lol
[Hero CDMA Android Development] chuckhriczko:
It happens. Just let us know if it works for you or if you need anything else.
[Hero CDMA Android Development] markachee:
The first post has you run

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

before getting into the phone's shell. This doesn't actually do anything and is just a copied typo from the original post on Sprint's forums, right?

Assuming I'm right on that, here's my problem. After I push asroot2 to /data/local/asroot2 on the phone and set it's permissions, I run adb shell and then the above command and I get:

[1] Killed /data/local/asroot2 /system/bin/sh

Anything obvious I did wrong here?

This is a Cellular South Hero. Hoping I'm just missing something and they didn't patch this already.
[Hero CDMA Android Development] themyst:
I had the same issue rockcrawler had... but when trying to flash the final step I am getting a lot of this:

mtd: write error at 0x002c0000 (Out of memory)

Did I miss something?
[Hero CDMA Android Development] Vertig0:
Im having the same problem, I tried what you recomended but no luck...

any idea what Im doing wrong?

TIA!

D:\android\tools>adb push recovery-RA-heroc-v1.2.3.img /sdcard/

1820 KB/s (3352576 bytes in 1.798s)

D:\android\tools>adb shell flash_image recovery recovery-RA-heroc-v1.2

error opening recovery-RA-heroc-v1.2.3.img: No such file or directory
[Hero CDMA Android Development] rockcrawler:
Do this, its what finally worked for me.

$ adb shell
$ cd /sdcard/
$ su
# flash_image recovery recovery-RA-heroc-v1.2.3.img
[Hero CDMA Android Development] Vertig0:
great it workd!!! thanks!
[Hero CDMA Android Development] cicada:
So from what I gather so far, until we get a CDMA compatible ROM, root gives us at least the following:

Apps2sd - the ability to save apps to the SD card vs. the limited system space

'Root required' apps from the market

The ability to uninstall/disable some of the 'bloatware' that's always running regardless of whether or not it's used, like Stocks and IM

I'm trying a little bit of the latter right now, but I can't figure out how to uninstall these apps so far, anyone want to give me a hint where to start?
[Hero CDMA Android Development] rockcrawler:
NP, but the thanks goes to 'chuckhriczko', I just copied and pasted :D
[Hero CDMA Android Development] themyst:
I am now having issues with this:

error: device not found

i tried rebooting both the box and the phone with no results. I also killed adb.exe in task manager and appropriately installed the drivers but it doesn't seem the box will recognize the phone (it does recognize the sd card though)

any tips or workarounds? Running Win7 64bit.
[Hero CDMA Android Development] venumx:
it was a pretty good job of copy and paste though :)

and for the question about getting rid of bloatware you can try looking in /system/app/ for the apk that you wanna get rid of... should be in there then just do something like

adb shell rm /system/app/app_to_be_removed.apk * tested and confirmed this works *

hope that works for ya..
[Hero CDMA Android Development] venumx:
* EDIT *

http://code.google.com/p/android/issues/detail?id=1039#c10

try that?
[Hero CDMA Android Development] themyst:
It was as simple as running in USB debugging mode. I'm silly.
[Hero CDMA Android Development] chuckhriczko:
Also, if anyone is having a problem running adb in ubuntu it's because it needs to be run as root. These commands should do it for you.

sudo ./adb kill-server
sudo ./adb shell
[Hero CDMA Android Development] venumx:
or you could just do

sudo -i

and it will keep you root for everything you do :P less annoying
[Hero CDMA Android Development] chuckhriczko:
There is that too :)

Just don't forget the ./adb kill-server. I found that to be necessary. And I try not to use sudo -i because it's so tempting to run everything as root and I try to stay a little bit secure. For a while there I always logged into my VPS as root and ended up realizing how stupid that was. Personal preference I suppose.
[Hero CDMA Android Development] dalto12593:
Same problem here.
[Hero CDMA Android Development] dagnasty:
Had the same problem, a reboot fixed it
[Hero CDMA Android Development] dalto12593:
x2

just figured that out, all is going well, THANKS!
[Hero CDMA Android Development] themyst:
you need to enable USB debug mode on the phone and reboot both the phone and box. Then I had no issues rooting.
[Hero CDMA Android Development] turb0rexx:
Thanks, I've got root access but can't flash the recovery file. I'm getting a blank screen after the HTC logo boots up. What am I doing wrong? I see the recovery image on my Sd card.
[Hero CDMA Android Development] goku14238:
Youtube instructional video has been posted. May help somewhat http://www.youtube.com/watch?v=ArMO5IHS2eI
[Hero CDMA Android Development] bklynfire:
how do i know if my phone is rooted correctly?
[Hero CDMA Android Development] whatsleft4her:
my phone wont boot now past the htc screen any help????????? please????????????
[Hero CDMA Android Development] ELIMINATED:
:confused: I would love to root my Hero, but I would have to find someone localy with more brains and experience than myself and pay him to do it. I was lost after here's what you need to do.:(
[Hero CDMA Android Development] ajones7279:
Sounds like you've flashed the wrong recovery screen. Just pull the battery and reboot normally (without holding home).

Then flash this one. http://www.androidspin.com/downloads.php?dir=amon_ra/RECOVERY/&file=recovery-RA-heroc-v1.2.3.img
[Hero CDMA Android Development] whatsleft4her:
been trying that wont reboot that way either, trying it again but so far still sitting at the htc screen
[Hero CDMA Android Development] whatsleft4her:
nothing still hanging there at the htc start up screen
[Hero CDMA Android Development] riotkid976:
I get "failed to copy: permission denied" when i do this. did i not gain root? what did i mess up?
[Hero CDMA Android Development] bklynfire:
I am getting the same error
[Hero CDMA Android Development] Tipharet:
Ok, so I have root and have copied the img over to my SD card.

then I type 'reboot recovery' and it shows a triangle yield mark with a phone below it? It doesnt appear I can access recovery mode?

What am I doing wrong here?

Edit: NVM CD right to /sdcard/ and was able to flash.
[Hero CDMA Android Development] bklynfire:
Just forget it, gottcha

now i get the following

usage: flash_image partition file.img

????????????????
[Hero CDMA Android Development] ElAguila:
A quick android newbie question here. I see that you mentioned backing up with nandroid. Is a backup with sprite backup just as good? I had that one for winmo and when I got the hero and purchased it for android as well.
[Hero CDMA Android Development] acdc_rulz:
Not working on HTC DROID Eris

Hello,

Tried this on my HTC Eris (Verizon) using Android SDK 1.5R1. When I get to step:

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

I get the following output:

[1] Killed /data/local/asroot2 /system/bin/sh

then when I tried the mount step:

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

I get the following error message:

“mount: Operation not permitted”

Anyone get this to work on the HTC Eris? I don't think the version of asroot2 works with the HTC Droid Eris or maybe this exploit was fixed in the HTC Droid Eris?
[Hero CDMA Android Development] QuiQNeZZ:
I got the same read write errors. So are you saying aftre a reboot you went and flashed the image again and then it worked? Or was it already flashed and you just went straight into bootloader mode?
[Hero CDMA Android Development] QuiQNeZZ:
Ok, and what I got was a screen that looked like this..

$ adb shell
$ cd /sdcard/
$ su
# flash_image recovery recovery-RA-heroc-v1.2.3.img
flash_image recovery recovery-RA-heroc-v1.2.3.img

[/QUOTE]

Is that it?
[Hero CDMA Android Development] jpyrogen:
when i boot to recovery mode.....all i get is the htc logo and then to a fully black screen with nothing......any idea???
[Hero CDMA Android Development] hoopsdavis:
Need help, my phone is stuck at the HTC boot screen
[Hero CDMA Android Development] watzone69:
Is that it?[/QUOTE]

I was a little confused too.

In the command prompt, go back to

$ adb shell

$ su

#

Now type:

reboot recovery

you should get the HTC splash screen and then the RA menu selection screen. Use the trackball to highlight what you want (I went straight for "Nandroid backup") and press the trackball. When you're done playing around, scroll back up to the top to select normal boot.
[Hero CDMA Android Development] okcppcnut:
Okay I got my phone rooted. Thanks to everyone that worked on it. Next question. How do I install my apps on my SD card?
[Hero CDMA Android Development] QuiQNeZZ:
Ok, now how do I restore a backup I made?? When I select Nandroid v2.2 restore from the bootloader I get Error : Run 'nandroid-mobile.sh restore' via console!

So do does that mean I have to go into the command prompt and input a command for it to run? Can someone tell me how to do this please??