Search code examples
androidlinux-kernelandroid-source

Where is the git repo of Android's kernel source?


I want to build a kernel for my device from source, however I'm unable to find the git repo of the kernel source.

All I found is this:

git://android.git.kernel.org/kernel/common.git

But however it seems to be deprecated after the kernel.org fuss recently, with git prompting that

fatal: The remote end hung up unexpectedly

Are they moving to somewhere or nowhere?


Solution

  • What was at git://android.git.kernel.org/ can now be found at https://android.googlesource.com/.

    I did the replacement in your URL, and this is the result:

    $ git ls-remote https://android.googlesource.com/kernel/common.git
    844e64ac186e89d7721bcf6d98cbbce8e1002839    refs/heads/android-2.6.39
    0d8f32b7e8e99f593d7d7ff1afac4e6320e1d5ab    refs/heads/android-3.0
    

    I do not know if this is what you were looking for, but it is worth a look.