Android Drive Development (iv)----installation configuration of the Android kernel and the Linux kernel

Source: Internet
Author: User

The source code in Android includes the sources of the applications in the Android system, the source code of the various tools with the SDK, the NDK source code, and the HAL sources.

The Android source code can be downloaded or partially downloaded. After compiling the source code of Android, after compiling, it will generate an out directory under the Android source code root directory, all the compiled target files are in this directory, and there are two direct subdirectories in the Out directory, namely host and Target. The former represents the tool generated on the host (x86), which represents the content that the target machine (modulo thinks ARMv5) is running. In Target, it contains two direct subdirectories, common and product. Common contains the Java libraries required for programs running on Android, the R.java of resource IDs, and so on. Product is the content of products.

The Out/target/generic directory contains the final target file to be used. 3 of the important IMG files are: system.img,ramdisk.img,userdata.img. stored in the system.img file is the apk that we say in our daily life that requires root to be deleted.

During the installation of the Linux kernel, it is important to note that to use the Linux GUI you need to download and install QT.

Summary: Android porting is primarily a Linux kernel migration. Linux kernel porting is primarily a Linux-powered migration. So in order to develop and test Linux drivers. Two sets of development environments are required under Ubuntu Linux, namely the Android application development environment and the Linux kernel development environment.

Android Drive Development (iv)----installation configuration of the Android kernel and the Linux kernel

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.