yashsingh1/xdaforums huggingface dataset:
[General Topics] starbright_:
It seems that Google drops support of AA for smartphones.

Android Auto: Google schaltet Smartphone-App ab

Die Android-Auto-App auf Smartphones ist endgültig Geschichte.

www.teltarif.de

I don't need to see something on my phone. But I don't know what (app?) exactly is now the counterpart to the car's screen?
[General Topics] starbright_:
@sn00x and other who get AA working:

Did you had a chance to add other apps to be visible in AA? I think they should be seen in launcher, but they aren't. I even tried

https://xdaforums.com/t/root-only-aa-aio-tweaker-the-ultimate-android-auto-utility.4194239/

but the only that happens is that my apps seems to be "deleted and reinstalled" - they disappear from homescreen and losts its data. But doesn't appear in AA Launcher.

Help!
[General Topics] starbright_:
I finally get AA working. I struggled a lot with a missed location permisson for Maps. I was sure I gave all permissions. What has been missed was not in /Setting/Apps/Maps/Permission but in Setting of Maps itself - I need to enable WLAN and BT beacons to support location. That is so weird!

What I miss now is some other apps. I mentioned my experience woth AA AOI Tweaker. Anyone had same experience or know what I did wrong? Someone gets VLC, OSMAnd, here or Magic Earth working - that is what I am interested in.

Thanks @sn00x for this great work!

Edit:

I always wondering what about the Dev-Mode:

To do this open AA app, scroll down til Version (6.9.613724) and tap a few times.

Than you can open on upper right sight the Dev-menu. There you can check Unknown sources. With that I could see VLC and Signal/Whatsapp.

Very interesting - Here, OSMAnd will be listed with its version, but it is not shown in the Launcher. Is there a trick for that?

Edit2:

You can read often that apps need to be installed via Google Play Store, while I just have Aurora/FDroid.

As OSMAnd~ is installed via FDroid and "here" is listed as installed via FakeStore I try to reinstall it via these steps:

- download apks

- adb shell, su (grand root permissions)

- cp apks to /data/local/tmp (otherwise I get error in next step)

- pm install -i “com.android.vending” -r net.osmand-4.2.4-4204.apk (as example)

Result: Now I have the 2nd OSMAnd installation listed as packages in AA versions (tap on versions), but still not be selectable in Launcher. HELP!!!
[General Topics] oceanBT:
@starbright_ its a "bug": see https://gitlab.com/fdroid/fdroiddata/-/issues/2567
[General Topics] starbright_:
I am not completely clear.

As far as I understand that in A12 this workaround (which is same I tested and described above with the free version of playstore) it is not working. I could try that with OSMAnd~ from FDroid, but wait - that doesn't explain why "here" is not working.

I guess that this "pm install" is just an alternative to "Dev settings/Unkown sources". Isn't it?

Anyhow, something in this apps (OSMAnd, OSMAnd~, here) trigger AA, as I can see all these apps in AA if I tap the version button. So I think halfway is done.
[General Topics] EvilDragon17:
It's the same here - but I could not find a fix for that.

I'm currently on the latest Android Auto version as even the 6.6 and 7.0 versions gave me connection error 8.. which is weird, as I know 6.5 worked with the very same installation of the OS (AICP 16) before, when having Google Stuff still installed.

As that error is related to the time, date and google play services, I can imagine it happens if you try to start a version that google think it's outdated... so having the latest microg services version might cause that. No idea.

As said, I never gotten past the Maps permissions screen myself.

I can't find any setting inside the google maps app that allows me to enable WLAN and BT Beacon support. If I click on Google Location settings nothing happens and when I click on Location Accuracy tips, maps says everything is perfectly fine. I notice though that google wants me to update the google play services... maybe that could be the issue?

When I go to the location settings of the phone, both bt beacons and wlan is enabled so it can be used for location.

Clicking on "Cancel" on the permission screen of Android Auto doesn't work either, as soon as I connect again, the same screen pops up again.

Does anyone have any other idea?
[General Topics] starbright_:
Open maps, tap upper right the "People/Accoun"-button, Settings Google location settings.

Pressing it now nothing happened for me but I am pretty sure that was the key which brings it to life. Just my 5 cent. I am on the AA version that was in the Magisk module, didn't up/downgrade.

Anyone ever get a Navigation app other than maps running?
[General Topics] starbright_:
-deleted-
[General Topics] dary1zhu:
is this woring on sandboxed play services as well?
[General Topics] rndname:
Same problem here.

Xperia XA2 (pioneer) with LineageOS 19.1 w/ MicroG

Installed from NikGApps and updated from Aurora store:

1. Android Auto

2. Google Maps

3. Google TTS

Installed from Aurora Store:

4. Google (main google app)

AA app won't open when tapped.

AA app opens automatically when connected to the car, and gets stuck on the location permissions page.

Of note, AA worked well on LOS 18.1 (a MicroG ROM as well) until today when it stopped all of a sudden with no discernible message. I thought I should update to 19.1... and here I am.

"Yes" from me on all of the following:

In regards to this:

None of my apps (AA, Maps, etc.) are asking to update the Play Services. I also cannot update that app, because it's the core part of the MicroG ROM, and an attempt to update it from the Aurora store fails.
[General Topics] EvilDragon17:
Okay, I got it to work. I enabled in the MicroG/Google Account settings, that apps can see my Google account.

Then it continues when you press cancel on the permission screen.

Now I just need to find out how to get screen2auto working. It appears in Android auto, but when I start it, it shows the message that the app has no message to show during drive.

I patched them via AA AOI Tweaker... so I thought that should fix that.

is it because I'm on the latest AA version?
[General Topics] rndname:
Great!

Which option is that? I'm in System -> microG Settings.

The only relevant option I see from here is Account -> Add Google Account (I don't have one added).

Do I have to add a Google Account to see an option to select apps?
[General Topics] starbright_:
Google account isn't required. I mean - that make all the effort to degoogle your phone useless.
[General Topics] rndname:
It certainly makes sense -- I'm just covering all possible avenues.

I could not replicate the solution.
[General Topics] android666:
finally, I succeeded, I installed microg; then updated proper AA.zip from Nik, checked *.sh again, updated also another checking code line (inside the .sh prop_file_exists="false" to prop_file_exists="true") and all looks installed (and running) in android12.

have to test with car sometimes (no time at this moment) now.

Thanks hellcat50 for sharing of such great idea.
[General Topics] starbright_:
Anyone has been successful with A13 / T already?

What else needs to be installed, the Addon is very small.

There is one thing that seems to me not very clear in an earlier post. There was mention that it needs to install NicGapps. With only the AAaddone AA is only showing in car, not in phone. This I thing might be misleading, isn't it?

In the OT post is missed that part from a later post:

"you only need to install google maps, the google app and google speech services manually". I once found some stub apps, so that doesn't need to install the full evil Google stuff.

~dylanger/Google-App-Stub - Stub for the Google App - sourcehut git

git.sr.ht

But as of now I didn't test that.

@hellcat50 : could you please update your initial post?

Anyone get another Navi app than GMaps running, especially Magic Earth?
[General Topics] starbright_:
I have got in running finally on LOS19+microG, including OSMAnd and other Navi-apps and Screen2Auto. It was a long way to go. I try to summerize it:

You can start here:

https://github.com/sn-00-x/aa4mg']https://github.com/sn-00-x/aa4mg

I want to do a shortcut and put a recent AA into this package. (84624324). It is not as easy just to change the app, you also have to extract the libs from app and change that, but also change the permission.xml. You get the required data out of Manifest, decode the app with apktool

Installation as it is described in the link.

What drives me nuts was the thing about permission. Starting it in the car I get short after start a green screen with request to set location permission to Maps (although it was given - and it even shows my position). Not sure but maybe it was some location setting in microG that has to be called first.

The next thing is to get other Navis than Maps running. It sees it needs to be installed from Playstore, but I don't have it on my device. But this can be faked.

You have to install a few things: LsPosed, XPrivacyLua and its Pro-App.

GitHub - UnlockAA/XPrivacyLuaHook: Some XPrivacyLua hooks for Android Auto

Some XPrivacyLua hooks for Android Auto. Contribute to UnlockAA/XPrivacyLuaHook development by creating an account on GitHub.

github.com

Installing is a bit of a pain, you have to enable XprivacyLua in LsPosed, check AA there (you have to unhide system apps) AND in XPrivacyLua

It provides Hooks for 2 different AA versions. These have to be imported by the Pro Companion app and again activated in XprivacyLua.

To figure out the values that has to be changed in the hook check the AA.apk with

java -jar Bytecode-Viewer-2.11.2.jar and look for the string "isPackageAllowed3p". All credits go to "UnlockAA" who not only figured that out but alos helped me a lot with that.

Screen2Auto works without root. But I need to enable the Alternative Touch method to get feedback from cars screen.

https://xdaforums.com/t/screen2auto...hone-mirroring-only-for-root-devices.4062787/

With this you can mirror your phones screen, so no need for an app that is ready for AA.

Although the orginal work has done by others (linked) I spend some hours to figure things out and get it working. Hope that will help others too.
[General Topics] Redsandro:
Great work. I wish this was easy. I hope one day it would just be a single app, patch or build-flag.

What do you want to build?

LineageOS flashable zip, with:

MicroG

Root

Android Auto

Aurora
[General Topics] The4anoni:
Anyone had success with Android 13?

I made simple Magisk Module for Android 13 to put Android Auto stub into priv-app.

For base I was using A13 MindTheGapps.

It looks like module itself does the job, but for some reason Android Auto doesn't work, even with all permissions granted. Best result I got was Android Auto Connected notification on phone, but on headunit nothing happened.
[General Topics] Rochelle13317:
Maybe I'm missing something but I've tried the original instructions and haven't succeeded. So far I'm stuck at flashing the zip.

I'm currently running lineageOs17 (android 10) with microg built in on a Moto E 2nd Gen (Surnia). I get the error that no apps function with this usb accessory (It's a kia soul that previously worked fine with another smartphone running stock android 10).

I managed to alter the .sh file as directed but when I try to flash in TWRP from an SD card I get these messages;

------------------------------------------------------------

-Cannot flash AndroidAuto now as you will run into issues!

Wipe /data if you still want to install it. You must always

flash AndroidAuto before booting into Rom!

------------------------------------------------------------

- Wiping dalvik-cache

- Finished Installation

- Copying Logs at /sdcard/NikGapps/nikgapps_logs/Logs-surnia-

NikGapps-addon-10-AndroidAuto-20220908.tar.gz

- Unmounting /system

- Unmounting /system_root

- Unmounting /vendor

*In Red*

Updater process ended with ERROR: 1

Error installing {zip file name}

Updating partition details...

...done

What should I do next?????
[General Topics] starbright_:
Til now I didn't hear of anyone get it working on A13. Maybe something is still missing in LOS?

How did you create your Magisk Module? With same recipe as me (changing app, libs, permission)? You mention MindTheGapps. So did you install the Gapps? Can you explain your process (and maybe add a link)?

I found that my AA magisk module works, but even with an established BT connection, audio is routed via phone. Not sure is this a bug in my selected AA version or did I miss some setting.
[General Topics] The4anoni:
I didn't installed gapps, I just got AA stub and permissions XMLs from MindTheGapps
[General Topics] GrosMatou:
Hello everyone !

I juste clean flashed my galaxy A5 2017 (with iodéOS 2.7, based on lineageOS 18.1).

Everything is working fine with Android Auto, except for phone calls. when I tap on "phone" app from the AA launcher, I have the following error message (translated) : "The phone app permission is required to receive calls. When it's safe to do so, enable it in the settings"

I didn't have this message with my previous ROM (iodéOS 2.3 on the same phone, also lineageOS 18.1), and I don't know what to enable in the settings... Android Auto has access to phone (and I can't disable it because it's mandatory).

Do you have any idea?
[General Topics] Chbepoco:
Hey guys. I had AA working on LOS 18.1 + microg using the first posted method. But when i changed to LOS 19.1 + micro g i got stuck on the maps permission. I'm currently using the magisk AA module and the google app stub but got no success.

the "google location settings" in Gmaps doesn't work.

Do you guys have any idea? Any workaround the maps on permission issue?

Edit: I downloaded the zip made by starbright now it's working!

Thanks!
[General Topics] Darth1:
When I connect my phone to headset (virtual headset from android studio) I get this error: "Cant run android auto on this phone" (With a picture of a phone next to cacti). Does anyone know the cause of this?

I installed microg and the aa magisk module from @sn00x and at first got the red screen but then I updated the android auto app to latest version and was able to launch app. Android 11.
[General Topics] starbright_:
Google Maps is a great product but I wouldn't give my location data to G. So I downloaded the area I need to use it offline. So after download I disabled ethernet access by firewall. That works , but strange - after some time it will not show a map anymore. On the other hand, search and navigate works, but the map is not shown. Anyone has same issue and found a workaroud?
[General Topics] byReqz:
I have packaged @braga2 's solution as a Magisk module. You can find it here: https://github.com/byReqz/aa4mg (I have also submitted it PR for sn00xes aa4mg).
[General Topics] sn00x:
I've merged @byReqz's pull request (thanks for the great contribution!) and released a new version: https://github.com/sn-00-x/aa4mg/releases/tag/v0.3-a13
[General Topics] FredQ:
Installed this morning on ArrowOS A13. Works great. Thank you!
[General Topics] Jacky_no1:
Did not work for me.

Thinking the error sit´s before my monitor. ;)

I Downloaded the ZIP,

startet Magisk (Version 25.2) on my LineageOS 20 (Android 13) device.

Install / File / aa4mgv0.3-a13.zip / click on "lets go".

Error Message:

! Unsupported/Unknown image format

! Installation failed

In the protocol it says:

"Unable to match the desired swap behavior."

"java.lang.IllegalArgumentException: Invalid image header: missing magic"

and so on.

Any idea?

Update:

Found the error. Sits before the monitor.

Installed the Magisk APK but have missed to patch the changed boot.img

After that, an installation was possible via the now existing "Module" menu.

🤦‍♂️
[General Topics] Xurde78:
Hello everyone

I have CrDroid 8.11 with MicroG module AndroidAuto and Magisk.

AA connects with my car fine and navigation with Maps and Waze works, but I can't get Here wego or other gps app to work, but I can see all these apps in AA if I tap the version button.

Other apps downloaded from Aurora if listed as Spotify.

I only want AA for offline navigation.

Have you gotten another gps to work?
[General Topics] starbright_:
offline browsing? you likely mean offline navigation, right?
[General Topics] Xurde78:
Sorry,

you're right, I mean offline navigation.
[General Topics] dieudeglace:
dont know how you guys got all this to work, on my moto 5g ace (kiev) it says system is full with zero space left. So i cannot use the android auto addon unfortunately. Don't know what to do, as im using this phone to test stuff out to hopefully use it on my pixel 6 pro
[General Topics] Xurde78:
hello everyone.

@starbright_ I have installed LsPosed and XPrivacyLua, but I am lost with Pro-App

Can you tell me "step by step" what steps should I follow now....

Thank you
[General Topics] starbright_:
Can you provide the Google APP Stub?
[General Topics] starbright_:
I am on LOS20+microG. I just stuck at the startup of AA (it required an update before by the way) - it keeps complaining about missing permission in Maps. But I enabled all permission and replugged a few times. I also get position in GMaps.

One thing. If I touch in settings/Google location services : nothing happened. Any idea?
[General Topics] starbright_:
@sn00x & @byReqz and others:

This problem with green screen in AA requesting the location permission for maps (although they have been granted and maps shows location) can this be the reason?

Android location permissions not requesting and automatically denied

The first few times I tried the code out, it prompted me each time requesting for the permissions but after a while, it would just go straight to my manual input page. Also, I'm not sure if it woul...

stackoverflow.com

Maybe it is possible to fix by your magisk module?

I use a phone with no SIM in it - at least for the initial test. I see no reason why it shouldn't work. But I don't pass that above mentioned section.

@byReqz @braga2 : In your readme.md for the Magisk Module:

Would it be more precise to add the need of installing GMaps too?

And I think there is no option to update AA as it is just a stub, right?

The updates needed to be done outside AA not out of AA, because you likely have to add them from Aurora store.

Correct?

One more point.

Even with activated developer settings/unknown sources - if I remember right you won't see other navigation apps.
[General Topics] byReqz:
You can get the prebuilt apk from here: https://github.com/dylangerdaly/Gcam-Services-Provider/releases .

That used to happen to me when going from 11 to 12. Needed to update the base version. Are you sure there arent any leftovers or older versions installed?

Try resetting data for AA and Maps and then granting everything manually before starting both the first time. I havent had this issue in a while (A13 was cleanly installed so also didnt have previous app data). Im not sure how that stackoverflow is related as we didn't develop any of the shipped apps. As they are from Google themselfs, its likely that there isn't an error there.

I wouldnt consider it important to let users know that they need to install Maps as the app will tell you anyways. It doesn't need to be installed in any special way. I can add it to the readme if thats desired tho.

The AA stub is just there to act as a properly preinstalled system app. You can just update it through Play/Aurora, updates will be installed as user and work fine.

AA will crash when trying to download apps as it cant open the Play store. You can just do that by hand using Aurora.

Unknown sources lets all apps show up that are on the device and support AA. It shouldn't impact navigation apps if they are already working with AA.
[General Topics] Xurde78:
Hello everyone,

On my Pocophone F1 with CrDroid 8.12 Android 12 + microg AA version 9.0630834 still couldn't show Osmand 4.2.7 in AA launcher, nor Sygic... none gps. Only Mpas and Waze, even if it's a mod.

To test, I directly installed the Waze mod 4.92 app, directly from the native installer and it shows up in the AA launcher, the app name shows up as "com.waze".

It may be that AA always shows Gmaps and Waze, regardless of where it is installed.

Absurd question, can an Osmand apk be modified so that the name "com.waze" appears...
[General Topics] starbright_:
Yes, for that another step is needed. So first step it to get AA running with microG - that what works for your already. With my new LOS20 I am still struggeling (see above). It's quite some pain get it working and testing - as you have to be in the car.

@byReqz I remember I did need a lot of trials while setting up my LOS19 few month back. At some point it works without knowing what exactly has been changed. Is the a special order needed? Update AA from stub to app before or after installing GMAPs? In most stock devices both is already pre-installed.

I am operating usually with AFWall+ enabled to aware google apps from "calling home". Not sure but at some point it is required to connect them to internet, right? Is there a need for GoogleSpeach to ever connect to internet? Is it required to download some data for offline speach synthesis?

A second step is required if you want to use any other than Google (Maps, Waze) Navigation system. The way I know is not as easy but works in my LOS19 device. I its the one you already asked me about. I would give some additional comments after setting up a new device. I didn't forget you, but first of all AA has to work on my side again.

Some other way might work with king-installer. ( https://inceptive.ru/blog/king-installer-no-root) I don't know how trustworthy it is. If I got it right it just fakes an app is installed by GooglePlayStore. That is what should be the reason why it is not listed in AA-Launcher. Didn't try that because the LSExposed method was already running.
[General Topics] starbright_:
Again - Regarding Google Speach Services. After installation there are two ways to access it

* Settings/system/speach&input/speach. If I there push the "speach output" buttom it opens for a second and does a forced close.

The other is via:

* Setting/usage help/ Speach output . where happens the same as above.

Is that normal? Howto avoid?

Granting wifi access to speach services and download a language doesn't seem to help.
[General Topics] byReqz:
There shouldn't be any special steps necessary. In my experience, 13 has been the easiest with this setup. I just install the module, reboot and install Maps and Speech from Aurora. I used to also use a stub for Speech so im pretty sure its not actually necessary or _needs_ to connect to the internet. You should then just not have TTS (which is fine imo).

Are you on the latest MicroG version? I had to update mine when I went to 13. Im on v0.2.27.223616.
[General Topics] Xurde78:
king-installer didn't work for me, neither did aaease https://inceptive.ru/projects/aaease, I think they do the same try to simulate origin in GPlay

Also try "pm install -i com.android.vending /data/app//net.osmand.plus/base.apk" but it just shows normal "Fake Shop".... since I don't have G Play

I'm waiting for your instructions @starbright_, but don't worry, I'm not in a hurry, everything works fine for me with Maps offline navigation.
[General Topics] starbright_:
@byReqz Have same microG version (istalled via magisk from nift4).

What location modules do you have installed in microG?

Google registration/Cloud messaging enabled?

No TTS, does it mean no voice output from MagicEarth or OSMAnd? I am pretty sure there is no ethernet connection needed once it is installed.
[General Topics] byReqz:
Mine is self-build NanoDroid but that should be the same. I use Deja Vu, Mozilla and Nominatim for location. Device is registered with GCM yeah.

I have no idea how OSMAnd or MagicEarth do TTS and I basically only use Spotify on AA but Google Maps will just be quiet if no SpeechServices are installed.