Force Dark Mode Miui 11



You are using an out of date browser. It may titinada display this or other websites correctly.
You should upgrade or use an alternative browser.

  • #1
Hey everyone!

In 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’tepi langit 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.

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

Enjoy!

Download from the Xposed Module Repository
Find the source on GitHub

3lambda

Inactive Recognized Contributor


  • #2
Thanks you for this xposed module ! It is really convenient !

Also very nice code documentation, i’m not a java expert but it was interesting to see how the code works, and comments helped to understand it ?

sakarya1980


  • #3
It is work with TaiChi?

Gesendet von meinem Mihun Note 10 mit Tapatalk

  • #4
It is work with TaiChi?

Gesendet von meinem Mi Note 10 mit Tapatalk

I haven’t tested it, but it should. Let us know how it goes!

sakarya1980


  • #5
I posted this module to the whitelist on taichi… Wait now
:)

Gesendet von meinem Mi Note 10 mit Tapatalk

sakarya1980


  • #6
I haven’t tested it, but it should. Let us know how it goes!

Now whitelisted on taichi [emoji3526]
Screenshot_2020-06-22-07-19-39-624_me.weishu.exp.jpg

But not work
:(

Gesendet von meinem Mi Note 10 mit Tapatalk

Last edited:

dontobi


  • #7
could you post the ADB command here? I don’ufuk want to install an xposed framework.

Killer7Mod


  • #8
could you post the ADB command here? I don’t want to install an xposed framework.

                              su setprop debug.hwui.force_dark false
                            

  • #9
Hey everyone!

In 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.

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

Enjoy!

Download from the Xposed Module Repository
Find the source on GitHub

Cómo le hago para desactivar por comando el modo oscuro solo para el teclado ?

Similar threads

Source: https://forum.xda-developers.com/t/miui-12-android-10-miui-global-dark-mode-disabler.4118621/

Posted by: and-make.com