[HOWTO] Bluetooth A2DP and HFP working (rooted phone) - Galaxy S I9000 General

As a Junior member I am not allowed to reply in the Development section of this forum, so I share what I have discovered here.
You must have a rooted phone to edit /system/etc/bluetooth/audio.conf
Use ADB or Root Explorer to edit this file.
Thanks to this members for leading the way to a working bt-connection:
spoidar http://forum.xda-developers.com/member.php?u=2842298
scotte9999 http://forum.xda-developers.com/member.php?u=848742
When connecting to car audio system I now have bluetooth streaming music from phone to car speakers and the HFP (Hands Free Profile) working. Receiving a call when listening to streaming is also working as the music mutes and the call is preferred.
Before I could only connect HFP and from time to time got a message saying phone must be re-connected.
I made the following changes to /system/etc/bluetooth/audio.conf
[General]
Enable=Sink,Control,Headset,Gateway,Source
#Disable=
AutoConnect=true
[Headset]
HFP=true
MaxConnections=3
Reboot the phone after saving audio.conf, enabled Bluetooth and under Options for my car audio I have two profiles ticked:
Media [v]
Phone [v]
-
My SGS GT-I9000
PDA: XWJS8
PHONE: XXJQ1
KERNEL: Speedmod-k13e-500hz

does this add a "media audio" profile to the galaxy bluetooth?
I have a Parrot bluetooth in my car and a Galaxy S. On the profile for the parrot in the Galaxy S I do NOT have an option "use for media audio", only "use for phone audio".
I have not been able to stream books (I use Ambling book player) to the parrot except when using the app called SuperMonoFroyo but it has to be restarted after every call placed or received.
I'd like to get the "use for media audio" profile if possible.
So is the mod to /system/etc/bluetooth/audio.conf a solution to my problem? Or is there some other way to solve this I haven't found.
Thanks
sblevine

This mod wasn't needed on Gingerbread. XWJVH stock audio.conf connect phone & media just fine.
Are you sure Parrot support A2DP?
Older C-F kernels also had problem with bluetooth but it is fixed on recent version.
Sent from my GT-I9000

hi
i have scala rider G4 bluetooth headset and when i get a call
i hear a regular ring and not A2DP, when i paired to G4 to nokia
i hear the ring music A2DP
do u know how i can fix it?

O-T said:
As a Junior member I am not allowed to reply in the Development section of this forum, so I share what I have discovered here.
You must have a rooted phone to edit /system/etc/bluetooth/audio.conf
Use ADB or Root Explorer to edit this file.
Thanks to this members for leading the way to a working bt-connection:
spoidar http://forum.xda-developers.com/member.php?u=2842298
scotte9999 http://forum.xda-developers.com/member.php?u=848742
When connecting to car audio system I now have bluetooth streaming music from phone to car speakers and the HFP (Hands Free Profile) working. Receiving a call when listening to streaming is also working as the music mutes and the call is preferred.
Before I could only connect HFP and from time to time got a message saying phone must be re-connected.
I made the following changes to /system/etc/bluetooth/audio.conf
[General]
Enable=Sink,Control,Headset,Gateway,Source
#Disable=
AutoConnect=true
[Headset]
HFP=true
MaxConnections=3
Reboot the phone after saving audio.conf, enabled Bluetooth and under Options for my car audio I have two profiles ticked:
Media [v]
Phone [v]
-
My SGS GT-I9000
PDA: XWJS8
PHONE: XXJQ1
KERNEL: Speedmod-k13e-500hz
Click to expand...
Click to collapse
Hey O-T,
I updated my audio.conf to the conf that you specified, but I still do not see the additional Phone audio profile under the options of my BT connected speakers. My device is a galaxy S2 T989. Do you know if this conf enables phone audio via A2DP for all the devices or is it just for GT-I9000?
Thanks.

I have updated to GB 2.3 and this problem to connect bt a2dp is gone.
Sent from my GT-I9000

Hi

easy solved in Google Play
Hello, dears
just head to Google Play and ask for : BTHeadSet, BTMono, BtMusic, Audio Router, Super Froyo Mono and other alike
I've been using BTHeadSet in my car and goes like if I were receiving a phone call, so all songs, audio and etc goes to the car speakers
See you around

Related

Help! Bluetooth never connects A2DP Stereo automatically !!

Hi! This issue has plagued me ever since i am using windows mobile. I own a TOUCH HD (though i think this issue is also with other windows mobiles) and a A2DP Stereo bluetooth headset from Sony.
http://images.google.nl/imgres?imgu...ox-a&rls=org.mozilla:en-US:official&sa=N&um=1
Now here's the problem. When I pair the phone with the Headset, it pairs the 2 services HANDSFREE & WIRELESS STEREO. Then i can listen to music via the headset.
When i turn the headset off and then back on again, it switches on the HANDSFREE ONLY !! And i have to go thru the following process to turn on the WIRELESS STEREO again:
1. on phone, click on Bluetooth Devices
2. select the headset device to view the 2 services (handsfree and wirless stereo). Both are selected. Deselect the Wireless Stereo service.
3. SAVE
4. on phone, click on Bluetooth Devices
5. select the headset device to view the 2 services (handsfree and wirless stereo). Re-select the Wireless Stereo service.
6. SAVE
Then it works again and i can listen to my music again.
Its a very annoying process and I wish someone could help me to explain if there is a faster way? Does everyone also have to go thru this process or am i doing something wrong?
Does there exist a program that can automate this process or any other solution?
looking forward to replies!
there are more than one small app to make it easy.i found one that works on my HD. uploaded for you here:
http://rapidshare.com/files/207816065/13-BTaudioTransfer.cab
next time try and do a search....
thanks a lot! It actually works! cant imagine why microsoft creates an OS without this built in as standard !
thanks.
ronald_adi said:
Hi! This issue has plagued me ever since i am using windows mobile. I own a TOUCH HD (though i think this issue is also with other windows mobiles) and a A2DP Stereo bluetooth headset from Sony.
http://images.google.nl/imgres?imgu...ox-a&rls=org.mozilla:en-US:official&sa=N&um=1
Now here's the problem. When I pair the phone with the Headset, it pairs the 2 services HANDSFREE & WIRELESS STEREO. Then i can listen to music via the headset.
When i turn the headset off and then back on again, it switches on the HANDSFREE ONLY !! And i have to go thru the following process to turn on the WIRELESS STEREO again:
1. on phone, click on Bluetooth Devices
2. select the headset device to view the 2 services (handsfree and wirless stereo). Both are selected. Deselect the Wireless Stereo service.
3. SAVE
4. on phone, click on Bluetooth Devices
5. select the headset device to view the 2 services (handsfree and wirless stereo). Re-select the Wireless Stereo service.
6. SAVE
Then it works again and i can listen to my music again.
Its a very annoying process and I wish someone could help me to explain if there is a faster way? Does everyone also have to go thru this process or am i doing something wrong?
Does there exist a program that can automate this process or any other solution?
looking forward to replies!
Click to expand...
Click to collapse
I have a same problem with my car audio, but when i install this BT program in lower post they connect me only to handsfreee, and when i go to play music they disconnected my car BT audio.
Just for you interest - this does NOT make A2DP work.
Mirror site please!!!
KukurikU said:
there are more than one small app to make it easy.i found one that works on my HD. uploaded for you here:
http://rapidshare.com/files/207816065/13-BTaudioTransfer.cab
next time try and do a search....
Click to expand...
Click to collapse
Can someone please mirror this download, my limit is up on.
Here is the source.
I got it downloaded, and here is the developers web site
http://trianglepowers.com/PPC
(sorry all, could not find an edit for my last post)
Pair your stereo headset and select the Heaset and Wireless Stereo profiles, this will work from start.
Next time you turn on your stereo headset it will only connect as standard headset (ie mono for phone calls)....
Just press the play/pause button on your headset and it will auto connect to A2DP stereo also.
Simple EH?
Tried that!
I have tried that, and do it on my laptop (another set and stereo profile only), it may be dependent on the headset you are using.
The Triangle Powers BT Stereo is mono output only, and made the audio quality poor on my HD. http://trianglepowers.com/PPC/ViewApp.aspx?ID=52
I installed teksoft A2DP Toggle 1.1 this morning http://teksoftco.com/forum/viewtopic.php?t=1885 and added it to the program button in TouchFlo, not the today screen. it seems to work fine if you press the button twice, better than 7 clicks. (My HD info in the signature, Telstra TouchFlo replaced by Standard HD)
GSamways said:
I got it downloaded, and here is the developers web site
http://trianglepowers.com/PPC
(sorry all, could not find an edit for my last post)
Click to expand...
Click to collapse
Looks like promising software, I will play with it and update in few days with pros and cons
GSamways said:
I have tried that, and do it on my laptop (another set and stereo profile only), it may be dependent on the headset you are using.
Click to expand...
Click to collapse
If pushing the Play/Pause does not connect a previously paired BT Stereo Headset to your HD then it is not a true A2DP profile headset.
See if you can get your hands on a pair of folding Sony DR-BT22 headphones.
True A2DP with built in mike to answer incoming calls. Bass is very good and full funtion with the HD.
Highly recommended.
ronald_adi said:
Hi! This issue has plagued me ever since i am using windows mobile. I own a TOUCH HD (though i think this issue is also with other windows mobiles) and a A2DP Stereo bluetooth headset from Sony.
Click to expand...
Click to collapse
ronald_adi said:
Hmm! I pair the HD with a great bluetooth headphones from Sony I got in Tokyo recently (not the same as yours). I dont have any problem with the A2DP connection at all. I have perfect high audio definition thru to the headset.
Sorry not much help-but it may be the headset not the HD thats your problem!
Click to expand...
Click to collapse
Agree
You guys are correct, the smaller headsets that try to share the Play/Answer/end button are probably the issue.
I have been using A2Dp Toggle 1.1 as mentioned and link above and it works great, no loss of sound noticed.
We should start an XDA (not just HTC) WiKi to list headsets that connect or not for WM5 and WM6.
HD Compatible Headphone
I have a Sony DR-BT50 headphone that works beautifully. The sound is brilliant for Music and particuarly movies that I have transferred from DVD to the HD with MP4HT4HD!
I never thought that i would watch a movie on a screen so small but the clarity is something else and the high audio signal with the bluetooth headphones make it a pleasure! Great for long layovers at airports etc.
Any in-ear types that work?
All the sets that I have seen posted as working are the full headphone (over ear) types, and this may again be a shared button thing.
Does anyone have / know of an in-ear / earbud type that works / connects correctly
A2DP Toggle 1.1
I dowmloade that A2DP Toggle 1.1 on my phone. I use HTC TYTN1 running Windows Mobile 6 Professional and this software gives hell to say the least.
When I connect it to my headset, it works fine BUT it does not pay MP3s on my headset. It keeps on saying ERR on the icon of the head speakers (the second icon form bluetooth icon). I even asked most of the technician but no one knows anythings. If anyone knows what my probles is, please rescue me!!!
I might be doing something, please help me guys
Toggle works for me!
I had the same problem, the triangle powers prog didn't work for me. In fact the headset icon was on but no playback.
The toggle 1.1 works, none of the funcitons described on it's website are available, setup and various icons are from the home page but HTC Touch HD home page doesn't support that.
Never the less, putting Toggle in my program list and using it toggles easy between phone speaker and headset. Like someone has already said, two clicks and we're in business from starting my van to getting music from my phone on the stereo. I'm happy enough with that.
I have a Pioneer stereo with Parat built in, so I get BT audio and Hands free calls. All seems to be working perfectly now. Thanks to this thread.

[Q] Bluetooth Headset Audio?

Hi All,
I have a 16GB TF .. and it's been very good so far. However, I'm having an issue that I think is probably simple .. but google & xda searches don't find anyone else with the same issue.
I want to use Skype over the tablet, but with a bluetooth headset. Using the TF with just the internal mic & speakers is pretty speakerphon-ish .. and I'd like to use a headset.
I have a couple of BT headsets (one of them 2.1 w/ EDR), and I can pair any / all of them to the TF. Problem is, the audio doesn't come through over the head set, and I don't know how to force it to.
The TF (now running 3.1) acknowledges that the headset is connected (to phone audio it says) .. but the only options in the configuration is to remove it.
What am I missing? I see reviews all over the place where folks are using the tablet to play movies in the car, and piping the audio out via BT? I think I must be missing a config step .. but can't find it.
Thanks for your help.
Im kind of in the same boat but I dont think honeycomb has a "phone audio" functionality. Only "media audio," which is what you would use when piping audio to external speakers.
its the same on the phone, those headsets only connect to mono phone audio so if I was playing a movie or music its silent. So for right now I think you are stuck until they figure out how to make specific apps recognize the phone audio device.
Makes some sense .. so it knows there's a "phone audio" aspect to things out there, but we don't have any way to force the Skype audio to be phone audio and not media.
So if I had a stereo headset, would the system work with it and pipe the audio out since it would recognize it as a media audio system?
Where does the mic fit in all of this?
I have a BT combination headset/headphones which I paired with the Transformer, and from testing it I can say the following:
1. The transformer paris with the device and recognizes both the "handsfree" and "media" profiles that the headphones support.
2. The "media" profile (also called A2DP, stereo bluetooth, etc) works fine. I have listened to music in stereo though them and all of the controls like play/pause and previous/next work properly. If you want to listen to movies, music, or whatever else you should be fine.
3. I can hear Skype through the headphones, but testing revealed that Skype is using the Transformer's build in microphone rather than the one in my headphoens. It also doesn't respond to the call button. Thus, it seems to be using the "media" profile to deliver sound.
So, even though the Transformer can clearly recognize handsfree profile, it either isn't passing it to apps or Skype isn't asking for it.
It looks like as long as you plan to be Skyping with the tablet infront of you, you can get almost the same functionality of a handsfree/headset by using a BT headphones instead. As long as you don't plan to leave the tablet in one room and talk in another you should be fine.
hey so i tried Super BT Mono Free Trial and it actually worked. thought it was Froyo only and reportedly broken with gingerbread.
using Samsung WEP450 paired "handsfree" profile, turned on Super BT Mono and to my surprise audio from music player routed to the BT headset. sound is crappy, and so far can't get audio from BeyondPod to the BT headset.
rooted 8.4.4.11 with netformer 1.5 OC 1.6 ghz and juwe11 ram profile.
...
try jabra... coz jabra headset supports a2dp i had the same issues until i bought a jabra
Good help :] but way to dig up a year old thread xDDD""
hehehehe
Thing O Doom said:
Good help :] but way to dig up a year old thread xDDD""
Click to expand...
Click to collapse
hahaha just wanna keep answering those unanswered questions coz before i couldnt post here and i see a lot of questions left unanswered and i know how it feels just like to help out in anyway

Bluetooth

Is there a way to modify the bluetooth code so that the "ear peice" via "bluetooth" will also give you "music" etc....
I mean if the phone detects the ear peice and plays all the calls thru the ear peice..... why cant it be hacked to also play internet music....
Thanks in advance....
pm me a fix... flame in public...
Actually, I too would like to know if this is possible. Why can't it just be detected as wireless "headphones/headset".
Although I'm using an iPhone 4 so I'm sure that it'd be more difficult to do this if it is possible.
Should work
Lexsym said:
Actually, I too would like to know if this is possible. Why can't it just be detected as wireless "headphones/headset".
Although I'm using an iPhone 4 so I'm sure that it'd be more difficult to do this if it is possible.
Click to expand...
Click to collapse
It depends on the activity the app code is running on the host device. All audio is able to be routed to the headphones. What kind of phone are you using?
It's not as simple as wired headphones. BT has something called profiles - each profile is for doing some particular thing - like transferring files, playing music, making calls, etc. For a particular feature to be supported, both the phone and the headset has to support that particular profile. Most android versions have support for most common profiles.
Calls are possible through profiles called HSP/HFP and stereo music is possible through profile called A2DP. Most of the mono headsets which are mainly for calling support only HSP/HFP and not A2DP - that's main reason you can't play music on most mono headsets. If you buy stereo BT headsets, they come with both HSP/HFP and A2DP - meaning they can support both calls and audio.
There are apps / hacks to stream music from an android phone to a mono headset through HSP/HFP. I've never tried any - you can look for those if you want to play music on your mono BT HSP headset.
/Quote ...
There are apps / hacks to stream music from an android phone to a mono headset through HSP/HFP. I've never tried any - you can look for those if you want to play music on your mono BT HSP headset.[/QUOTE]
I searched play store for mono bluetooth..... found blue tooth mono router... seems to work ok... a lot of white noise but hey works great!
thanks for the share
!
RoxAbout said:
Is there a way to modify the bluetooth code so that the "ear peice" via "bluetooth" will also give you "music" etc....
I mean if the phone detects the ear peice and plays all the calls thru the ear peice..... why cant it be hacked to also play internet music....
Thanks in advance....
pm me a fix... flame in public...
Click to expand...
Click to collapse
Are you able to connect the device to a computer or tablet? I think it would depend on the drivers on the device you're connecting to. What are you trying to connect to? Does it detect your earpiece?
its a jabra bluetooth ear peice.
and theres several "mono" bluetooth apps on the market/play store.
I happened to try blue tooth mono router and it works fairly well.
seems to use aprox 3 to 5% of battery in aprox 15 to 20 mins.
:good:

[Q] Bluetooth audio (A2DP) on CM10.1

did anyone manage to get audio streaming working on CM10.1?
I only get audio through the phone speakers.
I tried with PowerAmp's feature called "Route Output" and even I set the option to my bluetooth speakers (I have the MXBT chinese bluetooth speakers).
Things that worked over bluetooth:
pair and connect to any bt device and my laptop
send file to my phone from ubuntu
I can get you the log files if you want
pabiagioli said:
did anyone manage to get audio streaming working on CM10.1?
I only get audio through the phone speakers.
I tried with PowerAmp's feature called "Route Output" and even I set the option to my bluetooth speakers (I have the MXBT chinese bluetooth speakers).
Things that worked over bluetooth:
pair and connect to any bt device and my laptop
send file to my phone from ubuntu
I can get you the log files if you want
Click to expand...
Click to collapse
So, answering my own post, I've been reading around and testing a bit...
I tried yesterday Mono Bluetooth Router (https://play.google.com/store/apps/details?id=com.maxistar.monobluetoothfree) and it surprisingly works, streaming PowerAmp to my nokia hands-free earpiece.
Does anyone know what is this CyanogenMod using as a BT driver? BlueZ or BroadComm's stack?
I read that these guys are porting BlueZ to Android 4.2, it would be nice to have this software back!
http://gitorious.org/android-bluez
There is a post here, looking for people to work on this port ( http://forum.xda-developers.com/showthread.php?t=2096399 )
Regards

[Q] Bluetooth Media Audio (A2DP) will not auto-connect to car stereo

When I start my car the bluetooth connects to the stereo for phone audio but it won't remember my setting to connect to media audio. I have to manually go into the settings every time and check the media audio button. I am using a rooted stock rom and have an i9500 and I also had the problem before rooting. I know it isn't my stereo because my previous phone (Galaxy Nexus) worked just fine. Does anyone have any ideas on what could be done to fix this other than Samsung putting out a fix for it?

Categories

Resources