Xda-Developers | How to set a schedule for Android 10’s dark mode

Solid Android 10 is now to be had for all generations of Pixel smartphones and the Crucial Telephone, and it brings a plethora of highly-requested options akin to remodeled gesture navigation and system-wide darkish mode. The latter characteristic is most likely essentially the most impactful since it is ended in many programs including darkish topics, akin to Gmail, the Google Play Retailer, and extra. In early Android Q betas, you have been ready to time table the darkish mode toggle in keeping with the time of day, just like Night time Gentle. On the other hand, Google removed that possibility as a result of it would negatively impact the person enjoy by way of all of sudden restarting programs if you are the use of them. Fortunately, with a third-party app, you’ll convey again Android 10 darkish mode scheduling.

I showed this app works on my Pixel 2 XL working the strong Android 10 free up. All I needed to do was once set up it and run a unmarried ADB command to grant it permission to switch the surroundings that controls the system-wide darkish mode toggle. ADB, or Android Debug Bridge, is a developer device that can be utilized to keep an eye on more than a few choices for your telephone; it is most commonly used for construction, nevertheless it will also be helpful to grant permissions that the Android OS another way would possibly not permit you to grant. As long as you might be cautious about what apps you might be granting permissions to, you can be protected. Oh, and working this command would possibly not void the guaranty in any respect.

After you grant the app the correct permission, the app then handles converting the darkish mode in keeping with your preferred time table. The most efficient section is that it additionally has an method to handiest exchange the energetic theme when the telephone is locked. That method, an app would possibly not all of sudden restart on you if you are the use of it. Now, here is the best way to set it up.

Computerized Darkish Theme for Android 10 screenshots, retrieved from the app’s Play Retailer record.

Necessities:

  • Android 10 (strong, beta, or customized ROM): Recently to be had in strong on all Pixel smartphones and the Crucial Telephone, but in addition to be had in beta for the Huawei P30 Professional, the Xiaomi Mi 9, the Redmi Ok20 Professional (“strong beta”), and lots of others. Customized ROM customers too can benefit from this app.
  • ADB put in for your PC. Directions for the best way to set it up for your Home windows, macOS, or Linux PC can also be discovered right here.

Steps:

Computerized Darkish Theme for Android 10 (Unfastened, Google Play) →

  1. Set up the “Computerized Darkish Theme for Android 10” app from the Google Play Retailer. You’ll be able to both click on at the hyperlink within the field above or click on right here.
  2. Plug your telephone into your PC and open a command instructed or terminal window in the similar listing the place you downloaded the ADB binary.
  3. Open the app for your telephone.
  4. Run the next command:
    Home windows 10 Command Steered:
      adb shell pm grant com.cannic.apps.automaticdarktheme android.permission.WRITE_SECURE_SETTINGS  

    Home windows 10 PowerShell:

      .adb shell pm grant com.cannic.apps.automaticdarktheme android.permission.WRITE_SECURE_SETTINGS  

    macOS/Linux Terminal:

      ./adb shell pm grant com.cannic.apps.automaticdarktheme android.permission.WRITE_SECURE_SETTINGS  
  5. Revel in the use of the app! You’ll be able to customise the app habits quite by way of converting whether or not you need the app to just toggle the darkish mode when the telephone is locked. You’ll be able to additionally conceal the notification that the app posts; this notification is essential for the app to run within the background so it may possibly exchange the darkish theme on time table with out getting killed by way of the Android OS.

The developer of this app says that they plan on including darkish mode scheduling in keeping with the dawn and sundown time table in addition to an method to conceal the app icon from the app drawer. It is a reasonably easy app that does its task simply effective, however those added options will make Android 10 darkish mode scheduling really feel like a local characteristic.


Be aware: Whilst you’ll technically automate the darkish mode in Android 10 the use of an automation app like Tasker, this app is loose to make use of and serves just a unmarried function. In case you are fascinated with automation typically, I extremely suggest finding out the best way to use an app like Tasker.

The publish The way to set a time table for Android 10’s darkish mode gave the impression first on xda-developers.