Creating a Linux live USB with persistent storage is very easy on Windows using tools like Rufus. But what about Linux or macOS?
This guide walks you through multiple methods to achieve the same result using Ventoy.
You have two main approaches:
| #!/usr/bin/env bash | |
| # This script is for compiling usbmuxd on macOS. | |
| # This script assumes limd-build-macos.sh has already been run. | |
| export MACOSX_DEPLOYMENT_TARGET=10.11 | |
| export CFLAGS="-arch x86_64 -arch arm64 -isysroot $(xcrun --sdk macosx --show-sdk-path)" | |
| export PREFIX="/usr/local" | |
| libplist_ver=2.0.12 | |
| rm -rf libusb libusb-darwin-seize.patch usbmuxd |
| #define _GNU_SOURCE | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <stdint.h> | |
| #include <string.h> | |
| // the following few functions are from patchfinder64 | |
| #define GET_OFFSET(len, x) (x - (uintptr_t) restored_external) |
| #define _GNU_SOURCE | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <stdint.h> | |
| #include <string.h> | |
| // the following few functions are from patchfinder64 | |
| #define GET_OFFSET(len, x) (x - (uintptr_t) restored_external) |
| // clang -isysroot iPhoneOS5.1.sdk -arch armv7 reboot4.c -o reboot4 | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <unistd.h> | |
| #include <sys/wait.h> | |
| #include <spawn.h> | |
| extern char **environ; |
requirements.txt and change the first line: pymobiledevice3<=6.2.0construct-typing<=0.7.0| // from https://github.com/verygenericname/SSHRD_Script/commit/708ce254fea08e442ecb4cd20c3fdbfe6ce9ab66 | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #define MAX_DIFFS 16384 | |
| void print_usage(const char *prog_name) { | |
| printf("Usage: %s kernelcache_original kernelcache_patched output.bpatch\n", prog_name); |
| #!/usr/bin/env bash | |
| # diff between theapplewiki and fwkeydb ivkeys | |
| #set -x | |
| types=(iPhone1,1 iPhone1,2 iPhone2,1 iPhone3,1 iPhone3,2 iPhone3,3 iPhone4,1 iPhone5,1 iPhone5,2 iPhone5,3 iPhone5,4 | |
| iPad1,1 iPad2,1 iPad2,2 iPad2,3 iPad2,4 iPad2,5 iPad2,6 iPad2,7 iPad3,1 iPad3,2 iPad3,3 iPad3,4 iPad3,5 iPad3,6 | |
| iPod1,1 iPod2,1 iPod3,1 iPod4,1 iPod5,1 | |
| iPhone6,1 iPhone6,2 iPhone7,1 iPhone7,2 iPhone9,1 iPhone9,2 iPhone9,3 iPhone9,4 | |
| iPad4,1 iPad4,2 iPad4,3 iPad4,4 iPad4,5 iPad4,6 iPad4,7 iPad4,8 iPad4,9 iPad5,1 iPad5,2 iPad5,3 iPad5,4 | |
| iPod7,1 iPod9,1) |
| #!/bin/bash | |
| # If you like this script and my work on libimobiledevice, please | |
| # consider becoming a patron at https://patreon.com/nikias - Thanks <3 | |
| REV=1.0.22 | |
| export MACOSX_DEPLOYMENT_TARGET=10.11 | |
| if test "`echo -e Test`" != "Test" 2>&1; then | |
| echo Please run this with zsh or bash. |
| Home Depot Offsets iOS 9.x. | |
| Found with the help of https://github.com/stek29/awful-offset-finder | |
| offset finder gives wrong clock_ops offsets for 9.0-9.1, so those are found manually. | |
| allproc offsets are likely wrong for 9.0-9.0.2. | |
| I can't get the 9.0-9.0.2 offsets to work anyway when I tried testing on my iPhone 5. | |
| A5 9.0-9.0.2 | |
| 0x317de4 | |
| 0x31a5d0 | |
| 0x1daec |