2.1 Rom Bluetooth simple secure pairing (SSP) - Droid Eris Q&A, Help & Troubleshooting

Hey all,
I have been using my Eris with a bluetooth Stereo for a quite a while, but when I rooted the phone over to a 2.1 ROM it started using Simple Secure Pairing (SSP) when authenticating the bluetooth headphones. My car stereo doesn't support this (its brand new too...).
So, the question is has anyone ever looked into disabling SSP and forcing it to use the old static key method of pairing in 2.1?
I am not adverse to diving in and doing the dev work, I just wanted to make sure someone hasn't already done it. If I do need to dive in does anyone know if its possible to disable it via a config file, or will I need to backport the bluez stack?
Thanks for all the great work,
traetox

I too am having this issue. Worked fine in 1.5 but ever since root it will play audio through pioneer head unit but phone won't connect. I will patiently await a fix.
-------------------------------------
Sent via the XDA Tapatalk App

Oh, so that's what's up.
I'm having a similar problem with my Jabra Cruiser bluetooth speakerphone/FM transmitter. What mine does, though, is it will connect and I can use it to listen to music and do the normal speakerphone functions like it normally would, but none of the media buttons will work anymore. It's not a huge inconvenience, since I mount my phone in the car anyway (long commute). It's only a problem if I need to have Google Navigation in the foreground but still want to change songs.
Patiently waiting. You devs are awesome, if you don't get enough sycophantic slobbering already.

ok, so I did some digging on mine and it turns out that I can pair with a simple bluetooth headset via the '0000' key. But the phone attempts to go through the full key negotiation to connect the "bluetooth headphones." So i can get audio via the headset negotiated connection, but it sounds awful without full AD2P.
I am getting a ROM kitchen setup and will try and map the 1.5 bluez stack onto the 2.1 source and see where that gets me.
Thanks for the input.

Thanks for working on this! I've tried to incorporate some of the Bluetooth files as well as the WLAN.ko from other roms into my Rom but have been unsuccesful. I am running damage control 2.08 that I ported. I was originally unable to get WiFi or Bluetooth to work until I copied the WLAN.ko from the oc patch now both work minus the phone. Don't know if this helps but figured i let you know. If you have those files from a 1.5 Rom I will try them in my port and let you know what the results are.
-------------------------------------
Sent via the XDA Tapatalk App

bt issues as well any fix
I have posted several times on this can not get an answer Have the same issues anyone with experience know what I can do?
Here is my situation I have driod eris ee2.1 on verizon before root I could auto connect bt to my pioneer avic d3 with phone audio only I had to manually connect media audio every time but I got used to it but since root I now can connect to media audio only and when I try to connect phone audio it dissconnects in less than a minute I am at a loss as to what to do thought maybe someone has experienced this and figured it out Thanks in advance.

suppliesidejesus said:
Oh, so that's what's up.
I'm having a similar problem with my Jabra Cruiser bluetooth speakerphone/FM transmitter. What mine does, though, is it will connect and I can use it to listen to music and do the normal speakerphone functions like it normally would, but none of the media buttons will work anymore.
Click to expand...
Click to collapse
I have a Jabra Crusier, and I'm having an issue with a lot of ROMs where I can not connect to it and stream music over bluetooth. I have found that Aloysius v6 Maps rom by Spencer Moore works well with the bluetooth thing. You may have to connect and disconnect a few times here and there to get it to connect, but it's been the best ROM for it. I used V11 Maps and it worked for a little while, but stopped connecting properly just recently.
There are a few known bugs with v6, but I'm fiddling with V11 to try and get the bluetooth to stay perm. Once I get it, I'll let Spencer Moore know and get him any new updates I come across.

Just an update. I am able to pair and connect to phone using white widow Rom.
-------------------------------------
Sent via the XDA Tapatalk App

Related

Any way to force connect to a Bluetooth device?

I just got my new car yesterday, a 2012 Hyundai Veloster, and my phone refuses to connect to the already paired system unless I actually choose to connect to it.
In my Toyota Matrix in which I installed a Clarion CZ500, I had no problems auto connecting.
Can anyone think of why this might be happening or know of a workaround? Unfortunately, Tasker doesn't have a feature to connect to a Bluetooth device.
Check out the pairing section.
http://www.hyundaiusa.com/bluetooth/bluefaq.aspx
I'm going to try to set it up through the voice interface, but it shouldn't make a difference.
It started working properly all of a sudden.
Sent from my GT-I9100 using xda premium
rickytenzer said:
I just got my new car yesterday, a 2012 Hyundai Veloster, and my phone refuses to connect to the already paired system unless I actually choose to connect to it.
In my Toyota Matrix in which I installed a Clarion CZ500, I had no problems auto connecting.
Can anyone think of why this might be happening or know of a workaround? Unfortunately, Tasker doesn't have a feature to connect to a Bluetooth device.
Click to expand...
Click to collapse
Having the same problem with my Atrix 4G running GB 2.3.4 and my car stereo (Pioneer MVH-8200BT).
Manual connection works fine. This used to work too, I just can't figure out what broke it (2.3 upgrade maybe). I've deleted the BT profiles from both the car stereo and the phone, didn't change anything. (and yes, the car stereo is set to Auto-Connect).
I find this extremely annoying :-/
Is BT on before the car starts? I found that that's the problem.
Sent from my GT-I9100 using xda premium
rickytenzer said:
Is BT on before the car starts? I found that that's the problem.
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
I'll try to reverse the order and turn the BT on after the radio is fully powered up
At the risk of highjacking an old thread:
How secure is bluetooth.
I'm looking at a bluetooth ignition system.
Function:
When a pairing is made, a relay is turned on.
When the pairing is lost, the relay is turned off.
The device gives no indication, physical or via bluetooth about the relay status.
The device is set to non-discoverable by hardware.
The password is a 20 character alpha-numeric code.
The device performs no function and stores no data, it simply operates from the pairing.
How secure would this be? or more accurately, how much time would likely be required to crack this device assuming no physical access?
Also looked into RFID, but that looks to be easy to crack unless I spend silly money on an active encryption system.

[Q] Bluetooth Headset not pairing ICS LPQ

So my Jawbone Prime was connecting fine before I updated to ICS LPQ (was on GB LA4 before) and now it doesn't even show up on the devices list even when I try to re-pair or reset the headset.
I tried 2 different sets to no avail.
Anyone know of a solution?
Connects to A2DP BT Headset (Motorola) but only allows media audio to connect. Phone audio doesnt stick.
ICS has some compatibility issues with certain bluetooth devices.
GB my phone always paired with my car stereo and streamed music without any issues.
So far every ICS release, even official, has caused my phone to reboot after streaming music over BT for 10+ minutes.
Its pretty sad they dropped the ball here. GB worked fine, and they borked it.
Well I can connect my BT keyboard fine. I just tried my Motorola BT earphones which are A2DP and it connects but won't allow phone audio to go through the BT earphones. However Media does go through. At least it detects it.
It doesn't detect it at all on the Jawbone Prime (which is not A2DP).
Update:
I managed to connect my jawbone and actually have 2 phone calls on it. After that I had the phone in my pocket and when I checked maybe 15mins later it had frozen and I had to keep power pressed to shutdown/reboot.
It kind of matches Chakker3D's pattern of working then not working. It's like there's a memory leak in the bluetooth stack? maybe I'm just spitballing here.
What I know is that in GB whenever I deactivated BT it took a good 20-25secs. In ICS it's instant to turn off or on. In GB however there was 0 issues.
I just really hope Samsung addresses it. Or if we are lucky, a dev will rework a rom so this problem is gone.
But from what I can tell, very few are having this problem.
Airbag888 said:
So my Jawbone Prime was connecting fine before I updated to ICS LPQ (was on GB LA4 before) and now it doesn't even show up on the devices list even when I try to re-pair or reset the headset.
I tried 2 different sets to no avail.
Anyone know of a solution?
Connects to A2DP BT Headset (Motorola) but only allows media audio to connect. Phone audio doesnt stick.
Click to expand...
Click to collapse
Sometimes is helps when you change kernel. Give a try
078gregory said:
Sometimes is helps when you change kernel. Give a try
Click to expand...
Click to collapse
Another update:
Without any intervention on my part other than keeping on trying it finally discovered my BT headpiece. In fact it discovered both.
Now it's still not 100% perfect because it discovers it, connects and immediately disconnects. If I press a button on the headpiece while it connects then it stays connected and it hasn't restarted/locked the phone yet. I even connected my 2nd headset (another Prime) and it worked.
Keeping fingers crossed. Now I need to see what happens when I walk out of range and back in range.

[Q] Bluetooth Autoconnect

I'm guessing the answer to my question is likely to setup a Tasker profile, but I thought I'd ask anyway. Does anyone know of a way to get Bluetooth on my OG to autoconnect to a device it's already paired to?
For example, when I get in my car and want to connect to my stereo, I turn on Bluetooth, then have to go to my paired devices and manually connect to the stereo. I'd much rather just turn on Bluetooth and have the phone autoconnect to the stereo.
I'll likely soon set up an NFC tag for my car, so I should be able to turn on Bluetooth and connect to the stereo with that, but wanted to know if there was another solution in the meantime.
Any ideas?
Digil said:
I'm guessing the answer to my question is likely to setup a Tasker profile, but I thought I'd ask anyway. Does anyone know of a way to get Bluetooth on my OG to autoconnect to a device it's already paired to?
For example, when I get in my car and want to connect to my stereo, I turn on Bluetooth, then have to go to my paired devices and manually connect to the stereo. I'd much rather just turn on Bluetooth and have the phone autoconnect to the stereo.
I'll likely soon set up an NFC tag for my car, so I should be able to turn on Bluetooth and connect to the stereo with that, but wanted to know if there was another solution in the meantime.
Any ideas?
Click to expand...
Click to collapse
As long as I turn on Bluetooth before I start my car, mine auto-connects to my Hyundai Sonata just fine...
Sent from my LG-E970 using xda app-developers app
My phone auto connects to my car too. Even if I forget to turn it on before I start my car and toggle it on after the car has already started, they will find each other and auto connect. They do not connect instantly though (maybe the BT scan interval is a little bit longer). Maybe you just have to wait a bit?
I have Llama installed and have a profile setup so that when it disconnects from a known Wifi (leave home/work/etc.), the phone will turn on BT automatically and try to connect to the car. Another profile is set up so that once the BT does connect to the car, it will turn off Wifi on the phone and also turn up volume and vibrate "on".
Hmmm, thanks for the replies. I'm wondering if my issue is that I've only turned Bluetooth on after the car was running, not before. If anything, I'll just set up a Llama or Tasker profile. Thanks again!
Digil said:
Hmmm, thanks for the replies. I'm wondering if my issue is that I've only turned Bluetooth on after the car was running, not before. If anything, I'll just set up a Llama or Tasker profile. Thanks again!
Click to expand...
Click to collapse
Yeah, if I turn on bt after I start the car then it won't auto-connect.
Sent from my LG-E970 using xda app-developers app
Just a heads up to anyone interested. Tasker doesn't have an action to autoconnect to paired Bluetooth devices. However, there is an app available in the Play Store solely for this functionality:
https://play.google.com/store/apps/...sMSwyLDEsIm9yZy5teWtsb3MuYnRhdXRvY29ubmVjdCJd
This app is also a Tasker plugin, so you can use it in conjunction with any Tasker profile. Good stuff.
Digil said:
I'm guessing the answer to my question is likely to setup a Tasker profile, but I thought I'd ask anyway. Does anyone know of a way to get Bluetooth on my OG to autoconnect to a device it's already paired to?
For example, when I get in my car and want to connect to my stereo, I turn on Bluetooth, then have to go to my paired devices and manually connect to the stereo. I'd much rather just turn on Bluetooth and have the phone autoconnect to the stereo.
I'll likely soon set up an NFC tag for my car, so I should be able to turn on Bluetooth and connect to the stereo with that, but wanted to know if there was another solution in the meantime.
Any ideas?
Click to expand...
Click to collapse
I have a very similar issue. I have two bluetooth devices in my car. My handsfree system and a stereo adapter. The phone autoconnects to the handsfree system but I have to manually click on the stereo adapter every time to get it to connect. No ordering of on/off etc seems to alleviate this. Any ideas?
themoe said:
I have a very similar issue. I have two bluetooth devices in my car. My handsfree system and a stereo adapter. The phone autoconnects to the handsfree system but I have to manually click on the stereo adapter every time to get it to connect. No ordering of on/off etc seems to alleviate this. Any ideas?
Click to expand...
Click to collapse
The app I mention above has an option to autoconnect to all paired devices. This might be what you're looking for.
Digil said:
The app I mention above has an option to autoconnect to all paired devices. This might be what you're looking for.
Click to expand...
Click to collapse
Yea, already gave that a shot. Tried just the app, then tried a tasker profile that would try to connect to the A2DP device if the handsfree device was connected too. Neither worked. Gonna try another couple apps to see where it gets me; if not I'll just live with having to always click it in the settings menu until an AOSP rom comes along that I would be willing to run (not quite annoyed enough at the LG software to give up an SD card/8gigs and hardware keys)
themoe said:
Yea, already gave that a shot. Tried just the app, then tried a tasker profile that would try to connect to the A2DP device if the handsfree device was connected too. Neither worked. Gonna try another couple apps to see where it gets me; if not I'll just live with having to always click it in the settings menu until an AOSP rom comes along that I would be willing to run (not quite annoyed enough at the LG software to give up an SD card/8gigs and hardware keys)
Click to expand...
Click to collapse
Try this app. Have been using it for a long time now. I have the same problem as you. You can set it up to automatically connect to a second device ( your music adapter), right after it connects to the first one ( your car). There are also more useful settings there.
https://play.google.com/store/apps/...nav_result#?t=W251bGwsMSwxLDMsImEyZHAuVm9sIl0.

AOKP 4.2.2 - Bluetooth Pairing

Hi all. Has anyone tried to pair with a car?
I'm trying to pair with a Kia Sorento. It's looks like it pairs OK and then shows connected but the car doesn't acknowledge that it is connected.
I'll continue to test but wanted to know if anyone else had success. I'll try with other bluetooth devices as well. Please post your experiences with Bluetooth.
Thanks for the ROM update and thanks for your responses.
Well, I've successfully paired and used several different bluetooth devices. Didn't think I had this many:
- bluetooth mouse
- bluetooth keyboard with built-in trackpad
- OBD II reader
- Music headset
I have a phone headset and my car. It looks like both of these pair but don't connect properly. The headset is for phone profile only. After pairing, clicking on it does nothing. Doesn't even try to pair. For my car, it pairs and I'm able to enter the pass-phrase/key but then it doesn't connect.
It looks like there is an issue connecting to devices that use the phone profile. When looking at the settings for the paired items, there is a profile for phone audio. It has a checkbox which is not checked and is disabled...cannot check it.
I'll post screen captures when I get a chance.
Thank you
It looks like the HFP (hands free protocol) is needed for using a headset on a mobile phone as in the case of a earpiece or to use a car as a hands free for a mobile phone as well.
It looks like Blues does not support HFP. There is mention of an oFono project that works with Blues to support HFP but no mention of Android support. I also found some mention of Blues adding that support. Maybe it's available and needs to be configured. Didn't dig too far into it and I'm not that familiar with these technologies.
Hopefully, one of the devs can follow up on this or another group has done it or figured out how to do it.
I'll keep looking and will post if/when I find anything.
FYI, Bluez just released a new version April 12th.
I found some configuration files in /system/etc/Bluetooth
The audio.conf file has several settings referring to headset and hfp. I tried some variations but no luck. Good news is that it looks like Bluez supports headset and hfp out of the box/built-in.
More testing needed.
I also read that after changing settings you will have to unpair and repair your device to pick up the change.
I wonder what the stock files have?
It looks like, ideally, there are other profiles that should be there to have a good experience. PBAP, phone book access protocol, is needed for transferring contacts, for example.
it fix on next release, but have reboot afte call =(
zyr3x said:
it fix on next release, but have reboot afte call =(
Click to expand...
Click to collapse
So my reboot after a call is related to bluetooth headset. Right?
Any ideas about overcoming this?

[Q] HOX+ Bluetooth Phone issues

I have my HOX+ connected to the car via bluetooth. The music streams brilliantly. No issues there at all.
What I do have major issues is with Phone calls. Making outgoing calls is impossible it refuses to conenct to the bluetooth speaker even if you manually select the option, it just goes to internal speaker. If you select external speaker it goes ok but just wont connect to the car sound system at all.
In comming calls are iffy. Some times they pipe through the speaker but not all the time.
I know there are issues with HTC and bluetooth in general just looking for some ideas on how to try and fix the issue.
I have viper rom and elite kernel.
I was even thinking about buying this to see if it would help!
HTCs bluetooth stack has known issues with certain kinds of HSP devices.
The problem is that since the BT stack is propertary and closed source
it is hardly possible to change anything there compared to AOSP roms
where this is open source
So even if I guess you wont like the idea I can only suggest that
you try an AOSP rom if this is really important for you.
There is still not a 100% guarantee but chances are better that it works
About which kind of car BT device are we actually talking?
Even with the AOSP BT stack there are certain devices that have problems
espcially some kind of car manufature propertary solutions.
I use a Kenwood BT capable receiver and it works without problems
The device you linked may not help you because from the description
this is only for A2DP which doesnt include BT phone audio (HSP profile)
...
- this dongle is compatible with all devices with BT A2DP profile
...
Hmm ok so it sounds like the dongle shouldn't work as expected then ok! Just dont want to spend nearly £50 and find it doesn't work any better.
I have a Kia Pro Cee'd 2 with standard inbuilt car stero / bluetooth. I think it is the fact that it works sometimes bothers me more than if it didnt work at all!
I did try osap for a bit and had similar problems but will try again and see if I can get a good connection!
In the car I have buetooth connection, usb charging port and aux connection that is compatable with iphones. I actually get an iphone connection cable with the car!
Most of the bluetooth boxes I have seen only seem to have A2DP and AVRCP
connection profiles so I dont think these would work either.
Ghost said:
I have a Kia Pro Cee'd 2 with standard inbuilt car stero / bluetooth. I think it is the fact that it works sometimes bothers me more than if it didnt work at all!
I did try osap for a bit and had similar problems but will try again and see if I can get a good connection!
Click to expand...
Click to collapse
well then this seems one of those sh.. devices
if you already have tried a recent 4.2.2 AOSP rom and it failed
then it prolly will still not work
Allthough there has been a patch in bluedroid lately regarding connection issues
https://github.com/maxwen/bluedroid/commit/e6eaba415b3d9cb0043a590cc01a1e7d79fed5ca
I have no idea if this may help but you can try

Categories

Resources