首页 > Android > AOSP下载代码

AOSP下载代码

curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
#AOSP download command
#https://source.android.com/source/downloading
repo init -u https://android.googlesource.com/platform/manifest
repo init -u https://android.googlesource.com/platform/manifest -b android-7.1.2_r6

#lineageos download command
#https://wiki.lineageos.org/devices/bacon/build#download-the-source-code
cd ~/android/lineage
repo init -u https://github.com/LineageOS/android.git -b cm-14.1
repo sync -c -d -j2 --no-tags
分类: Android 标签: , ,
  1. 本文目前尚无任何评论.
  1. 本文目前尚无任何 trackbacks 和 pingbacks.