File | Date | Author | Commit |
---|---|---|---|
snippets | 2025-02-20 |
![]() |
[9d8483] Track microG vendor |
README.md | 2025-02-20 |
![]() |
[1f02d3] Update building docs for build variant changes |
default.xml | 2025-02-02 |
![]() |
[7d58bc] Initial AxionAOSP manifest |
To get started with AxionOS, you'll need to be familiar with Source Control Tools.
Initialize your local repository using the AxionOS manifest:
repo init -u https://github.com/AxionAOSP/android.git -b lineage-22.1 --git-lfs
Then sync the source:
repo sync
Make sure your build environment is properly set up by following the LineageOS build guide.
Before building, configure the environment:
. build/envsetup.sh
Modify your device trees to inherit LineageOS common settings and disable EPPE (if applicable):
TARGET_DISABLE_EPPE := true
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
These flags are needed for About Phone section UI and GMS framework.
# Define rear camera specs (multiple sensors supported)
AXION_CAMERA_REAR_INFO := 50,48 # Example: 50MP + 48MP
# Define front camera specs
AXION_CAMERA_FRONT_INFO := 42 # Example: 42MP
# Maintainer name (use "_" for spaces, e.g., "rmp_22" → "rmp 22" in UI)
AXION_MAINTAINER := rmp
# Processor name (use "_" for spaces)
AXION_PROCESSOR := Snapdragon_CPU_1
By default, GMS (Google Mobile Services) is enabled. To disable it, set it to MICROG/VANILLA:
AXION_BUILD_VARIANT := MICROG/GMS/VANILLA
Before building, generate private keys:
gk -s
Set up the build environment for your device:
axion <device_codename>
After setting up the build environment and syncing the whole source, easily sync the latest source changes with:
axionSync
Compile the ROM with:
ax -j<count>
Replace <count>
with the number of CPU threads for faster compilation (e.g., ax -j16
).
AxionOS is built upon the hard work of the Android Open Source Project (AOSP) and LineageOS teams. Special thanks to all contributors!
🚀 Happy Building!