unixandria
unixandria

Reputation: 282

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

Upvotes: 3

Views: 1632

Answers (2)

Óscar Andreu
Óscar Andreu

Reputation: 1700

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.

Upvotes: 2

JensV
JensV

Reputation: 4544

Download the source following the guide here:

https://source.android.com/setup/build/downloading

The source is that big, so if your harddrive is too small you won't even be able to use a custom rom for reference.

For reference, the requirements tell you that you need 250GB for the source and 150GB for building. https://source.android.com/setup/build/requirements

Upvotes: 1

Related Questions