In order to fulfill the basic functions of our service, the user hereby agrees to allow Xiaomi to collect, process and use personal information which shall include but not be limited to written threads, pictures, comments, replies in the Xiaomi Community, and relevant data types listed in Xiaomi's Private Policy. By selecting "Agree", you agree to Xiaomi's Private Policy and Content Policy .


[Tips] Toggle system-wide dark mode using ADB

2019-07-03 13:33:43
25780 47
For those of you who cannot wait until miui 11 - here is a easy trick to activate dark mode

How to enable dark mode
  • Connect your device to your PC , open command prompt  in the same directory where ADB binary is stored
  • Enable Dark Mode: adb shell settings put secure ui_night_mode 2     Disable Dark Mode: adb shell settings put secure ui_night_mode 1
  • Reboot your phone to get the system-wide dark mode

*before doing these change your theme to classic version

*enable usb debugging security settings as well - once you activated dark mode you can turn it off.

im using global rom with locked bootloader

attached some screen shots for reference


Number of participants 1 Experience +5 Pack Reason

View Rating Log

2019-07-03 13:33:43
Favorites38 RateRate

Advanced Bunny

5166701040 Author | from app


2019-07-03 14:26:02
Source :
'How to toggle Android Q’s hidden system-wide dark theme'
2019-07-03 15:23:27
Super ModeratorMi Global Community
POCO F1 | Mi MIX 3 | Mi 8 | Redmi Note 9/S/Pro/Max | Redmi 9 series | Redmi Note 11 series

Wizard Bunny

pawanthapa | from Redmi Note 7


very nice thanks for sharing
2019-07-03 16:51:33

Semi Pro Bunny

pravakar2 | from app


thanks for sharing the information
2019-07-03 17:19:48

Master Bunny

Emeey100 | from Redmi Note 5A Prime


will it work on Android 7?
2019-07-03 17:37:17


Ian Adoe | from Redmi Note 5A


for all device...?
2019-07-03 18:04:05

Grand Master Bunny

Seragios | from Redmi 5


Thanks for sharing
2019-07-03 18:05:42

Advanced Bunny

5166701040 Author | from app


will it work on Android 7?

you can try , but it won't be a system wide like you see in android 9 .
2019-07-03 18:50:03

Advanced Bunny

5166701040 Author | from app


Ian Adoe
for all device...?

It was for android 9 pixel devices, if it works for pocophone , it might as well work in other android 9 devices   
2019-07-03 18:53:19
please sign in to reply.
Sign In Sign Up


Advanced Bunny

  • Followers


  • Threads


  • Replies


  • Points



Read moreGet new

Xiaomi Comm APP

Stay updated on Mi Products and MIUI

Copyright©2010-2021, All Rights Reserved
Quick Reply To Top Return to the list