Android Recovery
From OMAPpedia
[edit] Omap Android Recovery System
On Blaze, pressing down the "green" key while booting the system gets one into the recovery mode. Recovery mode allows one to issue the following commands:
erase /data erase /cache apply update.zip from /sdcard
This mode can also be entered from the Android UI:
Settings -> Privacy -> Factory data reset
These patches are pending to be merged for Recovery UI to work on blaze:
http://review.omapzoom.org/#change,12242 http://review.omapzoom.org/#change,12325
Test Application to invoke recovery manually:
http://review.omapzoom.org/#change,12319
New interface is added to bootloader to allow entry into recovery mode. This is especially useful for devices that do not have any keys (thus no special key presses to enter recovery):
- fastboot oem recovery
Java Interface being exercised for Android Recovery system are in:
- frameworks/base/core/java/android/os/RecoverySystem.java
API to write to /cache/recovery/command file:
- private static void bootCommand(Context context, String arg)
API used to pass update.zip information:
- public static void installPackage(Context context, File packageFile)
API to reset userdata:
- public static void rebootWipeUserData(Context context)
Example NexusS recovery procedure:
[edit] Some pictures of Recovery UI On TI Blaze board