The Custom Droid

Android Tutorials, Tips and Tricks

Enable YouTube Dark Mode On Android without Root or Modified APKs

Enable YouTube Dark Mode on Android Rooted Devices

You can now get Dark Theme on YouTube Android app using a simple trick right now. In this article, we will show you how to enable YouTube Dark Mode on Android devices without root or modified APKs.

Advertisement

YouTube is a video sharing platform that is famous among the users, and also their go-to location for finding any sorts of videos. It is evidently one of the most renowned streaming services over the internet. Using YouTube on Android is fairly easy by operating the official YouTube app. It provides almost all basic to advanced features, so you can do almost everything that the standard desktop version offers. However, there is something that you still couldn’t do (Not yet at least). Google has already implemented a new feature to the desktop version, known as “Dark Mode“. Enabling which would switch the UI from light to dark theme.

APK teardown from Android Police indicated that Google is already working on the implementing the same feature to the mobile app. The feature is already rolling out to the users in stages, but it might take some time before everyone has it. If you’re not keen on waiting, then you can now easily enable YouTube Dark Mode on Android devices.

Advertisement

Enable YouTube Dark Mode on Android Rooted Devices
How to Enable YouTube Dark Mode on Android Rooted Devices

Guide to Enable YouTube Dark Mode on Android Devices without Root or Modified APKs

YouTube has both a website version and Application version for mobile devices. The dark theme on YouTube is the customization that many of the users were wishing for. This will provide a new look for the widely used video content platform. The new feature has already rolled out to YouTube for iOS. For now, Android users would have to wait until the final call is made. It was quite sad to see that Google didn’t roll out this features to Android first, considering the fact that they own the operating system. This led down many Android enthusiasts. But a simple solution to enable YouTube Dark Mode on Android was quickly found out by the passionate developers at XDA.

XDA’s Chief Editor Mishaal Rahman was able to enable Dark Theme on YouTube by modifying the youtube.xml preferences file located in /data/data/com.google.android.youtube. Unlike our previous method, we can now use the inbuilt ADB backup method to restore the modified youtube.xml file via ADB. If you are a fan of the new dark theme, then we have got you covered in this post.

Dark Mode on YouTube has its advantages as well. For instance, it will cause less strain on the eyes, especially when using in low-light environments. Somewhat similar to Night mode in phones and other apps. Go through the list of requirements before you head over to the steps and enable YouTube Dark Mode on Android.

 

 Prerequisites

Once you have fulfilled the requirements, go ahead and enable YouTube Dark Mode on Android using the steps below.

How to Enable YouTube Dark Mode on Android Devices Right Now

  1. Make sure that you have the latest version of the YouTube app installed on your Android device.
  2. Download ‘YouTubeDarkTheme_XDA.zip‘ file on the PC.
  3. Extract the downloaded ZIP file to get ‘YouTubeDarkTheme_XDA.ab‘.
  4. Copy the file to C:\adb where the platform tools are present (Refer to the image below).
    How to Enable YouTube Dark Mode on Android Devices - 1
  5. Hold the SHIFT key and right-click on an empty space inside the same folder.
  6. Then select ‘Open command window here’.
  7. With USB debugging enabled, connect the Android device to the PC.
  8. Verify the ADB connection by using the following command:
    adb devices
  9. The command should return a device ID. If it doesn’t then make sure to install Android USB drivers on the PC properly.
  10. Enter the following command to enable YouTube Dark Mode on Android:
    adb restore YouTubeDarkTheme_XDA.ab
  11. If you’re using Terminal on macOS or Linux, then use the following:
    ./adb restore YouTubeDarkTheme_XDA.ab

    How to Enable YouTube Dark Mode on Android Devices - 2

  12. As soon as the command is executed, you shall see a “Full restoration” prompt on the device screen, asking for a password.
  13. Since the file does not require any password, simply tap on ‘Restore my data’ option.
    How to Enable YouTube Dark Mode on Android Devices - 3
  14. After a few seconds, the prompt will automatically close.

Simply open the YouTube app on your device. You will see that the bright white background in the app is replaced by the dark theme. It is not pure black as OLED users might have wished for. The dark theme available on the YouTube website has created a wave. This made a lot of users requesting the developers for a dark theme on the mobile platform as well.

To conclude, it is a good sign from the YouTube developers since they respond to the users’ wishes and update their preferences with respect to the customer demands. We hope that you will find this post useful to enable YouTube dark mode on Android. For queries drop a comment below.

Source

About the Author

Founder and Editor-in-Chief

Dhananjay has more than 11 years of experience in Android software customization and development, and has spent the past 10 years writing about it. He spends most of his prime time reading, learning and writing about Android and other open-source projects. He is also a community-taught web developer. Apart from that, he loves mountain biking and playing video games on his PlayStation.

Comments 4 Comments

    1. Hi Jay. Just clear the YouTube app’s data from the Settings, this should revert the changes.

  1. Thanks for the clear steps on how to get this done. I downloaded the app and searched for the settings but could not find anything. Is there a specific version of YouTube that this works for? I am on my Pixel 2 XL which I believe has the latest version of YouTube (1310593400). Thank you in advance.

    1. Hi Ruben, the same happened to me as well on my Pixel 2 XL. As a matter of fact, the above screenshots have also been taken from the same device. In that case, you will need to create those two boolean values and set them to true.

      Under “youtube.xml”, simply tap the plus (+) icon on the top. Select “Boolean” and add the strings given above. Then just save and relaunch YouTube app.

Leave a Reply

Comments are moderated, and published only if they are relevant to the topic and add value in a constructive way. If you disagree with something, please be polite and respectful. We suggest you read our comment policy before commenting.