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/
352 stars 19 forks source link

Wireless Android Auto crashes every 30 seconds #4011

Open supernick100 opened 1 week ago

supernick100 commented 1 week ago

When it goes through, it successfully streams audio and Google Maps, but it will promptly close after at least half a minute. My car tablet is a third-party tablet that I bought for my old 2008 model car that only supports wireless Android Auto and Apple Carplay, which we know require special permissions that wired Auto does not warrant.

I've tried:

These where done on a separate profile since they are such a compromise to security.

After said processes, it does run! ... but only for thirty seconds before either crashing or closing, however your see it.

Since it is wireless, it does require having its own wifi network that the Bluetooth phone will automatically connect to upon pairing with the tablet.

So I figured the wifi was unstable. The wifi dictates the connection maybe. The phone still uses its personal data for clarification.

Before switching to Graphene, this was never a problem, so the car tablet is not at fault. For example, I borrowed an old Samsung Galaxy A11 and Auto worked on that non-stop despite being an old, slow phone. The Apple iPhone X I used to have worked for hours as well with Apple Carplay. With my Pixel 9 Pro Fold being on Graphene now, wireless Auto is useless sonce it keeps disconnecting every thirty seconds.

So as a result I've tried continual wifi and Bluetooth scanning. No difference. Then wifi it's not the issue here.

Has this ever been solved, or this a case to solve for the developers? Have I exhausted all my options?

de0u commented 1 week ago

Does the information in issue #3944 help?

supernick100 commented 1 week ago

I'll try that tomorrow.

muhomorr commented 1 week ago

Try to connect one more time, then immediately capture Android Auto app log from Settings > Apps > Show all apps > Android Auto > View logs. Send the log file to one of the following places:

Matrix: @muhomorr:grapheneos.org Discord: muhomorr_ (with underscore at the end) Email: muhomorr@grapheneos.org

FricoRico commented 1 week ago

I am experiencing the same issue. Also noticed that I cannot update Android Auto through Play Store.

Will report back with logs.

supernick100 commented 1 week ago

I think you're not meant to be able to update Auto through the Play Store since Graphene uses a sandboxed version. You shouldn't have to update it in that scenario.

It also seems like I can't change wifi bands on either the phone system settings or the car tablet settings.

muhomorr commented 1 week ago

@supernick100 I've looked at the logs that you've sent. This issue is almost certainly due to upstream Bluetooth/Wi-Fi connectivity issues on 9th generation Pixel devices. There are reports of similar Android Auto issues on stock OS online: https://www.reddit.com/r/Pixel9Pro/comments/1ezwo0x/anyone_have_issues_with_android_auto_so_far/ https://www.reddit.com/r/GooglePixel/comments/1f36rqy/9_pro_xl_android_auto_disconnections/ https://www.androidpolice.com/google-pixel-9-buyers-report-bluetooth-connectivity-issues/ etc

@FricoRico Are you using a 9th generation Pixel device?

FricoRico commented 1 week ago

Yes I'm using Pixel 9 Pro, so I guess this is expected for now.

Is there a way to change UWB settings on GrapheneOS? I can't seem to find it and according to the linked article it could help out by disabling it.

EDIT: Found the setting but it was already disabled.