Clone AOSP repository
Here are the Steps to clone the repo
sudo apt-get update sudo apt-get install reporepo init -u https://android.googlesource.com/platform/manifest -b mainrepo sync -j64
Last updated
Official documentation here
AOSP source is a tree/jungle of multiple git repos, more than 1400 repos to be precise. It will consume around 200GB of Disk Space.
Download repo tool, read more
sudo apt-get update
sudo apt-get install repoSetup .gitconfig
repo init -u https://android.googlesource.com/platform/manifest -b mainrepo sync -j64Last updated