[Req] Call audio routing fix - Verizon Droid Charge

I just got the charge today, and one issue is killing me. I drive about 6 hours per day. My android phone is connected to my stereo via the 3.5mm headphone jack. I use this to listen to music. On every other android phone i've had(beside the epic 4g), when i get a call, the music pauses, and when i press the button on my bluetooth, it answers the call, and my audio going out is picked up by the bluetooth, and the call audio coming in is heard through the bluetooth.
This phone for some reason tries to route audio through the 3.5 jack, even though the bluetooth answered the phone. worse yet, i can't find a way to switch it.
On the epic 4g this guy made an apk to hot fix the issue. Could someone port this by chance?
http://forum.xda-developers.com/sho...light=bluetooth+call+audio+routing+to+headset
THanks!

I had sold my charge a while back, but just eneded up buying one again. Anyone made progress on this issue? Thanks!

Hey - it seems the fix near the end of that thread you referenced does the trick. Flash this in cwm recovery. It should work on any FP1 or EP4D (haven't checked others) ROM - stock or custom - but as I have no bluetooth stuffs I haven't tested this thoroughly to see if anything else happens as a result of the minor change. Hope this helps folks!

Related

3.5mm output for phone - not working Cog w/music mod

I am using Cog beta 6 and Music Mod.
When I was on 2.1 using the 3.5mm jack with headphones and listening to music and a phone call came in, the music would be interrupted and the audio from the call patched through the 3.5mm out.
Now when I am using the 3.5mm out, a phonecall comes in and it goes through the phones headset.
I checked the Music Mod settings and nothing applies. In the phone settings, I couldn't find anything. During the phone call there are options such as head set, speakerphone...I tried the only thing that may have applied and it asked about a bluetooth headset.
Any ideas? I have a feeling this is something dumb - but because it is something that worked automatically before (and the same way on all other phones I've tried - Nokias, etc) it could be a bug.
This is the change from JI6 Froyo ROM. Personally, I like this change because I use the 3.5 mm output a lot when driving. With 2.1 ROMs, the calls are coming out of my car speakers. Not only that sounds weird, but also a privacy issue.
Sent from my SAMSUNG-SGH-I897 using XDA App
foxbat121 said:
This is the change from JI6 Froyo ROM. Personally, I like this change because I use the 3.5 mm output a lot when driving. With 2.1 ROMs, the calls are coming out of my car speakers. Not only that sounds weird, but also a privacy issue.
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
Thanks for the info, at least I know the cause.
See I also use mine in the car alot...and greatly prefer the voice over the speakers, working as handsfree for me without any gear. I don't understand how you think it is a privacy issue or helps...you still have to answer it, and you still have to pick it up and pull out the cord or have a very long cord.
At least you have the option the way it used to be set up. Oh well, hopefully they provide this as an option so everyone can have their way. It sucks because I had always looked at this as a major benefit to using my phone to serve up mp3s...auto handoff handsfree phone calls on any stereo with a jack
I do have a very long cord and don't want to pull it out because the music won't auto-resume afterwards. If I need to pull the plug out, answer the phone and put the plug back in, then find the music player to resume the play, I have to use both hands and eyes off the road. That will be a safey issue, really.
I liked it the old way.
Is there a solution to this yet? I'm using the cognition rom...
Rather than opening a new thread... I'll bump this one. Solution found?
Im having the same issue. I liked it when I was able to hear the phone call through the speakers. Im running COG 2.4.1 Bump.
You can keep bumping, but it appears to be a kernel bug - it has been there since the first Captivate Froyo Beta.
Keep on bumping - just encountered this today. Hope a fix comes
I just flashed 2.3b6 cog and tested to see if im using the samsung headphones and im listening to pandora if it will fade out and fade in (i will say that now with cog when i want to end a call i can use the button on the headset to end it -- sweet) then i tested it as if im connecting my captivate to external speakers and retried the test and it works fades in the fades out
again this is with pandora running and playing music what music app are you using?
Now that froyo officially got released for the captivate, has this been resolved?
I use the stock music player :/
bump .....

[GPL] epicBT - Call Audio Router ( Epic4G ) - bluetooth/wired conflict hotfix - 11/26

This application is a hotfix for a really annoying (and potentially unsafe!) bug in the Epic4G:
http://code.google.com/p/android/issues/detail?id=11372
http://forum.sdx-developers.com/epi...audio-routing-on-epic-4g/msg115990/#msg115990
The long and sort of it is that when anything is plugged into the 3.5mm headphone jack, the phone will only play call audio over that jack.
In order to route the audio through the earpiece, bluetooth or speakerphone, you must pull the plug out of the jack. This is at the very least annoying, and at the very worst potentially dangerous if, for example, you're driving.
How-To
Download the APK attached below for your android version.
Install like any other APK using adb or your favorite file manager.
What it does
This simple application allows you to pick the audio device to use for call audio to override this behavior, and can be changed on the fly.
All in-call audio will be routed to the device you specify when something is plugged into the 3.5mm headphone jack. If nothing is in the jack, the default behavior for the phone applies.
This also allows you to use the Speaker Phone when the headphone jack is occupied, even though the button on the call screen is disabled!
Your configuration should persist between reboots.
What it doesn't do
This app does not route any other type of audio. Your music, notifications, etc will still play over the headphone jack or phone speaker.
Again, this *only* affects in-call voice audio, and only when something is plugged into the headphone jack.
Notes
This app completely overrides the options on the call page! If you want to switch outputs during a call, you will have to do it from this app - your call will not be dropped when changing the output device.
In order to route the call audio properly, the system's mediaserver service must be restarted, however.
This means that any other audio you have playing when you apply the change will be disrupted, and related services may force close. For example, Pandora will skip to the next song. Other applications may not behave that well.
Disclaimer
This app modifies files in the /system partition, so use this at your own risk! I am not responsible for any problems that arise from this hotfix on your device!
This is currently for the EPIC4G *ONLY* - Do not use this on any other device. Please contact me if you have a different phone which experiences this bug and I will see if I can get it working for you as well.
This is *BETA* software, a work in progress, please post here if you experience any issues, but I cannot guarantee it will work for you!
ROM DEVs, feel free to bake this into your roms in whole or part, I encourage it as this provides a workaround for a safety issue, but please give credit if you use or derive from this application.
Special thanks to UberPinguin - his initiative, debugging, code-diving and testing helped make this happen every step of the way!
Many, many thanks to everyone in #samsung-epic for helping me test and work this out.
Be sure to download the APK for the right android version on your phone!
epicBT - v0.3.5 (Froyo)
* Fixed crash/reboot when applying settings in DK17 roms
epicBT - v0.3
* Layout cleanup when root is unavailable
epicBT - v0.2
* Requires root!
* Superuser compatible
* auto-remounts /system RW if necessary
* Sends call audio to wired device ( default ), speaker phone, or bluetooth
Sources
https://github.com/cicada/epicBT
If this works as described above I will be so f-ing happy. One of my biggest gripes, solved.
No sh#t! I was just about to start searching the Market for an app like this! Downloading now to test.
Thank you!
bigdbag said:
If this works as described above I will be so f-ing happy. One of my biggest gripes, solved.
Click to expand...
Click to collapse
I agree
updated OP with source link
First of all,...Thank you, Thank you, Thank you for working on this... This was one of my biggest gripes with this phone and I couldn't understand why the "geniuses" at Samsung/Sprint couldn't get this right.
I've done some extensive testing in my car for the Eclair version and wanted to share my results:
For the most part, the app does what it's supposed to...but I did notice that:
1) the "on the fly" feature doesn't work so well. That is, when changing from one mode to the other, I had to reboot the phone to get the new setting to take effect. This feature would be great with an app like Tasker, which could automatically open up the app and ask you which setting you want to use when a headset/aux jack is plugged in,...thus giving you the flexibility to use the best option depending on your situation. Is there a way to tweak the app to recognize the switch without rebooting by resetting something like the mediashare service?
2) For some reason, the mic volume (volume heard on the opposite end of call) on the bluetooth setting is lower when the headset/aux jack is plugged in. I'm not sure whether the regular phone mic, speaker phone mic, or the bluetooth mic is utilized in this setting, but the volume is definitely harder to hear on the other end than when the headset jack is unplugged. I would guess about 20-25% lower. I tested this effect during the call as well by plugging and unplugging the jack while counting 1 to 10 and it's the same. Is there away to increase the sensitivity of the bluetooth mic when the headset jack is plugged in?
Donation coming if you can get this working! Thanks again.
sinman02 said:
1) the "on the fly" feature doesn't work so well. That is, when changing from one mode to the other, I had to reboot the phone to get the new setting to take effect.
Click to expand...
Click to collapse
Strange, it works well for me - it takes a second to switch outputs while mediaserver is restarting, but never had to reboot. I'll look into this, may have accidentally tweaked something in the last build.
UberPinguin and I are still looking at the sources to find a better fix that works the way it's supposed to - the trouble seems to be that Phone.apk is actually selecting the 'correct' source and setting options appropriately, but the underlying OS isn't switching outputs. Restarting mediaserver was the only workaround I could find for this.
sinman02 said:
2) For some reason, the mic volume (volume heard on the opposite end of call) on the bluetooth setting is lower when the headset/aux jack is plugged in. I'm not sure whether the regular phone mic, speaker phone mic, or the bluetooth mic is utilized in this setting, but the volume is definitely harder to hear on the other end than when the headset jack is unplugged. I would guess about 20-25% lower. I tested this effect during the call as well by plugging and unplugging the jack while counting 1 to 10 and it's the same. Is there away to increase the sensitivity of the bluetooth mic when the headset jack is plugged in?
Click to expand...
Click to collapse
I hadn't noticed any volume issues but truthfully I haven't been using the BT often because of this bug - I've just been letting my calls go to VM instead of crashing my car Volume selection should be working properly so I'll see if I can add something to select volume as well.
To be clear on the MIC, input should always be the proper input for whichever mode you choose - phone MIC for speakerphone and BT mic for BT HP/HS.
If you're on stock then the phone mic should be used when your wired device doesn't have it's own, however this is broken in all of our custom community kernels - Wired Headset mode should only be used when you actually have a wired headset with a MIC of it's own if you're using one of these, otherwise the phone doesn't enable any MIC at all.
I should note, that all my tests were conducted on outgoing phone calls. I don't know if incoming calls are any different. I am using the Syndicate rom.
If you can get the bluetooth volume issue resolved, I'll likely leave it there, but it would be nice to be able to switch on the fly to speakerphone mode when bluetooth isn't handy.
Question: Does the froyo version have the same implementation?
Please keep up the good work!
Sent from my SPH-D700 using XDA App
sinman02 said:
Question: Does the froyo version have the same implementation?
Click to expand...
Click to collapse
Yes, the froyo version is the same - Samsung used a different asound.conf in froyo ( added in some interesting VOIP pcm ), so this is the only difference between versions currently.
cicada said:
This application is a hotfix for a really annoying (and potentially unsafe!) bug in the Epic4G:
The long and sort of it is that when anything is plugged into the 3.5mm headphone jack, the phone will only play call audio over that jack.
In order to route the audio through the earpiece, bluetooth or speakerphone, you must pull the plug out of the jack. This is at the very least annoying, and at the very worst potentially dangerous if, for example, you're driving.
Click to expand...
Click to collapse
...So this should work on for Sip/VOIP apps like Sipdroid, 3CX, and Fring? I managed to pick up 3CX and Sipdroid through my bluetooth headset but no mic...meaning the other end could not hear me... There aren't that many good sip/voip soft wares out there for the Android today.. I rated Fring the BEST but with no bluetooth support.
EDIT: Nevermind... I read the post again.. I don't think this will do the job other than support for the actual phone.. but it would be nice to have that option for sip/voip as well.
The SIP/VoIP stuff may work better in Froyo considering there are dedicated PCM devices listed in the asound.conf - however I've never used any of these applications, so this is pure speculation.
You're correct, this does only effect in-call phone audio, those applications would be handling (or in this case, not) the bluetooth audio routing directly. I've found lots of other similar quirks with BT on the Epic4G, such as the << and >> buttons on my A2DP headphones not working.
cicada said:
The SIP/VoIP stuff may work better in Froyo considering there are dedicated PCM devices listed in the asound.conf - however I've never used any of these applications, so this is pure speculation.
You're correct, this does only effect in-call phone audio, those applications would be handling (or in this case, not) the bluetooth audio routing directly. I've found lots of other similar quirks with BT on the Epic4G, such as the << and >> buttons on my A2DP headphones not working.
Click to expand...
Click to collapse
I am using Froyo the DJ29 Build on the epic... Dare I try?
****ing yea! Thanks, downloading now. This has been my biggest complaint with the phone
Sent from my SPH-D700 using XDA App
Hell Yea! You rock! I Threw out a fairly long search sentence in google and actually found your post here. No sooner did I install and set it up that my phone rang while plugged into the car audio and FINALLY I can use my friggin BT headset without yelling hold on hold on I gotta unplug the stereo cable. This has really peeved me off since I got the phone. Now what I don't get is why this obvious flaw has been ignored by Samsung and Sprint. Nice job on making it work like it should. BTW running stock 2.1 with root. No bugs so far.
THANK GOD. someone fixed this. bugged me so much in the car when i'm receiving a call. will report any bugs.
bump, updated to fix crash in DK17 based roms
cicada said:
I hadn't noticed any volume issues but truthfully I haven't been using the BT often because of this bug - I've just been letting my calls go to VM instead of crashing my car Volume selection should be working properly so I'll see if I can add something to select volume as well.
To be clear on the MIC, input should always be the proper input for whichever mode you choose - phone MIC for speakerphone and BT mic for BT HP/HS.
If you're on stock then the phone mic should be used when your wired device doesn't have it's own, however this is broken in all of our custom community kernels - Wired Headset mode should only be used when you actually have a wired headset with a MIC of it's own if you're using one of these, otherwise the phone doesn't enable any MIC at all.
Click to expand...
Click to collapse
As others, I'm very grateful for this fix. After trying it out, if it works for me, donation on the way.
Regarding the MIC: My experience, all the way back to pure stock (IIRC) is that there is no MIC at all when a two-channel, stereo plug is inserted (headphones, cassette adapter, etc.). Every time I've been driving, listening to something via the headset jack, when a call comes in I can hear the other party, but they can't hear me at all until I unplug from the jack. So, even though there was no mic plugged in and the device was correctly sending 2-channel audio out through the jack (usually to a cass adapter, so I can listen via my car stereo), but doesn't "do the right thing" with the mic, even though the hardware and drivers are capable of detecting the absence of the mic.
It should, of course, default to the BT mic if there is a BT connection, or the built-in mic otherwise. For some reason this simple flow-diagram logic eludes Samsung.
So I got my first experience with this today...worked great. I was streaming Pandora, phone call came in, music was paused and I answered the call. Once I finished the call, the music continued playing. Minor detail, but since I was on WiFi, is there anyway that the music could have kept on playing while I was still on the call for the sake of my guys who were still working while I was taking the call? It's great that the music paused and resumed by itself, but it would have been cooler to have it keep going while I was on the call.
m5james said:
.. is there anyway that the music could have kept on playing while I was still on the call .. ?
Click to expand...
Click to collapse
Unfortunately Pandora's phone-state listeners control that, it'd have to be modified or their devs would have to add options for it. Would be cool though, I agree
I've got a hacked version of Pandora that allows unlimited skips, I'll have to ask the guy who did it to see if they can tweak that as well. Come to think of it, it'd be nice to have it keep going for the times I'm driving down the road as well so whoevers in the car doesn't have to sit there and listen to me blah blah blah.

[Q] Nexus S bluetooth problems

Hey guys
Strange issue here. I paired my phone with my car through Bluetooth to make and receive calls using the car audio system. It works well.
However, if I fire Google Navigation, I can't here the spoken instructions through either the phone speaker or the car speakers.
I was not expecting navigation audio to be routed through Bluetooth audio, but I did expect the navigation instructions to come out of the phone speaker, as it does on the nexus one or the vibrant both running Android 2.2.
Is anybody else having this issue?
Thanks
Sent from my Nexus S using XDA App
bluetooth wont turn on
It just flashes the icon and does not turn on. From in settings same. Any ideas?
vapor311 said:
It just flashes the icon and does not turn on. From in settings same. Any ideas?
Click to expand...
Click to collapse
did you flash a new kernel or anything because the kernel in the dev thread is known to break bluetooth
if it does this stock out of the box try doing a system restore and then take it back if its still acting up because bluetooth should turn on
yea i used the pkg one that had SU etc on it. Suppose Ill have to flash back to stock arg.
just so peeps know with the bt issue flashing this fixed
http://forum.xda-developers.com/showthread.php?t=882333
Anyone?
Sent from my Nexus S using XDA App
Locking up slash rebooting while streaming bluetooth audio
Anyone else experiencing any sort of lockups rebooting streaming bluetooth audio. It seems like I can only get about 10 to 15 minutes streaming audio before the phone becomes completely unresponsive won't power on or anything
Sent from my Nexus S using XDA App
You should be thankful...I can't get more then 10 sec without it being cut off and play again...for...10 sec
what rom?
I had same issue once...i on CM7
Bluetooth doesn't stream audio to car - what's your experience
I've got a Ford Edge with the new Ford MyTouch/Sync system.
The Nexus S connects to the Bluetooth just fine; makes and receives calls perfectly. It will also connect to the Bluetooth Audio Stream for music playback, but won't play the audio over the car's speakers. Also, sometimes it connects, holds the connection for just a few seconds and then disconnects. My SGS and Nexus One work as expected, as does the iPhone, so it doesn't appear to be an issue with the car.
Seems like a bug in the NS to me.
I'm curious if others are streaming audio/music to their auto's BT system without issues?
It would be especially nice to know what anyone else with a new Ford/Lincoln is experiencing, but I'd also like to compile a list of what cars work and what don't.
I'm going to have to find some other BT device that I can test the stream on to see if my phone works with it or not. Maybe my Nexus One dock? I've never used that to stream audio even with the Nexus One.
In terms of troubleshooting my problem, I've already rebooted the phone and the car, un-paired and re-paired the phone with the car.
I've got a Mazda RX8 R3 and the NS will pair with the in-built car BT but drops the connection after a few minutes. It then refuses to connect again unless I re-pair, then a few minutes later it drops and we're back to square one.
The car's in-built BT worked fine with my HTC Desire, Hero, iPhone 3G and Blackberry 9700 so I'm guessing the Nexus S has a Bluetooth issue.
Mine works fine on my aftermarket Sony receiver.
having issues with bluetooth audio too, stream keeps breaking every now and then. Any fixes?
I've only streamed to the car stereo and had no issues. The phone is only about 10cms away.
Haven't tried my BT headphones yet, maybe range is the issue.
*On original ROM.
Mujja said:
I've only streamed to the car stereo and had no issues. The phone is only about 10cms away.
Haven't tried my BT headphones yet, maybe range is the issue.
*On original ROM.
Click to expand...
Click to collapse
tried placing the phone right next the the BT reciever and same problem. Only tried this once, maybe I'll try rebooting the phone.
no problem here
using Bionix 1.2
You're lucky, I can't even get BT music streaming to work with my car. No other BT devices to check with besides my Nexus One dock, which has no speakers.
BT works great for the phone, though, to make and receive calls.
Problem with Bluetooth
I cant get to work bluetooth on Nexus S.
When i enable it and try to send something from SGS to Nexus S it says me "This tranfer was canceled by the user" (Nexus S)
SGS says "Remote device rejected your request"
When i try send something from Nexus S, but use not function Send, i use function Bluetooth - it says me "The application Bluetooth Share (process com.android.bluetooth) has stopped unexpectedly. Please try again"
I tried factory reset, wipe cache, tried flash any other roms, but got NOTHING helpt me. I have this problem on 2 phones (2xNS).
Can someone give me files of BlueTooth share? (com.android.bluetooth)
That's an interesting problem you have. Mine did the same thing transfering from my computer to my NS. I just tried it again when I read your post (to make completely sure what the error was) and it has automagically fixed its self.
Well, seems i need a file \system\app\bluetooth.apk

bluetooth no call audio pixel

I used to be able to hear calls and media whilst connected to bluetooth in my car. one day it just stopped working. media still works but when i make a call or receive one, there's no audio. calls ,audio, and contacts are all checked in bluetooth settings. i've forgotten devices, rebooted, reconnecting, and nothing helps.
bluetooth connects to everything fine, but no call sound over any accessory i try. got a new car and it won't work in there either. i'm on android 7.1.2 .
searched all over and plenty of people are having these issues but none of the posts i've read solve my problem. any help would be appreciated
Hey hey, I have a 128GB pixel with the same issue. I actually opened a case with Google support today about it. about 3 months back, only phone audio stopped working in my car. I was hoping the 8.0 update would fix it but it did not. I have a 2017 Honda Civic LX. I tried everything on my phone - even factory reset. Media audio works, I can play Spotify just fine but when i get a call, I can not hear the other person and they cannot hear me. The phone indicates it is connected via bluethooth... I'll try to update this post with what they find.
marc.ientilucci said:
Hey hey, I have a 128GB pixel with the same issue. I actually opened a case with Google support today about it. about 3 months back, only phone audio stopped working in my car. I was hoping the 8.0 update would fix it but it did not. I have a 2017 Honda Civic LX. I tried everything on my phone - even factory reset. Media audio works, I can play Spotify just fine but when i get a call, I can not hear the other person and they cannot hear me. The phone indicates it is connected via bluethooth... I'll try to update this post with what they find.
Click to expand...
Click to collapse
128G pixel here. This happens with every Bluetooth device I connect it to. 2 car stereos, 2 speakers, and a headset. All worked fine and suddenly one day... Didn't. I was hoping O Would fix it with all the Bluetooth bug fixes and changes they implemented.
Sent from my Pixel using Tapatalk
Darn, so the issue is a bit different. Mine works fine on a couple of other speakers I have.
Did anyone ever solve this? I've got the same issue, but it effects *all* my Bluetooth devices, but only when I am switched to my secondary user profile.
I've reset the phone app but no dice.
My phone will say it is connected to the Bluetooth device for the phone call. If I switch to speaker or phone and then back to Bluetooth, it works. Anyone else have similar?
wormbo said:
Did anyone ever solve this? I've got the same issue, but it effects *all* my Bluetooth devices, but only when I am switched to my secondary user profile.
I've reset the phone app but no dice.
Click to expand...
Click to collapse
Hi!
After hours of Googling you are the first I found who has the same error.
I have a Lenovo TAB4 8+, my kid wants to use Zoom and his Bluetooth headset but only the speaker and mic on the tablet works. I tried fresh install, without luck:
There are 4 type of users:
- Owner (primary - this is the only profile which works for calls on bluetooth headset)
- Standard Users (secondary - bt headset only supports listening: Spotify etc..)
- Child (bt headset only supports listening: Spotify etc..)
- Guest
The bluetooth headset is working with other devices, but not with this one. Unfortunately I have no other android device which supports multi-user.
Moreover, there was an hour when bt call worked from secondary user, but couldn't find out what is the problem.
Can anybody help me on this?
Best regards,
Karoly

Question BT audio trouble?

Anyone else finding that the Bluetooth audio can be a bit hit and miss, the audio has just fully cut out on me, but it displays as if it's still connected and playing via the headphones. I had no audio through either headphones, switching BT off and on, and rebooting headsets didn't solve it. Rebooting the phone brought the audio back, phew!
Out of the two headsets I have, My cheap Sony WI-C310's seem to work better, Using my jabra halo smart headset, it doesn't seem to connect media audio if it's also allowed to handle calls. I have to toggle calls off and just media to use Spotify with the headset (this could just be that headset being weird, think it got discontinued for not being great)
Anyone else having BT audio issues?
I've got a Huawei smart band 6 connected at the same time if that's a factor, it wasn't a problem on my original Nord though.
I have been facing the same issue for a while now, it's pretty random. There are times where it works perfectly and other times it either doesn't connect at all, or has a very weird delay, where it's fine in the beginning of say a video and gets a delay mid way through it. There are times where it only connects to one earphone, just issues all around. Also am using the oneplus buds z2, so honestly would expect it to work flawlessly with a oneplus device. The earphones work fine with other devices.
I've been getting random drop outs.
Both with connectivity with my car infotainment system and my cycle computer.
When I had my OP7Pro, never experienced anything of the sort when connected to these two same devices.
I've also tried enabling Bluetooth Gabeldorsche in the developer settings, and that didn't make a difference.
Will try changing the Bluetooth AVRCP version to see if that improves anything (currently set to the default of 1.5).
Has anyone else played with those settings and tested the impact?
Tested with 3-4 Bluetooth devices and no drop outs.
I notice that when I put the device in aereo mode the Bluetooth remain active, but in the latest days this problem doesn't happen anymore, maybe was a bug of the first fw, and after last update they have fixed?

Categories

Resources