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

Android Auto not working #3242

Open MisterEskere opened 6 months ago

MisterEskere commented 6 months ago

https://github.com/GrapheneOS/os-issue-tracker/assets/124700362/7e8336bf-151b-4e88-868c-a9bcb1aea4c9

Pixel 6a

VW Polo 2017

muhomorr commented 6 months ago

There's not enough info in this report. Are you trying to connect with a cable or wirelessly? Have you granted the necessary permissions to Android Auto app?

madeofstown commented 6 months ago

I'm having the same issue on my Pixel 7a, working fine yesterday and now it's not working this morning. I was using USB and when it stopped working I also attempted to connect with bluetooth without any luck. Seems like as soon Android Auto connects it crashes and disconnects. Seems like it will continue connecting and then crashing as long as it is plugged in. Here is my bug report.

type: crash
osVersion: google/lynx/lynx:14/UQ1A.240205.002/2024020500:user/release-keys
package: com.google.android.projection.gearhead:110635054
process: com.google.android.projection.gearhead:projection
processUptime: 290557 + 272 ms
installer: app.grapheneos.apps
GmsCompatConfig version: 96

hwf: Non-recoverable error during initialization. Bailing.
    at hvv.g(SourceFile:8)
    at hvv.b(SourceFile:1)
    at hks.dF(SourceFile:6)
    at itu.b(SourceFile:5)
    at tdk.c(SourceFile:38)
    at itv.k(SourceFile:4)
    at its.a(SourceFile:4)
    at hwc.v(SourceFile:16)
    at ibh.a(SourceFile:117)
    at ntf.f(SourceFile:4)
    at nsr.run(SourceFile:2)
    at android.os.Handler.handleCallback(Handler.java:958)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loopOnce(Looper.java:205)
    at android.os.Looper.loop(Looper.java:294)
    at android.app.ActivityThread.main(ActivityThread.java:8279)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
    at com.android.internal.os.ExecInit.main(ExecInit.java:49)
    at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
    at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:359)
Caused by: ohj: java.lang.IllegalStateException: OutOfCarLifecycle
    at pnb.cg(SourceFile:8)
    at pnb.cf(SourceFile:1)
    at ogl.h(SourceFile:4)
    at ogl.b(SourceFile:2)
    at obx.c(SourceFile:1)
    at okk.b(SourceFile:1)
    at ijx.a(SourceFile:78)
    at hwl.a(SourceFile:28)
    at hvv.g(SourceFile:1)
    ... 20 more
Caused by: java.lang.IllegalStateException: OutOfCarLifecycle
    at android.os.Parcel.createExceptionOrNull(Parcel.java:3074)
    at android.os.Parcel.createException(Parcel.java:3050)
    at android.os.Parcel.readException(Parcel.java:3026)
    at android.os.Parcel.readException(Parcel.java:2968)
    at get.ef(SourceFile:3)
    at nuj.p(SourceFile:2)
    at obh.call(SourceFile:3)
    at ogl.b(SourceFile:1)
    ... 25 more
madeofstown commented 6 months ago

Arrived back to my Truck for lunch and now Android Auto is working again.... Considering, I rebooted the phone and the truck while troubleshooting in the morning and that didn't fix things I don't know what else changed between then and now that caused it to work again. Only thing I can think of is maybe the battery percentage... Was at 100% in the morning and now that I'm at 95% it's working.

muhomorr commented 6 months ago

Crash report suggest that this is a USB connectivity issue. Try a different USB cable.