I have a Nexus 5 with the last CyanogenMod nightly (12.1 20150917). I have a bug with the live display. Since the auto mode doesn't switch automatically, I have installed Automate, an app that uses the Android API to do tasks.

To fix the bug, I would like to create a task to switch in the night mode at a specific time, but unfortunately, there isn't the Live Display in Automate. Is there a way to set the night mode through the terminal?

  • There are some keys in the system table of settings.db that may come helpful to you. See this reddit thread: reddit.com/r/tasker/comments/2yh6qw/… – Firelord Sep 17 '15 at 23:54
  • Thanks a lot, the commands in the reddit thread work perfectly – user127831 Sep 18 '15 at 22:35

The Night mode set block should be able to toggle night mode. There's no block for changing Live Display, but it might be possible to change the system settings for it, using the System setting set block, see @Firelord comment for the possible setting names and values.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy