Android startup process Analysis (i)

Source: Internet
Author: User

#############################################

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)

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.