[Xposed] MIUI 12 Global Dark Mode Disabler cover image
[Xposed] MIUI 12 Global Dark Mode Disabler icon

[Xposed] MIUI 12 Global Dark Mode Disabler

superl2 · tk.hacker1024.miuiglobaldarkmodedisabler

0.0 100 100 v1.0 1.2 MB SDK 29+ PEGI-3 · Everyone

[Xposed] MIUI 12 Global Dark Mode Disabler screenshot 1 [Xposed] MIUI 12 Global Dark Mode Disabler screenshot 2
UpdatedJun 1, 2023
PublishedJun 1, 2023
Packagetk.hacker1024.miuiglobaldarkmodedisabler
MD583aa5746931e7c67682bcf864adf803e
SHA1 (signer)D4:6E:8F:11:F4:4E:44:65:E4:0B:D9:40:F1:00:42:6E:B4:35:D5:8F
Signed byCN=hacker1024
Malware scanUNKNOWN
Websitehttps://forum.xda-developers.com/xposed/modules/miui-12-miui-global-dark-mode-disabler-t4118621
Contact[email protected]
Privacy policyView

What's new

Initial release!

Description

https://repo.xposed.info/module/tk.hacker1024.miuiglobaldarkmodedisabler

Since MIUI 12, MIUI enables a system flag to forcibly "convert" light app resources and assets to darker colors. This causes graphical issue in several apps, which is why this is just a developer option in AOSP.

Unfortunately, it seems Xiaomi don't care about third-party apps, other than the ones they've whitelisted to disable by default inside MIUI's code.

Despite the setting being modifiable with an ADB command, MIUI resets the setting on boot - hence the need for this Xposed module.

This module stops MIUI forcing nonsupporting third-party apps to display darker colors.

For MIUI 12 and Android 10 only.

Take a look at the source code if you want to know what MIUI code's hooked to achieve this - It's fully documented.

As this was a fairly simple mod, I've chosen Java over Kotlin for reduced app sizes and performance overhead.

Enjoy!

https://github.com/hacker1024/MIUI-Global-Dark-Mode-Disabler

Required features

Tags

Related apps