How to plan the dark theme Android 10



[ad_1]

The dark theme of Android 10 is one of the most anticipated features of the update, but it lacks some options that users want. One of them is the ability to program the dark and bright themes of Android 10 according to the time of day. It's now possible, thanks to a third-party developer.

Nomadic shell for Pixel 3

Originally, Google had planned a native method to schedule a switch between dark and light themes within Android. However, the company has confirmed that this option has been removed due to problems restarting applications after switching themes. This developer, however, has managed to find a way around this.

NOTE: This process uses a third-party application that requires ADB commands from a computer and some permissions to function. Proceed at your own risk.


How to plan the dark theme Android 10

  1. Download "Automatic Dark Theme" on Google Play
  2. Connect your phone to a computer with ADB commands
  3. Enter the required ADB commands
  4. Set a timetable for Android 10 dark theme

Download "Automatic Dark Theme"

The first step in this process is as simple as downloading an app from Google Play. The free application Automatic Dark Theme is installed on any device equipped with Android 10 and contains all the settings to schedule switching between the two modes. However, the application will not work as soon as it is installed because it requires some ADB commands to be started.

Connect your phone to a computer with ADB

The next thing you will need to do is to have a handy computer with ADB commands available. This could include a Windows, Mac, or Linux computer. To get started, you will need the ADB command line tools, which you can download here.

<img title = "How to plan the dark theme of Android 10 at any time of the day" class = "aligncenter size-full wp-image-311144" src = "https: // 9to5google. com / wp-content / uploads / sites / 4/2019/09 / android_adb_pixel_3_1.jpg? quality = 82 & strip = all "alt =" android adb pixel 3″ width=”1000″ height=”500″ srcset=”https://9to5google.com/wp-content/uploads/sites/4/2019/09/android_adb_pixel_3_1.jpg 3000w, https://9to5google.com/wp-content/uploads/sites/4/2019/09/android_adb_pixel_3_1.jpg?resize=155,78 155w, https://9to5google.com/wp-content/uploads/sites/4/2019/09/android_adb_pixel_3_1.jpg?resize=700,350 700w, https://9to5google.com/wp-content/uploads/sites/4/2019/09/android_adb_pixel_3_1.jpg?resize=768,384 768w, https://9to5google.com/wp-content/uploads/sites/4/2019/09/android_adb_pixel_3_1.jpg?resize=1024,512 1024w, https://9to5google.com/wp-content/uploads/sites/4/2019/09/android_adb_pixel_3_1.jpg?resize=350,175 350w, https://9to5google.com/wp-content/uploads/sites/4/2019/09/android_adb_pixel_3_1.jpg?resize=1600,800 1600w, https://9to5google.com/wp-content/uploads/sites/4/2019/09/android_adb_pixel_3_1.jpg?resize=290,145 290w” sizes=”(max-width: 1000px) 100vw, 1000px”/>

Run these ADB commands

Once the application is installed and the ADB is ready on your computer, you need to run the commands below (via XDA).

  • The Windows: adb shell pm grant com.Cannic.applications.automaticdarktheme android.authorization.WRITE_SECURE_SETTINGS
  • Mac / Linux: ./adb shell pm grant com.Cannic.applications.automaticdarktheme android.authorization.WRITE_SECURE_SETTINGS

Once the ADB command is running, open your device, open the Automatic Dark Theme app and press the "Check Permissions" button (see below) to make sure everything is working properly.

This is not necessary, but once this step is over, it is probably a good idea to reboot your device.

Set a schedule for the dark theme Android 10 in the app

Once the necessary permissions have been granted via ADB, you can return to the application on your device. From there, setting the dark theme of Android 10 on a calendar is as simple as choosing a start time and an end time. These times are fully customizable according to your preferences.

Notably, a default setting ensures that the theme will not switch from light to dark, or vice versa on Android 10, unless the device is locked. This prevents applications from reloading or restarting when you actively use them. This is a pretty clever little option that Google would like to implement officially. Of course, we strongly recommend that you leave this option enabled.

More on Android 10:


Check out 9to5Google on YouTube for more information:

[ad_2]

Source link