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

Search This thread

karaduke

Senior Member
Apr 22, 2008
93
1
essex
can someone tell me how to fastboot the recovery because i`m totally stumped. i have ion 1.6 rom installed and after trying to get recovery back on my phone it now wont let me do factory reset???
 

tvwebguy

Senior Member
For those having issues, here's what I did:

Changed the name of the image to "recovery.img"

Copied the recovery.img file to my adb folder which for me is c:\android-sdk-windows-1.6_r1\tools

Booted my phone into recovery (Home + Power)

Plugged the phone into my pc.

Ran the following command from the command prompt: adb push recovery.img /data

Then reboot the phone.

Then reboot into recovery and you should be set.

That's it. Hope this helps.
 

n_gifford

New member
Dec 7, 2009
4
0
Hello all. I'm new to the forum, actually I just registered. I've been lurking around for a while and finally decided to throw in my two cents. I don't use adb, as I'm not familiar with it yet. I had trouble flashing from terminal. But, for all the other "noobs" like myself that are struggling to get this awesome new recovery image:

Change the name of the file to recovery.img on the root of your sd:

From terminal window (Terminal Emulator, or Better Terminal from the market):

su
cp /sdcard/recovery.img /data/recovery.img
reboot

After it fully reboots, reboot into recovery and VOILA!!

Hope this helps, it worked like a charm for me.
 

Neejay

Senior Member
Jul 29, 2009
1,016
148
Atlanta, GA
For some reason, I can always flash the recovery, and it will work one time.

Then if I try to go back into it again, it's always back at the stock recovery screen with this at the bottom:

Code:
E:Can't Open /cache/recovery/command
 

Wysie

Senior Member
Jul 4, 2009
1,122
6
Yes, use the G one...

Neejay: Do you have a recovery under /data? (or something similar, sorry can't rmb offhand)
 

hanysalah

Member
Aug 1, 2008
8
0
nand restore !!

first thank you ;
i installed 1.5 it works very good but i try to make nand restore i found this error can't restore and try make restore through console by nandroid-mobile.sh
why in 1.4 this not come i went console i made restore but pls. chk. this error
thank you
 

karaduke

Senior Member
Apr 22, 2008
93
1
essex
at last i finally figured it out lol

if your gonna use the fastboot method from the first post to it like this:-

Copy recovery-RA-sapphire-v1.5.0H 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 phone)
fastboot flash recovery recovery-RA-sapphire-v1.5.0G.img

i added .img at the end of the above recovery image and it worked. if you read this amon_RA can you edit your first post so people don`t copy and paste(like me) the recovery path into the pc cmd shell and then wonder why it don`t work lol.


just to add this is everything i entered on my pc in cmd shell-make sure your in fastboot mode on your phone.

cd C:\AndroidSDK\tools
fastboot devices
fastboot shell

fastboot erase recovery
fastboot flash recovery recovery-RA-sapphire-v1.5.0G.img

and then it says okay twice and thats it all done.


excellent recovery 1.5 by the way keep up the good work.
 
Last edited:

5[Strogino]

Senior Member
Sep 23, 2009
1,567
405
Moscow
at last i finally figured it out lol

if your gonna use the fastboot method from the first post to it like this:-

Copy recovery-RA-sapphire-v1.5.0H 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 phone)
fastboot flash recovery recovery-RA-sapphire-v1.5.0G.img

i added .img at the end of the above recovery image and it worked. if you read this amon_RA can you edit your first post so people don`t copy and paste(like me) the recovery path into the pc cmd shell and then wonder why it don`t work lol.


just to add this is everything i entered on my pc in cmd shell-make sure your in fastboot mode on your phone.

cd C:\AndroidSDK\tools
fastboot devices
fastboot shell

fastboot erase recovery
fastboot flash recovery recovery-RA-sapphire-v1.5.0G.img

and then it says okay twice and thats it all done.


excellent recovery 1.5 by the way keep up the good work.

Nice nooby method)))) But you can get it easy, if you know your device.

Turn off the phone, turn on by holding (Back + Power) - phone boots into HBoot
At the first 4-5 strings - there is a SPL-info (Information about Second Program Loader - like BIOS at the computer)

So...

SAPPHIRE PVT 32A ENG S-OFF H
HBOOT-1.76.2007 (SAPP10000)
CPLD-12
RADIO-6.35.07.29
Aug 21 2009, 18:19:15

to know, what recovery do you need, you must remember these options:

Motherboard of your sapphire/magic/mytg:
32A - htc magics
32B - some (not all) vodafone magics, t-mobile mytouch 3g, all phones with title "with Google" on the back.

for 32A phones - recovery with suffix 'H' - like 1.5.0H
for 32B phones - recovery with suffix 'G' - like 1.5.0G
 

karaduke

Senior Member
Apr 22, 2008
93
1
essex
totally agree BUT when i changed my spl to eng spl 2005 the top line when in fastboot on my phone now says SAPPHIRE PVT 32B ENG S-OFF H

the G for google has now been replaced with H for htc

how confusing would that be to some lol
 

5[Strogino]

Senior Member
Sep 23, 2009
1,567
405
Moscow
totally agree BUT when i changed my spl to eng spl 2005 the top line when in fastboot on my phone now says SAPPHIRE PVT 32B ENG S-OFF H

the G for google has now been replaced with H for htc

how confusing would that be to some lol

Yes. It will confuse everyone. But important option is version of motherboard.
If you have 32B - you can't never change it...

Originally, 32B versions updating through OTA-updates. At last time, OTA updates came with ROM or patch and without SPL.
Some of 32A updates came with new SPL, so we have a small library of these SPLs. As they all came from HTC, so they marked 'H'
You flashed SPL 2005 - it changed G to H, but functionality still same...
 

Gerigo-Greece

Senior Member
Apr 30, 2006
127
1
Tried Karaduke's way.
SAPPHIRE PVT 32A ship S-ON H
HBOOT-1.33.0009(SAPP10000)
CPLD-12
RADIO-3.22.20.17

I get amessage asfollows:
after writing RA....
signature checking
FAILED
<remote=signature verify fail>.

Can some one help me please.

I do have the CYANOGEN 4.X.X 1.6 ROM installed.
 
Last edited:

skrki

Senior Member
Sep 1, 2009
416
2
Canberra
Thanks Amon_RA, your recovery is brilliant as ever! I've gotta say, this is much better than 1.3.2, especially because you have merged wipe DATA and CACHE back together. Way to go! Also loving the nandroid w/EXT option, though Bart itself rocks. Redbull coming your way soon ;)

Now that I'm writing already, I've had something strange occur on 1.3.2, while toggling UMS. It somehow renamed my FAT partition to a non-unicode character (single character, but it looks like letter "C" above letter "R"... I cant reproduce it). Looking at the directory structure through Linux shell, my drive was named "?"... In KDE, it's name was this "CR" thing... Kinda weird. I apologize if it has been posted/asked, just thought I'd drop it, wondering if it's a known problem. Thanks again!
 

skrki

Senior Member
Sep 1, 2009
416
2
Canberra
Tried Karaduke's way.
SAPPHIRE PVT 32A ship S-ON H
HBOOT-1.33.0009(SAPP10000)
CPLD-12
RADIO-3.22.20.17

I get amessage asfollows:
after writing RA....
signature checking
FAILED
<remote=signature verify fail>.

Can some one help me please.

I do have the CYANOGEN 4.X.X 1.6 ROM installed.

you cant do karaduke's way. Your SPL does not allow flashing images.
Do this (ADB method):
1.
Code:
adb shell push recovery-ra-1.5.img /data/recovery.img
2. Reboot your phone


or this (from inside CM, through terminal):
1. Copy the recovery to your SD card's root
2. Open terminal and type
Code:
1/ $su 
2/ #flash_image recovery recovery-RA-1.5.img
 
Last edited:

Gerigo-Greece

Senior Member
Apr 30, 2006
127
1
SKRKI , Thanks for the prompt reply .
Tried your adb method.
I am geeting the following reply.

" adb server out of date .... killing"
 

Amon_RA

Retired Senior Recognized Developer
Jan 2, 2009
1,295
400
Updated to v1.5.1

Change-log :
v1.5.1
Code:
- Fixed Nandroid-ext restore issue where nandroid didn't restore the backup-ed ext partition.
 

f00dstamps

Member
Oct 25, 2009
47
0
nandroid-mobile.sh

I tried to ran the nandroid backup+ext. He showed me a progress indicator and then when it got to the end, it told me to run "nandroid-mobile.sh" Can someone explain to me what is happening? Thanks.

Edit: I found instructions for how to move the recovery.log to the SD card so I can view it. Does this need to happen everytime a new log is created to see the most recent data?

Edit: Recovery.log is attached.
 

Attachments

  • recovery1.txt
    2.2 KB · Views: 29
Last edited:

skrki

Senior Member
Sep 1, 2009
416
2
Canberra
SKRKI , Thanks for the prompt reply .
Tried your adb method.
I am geeting the following reply.

" adb server out of date .... killing"

You can do the same from inside the CyanogenMod. The point is to copy recovery.img to /data. Then when you reboot it will be automatically flashed.
So, for instance, if your recovery file is on your SD card, named Amon_pimpin_recovery1.5.1.img, do this:

1. Open terminal and type (pay attention to CAsE in Linux!):
Code:
cp /sdcard/Amon_pimpin_recovery1.5.1.img /data/recovery.img

2. Reboot your phone

P.S. There is that script (in the second method I wrote) called flash_image. I made a mistake there, I wrote flash_recovery, I just realized.. sorry bout that! But try that one, too.
P.S.S. Update your ADB! ;)
 
Last edited:

tera89

Senior Member
Nov 22, 2009
94
2
Kota Bharu
help

via a simple reboot -> Requires Cyanogen or my RA ROM (other ROMs will probably work too, check init.rc where to put the recovery.img)
Code:

Rename recovery-RA-sapphire-v1.5.1H.img to recovery.img
Copy recovery.img to /data
Reboot fully (the recovery will be flashed automatically)
Reboot to recovery


how can i find /data ??? sry newbie here ?? can i flash the recovery using flashrec.apk ?? even i already have a recovery ..

with newest recovery .. can it read nandroid backup previous recovery ?
 

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)