[Galaxy S III I9305 (4G LTE + 2GB RAM) Q&A, Help & ] eduardo82:
Bluetooth don't activate sometimes

Hello winxuser,

First, thank you for your job with this custom build.

I got a problem when I tried to activate the bluetooth after a reboot. Here is the log:

08-03 21:15:10.565: D/BluetoothInputDevice(23946): onBluetoothStateChange: up=false

08-03 21:15:10.565: E/BluetoothInputDevice(23946): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothInputDevice$2@179bf5cd

08-03 21:15:10.565: E/BluetoothInputDevice(23946):	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1030)

08-03 21:15:10.565: E/BluetoothInputDevice(23946):	at android.app.ContextImpl.unbindService(ContextImpl.java:1843)

08-03 21:15:10.565: E/BluetoothInputDevice(23946):	at android.content.ContextWrapper.unbindService(ContextWrapper.java:557)

08-03 21:15:10.565: E/BluetoothInputDevice(23946):	at android.bluetooth.BluetoothInputDevice$1.onBluetoothStateChange(BluetoothInputDevice.java:227)

08-03 21:15:10.565: E/BluetoothInputDevice(23946):	at android.bluetooth.IBluetoothStateChangeCallback$Stub.onTransact(IBluetoothStateChangeCallback.java:55)

08-03 21:15:10.565: E/BluetoothInputDevice(23946):	at android.os.Binder.execTransact(Binder.java:446)

08-03 21:15:10.565: D/BluetoothAvrcpController(23946): onBluetoothStateChange: up=false

08-03 21:15:10.565: E/BluetoothAvrcpController(23946): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothAvrcpController$2@2d22a8ae

08-03 21:15:10.565: E/BluetoothAvrcpController(23946):	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1030)

08-03 21:15:10.565: E/BluetoothAvrcpController(23946):	at android.app.ContextImpl.unbindService(ContextImpl.java:1843)

08-03 21:15:10.565: E/BluetoothAvrcpController(23946):	at android.content.ContextWrapper.unbindService(ContextWrapper.java:557)

08-03 21:15:10.565: E/BluetoothAvrcpController(23946):	at android.bluetooth.BluetoothAvrcpController$1.onBluetoothStateChange(BluetoothAvrcpController.java:80)

08-03 21:15:10.565: E/BluetoothAvrcpController(23946):	at android.bluetooth.IBluetoothStateChangeCallback$Stub.onTransact(IBluetoothStateChangeCallback.java:55)

08-03 21:15:10.565: E/BluetoothAvrcpController(23946):	at android.os.Binder.execTransact(Binder.java:446)

08-03 21:15:10.570: D/BluetoothHeadsetClient(23946): onBluetoothStateChange: up=false

08-03 21:15:10.570: E/BluetoothHeadsetClient(23946): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothHeadsetClient$2@2bbb064f

08-03 21:15:10.570: E/BluetoothHeadsetClient(23946):	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1030)

08-03 21:15:10.570: E/BluetoothHeadsetClient(23946):	at android.app.ContextImpl.unbindService(ContextImpl.java:1843)

08-03 21:15:10.570: E/BluetoothHeadsetClient(23946):	at android.content.ContextWrapper.unbindService(ContextWrapper.java:557)

08-03 21:15:10.570: E/BluetoothHeadsetClient(23946):	at android.bluetooth.BluetoothHeadsetClient$1.onBluetoothStateChange(BluetoothHeadsetClient.java:382)

08-03 21:15:10.570: E/BluetoothHeadsetClient(23946):	at android.bluetooth.IBluetoothStateChangeCallback$Stub.onTransact(IBluetoothStateChangeCallback.java:55)

08-03 21:15:10.570: E/BluetoothHeadsetClient(23946):	at android.os.Binder.execTransact(Binder.java:446)

08-03 21:15:10.570: D/BluetoothA2dpSink(23946): onBluetoothStateChange: up=false

08-03 21:15:10.570: E/BluetoothA2dpSink(23946): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothA2dpSink$2@aa7f1dc

08-03 21:15:10.570: E/BluetoothA2dpSink(23946):	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1030)

08-03 21:15:10.570: E/BluetoothA2dpSink(23946):	at android.app.ContextImpl.unbindService(ContextImpl.java:1843)

08-03 21:15:10.570: E/BluetoothA2dpSink(23946):	at android.content.ContextWrapper.unbindService(ContextWrapper.java:557)

08-03 21:15:10.570: E/BluetoothA2dpSink(23946):	at android.bluetooth.BluetoothA2dpSink$1.onBluetoothStateChange(BluetoothA2dpSink.java:139)

08-03 21:15:10.570: E/BluetoothA2dpSink(23946):	at android.bluetooth.IBluetoothStateChangeCallback$Stub.onTransact(IBluetoothStateChangeCallback.java:55)

08-03 21:15:10.570: E/BluetoothA2dpSink(23946):	at android.os.Binder.execTransact(Binder.java:446)

08-03 21:15:10.570: D/BluetoothMap(23946): onBluetoothStateChange: up=false

08-03 21:15:10.570: E/BluetoothMap(23946): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothMap$2@3bda4e82

08-03 21:15:10.570: E/BluetoothMap(23946):	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1030)

08-03 21:15:10.570: E/BluetoothMap(23946):	at android.app.ContextImpl.unbindService(ContextImpl.java:1843)

08-03 21:15:10.570: E/BluetoothMap(23946):	at android.content.ContextWrapper.unbindService(ContextWrapper.java:557)

08-03 21:15:10.570: E/BluetoothMap(23946):	at android.bluetooth.BluetoothMap$1.onBluetoothStateChange(BluetoothMap.java:64)

08-03 21:15:10.570: E/BluetoothMap(23946):	at android.bluetooth.IBluetoothStateChangeCallback$Stub.onTransact(IBluetoothStateChangeCallback.java:55)

08-03 21:15:10.570: E/BluetoothMap(23946):	at android.os.Binder.execTransact(Binder.java:446)

08-03 21:15:10.575: D/BluetoothMap(2782): onBluetoothStateChange: up=false

08-03 21:15:10.575: E/BluetoothMap(2782): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothMap$2@875d694

08-03 21:15:10.575: E/BluetoothMap(2782):	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1030)

08-03 21:15:10.575: E/BluetoothMap(2782):	at android.app.ContextImpl.unbindService(ContextImpl.java:1843)

08-03 21:15:10.575: E/BluetoothMap(2782):	at android.content.ContextWrapper.unbindService(ContextWrapper.java:557)

08-03 21:15:10.575: E/BluetoothMap(2782):	at android.bluetooth.BluetoothMap$1.onBluetoothStateChange(BluetoothMap.java:64)

08-03 21:15:10.575: E/BluetoothMap(2782):	at android.bluetooth.IBluetoothStateChangeCallback$Stub.onTransact(IBluetoothStateChangeCallback.java:55)

08-03 21:15:10.575: E/BluetoothMap(2782):	at android.os.Binder.execTransact(Binder.java:446)

08-03 21:15:10.575: D/BluetoothHeadset(23785): onBluetoothStateChange: up=false

08-03 21:15:10.575: D/BluetoothA2dp(23946): onBluetoothStateChange: up=false

08-03 21:15:10.575: E/BluetoothA2dp(23946): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothA2dp$2@2ec7cf64

08-03 21:15:10.575: E/BluetoothA2dp(23946):	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1030)

08-03 21:15:10.575: E/BluetoothA2dp(23946):	at android.app.ContextImpl.unbindService(ContextImpl.java:1843)

08-03 21:15:10.575: E/BluetoothA2dp(23946):	at android.content.ContextWrapper.unbindService(ContextWrapper.java:557)

08-03 21:15:10.575: E/BluetoothA2dp(23946):	at android.bluetooth.BluetoothA2dp$1.onBluetoothStateChange(BluetoothA2dp.java:126)

08-03 21:15:10.575: E/BluetoothA2dp(23946):	at android.bluetooth.IBluetoothStateChangeCallback$Stub.onTransact(IBluetoothStateChangeCallback.java:55)

08-03 21:15:10.575: E/BluetoothA2dp(23946):	at android.os.Binder.execTransact(Binder.java:446)

08-03 21:15:10.580: D/BluetoothHeadset(24362): onBluetoothStateChange: up=false

08-03 21:15:10.580: D/BluetoothInputDevice(2782): onBluetoothStateChange: up=false

08-03 21:15:10.580: E/BluetoothInputDevice(2782): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothInputDevice$2@468a0a6

08-03 21:15:10.580: E/BluetoothInputDevice(2782):	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1030)

08-03 21:15:10.580: E/BluetoothInputDevice(2782):	at android.app.ContextImpl.unbindService(ContextImpl.java:1843)

08-03 21:15:10.580: E/BluetoothInputDevice(2782):	at android.content.ContextWrapper.unbindService(ContextWrapper.java:557)

08-03 21:15:10.580: E/BluetoothInputDevice(2782):	at android.bluetooth.BluetoothInputDevice$1.onBluetoothStateChange(BluetoothInputDevice.java:227)

08-03 21:15:10.580: E/BluetoothInputDevice(2782):	at android.bluetooth.IBluetoothStateChangeCallback$Stub.onTransact(IBluetoothStateChangeCallback.java:55)

08-03 21:15:10.580: E/BluetoothInputDevice(2782):	at android.os.Binder.execTransact(Binder.java:446)

08-03 21:15:10.580: D/BluetoothPan(23946): onBluetoothStateChange on: false

08-03 21:15:10.580: E/BluetoothPan(23946): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothPan$2@3a6b3993

08-03 21:15:10.580: E/BluetoothPan(23946):	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1030)

08-03 21:15:10.580: E/BluetoothPan(23946):	at android.app.ContextImpl.unbindService(ContextImpl.java:1843)

08-03 21:15:10.580: E/BluetoothPan(23946):	at android.content.ContextWrapper.unbindService(ContextWrapper.java:557)

08-03 21:15:10.580: E/BluetoothPan(23946):	at android.bluetooth.BluetoothPan$1.onBluetoothStateChange(BluetoothPan.java:206)

08-03 21:15:10.580: E/BluetoothPan(23946):	at android.bluetooth.IBluetoothStateChangeCallback$Stub.onTransact(IBluetoothStateChangeCallback.java:55)

08-03 21:15:10.580: E/BluetoothPan(23946):	at android.os.Binder.execTransact(Binder.java:446)

08-03 21:15:10.580: D/BluetoothHeadset(23785): onBluetoothStateChange: up=false

08-03 21:15:10.580: D/BluetoothPbap(2782): onBluetoothStateChange: up=false

08-03 21:15:10.585: E/BluetoothPbap(2782): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothPbap$2@c05a53d

08-03 21:15:10.585: E/BluetoothPbap(2782):	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1030)

08-03 21:15:10.585: E/BluetoothPbap(2782):	at android.app.ContextImpl.unbindService(ContextImpl.java:1843)

08-03 21:15:10.585: E/BluetoothPbap(2782):	at android.content.ContextWrapper.unbindService(ContextWrapper.java:557)

08-03 21:15:10.585: E/BluetoothPbap(2782):	at android.bluetooth.BluetoothPbap$1.onBluetoothStateChange(BluetoothPbap.java:121)

08-03 21:15:10.585: E/BluetoothPbap(2782):	at android.bluetooth.IBluetoothStateChangeCallback$Stub.onTransact(IBluetoothStateChangeCallback.java:55)

08-03 21:15:10.585: E/BluetoothPbap(2782):	at android.os.Binder.execTransact(Binder.java:446)

08-03 21:15:10.585: D/BluetoothPan(2782): onBluetoothStateChange on: false

08-03 21:15:10.590: E/BluetoothPan(2782): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothPan$2@27e32ae7

08-03 21:15:10.590: E/BluetoothPan(2782):	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1030)

08-03 21:15:10.590: E/BluetoothPan(2782):	at android.app.ContextImpl.unbindService(ContextImpl.java:1843)

08-03 21:15:10.590: E/BluetoothPan(2782):	at android.content.ContextWrapper.unbindService(ContextWrapper.java:557)

08-03 21:15:10.590: E/BluetoothPan(2782):	at android.bluetooth.BluetoothPan$1.onBluetoothStateChange(BluetoothPan.java:206)

08-03 21:15:10.590: E/BluetoothPan(2782):	at android.bluetooth.IBluetoothStateChangeCallback$Stub.onTransact(IBluetoothStateChangeCallback.java:55)

08-03 21:15:10.590: E/BluetoothPan(2782):	at android.os.Binder.execTransact(Binder.java:446)

08-03 21:15:10.590: D/BluetoothHeadset(23946): onBluetoothStateChange: up=false

08-03 21:15:10.595: D/BluetoothHeadset(23785): onBluetoothStateChange: up=false

08-03 21:15:10.595: D/BluetoothA2dp(23785): onBluetoothStateChange: up=false

08-03 21:15:10.600: E/BluetoothA2dp(23785): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothA2dp$2@3dcd3e18

08-03 21:15:10.600: E/BluetoothA2dp(23785):	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1030)

08-03 21:15:10.600: E/BluetoothA2dp(23785):	at android.app.ContextImpl.unbindService(ContextImpl.java:1843)

08-03 21:15:10.600: E/BluetoothA2dp(23785):	at android.bluetooth.BluetoothA2dp$1.onBluetoothStateChange(BluetoothA2dp.java:126)

08-03 21:15:10.600: E/BluetoothA2dp(23785):	at com.android.server.BluetoothManagerService.sendBluetoothStateCallback(BluetoothManagerService.java:761)

08-03 21:15:10.600: E/BluetoothA2dp(23785):	at com.android.server.BluetoothManagerService.bluetoothStateChangeHandler(BluetoothManagerService.java:1507)

08-03 21:15:10.600: E/BluetoothA2dp(23785):	at com.android.server.BluetoothManagerService.access$3700(BluetoothManagerService.java:68)

08-03 21:15:10.600: E/BluetoothA2dp(23785):	at com.android.server.BluetoothManagerService$BluetoothHandler.handleMessage(BluetoothManagerService.java:1226)

08-03 21:15:10.600: E/BluetoothA2dp(23785):	at android.os.Handler.dispatchMessage(Handler.java:102)

08-03 21:15:10.600: E/BluetoothA2dp(23785):	at android.os.Looper.loop(Looper.java:135)

08-03 21:15:10.600: E/BluetoothA2dp(23785):	at android.os.HandlerThread.run(HandlerThread.java:61)

08-03 21:15:10.600: E/BluetoothA2dp(23785):	at com.android.server.ServiceThread.run(ServiceThread.java:46)

08-03 21:15:10.600: D/BluetoothManagerService(23785): Bluetooth State Change Intent: 11 -> 10

08-03 21:15:10.600: E/BluetoothManagerService(23785): recoverBluetoothServiceFromError

Do you believe that this problem is related to my device or it could be a problem with Cyanogen?

Regards,

Eduardo