Clone AOSP repository
Last updated
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 repo
Setup .gitconfig
repo init -u https://android.googlesource.com/platform/manifest -b main
repo sync -j64