fs_snapshot_rename: Invalid argument
Hello,
Thanks for your hard work. I get the following error once I run iproxy :
fs_snapshot_rename: Invalid argument
and here is the output of some commands you asked on reddit :
root@ (/var/root)# /mnt1/usr/bin/snappy -s
System Snapshot: com.apple.os.update-5BC2B14114A412931ACC06ED68B29800E14268BB230913656F584819E3D85E725FC81BE3F3184A4C84A702137873E366
root@ (/var/root)# /mnt1/usr/bin/snappy -f
snappy: option requires an argument -- f
Usage: snappy -f DIR [OPTIONS...]
-h, --help Print this help
-f, --filesystem DIR Filesystem to operate on (mountpoint)
-l, --list List snapshots on filesystem
-c, --create NAME Create a snapshot named NAME
-d, --delete NAME Delete a snapshot named NAME
-r, --rename NAME Rename a snapshot named NAME to name supplied by --to
-m, --mount NAME Mount snapshot named NAME to path specified by --to
(Mount currently not working on iOS)
-t, --to NAME
-v, --revert NAME Revert to snapshot named NAME
-s, --showhash Show the name of the system snapshot for this boot-manifest-hash
-x, --to-system Set the target snapshot name to be the iOS system-snapshot
-o, --orig Revert to the original pre-jailbreak snapshot
root@ (/var/root)# /mnt1 -l
-bash: /mnt1: is a directory
Also running this command /mnt1/usr/bin/snappy -f /mnt1 -r "com.apple.os.update-5BC2B14114A412931ACC06ED68B29800E14268BB230913656F584819E3D85E725FC81BE3F3184A4C84A702137873E366" -t orig-fs is returning the following :
Will rename snapshot com.apple.os.update-5BC2B14114A412931ACC06ED68B29800E14268BB230913656F584819E3D85E725FC81BE3F3184A4C84A702137873E366 on fs /mnt1 to orig-fs
fs_snapshot_rename: No such file or directory
Failure
Thanks in advance for your help !
Kinda similar issue here, but instead of it showing fs_snapshot_rename: Invalid argument it's showing fs_snapshot_rename: No such file or directory
root@ (/var/root)# /mnt1/usr/bin/snappy -f /mnt1 -l
Will list snapshots on /mnt1 fs
orig-fs
root@ (/var/root)# /mnt1/usr/bin/snappy -f /mnt1 -r "com.apple.os.update-5BC2B14114A412931ACC06ED68B29800E14268BB230913656F584819E3D85E725FC81BE3F3184A4C84A702137873E366" -t orig-fs
Will rename snapshot com.apple.os.update-5BC2B14114A412931ACC06ED68B29800E14268BB230913656F584819E3D85E725FC81BE3F3184A4C84A702137873E366 on fs /mnt1 to orig-fs
fs_snapshot_rename: No such file or directory
Failure
Yes the snappy usage ended up wrong; I was only able to perform what the script intends to do manually once; I wrote the script after. I might be able to test on a new device on iOS 13 soon, and a refactor of this whole project is needed. I'm pretty sure most of the binaries I added aren't needed, and I may not be very in line with snappy's license (oops...)