取得手机根root权限
获得手机根root权限Connect the phone to the USB cable if it’s unplugged.On Windows, open cmd.exe (St
获得手机根root权限

Connect the phone to the USB cable if it’s unplugged.On Windows, open cmd.exe (Start -> Run -> cmd.exe -> Enter):- Change the directory to the?tools?directory you’ve created earlier.
Run fastboot.exe boot boot.img.insecure from within the tools directory.
Output:
downloading 'boot.img'... OKAY booting... OKAY
- Now your device will start from the given image with root access.
Gain root access:- In the phone’s alerts menu, click?HTC Sync. This will popup the HTC Sync tool in Windows. Ignore it!
In cmd type: adb.exe shell
Output:
#
- From the prompt you got (#) run the following command to mount the phone’s file system in RW mode:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Add su command to your Phone- Run the the following commands in the shell (#) – Run each command separately (don’t just copy-paste all the lines!):
cat /system/bin/sh > /system/bin/su
chmod 4755 /system/bin/su
Reboot the phone by typing reboot in the shell (#).
The phone will restart and load the original Android ROM.Enjoy the your Rooted Device本文来自 http://myandroidblog.wordpress.com/2009/08/03/htc-hero-root-access/