[Recovery] [15-May-2010] RA-dream-v1.7.0 (also for the Rogers Dream)

Search This thread

Firerat

Senior Member
Feb 24, 2009
3,848
185
hi i am a noob i flash it but it gives the following prompt
Microsoft Windows XP [Version 5.1.2600]

List of devices attached
HT849GZ05795 recovery


C:\android-sdk-windows\tools>adb shell
/ # flash_image recovery/sdcard/recovery-RA-dream-v1.7.0.img
flash_image recovery/sdcard/recovery-RA-dream-v1.7.0.img
usage: flash_image [-d] partition file.img
options:
-d delete the image file after a successful flash
/ #

help

flash_image<space>recovery<space>/sdcard/recovery-RA-dream-v1.7.0.img
 
  • Like
Reactions: mahroze

Firerat

Senior Member
Feb 24, 2009
3,848
185
i did it but it says to delete the image after a successful flash

no it doesn't

because you failed to pass the correct number of options (it requires 2 or 3 , you only gave 1 )
it presented you with the correct syntax

flash_image [-d] <partition> <image file>
-d is optional , it deletes the .img when it is done.
 

HyeProfile

Senior Member
Dec 11, 2007
61
3
Montreal
www.hyeprofile.com
I heard Amon_RA was updating some of his recoveries on newer phones to add better wipe options (he had posted a pic on Twitter with new wipe options, if I'm not mistaken)... I bugged him about it on Twitter and he said he'd look at updating the D/S recovery and adding similar wipe option, if he had time... Maybe some of you can give him a ring on Twitter, and remind him :rolleyes:

Edit: his Twitter name is "Amon_RA"
 

drjat

Senior Member
Dec 12, 2007
601
144
Warrington
OnePlus 7T
help plz

i have tmobile g1 UK. It is sim unlocked. I have rooted it.I then flashed this recovery. I am able to get to recovery. BUT when i try to do 'flash zip from sdcard' i get :
E:Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0)
(Invalid argument)
E:Can't mount SDCARD:

i have 8gb card which i had formatted to FAT32 and it has update.zip (the latest g1 spl)
 

AndDiSa

Senior Member
Dec 2, 2009
3,680
4,995
Heidelberg
HTC Desire
Try to go to the console, then type
Code:
df -h

Code:
mount

You can also try to mount /sdcard manually:
Code:
mount /sdcard

Can you please post the results afterwards?
 
Last edited:

drjat

Senior Member
Dec 12, 2007
601
144
Warrington
OnePlus 7T
What is going on

I finally managed to get my sd card working. (See above few posts)
I partitioned my sdcard then applied update of radio.zip but now i am in recovery and it has been saying 'Formatting CACHE' for quiet some time now.
I rebooted and went into bootloader....the radio was updated. Then i went into recovery and flashed hspl.zip it is again saying 'Formatting CACHE'. I rebooted and entered bootloader..........the hspl was installed. I then did similar with danger spl.........still says 'formatting cache'........I rebooted.......the danger spl was installed. i have flashed rom as well.........seems to be going ok so far.
Why was this problem hapenning? Would it have any 'long term' effects (like rom being unstable etc)?
 
Last edited:

johnson8cyl

Senior Member
Feb 28, 2010
1,839
350
Fort Worth
I finally managed to get my sd card working. (See above few posts)
I partitioned my sdcard then applied update of radio.zip but now i am in recovery and it has been saying 'Formatting CACHE' for quiet some time now.
I rebooted and went into bootloader....the radio was updated. Then i went into recovery and flashed hspl.zip it is again saying 'Formatting CACHE'. I rebooted and entered bootloader..........the hspl was installed. I then did similar with danger spl.........still says 'formatting cache'........I rebooted.......the danger spl was installed. i have flashed rom as well.........seems to be going ok so far.
Why was this problem hapenning? Would it have any 'long term' effects (like rom being unstable etc)?

No. It just does that. You just give it a min and do exactly what you did. You're all set
 
I finally managed to get my sd card working. (See above few posts)
I partitioned my sdcard then applied update of radio.zip but now i am in recovery and it has been saying 'Formatting CACHE' for quiet some time now.
I rebooted and went into bootloader....the radio was updated. Then i went into recovery and flashed hspl.zip it is again saying 'Formatting CACHE'. I rebooted and entered bootloader..........the hspl was installed. I then did similar with danger spl.........still says 'formatting cache'........I rebooted.......the danger spl was installed. i have flashed rom as well.........seems to be going ok so far.
Why was this problem hapenning? Would it have any 'long term' effects (like rom being unstable etc)?

I seem to recall an older version of a recovery... was it 1.4? 1.1? ...that would output what it was doing but never tell you success or fail. So, the last thing it was doing was a cache format, but since it never told you "success", you never knew it was done.

I also seem to recall a version where this behavior would still not show a success/fail message but WOULD show the menu with options. I remember staring at my G1 for five minutes sometimes, impatient as anything, wondering what was taking so long, until I realized I saw the menu and I would hit the trackball and then feel like an idiot for not realizing it sooner... :rolleyes:
 

MeZmeriZe_

Senior Member
May 31, 2010
184
5
Perth
htmlfixit.com
Hi Folks,

I've accidently blown away my ability to flash up to 1.2 (currently on 1.0 RC6) and it's all because I installed rom manager and used it to partition my SDCARD

In install clockwork mod and now my ability to use the recovery menu is gone... nothing happens, the phone just boots like normal.

Now I have fastboot and it works, but what I can't find, is a recovery image that is compatible with the radio version of ginger-yoshi.. I tried amon_RA but kept getting a checksum error when using fastboot.
sending 'recovery' (2642 KB)... OKAY
writing 'recovery'... INFOsignature checking...
FAILED (remote: signature verify fail)

Is there an easy way to get the xrecovery menu back or must I do it this way.. and if I need a recovery image to use fastboot, does anyone know of one that is compatible with ginger-yoshi? Sorry for appearing so dense, I'm used to using an X10 with CM7 and the backend is somewhat different (locked bootloader)


Saphire PVT 32B Ship S-ON G
HBOOT 1.33.0013d (SAPP10000)
RADIO-2.22.27.08

Basically, I have a working ginger-yoshi 1.0 RC6 except that it is missing a working recovery.. and I'd like to upgrade to 1.2 and make use if the new ext4 and swap partitions... what's the simplest way of getting there?
Many thanks

Frank
 
Last edited:

johnson8cyl

Senior Member
Feb 28, 2010
1,839
350
Fort Worth
Use the terminal method on your phone for the recovery then reboot to recovery and check. U don't have ability to fastboot flash with that spl

Sent from my HTC Magic using XDA App
 

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    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 Dream/G1 only, if you have an :
    - HTC Magic/MT3G 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
    • 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):
      • [HOME+Back] Reboot system now :: reboot your phone
      • [Alt+X] Go to console :: bring up the console
      • [Alt+T] USB-MS Toggle :: enable/disable USB mass storage (use when the phone is connected to your PC)
      • [Alt+B] Backup/Restore (recovery partition not included!)
        • [Alt+0] Nand backup :: Make a Nand backup
        • [Alt+1] Nand + ext backup :: Make a Nand + ext backup
        • [Alt+2] Nand restore :: Restore a Nand backup
        • [Alt+3] BART backup :: Make a BART backup (Nand + ext)
        • [Alt+4] BART restore :: Restore latest BART backup
        • [Alt+5] Bck Google files :: Makes a backup of the Google proprietary system files in /cache/google
        • [Alt+6] Rst Google files :: Restores the Google proprietary system files from /cache/google
      • [Alt+F] Flash zip from sdcard :: Flash a zip update file from your sdcard
      • [Alt+W] Wipe
        • [Alt+0] Wipe data/factory reset :: Wipe /data and /cache
        • [Alt+1] Wipe cache :: Wipe /cache only
        • [Alt+2] Wipe Dalvik-cache :: Wipe /cache/dalvik-cache
        • [Alt+2] Wipe SD:ext partition : Wipe the ext partition on your sdcard
        • [Alt+4] Wipe battery stats : Wipe the battery stats in /data
        • [Alt+5] Wipe rotate settings : Wipe the sensor settings in /data
      • [Alt+P] Partition sdcard
        • [Alt+0] Partition SD :: Interactive SD partitioning
        • [Alt+1] Repair SD:ext :: Repair the ext partition
        • [Alt+2] SD:ext2 to ext3 :: Convert ext2 to ext3
        • [Alt+3] SD:ext3 to ext4 :: Convert ext3 to ext4
      • [Alt+O] Other
        • [Alt+0] Fix apk uid mismatches :: Does extacly that
        • [Alt+1] Move recovery.log to SD :: Moves the recovery log file to your sdcard. (Use when you want more detailed recovery log information)
      • [ALT+Q]Power off :: Powers off your phone
    • Scripts available from console :

    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.

    via fastboot :
    • Requires engineerings SPL!
    Code:
    Copy recovery-RA-dream-v1.7.0.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-dream-v1.7.0.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-dream-v1.7.0.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-dream-v1.7.0.img

    via console :
    • Requires root
    • 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-dream-v1.7.0.img to the root of your sdcard
    Boot into your current custom recovery (boot while holding HOME)
    select console from the menu
    #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-dream-v1.7.0.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-dream-v1.7.0.img to the root of your sdcard
    start the terminal app
    #flash_image recovery /sdcard/recovery-RA-dream-v1.7.0.img

    Download

    ALWAYS check the md5sum to make sure the zip isn't corrupted.
    Download the R version if you have a Rogers Dream EBI1 phone!

    v1.7.0

    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
    1
    Exactly what stats are wiped by wipe battery stats? Is it the status of what is using the battery? Does this undo or re-do "battery conditioning" (full drain, then full recharge as is often suggested by various people/sources)?

    (searched the forum and this thread and didn't find any real answers)

    It removes /data/system/batterystats.bin After that you should leave it charging until it reaches 100%.
    1
    OK so looking to upgrade from CM 4.2.0.15 to the newest and greatest (6.x) and I apparently need Danger SPL, which needs Amon Ra's recovery.

    The problem I'm having with running the recovery .img is it just sits in the console and doesn't do squat. I tried changing the file name to a non-existent one and it gives me a file not found error, so the file is indeed there but it's just not flashing.

    I have tried the recovery screen, as well as the terminal app. I type su - and hit allow/remember when asked for the permissions prompt screen (I'm assuming this is "rooting").

    When I type the flash_recovery recovery /sdcard/recovery-RA-dream-v1.7.0.img and hit enter, nothing happens. Tried a different console app, same thing.

    Please advise.

    Or can I just go ahead and install Danger SPL with the stock CM4.2.0.15 recovery?

    Thanks!

    try doing

    Code:
    su
    erase_image recovery

    first

    but, tbh it probably worked the first time, its just a little shy and keeps quiet
    1
    hi i am a noob i flash it but it gives the following prompt
    Microsoft Windows XP [Version 5.1.2600]

    List of devices attached
    HT849GZ05795 recovery


    C:\android-sdk-windows\tools>adb shell
    / # flash_image recovery/sdcard/recovery-RA-dream-v1.7.0.img
    flash_image recovery/sdcard/recovery-RA-dream-v1.7.0.img
    usage: flash_image [-d] partition file.img
    options:
    -d delete the image file after a successful flash
    / #

    help

    flash_image<space>recovery<space>/sdcard/recovery-RA-dream-v1.7.0.img