Howto: Using the Recovery
| This page is missing information or contains sparse details and needs to be expanded. Please improve this page if you can. The talk page may contain suggestions. Once this page has been expanded up, please remove this notice. |
Recovery Mode (recovery.img) is a special piece of software that gives you access to administrative functions, such as installing the base system (ROM), making backups, and performing a 'factory reset'. There are several different versions of recovery.img, each with it's strengths and weaknesses. For more on how to install a custom recovery.img, please see the device specific page.
Contents |
Booting into the Recovery
| This section is missing information or contains sparse details and needs to be expanded. Please improve this section if you can. The talk page may contain suggestions. Once this section has been expanded, please remove this notice. |
There are several options to boot into a custom recovery image.
If the Android SDK is installed on the computer, you can use the command:
adb reboot recovery
From the terminal on the device, you can use the command:
reboot recovery
Or, you can use the following button combinations while powering up the device:
| Device | How to Boot into the Recovery? | |
|---|---|---|
| Advent Vega | ||
| Barnes & Noble Nook Color | Hold Power & "n button" down until the device turns on and off again. Then press Power to turn the device on normally and access the recovery. | |
| Commtiva Z71 | Hold Camera, Volume Up and Power together to boot into the recovery menu. | |
| Geeksphone One | Hold Volume up, the Camera & the Power buttons until the device boots to the recovery. | |
| Geeksphone One | ||
| HTC Ace | Hold Volume Down & the Power buttons until the device boots to the recovery. | |
| HTC Aria | Hold the Volume down & the Power buttons until the device boots into recovery. Once in the bootloader wait a few seconds for checks to complete and then select recovery. | |
| HTC Desire (CDMA) | ||
| HTC Desire (GSM) | Hold Volume Down and the Power button, then use Volume Down to highlight "bootloader" and press the Power button to select it. Once in the bootloader, use Volume Down to select "recovery" and press the Power button to select. | |
| HTC Dream | Hold the Home & the Power buttons until the device boots to the recovery. | |
| HTC Evo 4G | Hold Volume Down & the Power buttons until the device boots to recovery, or hboot. If the latter, wait until the menu appears, then press Volume Down to highlight RECOVERY then Power to select and then boot into recovery. | |
| HTC Evo Shift 4G | Hold Volume Down & the Power buttons until the device boots to recovery, or hboot. If the latter, wait until the menu appears, then press Volume Down to highlight RECOVERY then Power to select and then boot into recovery. | |
| HTC Glacier | Hold Volume Down & the Power buttons until the device boots to the recovery. | |
| HTC Hero (CDMA) | Hold the Home & the Power buttons until the device boots to the recovery. | |
| HTC Hero (GSM) | Hold the Home & the Power buttons until the device boots to the recovery. | |
| HTC Incredible | Hold Volume Down & the Power button until the device boots to the bootloader. Once in the bootloader, use Volume Down to select "recovery" and press the Power button to select. | |
| HTC Legend | Press down on the Trackball, hold Volume Down & the Power button until the device boots to the bootloader. Once in the bootloader, use Volume Down to select "recovery" and press the Power button to select. | |
| HTC Magic | Hold the Home & the Power buttons until the device boots to the recovery. | |
| HTC Slide | Hold Volume Down & the Power button until the device boots to the bootloader. Once in the bootloader, use Volume Down to select "recovery" and press the Power button to select. | |
| HTC Tattoo | Hold the Home & the Power buttons until the device boots to the recovery. | |
| HTC Vision | Press down on the Trackball, hold Volume Down & the Power button until the device boots to the bootloader. Once in the bootloader, use Volume Down to select "recovery" and press the Power button to select. | |
| HTC Wildfire | Hold Volume Down & the Power button until the device boots to the bootloader. Once in the bootloader, use Volume Down to select "recovery" and press the Power button to select. | |
| LG Optimus 2X | Hold Volume Down & the Power button until the device boots to the recovery. | |
| Motorola Cliq XT | Hold Camera & the Power button until the device indicates to stop. Then press the Volume Down button to boot to the recovery. | |
| Motorola Droid | Hold the X key on the keyboard & the Power button until the device boots to the recovery. | |
| Nexus One | Press down on the Trackball & hold the Power button until the device boots to the bootloader. Once in the bootloader, press the Power button once, use Volume Down to select "recovery" and press the Power button to select. | |
| Nexus S | Hold Volume Up & the Power button until the device boots to the recovery. | |
| Samsung Captivate | Hold Volume Up, Volume Down, & the Power button, continue to hold all three until the screen flashes, then release all buttons. | |
| Samsung Fascinate | Hold Volume Up, Volume Down, & the Power button, continue to hold all three until the screen flashes, then release all buttons. | |
| Samsung Galaxy S | Hold Volume Up, Home, & the Power button, continue to hold all three until the screen flashes, then release all buttons. | |
| Samsung Galaxy S II | Hold Volume Up, Home, & the Power button, continue to hold all three until the screen flashes, then release all buttons. | |
| Samsung Galaxy S II (AT&T) | Hold Volume Up, Volume Down, & the Power button, continue to hold all three until the screen flashes, then release all buttons. | |
| Samsung Mesmerize | Hold Volume Up, Volume Down, & the Power button, continue to hold all three until the screen flashes, then release all buttons. | |
| Samsung Showcase | Hold Volume Up, Volume Down, & the Power button, continue to hold all three until the screen flashes, then release all buttons. | |
| Samsung Vibrant | Hold Volume Up, Volume Down, & the Power button, continue to hold all three until the screen flashes, then release all buttons. | |
| ZTE Blade | Press Volume Down and Power. | |
| ZTE V9 | Press Volume Down and Power. |
NANDroid backups
A utility, accessible through Recovery Mode, that allows you to backup the device and restore to the exact condition at backup.
Making a backup
- Boot into Recovery Mode
- Select Backup/Restore (may vary depending on recovery.img)
- Select Nand Backup (may vary depending on recovery.img)
- Follow on screen directions to complete
- Wait for it to complete.
Congratulations, you now have a Nandroid backup!
Restoring a backup
- Boot into Recovery Mode
- Select Backup/Restore (may vary depending on recovery.img)
- Select Nand Restore (may vary depending on recovery.img)
- Select your 'Device-ID' from the list (You will most likely only have one device listed)
- Select the backup you want to restore (Latest should be last on list)
- Follow on screen directions to complete
- Wait for it to complete.
Congratulations, you now have restored to a previous Nandroid backup!
Manually restoring an *.img in fastboot
- Copy Nandroid folder off SD card onto computer
- cd to Nandroid folder
- Boot into fastboot
fastboot flash [partition] [partition.img]
Custom Recovery Images
The two most popular custom recovery images are Amon_Ra's Recovery and ClockworkMod Recovery. The features of each are detailed below:
Amon_Ra's Recovery
- Reboot system now :: Self explanatory. Reboots device
- USB-MS toggle :: USB Mass Storage. Mounts the SD card
- Backup/Restore (See NANDroid backups for more information)
- Nand backup :: Creates a backup of /system, /data, /boot, /cache, and /sdcard/.android_secure (on SD card)
- Nand + ext backup :: Creates a Nand backup plus /sd-ext (apps2SD) (on SD card)
- Nand restore :: Restores a backup (from SD card)
- Backup Google proprietary system files :: Creates a backup of gapps
- Restore Google proprietary system files :: Restores a backup of gapps
- Flash zip from sdcard :: Flash (install) a properly formated .zip file
- Wipe
- Wipe ALL userdata :: wipes /data, /cache, /sd-ext, and /sdcard/ .android_secure
- Wipe only /data :: wipes /data (user data)
- Wipe only /sd-ext :: wipes /sd-ext (traditionally Apps2SD)
- Wipe only /sdcard/ .android_secure :: wipes /sdcard/ .android_secure (froyo Apps2SD)
- Wipe only /cache :: wipes /cache (sometimes used as temp storage for updates, etc)
- Wipe only Dalvik-cache :: wipes /data/dalvik-cache
- Wipe only battery stats :: wipes battery usages stats
- Wipe only rotate settings :: wipes rotation (accelerometer) data
- Partition sdcard
- Partition SD :: Starts a wizard to partition the SD card
- Repair SD:ext :: attempts to repair the /sd-ext partition
- SD:ext2 to ext3 :: converts /sd-ext from ext2 to ext3
- SD:ext3 to ext4 :: converts /sd-ext from ext3 to ext4
- Mounts
- Mount/Unmount /system :: Mounts or Unmounts the /system partition
- Mount/Unmount /cache :: Mounts or Unmounts the /cache partition
- Mount/Unmount /data :: Mounts or Unmounts the /data partition
- Mount/Unmount /sd-ext :: Mounts or Unmounts the /sd-ext partition
- Mount/Unmount /sdcard :: Mounts or Unmounts the SD card
- Other
- Fix apk uid mismatches :: Attempts to fix the apks permissions
- Move recovery.log to SD :: moves recovery.log to the SD card
- Toggle Signature Verify :: Turns Signature Verification on/off, allowing you to flash unsigned .zip files
- Power off :: Self explanatory
ClockworkMod Recovery
| This section is missing information or contains sparse details and needs to be expanded. Please improve this section if you can. The talk page may contain suggestions. Once this section has been expanded, please remove this notice. |
- reboot system now
- apply update from sdcard :: Installs the update.zip located in the root of your SD card
- wipe data/factory reset :: Obvious - clears everything (except your SD card, hopefully)
- wipe cache partition :: erases and formats /cache
- install zip from sdcard
- apply /sdcard/update.zip :: Installs the update.zip located in the root of your SD card
- choose zip from sdcard :: Lets you browse for and pick the update or installation zip file
- toggle signature verification :: Turns zip package signature requirement on/off
- toggle script asserts
- backup and restore
- backup :: Performs a full backup (boot, system, data, cache)
- 'restore :: Restores the most recent full backup
- advanced restore :: Allows you to select a backup, as well as select what part of the backup to restore (boot, system, data, cache, sd-ext)
- mounts and storage
- unmount /cache
- mount /data
- unmount /sdcard
- mount /system
- mount /sd-ext
- format /cache
- format /data
- format /sdcard
- format /system
- format /sd-ext
- mount USB storage
- advanced
- Reboot Recovery
- Wipe Dalvik Cache
- Wipe Battery Stats
- Report Error :: Creates recovery.log in /sdcard/clockworkmod/ so you can use it to sumbit error reports using ROM Manager
- Key Test :: Allows you to test your hardware keys on the device
- Partition SD Card :: Allows you to create an ext partition on your SD card from 128M to 4096M
- Fix Permissions :: Resets system permissions back to their default values
- power off