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!
- Install de-googled ROM with microG (for example LineageOS for MicroG)
- Install Magisk
- Install the aa4mg module through the Magisk Manager App => Reboot (Select the desired dependency stubs with the volume keys during the installation process)
- Install Android Auto through Aurora Store,
useRoot installer
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") - Settings => Apps => See all apps => Android Auto => Mobile data & Wi-Fi => UnCheck all
- Settings => Notifications => Device & app notifications => Android Auto => Check
Allow notification access
=> Ok (Settings will still be restricted!) - Settings => Apps => See all apps => Android Auto => Triple dot icon => Allow restricted settings
- Settings => Notifications => Device & app notifications => Android Auto => Check
Allow notification access
=> Allow - Settings => Connected Devices => Connection Preferences => Android Auto
- System => UnCheck
Google Analytics
- About => Tap
Version
a lot => Accept PopUp to become a developer - Triple dot icon (top right corner) => Developer Settings
- Application Mode => Developer
- Scroll down => Check
Unknown Resources
- Close app
- System => UnCheck
Once the installation is complete:
- Android Auto can be updated through Aurora Store.
- aa4mg can be updated through Magisk Manager
- Settings => Apps => See all apps => Android Auto => Triple dot icon (top right corner) => Uninstall updates
- Magisk => Modules => Remove "Android Auto 4 microG" => Reboot
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".
- Play Store APKs: Use Aurora Store
Root installer
as the installation method, works for single split APKs. - Non Play Store APKs: Use King Installer, works for single APK.
- Or use direct ADB install, works for single APK:
pm install -i "com.android.vending" <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
- Magisk => Settings => Magisk => Check
Zygisk
- Install LSPosed (Zygisk) Shamiko
- LSPosed => Modules => Android Auto - XLauncher Unlocked
- Check
Enable module
- Check
Android Auto
- Check
- Reboot
If you can not directly open the AA app after installation,
then you can still access the AA settings through either of below ways:
- Settings => Connected Devices => Connection Preferences => Android Auto
- Android Auto - XLauncher Unlocked => Click
- Check
Set the next used launch option as default
- Click
Classic
orMaterial3
(Choose which you prefer)
- Check
zip aa4mg.zip -9r *
- Nikhil Menghani for NikGapps
- @braga2 for his tutorial on xda
- @SolidHal for the initial dependency stub APKs
- @Rikj000 for Android Auto - XLauncher Unlocked