Commit graph

5 commits

Author SHA1 Message Date
tr4m0ryp
92e9f99f25 fix(#3): improve bypass module selection diagnostics
Resolves #3: [ERROR] No compatible bypass module for this device

Two bugs caused iPhone 15 (A12+, Path B) to get a generic "No compatible
bypass module" error despite being fully supported:

Bug A: select_module() in main.c printed a single unhelpful error line
when bypass_select() returned NULL, with no indication of WHY the device
was rejected. Added print_module_diagnostics() that reports DFU mode
status, CPID, chip name, checkm8 status, product type, and a specific
explanation (not in DFU, CPID unread, chip not in DB).

Bug B: handle_dfu_requirement() in start.sh only guided checkm8 (Path A)
devices into DFU mode. A12+ Path B devices were never prompted for DFU
entry, so the binary was launched with is_dfu_mode=0 and both path probes
rejected the device. Refactored to a shared wait_for_dfu_entry() helper
that is called for ALL supported devices not already in DFU mode.

Files modified:
- src/main.c
- start.sh

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-12 20:03:07 +02:00
tr4m0ryp
7225d83717 fix(#1): correct libirecovery apt package name
Resolves #1: Unable to locate package libirecovery-dev

The Debian/Ubuntu package is libirecovery-1.0-dev, not libirecovery-dev.
Updated the apt package list in start.sh and README.md.

Files modified:
- start.sh
- README.md

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-12 20:03:04 +02:00
tr4m0ryp
c28da85b66 refactor: Rename project from Itr4m to tr4mpass
Renamed binary, header, service labels, banner, README, start.sh,
and all documentation references. GitHub repo renamed to tr4mpass.
itr4m.h -> tr4mpass.h, ITR4M_* -> TR4MPASS_*, target binary -> tr4mpass.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 03:03:18 +02:00
tr4m0ryp
760223d912 feat(core): Rewrite start.sh with cross-platform support
Cross-platform OS detection (macOS/Linux/WSL), automatic dependency
installation via Homebrew or apt/dnf, auto-build, device connection
polling with timeout, device spec display, supported/unsupported
gating, and DFU mode guidance for Home button vs Face ID devices.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 02:50:17 +02:00
tr4m0ryp
7b7a307ab1 feat(core): Add main entry point and start.sh guided wrapper
CLI entry point with --verbose, --dry-run, --detect-only, and
--force-path-a/b flags. Detects DFU mode via libusb first, falls
back to libimobiledevice. Registers Path A and Path B bypass
modules. start.sh guides user through DFU mode entry.

Files created:
- src/main.c
- start.sh

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 02:25:26 +02:00