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/
361 stars 21 forks source link

Bluetooth automatically turned off while Pebble 2 is connected #1278

Closed anmith closed 2 years ago

anmith commented 2 years ago

Hi,

I have an issue with Bluetooth and my Pebble 2:

When I activate the "Bluetooth timeout", Bluetooth gets turned off while my Pebble 2 is connected after the "Timeout" set in the options. The Pebble is visible in the Bluetoot settings as connected device, I'm using Gadgetbridge to communicate with the watch.

bttimeout

When other devices are connected (Car, speaker, ...), the timeout works as expected.

Device is a Pixel 4a with the latest Graphene OS release and also the latest Gadgetbridge version (FDroid).

keatonhasse commented 2 years ago

I had a similar issue with my PineTime. I haven't used it for a bit so I can't speak on specifics, but I remember it disconnecting almost right after I locked my phone with a 2 minute timeout.

muhomorr commented 2 years ago

Check again with the current OS version (2022080300), it contains improvements that are likely to resolve this issue.

anmith commented 2 years ago

I checked with version SQ3A.220705.004.2022080500, problem still exists as Pebble gets disconnected after the timeout period.

muhomorr commented 2 years ago

Do you have access to the logcat?

anmith commented 2 years ago

Afaik, logcat is a adb command to get the logs from a device. Which logs do you need and what should I try while logging?

muhomorr commented 2 years ago

Reproduce this issue and then obtain the logs with adb logcat -d > log.txt

anmith commented 2 years ago

Hi, I created the log: I turned on bluetooth, started Gadgetbridge, connected the pebble, waited for the disconnect and then run the command above. Where should I send the log?

muhomorr commented 2 years ago

Matrix: @muhomorr:matrix.org

anmith commented 2 years ago

Hi, afaik Matrix is some sort of communication protocol. Is there a way to send files without a specific client using a web interface or something else? Or is there some old fashioned e-mail I can send it to? Unzipped size is ~500k

muhomorr commented 2 years ago

Email: muhomor.dmitry@gmail.com

anmith commented 2 years ago

Hi, the log has hopefully arrived. Thanks for all the work and if you need something else, please let me know.

anmith commented 2 years ago

I can confirm this still happens with build TP1A.220624.014.2022083000 and also with an Amazfit device.

thestinger commented 2 years ago

Fixed by latest release.

https://grapheneos.org/releases#2022090600