Remove UNLP from microG packages

microG has removes support for backends entirely.
Also remove UNLPBackends as its only use was with microg packages
This commit is contained in:
FriendlyNeighborhoodShane 2023-05-31 02:22:16 +05:30
parent 655564d65d
commit 70461302b6
8 changed files with 13 additions and 194 deletions

View File

@ -35,7 +35,7 @@ everything on a ROM flash in a system installation.
| MicroG | x | x | | x | x |
| Standalone UNLP (old) | | | x | | |
| Maps APIv1 | x | x | x | x | x |
| UNLP Backends | x | x | x | | |
| UNLP Backends | | | x | | |
| Fake Store | | x | | x | |
| Google Play Store | x | | | | x |
| Aurora Store | | x | | | |
@ -49,7 +49,6 @@ everything on a ROM flash in a system installation.
They just consist of singular components, just what they say on their label.
- AuroraServices
- PlayStore
- UNLPBackends
#### Package sources and credit
- MicroG includes GMSCore and GSFProxy from MicroG FDroid repo

View File

@ -18,15 +18,9 @@ minMagisk=1900
";
stuff="
/system/app/AppleNLPBackend/AppleNLPBackend.apk
/system/app/AuroraDroid/AuroraDroid.apk
/system/app/AuroraStore/AuroraStore.apk
/system/app/DejaVuNLPBackend/DejaVuNLPBackend.apk
/system/app/LocalGSMNLPBackend/LocalGSMNLPBackend.apk
/system/app/LocalWiFiNLPBackend/LocalWiFiNLPBackend.apk
/system/app/MicroGGSFProxy/MicroGGSFProxy.apk
/system/app/MozillaUnifiedNLPBackend/MozillaUnifiedNLPBackend.apk
/system/app/NominatimNLPBackend/NominatimNLPBackend.apk
/system/bin/npem
@ -60,8 +54,14 @@ stuff_util="
";
stuff_other="
/system/app/AppleNLPBackend/AppleNLPBackend.apk
/system/app/DejaVuNLPBackend/DejaVuNLPBackend.apk
/system/app/GoogleCalendarSyncAdapter/GoogleCalendarSyncAdapter.apk
/system/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk
/system/app/LocalGSMNLPBackend/LocalGSMNLPBackend.apk
/system/app/LocalWiFiNLPBackend/LocalWiFiNLPBackend.apk
/system/app/MozillaUnifiedNLPBackend/MozillaUnifiedNLPBackend.apk
/system/app/NominatimNLPBackend/NominatimNLPBackend.apk
/system/etc/default-permissions/gsync.xml
/system/etc/default-permissions/microg-permissions-unlp.xml
/system/etc/permissions/com.google.android.backuptransport.xml
@ -139,15 +139,9 @@ stuff_debloat="
";
stuff_perm="
/system/app/AppleNLPBackend
/system/app/AuroraDroid
/system/app/AuroraStore
/system/app/DejaVuNLPBackend
/system/app/LocalGSMNLPBackend
/system/app/LocalWiFiNLPBackend
/system/app/MicroGGSFProxy
/system/app/MozillaUnifiedNLPBackend
/system/app/NominatimNLPBackend
/system/bin/npem
/system/etc/default-permissions
/system/etc/permissions

View File

@ -18,14 +18,8 @@ minMagisk=1900
";
stuff="
/system/app/AppleNLPBackend/AppleNLPBackend.apk
/system/app/AuroraDroid/AuroraDroid.apk
/system/app/DejaVuNLPBackend/DejaVuNLPBackend.apk
/system/app/LocalGSMNLPBackend/LocalGSMNLPBackend.apk
/system/app/LocalWiFiNLPBackend/LocalWiFiNLPBackend.apk
/system/app/MicroGGSFProxy/MicroGGSFProxy.apk
/system/app/MozillaUnifiedNLPBackend/MozillaUnifiedNLPBackend.apk
/system/app/NominatimNLPBackend/NominatimNLPBackend.apk
/system/bin/npem
@ -72,7 +66,13 @@ stuff_util="
";
stuff_other="
/system/app/AppleNLPBackend/AppleNLPBackend.apk
/system/app/AuroraStore/AuroraStore.apk
/system/app/DejaVuNLPBackend/DejaVuNLPBackend.apk
/system/app/LocalGSMNLPBackend/LocalGSMNLPBackend.apk
/system/app/LocalWiFiNLPBackend/LocalWiFiNLPBackend.apk
/system/app/MozillaUnifiedNLPBackend/MozillaUnifiedNLPBackend.apk
/system/app/NominatimNLPBackend/NominatimNLPBackend.apk
/system/etc/default-permissions/microg-permissions-unlp.xml
/system/etc/sysconfig/nogoolag-unlp.xml
/system/priv-app/FakeStore/FakeStore.apk
@ -139,14 +139,8 @@ stuff_debloat="
";
stuff_perm="
/system/app/AppleNLPBackend
/system/app/AuroraDroid
/system/app/DejaVuNLPBackend
/system/app/LocalGSMNLPBackend
/system/app/LocalWiFiNLPBackend
/system/app/MicroGGSFProxy
/system/app/MozillaUnifiedNLPBackend
/system/app/NominatimNLPBackend
/system/bin/npem
/system/etc/default-permissions
/system/etc/permissions

View File

@ -1,104 +0,0 @@
# Config
modname="MinAddon-UNLPBackends";
variant="UNLPBackends";
ver="2.11.1";
verc="2111";
date="02 february, 2022";
minsdk="19";
modprop="id=$modname
name=Minimal MicroG Pack $variant Edition
version=$ver
versionCode=$verc
author=MOVZX and FatherJony and FriendlyNeighborhoodShane
description=A Minimal MicroG installer with just the essentials
support=
donate=
minMagisk=1900
";
stuff="
/system/app/AppleNLPBackend/AppleNLPBackend.apk
/system/app/DejaVuNLPBackend/DejaVuNLPBackend.apk
/system/app/LocalGSMNLPBackend/LocalGSMNLPBackend.apk
/system/app/LocalWiFiNLPBackend/LocalWiFiNLPBackend.apk
/system/app/MozillaUnifiedNLPBackend/MozillaUnifiedNLPBackend.apk
/system/app/NominatimNLPBackend/NominatimNLPBackend.apk
";
stuff_arch="
";
stuff_sdk="
";
stuff_arch_sdk="
";
stuff_util="
/util/func-defconf.sh
/util/script-addon.sh
";
stuff_other="
";
stuff_old="
";
stuff_uninstall="$stuff $stuff_arch $stuff_sdk $stuff_arch_sdk $stuff_other $stuff_old";
stuff_debloat="
";
stuff_perm="
/system/app/AppleNLPBackend
/system/app/DejaVuNLPBackend
/system/app/LocalGSMNLPBackend
/system/app/LocalWiFiNLPBackend
/system/app/MozillaUnifiedNLPBackend
/system/app/NominatimNLPBackend
";
pre_build_actions() {
return 0;
}
post_build_actions() {
return 0;
}
pre_install_actions() {
. "$filedir/util/func-defconf.sh";
return 0;
}
post_install_actions() {
addon_install;
return 0;
}
pre_uninstall_actions() {
[ "$magisk" = "no" ] && stuff_uninstall="$stuff_uninstall $addond_file";
return 0;
}
post_uninstall_actions() {
return 0;
}
addond_file="/system/addon.d/10-$modname.sh";

View File

@ -37,27 +37,4 @@
<permission name="org.microg.permission.FORCE_COARSE_LOCATION" fixed="false"/>
</exception>
<exception package="org.microg.nlp.backend.ichnaea">
<permission name="android.permission.ACCESS_COARSE_LOCATION" fixed="false"/>
<permission name="android.permission.ACCESS_FINE_LOCATION" fixed="false"/>
<permission name="android.permission.READ_PHONE_STATE" fixed="false"/>
</exception>
<exception package="org.fitchfamily.android.dejavu">
<permission name="android.permission.ACCESS_COARSE_LOCATION" fixed="false"/>
<permission name="android.permission.ACCESS_FINE_LOCATION" fixed="false"/>
</exception>
<exception package="org.microg.nlp.backend.apple">
<permission name="android.permission.ACCESS_COARSE_LOCATION" fixed="false"/>
<permission name="android.permission.ACCESS_FINE_LOCATION" fixed="false"/>
</exception>
<exception package="org.openbmap.unifiedNlp">
<permission name="android.permission.ACCESS_COARSE_LOCATION" fixed="false"/>
<!-- Storage -->
<permission name="android.permission.READ_EXTERNAL_STORAGE" fixed="false"/>
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" fixed="false"/>
</exception>
</exceptions>

View File

@ -46,27 +46,4 @@
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" fixed="false"/>
</exception>
<exception package="org.microg.nlp.backend.ichnaea">
<permission name="android.permission.ACCESS_COARSE_LOCATION" fixed="false"/>
<permission name="android.permission.ACCESS_FINE_LOCATION" fixed="false"/>
<permission name="android.permission.READ_PHONE_STATE" fixed="false"/>
</exception>
<exception package="org.fitchfamily.android.dejavu">
<permission name="android.permission.ACCESS_COARSE_LOCATION" fixed="false"/>
<permission name="android.permission.ACCESS_FINE_LOCATION" fixed="false"/>
</exception>
<exception package="org.microg.nlp.backend.apple">
<permission name="android.permission.ACCESS_COARSE_LOCATION" fixed="false"/>
<permission name="android.permission.ACCESS_FINE_LOCATION" fixed="false"/>
</exception>
<exception package="org.openbmap.unifiedNlp">
<permission name="android.permission.ACCESS_COARSE_LOCATION" fixed="false"/>
<!-- Storage -->
<permission name="android.permission.READ_EXTERNAL_STORAGE" fixed="false"/>
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" fixed="false"/>
</exception>
</exceptions>

View File

@ -22,15 +22,6 @@
<allow-in-data-usage-save package="com.google.android.gms" />
<allow-unthrottled-location package="com.google.android.gms" />
<!-- Uncontrolled access to location for backends. -->
<allow-unthrottled-location package="org.openbmap.unifiedNlp" />
<allow-unthrottled-location package="org.fitchfamily.android.wifi_backend" />
<allow-unthrottled-location package="org.fitchfamily.android.gsmlocation" />
<allow-unthrottled-location package="org.microg.nlp.backend.nominatim" />
<allow-unthrottled-location package="org.fitchfamily.android.dejavu" />
<allow-unthrottled-location package="org.microg.nlp.backend.ichnaea" />
<allow-unthrottled-location package="org.microg.nlp.backend.apple" />
<!-- Apps that have ability to run as system user. -->
<system-user-whitelisted-app package="com.google.android.gms" />

View File

@ -34,15 +34,6 @@
<app-link package="org.microg.gms.droidguard" />
<app-link package="com.google.android.gsf" />
<!-- Uncontrolled access to location for backends. -->
<allow-unthrottled-location package="org.openbmap.unifiedNlp" />
<allow-unthrottled-location package="org.fitchfamily.android.wifi_backend" />
<allow-unthrottled-location package="org.fitchfamily.android.gsmlocation" />
<allow-unthrottled-location package="org.microg.nlp.backend.nominatim" />
<allow-unthrottled-location package="org.fitchfamily.android.dejavu" />
<allow-unthrottled-location package="org.microg.nlp.backend.ichnaea" />
<allow-unthrottled-location package="org.microg.nlp.backend.apple" />
<!-- Apps that have ability to run as system user. -->
<system-user-whitelisted-app package="com.google.android.gms" />
<system-user-whitelisted-app package="com.google.android.gsf" />