hello everyone.I
You have to install a few things: LsPosed, XPrivacyLua and its Pro-App.
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![]()
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
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.
Can you provide the Google APP Stub?Install Google APP Stub. I built it from sources from here https://git.sr.ht/~dylanger/Google-App-Stub
Install Mozilla UnifiedNLP Backend from F-droid.
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.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
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?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?
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.@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.
Hello everyone,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.
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.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.
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).@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?
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.@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.
stubs
That just sounds great!
is_on_top_of_nikgapps() {
nikgapps_present=false
# shellcheck disable=SC2143
if [ "$(grep 'allow-in-power-save package=\"com.mgoogle.android.gms\"' "$system"/etc/sysconfig/*.xml)" ] ||
[ "$(grep 'allow-in-power-save package=\"com.mgoogle.android.gms\"' "$system"/product/etc/sysconfig/*.xml)" ]; then
nikgapps_present=true
fi
addToLog "- Is on top of NikGapps: $nikgapps_present"
if [ "$nikgapps_present" != "true" ]; then
abort "This Addon can only be flashed on top of NikGapps"
fi
}
.....
else
addToLog "- Failed to write $install_location"
abort "Installation Failed! Looks like Storage space is full!"
fi
fi
}
# Check if the partition is mounted
.....
I did it. You need a A13 LineageOS-20.0 rom with signature spoofing patch. Here is my patch https://github.com/braga2/sigspoof
<!--privapp-permissions package="com.google.android.projection.gearhead">
<permission name="android.permission.ACTIVITY_EMBEDDING"/>
<permission name="android.permission.BLUETOOTH_PRIVILEGED"/>
<permission name="android.permission.CALL_PRIVILEGED"/>
<permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
<permission name="android.permission.COMPANION_APPROVE_WIFI_CONNECTIONS"/>
<permission name="android.permission.CONTROL_INCALL_EXPERIENCE"/>
<permission name="android.permission.DUMP"/>
<permission name="android.permission.ENTER_CAR_MODE_PRIORITIZED"/>
<permission name="android.permission.LOCAL_MAC_ADDRESS"/>
<permission name="android.permission.LOCATION_HARDWARE"/>
<permission name="android.permission.MANAGE_USB"/>
<permission name="android.permission.MODIFY_AUDIO_ROUTING"/>
<permission name="android.permission.MODIFY_DAY_NIGHT_MODE"/>
<permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
<permission name="android.permission.REQUEST_COMPANION_SELF_MANAGED"/>
<permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"/>
<permission name="android.permission.UPDATE_APP_OPS_STATS"/>
</privapp-permissions-->
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.