Android Startup Process Analysis (1) Overview, android process
######################################## #####
This article is original in extreme cold ice. For more information, see the source.
######################################## #####
Most people know the Android startup process, but most people describe it as follows:
To start Android, first start Bootloader and then mount the kernel. After mounting the kernel, the android init process will be started. The init process will hatch Zygote, which is one of the important pillars of android, then systemserver started by zygote and systemserver started various key services of the system. After the service was started, it entered the Launcher apk and started ..
This can be a simple summary of the android startup process, but the android startup process is more than just that.
We can discuss the following issues:
How are ap and bp Modules connected?
How does the init process parse init. rc?
What is the syntax of init. rc?
How does the init process start zygote?
What is zygote's function?
........
After reading a series of articles about the android startup process analysis, I believe that I will have a deeper understanding of the android startup process.
First, we will introduce a very good website:
Http://androidxref.com/
On this website, we can see the source code of various android projects, including the kernel and ap
Our analysis is also based on the source code of android 5.1.
Let's take a look at the init process.