首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 移动开发 >

取得手机根root权限

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

获得手机根root权限

取得手机根root权限

  • Connect the phone to the USB cable if it’s unplugged.
  • On Windows, open cmd.exe (Start -> Run -> cmd.exe -> Enter):
    1. Change the directory to the?tools?directory you’ve created earlier.
    2.  Run fastboot.exe boot boot.img.insecure from within the tools directory.

      Output:

      downloading 'boot.img'... OKAY booting... OKAY
    3. Now your device will start from the given image with root access.
  • Gain root access:
    1. In the phone’s alerts menu, click?HTC Sync. This will popup the HTC Sync tool in Windows. Ignore it!
    2. In cmd type: adb.exe shell

      Output:
      #

    3. 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
    1. Run the the following commands in the shell (#) – Run each command separately (don’t just copy-paste all the lines!):
      1.  cat /system/bin/sh > /system/bin/su
      2.  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/

  • 热点排行