[App+Magisk Module]ACC - Custom accent colour creator [Android 8+]

Search This thread

Akilesh_15

Senior Member
Dec 6, 2016
163
205
Nothing Phone 1
ACC - Accent Colour Creator​
ic_launcher_round.png

Introduction

Android 10 introduces an option to change the system accent colour. In pure AOSP, it is limited to certain preset colours(Custom ROMs may have more colours). What if you want to set your own accent colour? That's where this app comes into play. The app gets your choice of colours (You can select from presets, wallpaper colours or create a custom colour) and creates an overlay targeting android (framework-res). A Magisk module is created by the app, which injects the created overlay to the system (Read: Systemless :angel:).

Features
  • You can select colours from your wallpaper, presets in the app or set your own custom colour.
  • Multiple accents can be created.
  • Separate accents for dark & light theme [Android 10 only].
  • Adjust Hue, saturation & lightness of the chosen colours to your liking. Android 10 users can use this to create desaturated dark theme accent.
  • Enable/disable accents.
  • Remove created accents (swipe from sides).

Disclaimer
  • As of now, this is untested on OEM skins(OOS, OneUI, MiUI etc). But should work on custom ROMs, if they don't block overlays.
  • If something goes wrong, remove the module created by the app in /data/adb/modules/ using TWRP or adb shell with root access.
  • Uninstalling the app won't remove the custom accent colour.

Requirements

References


Instructions

  • Grant root access when prompted.
  • Pick your new accent via wallpaper colours, presets or a custom colour.
  • Set a name for your accent colour. This is the name will be shown in system settings.
  • Once the new accent colour is created, a snackbar will be shown with an option to reboot.
  • After a reboot, you should see the new accent colour, either in developer options or the custom ROM's setting. If not manually enable it from the app.
  • To create a new accent, repeat the above steps. You can create multiple accents in one go and reboot once.
  • To remove a particular accent, swipe from the sides and reboot.
  • To remove all the custom accent colours, remove the Magisk module and reboot.

Downloads
Find the latest release here

TODO

  • [*]Allow creating multiple accent colours.
    [*]Include some preset colours in the app.


Thanks to/Credits


Alternate method

Shell script
Script for Linux/macOS. More info in the read me:
QACC-PC



XDA:DevDB Information
Accent Colour Creator, App for all devices (see above for details)

Contributors
Akilesh_15
Source Code: https://github.com/Akilesh-T/QACC


Version Information
Status: Stable
Current Stable Version: v1.51
Stable Release Date: 2020-1-18

Created 2019-11-29
Last Updated 2020-1-18
 

Attachments

  • Home.png
    Home.png
    141.7 KB · Views: 8,734
  • Settings.png
    Settings.png
    97.2 KB · Views: 8,425
  • ColorPicker.png
    ColorPicker.png
    89.5 KB · Views: 7,762
  • Customise.png
    Customise.png
    65.4 KB · Views: 7,370
  • ColorPicker2.png
    ColorPicker2.png
    99.9 KB · Views: 7,528
Last edited:

bluedog220

Member
Feb 18, 2011
38
5
Google Pixel 4 XL
Android 10 rooted . I installed the app and created some test colors , granted permission, rebooted but nothing changed ? . Did I miss a step ??

Edit : nevermind , tried rebooting again and it works perfectly. Thank you
Maybe with future updates we can test to see how the colors look with light and dark prior to rebooting?
 
Last edited:

thecoolkid

Senior Member
May 20, 2014
459
220
Can you get it working for Android 8+? I'm using swift installer now, it works quite the same way but you can't create multiple colors to switch between them using run shell in Tasker.
 

Akilesh_15

Senior Member
Dec 6, 2016
163
205
Nothing Phone 1
Android 10 rooted . I installed the app and created some test colors , granted permission, rebooted but nothing changed ? . Did I miss a step ??

Edit : nevermind , tried rebooting again and it works perfectly. Thank you
Maybe with future updates we can test to see how the colors look with light and dark prior to rebooting?
Can't preview directly on the UI, but maybe a generic template can be created to show the changes. Will try to add in a future update.
 

Tanner1294

Senior Member
Oct 8, 2012
294
65
Newport
Unfortunately on the Essential Phone the developers decided to remove the option to pick a different color entirely from the developer settings. I was hoping this would just be applied without needing a system option but as it is it doesn't work.
 

thecoolkid

Senior Member
May 20, 2014
459
220
Changelog

Make wallpaper colours selectable.
Add preset colours from AEX.
Support Android Oreo & above. (Tested only on Pie and 10 atm)
UI enhancements to manually enable custom accent.
Minor UI & UX improvements.


Download

@thecoolkid, can you test it on Oreo?

Sure, I did. Unfortunately it force-closes when I tap "create accent colour" button.
 

thecoolkid

Senior Member
May 20, 2014
459
220
Crash with the test version you PM'ed me.
 

Attachments

  • logs-2019-12-14-23-34-18.zip
    5.5 KB · Views: 29

chasemyass

Senior Member
Dec 21, 2011
1,775
549
Samsung Galaxy S23 Ultra
Tested on OOS 10.0.1 OP 6T doesn't change the color... tried on dark/white default theme too....
 

Attachments

  • Screenshot_20191218-091508.jpg
    Screenshot_20191218-091508.jpg
    127.3 KB · Views: 571
  • Screenshot_20191218-091354.jpg
    Screenshot_20191218-091354.jpg
    129.7 KB · Views: 559
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 51
    ACC - Accent Colour Creator​
    ic_launcher_round.png

    Introduction

    Android 10 introduces an option to change the system accent colour. In pure AOSP, it is limited to certain preset colours(Custom ROMs may have more colours). What if you want to set your own accent colour? That's where this app comes into play. The app gets your choice of colours (You can select from presets, wallpaper colours or create a custom colour) and creates an overlay targeting android (framework-res). A Magisk module is created by the app, which injects the created overlay to the system (Read: Systemless :angel:).

    Features
    • You can select colours from your wallpaper, presets in the app or set your own custom colour.
    • Multiple accents can be created.
    • Separate accents for dark & light theme [Android 10 only].
    • Adjust Hue, saturation & lightness of the chosen colours to your liking. Android 10 users can use this to create desaturated dark theme accent.
    • Enable/disable accents.
    • Remove created accents (swipe from sides).

    Disclaimer
    • As of now, this is untested on OEM skins(OOS, OneUI, MiUI etc). But should work on custom ROMs, if they don't block overlays.
    • If something goes wrong, remove the module created by the app in /data/adb/modules/ using TWRP or adb shell with root access.
    • Uninstalling the app won't remove the custom accent colour.

    Requirements

    References


    Instructions

    • Grant root access when prompted.
    • Pick your new accent via wallpaper colours, presets or a custom colour.
    • Set a name for your accent colour. This is the name will be shown in system settings.
    • Once the new accent colour is created, a snackbar will be shown with an option to reboot.
    • After a reboot, you should see the new accent colour, either in developer options or the custom ROM's setting. If not manually enable it from the app.
    • To create a new accent, repeat the above steps. You can create multiple accents in one go and reboot once.
    • To remove a particular accent, swipe from the sides and reboot.
    • To remove all the custom accent colours, remove the Magisk module and reboot.

    Downloads
    Find the latest release here

    TODO

    • [*]Allow creating multiple accent colours.
      [*]Include some preset colours in the app.


    Thanks to/Credits


    Alternate method

    Shell script
    Script for Linux/macOS. More info in the read me:
    QACC-PC



    XDA:DevDB Information
    Accent Colour Creator, App for all devices (see above for details)

    Contributors
    Akilesh_15
    Source Code: https://github.com/Akilesh-T/QACC


    Version Information
    Status: Stable
    Current Stable Version: v1.51
    Stable Release Date: 2020-1-18

    Created 2019-11-29
    Last Updated 2020-1-18
    7
    v1.50

    What's new:

    Redesigned UI.
    Create separate accent colour for dark theme [Android 10 only].
    Customise Hue, saturation and lightness of chosen colours.
    Reduced app size.

    Overlay is now installed as a normal app on Oreo [Untested].

    Added support for Oxygen OS [Untested].
    
Accents can be deleted by swiping from either side.

    Added colour preview from Styles and wallpapers app.
    
New Info screen with links and app version.

    Fragment transition animations from Android 10.


    Download link
    @thecoolkid, yeah still being worked on :D Try this.
    @chasemyass check if this works on OOS please.
    7
    v1.51

    What's new in v1.51:


    • In-app updates
      1. Get notified when there is a new update
      2. After your download is complete, click the notification to install
    • Dark theme is now #000000

    Download link
    (Won't be needed next time :D)
    7
    v1.40

    What's new:

    • Initial support for Android Oreo.
    • Support extracting colours from live wallpapers.
    • Revamped colour preview UI.
    • Refactored overlay package name creation.

    Download v1.40

    I have some personal work for the next 2 weeks or so. There won't be any updates in the meantime. If you face any issues, leave a reply here or in the telegram group.
    @thecoolkid thanks for all the testing and comments :)
    7
    Update v1.30

    What's new:


    • Add both arm & arm64 binaries (credits: Substratum)
    • Add an option to manually toggle app's dark theme
    • Allow creating multiple accents
    • Enable/disable accents
    • Remove created accents (swipe left)
    • Refactor Text Input EditText

    Download v1.30