Search code examples
androidgithubandroid-source

Fork AOSP source


My team is looking to create our own custom ROM. I would like to base it on AOSP pie. Is there a way to fork or copy the code to GitHub?

I tried just using the Google repo, but it's bigger than my hard drive, so I can't clone it locally to push to GitHub.

We would prefer to base it on a pure Android, not another custom ROM


Solution

  • You can try directly form github:

    https://github.com/aosp-mirror

    Is mirrored from https://android.googlesource.com/platform/development.git

    Hardware requirements:
    Your development workstation should meet or exceed these hardware requirements:

    • A 64-bit environment is required for Android 2.3.x (Gingerbread) and higher versions, including the master branch. You can compile older versions on 32-bit systems.
    • At least 250GB of free disk space to checkout the code and an extra 150GB to build it. If you conduct multiple builds, you will need even more space. Note: If you are checking out a mirror you will need more space as full Android Open Source Project (AOSP) mirrors contain all Git repositories that have ever been used.
    • If you are running Linux in a virtual machine, you need at least 16GB of RAM/swap.