[HD2 Android NAND Development] ph03n!x:
Sorry for the non-Dev post, but wanted to report something on BT that I see in almost all current kernels (2.6.32) on which BT works (Android v2.3.4+), Logcat:

21:51:18.541 Debug BluetoothService 183 Bluetooth state 10 -> 11
21:51:18.541 Verbose BluetoothEventRedirector 1077 Received android.bluetooth.adapter.action.STATE_CHANGED
21:51:18.541 Info bluedroid 183 Starting hciattach daemon
21:51:18.541 Debug SettingsAppWidgetProvider 1077 Widget is from a previous version... Let's update
21:51:18.541 Debug SettingsAppWidgetProvider 1077 No instances yet... Wait for at least one instance to exist before adding global settings
21:51:20.612 Info bluedroid 183 Starting bluetoothd deamon
21:51:23.670 Info BluetoothEventLoop.cpp 183 agent_event_filter: Received method org.bluez.Agent:Release
21:51:23.671 Error BluetoothA2dpService.cpp 183 onConnectSinkResult: D-Bus error: org.freedesktop.DBus.Error.NoReply (Message did not receive a reply (timeout by message bus))
21:51:23.671 Error BluetoothService 183 getAddressFromObjectPath: AdapterObjectPath:/org/bluez/1269/hci0/dev_ is not a prefix of deviceObjectPath:/org/bluez/1219/hci0/dev_00_1E_3D_1F_3A_E5bluetoothd crashed ?
21:51:23.779 Debug BluetoothService 183 found 3 bonded devices
21:51:23.779 Debug BluetoothService 183 Bluetooth state 11 -> 12
21:51:23.779 Verbose BluetoothEventRedirector 1077 Received android.bluetooth.adapter.action.STATE_CHANGED
21:51:23.887 Debug AudioFlinger 68 setParameters(): io 0, keyvalue bluetooth_enabled=true, tid 68, calling tid 183
21:51:23.887 Debug AudioFlinger 68 setParameters(): io 0, keyvalue A2dpSuspended=false, tid 142, calling tid 183
21:51:23.887 Info pand 1274 Bluetooth PAN daemon version 4.69
21:51:23.887 Debug BT HSHFP 289 Saved priority 00:0C:55:40:0C:62 = 100
21:51:23.887 Error BluetoothEventLoop.cpp 183 event_filter: Received signal org.bluez.Adapter:PropertyChanged from /org/bluez/1269/hci0
21:51:23.887 Debug BT HSHFP 289 Saved priority 00:0C:55:40:0C:62 = 1000
21:51:23.887 Error BluetoothEventLoop.cpp 183 event_filter: Received signal org.bluez.Adapter:PropertyChanged from /org/bluez/1269/hci0
21:51:23.887 Info bluetooth_ScoSocket.cpp 289 Listening SCO socket...
21:51:23.996 Debug SettingsAppWidgetProvider 1077 Widget is from a previous version... Let's update
21:51:23.996 Debug SettingsAppWidgetProvider 1077 No instances yet... Wait for at least one instance to exist before adding global settings
21:51:26.838 Debug BluetoothService 183 Registering hfag record
21:51:26.838 Error BluetoothEventLoop.cpp 183 event_filter: Received signal org.bluez.Adapter:PropertyChanged from /org/bluez/1269/hci0
21:51:26.838 Error BluetoothEventLoop.cpp 183 event_filter: Received signal org.bluez.Adapter:PropertyChanged from /org/bluez/1269/hci0
21:51:27.385 Debug BluetoothService 183 Registering hsag record
21:51:27.385 Error BluetoothEventLoop.cpp 183 event_filter: Received signal org.bluez.Device:PropertyChanged from /org/bluez/1269/hci0/dev_00_0C_55_40_0C_62
21:51:27.385 Debug BluetoothService 183 setRemoteDeviceProperty addr = 00:0C:55:40:0C:62 name = Connected value = true
21:51:27.385 Error BluetoothEventLoop.cpp 183 event_filter: Received signal org.bluez.Adapter:PropertyChanged from /org/bluez/1269/hci0
21:51:27.818 Debug BluetoothService 183 Registering opush record
21:51:27.818 Error BluetoothEventLoop.cpp 183 event_filter: Received signal org.bluez.Adapter:PropertyChanged from /org/bluez/1269/hci0
21:51:27.818 Error BluetoothEventLoop.cpp 183 event_filter: Received signal org.bluez.Adapter:PropertyChanged from /org/bluez/1269/hci0
21:51:27.929 Info BluetoothAudioGateway.cpp 289 Accepting HF connection.
21:51:27.929 Info BluetoothAudioGateway.cpp 289 Successful accept() on AG socket 78: new socket 83, address 00:0C:55:40:0C:62, RFCOMM channel 10
21:51:27.929 Info BT Audio Gateway 289 connect notification!
21:51:27.929 Info BT Audio Gateway 289 Incoming connection from handsfree 00:0C:55:40:0C:62 on channel 10
21:51:27.929 Info BT HSHFP 289 Incoming rfcomm (handsfree) connection from 00:0C:55:40:0C:62on channel 10
21:51:27.929 Info BluetoothDeviceProfileState 183 Entering IncomingHandsfree state with: 2
21:51:27.929 Error BluetoothDeviceProfileState 183 Processing command:2
21:51:28.037 Info BluetoothDeviceProfileState 183 handleIncomingConnection:2:true
21:51:28.037 Debug BT HSHFP 289 Device: 00:0C:55:40:0C:62 Headset state0 -> 1, result = 1
21:51:28.037 Verbose BluetoothEventRedirector 1077 Received android.bluetooth.headset.action.STATE_CHANGED
21:51:28.037 Debug CachedBluetoothDevice 1077 onProfileStateChanged: profile HEADSET newProfileState 1
21:51:28.037 Info BT HSHFP 289 initializeNativeDataNative: ALREADY CONNECTED!
21:51:28.037 Debug BT HSHFP 289 Rfcomm connected
21:51:28.037 Debug BT HSHFP 289 Device: 00:0C:55:40:0C:62 Headset state1 -> 2, result = 1
21:51:28.037 Debug BT HSHFP 289 Saved priority 00:0C:55:40:0C:62 = 1000
21:51:28.037 Verbose BluetoothEventRedirector 1077 Received android.bluetooth.headset.action.STATE_CHANGED
21:51:28.037 Debug CachedBluetoothDevice 1077 onProfileStateChanged: profile HEADSET newProfileState 2
21:51:28.037 Info BluetoothDeviceProfileState 183 Entering ACL Connected state with: 102
21:51:28.037 Debug AudioFlinger 68 setParameters(): io 0, keyvalue bt_headset_name=Motorola H500;bt_headset_nrec=on, tid 68, calling tid 289
21:51:28.038 Debug AudioHardwareQSD 68 Using default acoustic parameters (Motorola H500 not in acoustic database)
21:51:28.038 Info AudioHardwareQSD 68 Routing audio to Speakerphone
21:51:28.364 Debug BluetoothService 183 Registering pbap record
21:51:28.364 Error BluetoothEventLoop.cpp 183 event_filter: Received signal org.bluez.Adapter:PropertyChanged from /org/bluez/1269/hci0
21:51:31.861 Info BluetoothDeviceProfileState 183 A2dp:Auto Connect Profiles
21:51:31.861 Debug BluetoothA2dpService 183 connectSink(00:1E:3D:1F:3A:E5)
21:51:31.861 Info BluetoothProfileState 183 Message:Entering PendingCommandState State
21:51:31.861 Info BluetoothDeviceProfileState 183 Entering OutgoingA2dp state with: 3
21:51:31.861 Error BluetoothDeviceProfileState 183 Processing command:3
21:51:31.861 Verbose BluetoothEventRedirector 1077 Received android.bluetooth.a2dp.action.SINK_STATE_CHANGED
21:51:31.861 Debug CachedBluetoothDevice 1077 onProfileStateChanged: profile A2DP newProfileState 1
21:51:31.861 Debug BluetoothA2dpService 183 A2DP state : device: 00:1E:3D:1F:3A:E5 State:0->1
21:51:31.861 Error BluetoothEventLoop.cpp 183 event_filter: Received signal org.bluez.AudioSink:PropertyChanged from /org/bluez/1269/hci0/dev_00_1E_3D_1F_3A_E5
21:51:33.061 Info BtOppRfcommListener 1124 Accept thread started on channel 12
21:51:36.994 Error BluetoothEventLoop.cpp 183 event_filter: Received signal org.bluez.AudioSink:PropertyChanged from /org/bluez/1269/hci0/dev_00_1E_3D_1F_3A_E5
21:51:36.994 Info BluetoothProfileState 183 Message:Entering Stable State
21:51:36.994 Verbose BluetoothEventRedirector 1077 Received android.bluetooth.a2dp.action.SINK_STATE_CHANGED
21:51:36.994 Info BluetoothEventRedirector 1077 Failed to connect BT A2DP
21:51:36.994 Debug CachedBluetoothDevice 1077 onProfileStateChanged: profile A2DP newProfileState 0
21:51:36.994 Debug BluetoothA2dpService 183 A2DP state : device: 00:1E:3D:1F:3A:E5 State:1->0
21:51:36.994 Info BluetoothDeviceProfileState 183 Entering ACL Connected state with: 102
21:51:39.721 Error BluetoothA2dpService.cpp 183 onConnectSinkResult: D-Bus error: org.bluez.Error.Failed (Stream setup failed)

In spite of all these errors, BT works fine - except that if I issue about 3 BT Voice Commands, the phone loses all sounds. And if I do not use BT Voice Commands, but still use BT for receiving and making calls, the losing sound is gradual, and takes about 2 days of uptime. Logcat when sound is lost:

20:36:58.178 Error AudioHardwareQSD 69 Cannot start pcm playback
20:50:20.093 Error AudioHardwareQSD 69 Cannot start voice
20:50:35.054 Error AudioHardwareQSD 69 Error starting record

Not sure if the symptom is related to the errors in anyway, but fixes involving libaudio.so have not be successful so far (thread)

Can the BT errors be fixed while compiling the new kernel please? Or, in other words, can a solution for the BT Voice Commands/ gradually losing sound issues be fixed with kernel drivers? I am ready to test anytime!