1

What is the shell command to enable/toggle silent mode on an Android phone?

I ask because the Tasker app can run shell commands but only can enable vibration for my specific phone model.

5
  • So you're saying Tasker's Do Not Disturb action doesn't work on your phone? May be try MacroDroid app because without root access there is no point asking for a shell command.
    – Firelord
    Commented Nov 26, 2017 at 7:44
  • Tasker only supports Vibrate, it reds out the Silent Mode. I have root access.
    – Med
    Commented Nov 26, 2017 at 14:44
  • MacroDroid seems to only have Do Not Disturb mode, no Silent mode.
    – Med
    Commented Nov 26, 2017 at 14:50
  • Silent mode was replaced by Do not Disturb. support.google.com/nexus/answer/6111295?hl=en Does DND fails to meet your needs?
    – Firelord
    Commented Nov 26, 2017 at 16:32
  • Correct, DND doesn't mute mini alarms like those from hourly chimes. Silent Mode still exists in my version--so its weird how Tasker doesn't allow toggling of it in this version..
    – Med
    Commented Nov 26, 2017 at 22:29

1 Answer 1

0

The settings is supposed to be called mode_ringer.

I can read its current status via adb shell settings get global mode_ringer.

However, changing its value does not seem to produce any effect and i'm still investigating why...

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .