Before you begin, ensure your system meets the following requirements:
- Initialize your local repository:
Or If you wish to save some system space and don't care about repo history depths:
repo init --no-repo-verify --git-lfs -u https://github.com/ProjectInfinity-X/manifest -b 15 -g default,-mips,-darwin,-notdefault
repo init --depth=1 --no-repo-verify --git-lfs -u https://github.com/ProjectInfinity-X/manifest -b 15 -g default,-mips,-darwin,-notdefault
- Sync up with the remote repository:
repo sync -c --no-clone-bundle --no-tags --optimized-fetch --prune --force-sync -j$(nproc --all)
# Whether you are compiling being an OFFICIAL Maintainer:
INFINITY_BUILD_TYPE := OFFICIAL/UNOFFICIAL (Default: UNOFFICIAL)
# Maintainer Name
INFINITY_MAINTAINER := "YourInput" (Default: Unknown)
# Whether the package includes System BLURS
TARGET_SUPPORTS_BLUR := true/false (Default: false)
# Whether the target supports on-display fingerprint sensor (FOD)
TARGET_HAS_UDFPS := true/false (Default: false)
# Whether the compiled package ships Widely Used Minimal Google Apps:
WITH_GAPPS := true/false (Default: false)
# Whether the compiled package ships Complete present Google Apps:
TARGET_SHIPS_FULL_GAPPS := true/false (Default: false) # (WITH_GAPPS must be set to true alongside)
# Whether the compiled shipped gapps package uses Google Dialer, Messaging, Contacts:
TARGET_BUILD_GOOGLE_TELEPHONY := true/false (Default: false) # (WITH_GAPPS must be set to true alongside)
# Whether the compiled package ships Moto Calculator irrespective VANILLA or GAPPS:
USE_MOTO_CALCULATOR := true/false (Default: false)
# Add these as PRODUCT_SYSTEM_PROPERTIES (system.prop), You may use utilities as libinit if configuring for unified devices
ro.infinity.soc
ro.infinity.battery
ro.infinity.display
ro.infinity.camera
# Example Defintions
ro.infinity.soc=Snapdragon 8 Gen 2
ro.infinity.battery=5500 mAh
ro.infinity.display=1264 x 2780, 120 Hz
ro.infinity.camera=50MP + 8MP + 2MP
# Also declare your Device Name with appropirate sepolicy rule(Take libinit in use if Unified)
ro.product.marketname
# Example Defintion
ro.product.marketname=OnePlus 12R 5G
- Navigate to the root directory of Project Infinity X:
cd path/to/source
- Run the environment setup script:
. build/envsetup.sh
- Choose your device configuration:
Replace
lunch infinity_$device-$buildtype
$device
with your device codename and$buildtype
with your prefered build type (user, userdebug or eng).
- Start the compilation process:
mka bacon
- LineageOS
- ProtonAOSP
- PixelExperience
- crDroid
- RisingOS
- YAAP
- SuperiorOS
- ProjectPixelage
- xdroidOSS
- OctaviOS
- Evolution-X
- And More If May Missed to Mention!
- Telegram Discussion: https://t.me/InfinityXGroup
- Telegram News/Updates: https://t.me/ProjectInfinityX