Before you begin, ensure your system meets the following requirements:
repo init --no-repo-verify --git-lfs -u https://github.com/ProjectInfinity-X/manifest -b QPR3 -g default,-mips,-darwin,-notdefault
Or If you wish to save some system space and don't care about repo history depths:
repo init --depth=1 --no-repo-verify --git-lfs -u https://github.com/ProjectInfinity-X/manifest -b QPR3 -g default,-mips,-darwin,-notdefault
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 (Default: UNOFFICIAL)
# Maintainer Name
INFINITY_MAINTAINER := "YourInput" (Default: Unknown)
# Whether the package supports BLURS
TARGET_SUPPORTS_BLUR := true/false (Default: false)
# Whether the device supports UDFPS (FOD)
TARGET_HAS_UDFPS := true/false (Default: false)
# Whether the compiled package ships Google Apps:
WITH_GAPPS := true/false (Default: false)
# Whether the compiled shipped gapps package uses Google Dialer, Messaging, Contacts:
TARGET_BUILD_GOOGLE_TELEPHONY := true/false (Default: false)
# Whether the device supports screen off touchgestures:
TARGET_SUPPORTS_TOUCHGESTURES := true/false (Default: false)
# Whether the compiled package ships ViMusic
TARGET_BUILD_VIMUSIC := true/false (Default: false)
# Whether the compiled package ships Moto Calculator irrespective VANILLA or GAPPS:
USE_MOTO_CALCULATOR := true/false (Default: false)
cd path/to/source
. build/envsetup.sh
lunch infinity_$device-$buildtype
Replace $device
with your device codename and $buildtype
with your prefered build type (user, userdebug or eng).
mka bacon