Android is a very good embedded operating system, Android system architecture is divided into 4 layers, the first layer of the Linux kernel, this layer mainly includes Linux drivers and memory management, process management, power management and other programs. and different Android versions of the driver may not be universal. The second layer is the C + + code base, which consists primarily of code libraries written in C + + (. So files under Linux), and also includes the runtime (runtime) of the. Dalivak virtual machine. The third layer is the Android SDK API, which is also known as the Java API, which is a library of various libraries written in Java, based on the Dalvik virtual machine format. The fourth tier is the application, which is accessible to all Android users, both programmers and non-programmers, and this layer is equivalent to the Android UI, and this layer relies heavily on the Android SDK API in the third tier to accomplish a variety of functions.
Android migration can be divided into two parts: application porting and system porting. Application porting is the porting of the fourth tier application to a specific hardware platform, and Android system porting refers to having the Android operating system run on a particular hardware platform. System porting In addition to the CPU architecture, the most important thing is to migrate Linux drivers.
Ways to view kernel versions of other Linux systems: Uname-a cat/proc/version
The Linux kernel version number consists of 1 major, 2 version, 3 revision, 4 fine, and 5 for specific Linux system special tuning descriptions.
Android Deep Exploration-Volume 1 chapter I