Make Your Network Smart – XDA Xposed Tuesday

We rave about the features and abilities of our smartphones. However, in order for … more

Dr.Ketan Brings The S6 Theme Store To The Note 4

Dr.Ketan has submitted a video to the forums showing a functional port of the Galaxy S6 … more

Do You Have Insurance on Your Smartphone?

While affordable smartphones are becoming more available, the majority of high-end flagships … more

Apple Music Will Increase iTunes Match to 100,000 Songs

The battle for music streaming subscription dominance is starting to really heat … more

[Recovery] [07-Jan-2011] RA-passion-v2.2.1

1,278 posts
Thanks Meter: 398
By Amon_RA, Retired Senior Recognized Developer on 5th January 2010, 12:00 PM
Post Reply Subscribe to Thread Email Thread
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.

This recovery is for the HTC Nexus One only, if you have a :
- HTC Dream/G1 you should go here.
- 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.

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.


Use the trackball (up+down) to navigate through the menu, press the trackball to select items. Use the Volume-down key to go back to a previous menu.

  • full ADB access in recovery mode
  • Alternative CM and JF version
  • Busybox v1.15.3
  • Kernel ( with ext3 + ext4 support
  • SLCD and AMOLED support
  • HW-Key navigation (Trackball + Volume-key) option
  • Extended menu :
    • 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
      • Nand backup :: Make a selective Nandroid backup
      • Nand restore :: Restore a Nandroid backup
      • Backup Google proprietary system files :: Makes a backup of the Google proprietary system files in /cache/google
      • Restore Google proprietary system files :: Restores the Google proprietary system files from /cache/google
    • Flash zip from sdcard.
      • Choose zip from sdcard :: Flash a zip update file from any (sub)-directory on your sdcard
      • Toggle signature verification :: Toggles the signature verification for zip files.
    • Wipe
      • Wipe ALL data/factory reset :: wipes /data + /cache + entire ext partition + all apps installed on your sdcard (froyo a2sd).
      • Wipe /data :: wipes /data.
      • Wipe /cache :: wipes /cache.
      • Wipe /sdcard/.android_secure :: wipes all apps installed on your sdcard (froyo a2sd).
      • Wipe /sd-ext :: wipes the entire ext partition on your sd (if present).
      • Wipe Dalvik-cache :: wipes the dalvik-cache located in /cache + /data + /sd-ext is present.
      • Wipe battery stats :: reset the battery calibration.
      • Wipe rotate settings :: reset the sensor calibration.
    • 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
    • Mounts
      • (Un)Mount /system
      • (Un)Mount /cache
      • (Un)Mount /data
      • (Un)Mount /sd-ext
      • (Un)Mount /sdcard
    • 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 :


Pre-Requirements :
  • Root
  • Make sure that init.rc isn't calling any script, otherwise you'll boot back to stock recovery (exclamation mark with a little Android). More info on this here.

via Rom Manager
  1. Download "Rom Manager" from the Android market
  2. Start "Rom Manager"
  3. Select "Flash ClockworkMod Recovery" and wait for it to finish
  4. Select "Flash Alternate Recovery" and wait for it to finish -> this will install the latest version of RA recovery.

via fastboot
Copy recovery-RA-passion-v2.2.1.img to a location where fastboot can find it.
Boot your phone into fastboot mode (power on while holding the trackball)
Connect your phone via usb to your pc/mac/...
fastboot devices (to make sure that fastboot "sees" your phone)
fastboot flash recovery recovery-RA-passion-v2.2.1.img
via terminal app
Copy recovery-RA-passion-v2.2.1.img to the root of your sdcard
start the terminal app
su(press enter)
flash_image recovery /sdcard/recovery-RA-passion-v2.2.1.img(press enter)
reboot recovery(press enter)
How to boot in Recovery Mode
  1. Boot the phone while holding down the VOLUMEDOWN-key.
  2. Navigate to RECOVERY with the the VOLUMEDOWN-key.
  3. Press the POWER-key to select.


ALWAYS check the md5sum to make sure the zip isn't corrupted.

Latest version :
Previous versions :
Change-log :

  • Nandroid backup is now selective, boot/system/cache/data are selected by default.
  • Nandroid checks if there's at least 500MB free on SDcard before starting a backup.
  • Added/updated error/warning messages.

  • Fixed ext4 support in kernel! Update from v2.x if you are using sd-ext!

  • Reduced recovery size by 800kb so it fits any hboot version to date :
    • Set Kernel compression mode to LZMA (33% smaller kernel)
    • Switched kernel debugging off
    • Removed : Networking support - Bluetooth subsystem support
    • Removed : Device Drivers - Misc device - AKM8973 Compass Driver
    • Removed : Device Drivers - Misc device - A1026 Voice Processor Driver
    • Removed : Device Drivers - Multimedia support
    • Removed : Device Drivers - MSM 3D Graphics driver for Adreno class GPU's
  • Nandroid now backups the entire content of /sd-ext , not just the apps. This fixes bootloops of certain restored roms.
  • Moved the "Toggle signature verification"-option from the Other- to the main flash-submenu.
  • Re-ordered the wipe menu.

Some things in v2.0.0 were kanged with a twist from the Clockworkmod recovery.
  • Updated kernel to 2.6.35 (SLCD and AMOLED are now both supported).
  • Added SDEXT support for update scripts.
  • Added "filebrowser" support when you select a zip to flash.
  • Added "/.." support to the filebrowser so you can navigate up.
  • Added a mount menu so you can manually (u)mount stuff.
  • Added a toggle verification switch so you can flash those awesome unsigned winrar rom releases...
  • Fully re-wrote the wipe menu (it's not using a script anymore), added a few new wipe options.
  • Added "/sdcard/.android_secure" support , nandroid now backups/restores .android_secure (Froyo a2sd apps) by default.
  • Added a few new Google apps to the Google app backup script.

Special thanks to :
  • packetlss for all the hours of support and awesome coding skills, THANKS man ^^, donate to Haiti
  • Koushik Dutta for all his recovery work ^^
  • Cyanogen for his dedicated work! , buy him a beer!
  • Chris Soyars for the new Apps2SD method ^^
  • JesusFreke for his awesome JFv1.43's recovery , donate
  • 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
  • rikupw for the ideas and toggle_ums script.
  • for hosting ^^
Attached Thumbnails
Click image for larger version

Name:	scr1.jpg
Views:	9485
Size:	15.0 KB
ID:	483076   Click image for larger version

Name:	scr2.jpg
Views:	7864
Size:	18.1 KB
ID:	483077   Click image for larger version

Name:	scr3.jpg
Views:	7989
Size:	43.8 KB
ID:	483078  
Last edited by Amon_RA; 10th January 2011 at 09:06 PM. Reason: updated to v2.2.1
The Following 9 Users Say Thank You to Amon_RA For This Useful Post: [ View ]
5th January 2010, 01:59 PM |#2  
Amon_RA's Avatar
OP Retired Senior Recognized Developer
Thanks Meter: 398
Talking [Recovery] [27-Dec-2010] RA-nexus-v2.1.1
Reserved for future use
Last edited by wacky.banana; 3rd January 2011 at 02:10 AM. Reason: update to v2.1.1
The Following 6 Users Say Thank You to Amon_RA For This Useful Post: [ View ]
5th January 2010, 02:11 PM |#3  
Senior Member
Thanks Meter: 32
Wow, great! hopefully the nexus one will get more love from the devs than the hero :)

please make this sticky @ mods
5th January 2010, 02:44 PM |#4  
11ryan11's Avatar
Thanks Meter: 0
Originally Posted by qvert

Wow, great! hopefully the nexus one will get more love from the devs than the hero :)

Who doesn't want a 1Ghz processor to play with?
5th January 2010, 02:51 PM |#5  
melterx12's Avatar
Senior Member
Flag New York City
Thanks Meter: 15
Donate to Me
how is this possible if the nexus one didnt even come out yet?? lol
5th January 2010, 02:58 PM |#6  
icon57's Avatar
Senior Member
Flag florida
Thanks Meter: 6
damn you are fast amon...i hope to have the phone asap
5th January 2010, 03:23 PM |#7  
seraph1024's Avatar
Senior Member
Flag Northbrook, Illinois, USA, Earth, Solar System... you get the picture
Thanks Meter: 86
Donate to Me
Amon_RA: I love this dude in a manly way. This guy is quick!
5th January 2010, 04:53 PM |#8  
droiddv's Avatar
Senior Member
Thanks Meter: 9
Keep up the good work amon, looking forward to flashing this asap.
5th January 2010, 05:11 PM |#9  
Senior Member
Flag new york city
Thanks Meter: 8
i'm so psyched that the devs are jumping on the N1 so quick. I foresee lots of good dev work ahead for this apparently awesome phone. can't wait to see what comes of it.
5th January 2010, 10:06 PM |#10  
theslam08's Avatar
Senior Member
Flag East Coast
Thanks Meter: 223
Originally Posted by j.books

i'm so psyched that the devs are jumping on the N1 so quick. I foresee lots of good dev work ahead for this apparently awesome phone. can't wait to see what comes of it.

Exactly, already rooted AND now a niice recovery . Nice work man, cant wait for the phone to come in !!!

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes