Android Recovery

From OMAPpedia

Revision as of 22:18, 1 April 2011 by Vikrampandita (Talk | contribs)
Jump to: navigation, search

Omap Android Recovery System

On Blaze, keeping "Green" key pressed and booting the system, gets one into recovery mode. Recovery mode allows to:

erase /data 
erase /cache
apply update.zip from /sdcard

This mode can also be entered from Android UI:

Settings -> Privacy -> Factory data reset

Patches 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 enter into recovery mode, especially for devices that do not have any keys (thus no special key presses to enter recovery)

fastboot oem recovery

Java Interface getting 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:

http://androidadvices.com/nexus-s-steps-install-android-gingerbread-os/

Some pictures of Recovery UI On TI Blaze board

2011-03-22 19-27-25 273-II.jpg


2011-03-22 19-27-42 876-III.jpg

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox