Magic Rooting




From Android Wiki

Revision as of 22:48, 23 May 2009 by DarkriftX (Talk | contribs)
Jump to: navigation, search

Rooting the Magic/Sapphire

First of all, everyone owes Haykuro a great big thanks for working on this and helping create the solution without even owning a magic. The following is his method just reworded slightly.

Note: If you lose power or reboot before completing step 7 you will have to start from the beginning because you will have lost your temporary root access.

  1. To gain root access on your HTC Magic/Sapphire you will need to download the magic-root-boot.img zip file and unzip it so that you have boot-new.img in a location you can find.
  2. Enable USB debugging on the device
  3. On your device, enter the bootloader by trying one of the following
    • Turn off your device and while it is off hold down back while you press power.
    • Turn off your device and while it is off hold down volume down while pressing power
  4. Make sure your usb cable is inserted and you have Fastboot installed and ready to use.
  5. Type the following commands on your desktop (not on the device):
    • fastboot boot boot-new.img
  6. wait for the following to flash and the phone to reboot:
    • downloading 'boot.img'... OKAY
    • booting... OKAY
  7. make sure you have ADB installed and run the following commands from your desktop (not on the device). Make sure the first command returns uid/gid = 0 or you are not root (on the device):
    • adb shell id
    • adb push boot-new.img /sdcard/boot-new.img
    • adb shell flash_image boot /sdcard/boot-new.img
  8. Download haykuros modified magic recovery, unzip it and run the following commands on your desktop:
    • adb push recovery-new.img /sdcard/recovery-new.img
    • adb shell flash_image recovery /sdcard/recovery-new.img
    • adb remount
    • adb push recovery-new.img /system/recovery.img
  9. You can now delete all .img files from your /sdcard (and from your desktop if you wish).

This gives you a modified boot and recovery which lets you have access to root and to flashing modified update.zip roms from the recovery.



Personal tools