The inability to change the accent color has been raised numerous times on this forum and elsewhere. This thread also discusses options towards this end but it’s not a simple, copy-pastable solution anyone can make use of.
I have begun to investigate which color variables need to be overlayed and while it’s not perfect, it does cover most of what I care about. I might update this in the future but please feel free to contribute as well. I have root, I’m not sure if this works without it.
Steps
adb shell
su -
nano /data/adb/boot-completed.d/change_accent_color.sh
Paste this, save, and exit:
#!/system/bin/sh
su -
# Wait a bit more for SystemUI/overlay manager.
sleep 10
COLOR=0xffffd900
COLOR_MUTED=0xff7f6c00
COLOR_BG=0xff171717
# brightness slider (QS)
cmd overlay fabricate --target com.android.systemui --name fp6_brightness_slider_track com.android.systemui:color/brightness_slider_track 0x1c $COLOR_MUTED
cmd overlay enable com.android.shell:fp6_brightness_slider_track
cmd overlay fabricate --target com.android.systemui --name fp6_brightness_slider_overlay com.android.systemui:color/brightness_slider_overlay_color 0x1c $COLOR
cmd overlay enable com.android.shell:fp6_brightness_slider_overlay
# main accent color (also available for light theme)
cmd overlay fabricate --target android --name my_accent_device_default_dark android:color/accent_device_default_dark 0x1c $COLOR
cmd overlay enable com.android.shell:my_accent_device_default_dark
# Google calendar widget background
cmd overlay fabricate --target android --name my_accent2_800 android:color/system_accent2_800 0x1c 0xff000000
cmd overlay enable com.android.shell:my_accent2_800
# power menu text
cmd overlay fabricate --target android --name my_accent2_50 android:color/system_accent2_50 0x1c $COLOR
cmd overlay enable com.android.shell:my_accent2_50
# QS Bluetooth dialog switch
cmd overlay fabricate --target com.android.systemui --name fp6_settingslib_track_on com.android.systemui:color/settingslib_track_on_color 0x1c $COLOR
cmd overlay enable com.android.shell:fp6_settingslib_track_on
cmd overlay fabricate --target com.android.systemui --name fp6_settingslib_thumb_on com.android.systemui:color/settingslib_thumb_on_color 0x1c $COLOR_BG
cmd overlay enable com.android.shell:fp6_settingslib_thumb_on
cmd overlay fabricate --target com.android.systemui --name fp6_qs_dialog_button_bg com.android.systemui:color/qs_dialog_btn_filled_background 0x1c $COLOR
cmd overlay enable com.android.shell:fp6_qs_dialog_button_bg
# Restart UI
killall com.android.systemui
You may, of course, adjust the colors as you wish. Files in that folder are executed during boot. For that to work, make sure to set the permission:
chmod +x /data/adb/boot-completed.d/change_accent_color.sh
Finally, reboot and enjoy ![]()
My Setup
So that you can maybe gauge why it’s not working for you:
I have a FP6 with unlocked bootloader, originally with Android but re-flashed with /e/os and rooted via APatch. I have /e/os version 4.2.