Hello,
i tried to use android auto but it crashes when i connect my phone
here is the error log that came up:

type: crash
osVersion: google/oriole/oriole:14/UQ1A.231205.015/2023123100:user/release-keys
package: com.google.android.projection.gearhead:110635014
process: com.google.android.projection.gearhead:car
processUptime: 1593 + 294 ms
installer: app.grapheneos.apps
GmsCompatConfig version: 90

java.lang.IllegalStateException: Failed to register vehicle with CDM
	at hfs.m(SourceFile:13)
	at hfs.c(SourceFile:7)
	at ncr.run(SourceFile:8)
	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.os.HandlerThread.run(HandlerThread.java:67)
Caused by: java.util.concurrent.ExecutionException: java.lang.SecurityException: Application must hold android.permission.REQUEST_COMPANION_PROFILE_AUTOMOTIVE_PROJECTION to associate with a device with android.app.role.SYSTEM_AUTOMOTIVE_PROJECTION profile.
	at dim.k(SourceFile:4)
	at dim.get(SourceFile:16)
	at dir.get(SourceFile:2)
	at hfs.m(SourceFile:5)
	... 7 more
Caused by: java.lang.SecurityException: Application must hold android.permission.REQUEST_COMPANION_PROFILE_AUTOMOTIVE_PROJECTION to associate with a device with android.app.role.SYSTEM_AUTOMOTIVE_PROJECTION profile.
	at android.os.Parcel.createExceptionOrNull(Parcel.java:3066)
	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 android.companion.ICompanionDeviceManager$Stub$Proxy.associate(ICompanionDeviceManager.java:741)
	at android.companion.CompanionDeviceManager.associate(CompanionDeviceManager.java:394)
	at hdm.a(SourceFile:12)
	at hfl.a(SourceFile:7)
	at cxu.b(SourceFile:3)
	at hfs.m(SourceFile:4)
	... 7 more

    Nanometer

    If you haven't already, you may need to grant permissions for wired or wireless Android Auto in the system settings:

    SettingsAppsSandboxed Google PlayAndroid Auto

      now i can get to this screen
      then this screen right after
      but nothing else happens

      akc3n
      Does Android Auto need to be installed in the Owner Profile? I installed it with Apps but I don't see any Android Auto settings in Settings > Apps > Google Play Services.

      • vcmj replied to this.

        jroddev You may need to swipe away the sandbox config in the recents to refresh the menu.

        how can i bring up a log of whats going on?

        so i just enabled all permissions [Settings ➔ Apps ➔ Sandboxed Google Play ➔ Android Auto]
        it now connects to my car but i don't have spotify or magic earth in my app list

          okay so it was a bit different than the post but i did this:
          settings ➔ apps ➔ sandboxed google play ➔ Android auto settings ➔ On the android auto screen just scroll down to the bottom where the about section is shown. ➔ Click on "version" 10 times to enable android auto developer settings.
          ➔ Once enabled go to the top right and click on 3 dots. Click on "Developer settings" ➔ Scroll down to " Unknown sources" ➔ Put a check mark on the setting and restart the phone.

          Connect your phone normally to AA on your car and it should give you these missing apps!
          i haven't tested yet but i will after work!

          I usually get the crash initially then it connects. I will post the error next time I get it.

          android auto is now working!