Simple magisk modules
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
2.2 KiB

3 years ago
#!/bin/sh
set -e
dir=microg
2 years ago
version=20234227
3 years ago
rm -rf "$dir"
mkdir -p "$dir"
cat > "$dir/module.prop" << EOF
id=microg
name=LineageOS for MicroG packages
3 years ago
version=$version
versionCode=1
author=me
description=
EOF
install -D apk/android_vendor_partner_gms/GmsCore/GmsCore.apk \
3 years ago
"$dir/system/priv-app/GmsCore/GmsCore.apk"
install -D apk/android_vendor_partner_gms/GmsCore/privapp-permissions-com.google.android.gms.xml \
"$dir/system/etc/permissions/privapp-permissions-com.google.android.gms.xml"
install -D apk/android_vendor_partner_gms/GmsCore/default-permissions-com.google.android.gms.xml \
"$dir/system/etc/default-permissions/default-permissions-com.google.android.gms.xml"
3 years ago
install -D apk/android_vendor_partner_gms/GmsCore/sysconfig-com.google.android.gms.xml \
"$dir/system/etc/sysconfig/sysconfig-com.google.android.gms.xml"
install -D apk/android_vendor_partner_gms/GsfProxy/GsfProxy.apk \
"$dir/system/app/GsfProxy/GsfProxy.apk"
install -D apk/android_vendor_partner_gms/FakeStore/FakeStore.apk \
3 years ago
"$dir/system/priv-app/FakeStore/FakeStore.apk"
install -D apk/android_vendor_partner_gms/FakeStore/default-permissions-com.android.vending.xml \
"$dir/system/etc/default-permissions/default-permissions-com.android.vending.xml"
3 years ago
install -D apk/android_vendor_partner_gms/FakeStore/privapp-permissions-com.android.vending.xml \
"$dir/system/etc/permissions/privapp-permissions-com.android.vending.xml"
install -D apk/android_vendor_partner_gms/IchnaeaNlpBackend/IchnaeaNlpBackend.apk \
"$dir/system/app/IchnaeaNlpBackend/IchnaeaNlpBackend.apk"
install -D apk/android_vendor_partner_gms/NominatimGeocoderBackend/NominatimGeocoderBackend.apk \
"$dir/system/app/NominatimGeocoderBackend/NominatimGeocoderBackend.apk"
install -D apk/android_vendor_partner_gms/FDroid/FDroid.apk \
"$dir/system/app/FDroid/FDroid.apk"
3 years ago
install -D apk/android_vendor_partner_gms/FDroidPrivilegedExtension/FDroidPrivilegedExtension.apk \
"$dir/system/priv-app/FDroidPrivilegedExtension/FDroidPrivilegedExtension.apk"
install -D apk/android_vendor_partner_gms/FDroidPrivilegedExtension/privapp-permissions-org.fdroid.fdroid.privileged.xml \
"$dir/system/etc/permissions/privapp-permissions-org.fdroid.fdroid.privileged.xml"
3 years ago
./package.sh "$dir"
rm -rf "$dir"