Clone AOSP repository

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.

Here are the Steps to clone the repo

  1. Download repo tool, read more

      sudo apt-get update
      sudo apt-get install repo
  2. Setup .gitconfig

  3. repo init -u https://android.googlesource.com/platform/manifest -b main
  4. repo sync -j64

Last updated