Thanks for all feedbacks.
I have made sure all changes of Bluetooth code in the recent kernel releases are alright.
Please install the latest tytung_r9 kernel for Bluetooth compatibility testing.
And flash audio.conf_update.zip to see if changing Bluetooth settings in ROM will improve the stability or not.
End of testing below:
We have changed something in Bluetooth related source code in recent kernel releases. (Thanks all devs.)
Each kernel has different changes, and I would like to collect the info about which kernels can support your Bluetooth devices (headsets, car kits, or any devices) or not.
These info may help me develop the next kernel.
These four kernels may have different behaviors when using with your Bluetooth devices.
- Apr 03: tytung_r9_beta
- Supported unique Bluetooth MAC address.
- Supported Bluetooth auto-reconnect.
- Supported two-way call recording.
- Included my modified initrd.gz (modify init.htcleo.rc to support unique Bluetooth MAC address)
- Mar 27: tytung_r8.3
- Updated Bluetooth stack from AOSP.
- Mar 25: tytung_r8.2
- Fixed Bluetooth 60mA battery drain (i.e. support Low Power Mode) (Big thanks to Trilu and Charansingh)
- Included my modified initrd.gz (add --enable_lpm to support Low Power Mode)
- Mar 24: tytung_r8.1
- It represents all previous kernels which have Bluetooth 60mA battery drain.
For me, they all work with my Bluetooth enabled PC. (Acer Aspire Z5710)
And I can also use another native Android phone to transfer files to/from HD2 via Bluetooth by using ES File Explorer.
If you would like to help test tytung_r9 kernel, please flash it and give me the report.
Remember to make a nandroid backup before testing, to restore back after testing or if anything goes wrong.
You can replace /boot/initrd.gz in zip file with logwrapper version in attach files to output the detail log to ddms/logcat.
Before every kernel testing, please delete Bluetooth devices in Bluetooth settings on your phone, and then rescan, repair, and connect to your BT devices again.
Kernels tytung_r9 include initrd.gz which is optimized for an AOSP ROM (i.e. NexusHD2-Gingerbread) and may be not compatible with other ROMs (e.g. CM7 or MIUI).
For example, if tytung_r9 causes any problem, please replace /boot/initrd.gz of kernel_tytung_r9_update.zip with your original ROM's initrd.gz and then flash it again.
Besides, make sure you have the following lines in init.htcleo.rc located in initrd.gz to support the unique Bluetooth MAC address fix in r9.
# bluetooth MAC address programming chown bluetooth bluetooth /sys/module/board_htcleo/parameters/bdaddr setprop ro.bt.bdaddr_path /sys/module/board_htcleo/parameters/bdaddr
- ROM that you are using:
- Kernel version:
- Bluetooth Headset/Device (brand):
- Stereo music (A2DP):
- Remote control (play/pause/skip music) (AVRCP):
- Phonebook access (vCard exchange) (PBAP):
- Files transfers (OPP/OBEX):
- Personal Area Networking Profile (PAN):
- Make or answer a call (HSP):
- Detail description:
You can reply here and/or post in Google Docs: TYTUNG Kernel's Compatible Bluetooth Headsets List to be more organized.
I hope your time and effort for testing and sharing the results to XDA will help others purchase their next Bluetooth headset/device.