sn-00-x / aa4mg

Android Auto 4 microG
110 stars 6 forks source link

Android 10 support? #11

Open Eco-Gaming opened 1 year ago

Eco-Gaming commented 1 year ago

I followed the exact steps in the README on my Galaxy S7 running the newest version of eOS with Android 10, and when connecting my phone to the Google Desktop Head Unit Emulator or to a Raspberry Pi 3 running crankshaft-ng, nothing happens. (I don't have an actual car for testing right now, but Android Auto works properly with both emulators and my stock Galaxy S10). I'm guessing this is because this module doesn't support Android 10. The only other way I found for getting Android Auto working on my phone would be by following this tutorial, but flashing nikgapps Android Auto add-on requires me to wipe my data partition, which I would like to avoid. So, is there any way to make this module support Android 10?

Eco-Gaming commented 1 year ago

I captured some logs from my phone and from openAuto (on crankshaft-ng) (the dates are wrong in the openAuto log): android-auto-log.txt openauto.log

The two log files don't belong together, the logs from my phone are from when I tried connecting to the Desktop Head Unit following this tutorial.

The main error from openAuto seems to be [OpenAuto] [AndroidAutoEntity] channel error: AaSdk error code: 10, native code: 2, which should be this Android Auto error: "Communication error 2 - the phone and the car are running incompatible software." I don't really know how to interpret the logs from my phone.

I selected YES for all four options while installing your package in magisk.