Android Startup Process Analysis (1) Overview, android process

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.