Android Auto issues, crashing and restarting when plugged into car.
I have a OnePlus phone and I recently switched over to LineageOS degoogled. The only Google app that I want is Android Auto, so I tried installing it with microG and it worked flawlessly for about 5 minutes. I then decided that it was a good idea to go screw around with my settings and messed something up, I think. Honestly I've tried so many things I'm kind of hazy about my order of operations and I think I'm just making it progressively worse.
Anyway, every time I plug into my car, my phone recognizes the app, the car recognizes the phone and loads Android Auto then promptly disconnects. It will try to do this a second time and the same thing happens. Sometimes it will connect and bring me as far as my Android Auto interface on the head unit, but then disconnects again.
The first time that it worked, I had MicroG installed in my Shelter work app. I had some extra stubs installed in my home profile and I thought that might be weird and cluttered so I figured that I should delete my work profile and reinstall in my main. So I uninstalled the android update, uninstalled android auto from the work profile, uninstalled all the microG things, and then deleted my work profile and uninstalled Shelter.
From there I'll show my steps for installation and things I've tried:
Apps in use: MicroG & MicroG companion from F-Droid. aa4mg Magisk Module. Android Auto downloaded from the Aurora Store.
Steps:
- Installed MicroG + Companion. All self-check permissions granted besides 3: "Permission to receive text messages (SMS)", permission denied by phone as a safety precaution. "Permission to This app can appear on top of other apps" permission denied by phone as a safety precaution. "Permission to interact with work profile" - no work profile enabled. Beyond self check I have not messed with any other settings. AA seemed to work with this setup on first go.
- Installed aa4mg module, granted all stub permissions, restarted phone.
- Updated Android Auto through Aurora store - only gave me the update option, as I think it shows up after aa4mg installation but I'm not sure on this one.
- Granted Android Auto all permissions for everything
Troubleshooting done:
- Forget phone on AA head unit, forget vehicle in AA app and phone connected devices settings, restart car and phone
- clear AA cache & system data, restart phone
- both suggestions from aa4mg (enable AA developer options, check "unknown sources", Android Xposed "set the next used launch option as default"
- Disable USB Debugging
- Hide Magisk, and used HMA-OSS to add Android Auto to denylist.
- Cleared network preferences and re-entered them
- enabled & disabled mobile data & wi-fi access
Probably more things on top of this that I can't remember. I did download extra stubs online (GoogleTTS, Gcam Services, GMaps from dylangerdaly and sn-00-x) and with my first setup AA worked fine with those, then with the second install with them it didnt work, and now I dont have them installed and it is still not working. Every time I've tried something to troubleshoot it has been the same problem, no error codes or anything.
Help is super appreciated, I've spent hours on this now and having a taste of functionality has made it extra frustrating that I messed it up somehow.