Book Image

Learning Embedded Android N Programming

By : Ivan Morgillo
Book Image

Learning Embedded Android N Programming

By: Ivan Morgillo

Overview of this book

Take a deep dive into the Android build system and its customization with Learning Embedded Android Programming, written to help you master the steep learning curve of working with embedded Android. Start by exploring the basics of Android OS, discover Google’s “repo” system, and discover how to retrieve AOSP source code. You'll then find out to set up the build environment and the first AOSP system. Next, learn how to customize the boot sequence with a new animation, and use an Android “kitchen” to “cook” your custom ROM. By the end of the book, you'll be able to build customized Android open source projects by developing your own set of features.
Table of Contents (15 chapters)
Learning Embedded Android N Programming
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface
Index

Flashing Android images


Here we are. Every piece of the puzzle is in place—you can finally move forward to installing your brand new custom Android version onto your device.

Note

As a reminder, we built the so-called stock version of the Android system: you won't find any of the Google apps in here—no YouTube, no Google Play Store.

Nexus 6

After the build process is complete, you will find all the system images you need in the out/target/product/shamu folder:

  • system.img: This is, well, the system image. It contains the whole operating system—Android Framework, system native libraries, and the system utility app, such as Calc or Clock.

  • recovery.img: This image contains what we are going to place in the Recovery partition. It contains a kernel and the recovery software itself.

  • boot.img: This image contains the Linux Kernel and a small RamDisk. This image will be placed in the boot partition and will contain all the files needed to initialize the system: init.rc, for instance, and every other component...