Skip to content

Instantly share code, notes, and snippets.

@LukeZGD
LukeZGD / main.c
Last active September 29, 2026 02:43 — forked from mineek/main.c
patch restored external for iPhone X downgrades
#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)
@LukeZGD
LukeZGD / limd-build-macos.sh
Last active November 4, 2026 01:01 — forked from nikias/limd-build-macos.sh
Build libimobiledevice stack for macOS with ease
#!/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.