I need to change time on my phone while screen is powered off (because of some notifications I need to test).
On other devices I did this in adb shell as root by typing:
date -s "YYYYMMDD.hhmmss"
But on this device my command has no effect (just printing out current time).
Do you have any advices?