Just installed GrapheneOS for the first time on a PIxel 6 a few days ago. Cannot get Bluetooth to enable at all. I installed the default stable which appears to be 2024031400.
See the attached logs for the crashes. The crashes happen when I try to enable bluetooth. After trying to enable bluetooth it hangs and then eventually I get the popup "Bluetooth keeps crashing" which then allows me to show the debug log.
Log 1:
type:
crash
osVersion: google/oriole/oriole:14/AP1A.240305.019.A1/2024031400:user/release-keys
package: com.android.bluetooth:34
process: com.android.bluetooth
processUptime: 0 + 0 ms
signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
Abort message: 'The Bluetooth HAL died.'
backtrace:
#00 pc 0000000000064ec4 /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: fc346b3f8a42643dd45cc2b6b2c8252c)
#01 pc 0000000000938568 /apex/com.android.art/lib64/libart.so (art::Runtime::Abort(char const)+632) (BuildId: 15c54dd1aa3c87c4985a88c6cf966388)
#02 pc 0000000000019ad0 /apex/com.android.art/lib64/libbase.so (android::base::SetAborter(std::1::function<void (char const)>&&)::$0::invoke(char const)+80) (BuildId: 8e8e779c9a82b7943fb5ad7dbe775048)
#03 pc 00000000000070e4 /system/lib64/liblog.so (android_log_assert+292) (BuildId: 87375b1b8db4710fc46cd6f649211f8d)
#04 pc 0000000000a721b4 /apex/com.android.btservices/lib64/libbluetooth_jni.so (bluetooth::hal::HciHalHidl::start_aidl()::'lambda'(void)::invoke(void)+100) (BuildId: 68e2b99eab8e0494db3aef44541100d3)
#05 pc 00000000000110d4 /system/lib64/libbinder_ndk.so (AIBinder_DeathRecipient::TransferDeathRecipient::binderDied(android::wp<android::IBinder> const&)+68) (BuildId: 43adb007c2150d99d37b2e68e3c3dbc0)
#06 pc 000000000005bc90 /system/lib64/libbinder.so (android::BpBinder::reportOneDeath(android::BpBinder::Obituary const&)+144) (BuildId: ee54997167916b15561912b07ea90b61)
#07 pc 000000000005bba0 /system/lib64/libbinder.so (android::BpBinder::sendObituary()+144) (BuildId: ee54997167916b15561912b07ea90b61)
#08 pc 0000000000053c7c /system/lib64/libbinder.so (android::IPCThreadState::executeCommand(int)+5340) (BuildId: ee54997167916b15561912b07ea90b61)
#09 pc 0000000000051c10 /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+704) (BuildId: ee54997167916b15561912b07ea90b61)
#10 pc 0000000000051938 /system/lib64/libbinder.so (android::PoolThread::threadLoop()+24) (BuildId: ee54997167916b15561912b07ea90b61)
#11 pc 0000000000014280 /system/lib64/libutils.so (android::Thread::threadLoop(void)+368) (BuildId: 75de91514ce8b3d8100d1f28757ff5ac)
#12 pc 00000000000e3ddc /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void)+140) (BuildId: 9621419971dcd77532aef23f990552ee)
#13 pc 00000000000cf97c /apex/com.android.runtime/lib64/bionic/libc.so (pthread_start(void)+204) (BuildId: fc346b3f8a42643dd45cc2b6b2c8252c)
#14 pc 0000000000066770 /apex/com.android.runtime/lib64/bionic/libc.so (start_thread+64) (BuildId: fc346b3f8a42643dd45cc2b6b2c8252c)
Log 2:
type: crash
osVersion: google/oriole/oriole:14/AP1A.240305.019.A1/2024031400:user/release-keys
package: com.android.bluetooth:34
process: com.android.bluetooth
processUptime: 0 + 0 ms
signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
Abort message: 'assertion 'init_status == std::future_status::ready' failed - Can't start stack, last instance: starting HciHalHidl'
backtrace:
#00 pc 0000000000064ec4 /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: fc346b3f8a42643dd45cc2b6b2c8252c)
#01 pc 000000000093835c /apex/com.android.art/lib64/libart.so (art::Runtime::Abort(char const)+108) (BuildId: 15c54dd1aa3c87c4985a88c6cf966388)
#02 pc 0000000000019ad0 /apex/com.android.art/lib64/libbase.so (android::base::SetAborter(std::1::function<void (char const)>&&)::$_0::invoke(char const)+80) (BuildId: 8e8e779c9a82b7943fb5ad7dbe775048)
#03 pc 00000000000070e4 /system/lib64/liblog.so (android_log_assert+292) (BuildId: 87375b1b8db4710fc46cd6f649211f8d)
#04 pc 0000000000a6c778 /apex/com.android.btservices/lib64/libbluetooth_jni.so (bluetooth::StackManager::StartUp(bluetooth::ModuleList, bluetooth::os::Thread)+712) (BuildId: 68e2b99eab8e0494db3aef44541100d3)
#05 pc 00000000003c74e0 /apex/com.android.btservices/lib64/libbluetooth_jni.so (bluetooth::shim::Stack::Start(bluetooth::ModuleList)+192) (BuildId: 68e2b99eab8e0494db3aef44541100d3)
#06 pc 00000000003c72b4 /apex/com.android.btservices/lib64/libbluetooth_jni.so (bluetooth::shim::Stack::StartEverything()+980) (BuildId: 68e2b99eab8e0494db3aef44541100d3)
#07 pc 00000000003dea8c /apex/com.android.btservices/lib64/libbluetooth_jni.so (ShimModuleStartUp()+124) (BuildId: 68e2b99eab8e0494db3aef44541100d3)
#08 pc 000000000071fad8 /apex/com.android.btservices/lib64/libbluetooth_jni.so (module_start_up(module_t const)+200) (BuildId: 68e2b99eab8e0494db3aef44541100d3)
#09 pc 000000000071e708 /apex/com.android.btservices/lib64/libbluetooth_jni.so (init_stack_internal(bluetooth::core::CoreInterface)+72) (BuildId: 68e2b99eab8e0494db3aef44541100d3)
#10 pc 000000000071e5c8 /apex/com.android.btservices/lib64/libbluetooth_jni.so (event_init_stack(std::1::promise<void>, bluetooth::core::CoreInterface)+136) (BuildId: 68e2b99eab8e0494db3aef44541100d3)
#11 pc 000000000071e644 /apex/com.android.btservices/lib64/libbluetooth_jni.so (base::internal::Invoker<base::internal::BindState<void ()(std::1::promise<void>, bluetooth::core::CoreInterface), std::1::promise<void>, base::internal::UnretainedWrapper<bluetooth::core::CoreInterface> >, void ()>::RunOnce(base::internal::BindStateBase)+52) (BuildId: 68e2b99eab8e0494db3aef44541100d3)
#12 pc 0000000000a921f4 /apex/com.android.btservices/lib64/libbluetooth_jni.so (base::debug::TaskAnnotator::RunTask(char const, base::PendingTask)+196) (BuildId: 68e2b99eab8e0494db3aef44541100d3)
#13 pc 0000000000a91738 /apex/com.android.btservices/lib64/libbluetooth_jni.so (base::MessageLoop::RunTask(base::PendingTask)+360) (BuildId: 68e2b99eab8e0494db3aef44541100d3)
#14 pc 0000000000a91a5c /apex/com.android.btservices/lib64/libbluetooth_jni.so (base::MessageLoop::DoWork()+460) (BuildId: 68e2b99eab8e0494db3aef44541100d3)
#15 pc 0000000000a94004 /apex/com.android.btservices/lib64/libbluetooth_jni.so (base::MessagePumpDefault::Run(base::MessagePump::Delegate)+100) (BuildId: 68e2b99eab8e0494db3aef44541100d3)
#16 pc 0000000000aa0600 /apex/com.android.btservices/lib64/libbluetooth_jni.so (base::RunLoop::Run()+64) (BuildId: 68e2b99eab8e0494db3aef44541100d3)
#17 pc 000000000079b870 /apex/com.android.btservices/lib64/libbluetooth_jni.so (bluetooth::common::MessageLoopThread::Run(std::1::promise<void>)+336) (BuildId: 68e2b99eab8e0494db3aef44541100d3)
#18 pc 000000000079b330 /apex/com.android.btservices/lib64/libbluetooth_jni.so (bluetooth::common::MessageLoopThread::RunThread(bluetooth::common::MessageLoopThread, std::1::promise<void>)+48) (BuildId: 68e2b99eab8e0494db3aef44541100d3)
#19 pc 000000000079be84 /apex/com.android.btservices/lib64/libbluetooth_jni.so (void std::1::thread_proxy<std::1::tuple<std::1::unique_ptr<std::1::thread_struct, std::1::default_delete<std::1::thread_struct> >, void ()(bluetooth::common::MessageLoopThread, std::1::promise<void>), bluetooth::common::MessageLoopThread, std::1::promise<void> > >(void)+84) (BuildId: 68e2b99eab8e0494db3aef44541100d3)
#20 pc 00000000000cf97c /apex/com.android.runtime/lib64/bionic/libc.so (pthread_start(void*)+204) (BuildId: fc346b3f8a42643dd45cc2b6b2c8252c)
#21 pc 0000000000066770 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: fc346b3f8a42643dd45cc2b6b2c8252c)