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
. build/envsetup.sh- Lunch a target
lunch matrixx_codename-bp4a-user- To start compiling
m matrixxFor
- Paintainer prop (define in system/product prop)
MATRIXX_MAINTAINER := Mrick343
- Refresh rate list (optional) - defining this flags makes the controller skip the parsing of Display.Mode refresh rates
- For supported refresh rates. The refresh rate controller will also assume that all the defined refresh rates are "supported"
TARGET_SUPPORTED_REFRESH_RATES := 60,90,120,144- If device support UDFPS
TARGET_CUSTOM_UDFPS := true- For GMS
WITH_GMS := trueTARGET_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)- For bcr
WITH_BCR := true- Set surfaceflinger refreshrate
$(call soong_config_set,surfaceflinger,frame_rate_category_high,120)
$(call soong_config_set,surfaceflinger,frame_rate_category_min,60)- Enable optimized dexopt tuning (default false, Recomended for highend devices)
TARGET_OPTIMIZED_DEXOPT := true- Bypass Charging
BYPASS_CHARGE_SUPPORTED := true- High Brightness Mode (HBM)
HBM_SUPPORTED := false
HBM_NODE := /sys/class/backlight/panel0-backlight/hbm_mode- Drop default aperture camera
PRODUCT_NO_CAMERA := true- Whether the device supports Smart Pixels(frameworks overlay)
<!-- Whether the device supports Smart Pixels -->
<bool name="config_supportSmartPixels">true</bool>- Limit AOD refreshrate (SystemUI overlay)
<!-- Preferred max refresh rate at AOD & Ambient Display, if supported by the display. -->
<integer name="config_aodMaxRefreshRate">60</integer>