Last active
April 6, 2021 22:08
-
-
Save annidy/d4c6de674a1a6aa37266 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ssh -p 2222 root@localhost "/sbin/hfs_uti /dev/rdisk0s2s1 cat /.journal" > my.journal | |
ssh -p 2222 root@localhost "/sbin/hfs_uti /dev/rdisk0s1s2 cat /.journal" > my.journal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install-filter.exe install "--device=USB\VID_05AC&PID_1281&REV_0000" | |
iRecovery -c "setenv auto-boot true" | |
iRecovery -c "saveenv" | |
iRecovery -c "reboot" | |
install-filter.exe uninstall "--device=USB\VID_05AC&PID_1281&REV_0000" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ -a /dev/disk0s1s2 ]; then # test for iOS 5 data partition | |
mount_hfs /dev/disk0s1s1 /mnt1 2>/dev/null | |
mount_hfs /dev/disk0s1s2 /mnt2 2>/dev/null | |
elif [ -a /dev/disk0s2s1 ]; then # test for iOS 4 data partition | |
mount_hfs /dev/disk0s1 /mnt1 2>/dev/null | |
mount_hfs /dev/disk0s2s1 /mnt2 2>/dev/null | |
else | |
echo "Error mounting partitions. Please try it manually" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment