Programmatically zeroing out the ringer volume? - OnePlus 7 Pro Questions & Answers

My OnePlus 7 Pro (GM-1917) is running OOS 10.3.8. My device is rooted via Magisk 23.0.
When I set the Ringer Volume to 0 (zero), the phone still makes a ringing sound when a call comes in. It's low volume, but I want it to be zero volume ... i.e., totally silent. And I want to control this programmatically, and not with any kinds of button presses or keystrokes. In other words, I want to do it with some sort of internal shell command, or possibly with Tasker or Termux or something like that.
This is not the same as "Do Not Disturb". I still want notifications to make a sound, and I still want other sounds to be audible. This only pertains to the Ringer Volume and no other sounds.
And I don't want the Ringer Volume to be permanently silent. I want to be able to turn the Ringer on and off under certain conditions, and when it is off, I want it to be totally and completely silent.
Is there any way to programmatically switch my Ringer Volume between silent and audible on my device and OS?
Thank you very much in advance.

HippoMan said:
My OnePlus 7 Pro (GM-1917) is running OOS 10.3.8. My device is rooted via Magisk 23.0.
...
Click to expand...
Click to collapse
A silent MP3? I have used such a ringtone in the past but haven't switched programatically.

HippoMan said:
My OnePlus 7 Pro (GM-1917) is running OOS 10.3.8. My device is rooted via Magisk 23.0.
When I set the Ringer Volume to 0 (zero), the phone still makes a ringing sound when a call comes in. It's low volume, but I want it to be zero volume ... i.e., totally silent. And I want to control this programmatically, and not with any kinds of button presses or keystrokes. In other words, I want to do it with some sort of internal shell command, or possibly with Tasker or Termux or something like that.
This is not the same as "Do Not Disturb". I still want notifications to make a sound, and I still want other sounds to be audible. This only pertains to the Ringer Volume and no other sounds.
And I don't want the Ringer Volume to be permanently silent. I want to be able to turn the Ringer on and off under certain conditions, and when it is off, I want it to be totally and completely silent.
Is there any way to programmatically switch my Ringer Volume between silent and audible on my device and OS?
Thank you very much in advance
Click to expand...
Click to collapse
Well, actually why you need that programmatically when you have many apps to do that even you can set the time durations for silent and loud.
But just a question I am feeling crazy to know....why you don't want that profile slider on the side. DND-Silent-Ringing...that already comes with 3 mods and you can customize it...

greyblue9 said:
A silent MP3? I have used such a ringtone in the past but haven't switched programatically.
Click to expand...
Click to collapse
Aha! That's the solution! Thank you. I can programmatically switch that with Tasker.

Mohitash said:
Well, actually why you need that programmatically when you have many apps to do that even you can set the time durations for silent and loud.
But just a question I am feeling crazy to know....why you don't want that profile slider on the side. DND-Silent-Ringing...that already comes with 3 mods and you can customize it...
Click to expand...
Click to collapse
Thank you.
I'm controlling this with Tasker, based upon various conditions that Tasker can detect: where I'm located, the time of day, etc. So, I want to be able to handle this without any human interaction.

Related

Hd2 Volume Issue

Hello All,
I always want vibration only on ring with no sound. When I set ring to vibrate, that also turns off the sound on the included media player which means no sound for hearing voice mails. To hear voice mail, I have to go to the volume control rocker on the left side of the device and turn up volume. Now I am out of vibrate mode for the ringer, which means I have remember to go back to set the rocker to vibrate. Yes, I have the phone set so that ring and system should be individually adjustable; it does not really work that way, but that isn't the point here.
The Point. Can anyone recommend a cab, registry tweak or adjustment so that my media player volume is disassociated with the media player volume? I would like to have volume for my media player while never having ringer volume.
Thank You,
Ndmand
settings/sound & display and turn single volume off. You will now have separate volumes for ringer and sytem.
it does not work. that was the point of my post
Not so.
Ndmand
Maybe Volumex?
http://volumex.jdbp.mobi/dwn/Volumex.CAB
Ndmand said:
Hello All,
I always want vibration only on ring with no sound. When I set ring to vibrate, that also turns off the sound on the included media player which means no sound for hearing voice mails. To hear voice mail, I have to go to the volume control rocker on the left side of the device and turn up volume. Now I am out of vibrate mode for the ringer, which means I have remember to go back to set the rocker to vibrate. Yes, I have the phone set so that ring and system should be individually adjustable; it does not really work that way, but that isn't the point here.
The Point. Can anyone recommend a cab, registry tweak or adjustment so that my media player volume is disassociated with the media player volume? I would like to have volume for my media player while never having ringer volume.
Thank You,
Ndmand
Click to expand...
Click to collapse
I'm not sure (I'm currently back on my Blackstone), but couldn't you select a "ringtone type" at the sound settings? e.g. "ring"; "ring+vibrate"; "ring, then vibrate"; "vibrate only";... and just select the "vibrate only" option?
I have this options in my Blackstone, but I'm not 100% sure if it's still present in HD2...
Grtz,
Degake
Thank You, Coincidence
Thanks for your reply. I really do appreciate it. As fate would have it, I happened to have figured this out yesterday, and it is exactly how you say. The ring tone type is now set to "vibrate" and it seems that I can use the volume key for the more useful purpose of making sure I can hear voice and music. Thanks again for your help.
Ndmand
Try app fix of Miri:
Thanks, Problem Fixed
Thanks post&telecommunications and pckshd and degake:
Sorry, I missed a couple of your posts. I think my problem is fixed, but thanks for the cabs. I am new to Windows Mobile and am excited about the cabs yo posted. I may want to install them just to check them out. Again, thanks so much for your response and your obvious willingness to help others through this forum.
Ndmand
I am a little confused. Happy your request was answered. But maybe you can enlighten me to why the dual volume doesn't work. Or exactly why it didn't work for you. On my T9193 I set it to have dual volume. I keep the ringer volume on vibrate and the system volume turned up. Nothing else is affected by having the ringer volume on vibrate. Texts, emails, all notification sounds come through perfectly except for phone ringer. Did I miss something?
is it normal that if I set ringtone to "vibrate" from settings tab-phone settings I have sound on other apps (e.g. music player) but if I set ring to vibrate using volume button (double volume on) all device get 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.

Media volume turns up by itself

Hello, and first of all, sorry if my english is bad, I am german
Ok, I own a Galaxy S7 since 2 weeks without branding and with the latest (officially) available Android via Smart Switch.
Everything works fine and all, but one thing is bothering me. The Volume for "media", I mean the volume if you for ex. listen to music, turns itself on to fully loudnes. I don't know why and how to stop this.
If an app is doing this, how can I find out, which one is responsible?
Thanks.
PS: I haven't rooted yet.
Hi, You dont tell, is that problem on speaker or headset?
I have same problem with original headset. After first drop of swat, to headset controls, on training. After dry up, everything back to normal.
WEll, it is combined with the speaker. So I turn the volume down, and after like 3-4 hours, it is on highest volume, without me touching the volume button.
Ok, I may have found out that my alarm clock is one of the responsible apps. As now with Android 7 on the S7, there is no seperate Volume for "alarm clock", but my galaxy S5 with Android 4.4.2 had it. So now it is the same as the Media volume. If I want my alarm clock to be loud and wake me up, it automatically has to increase the volume from mute to max :-/
Is there an app, that automatically mutes the media volume from time to time?
yinyang4 said:
Ok, I may have found out that my alarm clock is one of the responsible apps. As now with Android 7 on the S7, there is no seperate Volume for "alarm clock", but my galaxy S5 with Android 4.4.2 had it. So now it is the same as the Media volume. If I want my alarm clock to be loud and wake me up, it automatically has to increase the volume from mute to max :-/
Is there an app, that automatically mutes the media volume from time to time?
Click to expand...
Click to collapse
Do not disturb built into settings, allows alarms and anything else you add through and keeps everything else silent during those hours
Ok, I never really understood this "do not disturb" mode... I will give it a try. Thanks.
yinyang4 said:
Ok, I never really understood this "do not disturb" mode... I will give it a try. Thanks.
Click to expand...
Click to collapse
Basically the days & hours you set = when the phone will stay quiet, apart from exceptions you can add to the exceptions list (Like alarms / people added to your favourite list etc)
I have mine set to shutup at 11pm apart from alarms, and to go back to normal sound mode at 8:30am every day
But you can set it up to whatever schedule you like, and/or manually enable it from the notifications pull down at the top (no entry sign)
Great for keeping those people who think it's funny to WhatsApp you at 3am, quiet

Per App Setting to Override Alert Slider Setting

Most of my time my phone is on vibrate, as I work in an office and don't want to disturb people. But in vibrate I don't get notifications if my phone isn't right next to me, like when it's plugged in to charge.
Is there a way without using xposed to allow certain apps (Accubattery, phone calls, messages, gmail priority, hangouts) to make a notification sound while the slider is in vibrate? I have an inkling it can possibly be done through a combination of DND and the slider, but am unsure on how I would configure it.
Thought or suggestions?
Edit: Also, possibly Tasker or Macro Droid could do it? If so, how?
RRuszczyk said:
Most of my time my phone is on vibrate, as I work in an office and don't want to disturb people. But in vibrate I don't get notifications if my phone isn't right next to me, like when it's plugged in to charge.
Is there a way without using xposed to allow certain apps (Accubattery, phone calls, messages, gmail priority, hangouts) to make a notification sound while the slider is in vibrate? I have an inkling it can possibly be done through a combination of DND and the slider, but am unsure on how I would configure it.
Thought or suggestions?
Edit: Also, possibly Tasker or Macro Droid could do it? If so, how?
Click to expand...
Click to collapse
Tasker shall be easy.
In Tasker create a profile - select apps you want to have sound.
Then in Task, make a new task and select audio and set it to whatever you want..
You are done!
mjp93 said:
Tasker shall be easy.
In Tasker create a profile - select apps you want to have sound.
Then in Task, make a new task and select audio and set it to whatever you want..
You are done!
Click to expand...
Click to collapse
is it possible in tasker like
when the device is in silent then it should be total silent no vibrate on navigation keys touch or keyboard?
nitinvaid said:
is it possible in tasker like
when the device is in silent then it should be total silent no vibrate on navigation keys touch or keyboard?
Click to expand...
Click to collapse
It would be an pro's job but yeah I have seen people linking Tasker with each and every possible event going on your device. But I am not one.
Nitin bro?

Categories

Resources