Coder Social home page Coder Social logo

packages_apps_pixelparts's Introduction

example

About the app

PixelParts began as a simple High Brightness Mode (HBM) tool. Since then, it has evolved to include a detailed battery information panel, a display saturation level adjuster, charging limiter and more. The app now offers a wide range of features, transitioning from its original function as an HBM tool to a hub for device tweaks and stats on customs, with a lot more planned going forward.

Current features

Category Feature Description QS Tile Required kernel changes
Battery Battery information View various battery information Yes N/A
Charge control Start/stop charging at specific percentages N/A N/A
Fast charge Enable CDP mode for faster charging on USB 2.0 ports. Yes Commit 1/1
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

  • Remove HbmSVManager:

Commit 1/2 (vendor)

Commit 2/2 (device tree)

  • 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

packages_apps_pixelparts's People

Contributors

anierinbliss avatar joeyhuab avatar ezio84 avatar iusmac avatar

Watchers

kenway avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.