• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Sprint Hero HAS BEEN ROOTED@!

Really guys its soo simple just turn your Pc on and then just do that thing where it chmod and su this and that and use some of this kind of things(!@##!$@!) and then ....crap what were we talking about again?????
 
What would be nice is if we get the one click root that was out for many android phones. Its early so all i can say is be patient and we will get something like that.
 
Thanks to GBHIL at Android Central Forums:

I'll assume you're running windows.
1. DL the Android SDK here --> Android SDK | Android Developers
2. Unzip the SDK to c:/
3. Download http://zenthought.org/system/files/a...20091107-2.apk and save it to your desktop as a .zip file
4. Open flashrec and in the assets/raw/ folder copy asroot2 to the C:\android-sdk-windows-1.6_r1\tools directory.
5. Open the command line and browse to C:\android-sdk-windows-1.6_r1\tools (on Vista or Win 7 just shift+right click on the tools dir in explorer and open command window here)
6. Type the following EXACTLY as written:

From the cmd prompt in the SDK/Tools directory:

adb push asroot2 /data/local/
adb shell chmod 0755 /data/local/asroot2
adb shell
/data/local/asroot2 /system/bin/sh

you will see a friendly message telling you to enjoy your root. Notice the root prompt.

7. Now type:

mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cd /system/bin
cat sh > su
chmod 4755 su

this changes the permissions of su so you call call it and run apps as root.


8. In the Market, download a terminal. I recommend Terminal Emulator. Open it, click and hold menu until OSK comes up. Type in su, and see if $ changes to #. If so, congrats. You're root. Close the term app. If not, you did something wrong. Start over.

9. DL Downloads - android-wifi-tether - Project Hosting on Google Code on your phone.

10. Open the downloads folder, run the wifi-tether.apk (using your preferred installer). Once installed you're done. Run it, surf away. Be prepared for a big bill should you do something silly and get Sprint's attention, unless you have PAM on your account.


protip - dl and install google chrome on your computer to use while tethered. Shows a google footprint instead of an IE/Safari or firefox footprint, and wont raise as many flags to Sprint.

Thanks to his info, I got a good Nandroid backup, cache to sd and wifi tethering.
 
Edit: Started working on this prior to previous post. Will leave here in case anybody needs it.


Success for fellow Dummy!!! :D

WARNING DO THIS AT YOUR OWN RISK!!!!

#1
First you need to download the Android SDK execute and copy the file it produces to your C: drive. It should be named similar to:android-sdk-windows-1.1_r1 You should download any android sdk I downloaded 2.0 but to make things easy rename the directory you copied to your c drive to: android-sdk-windows-1.1_r1

This way you can copy paste commands. If you don't do this please change your commands as appropriate!!!

#2
Then you need to install adb driver, I did this by installing pdanet, installs it for you automatically. Follow instructions.

PdaNet -- Use your Android as a USB Modem
Some people had success by installing HTC Sync. I did not.

#3
Download asroot file from here: xda-developers - View Single Post - CDMA Hero Root status?

Copy asroot file to your file to the tools directory:
C:\android-sdk-windows-1.1_r1\tools directory

#4
Then change your environment variables:

To do this right-click on "My Computer" and select Properties. Next select the Advanced tab(Advanced Settings in Vista) then select Environment Variables.

Click "New" under System Variables and add the following:

Variable: adb
Value: C:\android-sdk-windows-1.1_r1\tools


#5 Put your phone in usb debug mode if not already. Found under applications> development settings



#6
Let's test.

Running Command Prompt:

Windows XP: Select Start or Tap the Windows Key on your Keyboard, select "Run" and type "CMD" then hit "Enter".

Windows Vista/7: Select Start or Tap the Windows Key on your Keyboard, select the search box on the left and type "cmd" then hit "Enter".

Code:
Copy paste into command prompt: cd C:\android-sdk-windows-1.1_r1\tools <-- Tap Enter

You should be at:

C:\android-sdk-windows-1.1_r1\tools> <run your adb command here>
Ok, now that you know how to initiate an adb command let's try one shall we?


Remember, we are still in the command prompt and in the /tools folder within the android sdk....

Code:
C:\android-sdk-windows-1.1_r1> adb shell <--- Hit Enter
you should get a $ sign.


ok now we are going to root. close out current command promtpt and start a new one like in step previous step:

#7

Let's Root!

Windows XP: Select Start or Tap the Windows Key on your Keyboard, select "Run" and type "CMD" then hit "Enter".

Windows Vista/7: Select Start or Tap the Windows Key on your Keyboard, select the search box on the left and type "cmd" then hit "Enter".


Code:
Copy paste into command prompt: cd C:\android-sdk-windows-1.1_r1\tools <-- Tap Enter

Copy paste:
adb push asroot2 /data/local/

Copy paste:
adb shell chmod 0755 /data/local/asroot2

Copy paste:
adb shell

Copy paste:
/data/local/asroot2 /system/bin/sh


You should have seen the following lines progressively as you typed the previous commands:
$ /data/local/asroot2 /system/bin/sh
[+] Using newer pipe_inode_info layout
Opening: /proc/857/fd/3
SUCCESS: Enjoy the shell.
#


# should indicate a successful root. Someone correct me if I'm wrong. Now copy paste the following lines individually:

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

copy paste:
cd /system/bin

copy paste:
cat sh > su

copy paste:
chmod 4755 su


Close command prompt window.


#8
You should be fully rooted! If you'd like now google search for wifi tether. Download the HTC Version!!!


Start and test. It should work like a charm!!!!!!!!! :)


Thank you for the following guide. I copied heavily from it to apply it here:
[HOW-TO] ADB for Dummies(How-To Learner's Guide) - xda-developers
 
I wonder how long until someone posts the video for rooting the sprint htc hero up on youtube??? My guess will be before monday morning.
 
Seems I successfully rooted but wifi tether is not working properly, connects but with no internet access. Anybody experiencing this?
 
Seems I successfully rooted but wifi tether is not working properly, connects but with no internet access. Anybody experiencing this?

Same here. Tried the tether app on my Mac and Vista... no go.

Any apps to increase clock speeds? Found one call Open Overclocker but it states its for g1 users.
 
How to root the CDMA Hero - xda-developers

Here's another tutorial from the XDA dev forum.

I understand that rooting has a few perks. The ability to run wifi-tether, uninstall Sprint bloatware, and running and storing apps on the sd card.

At this point I'm torn between following through with rooting my Hero now or waiting until after 2.0 is released!

If I root now, I can enjoy the perks and explore new benefits of rooting, but if I want to upgrade to 2.0 after rooting, the exploit may be patched, essentially un-rooting my phone again, even worse the bloatware could be back on it...

:confused:
 
From what I'm understanding, the update will be available from both Sprint (maybe OTA, maybe not) and HTC directly. What this means is once you have a custom recovery bootloader installed, you get to decide what ROM gets installed. It'll be mere moments before someone hacks up the 2.0 update with a root fix, I'm certain.

I'd think it was pathetic that I've been tied to my laptop/phone waiting/rooting for the last 12 hours, but this stuff is too damn cool to care :)
 
So after rooting is it possible to then use apps2sd? I thought u had to have a custom ROM for that. Just wondering
 
It should be possible, apps2sd basically makes a symbolic link from your internal memory apps folder to a partition you create on the SD card. It'd take a little work to get it setup properly as the hero's default filesystem layout has the folders in different places than all the tutorial sites.

The one 'big' thing missing is busybox, which is a sort of linux toolkit that wraps up all the 'standard' linux commands that android is missing, like the copy command 'cp'.

Someone in the XDA thread I'm following mentioned he's trying to get it working and will write up a hero-specific tutorial.

What I'm trying to figure out now is how to uninstall some of the 'bloatware' apps I don't use that run incessantly in the background, like 'stocks' and 'peep'

lmao - apparently the obvious solution was too obvious for me to see, deleting the .apk file in /system/app seems to work. Also seems to cause the google app watcher service to throw a fit a couple times ;)
 
The one 'big' thing missing is busybox, which is a sort of linux toolkit that wraps up all the 'standard' linux commands that android is missing, like the copy command 'cp'.

Someone in the XDA thread I'm following mentioned he's trying to get it working and will write up a hero-specific tutorial.

The MoDaCo ROMs already have a working Busybox, and I'm sure there was a post a while back on the site from the dev (Paul O'Brien) about installing it on its own rather than as part of a ROM update.

deleting the .apk file in /system/app seems to work. Also seems to cause the google app watcher service to throw a fit a couple times ;)
If there are associated .odex files delete those too.
 
Just successfully rooted my Hero!

I had to bounce back and forth between this thread and the XDA-developer tutorial thread. I've used ubuntu before so I'm familiar with the Linux command line. I did this in W7 32bit.

So far I have rebooted into recovery mode and done a Nandroid backup. Then I successfully removed Nascar, NFL, Peep, AmazonMP3, Stocks app, and Stocks widget from sense. I used the methods in this thread: How to remove Stocks, Nascar and other useless apps... - xda-developers

Cleared up a ton of space and now I know they wont be using resources in the background! Other's have said that it might be the placebo effect, but my Hero feels significantly faster already!

Next up is getting Wifi-Tether to work. Seems like a lot of people are having trouble with it so I'll wait till I find more success stories


I also started an Under/Overclocking thread in the Hero section over at XDA: http://forum.xda-developers.com/showthread.php?t=581832
 
The Modaco ROM should be a 'no-wipe', nobody is reporting they've lost anything so far.

You'll *absolutely* want to create a Nandroid backup before flashing though, just in case ;)
 
He means the rom will not WIPE your phone if you flash. But if you are rooted you can create a backup image of your device (which is what Nandroid does) so if for some reason something went bad you could simply restore :)
 
Back
Top Bottom