03

Building

Sync the manifest and compile CipherOS from source on your own machine.

CipherOS is an Android distribution based on AOSP, built for a clean, bloat free system with minimal customisation. Everything below runs on a Linux host with a working Android build environment.

Initialise and sync

shell
repo init -u https://github.com/CipherOS/android_manifest.git -b fifteen
Initialise the manifest
shell
repo sync -c --force-sync --optimized-fetch --no-tags --no-clone-bundle --prune -j$(nproc --all)
Fetch every repository in the tree

Build the ROM

  1. Set up the build environment with . build/envsetup.sh.
  2. Pick your target with lunch cipher_<codename>-ap3a-userdebug, substituting your device codename.
  3. Compile with mka bacon -j$(nproc --all).
shell
. build/envsetup.sh
lunch cipher_$device_codename-ap3a-userdebug
mka bacon -j$(nproc --all)
The three steps in full

Contributing

Patches are welcome. Fork the relevant repository on GitHub, make your change, and open a pull request. The team reviews and merges from there.