No description
  • Java 99.5%
  • Makefile 0.5%
Find a file
AnierinB 5af9b6a3a6 PixelParts: Nuke ChargeControl
Signed-off-by: AnierinB <anierin@evolution-x.org>
2025-04-13 17:59:01 -07:00
init PixelParts: Nuke ChargeControl 2025-04-13 17:59:01 -07:00
readme_resources PixelParts: Version 2.0 2024-01-13 15:00:57 -08:00
res PixelParts: Nuke ChargeControl 2025-04-13 17:59:01 -07:00
sepolicy PixelParts: Nuke ChargeControl 2025-04-13 17:59:01 -07:00
src/org/evolution/pixelparts PixelParts: Nuke ChargeControl 2025-04-13 17:59:01 -07:00
Android.bp PixelParts: Version 2.0 2024-01-13 15:00:57 -08:00
AndroidManifest.xml PixelParts: Nuke ChargeControl 2025-04-13 17:59:01 -07:00
crowdin.yml PixelParts: Initial commit 2023-05-26 19:17:15 -07:00
device.mk PixelParts: Remove battery info and fast charge 2024-07-11 15:01:58 +00:00
proguard.flags PixelParts: Initial commit 2023-05-26 19:17:15 -07:00
README.md PixelParts: Nuke ChargeControl 2025-04-13 17:59:01 -07:00

example

Current features

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

Including PixelParts

  • Clone this repository to packages/apps/PixelParts directory in your AOSP build tree:
croot && git clone https://github.com/Evolution-X-Devices/packages_apps_PixelParts packages/apps/PixelParts
  • Include the app during compilation by adding the following to device-*.mk:

Commit 1/1 (device tree)

# PixelParts
include packages/apps/PixelParts/device.mk

This line includes the device.mk file from the PixelParts repository, which will add the PixelParts application, its initialization script (init.rc), and the necessary security policies (sepolicies) to your AOSP build during compilation.

Testing changes

  • 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:

m PixelParts
  • This also assumes you are already running an AOSP build including PixelParts as a priv-app in /system_ext.

Credits

Work Author
CustomSeekBar preference Neobuddy89
Original AutoHBMService Hikari no Tenshi & maxwen