[Galaxy Ace II Android Development] Coudy:
bluetooth

Hi,

I did factory reset + wipe cache + dalvik. Again, I can search for BT device, pair, connect, but after several second it disconnects.

BT filtered logcat is here: http://paste.jabbim.cz/6203

Here are some highlights: Found and pair new device:

D/btif_config_util( 3088): btif_config_save_file(L153): in file name:/data/misc/bluedroid/bt_config.new
I/BluetoothBondStateMachine( 3088): bondStateChangeCallback: Status: 0 Address: 00:08:E0:35:D2:5D newState: 2
D/btif_config_util( 3088): btif_config_save_file(L153): in file name:/data/misc/bluedroid/bt_config.new
I/BluetoothBondStateMachine( 3088): Bond State Change Intent:00:08:E0:35:D2:5D OldState: 11 NewState: 12
D/BluetoothAdapterService(1090908144)( 3088): Get Bonded Devices being called
D/BluetoothDiscoverableEnabler( 5089): handleModeChanged(): mode = 21
D/CachedBluetoothDevice( 5089): No profiles. Maybe we will connect later
D/BluetoothHeadset( 5089): setPriority(00:08:E0:35:D2:5D, 100)
I/BluetoothBondStateMachine( 3088): StableState(): Entering Off State

Connection and disconnection:

D/BluetoothHeadset( 5089): connect(00:08:E0:35:D2:5D)
D/CachedBluetoothDevice( 5089): Command sent successfully:CONNECT Address:00:08:E0:35:D2:5D Profile:HEADSET
I/BluetoothHeadsetServiceJni( 3088): connectHfpNative: sBluetoothHfpInterface: 0x537f5910
D/BluetoothAdapterProperties( 3088): CONNECTION_STATE_CHANGE: 00:08:E0:35:D2:5D: 0 -> 1
D/BluetoothAdapterService(1090908144)( 3088): Get Bonded Devices being called
D/CachedBluetoothDevice( 5089): onProfileStateChanged: profile HEADSET newProfileState 1
I/BluetoothHeadsetServiceJni( 3088): connection_state_callback
D/BluetoothAdapterService(1090908144)( 3088): Get Bonded Devices being called
D/CachedBluetoothDevice( 5089): onProfileStateChanged: profile HEADSET newProfileState 2
I/sec_anm_ahi( 1775): setParameters() - bt_headset_name=BLUEADAPTER V04;bt_headset_nrec=on
D/BluetoothAdapterProperties( 3088): CONNECTION_STATE_CHANGE: 00:08:E0:35:D2:5D: 1 -> 2
D/BluetoothAdapterService(1090908144)( 3088): Get Bonded Devices being called
I/BluetoothHeadsetServiceJni( 3088): connection_state_callback
D/CachedBluetoothDevice( 5089): onProfileStateChanged: profile HEADSET newProfileState 0
D/BluetoothAdapterProperties( 3088): CONNECTION_STATE_CHANGE: 00:08:E0:35:D2:5D: 2 -> 0
D/BluetoothAdapterService(1090908144)( 3088): Get Bonded Devices being called
W/PackageManager( 2220): Unknown permission com.google.android.gallery3d.permission.GALLERY_PROVIDER in package com.android.bluetooth
D/ConnectivityService( 2220): Attempting to switch to BLUETOOTH_TETHER
D/ConnectivityService( 2220): Attempting to switch to BLUETOOTH_TETHER
D/LocalBluetoothManager( 5089): setting foreground activity to null
D/BluetoothPhoneService( 2685): handleMessage: 2
D/BluetoothPhoneService( 2685): handlePreciseCallStateChange: foreground: DIALING background: IDLE ringing: IDLE
E/BluetoothPhoneService( 2685): Could not get a handle on Connection object for the call
D/BluetoothPhoneService( 2685): handleMessage: 2
D/BluetoothPhoneService( 2685): handlePreciseCallStateChange: foreground: DIALING background: IDLE ringing: IDLE
E/BluetoothPhoneService( 2685): Could not get a handle on Connection object for the call
D/BluetoothManagerService( 2220): Message: 30

Please, please, please, help me. I love this rom, it is super fast and stable. Stock JB roms are so slow.

I found this : https://jira.cyanogenmod.org/browse...ira.plugin.system.issuetabpanels:all-tabpanel

and this is from last post: