This is a Magisk module that provides an AA (Android Auto) stub as system app, optionally together with XLauncher Unlocked and stubs for Google TTS, Google Maps & Google Search. It is intended to be used on de-googled devices running MicroG!
If you instead prefer a non-root solution to be built into your own rom, please have a look at Android Auto as user app with media apps support
Before uninstalling aa4mg
,
Settings => Apps => See all apps => Android Auto => Triple dot icon (top right corner) => Uninstall updates
Otherwise you may end up with an un-boot-able device.
If the AA system app is missing (by disabling aa4mg
or booting without Magisk),
but the AA update installed is still present,
your device may fail to boot due to permission errors!
Root installer
or Aurora Services
as installation method to "install as Google Play Store".
(You can also install through your Package Manager if Aurora doesn't work, not preferred as it does not "install as Google Play Store")Allow Notification Access
=> AllowVersion
a lot => Accept PopUp to become a developerUnknown Resources
Once the installation is complete:
When first using your device in your car, follow the usual flow on your head unit and device until you reach a page asking for location permissions for maps. Double check maps has permissions and click "cancel".
If nothing happens, unplug and re-plug your device. When asked for, grant all permissions.
In case you encounter an error "Communication error 17", manually open Settings and grant all available permissions to the Android Auto app. Then unplug and re-plug your device.
To mitigate this, first un-install the app, then you can use following ways to "install as Google Play Store".
Root installer
or Aurora Services
as the installation method, works for single + split APKs.pm install -i "com.android.vending" <apk>
Installer => Installer App
choose microG Companion or manually enter com.android.vending
before installing the APK.Some apps have additional restrictions applied on them by AA, which leads to them still not showing up, even if "installed as Google Play Store".
To unlock these apps we'll use the Xposed module, included by Android Auto - XLauncher Unlocked
Zygisk
Enable module
Android Auto
If you can not directly open the AA app after installation, then you can still access the AA settings through either of below ways:
Set the next used launch option as default
Classic
or Material3
(Choose which you prefer)zip aa4mg.zip -9r *