[Galaxy S III I9305 (4G LTE + 2GB RAM) Q&A, Help & ] Uddasa:
bluetooth can't be enabled

Hi,

With the last version (cm-12.1-20151008-UNOFFICIAL-i9305.zip flashed with full wipe) I still have some Bluetooth issues.

It's working very well overall but sometimes I can't enable Bluetooth at all (it stays grayed out and nothing happens), and I need to (soft)reboot to make it work again .

I had this issue with previous versions also but was hopping it would be resolved now.

As I use it always in my car I'm not always ready to get some log but next time I'll try to get it so maybe someone will be able to fix it.

Also I don't have random soft reboots anymore which is very nice ;)

Edit : I've got a logcat (error level) when I try to enable Bluetooth and it fails. Hope it can help.

10-12 10:29:36.835 E/WifiStateMachine(2343): cancelDelayedScan -> 15
10-12 10:29:38.545 E/BluetoothDevice(3010): BT not enabled. Cannot get bond state
10-12 10:29:44.030 E/su (7059): SU from: u0_a87
10-12 10:29:44.040 E/AppOps (2343): Creating dialog box
10-12 10:29:47.400 E/su (7081): SU from: u0_a87
10-12 10:29:48.040 E/su (7093): SU from: u0_a87
10-12 10:29:48.120 E/su (7101): SU from: u0_a87
10-12 10:29:48.160 E/su (7108): SU from: u0_a87
10-12 10:30:41.405 E/bt_osi_config(5640): config_new unable to open file '/etc/bluetooth/ble_stack.conf': No such file or directory
10-12 10:30:41.510 E/BluetoothAdapterService(5640): checkA2dpState: returning
10-12 10:30:41.510 E/BluetoothAdapterService(5640): checkHidState: returning
10-12 10:30:41.510 E/BluetoothAdapterService(5640): checkHfpState: returning
10-12 10:30:41.565 E/AudioService(2343): No RCC entry present to update
10-12 10:30:41.565 E/RemoteController(5640): Cannot set synchronization mode on an unregistered RemoteController
10-12 10:30:41.940 E/BTEventHandler(5640): A4WP is not supported
10-12 10:30:46.435 E/BluetoothAdapterState(5640): Error enabling Bluetooth
10-12 10:30:46.435 E/BluetoothA2dp(2343):
10-12 10:30:46.435 E/BluetoothA2dp(2343): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothA2dp$2@3ee548c5
10-12 10:30:46.435 E/BluetoothA2dp(2343):	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1030)
10-12 10:30:46.435 E/BluetoothA2dp(2343):	at android.app.ContextImpl.unbindService(ContextImpl.java:1839)
10-12 10:30:46.435 E/BluetoothA2dp(2343):	at android.bluetooth.BluetoothA2dp$1.onBluetoothStateChange(BluetoothA2dp.java:126)
10-12 10:30:46.435 E/BluetoothA2dp(2343):	at com.android.server.BluetoothManagerService.sendBluetoothStateCallback(BluetoothManagerService.java:761)
10-12 10:30:46.435 E/BluetoothA2dp(2343):	at com.android.server.BluetoothManagerService.bluetoothStateChangeHandler(BluetoothManagerService.java:1507)
10-12 10:30:46.435 E/BluetoothA2dp(2343):	at com.android.server.BluetoothManagerService.access$3700(BluetoothManagerService.java:68)
10-12 10:30:46.435 E/BluetoothA2dp(2343):	at com.android.server.BluetoothManagerService$BluetoothHandler.handleMessage(BluetoothManagerService.java:1226)
10-12 10:30:46.435 E/BluetoothA2dp(2343):	at android.os.Handler.dispatchMessage(Handler.java:102)
10-12 10:30:46.435 E/BluetoothA2dp(2343):	at android.os.Looper.loop(Looper.java:135)
10-12 10:30:46.435 E/BluetoothA2dp(2343):	at android.os.HandlerThread.run(HandlerThread.java:61)
10-12 10:30:46.435 E/BluetoothA2dp(2343):	at com.android.server.ServiceThread.run(ServiceThread.java:46)
10-12 10:30:46.440 E/BluetoothA2dp(4425):
10-12 10:30:46.440 E/BluetoothA2dp(4425): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothA2dp$2@b687a0a
10-12 10:30:46.440 E/BluetoothA2dp(4425):	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1030)
10-12 10:30:46.440 E/BluetoothA2dp(4425):	at android.app.ContextImpl.unbindService(ContextImpl.java:1839)
10-12 10:30:46.440 E/BluetoothA2dp(4425):	at android.content.ContextWrapper.unbindService(ContextWrapper.java:557)
10-12 10:30:46.440 E/BluetoothA2dp(4425):	at android.bluetooth.BluetoothA2dp$1.onBluetoothStateChange(BluetoothA2dp.java:126)
10-12 10:30:46.440 E/BluetoothA2dp(4425):	at android.bluetooth.IBluetoothStateChangeCallback$Stub.onTransact(IBluetoothStateChangeCallback.java:55)
10-12 10:30:46.440 E/BluetoothA2dp(4425):	at android.os.Binder.execTransact(Binder.java:446)
10-12 10:30:46.445 E/BluetoothPan(2715):
10-12 10:30:46.445 E/BluetoothPan(2715): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothPan$2@e3438e4
10-12 10:30:46.445 E/BluetoothPan(2715):	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1030)
10-12 10:30:46.445 E/BluetoothPan(2715):	at android.app.ContextImpl.unbindService(ContextImpl.java:1839)
10-12 10:30:46.445 E/BluetoothPan(2715):	at android.content.ContextWrapper.unbindService(ContextWrapper.java:557)
10-12 10:30:46.445 E/BluetoothPan(2715):	at android.bluetooth.BluetoothPan$1.onBluetoothStateChange(BluetoothPan.java:206)
10-12 10:30:46.445 E/BluetoothPan(2715):	at android.bluetooth.IBluetoothStateChangeCallback$Stub.onTransact(IBluetoothStateChangeCallback.java:55)
10-12 10:30:46.445 E/BluetoothPan(2715):	at android.os.Binder.execTransact(Binder.java:446)
10-12 10:30:46.445 E/BluetoothHeadsetClient(2715):
10-12 10:30:46.445 E/BluetoothHeadsetClient(2715): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothHeadsetClient$2@ded7184
10-12 10:30:46.445 E/BluetoothHeadsetClient(2715):	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1030)
10-12 10:30:46.445 E/BluetoothHeadsetClient(2715):	at android.app.ContextImpl.unbindService(ContextImpl.java:1839)
10-12 10:30:46.445 E/BluetoothHeadsetClient(2715):	at android.content.ContextWrapper.unbindService(ContextWrapper.java:557)
10-12 10:30:46.445 E/BluetoothHeadsetClient(2715):	at android.bluetooth.BluetoothHeadsetClient$1.onBluetoothStateChange(BluetoothHeadsetClient.java:382)
10-12 10:30:46.445 E/BluetoothHeadsetClient(2715):	at android.bluetooth.IBluetoothStateChangeCallback$Stub.onTransact(IBluetoothStateChangeCallback.java:55)
10-12 10:30:46.445 E/BluetoothHeadsetClient(2715):	at android.os.Binder.execTransact(Binder.java:446)
10-12 10:30:46.445 E/BluetoothMap(2715):
10-12 10:30:46.445 E/BluetoothMap(2715): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothMap$2@1c0f6477
10-12 10:30:46.445 E/BluetoothMap(2715):	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1030)
10-12 10:30:46.445 E/BluetoothMap(2715):	at android.app.ContextImpl.unbindService(ContextImpl.java:1839)
10-12 10:30:46.445 E/BluetoothMap(2715):	at android.content.ContextWrapper.unbindService(ContextWrapper.java:557)
10-12 10:30:46.445 E/BluetoothMap(2715):	at android.bluetooth.BluetoothMap$1.onBluetoothStateChange(BluetoothMap.java:64)
10-12 10:30:46.445 E/BluetoothMap(2715):	at android.bluetooth.IBluetoothStateChangeCallback$Stub.onTransact(IBluetoothStateChangeCallback.java:55)
10-12 10:30:46.445 E/BluetoothMap(2715):	at android.os.Binder.execTransact(Binder.java:446)
10-12 10:30:46.445 E/BluetoothAvrcpController(2715):
10-12 10:30:46.445 E/BluetoothAvrcpController(2715): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothAvrcpController$2@16c7bd6d
10-12 10:30:46.445 E/BluetoothAvrcpController(2715):	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1030)
10-12 10:30:46.445 E/BluetoothAvrcpController(2715):	at android.app.ContextImpl.unbindService(ContextImpl.java:1839)
10-12 10:30:46.445 E/BluetoothAvrcpController(2715):	at android.content.ContextWrapper.unbindService(ContextWrapper.java:557)
10-12 10:30:46.445 E/BluetoothAvrcpController(2715):	at android.bluetooth.BluetoothAvrcpController$1.onBluetoothStateChange(BluetoothAvrcpController.java:80)
10-12 10:30:46.445 E/BluetoothAvrcpController(2715):	at android.bluetooth.IBluetoothStateChangeCallback$Stub.onTransact(IBluetoothStateChangeCallback.java:55)
10-12 10:30:46.445 E/BluetoothAvrcpController(2715):	at android.os.Binder.execTransact(Binder.java:446)
10-12 10:30:46.445 E/BluetoothInputDevice(2715):
10-12 10:30:46.445 E/BluetoothInputDevice(2715): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothInputDevice$2@2bc28676
10-12 10:30:46.445 E/BluetoothInputDevice(2715):	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1030)
10-12 10:30:46.445 E/BluetoothInputDevice(2715):	at android.app.ContextImpl.unbindService(ContextImpl.java:1839)
10-12 10:30:46.445 E/BluetoothInputDevice(2715):	at android.content.ContextWrapper.unbindService(ContextWrapper.java:557)
10-12 10:30:46.445 E/BluetoothInputDevice(2715):	at android.bluetooth.BluetoothInputDevice$1.onBluetoothStateChange(BluetoothInputDevice.java:227)
10-12 10:30:46.445 E/BluetoothInputDevice(2715):	at android.bluetooth.IBluetoothStateChangeCallback$Stub.onTransact(IBluetoothStateChangeCallback.java:55)
10-12 10:30:46.445 E/BluetoothInputDevice(2715):	at android.os.Binder.execTransact(Binder.java:446)
10-12 10:30:46.450 E/BluetoothA2dp(2715):
10-12 10:30:46.450 E/BluetoothA2dp(2715): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothA2dp$2@30eb0511
10-12 10:30:46.450 E/BluetoothA2dp(2715):	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1030)
10-12 10:30:46.450 E/BluetoothA2dp(2715):	at android.app.ContextImpl.unbindService(ContextImpl.java:1839)
10-12 10:30:46.450 E/BluetoothA2dp(2715):	at android.content.ContextWrapper.unbindService(ContextWrapper.java:557)
10-12 10:30:46.450 E/BluetoothA2dp(2715):	at android.bluetooth.BluetoothA2dp$1.onBluetoothStateChange(BluetoothA2dp.java:126)
10-12 10:30:46.450 E/BluetoothA2dp(2715):	at android.bluetooth.IBluetoothStateChangeCallback$Stub.onTransact(IBluetoothStateChangeCallback.java:55)
10-12 10:30:46.450 E/BluetoothA2dp(2715):	at android.os.Binder.execTransact(Binder.java:446)
10-12 10:30:46.450 E/BluetoothA2dpSink(2715):
10-12 10:30:46.450 E/BluetoothA2dpSink(2715): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothA2dpSink$2@3e110da2
10-12 10:30:46.450 E/BluetoothA2dpSink(2715):	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1030)
10-12 10:30:46.450 E/BluetoothA2dpSink(2715):	at android.app.ContextImpl.unbindService(ContextImpl.java:1839)
10-12 10:30:46.450 E/BluetoothA2dpSink(2715):	at android.content.ContextWrapper.unbindService(ContextWrapper.java:557)
10-12 10:30:46.450 E/BluetoothA2dpSink(2715):	at android.bluetooth.BluetoothA2dpSink$1.onBluetoothStateChange(BluetoothA2dpSink.java:139)
10-12 10:30:46.450 E/BluetoothA2dpSink(2715):	at android.bluetooth.IBluetoothStateChangeCallback$Stub.onTransact(IBluetoothStateChangeCallback.java:55)
10-12 10:30:46.450 E/BluetoothA2dpSink(2715):	at android.os.Binder.execTransact(Binder.java:446)
10-12 10:30:46.460 E/BluetoothManagerService(2343): recoverBluetoothServiceFromError
10-12 10:30:46.515 E/BTEventHandler(5640): A4WP is not supported
10-12 10:30:46.985 E/BTIF_CORE(5640): mutex: 0x537b1254 is not initialized
10-12 10:30:46.995 E/BTIF_CORE(5640): mutex: 0x537b1254 is not initialized
10-12 10:30:50.010 E/bt_osi_config(5640): config_new unable to open file '/etc/bluetooth/ble_stack.conf': No such file or directory
10-12 10:30:50.070 E/BluetoothAdapterService(5640): checkA2dpState: returning
10-12 10:30:50.070 E/BluetoothAdapterService(5640): checkHidState: returning
10-12 10:30:50.070 E/BluetoothAdapterService(5640): checkHfpState: returning
10-12 10:30:50.110 E/AudioService(2343): No RCC entry present to update
10-12 10:30:50.110 E/RemoteController(5640): Cannot set synchronization mode on an unregistered RemoteController
10-12 10:30:50.125 E/BTEventHandler(5640): A4WP is not supported
10-12 10:30:55.055 E/BluetoothAdapterState(5640): Error enabling Bluetooth

Thanks.