Download the kernel source of android

git clone https://android.googlesource.com/kernel/msm
look out git branch -a how many branches we can download.
Find the latest branch

git checkout -b remotes/origin/android-msm-wahoo-4.4-pie

If you have error of this:

execute command repo, then has information below:

root@retool-x:/media/sf_source_code/kernel_pie/bin# ./repo
./repo: line 1: syntax error near unexpected token `newline'
./repo: line 1: `<!DOCTYPE html>'

You must install command repo through apt install repo instead of curl**>bin/repo.

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容