Important
ModStaller still signs in after Apple's October 2026 change. Since mid-October 2026 Apple refuses the anisette data that nearly every free sideloader relied on, and their sign-in failed with "This action cannot be completed at this time. (-80045)". ModStaller 1.4.0-rc.6 and later get the anisette data from an anisette-v3 server running a Mac ADI, which Apple still accepts - your Apple ID and password never go there. Details under Pitfalls solved here.
A multi-platform iOS sideloader. ModStaller takes an IPA, signs it with a development certificate from your own Apple account and installs it on your iPhone - no Mac, no jailbreak, no paid developer account required. It also enables JIT for emulators and Java launchers, including on iOS 26/27 devices with TXM.
| Platform | Status |
|---|---|
| Linux | ✅ officially supported (Setup AppImage, portable AppImage, CLI) |
| Windows | ✅ officially supported (installer, CLI) |
| Android | 🛠️ planned - Android phone as the host, iPhone via USB-C/OTG |
| macOS | ➖ not planned - use Xcode or AltStore there |
Tested on: iPhone 16 Pro Max (iPhone17,2), iPhone 17 pro max, iOS 27.0/27.0.1, CachyOS/Arch and Windows. See Supported devices for the full list.
Contents: Features · Roadmap · Supported devices · Wi-Fi, Apple TV and Vision Pro · Store · Installation · Usage · JIT · Limits of free Apple accounts · Pitfalls solved here · Development · AI disclosure and contributions · Security · Credits · License
- Sign and install IPAs with your own Apple ID (free or paid account),
including 2FA. Drag and drop in the GUI, or
modstaller install app.ipa. - Refresh before the 7-day expiry of free accounts. The original IPA is remembered and the bundle ID stays stable, so app data survives.
- Wi-Fi: pair an iPhone over USB once, then install, renew and list apps without the cable - the automatic renewal in the tray included. See Wi-Fi, Apple TV and Vision Pro.
- Apple TV (tvOS 17+, beta): pair it by PIN over the network, then sign and install tvOS apps and renew them like iPhone apps.
- iPad, iPod touch and Apple Vision Pro (beta): iPads and the iPod touch work like an iPhone, with JIT down to iOS 12. The Vision Pro pairs over the network like an Apple TV and runs visionOS apps as well as iPhone/iPad apps.
- Runs in the tray (Linux and Windows, starts with the system): reminds you 3 days before an app expires and renews it on its own on the last day, as soon as the iPhone is connected via USB. Updates are installed in the background while ModStaller is not in use. Everything can be switched off under Settings > Background. See Background.
- JIT through StikDebug's universal protocol, including the extensions apps send along - works on TXM/SPTM devices (A15 and newer, iOS 26/27). See JIT.
- iPhone check: pairing, Developer Mode, Developer Disk Image, app slots and free storage, with one-click fixes where Apple allows them.
- IPA editor before installing: icon, name on the home screen, bundle ID, and which app extensions stay - one by one.
- Account management: team, App IDs, certificates - with Apple's real weekly App ID quota (how many are left, when the next one frees up) and the app slots on the iPhone.
- Auto-updates for the AppImage, the Linux installation and the Windows installer.
- Store: browse apps from sources in the AltStore format (AltStore, SideStore and any you add), install with one click, get notified about updates - and have them applied while renewing. See Store.
- Seven languages: English, German, French, Spanish, Italian, Portuguese (Brazil) and Dutch.
- GUI and CLI on the same backend - everything the window can do, a script can do too.
Done recently
- Windows: CI builds, installer, CLI zip, auto-update, full test pass on real machines
- Windows declared officially supported
-
refreshtested end to end against a real 7-day expiry - JIT ported to StikDebug's universal protocol (app extensions run)
- iOS 27: Developer Disk Image installed as a cryptex over the RSD tunnel
- Multiple Apple accounts and multiple devices
- Wi-Fi: iPhones reachable without the cable after pairing once over USB (install, renew, app list, automatic renewal in the tray)
- Apple TV (tvOS 17+): pairing by PIN, installing and renewing tvOS apps (beta)
- iPad, iPod touch (7th gen) and Apple Vision Pro (beta), with a check which IPA fits which device
- JIT on iOS 12 - 16 through the classic debugserver (no tunnel needed)
- IPA editor - change display name, bundle ID, version, icon and entitlements before installing, and choose which extensions to keep
Next
- Automatic refresh: systemd timer (Linux) and Task Scheduler (Windows)
- Test more devices, especially an A13/A14 iPhone without TXM and older iOS versions (see Supported devices)
- iPad test pass; Apple TV test pass on more models
- JIT on Apple TV and Vision Pro (needs a tvOS / visionOS Developer Disk Image)
- Vision Pro test pass on a real device
Android
- Use an Android phone as the host: connect the iPhone via USB-C/OTG, sign and install directly from Android - no PC needed
- Evaluate the USB stack on Android (usbmuxd replacement without root)
- Android app with the same feature set as the desktop UI
Backend rewrite in Rust
- Rebuild the backend in Rust - one small native binary per platform instead of a bundled Python runtime, and the base for the Android host
- Keep the JSON-RPC interface, so the GUI and scripts keep working unchanged during the migration
Ideas (maybe)
- A small built-in IPA market: sources in the AltStore format, apps installable with one click - see Store
ModStaller uses the same mechanism as Xcode's free provisioning, so in
principle it works on every iPhone that can run a supported iOS version.
Test reports are very welcome: open an issue with the model, the iOS version
and the output of modstaller device info.
Legend: ✅ tested · 🟡 expected to work, untested · ❌ not supported
| Model | Chip | TXM/SPTM | Install | JIT |
|---|---|---|---|---|
| iPhone 17, 17 Pro, 17 Pro Max, iPhone Air and newer | A19 / A19 Pro and newer | yes | ✅ | ✅ |
| iPhone 16 Pro Max | A18 Pro | yes | ✅ | ✅ |
| iPhone 16 Pro, 16, 16 Plus, 16e | A18 Pro / A18 | yes | 🟡 | 🟡 |
| iPhone 15 Pro, 15 Pro Max | A17 Pro | yes | 🟡 | 🟡 |
| iPhone 15, 15 Plus, 14 Pro, 14 Pro Max | A16 | yes | 🟡 | 🟡 |
| iPhone 14, 14 Plus, 13 series, SE (3rd gen) | A15 | yes | 🟡 | 🟡 |
| iPhone 12 series | A14 | from iOS 27 | 🟡 | 🟡 ¹ |
| iPhone 11 series, SE (2nd gen) | A13 | from iOS 27 | 🟡 | 🟡 ¹ |
| iPhone XS, XS Max, XR (up to iOS 18) | A12 | - | 🟡 | 🟡 ⁴ |
| iPhone 8, 8 Plus, X (up to iOS 16) | A11 | - | 🟡 | 🟡 ⁴ |
| iPhone 6s, 6s Plus, SE (1st gen), 7, 7 Plus (up to iOS 15) | A9 / A10 | - | 🟡 | 🟡 ⁴ |
| iPhone 5s, 6, 6 Plus (iOS 12) | A7 / A8 | - | 🟡 | 🟡 ⁴ |
| iPhone 5c and older | 32-bit / iOS 10 | - | ❌ | ❌ |
¹ On iOS 26 and older these devices have no TXM, so attaching a debugger once is enough for JIT - ModStaller detects that and skips the conversation. From iOS 27 on, iOS treats every supported device like a TXM device.
iPads use exactly the iPhone's way: cable or Wi-Fi, the same checks, the same JIT. iPhone apps run on an iPad in compatibility mode; an iPad-only app is refused on an iPhone or iPod touch before anything is created at Apple.
| Model | Chip | TXM/SPTM | Install | JIT |
|---|---|---|---|---|
| iPad Pro, iPad Air (M2 and newer), iPad mini (A17 Pro) | M2+ / A17 Pro | yes | 🟡 | 🟡 |
| iPad Pro, iPad Air (M1) | M1 | from iOS 27 | 🟡 | 🟡 ¹ |
| iPad, iPad mini, iPad Air with A-chip (A12 and newer) | A12 - A16 | from iOS 27 | 🟡 | 🟡 ¹ |
| Older iPads with iOS 12 or newer (iPad Air 1 / mini 2 and later) | A7 - A11 | - | 🟡 | 🟡 ⁴ |
| iPad 4th gen, iPad mini 1 and older | 32-bit / iOS 10 | - | ❌ | ❌ |
| Model | Chip | iOS | Install | JIT |
|---|---|---|---|---|
| iPod touch (7th gen, 2019) | A10 | up to 15.8 | 🟡 | 🟡 ⁴ |
| iPod touch (6th gen, 2015) | A8 | up to 12.5 | 🟡 | 🟡 ⁴ |
| iPod touch (5th gen) and older | 32-bit | up to 9.3 | ❌ | ❌ |
⁴ Below iOS 17 JIT goes through the classic debugserver and the classic Developer Disk Image - no tunnel needed, and below iOS 16 no Developer Mode either. The limit is iOS 12: everything that runs it can be supported, 32-bit devices (iOS 10 and older) cannot.
| Model | Chip | Identifier | Install | JIT |
|---|---|---|---|---|
| Apple Vision Pro (M5, 2025) | M5 | RealityDevice17,1 | 🟡 beta | ❌ ³ |
| Apple Vision Pro (2024) | M2 | RealityDevice14,1 | 🟡 beta | ❌ ³ |
Paired over the network like an Apple TV (see Wi-Fi, Apple TV and Vision Pro). It runs native visionOS apps and iPhone/iPad apps ("Designed for iPad"). Not tested on a real device yet: ModStaller signs for it the iOS way, which Apple is expected to accept - reports very welcome.
| Model | Chip | Identifier | Install | JIT |
|---|---|---|---|---|
| Apple TV 4K (3rd gen, 2022) | A15 | AppleTV14,1 | 🟡 ² | ❌ ³ |
| Apple TV 4K (2nd gen, 2021) | A12 | AppleTV11,1 | 🟡 ² | ❌ ³ |
| Apple TV 4K (1st gen, 2017) | A10X | AppleTV6,2 | 🟡 ² | ❌ ³ |
| Apple TV HD (2015, formerly "Apple TV 4th gen") | A8 | AppleTV5,3 | 🟡 ² | ❌ ³ |
| Apple TV 3 and older | - | - | ❌ | ❌ |
² Needs tvOS 17 or newer: pairing works by PIN over the network (RemotePairing), which older tvOS versions don't offer. Apple TV support is new and still in beta - test reports are especially welcome here.
³ JIT needs a Developer Disk Image for tvOS or visionOS, which ModStaller cannot bring along yet.
Apple TVs are reached over the network only, even models with a USB port - see Wi-Fi, Apple TV and Vision Pro. Install the tvOS version of an app; iPhone IPAs do not run on an Apple TV.
| tvOS | Install | JIT | Notes |
|---|---|---|---|
| 17.0 and newer | 🟡 | ❌ | pairing by PIN; untested so far |
| 16.x and older | ❌ | ❌ | no pairing over the network |
| iOS | Install | JIT | Notes |
|---|---|---|---|
| 27.x | ✅ | ✅ | tested on 27.0; Developer Disk Image is a cryptex |
| 26.x | 🟡 | 🟡 | expected to work |
| 17.4 - 18.x | 🟡 | 🟡 | expected to work, untested |
| 17.0 - 17.3 | 🟡 | ❓ | JIT uses an older tunnel variant and is unverified |
| 12.0 - 16.x | 🟡 | 🟡 | JIT through the classic debugserver (no tunnel, no Developer Mode before 16) |
| 11.x and older | ❌ | ❌ | not supported |
These come from Apple's rules for development-signed apps and apply to every device above, regardless of ModStaller:
- Developer Mode must be enabled (iOS 16 and later). The iPhone check can switch it on for you - see Usage.
- The device must be paired and trusted with the computer ("Trust This Computer", passcode on first connect).
- The developer certificate must be trusted once on the iPhone under Settings › General › VPN & Device Management.
- The device is registered to your Apple team automatically on first install. This counts against Apple's device limit for your account.
- Free accounts get 7-day profiles, at most 3 sideloaded apps per device and 10 new App IDs per week - see Limits of free Apple accounts. Paid accounts get one-year profiles and don't have the 3-app limit.
- JIT additionally requires the app to be development-signed
(
get-task-allow) and, on TXM/SPTM devices, to implement the breakpoint protocol described under JIT.
Prebuilt binaries are available under Releases:
| File | For |
|---|---|
ModStaller-Setup-X.Y.Z-x86_64.AppImage |
Linux, GUI - installs ModStaller for your user (start menu entry, modstaller command in the terminal), no root needed, updates itself |
ModStaller-X.Y.Z-x86_64.AppImage |
Linux, GUI - portable: runs from wherever you put it, nothing is installed, updates itself |
modstaller-bin (own pacman repository) |
Arch Linux & co: see Arch Linux - GUI (modstaller-gui) and CLI (modstaller), updates through pacman -Syu |
ModStaller-Setup-X.Y.Z.exe |
Windows, GUI - installer without admin rights, updates itself |
ModStaller-CLI-X.Y.Z-windows-x64.zip |
Windows, command line: modstaller.exe + zsign.exe |
Python, pymobiledevice3, QuickJS and zsign are bundled in each. The only thing your machine needs is the service that makes the iPhone reachable over USB.
Linux:
sudo pacman -S usbmuxd fuse2 # Arch (fuse2 for AppImages)
sudo apt install usbmuxd libfuse2 # Debian/Ubuntu
sudo dnf install usbmuxd fuse-libs # FedoraLinux setup: make the Setup AppImage executable and start it
(chmod +x ModStaller-Setup-*.AppImage, then double-click or run it). It
installs to ~/.local/share/modstaller-gui/, puts modstaller-gui and
modstaller into ~/.local/bin and adds a start menu entry. Running the
Setup AppImage again offers repair and uninstall; alternatively run
~/.local/share/modstaller-gui/uninstall.sh (add --purge to also delete
sign-ins and settings). The portable AppImage keeps working side by side.
Arch Linux (and CachyOS, EndeavourOS, Manjaro …): ModStaller has a
signed pacman repository of its own. It always offers the latest stable
version, so pacman -Syu keeps it up to date. Once:
# 1. Trust the repository's signing key
curl -sLo /tmp/modstaller.asc https://github.com/Crafttino21/ModStaller/releases/latest/download/modstaller-pacman.asc
sudo pacman-key --add /tmp/modstaller.asc
sudo pacman-key --lsign-key "$(gpg --show-keys --with-colons /tmp/modstaller.asc | awk -F: '/^fpr/{print $10; exit}')"
# 2. Add the repository at the end of /etc/pacman.conf
printf '\n[modstaller]\nSigLevel = Required DatabaseRequired\nServer = https://github.com/Crafttino21/ModStaller/releases/latest/download\n' \
| sudo tee -a /etc/pacman.conf
# 3. Install
sudo pacman -Sy modstaller-binIt installs to /opt/modstaller and brings usbmuxd along. The
PKGBUILD lives in packaging/aur/modstaller-bin/ - makepkg -si there
builds the same package by hand.
Windows: ModStaller needs Apple's device service (and the USB driver
that comes with it). Windows Explorer shows an iPhone even without it
(through its own photo import driver), but ModStaller cannot reach it that
way. The setup checks for the service and, if it is missing or stopped,
sets it up on request - so does the Set up automatically button in the
GUI and modstaller usb-setup on the command line:
- the "Apple Devices" app from the Microsoft Store via
winget; - if that is not possible, only Apple's USB driver (Apple Mobile Device Support), taken from the iTunes installer downloaded from apple.com - iTunes itself is not installed, and nothing runs unless Apple's signature checks out.
Windows asks for confirmation once. Installing "Apple Devices" or iTunes by
hand works just as well. On first launch
SmartScreen warns because the .exe is not signed with a paid certificate:
"More info" › "Run anyway". If the GUI ever reports that the backend is
unreachable, the full log is in %APPDATA%\ModStaller\logs\main.log.
modstaller doctor (or the system check in the GUI) shows whether
everything is in place.
The GUI shows up front whether the iPhone is connected, whether you are signed in and what is about to expire. IPAs can simply be dragged into the window.
Before installing the IPA can be edited: tap the icon to pick a new one (any image, cropped to a square), change the name on the home screen or the bundle ID, and tick which extensions stay. Below it ModStaller shows live what that costs:
- Free accounts may create 10 App IDs per 7 days - Apple counts creations, so deleting one gives nothing back. The bar shows how many are left and when the next one frees up. Every kept extension needs an App ID of its own.
- If the quota does not suffice, the install is stopped before anything is created, with two ways out: leave out extensions, or reuse an existing, unused App ID.
- Free profiles allow 3 apps on the iPhone at once. When they are taken, the install screen lists them with a button to remove one.
The choices are remembered, so renewing an app repeats them. On the command
line: modstaller install app.ipa --name … --bundle-id … --icon icon.png --keep-extension PlugIns/Share.appex.
As soon as an iPhone is plugged in, the iPhone check runs: pairing, iOS version, Developer Mode, Developer Disk Image, used app slots and free storage. Anything that can be fixed automatically gets a button:
- Request pairing - then just tap "Trust" on the iPhone.
- Enable Developer Mode - fully automatic without a passcode, including reboot and confirmation. With a passcode iOS refuses this; ModStaller then reveals the otherwise hidden toggle in Settings instead.
- Mount Developer Disk Image (only needed for JIT) and remove expired profiles.
"Trust developer" (Settings › General › VPN & Device Management) remains a manual step - there is no interface for it.
Language: the setup asks for it (the Windows installer's language dialog, the language list in the Linux setup) and ModStaller starts in that language. Settings › Language switches it at any time, including system checks and error messages from the backend.
The command line offers the same:
modstaller doctor # system check
modstaller login # once, asks for Apple ID + 2FA code
modstaller account # team, quotas, registered App IDs
modstaller device info # iPhone, iOS version, Developer Mode
modstaller install app.ipa # sign and install
modstaller list # what is installed and how long it has left
modstaller refresh # renew before the 7-day expiry
modstaller uninstall <bundle-id> # remove an app, frees a slot
modstaller certs # show/revoke certificates
modstaller jit <bundle-id> # enable JIT (Java/emulator apps)
modstaller devices # everything on USB and in the network
modstaller device wifi on # iPhone on the cable: reach it over Wi-Fi too
modstaller pair # pair an Apple TV (PIN) or Vision Pro
modstaller -u <udid> install app.ipa # pick a device when there are severalWith a free account, app extensions are stripped by default: each one costs
an App ID from a quota of ten per week, and the app itself runs fine without
them. Use --keep-extensions to keep them.
Background. Closing the window keeps ModStaller running in the tray, and it starts there after you log in (without a window). From there it does three things:
- Reminds you 3 days before an app expires.
- Renews the app within its last 24 hours. This needs the iPhone connected via USB. If it isn't, ModStaller asks for it and renews as soon as it shows up. It never signs in on its own: if Apple wants a new sign-in or 2FA, you get a notification instead.
- Updates itself: new versions are downloaded and installed while the window has been closed for a while and nothing is running. Afterwards the new version keeps running in the tray.
Settings > Background switches each of these off and sets the lead times. The tray menu has Renew now and Quit. On GNOME the tray icon needs the AppIndicator extension; reminders and renewals work without it, and starting ModStaller again brings up the window.
Store in the sidebar lists apps from sources - JSON files in the format AltStore and SideStore use. ModStaller comes with these - mostly the official sources of open source or free projects:
| Source | What's in it |
|---|---|
| AltStore | AltStore, the Delta emulator, Clip |
| SideStore Team Picks | community picks, mostly emulators (PPSSPP, iNDS, MAME4iOS, …) |
| SideStore | SideStore itself |
| UTM | UTM and UTM SE - virtual machines |
| crystall1ne.dev | PojavLauncher and its successor Angel Aura Amethyst (Minecraft: Java Edition) |
| OatmealDome | DolphiniOS (GameCube, Wii) |
| Provenance | Provenance, iCube |
| Flyinghead | Flycast (Dreamcast, Naomi) |
| iSH | a Linux shell for iOS |
| StikDebug | StikDebug, StikPair |
| Quantum Source | a large community collection of emulators and tools - also jailbreak tools and exploits, see below |
| YTLitePlus | YouTube with Tweaks, might be outdated |
Many of these need JIT - ModStaller enables it (see JIT).
More sources are added under Store › Sources by URL (https only). Sources you add are your responsibility: ModStaller shows what they list and does not check it - only install apps you are allowed to use.
- Only what fits. The store shows the apps that run on the selected
device - iPhone, iPad, iPod touch, Apple TV or Vision Pro - and its system
version (Show all shows the rest). Sources rarely say which devices an
app is for, so ModStaller reads that from the IPA itself: a few kilobytes
of its
Info.plistvia HTTP range requests, not the whole download, and only once per version. Where a newer version needs a newer iOS, an older one from another source is offered instead. - One app, one entry. Many apps are in several sources. The store shows each once - the newest version speaks for it - and the detail view lets you pick the source to download from.
- Warnings. Jailbreak tools (unc0ver, Taurine, Odyssey), exploit tools (Filza Escaped, the WDB tools) and third-party app stores (appdb) are marked, explain the risk and ask before installing: a jailbreak attacks the system and can end in a boot loop, a restore or lost data. Anything else that calls itself a jailbreak is marked too - also in sources you add.
- Install downloads the IPA and signs and installs it in one go, with the same defaults as the install screen. Customize … only downloads it and opens it in the install screen (name, icon, extensions, App ID quota).
- Downloaded IPAs are kept under the data folder (
ipa/): renewing an app signs its original IPA again. Settings › Store › Clear store cache removes pictures and every IPA no installed app needs. - Updates: when a source offers a newer version of an installed app, the store, the app list and the sidebar say so; one click updates it (same bundle ID, the app's data stays). With Settings › Background › Update store apps while renewing the tray does it on its own at the next renewal.
- Checks on the way: https only, the
sha256if the source gives one, the size, and that the download really is an IPA. Icons and screenshots are fetched by the backend - the window itself never talks to a source's server.
iPhone over Wi-Fi. Apple only lets a computer become "trusted" over the
cable. So Wi-Fi is switched on once while the iPhone is plugged in -
Device › Connection › Switch on Wi-Fi, or modstaller device wifi on.
ModStaller keeps the pairing and, from then on, finds the iPhone in the same
network by itself (Bonjour). Installing, renewing, the app list and the
automatic renewal in the tray then work without the cable. JIT and the
Developer Disk Image need iOS 17.4 or newer over Wi-Fi; below that they keep
needing the cable. The iPhone has to be awake enough to answer - if it is
not found, unlocking it usually helps.
Apple TV. An Apple TV 4K has no USB port; it is paired by PIN, the way Xcode does it:
- On the Apple TV: Settings › Remotes and Devices › Remote App and Devices, and keep that screen open.
- In ModStaller: Pair Apple TV or Vision Pro (bottom left), or
modstaller pair. - Type in the PIN the Apple TV shows.
Then pick the Apple TV as the device and install the tvOS version of an app - an iPhone IPA is refused with a clear message. Developer Mode has to be on (Settings › Privacy & Security › Developer Mode on the Apple TV). JIT is not available on Apple TV yet.
Apple Vision Pro. Like the Apple TV, over the network only:
- On the Vision Pro: Settings › General › Remote Devices.
- In ModStaller: Pair Apple TV or Vision Pro, or
modstaller pair. - Confirm the pairing on the Vision Pro.
It takes native visionOS apps and iPhone/iPad apps alike. Developer Mode has to be on (Settings › Privacy & Security › Developer Mode). JIT is not available on the Vision Pro yet.
Everything here runs without root or admin rights: the developer tunnel is a
userspace TCP stack inside ModStaller. The search uses Bonjour (mDNS, UDP
port 5353) - a firewall has to let it through, Windows asks once, and guest
networks with client isolation block it. modstaller doctor checks whether
the known devices are found.
Java and emulator apps generate machine code at runtime. iOS forbids this - such apps hang on launch ("Waiting for JIT").
Up to iOS 18 it was enough to attach a debugger: the kernel then set
CS_DEBUGGED, and that even survived detaching the debugger.
On devices with TXM/SPTM that is no longer enough. There, a memory page only becomes executable when an attached debugger writes to it: one byte per 16 KB page, and that very access grants the permission. JIT is therefore no longer a switch but a conversation:
App: brk #0xf00d, x16=1, x0=address, x1=length "prepare this"
Debugger: writes to every page, puts the address into x0
App: sets up its compiler memory
App: brk #0xf00d, x16=0 "done, you can go"
ModStaller speaks the universal protocol that StikDebug established, so
every app that works with StikDebug works here too. Apps can extend the
protocol by sending a piece of JavaScript (brk #0xf00d with x16=2) that
registers commands of their own - Amethyst does this, for example. ModStaller
really runs these extensions: its side of the protocol
(modstaller/device/jit_host.js) runs in an embedded QuickJS engine, with
the same global API an extension expects.
modstaller jit <bundle-id> mounts the Developer Disk Image if needed,
launches the app suspended, attaches via the RSD tunnel and serves the app's
requests until it signs off. On devices without TXM it just attaches once.
Limitations:
- The app has to cooperate. If it never triggers the breakpoint, it gets no JIT on TXM devices, no matter which debugger is attached.
- The app needs
get-task-allow- development-signed apps have it, App Store apps never do. - The unlock only applies to this launch of the app.
- The need only arises once the app actually wants to compile. For a Minecraft launcher that means: while ModStaller is waiting, start an instance in the launcher.
- The iPhone has to be unlocked while the Developer Disk Image is mounted. ModStaller asks for it and waits.
None of these are bugs in ModStaller; they come from Apple:
- Profiles expire after 7 days. After that the app won't launch until
modstaller refreshre-signs it. - At most 3 sideloaded apps at a time per device. The iPhone rejects the
fourth;
modstaller uninstall <bundle-id>frees a slot. - 10 App IDs per week. What counts is newly created ones - deleting one does not give quota back. When the window is full, ModStaller falls back to an existing, unused App ID; the app then runs under that bundle ID. App IDs of installed apps and their extensions are left untouched.
- Only one development certificate. Two sideloading tools used in parallel will push each other out, because the private key always lives with the tool that requested it.
Apple does not reveal directly whether an account is free: it reports paid
individual accounts as Individual too. ModStaller assumes "free" when in
doubt and corrects itself based on the lifetime of the first profile - 7 days
means free, one year means paid.
Apple's 503 smoke screen. Since the end of August 2026, Apple rejects
every GSA request at the edge with HTTP 503 if its X-MMe-Client-Info
carries the identifier com.apple.dt.Xcode - which the anisette library
does by default. It looks like an Apple outage but isn't one. ModStaller
replaces the identifier with com.apple.akd and refuses, in
apple/clientinfo.py, any request that doesn't:
com.apple.dt.Xcode -> HTTP 503, 190 B (rejected at the edge)
com.apple.akd/1.0 -> HTTP 404 (got through)
Android anisette is refused (October 2026). Up to 1.4.0-rc.5 ModStaller
computed the anisette data locally, by emulating the ADI from Apple's Android
app. Since mid-October 2026 Apple refuses that - and the older anisette
servers, which run the same Android ADI. Next to a macOS client info the very
first sign-in request fails with -80045 ("This action cannot be completed
at this time"), next to an Android one Apple answers HTTP 503 at the edge.
Anisette servers running a Mac or Windows ADI still get through, so
ModStaller now speaks the full anisette-v3 protocol (provisioning over a
WebSocket; the requests to Apple go out from here) and uses such a server by
default. modstaller doctor flags the local emulation and the old servers.
local emulation, macOS client info -> ec=-80045, hsc=500
mac-ani.jkcoxson.com -> gets through to the account check
The servers' Mac is too old (November 2026). Every public anisette
server introduces itself as a MacBook Pro with macOS 10.12.6. Apple answers
some accounts with -23782 ("A Mac with macOS version 10.13 or later is
required"), and confirms the others by text message instead of on a trusted
device - the code is accepted, and the next handshake asks for one again
(au=secondaryAuth). Since 1.4.1 ModStaller introduces itself as a current
Mac instead, from the provisioning on, with the user agent that belongs to
it. The OS has to be spelled Mac OS X, as Apple's own frameworks do:
<Mac OS X;10.12.6;16G29> -> gets through, but see above
<macOS;27.2;26B123> -> HTTP 503, 190 B (rejected at the edge)
<Mac OS X;27.2;26B123> -> gets through
Should Apple move the goalposts again before an update is out, config.toml
can override both (they have to fit together):
anisette_client_info = "<Mac17,3> <Mac OS X;27.2;26B123> <com.apple.AuthKit/1 (com.apple.akd/1.0)>"
anisette_user_agent = "akd/1.0 CFNetwork/3896.200.61 Darwin/27.2.0"
Apple's private CA. gsa.apple.com is signed by "Apple Server
Authentication CA", not a public CA, so the system trust store fails every
connection. The chain lives in modstaller/apple/certs/apple-gsa-ca.pem -
we verify against it instead of disabling verification.
One request per connection. Apple's edge only lets the first request on
a TCP connection to GsService2 through; every further one gets HTTP 429:
Connection reused: 404, 429, 429, 429, 429, 429
Connection: close: 404, 404, 404, 404, 404, 429
A login consists of two requests, so with keep-alive every login fails on the second one and looks like a locked account. ModStaller forces a fresh connection per request and retries the remaining per-IP 429s a limited number of times - harmless, because the edge rejects them before the SRP cookie is consumed.
Control Flow Guard kills the Windows build. The Anisette provider runs
Apple's ADI libraries in an ARM emulation (Unicorn). PyInstaller's bootloader
is linked with Control Flow Guard, python.exe is not - and CFG applies to
the whole process. Unicorn longjmps out of JIT-generated code, MSVC's
runtime finds no CFG entry for that target and calls __fastfail
(0xC0000409): the backend simply vanishes. packaging/build_backend.py
clears that flag from the finished binaries; apple/anisette.py checks the
policy at runtime as a safety net.
The universal-script handshake. Amethyst probes the debugger with
brk #0x69 and only continues if x0 then holds 0x690000E0. StikDebug
answers with P0=E0000069 - and since the GDB P packet takes
little-endian bytes, the register really ends up as 0x690000E0. Answering
with the "correct" value 0xE0000069 makes the app report a legacy script.
iOS 27 Developer Disk Image. From iOS 27 on, pymobiledevice3 installs
the image as a cryptex and refuses plain lockdown with RSDRequiredError.
ModStaller mounts over the RSD tunnel from iOS 17 on, and checks the
installed cryptexes as well, since the classic image mounter no longer
lists the image.
The diagnosis of the 503 and 429 findings builds on investigations by SideStore (issue #1557) and OpenTagViewer (issue #226); the implementation here is original code.
python -m venv .venv
.venv/bin/pip install -e . pytest pytest-asyncio
paru -S zsign-bin # or build zsign yourself
.venv/bin/modstaller doctor
.venv/bin/python -m pytest -q
cd gui && npm install && npm run dev # GUI with hot reloadThe GUI is a client just like the command line: it starts
modstaller serve and talks to it via JSON-RPC over stdin/stdout
(modstaller/server.py).
Building:
| Command | Builds |
|---|---|
./buildscripts/build-appimage.sh |
both AppImages (portable and Setup) - only needs Docker; --run launches the portable one afterwards |
buildscripts\build-windows.bat |
the Windows installer - needs Python 3.13+, Node 22+ and Visual Studio 2022 with C++ for zsign.exe; --dir skips the installer, --run launches it afterwards |
Both run the same steps as .github/workflows/release.yml.
Releases: one script sets the version, commits, tags and pushes; GitHub does the rest (tests on Linux and Windows, AppImage, installer, CLI zip, update manifests):
./release.sh 1.3.0 # Linux
release.bat 1.3.0 # Windows
./release.sh 1.3.0-beta.1 # pre-releaseThe AppImage, the Linux installation and the Windows installer check for
updates at startup and every four hours. The Linux installation updates by
downloading the new Setup AppImage (checked against the SHA-512 in
latest-linux-setup.yml) and running it in update mode. Downloading and restarting only happen when you click the
button - never during an installation or a JIT session. Pre-releases are
only offered to users already running one.
Translations: English is the source language in the code, so a missing
translation shows the English sentence rather than a key. A new language is
one catalog on each side plus one line in gui/src/lib/i18n.svelte.ts:
| Side | File |
|---|---|
| Interface | gui/src/lib/locale/<code>.ts |
| Backend | modstaller/locale/<code>.json |
pytest tests/test_i18n.py checks every catalog against the source.
Parts of ModStaller's code were written with the help of AI tools. This includes code, tests, comments and documentation. Every AI-generated change has been reviewed, tested and taken responsibility for by a human maintainer before it was merged.
Contributions that contain AI-generated code are welcome in commits, branches and pull requests under the same conditions as any other code:
- It has been professionally reviewed by the person submitting it - you understand every line and can explain and defend it in review.
- It follows current best practices and security standards: no secrets in code or logs, input validated, TLS verified, no disabled checks, no unexplained dependencies, least privilege for anything touching the device or the Apple account.
- It is tested: new behavior comes with tests, and
pytestpasses. - It matches the codebase: naming, comment density and structure like the surrounding code.
- Licensing is clean: no code copied from sources whose license does not allow it. The JIT host, for example, is an independent implementation of StikDebug's protocol, not a copy of its AGPL-licensed script.
Marking AI assistance in the pull request description (and a
Co-Authored-By trailer in the commit where the tool adds one) is
appreciated. Unreviewed, bulk-generated changes will be closed.
Your Apple password is never stored and never transmitted: SRP-6a proves
knowledge of it without sending it. All secrets are stored under
~/.local/share/modstaller/ with mode 0600 inside 0700 directories.
ModStaller talks to Apple's servers, your own devices and one anisette
server (default https://mac-ani.jkcoxson.com). The anisette server computes
Apple's device attestation; it never sees your Apple ID or password, but it
does see a device identity and your IP address. You can name another one in
config.toml (anisette_server = "…"), or switch back to the local emulation
with anisette_provider = "local" - which Apple currently refuses, see
Pitfalls solved here. JavaScript
that an app sends for JIT runs in an isolated QuickJS context whose only
capabilities are the debugger commands for that app's own process.
Found a security issue? Please report it privately as described in SECURITY.md - not as a public issue.
ModStaller builds on pymobiledevice3 (device communication), zsign (signing), anisette (Apple anisette data) and quickjs-ng (JIT extensions). The JIT protocol follows StikDebug; the GSA findings build on SideStore, OpenTagViewer and isideload; the default anisette server is run by jkcoxson.
ModStaller is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the LICENSE file for details.
Contributions are accepted under the same license.