AtomX is a custom skin based upon sources from CodeLinaro. It targets being unique, essential and stable; providing a pleasing user experience.
Before we build, we need to prepare the environment to be able to build.
We recommend to use @akhilnarang's scripts
git clone https://github.com/akhilnarang/scripts
cd scripts && bash setup/android_build_env.sh
Create build folder
mkdir ~/atomx
cd ~/atomx
To get started with the building process, you'll need to get familiar with Git and Repo.
To initialize your local repository, use a command like this:
repo init -u https://github.com/AtomXCLO/android_manifest.git -b void
To save time, space and internet data, sync with --depth=1
:
repo init --depth=1 -u https://github.com/AtomXCLO/android_manifest.git -b void
repo sync -c --force-sync --no-tags --no-clone-bundle -j$(nproc --all) --optimized-fetch --prune
From root directory of Project, perform following commands in terminal
Usage: ./rom-build.sh <device> [options]
Options:
-h, --help Display this help message
-c, --clean Wipe the tree before building
-i, --installclean Dirty build - Use 'installclean'
-r, --repo-sync Sync before building
-t, --build-type Specify build type
-j, --jobs Specify jobs/threads to use
-m, --module Build a specific module
-s, --sign-keys Specify path to sign key mappings
-p, --pwfile Specify path to sign key password file
-b, --backup-unsigned Store a copy of unsignied package along with signed
-d, --delta Generate a delta ota from the specified target_files zip
-z, --imgzip Generate fastboot flashable image zip from signed target_files