Setting Android 10 Dark theme on and off with adb shell - how to do it without reboot?
On root devices
To Enable Dark Mode:
adb shell &quot;su 0 cmd uimode night yes&quot;

To Disable Dark Mode:
adb shell &quot;su 0 cmd uimode night no&quot;

For Auto Dark Mode:
adb shell &quot;su 0 cmd uimode night auto&quot;