If you are unable to find the dark theme in Android Q, that’s because Google has removed it from the first beta release of Android Q. However, if you are willing to enable to disable dark mode in Android Q, here is what you need to do. You can turn on or off the system wide dark mode in Android Q Beta version.
There are many people, who are stuck with the light theme and some are who are stuck with the dark theme. As Pixel phones have OLED display, this is very important to use the dark theme to save the battery life. However, if you had dark mode or theme in Android 9 Pie and you have installed Android Q Beta, your system is using the dark mode. The exact opposite thing is correct as well. That means if you had a light theme before installing the Android Q, your new system is using the same light theme.
In the latest beta release, Google has removed the option from Settings that allows users to toggle dark theme in Android mobiles. That is the reason, why you cannot find the general option in the Settings > Display. However, Google has not removed the corresponding package from the system and that is why you can use ADB to enable or disable dark mode in Android Q.
Before following the below steps, you have to do two things. First, you need to enable USB Debugging on your Android phone. Second, you need to download ADB for Windows, Mac, or Linux.
To enable USB Debugging, you can go to Settings > About Phone. Here you can find Build number. Tap on this Build number seven times.
It will unhide the Developer Options. After that, go to Settings > System > Developer options. Here you can find an option called USB debugging. Use the toggle button to enable it.
After that, download the ADB for Windows/Mac/Linux from here and extract the ZIP file.
How to Enable or Disable Dark Mode in Android Q using ADB?
To toggle dark mode in Android Q using ADB, follow the following steps.
- Connect your phone to a computer via USB cable and set the USB Preferences as File transfer.
- Open Windows PowerShell (on Windows PC) or Terminal (on Mac/Linux) in the extracted folder.
- Enter this command to check connected devices:
- On your phone, hit Allow.
- Enter this command to enable dark mode in Android Q
adb shell settings put secure ui_night_mode 2
- Enter this command to disable dark mode in Android Q
adb shell settings put secure ui_night_mode 1
- Restart your phone to get the change.
Don’t forget to use .\ if you are a Windows user and ./ if you are a Mac or Linux user. Otherwise, the command won’t work and you will get some specific error message.
This is not confirmed why Google removed this functionality. According to some people, Google is trying to polish the dark theme for the stable release and that is why they have temporarily ditched it in the first beta release of Android Q. However, this system-wide dark theme package is present in the system and that is why the ADB works smoothly.
Special thanks to Mishaal Rahman, XDA Developers. His genius discovery helped us to write this article on how to enable or disable dark mode in Android Q.