I cannot pair my vehicle's headunit to a CM-powered device, starting with CM6 RC2. (RC1 worked as expected).
I would like to build the stock Android Bluetooth stack and replace that portion of CM with it, in an effort to see if it resolves this problem for me. I'm also curious how the new Bluetooth stack in Gingerbread will behave, as it's apparently received an overhaul.
Ultimately, I'd like provide a package so that CM users could easily "flash" a new BT stack if they're having problems with CM's modified version.
I'm a junior developer, and I have Ubuntu on my machine, as well as AOSP Gingerbread and CM6/7, all building correctly. However, I lack the knowledge (or even a starting point) on what I need to do to accomplish this.
Anyone willing to offer some advice?
Additionally, if anyone else out there is having problems, please post here--once I get this working, I'll need test candidates to see if it helps resolve their issues as well.
EDIT: Starting here. http://source.android.com/porting/bluetooth.html
Never had an issue with bluetooth and my vehicle or a couple of others while running CM 6.x or any of the nightly builds of cm6. Sometimes a kernal I flashed would break it, but otherwise it worked fine. I done this one both a alpine blue tooth module and factory ones.
What are you syncing to?
aduljr, the type of headunit I have is called "BlueConnect", and is built-in to my 2009 model year Hyundai Elantra. This is the manufacturer's website: http://www.autointelligence.com/
Like I said, it worked with CM6.0.0 RC1, but stopped working starting with RC2 and hasn't worked since.
So far I've started reading about the BlueZ stack, but haven't made more progress than simply reviewing some make files.
As always, if anyone has any pointers (or if anyone is also having BT-related problems), please post.
Thanks.
While you're working on the bluetooth stack, can you look into the lack of DUN/PAN support on the the Evo?
timwoj said:
While you're working on the bluetooth stack, can you look into the lack of DUN/PAN support on the the Evo?
Click to expand...
Click to collapse
I suppose I might as well--I'll have to delve into Bluetooth pretty deep I suppose, so I'll see what I can do.
What are you hoping to do with DUN/PAN support? Mobile networking/Ad-Hoc of some sort?
Shidell said:
I suppose I might as well--I'll have to delve into Bluetooth pretty deep I suppose, so I'll see what I can do.
What are you hoping to do with DUN/PAN support? Mobile networking/Ad-Hoc of some sort?
Click to expand...
Click to collapse
The Savage Team will help.
my suggestion is start a private google group, its a great way to collaborate with your team
have you tried updating to cm6.1 and trying with a stock kernel?
jsseidel1 said:
The Savage Team will help.
my suggestion is start a private google group, its a great way to collaborate with your team
Click to expand...
Click to collapse
Interesting, and appreciated. I'll look into a Google Group, although for now I'll work out of this thread unless this grows into a large project.
BrianDigital said:
have you tried updating to cm6.1 and trying with a stock kernel?
Click to expand...
Click to collapse
I have tried 6.1 with an alternative kernel (Kings) to no avail. Do you have a kernel you'd suggest I pair with 6.1 for testing purposes? I'm more than willing to do so for testing purposes.
Shidell said:
What are you hoping to do with DUN/PAN support? Mobile networking/Ad-Hoc of some sort?
Click to expand...
Click to collapse
Basically, I'd like to be able to tether my phone over BT. The Evo doesn't provide a DUN or PAN service that OS X can see (never tried windows), so things like Android-Wifi-Tether don't work in bluetooth mode.
does you phone work with any other bluetooth device?
aduljr said:
does you phone work with any other bluetooth device?
Click to expand...
Click to collapse
It works fine for other Bluetooth profiles (phonebook, etc) but it doesn't provide a PAN service at all. I haven't tried with the new AWT, but I don't hold much hope.
I've created an update package from CM6.0.0 RC1 with (what I believe to be) all the pertinent Bluetooth files. This will replace your current files when you run this update script.
I'm going to test this using a CM7 nightly, and wholly expect this to fail. This may actually work with CM6, however, but I'm testing CM7 first.
If anyone else tests this, please let me know your results.
Also, if anyone is more tuned in as to what needs to be done/fixed, please let me know that as well. I'm basically treading water in the middle of the pacific, hoping I find an island.
This is appreciated. I stopped using CM because they changed something with bluetooth that would cause my Motorola Rokr headphones to constantly cut in and out. I asked the question over at CM's forums but never received any help there. Before with RC6 the headphones worked flawlessly and I could actually ride my mountain bike on the trails and never have it cut out. Seems they have cut some power out to save battery or something but hey I'm no dev so who knows. Maybe in your quest to get better bluetooth you could figure out if the power can be turned up for those of us that just want a stronger connection.
BuddaBelly said:
This is appreciated. I stopped using CM because they changed something with bluetooth that would cause my Motorola Rokr headphones to constantly cut in and out. I asked the question over at CM's forums but never received any help there. Before with RC6 the headphones worked flawlessly and I could actually ride my mountain bike on the trails and never have it cut out. Seems they have cut some power out to save battery or something but hey I'm no dev so who knows. Maybe in your quest to get better bluetooth you could figure out if the power can be turned up for those of us that just want a stronger connection.
Click to expand...
Click to collapse
+1 I have this same problem. CM has a much weaker bluetooth connection than Sense ROMs. I would love to be able to flash something over CM7 to increase bluetooth reliability, even if it hurts battery life (you could always turn bluetooth off when you need to save battery).
Shidell said:
I've created an update package from CM6.0.0 RC1 with (what I believe to be) all the pertinent Bluetooth files. This will replace your current files when you run this update script.
I'm going to test this using a CM7 nightly, and wholly expect this to fail. This may actually work with CM6, however, but I'm testing CM7 first.
If anyone else tests this, please let me know your results.
Also, if anyone is more tuned in as to what needs to be done/fixed, please let me know that as well. I'm basically treading water in the middle of the pacific, hoping I find an island.
Click to expand...
Click to collapse
ill try this as i have the cutting out issue as well
When I've had problems with audio dropping in and out,it's because my wifi is on at the same time.
You can't have wifi and do a2dp at the same time. I've seen that around,so I think it's a known bug.
The whole reason I switched to cm was because the bitpool is set too low in all the sense roms. From my understanding, it should be set to something in the 50s or 60s (sorry, I haven't looked @ it in a few weeks) and sense roms have it set in the 30s resulting in a lot of high frequency distortion or clipping.
I'm not sure if that's helpful. ..but I wrote some stuff.
Sent from my PC36100 using XDA App
allroy1975 said:
When I've had problems with audio dropping in and out,it's because my wifi is on at the same time.
You can't have wifi and do a2dp at the same time. I've seen that around,so I think it's a known bug.
The whole reason I switched to cm was because the bitpool is set too low in all the sense roms. From my understanding, it should be set to something in the 50s or 60s (sorry, I haven't looked @ it in a few weeks) and sense roms have it set in the 30s resulting in a lot of high frequency distortion or clipping.
I'm not sure if that's helpful. ..but I wrote some stuff.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
my wifi is never on. and even when it is it doesnt do it on sense roms.
zikronix said:
my wifi is never on. and even when it is it doesnt do it on sense roms.
Click to expand...
Click to collapse
Yeah my wifi is not on when Im riding my bike. I do agree sence has a pretty crappy bluetooth stack but the early CM releases were amazing. I could ride even on a open road with no trees to bounce signals of off and never get a signal drop.
Sent from my PC36100 using XDA App
BuddaBelly said:
Yeah my wifi is not on when Im riding my bike. I do agree sence has a pretty crappy bluetooth stack but the early CM releases were amazing. I could ride even on a open road with no trees to bounce signals of off and never get a signal drop.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Well, wouldn't it be easier to look back into the git commits for the CM repository. And see what changed in the bluetooth files after 6.0.0? That way you should be able to drop in the older bluetooth stuff, and have it work. Then you can try to convert that stuff to work in CM7?
timwoj said:
It works fine for other Bluetooth profiles (phonebook, etc) but it doesn't provide a PAN service at all. I haven't tried with the new AWT, but I don't hold much hope.
Click to expand...
Click to collapse
If you use AWT and set it to Bluetooth mode and then turn it on, the PAN service will magically be created, but only while tethering is turned on. However, I still wasn't able to get Bluetooth tether to work because of some kind of IP address error in AWT. I think AWT wasn't able to set an IP address for the Bluetooth PAN adapter. My computer was able to see the Bluetooth PAN but wasn't able to pull an IP address to fully complete the connection.
I posted about this in the past my first g2x didnt work with it so i thought maybe it was messed up, i got a new g2x still doesnt work! thought maybe it was my bluetooth, got a new bluetooth still doesnt work! can anyone confirm this application is working with stock froyo? at my work im allowed to wear a bluetooth but cant have music blasting on my phone so this was perfect for me, it worked with my htc hd2 running android.......
Sadly no app that routes music to you're mono Bluetooth will work on the G2x. It for whatever reason requires stereo Bluetooth headphones to work. I bought supermono bt (or something to that effect), for my G2 which worked great. But none have worked on this one as of yet.
Sent from my LG-P999 using XDA App
I don't know about stock but I know the CM7 rom made some major changes to the bluetooth department. Their bluetooth stack seems to be a more common profiles vs the LG custom one.
My WiiMote app wouldn't work until I flashed CM7. I would try that before returning it again. It isn't damaged hardware but rather crappy software support. CM's kernel fixes most of those little annoyances.
I'm searching or trying to understand if there is a way to enable a six axis ps3 controller to be used as IME (for emulation games), i've read somwhere that the INFUSE needed to have CYANOGEN but at this time, CYANOGEN isn't completely ready, i am running Infused v1.5.3 i'm hesitant to go to v2 beta 2.0+ didn't see any reviews or difference compared to 1.5.3 it's already stable as it is. Can somebody confirmed these statements or give me and idea how to get this started? Thanks i LOVE XDA on always checking for new updates and info.
Thanks in advance for any response!!!
Sorry man, its samsungs Bluetooth stack that prevents this and the only way to get Google bt stack is vannilla rom's such as cyanogenmod
Sent from my SGH-I997 using XDA App
i would like to find a way to make this stuff work....that blueputdroid stuff just doesnt like samsung. im guessing for the reasons the guy above said about the stacks.
but this would be a good look.
Doesn't work on any Samsung -derived rom. Worked briefly on our CM7 build, but bluetooth broke GPS and battery life. Bozo and I are gonna try again to get BT in a week or two.
Sent from my GT-P7510 using Tapatalk
I tried the new gingerbread leaked release which should have support for a mouse like all other gingerbread releases for other phones but when i longpress my mouse found by the O3D i can't choose "Connect". It doesnt exist.
Anyone know anything about this?
hey i try the wii controller but also this is not working i hope someone can fix this
So am I going to be sorely disappointed and my bluetooth keyboard STILL not work? :sigh:
This is terrible news, i was hoping that mouse & keyboard would be working with GB now were are going to have to wait till ICS!!!
Is it possible that the prerelease just doesnt have Bluetooth complete yet???
Atb
Maybe its because no full GB Radio.
So wait for official Release and try again.
Sent from my LG-P920 using xda premium
HDMI out and bluetooth mouse+keyboard was the reason i bought the optimus 3d...
If this works, then the phone can act like a HTPC.
Anyway, LG can't leave out the bluetooth mouse support when everywhere it says that Gingerbread has that support. Hopefully the full release will have the support.
edit:
I tested this on V18a, currently downloading V21a, going to see if there is support for it there. I'll keep you updated.
edit2:
Nope.. V21a didn't support the mouse either.
*Ignore the Sixaxis part. Does anyone know of any BT controllers/gamepads besides the wiimote that will work with ARHD in conjunction with MHL, or just at all??*
Does anyone know what ROMs both of these will work with?
I'm currently running ARHD 3.6.9 and I know the sixaxis will not work on it, but I haven't gotten my MHL adapter in yet to test it out.
I'm assuming ICS and CM7 will probably work with both.
Anyone know off the top of their head?
I don't know of any other Bluetooth contollers that will work with HTC Sense. There's something about their Bluetooth stack that doesn't play nicely with contollers or any HID for that matter. I can also sadly confirm that all of the ICS roms out there still don't work with the Sixaxis because they are all based off of a leaked Sense rom. That's why I gave up on Sense a while ago. There's nothing I miss about Sense that I can't download as a third party app from the market. Sorry I couldn't have better news. Maybe someone could tell us if that new OnLive controller works with Sense, and hopefully not just for OnLive.