Spotify is broken on Android Auto
Hi
Previously (= ~2 weeks ago) I had been able to connect my phone through wired Android Auto and use Spotify like normal. However recently, I don't remember if it aligned exactly with a graphene os update but I believe it may have, Spotify no longer loads on my car display. If I select the app it shows all gray. I can still play audio from my phone, it plays properly, but no info displays on my car display, and the buttons on my steering wheel do not control it like it normally would.
Clearing data/cache of android auto seems to solve this issue temporarily for a few hours.
See this thread for more information: https://discuss.grapheneos.org/d/27090-spotify-android-auto
EDIT: This may be specific to Pixel 8 Pro - see the thread
I'm (probably) seeing this on my 9a as well.
For me (if this is the same issue) I can still navigate all the Spotify menus and everything (even change song with the playlist icon at the top right), it's only the "play screen" that semi-fails to load. Also I am experiencing that the car buttons (back/fwd) doesn't work. Volume buttons work fine fwiw.
I am also running the Google Play audiobook app, and that works fine (car buttons and everything). I am also using some other auto apps that works fine (Waze, a parking app, etc).
Someone posted another thread on reddit with a picture that looks like the same issue I am experiencing: https://www.reddit.com/r/GrapheneOS/comments/1o4217g/problem_with_spotifyandroid_auto/
I captured the logcat output while plugging the phone into my car yesterday if that helps (this action automagically launches a split screen of Waze and Spotify, and an annoying navigation-menu that I never use):
1760629625.815 10183 26664 26664 E GH.MediaPlaybackView: Unable to send action for com.google.android.apps.auto.components.ui.media.PlayPauseStopCoolwalkButton{ee7c758 VFED..C.. ......ID 0,0-96,96 #7f0b070e app:id/play_pause}. The MediaModel is not connected.
1760629626.732 10155 1782 1782 E receiver.module: Not starting debugger since process cannot load the jdwp agent.
1760629626.831 10183 26664 26664 E CarApp.H.Tem: Failed to get icon for standard action: ActionInternal(flags=0, isEnabled=true, type=65542, backgroundColor=[type: CUSTOM, color: -14756000, dark: -15565256], icon=null, onClick=dwf@173e4f, title=null, isStandard=true, actionTimeInfo=null)
1760629626.831 10183 26664 26664 E CarApp.H.Tem: Failed to get icon for standard action: ActionInternal(flags=0, isEnabled=true, type=65542, backgroundColor=[type: CUSTOM, color: -14756000, dark: -15565256], icon=null, onClick=dwf@173e4f, title=null, isStandard=true, actionTimeInfo=null)
1760629626.889 10155 1782 1782 E cutils-trace: Error opening trace file: No such file or directory (2)
1760629627.064 10183 26664 26664 E CarApp.H.Tem: Failed to get icon for standard action: ActionInternal(flags=0, isEnabled=true, type=65542, backgroundColor=[type: CUSTOM, color: -14756000, dark: -15565256], icon=null, onClick=dwf@2c9b345, title=null, isStandard=true, actionTimeInfo=null)
1760629627.064 10183 26664 26664 E CarApp.H.Tem: Failed to get icon for standard action: ActionInternal(flags=0, isEnabled=true, type=65542, backgroundColor=[type: CUSTOM, color: -14756000, dark: -15565256], icon=null, onClick=dwf@2c9b345, title=null, isStandard=true, actionTimeInfo=null)
1760629627.083 10155 1782 1782 E com.android.cellbroadcastreceiver.module: Unable to find pattern file or unable to map it for am
1760629627.116 10155 1782 1782 E FeatureFlagsImplExport: android.os.flagging.AconfigStorageReadException: ERROR_PACKAGE_NOT_FOUND: package android.xr cannot be found on the device
1760629627.304 10155 1782 1860 E ashmem : Pinning is deprecated since Android Q. Please use trim or other methods.
1760629629.589 10183 26664 26664 E CarApp.H.Tem: Failed to get icon for standard action: ActionInternal(flags=0, isEnabled=true, type=65542, backgroundColor=[type: CUSTOM, color: -14756000, dark: -15565256], icon=null, onClick=dwf@447e761, title=null, isStandard=true, actionTimeInfo=null)
1760629629.589 10183 26664 26664 E CarApp.H.Tem: Failed to get icon for standard action: ActionInternal(flags=0, isEnabled=true, type=65542, backgroundColor=[type: CUSTOM, color: -14756000, dark: -15565256], icon=null, onClick=dwf@447e761, title=null, isStandard=true, actionTimeInfo=null)
1760629629.602 10183 26664 26664 E CarApp.H.Tem: Failed to get icon for standard action: ActionInternal(flags=0, isEnabled=true, type=65542, backgroundColor=[type: CUSTOM, color: -14756000, dark: -15565256], icon=null, onClick=dwf@de1fcb2, title=null, isStandard=true, actionTimeInfo=null)
1760629629.602 10183 26664 26664 E CarApp.H.Tem: Failed to get icon for standard action: ActionInternal(flags=0, isEnabled=true, type=65542, backgroundColor=[type: CUSTOM, color: -14756000, dark: -15565256], icon=null, onClick=dwf@de1fcb2, title=null, isStandard=true, actionTimeInfo=null)
1760629630.089 radio 2355 2355 E SatelliteController: registerForSatelliteModemStateChanged: mSatelliteSessionController is not initialized yet
1760629630.098 radio 2355 2355 E SatelliteController: registerForSatelliteModemStateChanged: mSatelliteSessionController is not initialized yet
1760629630.107 10183 26664 26664 E CarApp.H.Tem: Failed to get icon for standard action: ActionInternal(flags=0, isEnabled=true, type=65542, backgroundColor=[type: CUSTOM, color: -14756000, dark: -15565256], icon=null, onClick=dwf@87b67d3, title=null, isStandard=true, actionTimeInfo=null)
1760629630.108 10183 26664 26664 E CarApp.H.Tem: Failed to get icon for standard action: ActionInternal(flags=0, isEnabled=true, type=65542, backgroundColor=[type: CUSTOM, color: -14756000, dark: -15565256], icon=null, onClick=dwf@87b67d3, title=null, isStandard=true, actionTimeInfo=null)
1760629630.204 10183 26664 26664 E CarApp.H.Tem: Failed to get icon for standard action: ActionInternal(flags=0, isEnabled=true, type=65542, backgroundColor=[type: CUSTOM, color: -14756000, dark: -15565256], icon=null, onClick=dwf@b20f420, title=null, isStandard=true, actionTimeInfo=null)
1760629630.204 10183 26664 26664 E CarApp.H.Tem: Failed to get icon for standard action: ActionInternal(flags=0, isEnabled=true, type=65542, backgroundColor=[type: CUSTOM, color: -14756000, dark: -15565256], icon=null, onClick=dwf@b20f420, title=null, isStandard=true, actionTimeInfo=null)
1760629630.270 radio 2355 2355 E SatelliteController: registerForSatelliteModemStateChanged: mSatelliteSessionController is not initialized yet
1760629630.278 radio 2355 2355 E SatelliteController: registerForSatelliteModemStateChanged: mSatelliteSessionController is not initialized yet
1760629632.125 10075 1884 1884 E android.musicfx: Not starting debugger since process cannot load the jdwp agent.
1760629632.211 1002 2161 2161 E MediaControlProfile: onCurrentPlayerStateUpdated: base actions not supported, player actions= 2e2bb3, expected at least= 7f
1760629632.286 10075 1884 1884 E cutils-trace: Error opening trace file: No such file or directory (2)
1760629632.379 1000 1428 1471 E AppOps : attributionTag not declared in manifest of com.spotify.music
1760629632.380 1000 1428 12749 E AppOps : attributionTag not declared in manifest of com.spotify.music
1760629632.548 1002 2161 2161 E MediaControlProfile: onCurrentPlayerStateUpdated: base actions not supported, player actions= 2e2bb3, expected at least= 7f
1760629632.577 10075 1884 1884 E com.android.musicfx: Unable to find pattern file or unable to map it for am
1760629632.667 10075 1884 1884 E FeatureFlagsImplExport: android.os.flagging.AconfigStorageReadException: ERROR_PACKAGE_NOT_FOUND: package android.xr cannot be found on the device
There is a lot more obviously, but I filtered for errors here. I though the first line looked very interesting, but I don't understand these things enough to have an informed opinion.
I am very new to GrapheneOS (a bit over a week), and this has been an issue since day 1 for me. So I wasn't sure if this was Graphene, Spotify or if I did something wrong setting up the sandboxed play-stuff.
Pixel 7 too
Pixel 8 pro, same issues. I can't see what song is playing unless I click on queue it will show up at the top of the list. Volume car controls work but stop start fwd back are inactive. Player screen is mostly gray with only a few buttons that are inactive.
Pixel 9 Pro XL, brand new, exactly same issue.
Note that clearing the cache for Android Auto does not solve the issue for me. Only clearing the data or re-installing the App fixes the issue.
Pixel 9, experiencing the same issue.
Pixel 8, same experience
Pixel 9a, same issue since a couple of weeks. Workarounds like deleting data didn't Work for me
Same for my Pixel 9
Hey there! Same for my Pixel 9 Pro XL, just installed GrapheneOS yesterday, so everything latest version.
I'm also experiencing this lately on my Pixel Pro 8, worked fine in the past. Spotify works fine until I start a song. The song itself plays, but the UI displaying the current song is completely broken (back button works though). When using Android Auto in tile mode, the UI in small Spotify tile is broken as well.
Same issue on my 8 pro. started about a month ago,
+1 same issue on Pixel 8 Pro
Mine has been doing the same for a few weeks. Its now part of my routine to clear android auto data before every drive. Not ideal to say the least.
Have resurrected the Pixel 5 (GOS) device for AA car use until this is resolved (P8 is my daily driver no longer used for AA) P5 works perfect!
Hope we see a fix for AA soon!
Same issue with a Pixel 9 from my wife, weirdly enough my own Pixel 9 Pro works fine. All settings are identical.
Same issue with a Pixel 9 from my wife, weirdly enough my own Pixel 9 Pro works fine. All settings are identical.
Hi, I think that is a pretty important lead. Would you mind checking all of the relevant settings (system, Spotify, Android Auto) and their permissions to see whether there's any difference between yours and your wife's phone?
Same issue with a Pixel 9 from my wife, weirdly enough my own Pixel 9 Pro works fine. All settings are identical.
Hi, I think that is a pretty important lead. Would you mind checking all of the relevant settings (system, Spotify, Android Auto) and their permissions to see whether there's any difference between yours and your wife's phone?
I thought so too, but i already checked everything, but i will do this again. And i will try android auto with Spotify on my Pixel 9 pro again after the latest updates because it is some time ago i tried this.
Same issue with Pixel 7 Pro. Started occurring in early October.
Same deal, Pixel 9 Pro
Same for Pixel 7
9 Pro XL here. Having similar issues, it was working fine for the better part of 2.5 weeks and it just stopped working a couple days ago, same issue, no metadata at all and I can't skip back or forward on head unit or steering wheel controls unless I use my phone, and yet the song will play. I've checked all my permissions and made adjustments here and there but nothing worked. This was on wireless AA and I have yet to check if it's the same with wired.
Edit 1: I want to also note in the instance that it helps, that my head unit's bluetooth (outside of AA) does pickup the metadata and allows me to skip back and forward.
I can confirm the issues (on my pixel 8) as described by @ValThoMa
Same issue here on my 7a, worked well until last update.
Pixel 8 Pro.
I don't remember exactly when it started, but I think it was in early to mid-October.
I also tried the following:
- Reinstalling Spotify
- Reinstalling Android Auto
- Reinstalling Google Play Services
- Clearing the cache and data from Spotify
- Clearing the cache and data from Android Auto
- Clearing the cache and data from Google Play Services
I can't skip forward or backward using the buttons in the car. Metadata is no longer transferred to the head unit and speedometer display, which also means that I cannot skip to a choosen time within a track either, nor play previous/next track by just a press. This can be reproduced in the desktop head unit from the Android Developer Kit. (see attached photos) However, browsing the library works just fine.
My GrapheneOS and all Apps are up-to-date.
Edit: As I think of it, this may not necessarily be related to GrapheneOS. Perhaps we just experienced it very early on, because GrapheneOS users are mostly a good part ahead with the (security) patches. Unfortunately, I don't have the time to test whether this also occurs with stock Android. Has anyone tried this yet? I tried other apps like Deezer, and they work flawlessly. Also this thread catches my eye: https://community.spotify.com/t5/Ongoing-Issues/Multiple-car-infotainment-systems-not-loading-playlists/idi-p/7228609#comments
9 Pro XL here. This was on wireless AA and I have yet to check if it's the same with wired.
It also happens with wired connections.
Has anyone dug around to see if there's a missing permissions exception for Spotify?
Has anyone dug around to see if there's a missing permissions exception for Spotify?
I'd gave Spotify, Android Auto, Google Play Store and Google Play Service everything for a while, even tried it again after a full phone restart, but this changed nothing.
As mentioned, other Apps, like Deezer, Tidal and even VLC are Working fine. The other Apps are showing their controls and reacting to car button press. So it is not a general problem with media apps.
For me it is the same with wired and wireless connection also.
@Al0815 , when you say you gave it everything. Did you go through adb to enable any non-standard permissions? I'm wondering if this has to due with a hidden permission. I've had to do something similar to get RCS working at one point earlier on.
@Zigler , everything as in "everything possible in the normal user interface of graphene os" 🤓 Phone, Sensors, Notifications, ...
But this is a good point, maybe a security feature broke Spotify, but no other App. This makes it a bit bogus, because I think Spotify should not need more rights than the other Player/Streaming Apps.
I found a few older Threads, even from 2 years ago, where ppl mention similar issues. Some are fixed with cache clean, some are not. Some are fixed after the (to the date of the thread) next Spotify update... I'm sure if we as graphene os users open a thread in the spotify forum it would be "ah, you are using a non standard android, yadayada" It would be nice to have a temporary solution until they (if they) fix it though.
Edit: There was an spotify update on the play store today. I uninstalled the old version, and did a new install. Version for me was "9.0.98.1187", but no luck. I also tried the beta version "9.1.0.1147", but also no luck. Now I joined the alpha program, but got no newer version pushed so far.
Edit2: On my old Pixel 7 Pro with stock Google Android and the latest update available installed, everything is working fine with Spotify "9.0.98.1187" and Android Auto. Latest updates for Pixel 7 are the October security patches. Google did not release the November updates for Pixel 6 and 7.
Edit3: Installed old 9.0.78.1093 (Sept. 9th) via Aurora. This is a Spotify version thats around a month older then the problem, but the error persists. Whatever changes in the Android since since october spotify does not like, slightly older versions seems to not like it also.
I installed Spotify version 9.1.0.1147 and installed Android Auto version 15.8.154804 via adb and it seems to be working fine for now. I did have to go into Android Auto app info and clear storage data and cache. It had me re-permission AA afterwards, but Spotify seems to be working fine. No noticeable user data of mine was lost during the storage clear, just AA settings.
Spotify would stop working and go gray within a couple hours of clearing AA storage data, but so far it has been 12 hours and working fine. I'll keep an eye on it and see if it breaks. Using Desktop Head Unit has shown that it continues to work after several AA connect/disconnects. I'll keep testing it at least every hour to see if it breaks by tomorrow. Hopefully it will last a week without breaking and I can be done with this. I will also need to test in my car, but DHU seems to be emulating a car screen pretty well.