Android kitkat

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Android kitkat

1,873 Views
johnjohntobias
Contributor II

Hello All,

My board is based on iMX6DL, running Android kitktat and has broadcom 43340 bluetooth. When, I power up my board, the bluedroid tried to bring up and rans for several x times (dumps the error below) before it has successfully enable it.

W/bt-btu  ( 1628): btu_task start abort!

I/GKI_LINUX( 1628): gki_task_entry: gki_task task_id=0 [BTU] terminating

I/GKI_LINUX( 1628): GKI_exit_task: GKI_exit_task 0 done

I/GKI_LINUX( 1628): GKI_destroy_task: GKI_shutdown(): task [BTU] terminated

I/GKI_LINUX( 1628): GKI_exit_task: GKI_exit_task 1 done

I/GKI_LINUX( 1628): gki_task_entry: gki_task task_id=2 [A2DP-MEDIA] terminating

I/GKI_LINUX( 1628): GKI_exit_task: GKI_exit_task 2 done

D/BluetoothAdapterState( 1628): CURRENT_STATE=PENDING, MESSAGE = DISABLED, isTurningOn=true, isTurningOff=false

E/BluetoothAdapterState( 1628): Error enabling Bluetooth - hardware init failed

I/GKI_LINUX( 1628): gki_task_entry: gki_task task_id=1 [BTIF] terminating

D/HeadsetService( 1628): Received stop request...Stopping profile...

D/A2dpService( 1628): Received stop request...Stopping profile...

D/A2dpStateMachine( 1628): Exit Disconnected: -1

W/BluetoothHeadsetServiceJni( 1628): Cleaning up Bluetooth Handsfree Interface...

W/BluetoothHeadsetServiceJni( 1628): Cleaning up Bluetooth Handsfree callback object

D/HidService( 1628): Received stop request...Stopping profile...

D/BluetoothAdapterProperties( 1628): Setting state to 10

I/BluetoothAdapterState( 1628): Bluetooth adapter state changed: 11-> 10

D/BluetoothAdapterService( 1628): Broadcasting updateAdapterState() to 1 receivers.

D/BluetoothManagerService(  438): Message: 60

D/BluetoothManagerService(  438): MESSAGE_BLUETOOTH_STATE_CHANGE: prevState = 11, newState=10

D/BluetoothManagerService(  438): Broadcasting onBluetoothStateChange(false) to 12 receivers.

D/BluetoothInputDevice(  711): onBluetoothStateChange: up=false

D/HealthService( 1628): Received stop request...Stopping profile...

E/BluetoothInputDevice(  711):

E/BluetoothInputDevice(  711): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothInputDevice$2@2d1a6700

E/BluetoothInputDevice(  711): at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:922)

E/BluetoothInputDevice(  711): at android.app.ContextImpl.unbindService(ContextImpl.java:1603)

E/BluetoothInputDevice(  711): at android.content.ContextWrapper.unbindService(ContextWrapper.java:529)

E/BluetoothInputDevice(  711): at android.bluetooth.BluetoothInputDevice$1.onBluetoothStateChange(BluetoothInputDevice.java:199)

E/BluetoothInputDevice(  711): at android.bluetooth.IBluetoothStateChangeCallback$Stub.onTransact(IBluetoothStateChangeCallback.java:55)

E/BluetoothInputDevice(  711): at android.os.Binder.execTransact(Binder.java:404)

E/BluetoothInputDevice(  711): at dalvik.system.NativeStart.run(Native Method)

E/BluetoothPan(  438):

E/BluetoothPan(  438): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothPan$2@2d2b9e40

E/BluetoothPan(  438): at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:922)

E/BluetoothPan(  438): at android.app.ContextImpl.unbindService(ContextImpl.java:1603)

E/BluetoothPan(  438): at android.bluetooth.BluetoothPan$1.onBluetoothStateChange(BluetoothPan.java:199)

E/BluetoothPan(  438): at com.android.server.BluetoothManagerService.sendBluetoothStateCallback(BluetoothManagerService.java:484)

E/BluetoothPan(  438): at com.android.server.BluetoothManagerService.bluetoothStateChangeHandler(BluetoothManagerService.java:1129)

E/BluetoothPan(  438): at com.android.server.BluetoothManagerService.access$2800(BluetoothManagerService.java:47)

E/BluetoothPan(  438): at com.android.server.BluetoothManagerService$BluetoothHandler.handleMessage(BluetoothManagerService.java:864)

E/BluetoothPan(  438): at android.os.Handler.dispatchMessage(Handler.java:102)

E/BluetoothPan(  438): at android.os.Looper.loop(Looper.java:136)

E/BluetoothPan(  438): at android.os.HandlerThread.run(HandlerThread.java:61)

D/BluetoothHeadset(  631): onBluetoothStateChange: up=false

D/PanService( 1628): Received stop request...Stopping profile...

E/BluetoothHeadset(  631):

E/BluetoothHeadset(  631): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothHeadset$2@2d191318

E/BluetoothHeadset(  631): at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:922)

E/BluetoothHeadset(  631): at android.app.ContextImpl.unbindService(ContextImpl.java:1603)

E/BluetoothHeadset(  631): at android.content.ContextWrapper.unbindService(ContextWrapper.java:529)

E/BluetoothHeadset(  631): at android.content.ContextWrapper.unbindService(ContextWrapper.java:529)

E/BluetoothHeadset(  631): at android.bluetooth.BluetoothHeadset$1.onBluetoothStateChange(BluetoothHeadset.java:239)

E/BluetoothHeadset(  631): at android.bluetooth.IBluetoothStateChangeCallback$Stub.onTransact(IBluetoothStateChangeCallback.java:55)

E/BluetoothHeadset(  631): at android.os.Binder.execTransact(Binder.java:404)

E/BluetoothHeadset(  631): at dalvik.system.NativeStart.run(Native Method)

D/BluetoothTethering(  438): got CMD_CHANNEL_DISCONNECTED

E/BluetoothTethering(  438): attempted to stop reverse tether with nothing tethered

D/BluetoothMap(  711): onBluetoothStateChange: up=false

I/BluetoothAdapterState( 1628): Entering OffState

D/BluetoothAdapterState( 1628): CURRENT_STATE=OFF, MESSAGE = USER_TURN_OFF

E/BluetoothMap(  711):

E/BluetoothMap(  711): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothMap$2@2d1b19f8

E/BluetoothMap(  711): at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:922)

E/BluetoothMap(  711): at android.app.ContextImpl.unbindService(ContextImpl.java:1603)

E/BluetoothMap(  711): at android.content.ContextWrapper.unbindService(ContextWrapper.java:529)

E/BluetoothMap(  711): at android.bluetooth.BluetoothMap$1.onBluetoothStateChange(BluetoothMap.java:66)

E/BluetoothMap(  711): at android.bluetooth.IBluetoothStateChangeCallback$Stub.onTransact(IBluetoothStateChangeCallback.java:55)

E/BluetoothMap(  711): at android.os.Binder.execTransact(Binder.java:404)

E/BluetoothMap(  711): at dalvik.system.NativeStart.run(Native Method)

D/BluetoothHeadset(  438): onBluetoothStateChange: up=false

D/BtGatt.DebugUtils( 1628): handleDebugAction() action=null

D/BtGatt.GattService( 1628): Received stop request...Stopping profile...

D/BtGatt.GattService( 1628): stop()

E/BluetoothHeadset(  438):

E/BluetoothHeadset(  438): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothHeadset$2@2d3a8e48

E/BluetoothHeadset(  438): at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:922)

E/BluetoothHeadset(  438): at android.app.ContextImpl.unbindService(ContextImpl.java:1603)

E/BluetoothHeadset(  438): at android.bluetooth.BluetoothHeadset$1.onBluetoothStateChange(BluetoothHeadset.java:239)

E/BluetoothHeadset(  438): at com.android.server.BluetoothManagerService.sendBluetoothStateCallback(BluetoothManagerService.java:484)

E/BluetoothHeadset(  438): at com.android.server.BluetoothManagerService.bluetoothStateChangeHandler(BluetoothManagerService.java:1129)

E/BluetoothHeadset(  438): at com.android.server.BluetoothManagerService.access$2800(BluetoothManagerService.java:47)

E/BluetoothHeadset(  438): at com.android.server.BluetoothManagerService$BluetoothHandler.handleMessage(BluetoothManagerService.java:864)

E/BluetoothHeadset(  438): at android.os.Handler.dispatchMessage(Handler.java:102)

E/BluetoothHeadset(  438): at android.os.Looper.loop(Looper.java:136)

E/BluetoothHeadset(  438): at android.os.HandlerThread.run(HandlerThread.java:61)

D/BluetoothHeadset(  631): onBluetoothStateChange: up=false

E/BluetoothHeadset(  631):

E/BluetoothHeadset(  631): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothHeadset$2@2d1d8760

E/BluetoothHeadset(  631): at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:922)

E/BluetoothHeadset(  631): at android.app.ContextImpl.unbindService(ContextImpl.java:1603)

E/BluetoothHeadset(  631): at android.content.ContextWrapper.unbindService(ContextWrapper.java:529)

E/BluetoothHeadset(  631): at android.bluetooth.BluetoothHeadset$1.onBluetoothStateChange(BluetoothHeadset.java:239)

E/BluetoothHeadset(  631): at android.bluetooth.IBluetoothStateChangeCallback$Stub.onTransact(IBluetoothStateChangeCallback.java:55)

E/BluetoothHeadset(  631): at android.os.Binder.execTransact(Binder.java:404)

E/BluetoothHeadset(  631): at dalvik.system.NativeStart.run(Native Method)

W/BluetoothHidServiceJni( 1628): Cleaning up Bluetooth HID Interface...

W/bt-btif ( 1628): cleanup: HH disabling or disabled already, status = 0

W/BluetoothHidServiceJni( 1628): Cleaning up Bluetooth GID callback object

D/BluetoothHeadset(  711): onBluetoothStateChange: up=false

E/BluetoothHeadset(  711):

E/BluetoothHeadset(  711): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothHeadset$2@2d1e2248

E/BluetoothHeadset(  711): at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:922)

E/BluetoothHeadset(  711): at android.app.ContextImpl.unbindService(ContextImpl.java:1603)

E/BluetoothHeadset(  711): at android.content.ContextWrapper.unbindService(ContextWrapper.java:529)

E/BluetoothHeadset(  711): at android.bluetooth.BluetoothHeadset$1.onBluetoothStateChange(BluetoothHeadset.java:239)

E/BluetoothHeadset(  711): at android.bluetooth.IBluetoothStateChangeCallback$Stub.onTransact(IBluetoothStateChangeCallback.java:55)

E/BluetoothHeadset(  711): at android.os.Binder.execTransact(Binder.java:404)

E/BluetoothHeadset(  711): at dalvik.system.NativeStart.run(Native Method)

E/BluetoothPan(  711):

E/BluetoothPan(  711): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothPan$2@2d1ac290

E/BluetoothPan(  711): at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:922)

E/BluetoothPan(  711): at android.app.ContextImpl.unbindService(ContextImpl.java:1603)

E/BluetoothPan(  711): at android.content.ContextWrapper.unbindService(ContextWrapper.java:529)

E/BluetoothPan(  711): at android.bluetooth.BluetoothPan$1.onBluetoothStateChange(BluetoothPan.java:199)

E/BluetoothPan(  711): at android.bluetooth.IBluetoothStateChangeCallback$Stub.onTransact(IBluetoothStateChangeCallback.java:55)

E/BluetoothPan(  711): at android.os.Binder.execTransact(Binder.java:404)

E/BluetoothPan(  711): at dalvik.system.NativeStart.run(Native Method)

D/BluetoothA2dp(  438): onBluetoothStateChange: up=false

D/BluetoothMapService( 1628): Received stop request...Stopping profile...

D/BluetoothMapService( 1628): stop()

E/BluetoothA2dp(  438):

E/BluetoothA2dp(  438): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothA2dp$2@2d447f38

E/BluetoothA2dp(  438): at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:922)

E/BluetoothA2dp(  438): at android.app.ContextImpl.unbindService(ContextImpl.java:1603)

E/BluetoothA2dp(  438): at android.bluetooth.BluetoothA2dp$1.onBluetoothStateChange(BluetoothA2dp.java:121)

E/BluetoothA2dp(  438): at com.android.server.BluetoothManagerService.sendBluetoothStateCallback(BluetoothManagerService.java:484)

E/BluetoothA2dp(  438): at com.android.server.BluetoothManagerService.bluetoothStateChangeHandler(BluetoothManagerService.java:1129)

E/BluetoothA2dp(  438): at com.android.server.BluetoothManagerService.access$2800(BluetoothManagerService.java:47)

E/BluetoothA2dp(  438): at com.android.server.BluetoothManagerService$BluetoothHandler.handleMessage(BluetoothManagerService.java:864)

E/BluetoothA2dp(  438): at android.os.Handler.dispatchMessage(Handler.java:102)

E/BluetoothA2dp(  438): at android.os.Looper.loop(Looper.java:136)

E/BluetoothA2dp(  438): at android.os.HandlerThread.run(HandlerThread.java:61)

D/BluetoothMapService( 1628): MAP Service closeService in

D/BluetoothA2dp(  711): onBluetoothStateChange: up=false

E/BluetoothA2dp(  711):

E/BluetoothA2dp(  711): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothA2dp$2@2d1dd0e0

E/BluetoothA2dp(  711): at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:922)

E/BluetoothA2dp(  711): at android.app.ContextImpl.unbindService(ContextImpl.java:1603)

E/BluetoothA2dp(  711): at android.content.ContextWrapper.unbindService(ContextWrapper.java:529)

E/BluetoothA2dp(  711): at android.bluetooth.BluetoothA2dp$1.onBluetoothStateChange(BluetoothA2dp.java:121)

E/BluetoothA2dp(  711): at android.bluetooth.IBluetoothStateChangeCallback$Stub.onTransact(IBluetoothStateChangeCallback.java:55)

E/BluetoothA2dp(  711): at android.os.Binder.execTransact(Binder.java:404)

E/BluetoothA2dp(  711): at dalvik.system.NativeStart.run(Native Method)

W/BluetoothHealthServiceJni( 1628): Cleaning up Bluetooth Health Interface...

W/BluetoothHealthServiceJni( 1628): Cleaning up Bluetooth Health object

D/BluetoothHeadset(  631): onBluetoothStateChange: up=false

E/BluetoothHeadset(  631):

E/BluetoothHeadset(  631): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothHeadset$2@2d1bcdf0

E/BluetoothHeadset(  631): at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:922)

E/BluetoothHeadset(  631): at android.app.ContextImpl.unbindService(ContextImpl.java:1603)

E/BluetoothHeadset(  631): at android.content.ContextWrapper.unbindService(ContextWrapper.java:529)

E/BluetoothHeadset(  631): at android.bluetooth.BluetoothHeadset$1.onBluetoothStateChange(BluetoothHeadset.java:239)

E/BluetoothHeadset(  631): at android.bluetooth.IBluetoothStateChangeCallback$Stub.onTransact(IBluetoothStateChangeCallback.java:55)

E/BluetoothHeadset(  631): at android.os.Binder.execTransact(Binder.java:404)

E/BluetoothHeadset(  631): at dalvik.system.NativeStart.run(Native Method)

W/BluetoothPanServiceJni( 1628): Cleaning up Bluetooth PAN Interface...

W/BluetoothPanServiceJni( 1628): Cleaning up Bluetooth PAN callback object

D/BluetoothPbap(  711): onBluetoothStateChange: up=false

E/BluetoothPbap(  711):

E/BluetoothPbap(  711): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothPbap$2@2d1b71d0

E/BluetoothPbap(  711): at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:922)

E/BluetoothPbap(  711): at android.app.ContextImpl.unbindService(ContextImpl.java:1603)

E/BluetoothPbap(  711): at android.content.ContextWrapper.unbindService(ContextWrapper.java:529)

E/BluetoothPbap(  711): at android.bluetooth.BluetoothPbap$1.onBluetoothStateChange(BluetoothPbap.java:122)

E/BluetoothPbap(  711): at android.bluetooth.IBluetoothStateChangeCallback$Stub.onTransact(IBluetoothStateChangeCallback.java:55)

E/BluetoothPbap(  711): at android.os.Binder.execTransact(Binder.java:404)

E/BluetoothPbap(  711): at dalvik.system.NativeStart.run(Native Method)

D/BtGatt.GattService( 1628): cleanup()

W/bt-btif ( 1628): GATTC Module not enabled/already disabled

W/bt-btif ( 1628): GATTS Module not enabled/already disabled

D/BluetoothMapService( 1628): cleanup()

D/BluetoothMapService( 1628): MAP Service closeService in

D/BluetoothManagerService(  438): Bluetooth State Change Intent: 11 -> 10

E/BluetoothManagerService(  438): recoverBluetoothServiceFromError

W/ContextImpl(  711): Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:1487 android.content.ContextWrapper.startService:494 android.content.ContextWrapper.startService:494 com.android.settings.bluetooth.DockEventReceiver.beginStartingService:134 com.android.settings.bluetooth.DockEventReceiver.onReceive:115

D/DockEventReceiver(  711): finishStartingService: stopping service

D/dalvikvm(  438): GC_CONCURRENT freed 825K, 19% free 6467K/7916K, paused 4ms+6ms, total 89ms

D/BTDEBUG (  947): a.b.adapter.a.STATE_CHANGED

D/BTDEBUG (  947): a.b.adapter.e.PREVIOUS_STATE = 11

D/BTDEBUG (  947): a.b.adapter.e.STATE = 10

D/BluetoothManagerService(  438): Sending off request.

D/BluetoothAdapterState( 1628): CURRENT_STATE=OFF, MESSAGE = USER_TURN_OFF

D/BluetoothManagerService(  438): Calling onBluetoothServiceDown callbacks

D/BluetoothManagerService(  438): Broadcasting onBluetoothServiceDown() to 8 receivers.

D/BluetoothAdapterService( 1628): Cleaning up adapter native....

I/BluetoothServiceJni( 1628): bool android::cleanupNative(JNIEnv*, jobject): return from cleanup

D/BluetoothAdapterService( 1628): Done cleaning up adapter native....

D/BluetoothAdapterService(756663232)( 1628): ****onDestroy()********

E/i.MXPowerHAL(  142): Not in interactive mode, don't do powerhint

V/KeyguardHostView(  487): Initial transport state: 1, pbstate=0

E/i.MXPowerHAL(  142): Not in interactive mode, don't do powerhint

E/i.MXPowerHAL(  142): Not in interactive mode, don't do powerhint

E/i.MXPowerHAL(  142): Not in interactive mode, don't do powerhin

Then, when I click the bluetooth button (off then on), the bluedroid couldn't bring the interface back. I would like to know if anyone here got a similar problem and able to fix it?.

Regards,

John

Labels (3)
0 Kudos
6 Replies

940 Views
Silwerstar
Contributor I

Hi John,

Can you please share as to how you fixed this issue? I am facing the same issue on the imx6 sololite platform with Android 4.4.3. Hoping to hear from you.

Regards,

Fariya

0 Kudos

940 Views
mutyalaraoneela
Contributor III

Hi All,

Platform : IMX6SL

Bluedroid on Android kitkat 4.4.3.

Can you please help me I am struck at this point not able to move forward.

D/BluetoothAdapterState(  704):  CURRENT_STATE=PENDING, MESSAGE = ENABLE_TIMEOUT, isTurningOn=true, isTurningOff=false
E/BluetoothAdapterState(  704): Error enabling Bluetooth
D/BluetoothAdapterProperties(  704): Setting state to 10
I/BluetoothAdapterState(  704): Bluetooth adapter state changed: 11-> 10
D/BluetoothAdapterService(  704): Broadcasting updateAdapterState() to 1 receivers.

what's wrong with this..... Not getting any idea. Please help me.....

Thanks and regards,

MutyalaRao.

0 Kudos

940 Views
mutyalaraoneela
Contributor III

Hi all,

  I am glad to inform you that the above issue which I have posted earlier got resolved, but I have another issue while data transfer.

    After enabling bluetooth, while transferring file from third party mobile to IMX_6SL board, file is getting transferred(TX), but vice versa (RX) is not happening, it is giving the error message :

   File not Received

   File : sample.jpg

   Reason : Storage issue

  Please suggest me how to proceed further???

Thanks and Regards,

Mutyala Rao.

0 Kudos

940 Views
johnjohntobias
Contributor II

Hello Guys,

Please ignore my email. I got it working.

Regards,

John

0 Kudos

940 Views
SergioSolis
NXP Employee
NXP Employee

Hello John,

Can you please share with the community what you did to fix it?, that way the community will benefit from it.

thank you,

Sergio

0 Kudos

939 Views
mutyalaraoneela
Contributor III

Hi John,

     Will you please provide the fix for the above issue, I am facing the same issue, on imx6sl board.

Thanks,

Muthayala rao.

0 Kudos