diff --git a/.github/workflows/magisk.yml b/.github/workflows/magisk.yml index ab582df..06e7a14 100644 --- a/.github/workflows/magisk.yml +++ b/.github/workflows/magisk.yml @@ -205,6 +205,12 @@ jobs: seclabel u:r:magisk:s0 oneshot EOF + - name: Fix External Storage + run: | + wget -O- "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/archive/$GITHUB_REF.tar.gz" | sudo tar --wildcards -zxvf- --strip-component=2 '*/x64/*' + sudo find system/system/priv-app -type d -exec chmod 0755 {} \; + sudo find system/system/priv-app -type f -exec chmod 0644 {} \; + sudo find system/system/priv-app -type d -exec chcon --reference=system/system/priv-app {} \; - name: Integrate GApps if: ${{ github.event.inputs.gapps_variant != 'none' && github.event.inputs.gapps_variant != '' }} run: | diff --git a/arm64/system/priv-app/ExternalStorageProvider/oat/arm64/ExternalStorageProvider.odex b/arm64/system/priv-app/ExternalStorageProvider/oat/arm64/ExternalStorageProvider.odex deleted file mode 100644 index 696d9b6..0000000 Binary files a/arm64/system/priv-app/ExternalStorageProvider/oat/arm64/ExternalStorageProvider.odex and /dev/null differ diff --git a/arm64/system/priv-app/ExternalStorageProvider/oat/arm64/ExternalStorageProvider.vdex b/arm64/system/priv-app/ExternalStorageProvider/oat/arm64/ExternalStorageProvider.vdex deleted file mode 100644 index acf22fb..0000000 Binary files a/arm64/system/priv-app/ExternalStorageProvider/oat/arm64/ExternalStorageProvider.vdex and /dev/null differ diff --git a/arm64/system/priv-app/ExternalStorageProvider/ExternalStorageProvider.apk b/arm64/system/system/priv-app/ExternalStorageProvider/ExternalStorageProvider.apk similarity index 100% rename from arm64/system/priv-app/ExternalStorageProvider/ExternalStorageProvider.apk rename to arm64/system/system/priv-app/ExternalStorageProvider/ExternalStorageProvider.apk diff --git a/x64/system/priv-app/ExternalStorageProvider/oat/x86_64/ExternalStorageProvider.odex b/x64/system/priv-app/ExternalStorageProvider/oat/x86_64/ExternalStorageProvider.odex deleted file mode 100644 index da9a5f0..0000000 Binary files a/x64/system/priv-app/ExternalStorageProvider/oat/x86_64/ExternalStorageProvider.odex and /dev/null differ diff --git a/x64/system/priv-app/ExternalStorageProvider/oat/x86_64/ExternalStorageProvider.vdex b/x64/system/priv-app/ExternalStorageProvider/oat/x86_64/ExternalStorageProvider.vdex deleted file mode 100644 index 015876e..0000000 Binary files a/x64/system/priv-app/ExternalStorageProvider/oat/x86_64/ExternalStorageProvider.vdex and /dev/null differ diff --git a/x64/system/priv-app/ExternalStorageProvider/ExternalStorageProvider.apk b/x64/system/system/priv-app/ExternalStorageProvider/ExternalStorageProvider.apk similarity index 100% rename from x64/system/priv-app/ExternalStorageProvider/ExternalStorageProvider.apk rename to x64/system/system/priv-app/ExternalStorageProvider/ExternalStorageProvider.apk