From 3186c3242cba1d1ffb631fcc799eaec486953c69 Mon Sep 17 00:00:00 2001 From: LukeZGD <26163116+LukeZGD@users.noreply.github.com> Date: Thu, 25 Apr 2024 09:06:20 +0800 Subject: [PATCH] One more update to erase78 idk if this rm command will work but ok for #468 --- restore.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/restore.sh b/restore.sh index bf0308a..274b858 100755 --- a/restore.sh +++ b/restore.sh @@ -4424,7 +4424,7 @@ device_ramdisk64() { print " /sbin/mount_apfs /dev/disk0s1s1 /mnt1; /sbin/mount_apfs /dev/disk0s1s2 /mnt2" print "* Mount filesystems with this command (for iOS 10.2.1 and older):" print " /sbin/mount_hfs /dev/disk0s1s1 /mnt1; /sbin/mount_hfs /dev/disk0s1s2 /mnt2" - print "* Mounting data (/mnt2) might not work depending on iOS" + print "* Mounting and/or modifying data (/mnt2) might not work depending on iOS" menu_ramdisk $build_id } @@ -4923,6 +4923,7 @@ menu_ramdisk() { pause $ssh -p $ssh_port root@127.0.0.1 "/sbin/mount_hfs /dev/disk0s1s1 /mnt1; /sbin/mount_hfs /dev/disk0s1s2 /mnt2; cp /com.apple.springboard.plist /mnt1/" $ssh -p $ssh_port root@127.0.0.1 "cd /mnt2/mobile/Library/Preferences; mv com.apple.springboard.plist com.apple.springboard.plist.bak; ln -s /com.apple.springboard.plist ./com.apple.springboard.plist" + $ssh -p $ssh_port root@127.0.0.1 "rm /mnt2/mobile/Library/SpringBoard/LockoutStateJournal.plist" $ssh -p $ssh_port root@127.0.0.1 "sync; cd /; /sbin/umount /mnt2; /sbin/umount /mnt1; sync; /sbin/reboot" log "Done, your device should reboot now" print "* Proceed to trigger a restore by entering wrong passwords 10 times."