To get started, clone this repository to packages/apps/NubiaParts then inherit the config makefile in your device.mk.
$(call inherit-product, packages/apps/NubiaParts/config.mk)
To include the Sliding switch settings, build NubiaGameSwitch. (Kernel and kernel device tree changes is required for this to function!)
PRODUCT_PACKAGES += NubiaGameSwitch
To include the Fan Control tile, build NubiaFanControl.
PRODUCT_PACKAGES += NubiaFanControl
To include the tile for Game Keys/Shoulder buttons (REDMAGIC), build NubiaGameKeys.
PRODUCT_PACKAGES += NubiaGameKeys
To include the tile for bypass charging, build NubiaPowerUtils.
PRODUCT_PACKAGES += NubiaPowerUtils