From 8d7e9ed83d1fc564771f35d97af29cf2298298e8 Mon Sep 17 00:00:00 2001 From: MunyDev Date: Thu, 15 Aug 2024 11:51:39 -0400 Subject: [PATCH] added powerwash fixes --- inshim.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/inshim.sh b/inshim.sh index 10792a7..6dfbd78 100644 --- a/inshim.sh +++ b/inshim.sh @@ -1,5 +1,6 @@ #!/bin/bash mount /dev/sda1 /mnt/stateful_partition/ +mkfs.ext4 -F /dev/mmcblk0p1 # This only wipes the stateful partition mount /dev/mmcblk0p1 /tmp if [ "$(id -u)" -ne 0 ] then @@ -7,4 +8,6 @@ then fi cp /mnt/stateful_partition/usr/share/packeddata/. /tmp/unencrypted/ -rvf umount /tmp -chown -R 1000 /mnt/stateful_partition/unencrypted \ No newline at end of file +chown -R 1000 /mnt/stateful_partition/unencrypted +crossystem disable_dev_request=1 +reboot \ No newline at end of file