[Xiaomi Mi A3 Guides, News, & Discussion] Typhus_:
One of the major features included on Android 10 is the "Dark Theme" that gets applied system wide on our Android devices.

Stock

Android Pie (9) has a somewhat preview of this dark theme (that can be enabled on Settings) and, also, it has an auto change at night option (that can be enabled on Developer Settings)

but

, and I really don't know why Google did this,

not everything gets changed to dark on default AOSP based ROMs

.

If we enable the "Battery Saver" mode we can experience an overall dark mode system wide (and on almost all Google Apps...except for Messages app...). But, even with battery saver mode on, the Settings remained with a Light theme. This was something that really annoyed me...until

now

!

Time to change this!

HOW TO ENABLE DARK THEME SYSTEM WIDE ON ANDROID PIE:

Root

your device with Magisk

Install MacroDroid App

Download Typhus_Pix3lify_MOD.zip (or Typhus_Pix3lify_BLACK_MOD.zip, if you prefer black instead of dark material grey) and install it on Magisk

Download AutoDarkMode.mdr and import it to MacroDroid

NOTES:

1 - The Magisk module present on this thread is

an edited version

of Pix3lify Magisk module created by [MENTION=4936496]joeyhuab[/MENTION]. I've removed

a lot

of stuff present on the original module keeping only the Pixel framework overlay and, also, I've added a

Dark Settings Theme Overlay

. Because of this, if you are already running Pix3lify on your device, please uninstall it (flash the zip module again to completely uninstall it) before installing this modded version.

2 - After importing the "AutoDarkMode.mdr" macro template, you'll have 2 macros available:

BatterySaver -> Besides enabling/disabling the Dark overlays, it enables/disables the

battery saver mode

which, in return, will

enable the Dark Mode everywhere

on your device and on almost all Google Apps (this macro is disabled by default...not everyone wants the device on battery saver mode and, also, it gets disabled when you charge your device...)

DarkSettings -> It only enables/disables the Dark overlays (this macro is enabled by default)

3 - Although the DarkSettings macro enables all dark overlays, you should enable the auto switch to night mode feature on Developer Settings as well, so that other Google Apps get changed to dark.

4 - The Sunrise/Sunset triggers on MacroDroid will only work after you setup your correct location on the App.

5 - Sometimes MacroDroid does not execute the action based on this type of trigger. I believe it has got something to do with battery optimization. If you face issues, meaning, if the triggers don't start the actions please just disable Battery Optimization on MacroDroid app.

6 - If you want, you may install Nova Launcher since, with it, you can change even more things to dark automatically.

7 - This was tested on my device (Xiaomi Mi A3) running on

stock Android Pie

. But I think that this MOD should be compatible

with any device running Android Pie on AOSP based ROMs

.

8 - If you have any doubts and/or questions, please reply to this thread.

Screenshots:

Home Screen

Google App

Quick Settings

Settings Home Screen

Sound Sub Settings

USB Sub Settings

​

More screenshots:

You may find more screenshots HERE, HERE and also, HERE!

Credits:

[MENTION=4470081]topjohnwu[/MENTION] (for Magisk)

[MENTION=4936496]joeyhuab[/MENTION] and all Pix3lify MOD team (for Pix3lify original Magisk Module)

Substratum theme engine Team (for everything overlays related)

MacroDroid Team (for MacroDroid)

[MENTION=2126467]djdarkknight96[/MENTION] (TeamBlackOut - Sprite theme Developer) for his help on fixing things

[MENTION=6425591]SpiritCroc[/MENTION] (for kindly publicly share his DarkCroc-Android-theme on GitHub)

Cheers!