Go Back   xda-developers > HTC Dream: G1 > G1 Android Development


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2nd October 2009, 01:51 AM
Amon_RA's Avatar
Amon_RA Amon_RA is offline
Senior Member
 
Join Date: Jan 2009
Posts: 759
Default [Recovery] [13-Dec-2009] RA-dream-v1.5.2

This is a custom recovery based on Cyanogen's recovery source.
The purpose of this recovery is to avoid using the console by accessing all features directly from the menu.

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.

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).


Always check recovery.log before posting your issues!

Features
  • full ADB access in recovery mode
  • Busybox v1.15.2
  • 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+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 Dalvik-cache :: Wipe Dalvik-cache both on /data and ext
      • [Alt+2] Wipe SD:ext partition : Wipe the ext partition on your sdcard
      • [Alt+3] Wipe battery stats : Wipe the battery stats in /data
      • [Alt+4] 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 apps+dalv to SD :: Moves all apps and Dalvik-cache to sdcard (This will NOT enable apps2sd!)
      • [Alt+2] Move recovery.log to SD :: Moves the recovery log file to your sdcard. (Use when you want more detailed recovery log information)
  • 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).

via a simple reboot -> Requires Cyanogen's ROM (other ROMs will probably work too, check init.rc where to put the recovery.img)
Code:
Rename recovery-RA-dream-v1.5.2.img to recovery.img
Copy recovery.img to /data
Reboot fully (the recovery will be flashed automatically)
Reboot to recovery
via adb -> Requires a custom recovery (with test-keys) like Cyanogen's v1.4 or my previous recovery
Code:
Copy recovery-RA-dream-v1.5.2.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
$su (not required if you have root already)
#mount -a
#flash_image recovery /sdcard/recovery-RA-dream-v1.5.2.img
via console -> Requires root
Code:
Copy recovery-RA-dream-v1.5.2.img to the root of your sdcard
Boot into your current custom recovery (boot while holding HOME)
select console from the menu
$su (not required if you have root already)
#mount -a
#flash_image recovery /sdcard/recovery-RA-dream-v1.5.2.img
via terminal -> Requires root
Code:
Copy recovery-RA-dream-v1.5.2.img to the root of your sdcard
start the terminal app
$su (not required if you have root already)
#mount -a
#flash_image recovery /sdcard/recovery-RA-dream-v1.5.2.img
via fastboot -> Requires engineerings SPL!
Code:
Copy recovery-RA-dream-v1.5.2.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.5.2.img
Download

Download the R version if you have a Roger's Dream EBI1 phone!!.

ALWAYS check the md5sum to make sure the zip isn't corrupted.
Click on the Mirror-link if you don't like rapidshare

If you want to download these images directly from your mobile you need to install "Download Crutch Lite" from the market first

Latest :
Old stable versions :
Source :

Change-log :
v1.5.2
Code:
- Updated Nandroid to v2.2.2 (fix ext restore issues)
- Added a v1.5.2R version for the Roger's EBI1 Dream
v1.5.1
Code:
- Fixed Nandroid-ext restore issue where nandroid didn't restore the backup-ed ext partition.
v1.5.0
Code:
- Fixed the issue where Nandroid would freeze when returning to recovery from console by using the "recovery" command.
- Fixed Nandroid/BART backup issues.
- Updated Nandroid to v2.2.1 (ext support!).
- Added a "Nand + ext backup" menu-item.
- Removed the "Nandroid restore no recovery" menu-item, and set it as default for Nandroid.
- Nandroid and BART menu items will not backup or restore the recovery partition by default.
- Removed the mdt6 patch from the kernel, so no more splash1+2 backup/restore support.
- Updated init.rc to only load /sbin in PATH.
- Removed the loading cramfs and sqf filesystems from fstab.
- Added an unmount script that is called at the start of most scripts.
- Updated the BKMO-utility script to it doesn't backup/restore the recovery partition + changed the return to recovery command.
v1.4.0
Code:
- Changed the item select key to CALL ANSWER-key instead of HOME-key. The HOME-key was conflicting other operations.
- Added a "Nandroid restore no recovery" option which allows you to restore a nandroid-backup without recovery (handy when you don't want to overwrite your current recovery with an old nandroid backup recovery)
- Added "Other" sub-menu :
	- Moved "fix apk uid mismatches"-item from main menu to "Other" sub-menu.
	- Added "Move apps+dalv to SD"-item.
	- Added "Move recovery.log to SD"-item (Check this log if you want to see what is going wrong).
- Fixed the Nandroid restore menu; an error message is now displayed when no nandroid backup or device-id was found (instead of showing an empty menu).
- Removed flash submenu and "Apply sdcard:update.zip" item, because we already have "Apply sdcard:choose zip".
- Removed "Wipe cache partition" item, wipe cache is already included in the "Wipe data/factory reset" item.
- Changed UMS-toggle enable behaviour; you can not access the menu while UMS is enabled (avoid mount issues).
- Changed some menu-item labels to make the options more clear.
- Fixed UMS-toggle disable behaviour; files are now refreshed in the menu (sdcard is unmounted).
- Updated the busybox binary to 1.15.2 which has fixes for ash and hush (`trap` handling), dd (fixed handling of I/O errors), find (fix for -follow and symlinks), pidof (corrected recognition of kernel thread names), sed (SEGV), uniq (memory leak), line editing (Ctrl-D works again), build system. 
- The busybox binary was :
	- statically linked against uclibc (0.9.30)
	- configured to preferentially execute busybox applets
	- busybox --install -s installs links into /data/local/bin (JF patch)
	- mount looks for loop devices at /dev/block/loop (JF patch)
	- modprobe and family look for modules in /system/modules (JF patch)
	- fixed an issue with vi where it would save a file as just a blank file (JF patch)
- Compiled new kernel : RA-recovery-v1.0: 
	- increased CONFIG_MSM_CPU_FREQ_ONDEMAND_MIN to 384000
	- enabled "Support for large block devices and files" to fix ext4 issues
	- removed Multimedia device drivers as they are not needed in recovery mode
	- removed Network File Systems as I don't see the real need for that in recovery mode
	- applied mtd6 kernel patch from Cyanogen so splash1 and splash2 screens can be backed-up with nandroid.
	- added all modules to /lib/modules in ramdisk
- Updated sdparted script to v0.6
Special thanks to :
  • packetlss for all the hours of support, THANKS ^^
  • 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
  • Androidappcritics for the reboot idea in BART
  • rikupw for the ideas and toggle_ums script.
  • MLIGN for the idea to port my recovery to the Dream.
  • http://www.androidspin.com for hosting ^^
  • http://theunlockr.com for all the awesome video’s ^^
  • Cyanogen for his dedicated work! , buy him a beer!
  • JesusFreke for his awesome JFv1.43's recovery , donate
Attached Images
File Type: png 1.png (8.4 KB, 2210 views)
File Type: png 2.png (7.8 KB, 820 views)
File Type: png 3.png (8.2 KB, 728 views)
File Type: png 4.png (7.4 KB, 660 views)
File Type: png 5.png (8.8 KB, 671 views)
File Type: png 6.png (7.3 KB, 595 views)
File Type: png 7.png (6.7 KB, 666 views)

Last edited by Amon_RA; 14th December 2009 at 09:31 PM.. Reason: Updated to v1.5.2
Reply With Quote
Sponsored Links

  #2  
Old 2nd October 2009, 01:54 AM
aad4321 aad4321 is offline
Senior Member
 
Join Date: Mar 2007
Location: Wilmington!
Posts: 930
Default

Sweeeettt looks cool. I'll wait to hear what people say. Im not the best with fixing my phone if it screws up
__________________
Nexus One - Cyanogen Follower

HTC Dream - Cyanogen Follower

T-Mobile Wing
Reply With Quote

  #3  
Old 2nd October 2009, 01:54 AM
Jonno12345 Jonno12345 is offline
Senior Member
 
Join Date: Jul 2009
Posts: 117
Default

Looks awesome, flashing now
Reply With Quote

  #4  
Old 2nd October 2009, 01:59 AM
Apaca1ypse Apaca1ypse is offline
Member
 
Join Date: Jul 2009
Posts: 40
Talking

I gotta try this out!
Reply With Quote

  #5  
Old 2nd October 2009, 02:02 AM
dragon4000's Avatar
dragon4000 dragon4000 is offline
Senior Member
 
Join Date: Nov 2007
Location: Los Angeles
Posts: 122
Default

Great recovery image!! Comes in really handy when away from the pc!! Thx!!
__________________
T-Mobile G1 White
Rom: For now, idk.. always going with the flow
Recovery: Cyanogen's 1.4
SD: 4 gb class 4
SPL: Danger SPL
Partitions: 96mb linux-swap, 520mb Ext3
Reply With Quote

  #6  
Old 2nd October 2009, 02:10 AM
robpet2's Avatar
robpet2 robpet2 is offline
Senior Member
 
Join Date: Sep 2006
Location: Virginia
Posts: 1,929
Default

nice work.. gonna check this out in a few
__________________
Tmobile G1 - Cyanogen 4.2.5
100+apps 70mb free
8gb MicroSd Class 6 (FINALLY )
8gb MicroSd Class 4 *for dual boot
gtalk: kaysesoze
Follow Me on Twitter
Myspace page
MY Blog
G1 files
Donate
Change Build.prop
Reply With Quote

  #7  
Old 2nd October 2009, 02:12 AM
Jonno12345 Jonno12345 is offline
Senior Member
 
Join Date: Jul 2009
Posts: 117
Default

Flashed, no issues, so many options... Still has terminal... Awesome man, thank you so much...
Reply With Quote

  #8  
Old 2nd October 2009, 02:17 AM
amgupt01's Avatar
amgupt01 amgupt01 is offline
Senior Member
 
Join Date: Nov 2008
Posts: 297
Default

Nice. Any chance of a mirror at like mediafire or something? I can't use rapidshare...
Reply With Quote

  #9  
Old 2nd October 2009, 02:19 AM
gtrplr71's Avatar
gtrplr71 gtrplr71 is offline
Senior Member
 
Join Date: Jul 2009
Location: Austin Tx.
Posts: 469
Default

I typed "mount -a" and it says no such file or directory
__________________
N1=stock for now
G1=cyan 4.2.13
spl=danger
Reply With Quote

  #10  
Old 2nd October 2009, 02:20 AM
Jonno12345 Jonno12345 is offline
Senior Member
 
Join Date: Jul 2009
Posts: 117
Default

Quote:
Originally Posted by gtrplr71 View Post
I typed "mount -a" and it says no such file or directory
I'm sure that step isn't needed, to be honest. I flashed without, like a normal .img flash
Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:33 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.