1.首先下载repo:
a)终端运行 git clone git://codeaurora.org/tools/repo.git
b)mkdir ~/bin
c)拷贝repo 到~/bin下面,修改repo权限,chmod a+x ~/bin/repo
d)修改repo
将REPO_URL='git://android.git.kernel.org/tools/repo.git'改成:REPO_URL='git://codeaurora.org/tools/repo.git'
2.高通源码查找
打开https://wiki.codeaurora.org/xwiki/bin/QAEP/release,找到想要下载的代码的 Manifest(比如:LA.HB.1.5.2-05010-8x96.0.xml)
3.下载高通源码
以msm8996为例:
a)终端运行 repo init -u git://codeaurora.org/platform/manifest.git -b release -m LA.HB.1.5.2-05010-8x96.0.xml --repo-url=git://codeaurora.org/tools/repo.git --repo-branch=caf-stable
b)repo sync
博客介绍了高通源码的下载步骤。首先需下载repo,在终端运行相关命令并修改repo权限和内容;接着可在指定网页查找想要下载代码的Manifest;最后以msm8996为例,展示了通过repo init和repo sync命令下载高通源码的过程。
7407





