[Samsung Galaxy S 5 Unified Development] latnluv:
Bluetooth connection drops

Hi Guys,

FIrst of all I want to thank the developers on this amazing ROM. I'm really loving IT coming in from Touchwiz Lollipop ROM (Area 51).

I wasn't sure where to post this, so I apologize ahead of time if this is not the right place for this, but everything works on the S5 for me except for BT when connecting to my Kenwood car receiver (DDX373BT) (sidenote: it connects fine with my wife's Pioneer receiver). I looked at the logcat and noticed the following when I turn on BT to connect to Kenwood receiver (Phone has already been paired with HeadUnit):

07:17:37.520 D/BluetoothHeadset( 7956): connect(00:02:5B:00:A5:A5)

05-02 07:17:37.522 D/BluetoothHeadset( 1458): getConnectedDevices()

05-02 07:17:37.526 D/A2dpService( 1421): getA2DPService(): returning com.android.bluetooth.a2dp.A2dpService@a20ad62

05-02 07:17:37.527 I/A2dpService( 1421): audio isMusicActive is false

05-02 07:17:37.527 D/HeadsetService( 1421): connectionState = 0

05-02 07:17:37.527 D/BluetoothAdapterService( 1421): getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@6dacd4d

05-02 07:17:37.527 D/BluetoothAdapterService( 1421): handleMessage() - Message: 20

05-02 07:17:37.527 D/BluetoothAdapterService( 1421): handleMessage() - MESSAGE_PROFILE_CONNECTION_STATE_CHANGED

05-02 07:17:37.527 D/CachedBluetoothDevice( 7956): Command sent successfully:CONNECT Address:00:02:5B:00:A5:A5 Profile:HEADSET

05-02 07:17:37.528 D/AudioService( 1198): Bt device 00:02:5B:00:A5:A5disconnection intent received

05-02 07:17:37.529 I/BluetoothHeadsetServiceJni( 1421): connectHfpNative: sBluetoothHfpInterface: 0xacf63130

05-02 07:17:37.529 D/bt_btif ( 1421): BTHF: connect

05-02 07:17:37.529 D/bt_btif ( 1421): BTHF: connect_int​

I'm not quite sure why I get that "disconnection intent received", but I'm suspecting that this interrupt is causing my BT to drop everytime it tries to establish connection (From BT settings window on phone, I can see 'Connected' go on for just a sec on HU before disconnecting). Logcat does eventually show an "Unexpected error" :

05-02 07:17:46.983 E/BluetoothRemoteDevices( 1421): state12newState1

05-02 07:17:46.996 D/AvrcpBipRsp( 1421): onReceive

05-02 07:17:46.997 D/AvrcpBipRsp( 1421): onReceive: android.bluetooth.device.action.ACL_DISCONNECTED

05-02 07:17:46.997 D/BluetoothMapService( 1421): onReceive

05-02 07:17:46.997 D/BluetoothMapService( 1421): onReceive: android.bluetooth.device.action.ACL_DISCONNECTED

05-02 07:17:46.998 E/BluetoothMapService( 1421): Unexpected error​

logcat link: (looks like I cannot put links in my first couple of posts)

If this issue has been "fixed", that input would be greatly appreciated.

Also let me know if I need to post somewhere else so that the appropriate people are aware of this.....

For reference, I also loaded the 5.7.4 (MM) version for RR and have same BT behavior with the Kenwood deck...so it appears this has been around for awhile....... I also tried removing all paired BT devices from both phone and HU and still am unable to get BT to connect after pairing.

Did a clean flash

SM-G900T

RR-N-v5.8.3-20170423-klte-Official

Modem: G900TUVU1GQC2