[MOD][XPOSED][1.1] RadarBeep alerts through Ringer stream - Xposed Framework Modules

I'm using RadarBeep app in my car, but because my phone is paired to the car via Bluetooth, all the sounds that RadarBeep emits (radar alerts voice notification, radar proximity beeps,...) go to a channel that I would only normally hear if I put the car audio source to bluetooth. Unfortunately I prefer to listen to radio and by doing so I can't listen to RadarBeeps alerts... until now!
So I did this small xposed module, more as a small personal project to understand how to do it .
It seems to actually work, so I share it, maybe more people have the same need .
What I did is force all the RadarBeep sounds to go through the ringer stream, so you'll need to adjust the ringer volume on your phone accordingly. You can still lower the volume of Voice / Beeps from within RadarBeep. The master volume from RadarBeep settings won't work (as it adjusts the Media volume, not the Ringer volume).
Bugs can be expected, so bear with me
Download: see thread attachements.

I would love to see a universal version of this so we can re-route all sounds but will give this a try

an0therus3r said:
I would love to see a universal version of this so we can re-route all sounds but will give this a try
Click to expand...
Click to collapse
What do you mean all sounds? All sounds from any app?
Maybe it would be possible. I'm not an expert in this. I managed to get it working as I needed for this case, not sure I would manage what you say, it sounds much more complicated. But Who knows.
Report back on your experience with this module please. Thanks in advance.

Sorry for my late response but i have more apps that have the same function as RadarBeep so it would be cool if you could reroute all audio from any app this way.

Would it be possible to change a setting somewhere (decompile and edit/replace something?) so it would use the sms app (from marshmallow) instead and send sms notifications to the ringer stream ?

contrinsan said:
Would it be possible to change a setting somewhere (decompile and edit/replace something?) so it would use the sms app (from marshmallow) instead and send sms notifications to the ringer stream ?
Click to expand...
Click to collapse
I'm confused here, I don't understand what you mean with sms here, AFAIK RadarBeep doesn't send any SMS. Or do you mean that sms notification (not related at all with RadarBeep would ring through the ringer stream? (that should be possible I guess)

adlx.xda said:
Or do you mean that sms notification (not related at all with RadarBeep would ring through the ringer stream? (that should be possible I guess)
Click to expand...
Click to collapse
Hi, sorry for the confusion, yes the last part is what i mean, i had an xposed module to have sms notification in ringer stream up to kitkat 4.4 on my S4 but after lollipop it didn't work anymore and the dev. never updated his mod (so i had to leave my s4 at kitkat firmware only for this lol)

an0therus3r said:
I would love to see a universal version of this so we can re-route all sounds but will give this a try
Click to expand...
Click to collapse
Did they ever make one?

Related

[Q] How to make incall voice loader through headphone?

Is there any way to make the incall voice louder through headphone as I notice a significant reduction in the volume in call compared to music go example.
Amr.mashaal said:
Is there any way to make the incall voice leader through headphone as I notice a significant reduction in the volume in call composed to music go example.
Click to expand...
Click to collapse
Just for clarification, do you mean "louder" and "compared" ?
Either way I'm not sure, but replacing those makes the question make more sense to me
And if the above assumption is correct, I take it you have altered the volumes individually in settings and are still not happy (voice. media etc) ?
You got me right, I was using swype and I didn't review it.
I have checked the sound settings and it is on maximum, still incall quality is very bad.
I used swype to write this post though.
Amr.mashaal said:
You got me right, I was using swype and I didn't review it.
I have checked the sound settings and it is on maximum, still incall quality is very bad.
I used swype to write this post though.
Click to expand...
Click to collapse
quality or volume?
I have experienced quality issues, but I put it down to network signal.
Hi
I have got exactly the same issue ; no issue to call using the handset (i do not know how to describe it in english) but as soon as I swith to headset, the volume is very low and I can not hear the caller while hearing music, app sounds,... no problem
szdavid said:
Hi
I have got exactly the same issue ; no issue to call using the handset (i do not know how to describe it in english) but as soon as I swith to headset, the volume is very low and I can not hear the caller while hearing music, app sounds,... no problem
Click to expand...
Click to collapse
OK, when in a call, and you push up-volume, does this alter the in-call-headset-volume?
Not tried it, just guessing
No, it says the volume is at maximum
szdavid said:
No, it says the volume is at maximum
Click to expand...
Click to collapse
Maybe try with NON-Microphone headset then and see if it's any different. I take it your using stock headphones?
Just a theory but maybe there is a problem with the power flow when it enables the 3rd jack socked band for using the microphone.

[Q] Tasker script to solve headphones/incoming call/notification issue

Anyone able to create a profile to solve the issue we have with our note. The issue is the following,
If headphones are plugged in and we get an incoming call, the ringtone will play on both speaker and headphones.
If headphones are plugged in and we get a notification, the sound will only play through speaker.
I tried to do a basic script that has headphones plugged in and incoming call for context, then set ringer volume to 0 and play music ringtone.mp3. Add exit task to for the opposite, raise ringer volume, stop music.
The problem is, it worked, if I didn't have music playing already when I get an incoming call, which is the whole reason why I would have headphones plugged in to begin with. The task successfully sets the ringer volume to 0 so at least it didn't play on the speaker, but then nothing would play on the headphones, and the music I was playing would pause (like it's supposed to), but the ringtone I specified didn't play. Ending the call resumes the music I was playing.
Anyone willing to shed some insight on this?
This issue is next on my list. I believe it is an issue with how the phone distinguishes what the sound is. ..phone vs media...hard to explain
Sent from my SAMSUNG-SGH-I717 using XDA App
This would be a great fix
Would love to have this profile, let me know if there is anything I can do to help!
Is this kinda what you want, I think it is kinda what i want.
http://forum.xda-developers.com/showthread.php?t=1559541
jfout said:
Would love to have this profile, let me know if there is anything I can do to help!
Is this kinda what you want, I think it is kinda what i want.
http://forum.xda-developers.com/showthread.php?t=1559541
Click to expand...
Click to collapse
that does look like what i want, but i'll have to get home before I can test it.
btw, where are the notification sounds stored? the ones that came with the phone.
System.media.audio
kaishi00 said:
that does look like what i want, but i'll have to get home before I can test it.
btw, where are the notification sounds stored? the ones that came with the phone.
Click to expand...
Click to collapse
Sent from my SAMSUNG-SGH-I717 using XDA App
just tested, did not work, or maybe i did something wrong.
anyone willing to give the script a try and see if it works, or I just did something wrong.
I'll try tonight

headphones detected. Phone microphone enabled

Is there anyway to disable this highly annoying message that comes up everytime I plug in my headphones?
I'm using these headphones if it makes any difference.
http://en-de.sennheiser.com/cx-270
Also not rooted but prepared to root if needed.
I've got a pair of senheisers as well, can't remember the model (don't have them with me) and i get the same thing, but i have no mic on them. I'm using a pair of u beats from the htc one s series, mic built in but this message isn't displayed when i connect them.
Sent from my LT26i
Yeah mine has no mic on it either. I have tasker set up to ask me if I want to activate wave control when I plug in my headphones.
This pop up makes it impossible to press the activate wave control option that I have set up.
Im gonna try and figure out how to remove the message
I too have the same problem with my Beats Studios, and if anyone finds a fix let me know!
borgsta said:
Is there anyway to disable this highly annoying message that comes up everytime I plug in my headphones?
I'm using these headphones if it makes any difference.
http://en-de.sennheiser.com/cx-270
Also not rooted but prepared to root if needed.
Click to expand...
Click to collapse
Is it possible to configure this by, Settings, Xperia,Liveware Manager and adjust bespoke settings.
,
WillWord said:
Is it possible to configure this by, Settings, Xperia,Liveware Manager and adjust bespoke settings.
,
Click to expand...
Click to collapse
There doesn't seem to be any setting in Liveware Manager to let you adjust or turn off this notification.
I just frozen "Unsupported Headset Notifier" and that notification is gone.
It's not disable-able in setting so maybe you need to root your phone.
imTigger said:
I just frozen "Unsupported Headset Notifier" and that notification is gone.
It's not disable-able in setting so maybe you need to root your phone.
Click to expand...
Click to collapse
I tried freezing it as well, but I still get the notification.
EDIT: I just needed to reboot the phone. Now the notification is gone. Thanks!
It seems, this is not a problem. Sony just want to sell more headsets. . .
parthapratim said:
It seems, this is not a problem. Sony just want to sell more headsets. . .
Click to expand...
Click to collapse
This has nothing to do with Sony trying to sell more headsets. The notification only notifies the user if they connected with or without a microphone, so they know which microphone is going to be used.
The only reason some people want to get rid of the notification is because it can get quite annoying at times. For instance, when I connect the headphones, I set up Tasker to show me a menu where I can choose if I want to run either Walkman, MX Player or YouTube. With the notification enabled, I have to wait a second or two first before I can press OK, and only then I can choose the app I want to run.

Media controls

Is their any quicker way of switching between the speaker and a Bluetooth device than long pressing the Bluetooth toggle then pressing I on your Bluetooth device to get to toggle seems a long way to do something simple. On my last phone the Samsung S6 there was a dedicated button below the quick toggles and on my iPad you can do it directly from the media app.
mandem306 said:
Is their any quicker way of switching between the speaker and a Bluetooth device than long pressing the Bluetooth toggle then pressing I on your Bluetooth device to get to toggle seems a long way to do something simple. On my last phone the Samsung S6 there was a dedicated button below the quick toggles and on my iPad you can do it directly from the media app.
Click to expand...
Click to collapse
When you call someone you can switch with phone dialer bottom right...
sonydesouza said:
When you call someone you can switch with phone dialer bottom right...
Click to expand...
Click to collapse
I was on about listening to music and video in particular,not calls they are fine.
just toggle bluetooth off if u dont wanna use the connected speaker. i know its anooying cause you most likely have to turn on the speaker again after few minutes being disconnected but its the fastest.
Samsung and bluetooth 5.0 lets you decide what apps use speaker what apps use bluetooth devices... think huawei does not allow that. tbh i think its a fail to use old bluetooth 4.2 and limited software control features and remove headphone jack
mandem306 said:
I was on about listening to music and video in particular,not calls they are fine.
Click to expand...
Click to collapse
Ah ok..
Did you try a third party app. Sure it does exist on the playstore.
Don't know any native toggle to do that

Volume notifications and calls!!! How?

Friends, how to decrease the volume of notifications and not decrease the volume of phone calls?? If I try to decrease the sound of the notifications of any app The sound of the calls also decreases, it looks like they are hitched
What phone do you got? On my Mate 10 Lite I have 4 channels. Ringtone, Media, Alarm and Calls
OneTruth said:
What phone do you got? On my Mate 10 Lite I have 4 channels. Ringtone, Media, Alarm and Calls
Click to expand...
Click to collapse
That is not what he is asking. Media is for movies and songs. Alarm is self explanatory. Calls is the volume of the voice of the person on the other end of a phone call, whether you initiated the call or not. Ringtone, is the volume of whatever you choose to hear when a call comes in...but this is also the volume of the notification tones you choose to hear when a text, or an email arrives.
The linking of these two volumes has been a major pain for some years now. This is an Android thing. My ZTE Axon 7 has them unlinked but ZTE did it so I know it can be done. However, nearly all other OEM's do NOT do this but leave it at the default. There are 3rd party apps in the Play Store that claim to do this but NONE of the ones I tried actually work!
What I did is create a notification tone at half volume. That way I can leave the ringtone volume at a higher level and the notification still comes through not as loud! Major pain, but it works.
jaseman said:
That is not what he is asking. Media is for movies and songs. Alarm is self explanatory. Calls is the volume of the voice of the person on the other end of a phone call, whether you initiated the call or not. Ringtone, is the volume of whatever you choose to hear when a call comes in...but this is also the volume of the notification tones you choose to hear when a text, or an email arrives.
The linking of these two volumes has been a major pain for some years now. This is an Android thing. My ZTE Axon 7 has them unlinked but ZTE did it so I know it can be done. However, nearly all other OEM's do NOT do this but leave it at the default. There are 3rd party apps in the Play Store that claim to do this but NONE of the ones I tried actually work!
What I did is create a notification tone at half volume. That way I can leave the ringtone volume at a higher level and the notification still comes through not as loud! Major pain, but it works.
Click to expand...
Click to collapse
But why would you want to have the notifications and call volume split? Just curious.
OneTruth said:
But why would you want to have the notifications and call volume split? Just curious.
Click to expand...
Click to collapse
The issue is that in general, if you use built in ringtones, they are generally pleasant little songs that play when someone is trying to call you. Today, though, most people do not talk on their "phones" but rather send and receive texts and emails. However, the built in tones for notifications are usually very short and more harsh in their tone in order to get your attention, not to mention they are played much more often than a true ringtone. Therefore, many people want the volume of their notifications to be lower, less obtrusive, than their ringtone. But the wisdom of the people at Google decided that we want them both to be the same volume all the time, which is simply not true. Thus, my solution.
jaseman said:
That is not what he is asking. Media is for movies and songs. Alarm is self explanatory. Calls is the volume of the voice of the person on the other end of a phone call, whether you initiated the call or not. Ringtone, is the volume of whatever you choose to hear when a call comes in...but this is also the volume of the notification tones you choose to hear when a text, or an email arrives.
The linking of these two volumes has been a major pain for some years now. This is an Android thing. My ZTE Axon 7 has them unlinked but ZTE did it so I know it can be done. However, nearly all other OEM's do NOT do this but leave it at the default. There are 3rd party apps in the Play Store that claim to do this but NONE of the ones I tried actually work!
What I did is create a notification tone at half volume. That way I can leave the ringtone volume at a higher level and the notification still comes through not as loud! Major pain, but it works.
Click to expand...
Click to collapse
Perfect, that's exactly what I meant, on the Samsung S7 / S8 we can separate the volume. I find that very inconvenient.
+1 missing split volume ring/notification
Any solution?

Categories

Resources