Is it just me?
AirPods work perfectly fine with music, but as soon as I'm in a call, they connect and disconnect like mad and ends up switching between airpod and phone.
Anyone?
I have the exact same problem with sony sbh54. Also some other issues.
Dan_FFM said:
I have the exact same problem with sony sbh54. Also some other issues.
Click to expand...
Click to collapse
I think the best way forward would be to report this to HTC as a bug.. somehow.
yellowchilli said:
I think the best way forward would be to report this to HTC as a bug.. somehow.
Click to expand...
Click to collapse
I've found a workaround for my HTC10.
I think this works for other HTC devices, maybe even devices have the file.
Modify this file (root needed): /system/etc/bluetooth/iop_bt.db
Add below to the end of file.
Code:
/* Apple AirPods */
BtHostNoACLSniff KEY_LMP_MFCT="76" KEY_LMP_VER="6:2050"
LMP version is from my Logcat, but I think every AriPods should be the same.
Note: I am not responsible if your device is damaged.
Hi. Is there any way of getting airpods to work with my HTC 10 with no root?
FYI this works with my HTC One m7 so issue with the HTC 10. ( the Bluetooth on my HTC 10 is fine with all other devices)
zjbbhsso said:
I've found a workaround for my HTC10.
I think this works for other HTC devices, maybe even devices have the file.
Modify this file (root needed): /system/etc/bluetooth/iop_bt.db
Add below to the end of file.
Code:
/* Apple AirPods */
BtHostNoACLSniff KEY_LMP_MFCT="76" KEY_LMP_VER="6:2050"
LMP version is from my Logcat, but I think every AriPods should be the same.
Note: I am not responsible if your device is damaged.
Click to expand...
Click to collapse
Got my AirPods recently and this helped me solve the issue. THANK YOU.
Had to use KEY_LMP_VER="6:3" with mine, but that was pretty easy to figure out with a Logcat.
Related
I have many and very serious problem with SAP access from my mercedes handsfree phone to access my TyTn. My TyTn don't go in pairing. The problem is caused from SAP function that is not ok. Someone know how to resolve this problem ? Thanks
nobody has found this problem?
Since HTC it is far from the new rom, having sent back the escape for next the 2 or 3 months, we have hope of a rom made from we that resolves the problems sap?
This has been discussed in various threads in the past (although search doesn't seem to be working just now). You can look in this thread http://forum.xda-developers.com/showthread.php?t=282544 for more info, but the bottom line is that none of the current ROMs work with the Merc bluetooth kits in Europe that use SAP. We're currently all waiting for the new ROM with the hope it will fix it.
petes said:
This has been discussed in various threads in the past (although search doesn't seem to be working just now). You can look in this thread http://forum.xda-developers.com/showthread.php?t=282544 for more info, but the bottom line is that none of the current ROMs work with the Merc bluetooth kits in Europe that use SAP. We're currently all waiting for the new ROM with the hope it will fix it.
Click to expand...
Click to collapse
Thank you but the problem is that the official new rom will exit not before next 2 months
ronny06 said:
Thank you but the problem is that the official new rom will exit not before next 2 months
Click to expand...
Click to collapse
Yep - and hasn't existed for the last 6 months either .... It just doesn't work at the moment, and there's no guarantee that it will in the new version either.
petes said:
Yep - and hasn't existed for the last 6 months either .... It just doesn't work at the moment, and there's no guarantee that it will in the new version either.
Click to expand...
Click to collapse
I hope that the new unofficial rom on this site to work well all
ronny06 said:
I hope that the new unofficial rom on this site to work well all
Click to expand...
Click to collapse
Unfortunately, as far as I know, none of the ROM's currently work. Certainly the latest one - i.e. the HTC 1.35 ROM - doesn't work.
notice about sap problems on TyTn ?
I'm using Bluetooth serial communication. With the new HD2, HTC shipped their own BT stack. Every time I open the serial port, a popup appears to choose the desiered remote serial port. I never got this on my old wm phones. The port is already mapped in the HTC BT software. Why is it asking every time I open the port? Has anybody noticed this too. And is there any workaround for automate this, like it was in the good old MS BT stack?
Please have a look at the attached screenshot.
anybody has an idea?
Hi,
I got the same problem, everytime I start iGO8 witch wants to connect my TMC receiver the popup appears. very annoying. Did you ever solve the problem?
TIA
Cheers
/Cacti
Same problem here. I sent a request to the HTC support today. Damn WIDCOMM Bluetooth-Stack.
No, I didn't found a solution.
I don't think thats a Widcom stack.
I got a reply from the HTC Support today. They told me that this behavior is windows mobile specific.
I thought a bit about the problem. If we knew where the routine is which displays the window, we would be able to modify it to always use comN and close the window. Does anyone have a clue where we could find it?
Fighter125 said:
I got a reply from the HTC Support today. They told me that this behavior is windows mobile specific.
I thought a bit about the problem. If we knew where the routine is which displays the window, we would be able to modify it to always use comN and close the window. Does anyone have a clue where we could find it?
Click to expand...
Click to collapse
I found that name of program that displays dialog is \Windows\BTTrayCE.exe but i did not found any file or register place where to possible somehow set up it. :-(
O.
Fighter125 said:
I got a reply from the HTC Support today. They told me that this behavior is windows mobile specific.
I thought a bit about the problem. If we knew where the routine is which displays the window, we would be able to modify it to always use comN and close the window. Does anyone have a clue where we could find it?
Click to expand...
Click to collapse
I think that HTC isn't telling us the truth. I own serveral WM devices. They all come with the MS bluetooth stack and none of them had this popup screen. I heared that HTC build their own BT stack.
lopez1_de said:
I think that HTC isn't telling us the truth. I own serveral WM devices. They all come with the MS bluetooth stack and none of them had this popup screen. I heared that HTC build their own BT stack.
Click to expand...
Click to collapse
Hmmm that is nice... i try to contact by telephone people from HTC CZ Support today, to find solution with them, expect that they will help. in about information in BTstack is not described who is manufacturer.
The HD2 has the Widcomm (later called Broadcom) stack.
I had a small problem with my foldable bluetooth keyboard, but that has to do with the driver of the BT keyboard.
Yesterday I paired a car kit (some chinese mp3/without any problem. Not tried to pair other devices yet.
i think that this is problem of some dynamic library that BT is using. btw. what is version of your bt? i got Ver. 1.9.3 bulid 500 HCI ver 4.168 and LMP ver. 4.16919. So i asked HTC second time for help with this. will see
I have got the same BT Version.
Did HTC respond to your question?
If this all doesn't help us, i will write a program which connects tmc and starts navigation aftwards. I am trying to get information on this bluetooth programming stuff.
hmmm not yet will see tomorrow
Same version here.
so HTC replayed! nice now we know that they know, hope that this is start how to solve this problem. unfortunately how i know these companies, it will be not early :-(
Dear Ondrej, Thank you for contacting us. In regards to the pop up message on HTC HD2: It is not possible to remove this pop-up (We don't support editing the registry it will breach your warranty). I will escalate the issue to the HTC Head office. Please do not hesitate to contact us again if required. Thank you for contacting HTC. Best regards, Bo K
Click to expand...
Click to collapse
Did anybod find a solution to this problem yet?
hello,
i search a solution to detect a bluetooth connection, device is equal.
all what i found is getBondedDevices() from BluetoothAdapter, but pairing this is not a connection...
thanks 4 help
Solved!
i use ACTION_ACL_CONNECTED and ACTION_ACL_DICONNECTED from class BluetoothDevice.
Code:
getApplicationContext().registerReceiver(receiver,
new IntentFilter(BluetoothDevice.ACTION_ACL_CONNECTED));
getApplicationContext().registerReceiver(receiver,
new IntentFilter(BluetoothDevice.ACTION_ACL_DISCONNECTED));
Android-Wireless
Helo Sir,
How to switch On Bluetooth and Wireless programatically? Even i can't switch on bluetooth and wireless manually in android.
Emulator shows error.
dineshsubramanian said:
Helo Sir,
How to switch On Bluetooth and Wireless programatically? Even i can't switch on bluetooth and wireless manually in android.
Emulator shows error.
Click to expand...
Click to collapse
Emulator actualy dosn't support Bluetooth, WLan and GPS!
CodeFlatter said:
i use ACTION_ACL_CONNECTED and ACTION_ACL_DICONNECTED from class BluetoothDevice.
Code:
getApplicationContext().registerReceiver(receiver,
new IntentFilter(BluetoothDevice.ACTION_ACL_CONNECTED));
getApplicationContext().registerReceiver(receiver,
new IntentFilter(BluetoothDevice.ACTION_ACL_DISCONNECTED));
Click to expand...
Click to collapse
This only works if the device isn't yet connected. If the device is ALREADY connected when your app starts, how do you detect that, without starting a discovery?
been searching for a few days for an answer to this. Anyone got one?
Thanks
Scott
No one has any ideas on this? A month of searching has so far proven futile, but I can't believe it's not possible...
On the Google android developers site there is a complete example (a bluetooth chat).
http://developer.android.com/intl/de/resources
Hi!
I'm trying to connect my phone (HTC desire running Opendesire last update or HTC stock 2.2) to a serial to bluetooth converter module.
It seems to me that BluetoothChat sample is a good point to start as this application sends bytes over bluetooth.
That's just what i want to do: send some bytes from phone, receive some bytes from the module
I tried to run the Bluetoothchat sample on my phone:
Discovering and pairing the module is ok, but I'm unable to open a connection.
Anyone ever tried (and get success) to do same things as me?
Thank you.
Delvorak said:
This only works if the device isn't yet connected. If the device is ALREADY connected when your app starts, how do you detect that, without starting a discovery?
been searching for a few days for an answer to this. Anyone got one?
Thanks
Scott
Click to expand...
Click to collapse
Take a look at my SpeakerProximity Project => http://code.google.com/p/speakerproximity/
I faced the same problem and the solution that fitted the best was using BT connect/disconnect receivers that always get triggered and update a shared preference.
Hi,
I'm still having some issue with the bluetoothchat sample from sdk and bluetooth to serial converter module.
Now it works fine with AOSP rom but i'm still unable to make connection with HTC stock rom.
I've tried with a friend to run the application on a galaxy spica and we had the same issue. First the application didn't even start on spica and we had to change permissions to avoid Force Close.
Somebody knows what's wrong with bluetooth and HTC or Samsung?
Thank you
detecting bluetooth STATE_ON
in your OnStart() use :
mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
if (mBluetoothAdapter != null) //if null device does not support bluetooth
{
if (mBluetoothAdapter.getState()==BluetoothAdapter.STATE_ON) {
//do stuff
}
}
I use a bluetooth listener for the STATUS_CHANGED event to check if BT is switched on.
If so, i enable my scanning avtivities, else i disable them.
Greetz,
Mike
STATE_ON is not the same as connected, though. (I think).
Personally, I've be having trouble figuring out the disconnect event to listen for, but I think the ACL one is what I need. Will try to remember to post back if I get it working. Damn WiFi process always interupts my transfers epecially when email decides it's time to sync.
Anyways, one tip for those having trouble with the BluetoothChat example is that for some reason you dont want to be listening for a connection at the same time as trying to make one. If you try the BluetoothChat example it actually almost always fails to connect. But if you make sure only one device is using listenforRfcomm... and the other is connecting, you'll connect fine.
The Spica thing is some bug with that phone specifically, though I think some people have solved it with some type of strange method reflection. Check stackoverflow for spica/bluetooth.
Just an update for my problem the ACL braodcasts were just what I was looking for though the diconnect broadcast is sometimes very slow to trigger.
I know complaining about that is almost ridiculous but I thought there might maybe be a solution or at least an explanation for this problem. I tried to connect the Android HD2 to my BMW and it worked in the first place. Also Bluetooth Audio connection works which gives me the option to listen to my music while the phone still is in my pocket.
But when I try to make a call or answer a call (which is shown on the display) nothing happens. Is there any idea to fix that?
More info needed....like android build etc etc....
Sent from my HTC HD2 using XDA App
Sounds like your running a cm based rom. Download and apply one of the sense builds. try this one: http://forum.xda-developers.com/showthread.php?t=791835
I'm not using a Cyanogen ROM since I need to use HTC Sync as I'm using the phone for business. I'm using the new 3.2 FroyoStone ROM which is very fast and stable and stock.
Today I had a minute or two of hope when I was making a call from my car using bloototh. But after around three minutes of speaking to the other person I could only hear him while he was obviously not hearing anything from me.
I then tried to stop and start the bluetooth in the properties section of android again which caused a total system crash...
Until the problem is solved completely I will continue to write my expiriences, experiments and disappointments here even if nobody gives me any response to it.
I've had loads of problems with Darkstone 3.2, you can try a different build and see if that works...
Sent from my HTC HD2 T8585 using XDA App
Now I found a midtime solution. When using the buildby Mdeejay (FroYo HD v.3.6 / kernel:hastarin R7.2) the bluetooth handsfree device in my car works just perfectly. Unfortunately the DesireHD build doesn't support the camera yet and the disconnects are out to happen much more frequently than in the other builds.
I will try to run this build using the newer kernel V7.6 and see if the bluetooth device is then still working.
Pairing Problems with BMW iDrive (525d 2005)
Hi,
I've been having this issue with my BMW iDrive and HTC Desire HD, it keeps constantly connecting and disconnecting the bluetooth on HTC stock ROM and ARHD 6.3.1, but with the Custom ROM (CM7.1) I keep getting connection prompts and keep going around in loops without any success in pairing.
I have tried the suggestion from the forum topic below with regards to the audio.conf mod and see if it has any success. This failed.
forum cyanogenmod #entry85118
Push to /sdcard/ and then run in sh
cd /sdcard/
cp /system/etc/bluetooth/audio.conf /sdcard/audio.conf.bak
mount -o remount,rw /system
cat audio.conf.txt > /system/etc/bluetooth/audio.conf
mount -o remount,r /system
Then reboot.
/system/etc/bluetooth/audio.conf amended with the following parameters
# Configuration file for the audio service
[General]
Enable=
Disable=Headset,Gateway,Source,Control,Sink
# Do not require master role for incoming connections
Master=false
# Automatically connect both A2DP and HFP/HSP profiles for incoming
# Maximum number of connected HSP/HFP devices per adapter. Defaults to 1
MaxConnections=3
BMW iDrive version 1-04-09-500 0 (BMW 525d E60 2005) Build July 2004
I've tried a few custom ROMs now without success, if the bluetooth itself could be patched up that would be nice, if I need to downgrade the bluetooth please let me know where to begin as I have only just begun tinkering with Rooting and Custom ROMs.
I'm now thinking I'll have to get the BMW iDrive software updated to see if this resolves my issue.
Regards
M
Bluetooth in car
Someone related to bluetooth to in the car, for those that don't have it an easy solution is Flexsmart X2. It works just fine, almost an alternative to their real thing, please check it out.
Jimmy4485 said:
Someone related to bluetooth to in the car, for those that don't have it an easy solution is Flexsmart X2. It works just fine, almost an alternative to their real thing, please check it out.
Click to expand...
Click to collapse
I don't like the idea of tuning into the radio to hear the phone call, I tried one of those MP3 things with mixed results.
I've found a much simpler solution, iPhone 3gs pairs/connects, syncs address book and works!!!
So clearly the Bluetooth is junked in HTC/Android phones, we tried a HTC Magic running an older Android version which had the same problem.
I'm back to the Stock HTC ROM until I find a solution for the existing phone or eligible to upgrade my contract.
Update iPhone 4 also works so that settles it, now need to get hold of someone with iPhone 4s for the sanity check.
HTC Desire HD now syncs/connects fine.
Had to also rename the blacklist.conf and auto_pairing.conf.
Stop and clear data for Bluetooth share service.
Initiated call from phone call successful after a few mins the address book was up on the idrive and was able to start the call from there.
Currently using ARHD 6.3.1 with recommended radio file.
Sent from my Desire HD using XDA App
arfie_don said:
HTC Desire HD now syncs/connects fine.
Had to also rename the blacklist.conf and auto_pairing.conf.
Stop and clear data for Bluetooth share service.
Initiated call from phone call successful after a few mins the address book was up on the idrive and was able to start the call from there.
Currently using ARHD 6.3.1 with recommended radio file.
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
I spoke too soon, lol. Back to square one.
Hey guys
I'm using my nexus 7 dashed in my car. (Kinda!)
And i'm using tablet talk to connect my phone with it.
Also i have a bluetooth keyboard connected to my tab.
When i have a text, i can answer it easily. But when someone calls me and i accept the call the sound doesn't come from my car audio and my sound doesnt go through my tablet's mic. They bouth go through my phone!
So i have to use my n7 as a bluetooth headset for my phone. Is it possible?
Can anyone guide me?
No one? nothing? no helps? no ideas? cool!!! :|
For God's sake!!!
guys, this will be great. pleeeaaaase, consider developing or sth.
Cool it, seriously. The forum hardly revolves around this one post.
Given the way the Bluetooth radios are set up, it's not really an easy hack and you'd probably have better luck using a dedicated app over Wi-Fi direct or something (of course, such an app would have to exist as well in the first place). I remember looking into this for the iPod Touch a while back and didn't see anything either, but hopefully you'll have better luck.
Rirere said:
Cool it, seriously. The forum hardly revolves around this one post.
Given the way the Bluetooth radios are set up, it's not really an easy hack and you'd probably have better luck using a dedicated app over Wi-Fi direct or something (of course, such an app would have to exist as well in the first place). I remember looking into this for the iPod Touch a while back and didn't see anything either, but hopefully you'll have better luck.
Click to expand...
Click to collapse
Well it WAS an easy hack, It's just a case of setting the configuration files up correctly. You get the N7 to advertize the Headset service and an Roberts your father brother as they say. I just about had it setup a couple of months back...... I want to control the full telephony service through the N7 show incoming calls and all the fun stuff.... As a first step I got the voice routing through the N7 Microphone through a handset and onto the caller. However I stopped there because that was using android 4.1.1 and I want to be using the latest build... Which is where your right out of luck because 4.2 onwards is a different beast,
Google decided to replace a tried and tested well documented fully implemented Bluetooth Stack with something that's not quite finished yet whose documentation is the source code. That's why there's no Low Energy stuff on Android yet..... It could and should have been implemented last year, anyway I digress. So the options are
1. Use a rom prior to 4.2 - In which case the Bluez is well documented and this sort of problem has been solved multiple times on the linux desktop and the same ideas can be applied to Android, Google is your Friend
2. put the old stack back in and work with that, There's patches that do that but they are all a bit brutal and would be a nightmare to maintain.,
3. Wait for the Missing Code to be added, which could be tomorrow but It could be never
4. write the code yourself..... Fine if you're an expert in that area but the learning curve is inclined shall we say.
or,
5. You could spam XDA daily with requests .
Personally I put this project to one side because my nexus 7 is out on loan to my brother after he decided to bathe his HTC OneX in Lucozade for an hour...
trevd said:
Well it WAS an easy hack, It's just a case of setting the configuration files up correctly. You get the N7 to advertize the Headset service and an Roberts your father brother as they say. I just about had it setup a couple of months back...... I want to control the full telephony service through the N7 show incoming calls and all the fun stuff.... As a first step I got the voice routing through the N7 Microphone through a handset and onto the caller. However I stopped there because that was using android 4.1.1 and I want to be using the latest build... Which is where your right out of luck because 4.2 onwards is a different beast,
Google decided to replace a tried and tested well documented fully implemented Bluetooth Stack with something that's not quite finished yet whose documentation is the source code. That's why there's no Low Energy stuff on Android yet..... It could and should have been implemented last year, anyway I digress. So the options are
1. Use a rom prior to 4.2 - In which case the Bluez is well documented and this sort of problem has been solved multiple times on the linux desktop and the same ideas can be applied to Android, Google is your Friend
2. put the old stack back in and work with that, There's patches that do that but they are all a bit brutal and would be a nightmare to maintain.,
3. Wait for the Missing Code to be added, which could be tomorrow but It could be never
4. write the code yourself..... Fine if you're an expert in that area but the learning curve is inclined shall we say.
or,
5. You could spam XDA daily with requests .
Personally I put this project to one side because my nexus 7 is out on loan to my brother after he decided to bathe his HTC OneX in Lucozade for an hour...
Click to expand...
Click to collapse
tnx for your answer.
but how can this be so hard?!
i used to do this with my laptop! :S