IMX8QM: Is it possible to remove the Bluetooth service from Android Automotive 11 build

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

IMX8QM: Is it possible to remove the Bluetooth service from Android Automotive 11 build

975 Views
vinothkumars
Senior Contributor IV

Hi,

 

IMX8QM-MEK + Android 11 Automotive

 

I want to remove the Bluetooth service from build, due to this board got reboot (CAR watchdog started).

Please find the log,

--------- beginning of crash
07-26 11:49:52.619 352 352 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 352 (bluetooth@1.0-s), pid 352 (bluetooth@1.0-s)
07-26 11:49:52.630 882 900 I experimentalca: WaitForGcToComplete blocked RunEmptyCheckpoint on ProfileSaver for 5.572ms
07-26 11:49:52.640 1946 1946 D NetworkSecurityConfig: No Network Security Config specified, using platform default
07-26 11:49:52.641 1946 1946 D NetworkSecurityConfig: No Network Security Config specified, using platform default
07-26 11:49:52.649 517 533 D CompatibilityChangeReporter: Compat change id reported: 135634846; UID 1010077; state: DISABLED
07-26 11:49:52.649 517 533 D CompatibilityChangeReporter: Compat change id reported: 135754954; UID 1010077; state: DISABLED
07-26 11:49:52.650 517 548 D CompatibilityChangeReporter: Compat change id reported: 143937733; UID 1010077; state: DISABLED
07-26 11:49:52.651 517 533 I ActivityManager: Killing 1517:com.android.contacts/u0a118 (adj 985): empty #17
07-26 11:49:52.671 341 341 D Zygote : Forked child process 1973
07-26 11:49:52.677 517 548 I ActivityManager: Start proc 1973:com.android.car.hvac/u10a77 for broadcast {com.android.car.hvac/com.android.car.hvac.BootCompleteReceiver}
07-26 11:49:52.679 1973 1973 I Zygote : seccomp disabled by setenforce 0
07-26 11:49:52.679 1972 1972 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone
07-26 11:49:52.679 333 333 I tombstoned: received crash request for pid 352
07-26 11:49:52.680 1973 1973 I libc : SetHeapTaggingLevel: tag level set to 0
07-26 11:49:52.680 1972 1972 I crash_dump64: performing dump of process 352 (target tid = 352)
07-26 11:49:52.682 1972 1972 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-26 11:49:52.682 1972 1972 F DEBUG : Build fingerprint: 'Android/mek_8q_car/mek_8q:11/smv4.0/49:userdebug/dev-keys'
07-26 11:49:52.682 1972 1972 F DEBUG : Revision: '0'
07-26 11:49:52.682 1972 1972 F DEBUG : ABI: 'arm64'
07-26 11:49:52.683 1972 1972 F DEBUG : Timestamp: 2022-07-26 11:49:52+0000
07-26 11:49:52.683 1972 1972 F DEBUG : pid: 352, tid: 352, name: bluetooth@1.0-s >>> /vendor/bin/hw/android.hardware.bluetooth@1.0-service <<<
07-26 11:49:52.683 1972 1972 F DEBUG : uid: 1002
07-26 11:49:52.683 1972 1972 F DEBUG : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
07-26 11:49:52.683 1972 1972 F DEBUG : x0 0000000000000000 x1 0000000000000160 x2 0000000000000006 x3 0000ffffe271d860
07-26 11:49:52.683 1972 1972 F DEBUG : x4 53736d647543ff6f x5 53736d647543ff6f x6 53736d647543ff6f x7 7f7f7f7f7f7f7f7f
07-26 11:49:52.683 1972 1972 F DEBUG : x8 00000000000000f0 x9 0000fdb8edde27e0 x10 ffffff80ffffffdf x11 0000000000000001
07-26 11:49:52.683 1972 1972 F DEBUG : x12 0000ffffe271d350 x13 0000000000000016 x14 0000ffffe271d4d8 x15 000000000e0a6b5c
07-26 11:49:52.683 1972 1972 F DEBUG : x16 0000fdb8ede7bc80 x17 0000fdb8ede5d3c0 x18 0000fdb8eeb00000 x19 00000000000000ac
07-26 11:49:52.683 1972 1972 F DEBUG : x20 0000000000000160 x21 00000000000000b2 x22 0000000000000160 x23 00000000ffffffff
07-26 11:49:52.684 1972 1972 F DEBUG : x24 0000fdb8ee11a000 x25 0000ffffe271dcd8 x26 0000fdb8ee11a000 x27 0000000000000000
07-26 11:49:52.684 1972 1972 F DEBUG : x28 0000000000000000 x29 0000ffffe271d8e0
07-26 11:49:52.684 1972 1972 F DEBUG : lr 0000fdb8ede10544 sp 0000ffffe271d840 pc 0000fdb8ede10574 pst 0000000000000000
07-26 11:49:52.688 341 341 I Zygote : Process 1517 exited due to signal 9 (Killed)
07-26 11:49:52.696 447 458 I adbd : jdwp connection from 1973
07-26 11:49:52.696 1972 1972 F DEBUG : backtrace:
07-26 11:49:52.696 1972 1972 F DEBUG : #00 pc 000000000004e574 /apex/com.android.runtime/lib64/bionic/libc.so (abort+180) (BuildId: 2338ca8a340db969666f0073f3371d96)
07-26 11:49:52.697 1972 1972 F DEBUG : #01 pc 00000000000079f0 /vendor/lib64/hw/android.hardware.bluetooth@1.0-impl.so (std::__1::__throw_bad_function_call()+8) (BuildId: 7242fc12784298a7ea4fc7e8b736620a)
07-26 11:49:52.697 1972 1972 F DEBUG : #02 pc 0000000000006900 /vendor/lib64/hw/android.hardware.bluetooth@1.0-impl.so (android::hardware::bluetooth::V1_0::implementation::BluetoothHci::close()+96) (BuildId: 7242fc12784298a7ea4fc7e8b736620a)
07-26 11:49:52.697 1972 1972 F DEBUG : #03 pc 0000000000013558 /apex/com.android.vndk.v30/lib64/android.hardware.bluetooth@1.0.so (android::hardware::bluetooth::V1_0::BnHwBluetoothHci::_hidl_close(android::hidl::base::V1_0::BnHwBase*, android::hardware::Parcel const&, android::hardware::Parcel*, std::__1::function<void (android::hardware::Parcel&)>)+152) (BuildId: 6afe1aa019278ee5124a84cec98078c6)
07-26 11:49:52.697 1972 1972 F DEBUG : #04 pc 0000000000013964 /apex/com.android.vndk.v30/lib64/android.hardware.bluetooth@1.0.so (android::hardware::bluetooth::V1_0::BnHwBluetoothHci::onTransact(unsigned int, android::hardware::Parcel const&, android::hardware::Parcel*, unsigned int, std::__1::function<void (android::hardware::Parcel&)>)+396) (BuildId: 6afe1aa019278ee5124a84cec98078c6)
07-26 11:49:52.697 1972 1972 F DEBUG : #05 pc 00000000000947c0 /apex/com.android.vndk.v30/lib64/libhidlbase.so (android::hardware::BHwBinder::transact(unsigned int, android::hardware::Parcel const&, android::hardware::Parcel*, unsigned int, std::__1::function<void (android::hardware::Parcel&)>)+72) (BuildId: 43a000c25a09a7514295471a835bac3d)
07-26 11:49:52.697 1972 1972 F DEBUG : #06 pc 0000000000098874 /apex/com.android.vndk.v30/lib64/libhidlbase.so (android::hardware::IPCThreadState::getAndExecuteCommand()+1076) (BuildId: 43a000c25a09a7514295471a835bac3d)
07-26 11:49:52.697 1972 1972 F DEBUG : #07 pc 0000000000099ad0 /apex/com.android.vndk.v30/lib64/libhidlbase.so (android::hardware::IPCThreadState::joinThreadPool(bool)+96) (BuildId: 43a000c25a09a7514295471a835bac3d)
07-26 11:49:52.697 1972 1972 F DEBUG : #08 pc 00000000000010dc /vendor/bin/hw/android.hardware.bluetooth@1.0-service (main+148) (BuildId: 1c0f1982ab197f62b8dcad8c30d6178c)
07-26 11:49:52.697 1972 1972 F DEBUG : #09 pc 0000000000049a34 /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+108) (BuildId: 2338ca8a340db969666f0073f3371d96)
07-26 11:49:52.699 419 488 E Utils : did not find channel-count and/or sample-rate
07-26 11:49:52.700 419 488 E Utils : did not find channel-count and/or sample-rate
07-26 11:49:52.704 517 549 I libprocessgroup: Successfully killed process cgroup uid 10118 pid 1517 in 45ms
07-26 11:49:52.716 1972 1972 I crash_dump64: type=1400 audit(0.0:8): avc: denied { open } for path="/dev/__properties__/u:object_r:bluetooth_prop:s0" dev="tmpfs" ino=73 scontext=u:r:crash_dump:s0 tcontext=u:object_r:bluetooth_prop:s0 tclass=file permissive=1
07-26 11:49:52.728 1972 1972 I crash_dump64: type=1400 audit(0.0:9): avc: denied { getattr } for path="/dev/__properties__/u:object_r:bluetooth_prop:s0" dev="tmpfs" ino=73 scontext=u:r:crash_dump:s0 tcontext=u:object_r:bluetooth_prop:s0 tclass=file permissive=1
07-26 11:49:52.735 1973 1973 D ApplicationLoaders: Returning zygote-cached class loader: /system/framework/android.test.base.jar
07-26 11:49:52.743 517 573 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
07-26 11:49:52.755 1973 1973 D NetworkSecurityConfig: No Network Security Config specified, using platform default
07-26 11:49:52.755 1973 1973 D NetworkSecurityConfig: No Network Security Config specified, using platform default
07-26 11:49:52.761 517 573 D CompatibilityChangeReporter: Compat change id reported: 135634846; UID 1010118; state: DISABLED
07-26 11:49:52.761 517 573 D CompatibilityChangeReporter: Compat change id reported: 135754954; UID 1010118; state: DISABLED
07-26 11:49:52.761 517 548 D CompatibilityChangeReporter: Compat change id reported: 143937733; UID 1010118; state: DISABLED
07-26 11:49:52.762 517 573 I ActivityManager: Killing 1482:com.android.keychain/u10s1000 (adj 985): empty #17

 

 

 

 

 

 

 

 

 

 

 

Regards,
Vinothkumar Sekar
0 Kudos
2 Replies

958 Views
jimmychan
NXP TechSupport
NXP TechSupport
0 Kudos

951 Views
vinothkumars
Senior Contributor IV

Thank you @jimmychan for the reply.

 

Basically, we are not using Bluetooth. There is no Bluetooth chipset connected. So, we have to removed the all BT which services which is used crashed mentioned in log.

 

Is it possible to remove all Bluetooth service from build.

 

Regards,
Vinothkumar Sekar
0 Kudos