
Commands and file names are case sensitive. It is assumed that the reader is familiar with Linux commands and the shell.
#Android ndk r9 download install#

Steps explained in this article are for Ubuntu 14.04 LTS to be specific.
#Android ndk r9 download how to#
In this article, I describe how to compile the kernel for the Samsung Galaxy Star Duos (GT-S5282) with Android version 4.1.2. Linux kernel: At the bottom of the stack is a Linux kernel, with some architectural changes/additions including binder, ashmem, pmem, logger, wavelocks, different out-of-memory (OOM) handling, etc. HAL: This acts as a glue between the Android system and the underlying device drivers.

Figure 2 : Handset details for GT-S5282īinder IPC: It is an Android-specific IPC mechanism.Īndroid system services: To access the underlying hardware application framework, APIs often communicate via system services. Here is a quick summary of what the architecture comprises.Īpplication framework: Applications written in Java directly interact with this layer. We will not get into the finer details of the architecture in this article since the primary goal is to build the kernel. Figure 1 illustrates how Android works at the system level. Before we begin building an Android platform, lets understand how it works at a higher level.
