#############################################
This article is extremely ice original, reproduced please indicate the source
#############################################
The Android startup process is known to most people, but that's what most people describe:
Android boot, first is to start bootloader, then mount Kernel, mount after kernel, will start the Android Init process, the INIT process will go to hatch Zygote,zygote is one of the important pillars of Android, Then the systemserver,systemserver initiated by Zygote started the various critical service of the system, and then after the service was started, it entered the launcher apk and started.
That's a simple generalization of the Android startup process, but the Android boot process is more than just that.
We can discuss the following issues:
How are the AP and BP modules connected?
How does the init process parse init.rc?
What is the grammar of init.rc?
How does the init process start zygote?
What is the function of zygote?
........
After reading a series of articles on Android start-up process analysis, I believe there will be a deeper understanding of the Android startup process.
First, introduce a very good website:
http://androidxref.com/
On this website, we can see the source code of various Android projects, including Kernel and AP
Our analysis is also based on the Android 5.1 source code started.
Gossip doesn't say much, we'll start by looking at the init process.
Android startup process Analysis (i)