Android A to Z - Recovery

What is recovery?  In Android, recovery refers to the dedicated, bootable partition that has the recovery console installed.  A combination of key presses (or instructions from a command line) will boot your phone to recovery, where you can find tools to help repair (recover) your installation as well as install official OS updates.  Because Android is open and has the recovery source code available, building a customized version with more and different options is relatively easy as well.  Let's look at both options.

The stock recovery is pretty limited, but that's by design.  Its main purpose is to delete all user data and files, or to perform system updates.  Normally, both these operations are started from the running Android system, or you can do things manually and boot right into recovery yourself.  When you tell your phone to do a factory reset, recovery is what boots up and erases the files and data.  Likewise with updates -- when we restart to install an official OS update, it's done in recovery.  Recovery is also where we go to manually install official OS updates we've downloaded from the Internet.  It's very useful, but limited.

Custom Android recoveries offer much more.  They have been coded to allow for backup and restore functions, selective deletion of data so you don't have to wipe everything, and modified to allow update packages that have not been digitally signed by official sources.  You also can mount various partitions so that you can copy files to the SD card without having to remove it or reboot into Android. Anytime you see someone mentioning Clockwork or Amon Ra, they're talking about custom recoveries.  Because of the extra functionality built in, they are a pretty important tool for folks who want to hack their Android phone or tablet.  Recoveries aren't as pretty as a custom ROM and don't get the same love from users and bloggers that custom builds of Android do, but in the end they're even more important. Without them none of this custom ROM stuff would be possible.  

Previously on Android A to Z: What is a QR Code?; Find more in the Android Dictionary

More from the Android Dictionary

End of life
Article
by Jerry Hildenbrand
May 25, 2012
  End of life is a term none of us ever want to hear. We envision it means the death of our phone, and we should just throw it away and get a newer model. After all, it's at the end of its...
DLNA
Article
by Jerry Hildenbrand
May 24, 2012
DLNA, or the Digital Living Network Alliance is an organization set up by Sony in 2003 that determines a universal set of rules and guidelines so devices can share digital media. The devices co...
CWM
Article
by Jerry Hildenbrand
May 23, 2012
We're getting a little hacky in this round of Android A to Z, and we're going to have a look at ClockworkMod recovery -- the de facto standard of custom recoveries for Android. It's...
Android A to Z
Article
by Jerry Hildenbrand
May 22, 2012
When you think of Android phones, you think of bloatware. We wish it weren't so, and not every phone comes with, but the majority of Android phones out there come from carriers and are chock ful...
AOSP
Article
by Jerry Hildenbrand
May 21, 2012
AOSP is a term you'll see used a lot -- here, as well as at other Android-centric sites on the Internet. I'll admit I'm guilty of using it and just expecting everyone to know what I'...

 

There are 4 comments. Add yours.

thacounty says:

Good explanation. Now all we need is Amon Ra back. Oh how I miss his awesome recoveries.

DirkBelig says:

What happened to Amon Ra? I used his recovery on my OG EVO, but only rooted my Galaxy S II Epic 4G Touch Long Name WTFROFLBBQ with ODIN the other day after four months of stock use. Not really shopping for a new ROM - have very few complaints with stock, but wanted to use Titanium Backup - but wasn't aware Amon Ra wasn't still active.

Nosferatu524 says:

Good read as well. (Knock on wood) I've never bricked an Android (can't say the same for other devices).

Question, is there really ever a time that you can't recover a phone via recovery minus say a hardware failure??? I bought a jig as insurance for my phone (Galaxy S2) which throws the phone into download mode no matter what apparently.

donniezazen says:

Is stock recovery used by Google to do development or they have much more sophisticated recoveries like the custom ones?