Magic Rooting

From Android Wiki

(Difference between revisions)
Jump to: navigation, searcha
(Rooting the Magic/Sapphire)
(Rooting the Magic/Sapphire)
Line 19: Line 19:
#* <pre> adb push recovery-new.img /sdcard/recovery-new.img</pre>  
#* <pre> adb push recovery-new.img /sdcard/recovery-new.img</pre>  
#* <pre> adb shell flash_image recovery /sdcard/recovery-new.img</pre>
#* <pre> adb shell flash_image recovery /sdcard/recovery-new.img</pre>
-
 
+
#* <pre>adb remount</pre>
 +
#* <pre>adb push recovery-new.img /system/recovery.img</pre>
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.
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.

Revision as of 20:20, 23 May 2009

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.


  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. 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
  3. Make sure your usb cable is inserted and you have Fastboot installed and ready to use.
  4. Type the following commands on your desktop (not on the device):
    • fastboot boot boot-new.img
  5. wait for the following to flash and the phone to reboot:
    • downloading 'boot-new.img'... OKAY
    • booting... OKAY
  6. make sure you have ADB installed and run the following commands from your desktop (not on the device):
    •  adb push boot-new.img /sdcard/boot-new.img
    •  adb shell flash_image boot /sdcard/boot-new.img
  7. 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

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