
| Category |
Feature |
Description |
QS Tile |
Required kernel changes |
| Display |
Automatic high brightness mode (HBM) |
Enable peak luminance based on sunlight |
Yes |
N/A |
|
Saturation |
Control the saturation level of the display |
Yes |
N/A |
| Leds |
Pixel torch |
Adjust the brightness of the PixelParts flashlight QS-Tile |
PixelParts Flashlight QS |
N/A |
- Clone this repository to packages/apps/PixelParts directory in your AOSP build tree:
croot && git clone https://github.com/AICP/packages_apps_PixelParts packages/apps/PixelParts
- Include the app during compilation by adding the following to device-*.mk or aicp_device.mk:
# PixelParts app
PRODUCT_PACKAGES += \
PixelParts
# PixelParts init rc
PRODUCT_PACKAGES += \
init.pixelparts.rc
# PixelParts sepolicy
BOARD_SEPOLICY_DIRS += packages/apps/PixelParts/sepolicy
- When testing new changes, it is much faster to compile the application standalone and update it manually rather than running a full AOSP build. Please note that some changes may require you to chmod 0666 sysfs nodes and set selinux to permissive. When compiling a full AOSP build, this is not needed assuming the init cmds and sepolicies have been properly configured.
Lunch your device and run the following cmd:
- This also assumes you are already running an AOSP build including PixelParts as a priv-app in /system_ext.