Friends who are interested in Android know that the Android system is built on top of the Linux kernel. So what is the relationship between the Linux kernel and Android? How does the Linux kernel boot Android? This article is a brief description.
Although Android is built on the Linux kernel, it has expanded the kernel and added some drivers. For example, Binder, loger, etc. are driven. You can compare the Android kernel code with its Baseline version. You can see all the extensions of Android to the Linux kernel.
Friends who are familiar with Linux startup know that after the Linux boot is completed, the user mode init process (pid is 0) will be started. This process plays a very important role in the operation of the entire system. If you don’t understand the init process, please check Relevant information. init completes the initialization of the system, and then enters the shell to receive user input.
There is nothing mysterious about Android startup. It replaces the init process of the Linux kernel with its own init process to complete its own initialization work (initialization of devices, file systems, etc.). Then start your own virtual machine, program and so on. The code of Android's init process is located under system/core/init/init.c. You can check its source code to understand the detailed process of Android startup. There are already many materials on the Android startup process on the Internet, so I won’t go into details here.
It can be seen that debugging init is very important in the process of porting Android. Because everything related to the hardware platform is initialized here, the init process may need to be ported or configured. Other processes have nothing to do with hardware, and should be able to run without modification in theory.
After the above description, it can be seen that the Android init process plays a role of linking the previous and the next. Continuing from the previous-automatically called by the Linux kernel; start-to initialize various Android devices and resources, and then start Android related processes, until the entire Android system is booted.
ZGAR Aurora 1200 Puffs
ZGAR electronic cigarette uses high-tech R&D, food grade disposable pod device and high-quality raw material. All package designs are Original IP. Our designer team is from Hong Kong. We have very high requirements for product quality, flavors taste and packaging design. The E-liquid is imported, materials are food grade, and assembly plant is medical-grade dust-free workshops.
Our products include disposable e-cigarettes, rechargeable e-cigarettes, rechargreable disposable vape pen, and various of flavors of cigarette cartridges. From 600puffs to 5000puffs, ZGAR bar Disposable offer high-tech R&D, E-cigarette improves battery capacity, We offer various of flavors and support customization. And printing designs can be customized. We have our own professional team and competitive quotations for any OEM or ODM works.
We supply OEM rechargeable disposable vape pen,OEM disposable electronic cigarette,ODM disposable vape pen,ODM disposable electronic cigarette,OEM/ODM vape pen e-cigarette,OEM/ODM atomizer device.
Aurora 1200 Puffs,ZGAR Aurora 1200 Puffs Pod System Vape,ZGAR Aurora 1200 Puffs Pos Systems Touch Screen,ZGAR Aurora 1200 Puffs Disposable Vape Pod System,1200Puffs Pod Vape System
Zgar International (M) SDN BHD , https://www.zgarpods.com