Recovery introduction

In Android, recovery is a minimal Linux environment including a kernel and a dedicated ramdisk. When this minimal Linux environment boots up, it runs a binary tool, recovery, to enter the so-called recovery mode. The Linux kernel and ramdisk of recovery mode are usually stored in a dedicated bootable partition. In recovery mode, both the kernel and the root filesystem are in memory so it can manage other partitions without any dependencies.

There are two ways to update devices in the field. The first method is to use fastboot protocol through bootloader. The devices can be reflashed using bootloader. In this case, you can boot your device in fastboot mode and flash your device using the fastboot tool from Android SDK. ...

Get Android System Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.