From 27bbbcfd3f0e0ae67b0f49ccc37c98460b54e72a Mon Sep 17 00:00:00 2001 From: MunyDev Date: Thu, 15 Aug 2024 14:10:13 -0400 Subject: [PATCH] added new fixes --- inshim.sh | 2 +- modify.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inshim.sh b/inshim.sh index 6dfbd78..fcab4f1 100644 --- a/inshim.sh +++ b/inshim.sh @@ -7,7 +7,7 @@ then echo "Run this as root" fi cp /mnt/stateful_partition/usr/share/packeddata/. /tmp/unencrypted/ -rvf +chown -R 1000 /mnt/stateful_partition/unencrypted/PKIMetadata umount /tmp -chown -R 1000 /mnt/stateful_partition/unencrypted crossystem disable_dev_request=1 reboot \ No newline at end of file diff --git a/modify.sh b/modify.sh index 31a7c0f..94c11fa 100644 --- a/modify.sh +++ b/modify.sh @@ -82,7 +82,7 @@ echo "Mounting at $MOUNT_DIR" enable_rw_mount "$LOOP_DEV"p1 mount -o rw "$LOOP_DEV"p1 "$MOUNT_DIR" mkdir -p "$MOUNT_DIR/usr/share/packeddata" -cp -rvf "./out/." "$MOUNT_DIR/usr/share/packeddata" +cp -rvf "./out/." "$MOUN T_DIR/usr/share/packeddata" mkdir -p "$MOUNT_DIR/usr/bin" cp "inshim.sh" "$MOUNT_DIR/usr/bin/inshim.sh" umount "$MOUNT_DIR"