How to download the android Linux Kernel

Source: Internet
Author: User

1. Install git

The android Linux kernel can be selected from the release (portable) version. If git is not commonly used, you can select the portable version.

Download the git of portable, decompress it, and run Git-Bash. A console window is displayed.

2. the android kernel has multiple parts. You can run the following command to download the required content as needed.

Run the following command in the GIT Console window to download the kernel:

$ Git clone https://android.googlesource.com/kernel/common.git // This is the Linux kernel, it can also be git clone slave clone git: // android.git.kernel.org/kernel/common, but now it seems useless.

$ Git clone https://android.googlesource.com/kernel/goldfish.git

$ Git clone https://android.googlesource.com/kernel/msm.git

$ Git clone https://android.googlesource.com/kernel/omap.git

# Git clone https://android.googlesource.com/kernel/samsung.git

$ Git clone https://android.googlesource.com/kernel/tegra.git

3. Check the corresponding Kernel

Go to the Samsung directory

$ Git branch-A // list all available kernel versions

$ Git checkout remotes/ORIGIN/android-samsung-3.0-ics-mr1 // checkout out the kernel you want to use

If you want to download all android source files, see the http://source.android.com/source/downloading.html for the download method

 

Supplement: execute the following commands on the terminal for Android installation and development:

Sudo apt-Get install Git-core GnuPG valgrind flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev

 

Related Article

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.