Edit: Started working on this prior to previous post. Will leave here in case anybody needs it.
Success for fellow Dummy!!!
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