Initialize local repository repo init -u https://github.com/ProjectMatrixx/android -b 16.2 --git-lfs
repo sync -c -j$(nproc --all) --force-sync --no-clone-bundle --no-tags
Set up the build environment lunch matrixx_codename-bp4a-user Maintainer flag (define in matrixx_device.mk) MATRIXX_MAINTAINER := Mrick343Include MatLog Application TARGET_INCLUDE_MATLOG := trueTARGET_CUSTOM_UDFPS := trueWITH_EXTRA_GAPPS := true (For including extra apps in gms build i.e DocumentsUIGoogle ,Maps, PrebuiltGmail, FilesPrebuilt, Photos & Chrome-Stub)TARGET_INCLUDE_PIXEL_LAUNCHER := true (For Building Pixel Launcher)TARGET_DEFAULT_PIXEL_LAUNCHER := true (Set Pixel Launcher as default Launcher)WITH_GMS_COMMS_SUITE := true (For Google Telephony)WITH_GMS_AICORE := true (For Google AICore)Set surfaceflinger refreshrate $(call soong_config_set,surfaceflinger,frame_rate_category_high,120)
$(call soong_config_set,surfaceflinger,frame_rate_category_min,60) Surface flinger boosting (Smoother scrolling, fewer frame drops but Keeps CPU slightly “awake”) SURFACE_FLINGER_BOOST := trueEnable optimized dexopt tuning (default false, Recomended for highend devices) TARGET_OPTIMIZED_DEXOPT := trueBYPASS_CHARGE_SUPPORTED := trueHigh Brightness Mode (HBM) HBM_SUPPORTED := false
HBM_NODE := /sys/class/backlight/panel0-backlight/hbm_modeUse X reality engine (careful with mtk, causes display stuck issue) USE_REALITY_ENGINE := trueDrop default aperture camera PRODUCT_NO_CAMERA := trueLimit AOD refreshrate (SystemUI overlay) <!-- Preferred max refresh rate at AOD & Ambient Display, if supported by the display. -->
<integer name="config_aodMaxRefreshRate">60</integer>