Modding alert slider to go into Do Not Disturb mode? - OnePlus 8 Questions & Answers

Hi everyone,
I'm finding that the standard alert slider behaviour (ring / vibrate / silent) is not useful, as it's hard for me to go into Do Not Disturb mode. In the old OnePlus models this was standard, but now it's not available. I can't quite understand that, as DND is objectively better than Silent since it can do everything Silent can do plus more configurability. Anyways...
Is there any way to mod this behaviour back into the phone? I.e. is there a custom ROM or otherwise that supports modifying the alert slider behaviour? Any other ways? I read about using Tasker to read the state of three_Key_mode but this doesn't seem to work for me.
Thanks in advance,
Douglas

OK, so with a bit of playing around in Tasker, I finally got this working.
The Custom Setting to look for is the "oplus_mode_ringer" which, when set to 0, indicates that you have the slider set to Silent.
Then in your task, you first need to set DND. Then you need to set mode_ringer to 2 and alert_slider_mode to 3 if you want to retain the ringing.

Related

[PARTLY SOLVED][NEED HELP] Set ring/sms to vibrate WITHOUT altering sound volume

Hi,
I'm searching for a tool, preferably command line driven with options, to do something quite unusual : Set Ring/SMS notifies to "vibrate" but WITHOUT altering the global sound volume.
I recently evaluated PhoneWeaver which is quite neat and highly configurable and I was able to do that. I altered the profiles (night/day) in order to set all notifies to vibrate but at the same time, kept the global volume configuration untouched!
Unfortunately, PhoneWeaver is a bit overkill for what I really need and I don't need a so featured software.
Why would I want that ? Simple... late at night when I go back home, I love listening music with my neat headphones but if I receive a phone call, I want it to be quiet
Setting volume mode to "vibrate" puts the volume at mute level so I can't enjoy my music.
Anyone knows how to achieve that ?
Well,
I've investigated as far as I could and found a partial solution that works for now only for SMS.
Using the amazingly excellent MortScript, I could alter registry to make SMS notification behave like I want :
HKCU\ControlPanel\Notifications\{A877D65B-239C-47a7-9304-0D347F580408}
and set "Options" to DWORD "2" for "Play sound" and "1" for "Vibrate".
Well, it's fine for SMS but I can't get it to work for the Phone part. HKCU\ControlPanel\Notifications\Phone => Options
seems to have NO effect.
Altering HKCU\ControlPanel\Sounds\RingTone0 => Script
to switch between "apw1r" (Play sound) and "av1r" (Vibrate) does not produce a real time effect (only after soft reset).
Anyway, it works when using "Sounds and Notifications" applet directly so it seems that I lack a simple "refresh system" command to make it take these news settings effective.
Any clues on achieving that goal ?
Thanks.

Universal, System-wise Vibration Control that is Integrated into Volume Control

Hello folks,
I'm currently having this concern for my Nexus 5, running Franco's Kernel and Power toggle for sound profile switch, i.e. no sound - vib - sound only - sound+vib.
However, I noticed that switching sound profile using Power Toggle only applies to limited apps. For example, the ringer of the phone is of course under control by this toggle. However, I noticed that this toggle fails to control the vibration behavior of other apps such as Gmail and WeChat. I'm sure there are more examples but these two apps are of my daily use so I noticed immediately. To clarify, I'm talking about the situation when the phone would still vibrate on incoming emails in Gmail, even though I toggled to no sound or sound only profile in Power Toggle. It looks like this has nothing to do with Power Toggle because Android simply handles vibration behavior on a per-app basis.
For this reason, I am looking for a solution to handle the vibration behavior of the phone on a universal basis. I'm trying to achieve the behavior of the phone that is similar to iPhone (excuse me), where I can completely kill the vibration of the phone on one click (or toggle of the hardware button). iPhone 4 was my last iPhone but this simple "kill all vibration" feature is still so good to me.
The only thing I find now is to tweak vibration strength within the Franco Kernel settings. But we all know it's not an on-the-fly operation. I have to go into FKU app, hit Kernel Settings, and enter 0 for vibration amp. I wonder if there is any app that can integrate this operation into sound profile toggle, so when I toggle it into "no sound" or "sound only" mode, the vibration amp is automatically set to 0.
I know this sounds like a hassle but I really cannot think of another way of implementation, because it looks like Android's vibration is not universally controlled from the start? Correct me if I'm wrong, as I have no idea of coding or anything. Meanwhile, if what I guessed is true, it looks like the only viable solution is to find an app or widget that toggles between sound profiles while being able to set vibration amp to 0 through tweaking the Franco Kernel.
Thanks for your help!
Anyone? No one is annoyed by vibration when you want to set your phone completely silent?

[Q] how can I *ENABLE* system sounds within silent mode?

Everywhere I look, people are trying to silence all their system sounds with or without using silent mode. My wish, however, is quite the opposite.
I want to be able to have system sounds (lock / unlock / touch sounds, etc.) ON while having notifications and rings set to SILENT.
Even specialized apps like Ultimate Sound Control have system and ringer sounds linked. Can't mute or enable one without the other.
And I don't want to set ringer to silent and all notifications to silent and then increase volume. No, that would not be practical. I want to be able to use silent mode toggle to turn ringer/notification sounds and all ON when needed.
Am I the only weird one around? Is everyone so determined about this that Android has no possibility to do this?
Thank you if you have any solutions. My N5 is rooted, by the way.
Don't think it's possible. Sorry.

How do you mute Media volume with the rest of the audio sliders?

I have the T-mobile S7.
Ever since I got my S7 when I have my phone on silent or vibrate, when an email comes in with my Gmail the notification sound plays. I have work email on my phone, but those new emails don't play through when on silent. Some other notifications also play through. I think from Google Hangouts and TXT messages. And I think Visual Voicemail notifications.
I can't seem to find anyone talking about this in my research. I have had several OTA updates from T-mobile and the issue is still there. I can't seem to figure out why some things have notifications that sound when the phone is in silent and vibrate mode. I have never had a phone do this before.
UPDATE: 2016.04.10
I still have the issue. I attached a screenshot of what is going on. The Media volume slider is not muting when I switch to Vibrate or Silent modes. The phone has had several OTA updates since I bought it and this still doesn't get fixed. I have the Moto G 3rd gen with Marshmallow as well and it doesn't have this issue. never had a phone with this issue. I am getting really tired of the work around, which is to manually mute and unmute the Media volume which takes several steps each.
I have two S7's and both have this issue.
Also, please don't suggestion the Do Not Disturb feature. Unless there is a way to have a simple toggle on and off of that feature with a pre-set of Total Silence, that solution does not help. So insane that silent mode is NOT silent!
Looks like I can toggle the DND shortcut and have moved it near the Mute/Sound/Vibrate button. Set DND to Total Silence. But still researching to see if the settings I use in the toggle affect the scheduled DND settings. As I only want Total Silence with the toggle, but at night I want my custom DND settings via the Scheduled DND.
Use macrodroid, e-robot or any other tasker-like app.
For MacroDroid, this particular macro does NOT require root:
1) Trigger volume button down, continue
2) Action Set music volume to media slider value 0
3) Constraint ringer volume is silent or vibrating
The above works ONLY when you use the volume down button. When the ringer volume reaches 0, it will also zero the media volume. It won't work if you use the Sound mode to change the ringer to silent or vibrate. You can program another macro to do the un-mute as well.
There are also other ways, such as through macro that is triggered by screen off, and change the media volume to 0 using the constraint of ringer volume being 0. This will work with Sound mode or DND, just not not immediately but when the screen turns off.
Sorry, I am looking for a stock method to this issue. Otherwise I think the general forum area would be a better place for me to ask about 3rd party apps. Right now I am still testing the DND options now that I see that I can toggle DND from the pulldown without having to choose DND options each time.
Darn it! DND is useless for this issue. If I leave the Sound toggle alone and on Sound, the DND does not affect things like unlock sound, key sounds, etc. etc. Silences calls and alarms, but the "total silence" option is NOT total silence. So I am still looking for a stock way to toggle mute and unmute of the entire sound system.
I just purchased a Note S8 and I'm having the same problem. There needs to be a simple and instant mute button so that if you need to mute in a hurry you can. If I am not overlooking it, it's ridiculous that they don't have them on these phones. I am used to using a Motorola and they always have had an easy way to quickly turn the sound off of my phone. The only way with this one is to hold down on the volume button and with a case it makes it even more difficult. I guess I'll just sit on it. $1000. Right.
del
Yeah, it's crazy. I now have 7.0.1 on my S7 and still no quick mute toggle with stock Android. And all my previous Android phones had a mute function that muted everything. Holding the volume button down does not mute all sounds. You have to press up or down, then mute the first slider which mutes all but Media, and then mute the media slider. THEN it's full silent. But I don't understand why it doesn't mute ALL sliders with 1 toggle via stock like it did on other phones.
the issue is still there on Galaxy S9....so freakin annoying
@sdho , yeah, it's insane! Android Oreo 8.x and we still don't have the simple mute function we had with much older versions of Android! By default muting should mute the Media slider too! If people want to only mute other sliders, THAT is what should then require the 2nd shade expansion to pick individual sliders. But 1 touch mute and vol down all the way, should mute ALL sliders by default.
I don't understand the programming decision to make the default the way it is!
PS: I now have the S9 Plus since launch.
Solved!
Just downloaded "Media Mute". Solved everything right away.
Thanks Choobaka, I now have Android Oreo 8.x with the Galaxy S9 Plus and still no improvement to stock 1 -swipe and touch mute. But thanks to your suggestion, while this can't be solved stock. At least it can now be solved without root and without any odd permissions. Thanks a ton. Trying it out now. So far it looks like that will do the trick for me.

Has anyone managed to get Do Not Disturb mode to work properly on S8 using Tasker?

I'm not sure where else to put this, and I haven't managed to find any solutions in any of the other threads about this, so hopefully some of you knowledgeable folks can help.
On my S4, then S6 Edge I had a Tasker profile to turn on Do Not Disturb automatically when I plug my phone in to charge at night, and it worked a treat.
Now with the S8, no matter what I try, it still vibrates and activates the LED notification, even though it is showing as Do Not Disturb mode on, and in the settings I have ticked all the options to hide notifications when the screen is on, and off, and set no exceptions, or alarms only with the same result.
Any ideas?
Should I just try a different configuration in Tasker that doesn't actually use the Samsung 'Do Not Disturb' mode? Like I had on the S4, before there was a Do Not Disturb option?
I have even tried it with Tasker disabled, and just the system Do Not Disturb mode enabled, but it still disturbed..
In Tasker set Do Not Disturb to Alarms if you want to get the alarms sound only.
Other options:
None = NO sound at all - all muted
Priority = As set in settings
All = All sounds/vibration are audible (on/unmuted) = back to normal
Alarms = only alarms are audible
The variable controlling the Do Not DIsturb in Tasker is %INTERRUPT. As far as I know, the LED notification doesn't have anything to do with Do Not Disturb mode.
If none of the above works as intended (no vibrations), try using Sound Mod Plugin instead. I had mixed results with it in Nougat, but it's worth giving it a try.

Categories

Resources