1.2 KiB
Reproducing the build of tr4mpass (checkm8 A8/xHCI branch)
Branch: fix/checkm8-a8-xhci.
Option 1 — Native (recommended for actually running it)
start.sh detects the OS, installs every dependency and builds:
git clone <repo-url>
cd tr4mpass
./start.sh
It installs packages through apt/brew/dnf/pacman/zypper/apk (needs sudo) and
runs make clean && make. The device must be connected by USB to that same
machine.
Option 2 — Container (reproducible build, nothing installed on the host)
podman build -t tr4mpass .
The Dockerfile (Debian trixie) installs libimobiledevice-dev,
libirecovery-1.0-dev, libusb-1.0-0-dev, libplist-dev, libssl-dev,
libcurl4-openssl-dev, libssh2-1-dev, pkg-config, build-essential,
usbutils and usbmuxd, then builds the binary.
Running inside the container needs the USB bus passed through:
podman run --rm -it --privileged -v /dev/bus/usb:/dev/bus/usb tr4mpass ./tr4mpass -v
Note: the sequence drives EP0 directly through libusb, so it needs the real USB
bus. Inside a container that means --privileged plus mounting /dev/bus/usb;
inside a VM or WSL it needs device passthrough as well.