Building Android

Your one-stop destination for all the documentation about building Android can be found here.

Repo Init

repo init -u https://github.com/StatiXOS/android_manifest.git -b vic

Sync Source

repo sync --force-sync --no-clone-bundle --current-branch --no-tags -j$(nproc --all)

Build Time (Linux x86_64 ONLY)

. build/envsetup.sh
brunch statix_<DEVICE>-<RELEASE>-userdebug (or statix_<DEVICE>-<RELEASE>-user)

For projects using this manifest, <RELEASE> is ap3a.

Submitting Patches

Patches are welcomed here at StatiXOS.

To start contributing, register at https://review.statixos.com and follow the steps below:

First, we need to create an SSH key that is required to push patch sets to Gerrit. Type the following command into the terminal:

ssh-keygen

Head to our Gerrit and click on your avatar in the top right corner. Then click "Settings."

In settings, click on "SSH Keys" on the left-hand side of the screen.

Now on your computer, type in cat ~/.ssh/id_rsa.pub, copy the output and paste the copied contents in the box that says "New SSH key" and press on the "Add New SSH Key" button.

Make your changes and commit with a detailed message. The commit message should start with the name of the current project to help us during the review process.

We are almost there! Now to push your patch set to Gerrit, type in the following in your terminal:

    git push ssh://<username>@review.statixos.com:29418/<project> HEAD:refs/for/<branch>
  • <username> - Your Gerrit username (which can be seen/set here)
  • <project> - The git repo you are pushing to; all options can be viewed at this link
  • <branch> - The git branch your change is based on; for projects using this manifest, it is vic

View Code Review

XDA Thread Template