Where is the git repository of the Android kernel source?

I want to create a kernel for my device from source code, however I cannot find the git repository of the kernel source.

All I have found is:

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

But, however, this seems deprecated after the craziness of kernel.org, while git suggests that

fatal: the far end unexpectedly hung up

Are they moving somewhere or nowhere?

+3
source share
2 answers

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

I made a 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 don’t know, this is what you were looking for, but it is worth a look.

+3
source

As the docs on Android say , you should use your own Git processing tool called repo.

  • You need to create a directory in which your repositories will be installed.
  • curl and chmod shell script
  • repo syn # it will take a lot of time
  • source build / envsetup.sh
  • dinner
  • make -jN #, where N is the number of processors * the number of cores per processor, you have * 1.5
+3
source

Source: https://habr.com/ru/post/897406/


All Articles