Skip to Content
Learning Embedded Android N Programming
book

Learning Embedded Android N Programming

by Ivan Morgillo, Stefano Viola
July 2016
Beginner to intermediate
282 pages
6h 12m
English
Packt Publishing
Content preview from Learning Embedded Android N Programming

Customizing the boot image

So far, you learned how to obtain the kernel source code, how to set up the system, how to configure the kernel, and how to create your first custom kernel image. The next step is about equipping your device with your new kernel. To achieve this, we are going to analyze the internal structure of the boot.img file used by every Android device.

Creating the boot image

A custom ROM comes with four .img files, necessary to create a working Android system. Two of them (system.img and data.img) are compressed images of a Linux compatible filesystem.

The remaining two files (boot.img and recovery.img) don't contain a standard filesystem. Instead, they are custom image files, specific to Android. These images contain a 2KB header ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Android High Performance Programming

Android High Performance Programming

Enrique López Mañas, Diego Grancini
Embedded Android

Embedded Android

Karim Yaghmour

Publisher Resources

ISBN: 9781785282881Supplemental Content