conf: make AuroraServices into a "MinAddon" package, and add Playstore

Drop minimalIAP, because it's basically Minimal + Playstore
This commit is contained in:
FriendlyNeighborhoodShane 2022-07-11 12:37:03 +05:30
parent 87610579fd
commit 2bffffd37a
4 changed files with 102 additions and 252 deletions

View File

@ -20,6 +20,13 @@ can also (mostly) support much older versions, but sync adapters and some
location providers won't work. It can even uninstall itself from your device, location providers won't work. It can even uninstall itself from your device,
just rename it and flash it again. just rename it and flash it again.
The `MinMicroG` packages are intended as various base configuration for microG,
they are all mutually exclusive with each other and you can only choose one.
While the `MinAddon` packages act as independent additions on top, you can have
as many as you wish over a base package, or even without a base package.
The available `MinMicroG` variants are:
The things included in the `Standard` Edition zip are: The things included in the `Standard` Edition zip are:
- MicroG (GMSCore, GSFProxy, Maps APIv1) (from MicroG FDroid repo) - MicroG (GMSCore, GSFProxy, Maps APIv1) (from MicroG FDroid repo)
- Google Play store (modded for IAPs by Setialpha) - Google Play store (modded for IAPs by Setialpha)
@ -55,10 +62,10 @@ The things included in the `Minimal` Edition zip are:
- Permission files for all of this - Permission files for all of this
- An addon.d file to backup/restore everything on a rom flash - An addon.d file to backup/restore everything on a rom flash
The things included in the `MinimalIAP` zip are: The available `MinAddon` variants are:
- MicroG (GMSCore, GSFProxy, Maps APIv1) (from MicroG FDroid repo)
The things included in the `Playstore` zip are:
- Google Play store (modded for IAPs by Setialpha) - Google Play store (modded for IAPs by Setialpha)
- Some Google DRM jars (From OpenGApps GitHub repo)
- Permission files for all of this - Permission files for all of this
- An addon.d file to backup/restore everything on a rom flash - An addon.d file to backup/restore everything on a rom flash

View File

@ -1,5 +1,7 @@
# Config # Config
modname="MinAddon-AuroraServices";
variant="AuroraServices"; variant="AuroraServices";
ver="2.11.1"; ver="2.11.1";
verc="2111"; verc="2111";
@ -7,7 +9,7 @@ date="02 february, 2022";
minsdk="21"; minsdk="21";
modprop="id=$modname modprop="id=$modname
name=Minimal MicroG Pack $variant Edition name=Minimal MicroG Addon Pack $variant
version=$ver version=$ver
versionCode=$verc versionCode=$verc
author=MOVZX and FatherJony and FriendlyNeighborhoodShane author=MOVZX and FatherJony and FriendlyNeighborhoodShane
@ -35,59 +37,9 @@ stuff_util="
"; ";
stuff_other=" stuff_other="
/system/app/AppleNLPBackend/AppleNLPBackend.apk
/system/app/AuroraDroid/AuroraDroid.apk
/system/app/AuroraStore/AuroraStore.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/MicroGGSFProxy/MicroGGSFProxy.apk
/system/app/MozillaUnifiedNLPBackend/MozillaUnifiedNLPBackend.apk
/system/app/NominatimNLPBackend/NominatimNLPBackend.apk
/system/bin/npem
/system/etc/default-permissions/gsync.xml
/system/etc/default-permissions/microg-permissions-unlp.xml
/system/etc/default-permissions/microg-permissions.xml
/system/etc/permissions/com.android.vending.xml
/system/etc/permissions/com.google.android.backuptransport.xml
/system/etc/permissions/com.google.android.gms.xml
/system/etc/permissions/com.google.android.maps.xml
/system/etc/permissions/com.google.android.media.effects.xml
/system/etc/permissions/com.google.widevine.software.drm.xml
/system/etc/sysconfig/nogoolag-unlp.xml
/system/etc/sysconfig/nogoolag.xml
/system/framework/com.google.android.maps.jar
/system/framework/com.google.android.media.effects.jar
/system/framework/com.google.widevine.software.drm.jar
/system/lib/libjni_keyboarddecoder.so
/system/lib/libjni_latinimegoogle.so
/system/lib64/libjni_keyboarddecoder.so
/system/lib64/libjni_latinimegoogle.so
/system/priv-app/FakeStore/FakeStore.apk
/system/priv-app/GoogleBackupTransport/GoogleBackupTransport.apk
/system/priv-app/MicroGGMSCore/MicroGGMSCore.apk
/system/priv-app/MicroGUNLP/MicroGUNLP.apk
/system/priv-app/PatchPhonesky/PatchPhonesky.apk
"; ";
stuff_old=" stuff_old="
/system/addon.d/01-nogoolag.sh
/system/app/FDroid/FDroid.apk
/system/app/RadioCellsNLPBackend/RadioCellsNLPBackend.apk
/system/etc/permissions/gsync.xml
/system/etc/permissions/org.fdroid.fdroid.privileged.xml
/system/priv-app/AuroraStore/AuroraStore.apk
/system/priv-app/DejaVuLocationService/DejaVuLocationService.apk
/system/priv-app/DejaVuNLPBackend/DejaVuNLPBackend.apk
/system/priv-app/FDroidPrivileged/FDroidPrivileged.apk
/system/priv-app/LocalGSMNLPBackend/LocalGSMNLPBackend.apk
/system/priv-app/LocalWiFiNLPBackend/LocalWiFiNLPBackend.apk
/system/priv-app/MicroGDroidGuard/MicroGDroidGuard.apk
/system/priv-app/MicroGGSFProxy/MicroGGSFProxy.apk
/system/priv-app/MozillaUnifiedNLPBackend/MozillaUnifiedNLPBackend.apk
/system/priv-app/NominatimNLPBackend/NominatimNLPBackend.apk
"; ";
stuff_uninstall="$stuff $stuff_arch $stuff_sdk $stuff_arch_sdk $stuff_other $stuff_old"; stuff_uninstall="$stuff $stuff_arch $stuff_sdk $stuff_arch_sdk $stuff_other $stuff_old";

View File

@ -1,198 +0,0 @@
# Config
variant="MinimalIAP";
ver="2.11.1";
verc="2111";
date="02 february, 2022";
minsdk="21";
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/MicroGGSFProxy/MicroGGSFProxy.apk
/system/bin/npem
/system/etc/default-permissions/microg-permissions.xml
/system/etc/permissions/com.android.vending.xml
/system/etc/permissions/com.google.android.gms.xml
/system/etc/permissions/com.google.android.maps.xml
/system/etc/permissions/com.google.android.media.effects.xml
/system/etc/permissions/com.google.widevine.software.drm.xml
/system/etc/sysconfig/nogoolag.xml
/system/framework/com.google.android.maps.jar
/system/framework/com.google.android.media.effects.jar
/system/framework/com.google.widevine.software.drm.jar
/system/priv-app/PatchPhonesky/PatchPhonesky.apk
/system/priv-app/MicroGGMSCore/MicroGGMSCore.apk
";
stuff_arch="
";
stuff_sdk="
";
stuff_arch_sdk="
";
stuff_util="
/util/func-defconf.sh
/util/script-addon.sh
/util/script-init.sh
";
stuff_other="
/system/app/AppleNLPBackend/AppleNLPBackend.apk
/system/app/AuroraDroid/AuroraDroid.apk
/system/app/AuroraStore/AuroraStore.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.aurora.services.xml
/system/etc/permissions/com.google.android.backuptransport.xml
/system/etc/sysconfig/nogoolag-unlp.xml
/system/lib/libjni_keyboarddecoder.so
/system/lib/libjni_latinimegoogle.so
/system/lib64/libjni_keyboarddecoder.so
/system/lib64/libjni_latinimegoogle.so
/system/priv-app/AuroraServices/AuroraServices.apk
/system/priv-app/GoogleBackupTransport/GoogleBackupTransport.apk
/system/priv-app/MicroGUNLP/MicroGUNLP.apk
/system/priv-app/FakeStore/FakeStore.apk
";
stuff_old="
/system/addon.d/01-nogoolag.sh
/system/app/FDroid/FDroid.apk
/system/app/RadioCellsNLPBackend/RadioCellsNLPBackend.apk
/system/etc/permissions/gsync.xml
/system/etc/permissions/org.fdroid.fdroid.privileged.xml
/system/priv-app/AuroraStore/AuroraStore.apk
/system/priv-app/DejaVuLocationService/DejaVuLocationService.apk
/system/priv-app/DejaVuNLPBackend/DejaVuNLPBackend.apk
/system/priv-app/FDroidPrivileged/FDroidPrivileged.apk
/system/priv-app/LocalGSMNLPBackend/LocalGSMNLPBackend.apk
/system/priv-app/LocalWiFiNLPBackend/LocalWiFiNLPBackend.apk
/system/priv-app/MicroGDroidGuard/MicroGDroidGuard.apk
/system/priv-app/MicroGGSFProxy/MicroGGSFProxy.apk
/system/priv-app/MozillaUnifiedNLPBackend/MozillaUnifiedNLPBackend.apk
/system/priv-app/NominatimNLPBackend/NominatimNLPBackend.apk
";
stuff_uninstall="$stuff $stuff_arch $stuff_sdk $stuff_arch_sdk $stuff_other $stuff_old";
stuff_debloat="
/system/app/GmsCore/GmsCore.apk
/system/app/GooglePlay/GooglePlay.apk
/system/app/GoogleServicesFramework/GoogleServicesFramework.apk
/system/app/Phonesky/Phonesky.apk
/system/app/PlayStore/PlayStore.apk
/system/app/PrebuiltGmsCore/PrebuiltGmsCore.apk
/system/app/Vending/Vending.apk
/system/priv-app/GmsCore/GmsCore.apk
/system/priv-app/GooglePlay/GooglePlay.apk
/system/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk
/system/priv-app/Phonesky/Phonesky.apk
/system/priv-app/PlayStore/PlayStore.apk
/system/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk
/system/priv-app/Vending/Vending.apk
/system/app/AMAPNetworkLocation/AMAPNetworkLocation.apk
/system/app/BaiduNetworkLocation/BaiduNetworkLocation.apk
/system/app/LegacyNetworkLocation/LegacyNetworkLocation.apk
/system/app/NetworkLocation/NetworkLocation.apk
/system/priv-app/AMAPNetworkLocation/AMAPNetworkLocation.apk
/system/priv-app/BaiduNetworkLocation/BaiduNetworkLocation.apk
/system/priv-app/LegacyNetworkLocation/LegacyNetworkLocation.apk
/system/priv-app/NetworkLocation/NetworkLocation.apk
/system/app/BlankStore/BlankStore.apk
/system/app/DroidGuard/DroidGuard.apk
/system/app/GmsCore/GmsCore.apk
/system/app/GmsDroidGuard/GmsDroidguard.apk
/system/app/GsfProxy/GsfProxy.apk
/system/app/UnifiedNlp/UnifiedNlp.apk
/system/priv-app/BlankStore/BlankStore.apk
/system/priv-app/DroidGuard/DroidGuard.apk
/system/priv-app/GmsCore/GmsCore.apk
/system/priv-app/GmsDroidGuard/GmsDroidguard.apk
/system/priv-app/GsfProxy/GsfProxy.apk
/system/priv-app/UnifiedNlp/UnifiedNlp.apk
";
stuff_perm="
/system/app/MicroGGSFProxy
/system/bin/npem
/system/etc/default-permissions
/system/etc/permissions
/system/etc/sysconfig
/system/framework/com.google.android.maps.jar
/system/priv-app/PatchPhonesky
/system/priv-app/MicroGGMSCore
";
pre_build_actions() {
return 0;
}
post_build_actions() {
return 0;
}
pre_install_actions() {
. "$filedir/util/func-defconf.sh";
user_conf;
microg_cleanup;
return 0;
}
post_install_actions() {
addon_install;
initscript_install;
touch "$mark_file";
return 0;
}
pre_uninstall_actions() {
[ "$magisk" = "no" ] && stuff_uninstall="$stuff_uninstall $addond_file $init_file";
rm -f "$mark_file";
return 0;
}
post_uninstall_actions() {
return 0;
}
mark_file="/data/.mmg";
addond_file="/system/addon.d/10-$modname.sh";
init_file="/system/etc/init.d/10-$modname";

89
conf/defconf-phonesky.txt Normal file
View File

@ -0,0 +1,89 @@
# Config
modname="MinAddon-Playstore"
variant="Playstore";
ver="2.11.1";
verc="2111";
date="02 february, 2022";
minsdk="21";
modprop="id=$modname
name=Minimal MicroG Addon Pack $variant
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/etc/permissions/com.android.vending.xml
/system/priv-app/PatchPhonesky/PatchPhonesky.apk
";
stuff_arch="
";
stuff_sdk="
";
stuff_arch_sdk="
";
stuff_util="
";
stuff_other="
";
stuff_old="
";
stuff_uninstall="$stuff $stuff_arch $stuff_sdk $stuff_arch_sdk $stuff_other $stuff_old";
stuff_debloat="
";
stuff_perm="
/system/etc/permissions
/system/priv-app/PatchPhonesky
";
pre_build_actions() {
return 0;
}
post_build_actions() {
return 0;
}
pre_install_actions() {
return 0;
}
post_install_actions() {
return 0;
}
pre_uninstall_actions() {
return 0;
}
post_uninstall_actions() {
return 0;
}