[Samsung Galaxy Tab S5e ROMs, Kernels, Recoveries, ] graposo:
Hello all! Long time listener, first time poster.

Just did a clean wipe and install (twice) of LOS 20 and I'm noticing some odd behaviour with Bluetooth. Used to work fine on 19.1.

I wiped and installed 20 and tried to pair my Google Pixel Buds Pro. No luck. I then tried a keyboard and mouse. No luck. I can consistently reproduce the following: I can put the devices into pairing mode and I can see them with their correct device name when I start the pair process on the LOS side. LOS tries to connect then seems to reset - LOS takes itself out of pairing mode and no device is added (nothing under saved devices).

Wiped and reinstalled a second time just to make sure. Tried the buds, keyboard, and mouse again with no luck. I happened to have some Shokz OpenRun headphones handy so I tried to pair those and it worked! I went back to the buds etc. but they still don't work. So I know that Bluetooth and the hardware itself is working. It's just being very picky about what devices to connect to.

Anyone experienced this?

LineageOS version: 20.0-20230102-NIGHTLY-gts4lvwifi

LineageOS Download url: https://mirrorbits.lineageos.org/fu...e-20.0-20230102-nightly-gts4lvwifi-signed.zip

Gapps version: MindTheGapps-13.0.0-arm64-20221025_100653

Did you--

wipe: yes, twice

restore with titanium backup: no, vanilla install

reboot after having the issue: yes

Are you using--

a task killer: no

a non-stock kernel: no

other modifications: no

Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:

logcat *:F

01-03 10:15:51.450 1345 1419 F bluetooth: assertion 'command_queue_.front().waiting_for_status_ == is_status' failed - 0x2043 (LE_EXTENDED_CREATE_CONNECTION) was not expecting complete event
01-03 10:15:51.453 1345 1419 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 1419 (bt_stack_manage), pid 1345 (droid.bluetooth)
01-03 10:15:52.928 3960 3960 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-03 10:15:52.928 3960 3960 F DEBUG : LineageOS Version: '20.0-20230102-NIGHTLY-gts4lvwifi'
01-03 10:15:52.928 3960 3960 F DEBUG : Build fingerprint: 'samsung/gts4lvwifixx/gts4lvwifi:11/RP1A.200720.012/T720XXU2DVG3:user/release-keys'
01-03 10:15:52.928 3960 3960 F DEBUG : Revision: '5'
01-03 10:15:52.928 3960 3960 F DEBUG : ABI: 'arm64'
01-03 10:15:52.928 3960 3960 F DEBUG : Timestamp: 2023-01-03 10:15:51.735933505-0500
01-03 10:15:52.928 3960 3960 F DEBUG : Process uptime: 0s
01-03 10:15:52.928 3960 3960 F DEBUG : Cmdline: com.android.bluetooth
01-03 10:15:52.928 3960 3960 F DEBUG : pid: 1345, tid: 1419, name: bt_stack_manage >>> com.android.bluetooth <<<
01-03 10:15:52.928 3960 3960 F DEBUG : uid: 1002
01-03 10:15:52.928 3960 3960 F DEBUG : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
01-03 10:15:52.928 3960 3960 F DEBUG : Abort message: 'assertion 'command_queue_.front().waiting_for_status_ == is_status' failed - 0x2043 (LE_EXTENDED_CREATE_CONNECTION) was not expecting complete event'
01-03 10:15:52.929 3960 3960 F DEBUG : x0 0000000000000000 x1 000000000000058b x2 0000000000000006 x3 0000007137887d20
01-03 10:15:52.929 3960 3960 F DEBUG : x4 27736d6e71652d5e x5 27736d6e71652d5e x6 27736d6e71652d5e x7 7f7f7f7f7f7f7f7f
01-03 10:15:52.929 3960 3960 F DEBUG : x8 00000000000000f0 x9 0000007465f28a00 x10 0000000000000001 x11 0000007465f66de4
01-03 10:15:52.929 3960 3960 F DEBUG : x12 0000007137886bd0 x13 0000000000000095 x14 0000007137887f60 x15 0000000000155792
01-03 10:15:52.929 3960 3960 F DEBUG : x16 0000007465fcbd58 x17 0000007465fa8c70 x18 00000071372b0048 x19 0000000000000541
01-03 10:15:52.929 3960 3960 F DEBUG : x20 000000000000058b x21 00000000ffffffff x22 0000000000000000 x23 000000722309de50
01-03 10:15:52.929 3960 3960 F DEBUG : x24 00000071cc016000 x25 000000714ca79650 x26 000000714ca79608 x27 0000007137889000
01-03 10:15:52.929 3960 3960 F DEBUG : x28 0000000000000000 x29 0000007137887da0
01-03 10:15:52.929 3960 3960 F DEBUG : lr 0000007465f58968 sp 0000007137887d00 pc 0000007465f58994 pst 0000000000000000
01-03 10:15:52.929 3960 3960 F DEBUG : backtrace:
01-03 10:15:52.929 3960 3960 F DEBUG : #00 pc 0000000000051994 /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: f0041ac0caded1d5f02f7959d57b43f1)
01-03 10:15:52.929 3960 3960 F DEBUG : #01 pc 000000000060a300 /apex/com.android.art/lib64/libart.so (art::Runtime::Abort(char const*)+116) (BuildId: 0c537e5efe426a30e9fde84241db9e3e)
01-03 10:15:52.929 3960 3960 F DEBUG : #02 pc 0000000000016ea8 /apex/com.android.art/lib64/libbase.so (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_3::__invoke(char const*)+80) (BuildId: b77c57f68a484ed93d5a7eda59d83bf9)
01-03 10:15:52.929 3960 3960 F DEBUG : #03 pc 0000000000006e10 /system/lib64/liblog.so (__android_log_assert+308) (BuildId: 43eaf4513cd9e9e2c976cf1d72bf3368)
01-03 10:15:52.929 3960 3960 F DEBUG : #04 pc 00000000008da48c /apex/com.android.btservices/lib64/libbluetooth_jni.so (void bluetooth::hci::HciLayer::impl::handle_command_response<bluetooth::hci::CommandCompleteView>(bluetooth::hci::EventView, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)+2376) (BuildId: 0057978aae45e9fdb0c5dbc2d9cac88d)
01-03 10:15:52.929 3960 3960 F DEBUG : #05 pc 00000000008cec6c /apex/com.android.btservices/lib64/libbluetooth_jni.so (bluetooth::hci::HciLayer::impl::on_command_complete(bluetooth::hci::EventView)+308) (BuildId: 0057978aae45e9fdb0c5dbc2d9cac88d)
01-03 10:15:52.929 3960 3960 F DEBUG : #06 pc 00000000008d4254 /apex/com.android.btservices/lib64/libbluetooth_jni.so (void base::internal::FunctorTraits<void (bluetooth::hci::HciLayer::impl::*)(bluetooth::hci::EventView), void>::Invoke<void (bluetooth::hci::HciLayer::impl::*)(bluetooth::hci::EventView), bluetooth::hci::HciLayer::impl*, bluetooth::hci::EventView>(void (bluetooth::hci::HciLayer::impl::*)(bluetooth::hci::EventView), bluetooth::hci::HciLayer::impl*&&, bluetooth::hci::EventView&&)+296) (BuildId: 0057978aae45e9fdb0c5dbc2d9cac88d)
01-03 10:15:52.929 3960 3960 F DEBUG : #07 pc 00000000008dcf38 /apex/com.android.btservices/lib64/libbluetooth_jni.so (base::internal::Invoker<base::internal::BindState<void (bluetooth::hci::HciLayer::impl::*)(bluetooth::hci::EventView), base::internal::UnretainedWrapper<bluetooth::hci::HciLayer::impl> >, void (bluetooth::hci::EventView)>::Run(base::internal::BindStateBase*, bluetooth::hci::EventView&&)+56) (BuildId: 0057978aae45e9fdb0c5dbc2d9cac88d)
01-03 10:15:52.929 3960 3960 F DEBUG : #08 pc 00000000008d76cc /apex/com.android.btservices/lib64/libbluetooth_jni.so (void base::internal::FunctorTraits<base::RepeatingCallback<void (bluetooth::hci::EventView)>, void>::Invoke<base::RepeatingCallback<void (bluetooth::hci::EventView)>, bluetooth::hci::EventView>(base::RepeatingCallback<void (bluetooth::hci::EventView)>&&, bluetooth::hci::EventView&&)+280) (BuildId: 0057978aae45e9fdb0c5dbc2d9cac88d)
01-03 10:15:52.929 3960 3960 F DEBUG : #09 pc 00000000009c4348 /apex/com.android.btservices/lib64/libbluetooth_jni.so (bluetooth::os::Handler::handle_next_event()+236) (BuildId: 0057978aae45e9fdb0c5dbc2d9cac88d)
01-03 10:15:52.929 3960 3960 F DEBUG : #10 pc 0000000000a18de0 /apex/com.android.btservices/lib64/libbluetooth_jni.so (bluetooth::os::Reactor::Run()+584) (BuildId: 0057978aae45e9fdb0c5dbc2d9cac88d)
01-03 10:15:52.930 3960 3960 F DEBUG : #11 pc 0000000000a19adc /apex/com.android.btservices/lib64/libbluetooth_jni.so (bluetooth::os::Thread::run(bluetooth::os::Thread::Priority)+176) (BuildId: 0057978aae45e9fdb0c5dbc2d9cac88d)
01-03 10:15:52.930 3960 3960 F DEBUG : #12 pc 0000000000a19c64 /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::os::Thread::*)(bluetooth::os::Thread::Priority), bluetooth::os::Thread*, bluetooth::os::Thread::Priority> >(void*)+68) (BuildId: 0057978aae45e9fdb0c5dbc2d9cac88d)
01-03 10:15:52.930 3960 3960 F DEBUG : #13 pc 00000000000b63b0 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+208) (BuildId: f0041ac0caded1d5f02f7959d57b43f1)
01-03 10:15:52.930 3960 3960 F DEBUG : #14 pc 00000000000530b8 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: f0041ac0caded1d5f02f7959d57b43f1)