[Recovery] [32A & 32B] [16-May-2010] RA-sapphire-v1.7.0

Search This thread

Caid444

Senior Member
Nov 29, 2008
159
1
I was instructed to press back and power to boot in recovery mode. I pressed home and power, and there it is. Is that to say it's booting from the phone's recovery partition? Or is it still booting off the mem card?

If it's done, I'll attempt to flash a rom on there now, as I need not be so afraid of bricking my phone. ;)

I'm using the htc magic (32a) which rom is the most stable with the least amount of bugs?

Caid.

444
 

Cheesebaron

Senior Member
Jun 25, 2009
267
2
Kongens Lyngby
ostebaronen.dk
i cannot get this to work...

i got usb debugging enabled.
got sdk.
went to fastboot mode on my device
did cmd, cd C:\android-sdk-windows-1.5_r2\tools, then fastboot boot recovery-RAv1.1.1G.img.

for some reason, it says "waiting for device" and it sits there for 5+ mins doing nothing. Any ideas? Thanks in advance.

You need to turn off your phone, and then hold the back button while pressing end/power to boot in fastboot mode.
 

kohler

Member
Dec 30, 2006
13
0
Flash it permanently (try it first by following the steps above and making a nandroid backup first!):
1. Boot the device in fastboot mode.
2. Connect the device to your machine over USB.
3. $fastboot boot recovery-RAv1.1.1H.img
Wait for a minute or two..
$adb shell mount -a
Ignore the failed mounts...
$adb push recovery-RAv1.1.1H.img /system/recovery.img
$adb push recovery-RAv1.1.1H.img /sdcard/recovery-RAv1.1.1H.img
$adb shell flash_image recovery /sdcard/recovery-RAv1.1.1H.img
4. Reboot



I have just backup my rom. Can anyone explain what does these 3 command does in step 3?

$adb push recovery-RAv1.1.1H.img /system/recovery.img
$adb push recovery-RAv1.1.1H.img /sdcard/recovery-RAv1.1.1H.img
$adb shell flash_image recovery /sdcard/recovery-RAv1.1.1H.img


Do i need to copy the recovery-RAv1.1.1H.img into my SDcard as well so that i can push in these file into the phone
 

sherifone

Senior Member
May 29, 2009
53
0
This is great, thank you for enabling easy nandroid backups :) I've installed it successfully and used to it try out some of the hero ROMs. But alas, I always end up going back to my original stock Google Ion firmware since I have it setup how I like. I do have one question though:

Is there a simple way to root my phone (provide super user access?) without wiping my data? My understanding so far is that I would modify the boot.img to allow for root access on the phone.

What changes would I make, or is there a script that makes this easier? Thanks in advance! The tutorials are a little rough.
 

tect

Senior Member
May 5, 2006
58
6
i have a HTC Magic from Malaysia

Sapphire PVT 32A SHIP S-ON H
HBOOT-1.33.0010 (SAPP10000)

i have sdk installed and when i try the following steps,

Try it out WITHOUT making changes to your device (NO flashing):
1. Boot the device in fastboot mode.
2. Connect the device to your machine over USB.
3. $fastboot boot recovery-RAv1.1.1H.img

i got a reply of

'fastboot' is not recognized as an internal or external command, operable program or batch file.

can any 1 assist me on my problem?
thanks
 

MontAlbert

Senior Member
Jan 10, 2007
2,655
198
does this have a terminal in it that we can drop into to run commands (eg. replace system files) as cyanogens 1.3.1 does?

Also, i dont want to flash it permanently yet, is there a way to boot into it from terminal on the phone? eg. in terminal on G1 you type reboot recovery and it reboots into recovery....is there a command to direct the phone to boot up the recovery?
 

Amon_RA

Retired Senior Recognized Developer
Jan 2, 2009
1,295
400
i have a HTC Magic from Malaysia

Sapphire PVT 32A SHIP S-ON H
HBOOT-1.33.0010 (SAPP10000)

i have sdk installed and when i try the following steps,

Try it out WITHOUT making changes to your device (NO flashing):
1. Boot the device in fastboot mode.
2. Connect the device to your machine over USB.
3. $fastboot boot recovery-RAv1.1.1H.img

i got a reply of

'fastboot' is not recognized as an internal or external command, operable program or batch file.

can any 1 assist me on my problem?
thanks

Make sure the tools directory is correctly defined in your PATH.
 

Amon_RA

Retired Senior Recognized Developer
Jan 2, 2009
1,295
400
does this have a terminal in it that we can drop into to run commands (eg. replace system files) as cyanogens 1.3.1 does?

Also, i dont want to flash it permanently yet, is there a way to boot into it from terminal on the phone? eg. in terminal on G1 you type reboot recovery and it reboots into recovery....is there a command to direct the phone to boot up the recovery?

There is no keyboard on the Magic so a terminal in recovery mode would require a virtual keyboard on screen, implementing that is not so simple but I'll look into it...

I'm not aware of a method to boot the recovery from a terminal.
 

Dayzee

Senior Member
Jan 6, 2008
406
28
Manchester UK
YOU STARs!!! This was absolutely trouble free to install. :)

I did it via my laptop, using C Prompt and I had trouble at first until I realised I didn't need to type the dollar sign at the start.... LOL

The success of getting the image to load and make a nandroid backup spurred me to flash the recovery image permanently :)

And the success of THAT spurred me on to take the plung and load a rooted Rom from the SDCard (I've got the Ion Multi on now!!)

So now I've got root too - once again YOU STARS!!

Daisy xx
 

Leviathon

Member
Jul 4, 2009
44
0
Thanks very much for this, I thought I'd give this a go, but after following the steps (32b) I just get an exclamation mark next to a phone when trying to go into it? I did try without flashing first and it worked perfectly. The rest of the phone also works fine. If anyones able to help would be appreciated. I'm on SPL 2005, cheers.
 
Last edited:

zetsurin

Senior Member
Apr 24, 2005
197
13
Melbourne
This looks great, I just have a newbie question:

I currently have a Vodafone UK Magic with stock SPL and ROM. What I am interested in doing is restoring jmaurice's Japanese nandroid backup (http://xdaforums.com/showthread.php?t=526085) on my device, but if possible I would like to keep my stock SPL in-place, just in case I have a warranty issue. Since the Japanese nandroid backup is a stock standard unmodified ROM (which would pass signature checks I assume, correct me if I am wrong), would it be possible - at least in theory - for me to use this recovery (using the 'temporary' method) to restore the nandroid backup while leaving my SPL as-is?
 

computerdan

Senior Member
Jul 3, 2009
70
1
Toronto
I flashed the recovery utility permanently to my phone, but now I have to return the phone to Rogers due to some burnt pixels. Every time I press Home+Power, the utility still comes up - this is after flashing to original ROM and using Wipe data/factory reset function in the utility.

How do I get rid of the boot utility partition? :confused:

UPDATE: Please disregard. I figured it out. I ran a nandroid restore from a previously backed up copy (phew!) and it wrote over boot.img (I assume).
 
Last edited:

james_d

Senior Member
Jul 14, 2009
121
7
I tried this as it is my first attempt at rooting my Magic (Vodafone UK). I believe I flashed it to the phone and it began a restart and just stuck on the Vodafone boot image.

Took the battery out and booted as normal. Tried it twice and same thing happened. Any ideas?

Thanks.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 13
    This is a custom recovery based on Cyanogen's recovery source with a lot of things added by me. The purpose of this recovery is to avoid using adb by accessing all features directly from the menu.

    All source code is available at github.

    This recovery if for the HTC Magic/MT3G only, if you have an :
    - HTC Dream/G1 you should go here.
    - HTC Hero you should go here.
    - HTC Sprint Hero you should go here.
    - HTC Eris you should go here.
    - HTC Tattoo you should go here.
    - HTC Nexus One you should go here.

    Important notes
    • 32A users with SPL 1.76.x should flash the Hero version! (Will be updated to v1.7.0 soon!!)
    • Always check recovery.log before posting your issues!
      You can do this by doing :
      • "cat /tmp/recovery.log" OR "cat /cache/recovery/log" right after you had the issue.
      • Use the "move log to sd" option in the "others" menu right after you had the issue. This will move the log to /sdcard/recovery.log so you can easily open it with a text editor.

    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 :

    Install

    • 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 G1 into fastboot mode (boot while holding BACK)
    Connect your G1 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 my 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 G1 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.
    • Click on the Mirror-link if you don't like rapidshare
    • Use the H/G version if your Magic is HTC branded (PVT 32A board)/Google branded (PVT 32B board).


    Change-log :

    v1.7.0
    Code:
    - Fixed some minor bugs
    - Recovery and scripts use /sd-ext instead of /system/sd as mountpoint to support the new apps2sd method (implemented mostly by Chris Soyars)
    - Added an option to backup/restore Google proprietary Android system files (backuptool.sh written by Cyanogen)
    - Removed "move apps2sd"-option as it's not needed anymore with the new apps2sd method
    - Updated BART to v1.3.1 (updated by Dumfuq to support /sd-ext)
    - Added a wipe cache only option
    - Nandroid now backups/restores /cache again by default
    - Dalvik-cache wipes /cache/dalvik-cache now
    - Removed SDCARD: prefix in output when chosing zip to flash
    - Added Cyan version (There's no difference with the normal version, only the wallpaper and textcolor changed)

    v1.6.2
    Code:
    - Added power off menu item
    - New unyaffs binary patched by Koushik Dutta and Packetlss to fix the "losing root"-issue and incorrect file-time after a Nandroid restore
    - New dump_image binary (by Brainaid) patched by Packetlss to fix the "bad blocks"- Nandroid restore issue.
    [COLOR="Red"][B](This will not fix old corrupted Nandroid backups! Please make new backups!!)[/B][/COLOR]
    - New mkyaffs2image binary
    - New flash_image binary
    - Updated busybox to v1.5.3
    - Nandroid menu options will NOT backup or restore recovery, cache, misc, splash1+2 (to avoid issues)
    - Fixed wipe option not wiping when ext was not present
    - Created carebear versions after the idea of packetlss
    - Switched the Nexus logo to a Green Carebear with Nexus One logo (Thanks Montalbert!)

    Special thanks to :
    • packetlss for all the hours of support and awesome coding skills, THANKS man ^^, donate to Haiti
    • Koushik Dutta for the unyaffs binary code fix and help ^^
    • pensive for adding awesome features to Nandroid :)
    • Bkmo for his utility script!
    • Devsk for his switchrom script!
    • 51dusty for his sdparted script!
    • k4str0 for his fix_permissions v2.03 update.
    • Devsk, Dumfuq, Overground for creating BART :D
    • Androidappcritics for the reboot idea in BART :p
    • rikupw for the ideas and toggle_ums script.
    • MLIGN for the idea to port my recovery to the Dream.
    • http://theunlockr.com for all the awesome video’s ^^
    • JesusFreke for his awesome JFv1.43's recovery , donate
    7
    Links in OP for 1.7.0 recoveries have been updated.
    1
    I think its because the stock spl has signiture checking on. Change the spl though and...
    1
    But there says "Only flash recovery-RA-hero-v1.6.2.img if you have a 32A Sapphire with 6.35.x.x radio and 1.76.x SPL, recovery-RA-hero-v1.7.0.1.img will NOT boot! I'll create a new Sapphire version soon."
    Thanks.
    1
    Hello! Anyone who wants to get this recovery in 2022(and beyond) go here: 1pwn.ixmoe.com/websites/android.vslinux.net/downloads/recoveries/index.html
    There are H and G versions, as well as many interesting (e.g. CyanogenMod 6.1.1 for HTC Desire A8181)