Android 4.0 kernel source code?

Where can I get the source code for the Android 4.0 kernel (Ice Cream Sandwich)?

Although this may be a stupid question that some people have asked before, I cannot find a suitable answer anywhere because:

  • Google decided to be really useful and redirect android.kernel.orgto http://source.android.com/source/downloading.html, which includes every part of Android except the kernel . I do not understand the logic of this.

  • git clone https://android.googlesource.com/kernel/common.gitdoes something strange and creates a massive (600 MB +) .gitfolder without creating the source tree. I don't give two shit about git repo, I just need the source tree .

  • All core forks on GitHub are terribly outdated.

+5
source share
3 answers

Check out the Android source code hosted on Github .

+5
source

In his November 30, 2011 post, Jean-Baptiste Kerou explains why the source of the kernel is invisible after cloning. This post describes the kernel source code branches that exist for various ICS hardware accessories.

In general, here's how to make a visible branch visible:

git clone https://android.googlesource.com/kernel/common.git # clone the repo
git branch -a # lists branches, both local and remote
git checkout -b android-3.0 remotes/origin/android-3.0 # create local branch
# android-3.0 that tracks the named remote branch
+9
source

https://android.googlesource.com/kernel/common/

Android . , git.

git clone https://android.googlesource.com/kernel/common
-2

All Articles