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

Akilesh_15

Senior Member
Dec 6, 2016
163
200
63
ACC - Accent Colour Creator​

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
  • Android 8+
  • Magisk.
References
For setting custom colours

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

Last edited:

bluedog220

Member
Feb 18, 2011
37
3
38
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
415
197
73
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
200
63
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.
 

Akilesh_15

Senior Member
Dec 6, 2016
163
200
63
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.
I'm checking it. It didn't work on 7 plus running Pie, unfortunately. Will have to test on some other device.
 
  • Like
Reactions: thecoolkid

Tanner1294

Senior Member
Oct 8, 2012
294
65
0
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.
 

Akilesh_15

Senior Member
Dec 6, 2016
163
200
63
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.
Try v1.10. It has an option to manually enable it.
 

thecoolkid

Senior Member
May 20, 2014
415
197
73
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.