One of the most requested features for MuditaK OS is Do Not Disturb. I would argue that without a way to activate it, a standard android phone is more conducive to quietude than the Mudita Kompakt. Especially in the USA, where we receive more than 3x the spam calls and texts that users in other nations receive, a phone that can’t be put into DND mode is always going to be more disruptive than one that has the feature readily available.
So, here is what you can do to allow notifications from starred contacts only, without side loading or using a non-factory UI:
Enable USB debugging and connect your Mudita Kompakt to your computer with the ADB tools installed on it. (There are plenty of tutorials online that will get you to this point, but it is beyond the scope of this post to.)
If everything is connected properly, an ADB command of ‘adb devices’ should return your device name in its list.
Enter the following ADB commands to set priorities manually in the underlying Android system:
If you want only contacts to cause the phone to ring or give a text notification, end the following commands with the number 1 instead of the number 2. The number 2 at the end allows only STARRED contacts to cause the phone to ring or give a text notification.
-
adb shell settings put secure zen_mode_priority_call_senders 2
-
adb shell settings put secure zen_mode_priority_message_senders 2
The following commands will strictly enforce your preference by closing loopholes that spam callers/texters sometimes exploit to bypass DND settings:
-
adb shell settings put secure zen_mode_allow_repeated_calls 0
-
adb shell settings put secure zen_mode_priority_conversations 3
After you have entered these four commands, your Kompakt is still not enforcing your preferences. In order to toggle the phone to Do Not Disturb mode, enter the command:
- adb shell cmd notification set_dnd priority
If you want to turn Do Not Disturb back off, but keep your DND preferences saved for later, simply enter the following command:
- adb shell cmd notification set_dnd off
It took me quite some time and a lot of running down dead ends and methods that don’t work or require side loaded apps to finally hit on this method that actually works with what comes from the factory. I hope it works for you as well and saves you hours of frustration.
UPDATE:
I have figured out that this will completely silence everything, including keyboard and system sounds. (Music will still work because it is in a different MEDIA stream category.) It does this because the MuditaK OS has an empty table of values defined under PRIORITY; whenever DND is set to ‘Priority’ instead of ‘off’, it silences everything since there are no exceptions defined by default. When I attempted to use the integer method to make exceptions of system sound channels, the OS did not recognize the integer and defaulted to empty, so it continued to silence everything. Hopefully this failed attempt will help someone else build on it and solve the problem.
If you have followed the above directions, you can reverse this effect with the following ADB commands:
-
adb shell settings put global zen_mode 0
-
adb shell cmd notification set_dnd off
-
adb shell settings put system sound_effects_enabled 0
-
adb shell settings put system sound_effects_enabled 1
Things should be back to normal, but still no effective DND. I will keep working on the process and update again when and if I get it working. Until then, keep praying to the Mudita gods for the inclusion of the one feature that would make the Kompakt a mindfulness-promoting device by stopping all the spam calls and text notifications.