mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-27 18:34:14 +01:00
One more update to erase78
idk if this rm command will work but ok for #468
This commit is contained in:
parent
c24852acd7
commit
3186c3242c
@ -4424,7 +4424,7 @@ device_ramdisk64() {
|
|||||||
print " /sbin/mount_apfs /dev/disk0s1s1 /mnt1; /sbin/mount_apfs /dev/disk0s1s2 /mnt2"
|
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 "* 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 " /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
|
menu_ramdisk $build_id
|
||||||
}
|
}
|
||||||
@ -4923,6 +4923,7 @@ menu_ramdisk() {
|
|||||||
pause
|
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 "/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 "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"
|
$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"
|
log "Done, your device should reboot now"
|
||||||
print "* Proceed to trigger a restore by entering wrong passwords 10 times."
|
print "* Proceed to trigger a restore by entering wrong passwords 10 times."
|
||||||
|
Loading…
Reference in New Issue
Block a user