GrapheneOS / os-issue-tracker

Issue tracker for GrapheneOS Android Open Source Project hardening work. Standalone projects like Auditor, AttestationServer and hardened_malloc have their own dedicated trackers.
https://grapheneos.org/
355 stars 20 forks source link

20241012(14)->(15)2024102100 regression: BLE connectivity stall #4183

Open goshuberto opened 3 hours ago

goshuberto commented 3 hours ago

Hello,

Bluetooth LowEnergy connectivity issue on panther (Pixel 7): I have an odometer app which connects via BLE. After the 15 update, the dialog to activate Bluetooth still is the same and works initially - after enabling Bluetooth via tha app, the app can successfully detect BLE devices (and 'classic' scan is also successfull) and data gets received from the BLE device in question, but after a few seconds the connection drops and subsequent scans don't show any devices anymore. If I manually disable and re-enabling bluetooth, the described effects happen again - no exception to that failiure loop found yet.

Not affected: A 'classic' Bluetooth (non LE) connection to paired devices like my headset don't seem to be affected. It's stable and scanning for unpaired devices works persitently. So I guess it's an issue limited to the LowEnergy part of the BT stack.

thestinger commented 3 hours ago

Can you give specific models of BLE devices that are not working properly?

goshuberto commented 3 hours ago

Can you give specific models of BLE devices that are not working properly?

Unfortunately my example will be hardly reproducable because the device in question isn't wide spread, neither known by any of my techie-mates nor by the cyclo-mates: https://www-forumslader-de.translate.goog/forumslader-pro/technik/bluetooth-v6/?_x_tr_sl=auto&_x_tr_tl=en&_x_tr_hl=en-US&_x_tr_pto=wapp There's the apk for download on that site too. If the OUI is of any help, I can provide later, bicycle is out of range currently.

The previously released app version worked fine as well as the current one, where they claim to have re-written BT parts. I always needed to re-scan for the BLE devices with GOS, but that may be induced by BT-auto-off timer. But I never had any connectivity loss before (I use the odometer app mainly as speedometer - with 'extra dim' quick tile activated, which got lost of my top menu after the update, but fortunately this quick tile wasn't removed in 15 - I could just re-add)

thestinger commented 2 hours ago

Does it happen with any other devices? Maybe make a forum thread and see if others have issues.

goshuberto commented 2 hours ago

Does it happen with any other devices? Maybe make a forum thread and see if others have issues.

I don't have or know of any other BLE devices... All paired (i. e 'classic') BT devices work fine. Would need to learn what BLE exactly is before I'd search for shopping some gadgets ;-)

thestinger commented 2 hours ago

It's possible to opt-in to BLE for certain headphones in the Bluetooth settings in the OS.

goshuberto commented 2 hours ago

It's possible to opt-in to BLE for certain headphones in the Bluetooth settings in the OS.

Sorry, none of the settings of my 8 paired devices show anything BLE related. Just toggles for 'contacts..', 'HD', 'calls', 'spatial' etc. Am I on the right page?

thestinger commented 2 hours ago

Yes, I think that's the right page.