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

Search This thread

AnothrNmbr

New member
Mar 9, 2008
1
0
would like to customize 1.7.0

I finally upgraded my google ion to cm6 (from stock doughnut 1.6) via amon ra 1.7.0. Thanks to everyone for all this excellent stuff. The problem I have is that the home key seems to be sticking (probably due to being dropped in the toilet) and so I am always forced to be booted into the boot loader. I'm only able to boot into normal cm6 if i connect with usb use 'adb shell reboot system'. My question is, is there any way I can hack the existing 1.7.0 img to add a menu option for 'reboot system' to force my phone to ignore/bypass the home key press its receiving at reboot time (and just boot into the phone normally)? Alternatively, how would I go about adding an option to the power/end key long press dialog that would 'reboot system' instead of a normal reboot. Any links or help you all can provide is greatly appreciated.

thanks,
ji
 

lux@

Senior Member
Dec 27, 2010
84
7
Hello everyone! :)

I have a HTC Magic 32b with original Froyo 2.2.1, rooted (with SuperOneClick) and BusyBox 1.18.4.



I have the ADB & Fastboot on my Windows 7 Ultimate 32bit and they found my HTC Magic (adb devices & fastboot devices)



I want to install the Recovery Mode (I think that the last is the 1.7.0G) but the guide in the first post don't work for me...

I downloaded the recovery-RA-sapphire-v1.7.0G.img and I put the .img in the "tools" folder of ADB (for me, the folder is adb not tools).
Then I reboot the devices on fastboot mode and with a CMD i write "fastboot flash recovery recovery-RA-sapphire-v1.7.0G.img" but this is the result:

sending 'recovery' (4520 KB)... FAILED (remote: not allow)



So I decide to try with Terminal Emulator... I put the recovery-RA-sapphire-v1.7.0G.img into root of sdcard and this is the result:

flash_image: not found



So I try with adb shell but nothing...



At the moment I have this recovery mode, but I think is the "original" of the phone...



How I have to do to install the Recovery Mode? I need your help! Thank you very much! :confused::)
 

BrandoHD

Senior Member
Aug 28, 2009
1,560
433
Arima
Hello everyone! :)

I have a HTC Magic 32b with original Froyo 2.2.1, rooted (with SuperOneClick) and BusyBox 1.18.4.



I have the ADB & Fastboot on my Windows 7 Ultimate 32bit and they found my HTC Magic (adb devices & fastboot devices)



I want to install the Recovery Mode (I think that the last is the 1.7.0G) but the guide in the first post don't work for me...

I downloaded the recovery-RA-sapphire-v1.7.0G.img and I put the .img in the "tools" folder of ADB (for me, the folder is adb not tools).
Then I reboot the devices on fastboot mode and with a CMD i write "fastboot flash recovery recovery-RA-sapphire-v1.7.0G.img" but this is the result:

sending 'recovery' (4520 KB)... FAILED (remote: not allow)



So I decide to try with Terminal Emulator... I put the recovery-RA-sapphire-v1.7.0G.img into root of sdcard and this is the result:

flash_image: not found



So I try with adb shell but nothing...



At the moment I have this recovery mode, but I think is the "original" of the phone...



How I have to do to install the Recovery Mode? I need your help! Thank you very much! :confused::)

There is a radio switcher tool on the forum

http://xdaforums.com/showthread.php?t=794450
 
  • Like
Reactions: lux@

MrRevhead

Member
Jan 22, 2010
22
1
Sydney
Hello everyone! :)

I have a HTC Magic 32b with original Froyo 2.2.1, rooted (with SuperOneClick) and BusyBox 1.18.4.

I have the ADB & Fastboot on my Windows 7 Ultimate 32bit and they found my HTC Magic (adb devices & fastboot devices)

I want to install the Recovery Mode (I think that the last is the 1.7.0G) but the guide in the first post don't work for me...

I downloaded the recovery-RA-sapphire-v1.7.0G.img and I put the .img in the "tools" folder of ADB (for me, the folder is adb not tools).
Then I reboot the devices on fastboot mode and with a CMD i write "fastboot flash recovery recovery-RA-sapphire-v1.7.0G.img" but this is the result:

sending 'recovery' (4520 KB)... FAILED (remote: not allow)

So I decide to try with Terminal Emulator... I put the recovery-RA-sapphire-v1.7.0G.img into root of sdcard and this is the result:

flash_image: not found

So I try with adb shell but nothing...

At the moment I have this recovery mode, but I think is the "original" of the phone...

How I have to do to install the Recovery Mode? I need your help! Thank you very much! :confused::)

I am having this EXACT problem!

I too would also appreciate any advice/assistance.
 

smashman42

Senior Member
Mar 5, 2010
171
27
Townsville
Help!

Hi peeps, hoping to get some help here.

I've been running COS-DS for a while & previously CM6.1.0 & CMnightlys on my 32B Magic (aka ION aka MT3G, original not 1.2/Fender) that has the .0013d SPL & .28.25 radio.

Seemingly at random my RA 1.7.0 recovery became corrupted, I'd used it earlier in the day no problems & hadn't tried to flash an alternative like Clockwork or anything else, it just spontaneously screwed up.

I boot to recovery either via shutdown --> Reboot to recovery or manually via turning off the phone & powering on holding down the home button. I get this at the bottom of the screen...

Build : RA-sapphire-v1.7.0G

But the menu that usually pops up a fraction after that never arrives.

First I tried the simple thing, installed Rom Manger from the market & flashed Clockwork, it too stops at the same point, Build : Clockwork xxxx but no menu - flashing RA1.7.0G back as the "alternative recovery" says it flashed successfully but still the same thing.

Then I manually flashed as per the first page instructions, there is no Fastboot Flash on this SPL & as I don't have a working recovery I can't do the ADB in recovery thing, so I did the terminal emulator within the OS method & get something like the following...

device.png


"mtd: read error at 0x000X0000 (Out of Memory)"

The number of read errors vary, is this the problem with flashing failing back in the CM5.0.7 days, that Gingerbread too simply runs out of memory to run it?

I've run "fastboot erase recovery" to start cleaner but it still fails to flash correctly. Any ideas how to get out of this mess?

In that is disappeared spontaneously, could there be a problem with the flash memory in the phone? How can I test it?

I'm hesitant to try unrooting with a NBH file in case the flash memory is borked & ending up with a total brick.

Suggestions?

Edit: Yes, the MD5 matches

Edit2: Brick pretty much. Unrooted & fastbooting a recovery comes up the same error as when flash_image eventually went through without errors...

"Build : RA-sapphire-v1.7.0G"

...so I think something is wrong with the nand, the OS bootloops with no ADB access & the HTC recovery is borked too. Initially used TMUS MT3G SAPPIMG with perfect SPL .0006, upgraded to a Vodafone SAPPIMG with HBoot 1.33.0009 S=ON & 3.22x radio, exact same symptoms but at least now I can fastboot boot, but it doesn't work with RA versions 1.7.0, 1.6.2 & 1.2.0 or CW2.5.0.7 (yes I'm using H recoveries now given the SAPPIMG I used, they boot to that "Build" line whereas the G one stays at Splash1, as you would expect with 3.22.x radio).
 
Last edited:

WiseJoeyD

Member
Dec 3, 2009
44
0
Belfast
I have a very interesting issue

  • 32b Sapphire
  • SPL 1.33.0013d
  • 2.22.28.25
  • Amon Ra 1.7.0g

Been backing up and going between Roms with ease thanks to the backup/restore functions :D

Recently been going back and forth between CyanM 6.1 {307 nightly} and GingerYoshi 1.2.1

Used Superwipe v2 between restores.

Then tried to make a backup just there and.... well... lots of "........."
It just never stops :rolleyes:

Have to do a battery pull :)eek:+:mad:)

The phone works perfectly, boots perfectly fine, recovery and android. It just now has this.. incontinent Backup problem :p

The backup folder varies wildly in size. Even when a set time passes and I battery-pull
 
Last edited:

WiseJoeyD

Member
Dec 3, 2009
44
0
Belfast
I've been running COS-DS for a while & previously CM6.1.0 & CMnightlys on my 32B Magic (aka ION aka MT3G, original not 1.2/Fender) that has the .0013d SPL & .28.25 radio.

Seemingly at random my RA 1.7.0 recovery became corrupted, I'd used it earlier in the day no problems ... it just spontaneously screwed up.

Well looks like mine did too for some reason. Nandroid is a no go.

Tried to reflash using every method. Geez, harder than updating the radio!

Tried the last option (flash from terminal in CM 6.1) Doh!

That needs to point out that anything from 5.0.7 upwards is impossible.

Now got no recovery... well, got a great setup of a CM6.1 rom.... guess my mod days are at an end?
 

WiseJoeyD

Member
Dec 3, 2009
44
0
Belfast
For science and the community! :D


For anyone with a bjorked recovery in the very precise and ridonculous way I did (with everything else still working)

  • Install Rom Manager from market
  • Download Amn Ra 1.7
  • Flash Clockwork Rom (any)
  • none of them worked, go figure anyway...
  • Reboot into Android
  • Now you can flash Alternative Recovery
  • It's the wrong one tho, doh! 1.7 H
  • Let it download and flash anyway
  • Take the 1.7 G from earlier, rename 1.7 H
  • Paste it over the 1.7 H on the sdcard in clockwork mod folder
  • Back in Rom Manager redo 'Flash Alternate Recovery'
  • Voila!
  • Zzzzz

:D

The nandroid backup problem from earlier is... still there! Weird no?

But hey, mostly working Recovery feels way better than none :p
 

WiseJoeyD

Member
Dec 3, 2009
44
0
Belfast
for future Googlians searching for similar 32b recovery problems!

Decided to give it all a go again, now that I have a 'safe' restore procedure.

Freed up as much RAM as possible
  • unlock launcher from memory
  • up VM heap to 32

Then flash, flash and flashed again. no rebooting, no leaving the application. Just kept selected "Ion/mytouch3g" and did that a bunch of times.

  • Power off
  • Fingers Crossed
  • Reboot to Recovery...
  • ClockworkMod!

Colour me surprised. Running a backup now.... and the results?

Well it hung on 'Backing up cache...'
:(

*Cleared cahce. Ran again. Successful backup.

Thanks to the verbose-ness of Clockwork mod I discovered something about cache was tripping up the backup process.

Not wanting to look a gift horse in the mouth but for completeness sake...
  • Gonna put on AmonRa 1.7g
  • do nandroid - see if it's a success
:rolleyes:

update; it was.
Such a simple fix, and a convoluted journey

Moral of the story:
Clear caches people! :D
 
Last edited:

romis138

Member
Aug 16, 2010
43
7
Terminal method (rooted on CM6): even after giving super user permissions to my terminal, I get "error writing recovery".

Within clockworkmod: I can connect to the phone, but when flashing I get "error writing recovery: No space left on device" (edit: now my recovery is broken. )

Also, I can't get "Flash alternate Recovery" to be selectable in ROM Manager, my recovery .img is in the clockworkmod folder of my sd, but it still doesn't let me flash. Currently have installed according to ROM manager, a broken CM 2.5.0.7..

Also, I have s-off but for some reason the command
fastboot flash_image recovery recovery-RA-sapphire-v1.7.0G.img
returns error: cannot load "recovery-RA-sapphire-v1.7.0G.img"

am I missing syntax for having the img in the root of the sdcard? I've tried the same command with /sd and /sdcard prefixing the file name, but it still returns that error.

halp? 32b with ESPRESSO PVT SHIP S-OFF, 7.15.35.16 radio. stuck in CM6 with a radio that doesn't work and need to get up to date.
 
Last edited:

romis138

Member
Aug 16, 2010
43
7
I can't get into recovery at all now. Only the S-OFF white screen boot mode, but I don't know where to put img bins on my memorycard in order to be able to flash them in that mode (all other recovery flash attempts from within currently flashed CM ROM do not work when rebooted into recovery). Am I bricked?
 

GreenGuava

Member
Apr 21, 2008
22
0
Also, I can't get "Flash alternate Recovery" to be selectable in ROM Manager, my recovery .img is in the clockworkmod folder of my sd, but it still doesn't let me flash. Currently have installed according to ROM manager, a broken CM 2.5.0.7.

I'm pretty sure the Amon RA recovery .img should be in the root of your SD card, not inside any folders.

Move the .img to your SD root and see if that enables the "Flash alternate recovery" option in ROM Manager.
 

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)