Home » How To, Software » How to install a custom Recovery on HTC Magic/Sapphire

0

Amon_RA Recovery

How to install a custom Recovery on HTC Magic/Sapphire

Custom Recovery – This is a custom recovery based on Cyanogen’s recovery source with a lot of things added by  Amon_RA. The purpose of this recovery is to avoid using adb by accessing all features directly from the menu.

This recovery if for the HTC Magic/MT3G only.

Important note: 32A users with SPL 1.76.x should flash the Hero version! (Will be added soon!!)

Features

Use the trackball (up+down) to navigate through the menu, press the trackball to select items.
You can also use the volume keys (vol-up + vol-down) to navigate, and the CALL-ANSWER key to select items (in case your trackball is broken).

  • full ADB access in recovery mode
  • Busybox v1.15.3
  • HW-Key navigation (volume keys + CALL-ANSWER) option
  • Extended menu (with keyboard-shortcuts):
    • Reboot system now :: reboot your phone
    • USB-MS Toggle :: enable/disable USB mass storage (use when the phone is connected to your PC)
    • Backup/Restore (recovery partition not included!)
      • Nand backup :: Make a Nand backup
      • Nand + ext backup :: Make a Nand + ext backup
      • Nand restore :: Restore a Nand backup
      • BART backup :: Make a BART backup (Nand + ext)
      • BART restore :: Restore latest BART backup
      • Bck Google files :: Makes a backup of the Google proprietary system files in /cache/google
      • Rst Google files :: Restores the Google proprietary system files from /cache/google
    • Flash zip from sdcard :: Flash a zip update file from your sdcard
    • Wipe
      • Wipe data/factory reset :: Wipe /data and /cache
      • Wipe cache :: Wipe /cache only
      • Wipe Dalvik-cache :: Wipe /cache/dalvik-cache
      • Wipe SD:ext partition : Wipe the ext partition on your sdcard
      • Wipe battery stats : Wipe the battery stats in /data
      • Wipe rotate settings : Wipe the sensor settings in /data
    • Partition sdcard
      • Partition SD :: Interactive SD partitioning
      • Repair SD:ext :: Repair the ext partition
      • SD:ext2 to ext3 :: Convert ext2 to ext3
      • SD:ext3 to ext4 :: Convert ext3 to ext4
    • Other
      • Fix apk uid mismatches :: Does extacly that
      • Move recovery.log to SD :: Moves the recovery log file to your sdcard. (Use when you want more detailed recovery log information)
    • Power off :: Powers off your phone
  • Scripts available via adb :
    • Nandroid v2.2.1 : enter “nandroid-mobile.sh” to start.
    • BART v1.3.1 (Backup and Restore Tool) : enter “utility” or “u” to start.
    • switchrom.sh V1.1 : enter “switchrom” to start.
    • sdparted v0.6 : enter “sdparted” to start.

Install custom Recovery

  • There are several ways to install a custom recovery, choose the one that suits you most (I probably forgot a few).
  • You don’t need to enter “mount -a” if your partitions are already mounted.
  • Use the H/G version if your Magic is HTC branded (PVT 32A board)/Google branded (PVT 32B board).

via fastboot :

  • Requires engineerings SPL!
Code:
Copy recovery-RA-sapphire-v1.7.0G.img to a location where fastboot can find it.
Boot your phone into fastboot mode (boot while holding BACK)
Connect your phone via usb to your pc/mac/...
fastboot devices (to make sure that fastboot "sees" your device)
fastboot flash recovery recovery-RA-sapphire-v1.7.0G.img

via adb :

  • Requires a custom recovery (with test-keys) like Cyanogen’s v1.4 or  previous recovery
  • Do NOT follow these steps from a terminal application on the phone, make sure that you’ve booted into a custom recovery first!!!
Code:
Copy recovery-RA-sapphire-v1.7.0G.img to the root of your sdcard
Boot into your current custom recovery (boot while holding HOME)
Connect your phone via usb to your pc/mac/...
adb shell
#mount -a (this can give back an error if you don't have an ext partition, don't worry about it and just proceed)
#flash_image recovery /sdcard/recovery-RA-sapphire-v1.7.0G.img

via terminal application installed on the phone :

    • Requires root

 

  • DO NOT use this method with CM5.0.7, there are currently some memory issues while flashing, use the above methods (preferably the fastboot method) instead until the issue is fixed in CM5.0.7!
Code:
Copy recovery-RA-sapphire-v1.7.0G.img to the root of your sdcard
start the terminal app
#flash_image recovery /sdcard/recovery-RA-sapphire-v1.7.0G.img

Download

  • ALWAYS check the md5sum to make sure the zip isn’t corrupted.
  • Use the H/G version if your Magic is HTC branded (PVT 32A board)/Google branded (PVT 32B board).

Latest :

recovery-RA-sapphire-v1.7.0G.img -MD5Sum: 8b3b5ff90575eba0c5bfc13c0fa6b8ea

recovery-RA-sapphire-v1.7.0H.img -MD5Sum: f78bc0ff51f233666a9a5f72b56aabec

recovery-RA-sapphire-v1.6.2G.img -MD5Sum: f73a18f9426cf26c2dd87d5389b55d1c

recovery-RA-sapphire-v1.6.2H.img -MD5Sum: edcc5f0fa0a5c325763fe3c3d28ea3bf

Tags: , ,

Leave a Reply

You must be Logged in to post comment.