Skip to content

Commit

Permalink
0.2-a12-pre
Browse files Browse the repository at this point in the history
  • Loading branch information
sn-00-x committed Jun 17, 2022
1 parent 393a44d commit 0e67e2a
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 20 deletions.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Android Auto 4 microG
# Android Auto 4 microG (for A12)

This is a Magisk module that adds Android Auto to de-googled devices running microG. Tested under LineageOS 4 microG 18.1 only, but should run on all Android 11 devices.
This is a Magisk module that adds Android Auto to de-googled devices running microG on Android 12. Tested under LineageOS 4 microG 19.1 only, but should run on all Android 12 devices.

## Warning

If you update Android Auto app through Aurora, double check to uninstall it through Aurora (or rather downgrade to the version shipped by this module), before uninstalling/disabling aa4mg or boot without Magisk!

Otherwise you may end up with an unbootable device. If the system app is missing (by disabling aa4mg or booting without Magisk), but the update installed by Aurora is still present, your device may fail to boot due to permission errors!

## Installation

Expand All @@ -13,9 +19,7 @@ This is a Magisk module that adds Android Auto to de-googled devices running mic

## Upgrade to current version

This module ships with Android Auto 6.2.6109 (extracted from NikGapps) and can be upgraded through Aurora Store. The reason for shipping with AA 6.2 is that with current versions there's no way to use apps like Screen2Auto / AA Mirror / etc.

However those earlier versions throw "Communication error 8" on some devices (including mine). If you want to use apps like S2A, please try to upgrade to AA 6.3 first (by requesting 63611324 under "Manual download" in Aurora Store). If that fails, you could try AA 6.6 (66612524). If that also fails, just update to the latest version and pass on S2A for now.
This module ships with Android Auto 6.9.613724 (extracted from NikGapps) and can be upgraded through Aurora Store.

## First steps

Expand Down
4 changes: 2 additions & 2 deletions module.prop
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id=aa4mg
name=Android Auto 4 microG
version=aa4mg 0.1
versionCode=21001
version=aa4mg 0.2-a12-pre
versionCode=21002
author=sn00x
description=Install Android Auto on top of microG
Original file line number Diff line number Diff line change
@@ -1,17 +1,5 @@
<permissions>
<privapp-permissions package="com.google.android.projection.gearhead">
<permission name="android.permission.READ_PHONE_STATE" />
<permission name="android.permission.READ_PRIVILEGED_PHONE_STATE" />
<permission name="android.permission.CALL_PHONE" />
<permission name="android.permission.READ_CALL_LOG" />
<permission name="android.permission.READ_CONTACTS" />
<permission name="android.permission.GET_ACCOUNTS" />
<permission name="android.permission.ACCESS_FINE_LOCATION" />
<permission name="com.google.android.gms.permission.CAR_SPEED" />
<permission name="android.permission.RECEIVE_SMS" />
<permission name="android.permission.SEND_SMS" />
<permission name="android.permission.RECORD_AUDIO" />
<permission name="android.permission.READ_CALENDAR" />
<permission name="android.permission.WAKE_LOCK" />
<permission name="android.permission.INTERNET" />
<permission name="android.permission.ACCESS_NETWORK_STATE" />
Expand All @@ -27,8 +15,22 @@
<permission name="android.permission.FOREGROUND_SERVICE" />
<permission name="android.permission.RECEIVE_BOOT_COMPLETED" />
<permission name="android.permission.VIBRATE" />
<permission name="android.permission.SCHEDULE_EXACT_ALARM" />
<permission name="com.google.android.finsky.permission.GEARHEAD_SERVICE" />
<permission name="android.permission.WRITE_SETTINGS" />
<permission name="android.permission.CALL_PHONE" />
<permission name="android.permission.READ_PHONE_STATE" />
<permission name="android.permission.READ_CALL_LOG" />
<permission name="android.permission.READ_CONTACTS" />
<permission name="android.permission.ACCESS_FINE_LOCATION" />
<permission name="android.permission.ACCESS_COARSE_LOCATION" />
<permission name="com.google.android.gms.permission.CAR_SPEED" />
<permission name="android.permission.RECEIVE_SMS" />
<permission name="android.permission.SEND_SMS" />
<permission name="android.permission.RECORD_AUDIO" />
<permission name="android.permission.READ_CALENDAR" />
<permission name="android.permission.BLUETOOTH_SCAN" />
<permission name="android.permission.BLUETOOTH_CONNECT" />
<permission name="android.permission.ACTIVITY_EMBEDDING" />
<permission name="android.permission.BLUETOOTH_PRIVILEGED" />
<permission name="android.permission.CALL_PRIVILEGED" />
<permission name="android.permission.COMPANION_APPROVE_WIFI_CONNECTIONS" />
Expand All @@ -43,6 +45,9 @@
<permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND" />
<permission name="android.permission.TOGGLE_AUTOMOTIVE_PROJECTION" />
<permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE" />
<permission name="android.permission.UPDATE_APP_OPS_STATS" />
<permission name="android.permission.READ_PRIVILEGED_PHONE_STATE" />
<permission name="android.permission.INTERACT_ACROSS_PROFILES" />
<permission name="android.permission.WRITE_SETTINGS" />
</privapp-permissions>
</permissions>
Binary file not shown.
Binary file modified system/priv-app/AndroidAutoStubPrebuilt/lib/arm64/libgmm-jni.so
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 0e67e2a

Please sign in to comment.