diff --git a/ChangeLog.md b/ChangeLog.md index 78ddb97..b445440 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -22,6 +22,9 @@ * improved APEX compatibility * improved Android 10 compatibility +* Installer, Patcher, SysTest + * also detect whether ROM has `FAKE_PACKAGE_SIGNATURE` permisson on self-patched ROMs + * Google Package * fix GoogleCalendarSync on SDK 21 - 29 @Spongebob * fix installing swipe libraries in cases where `LatinIME` does not have it's libs linked to `/system` diff --git a/CommonInstaller b/CommonInstaller index 5cac0c9..e0fd6af 100644 --- a/CommonInstaller +++ b/CommonInstaller @@ -783,16 +783,6 @@ magisk_install_preinst () { cp ${MODPATH}/system.prop ${TMPDIR}/system.prop fi - if [ -f ${MODPATH}/system/framework/services.jar ]; then - print_info " << backing up patched services.jar" - cp ${MODPATH}/system/framework/services.jar ${TMPDIR}/services.jar - fi - - if [ -f ${MODPATH}/system/framework/org.spoofing.apk ]; then - print_info " << backing up org.spoofing.apk" - cp ${MODPATH}/system/framework/org.spoofing.apk ${TMPDIR}/org.spoofing.apk - fi - if [ -d ${MODPATH}/logs ]; then print_info " << backing up init.d script logs" cp -r ${MODPATH}/logs ${TMPDIR}/logs @@ -825,18 +815,6 @@ magisk_install_postinst () { print_info " << restoring logcats" cp -r ${TMPDIR}/logcats ${MODPATH}/logcats fi - - if [ -f ${TMPDIR}/services.jar ]; then - print_info " << restoring patched services.jar" - mkdir -p ${MODPATH}/system/framework - cp ${TMPDIR}/services.jar ${MODPATH}/system/framework/services.jar - fi - - if [ -f ${TMPDIR}/org.spoofing.apk ]; then - print_info " << restoring org.spoofing.apk" - mkdir -p ${MODPATH}/system/framework - cp ${TMPDIR}/org.spoofing.apk ${MODPATH}/system/framework/org.spoofing.apk - fi } magisk_install_finish () {