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."