The words you have heard most about the Android kernel should be "AndroidFramework" and "Dalvik Virtual Machine". Then, from the perspective of internal operation mechanism, what role do these two core parts play respectively, and how do they work together? Knowing this, you will understand the core value of Android, which is the Android kernel.
From the process point of view, when the Linux kernel is started, the state of the system is basically the same as that of the ordinary Linux system. By configuring init.rc file in Linux, you can specify what program to execute after the kernel is started, and the program that starts later is the difference between Android system and ordinary Linux application system.
How does android compile the kernel command make?
1. Preparation: (Ubuntu111032)
Ubuntu and other linuxOS, download eclipse, install JDK, install the SDK of android, and successfully open the android mobile phone emulator in eclipse, that is, OK.
2. Initialize the compilation environment:
Please pay attention to "installingrequiredpackages" on this page. Some packages can't be installed because of version problems, so don't worry, and solve them separately when encountering errors.
3. Download the kernel source code:
It will take a while for Android2.3 kernel to download.
4. Download the cross compiler:
This step may take a long time, depending on the network speed, ranging from several hours to several days. Maybe you can try to download prebuild/Linux-x86/tool chain from the address behind gitclone.
5. Set parameters and compile:
$exportARCH=arm
$exportSUBARCH=arm
$exportCROSS_COMPILE=arm-eabi-
$ CD Goldfish//Enter the downloaded source code directory.
$gitcheckout
$ goldfish _defconfig
$make
What does the kernel of Android phone mean? Be specific?
The mobile phone kernel is also a Linux kernel, and the Android system is developed based on Linux. It is responsible for managing the process, memory, device drivers, files and network system of the system, which determines the performance and stability of the system. The kernel executes the lowest-level tasks in an exclusive way, ensures the normal operation of the system, coordinates multiple concurrent processes, and manages the memory used by the processes so that they do not conflict with each other and meet the requests of the processes to access the disk.
How to change the Android kernel?
Yes, take Benign _S4A-2 as an example, 1, and download Benign _S4A-2 kernel from the Internet.
(Note: This kernel is just an example and not applicable to all models.
The kernel to be replaced should correspond to its own model and version! )
2. Then decompress Benign _S4A-2 to get four folders, namely data, kernel, meta-inf and system.
3. Enter the kitchen, select 0 to enter the advanced operation menu, select 20, boot.img tool 4, select S to view the kernel information, and then record the relevant information with a pen to view the data. Especially the base address.
5. After copying the file, we return to the kitchen tool, select B, and create a new boot.img6. When finished, check the new boot.img information. See if the base address is the same.
7. After replacing the kernel, we should also choose 23 to convert the update-script format into the updater-script format.
Then, as above, pack! Sign it!
How to install the kernel in a mobile phone?
Unable to install manually, the browser kernel is fixed, and the official update can be upgraded. The kernel may be upgraded automatically or a higher version may be downloaded again.