Skip to content

AtomXCLO/android_manifest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About The AtomX Project:

The AtomX Project Image

AtomX is a custom skin based upon sources from CodeLinaro. It targets being unique, essential and stable; providing a pleasing user experience.

How to build AtomX for your device

Build Environment

  • Tested and works on any version of Ubuntu - 16.04, 18.04, 20.04, 21.04, 22.04 (64-bit)
  • Any other distribution based of the Ubuntu Distro such as Lubuntu, Xubuntu and etc.
  • Any form of Terminal
  • Decent hardware (minimum of at least a quad core CPU and 16 GB of RAM)
  • A storage unit of any kind (We recommend utilizing SSDs as Mechanical HDDs slow down the build proccess drastically and the minimum storage size is 70GB. Having more will be useful with CCache[More on that later])
  • Required Packages should have been installed

Preparing Build Environment

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

Downloading AtomX Source Codes

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 tr

To save time, space and internet data, sync with --depth=1 :

repo init --depth=1 -u https://github.com/AtomXCLO/android_manifest.git -b tr

Then to sync up

repo sync -c --force-sync --no-tags --no-clone-bundle -j$(nproc --all) --optimized-fetch --prune

Finally to build

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

Releases

No releases published

Packages