Repository navigation
Installer: the Amethyst route on iOS 12.0 to 13.7 - #177
Merged
Merged
Conversation
henrikklee
force-pushed
the
amethyst-installer
branch
from
December 5, 2026 03:22
2dc893f to
205ce7b
Compare
The board data has offered Amethyst ahead of checkra1n on iOS 12 and 13 since orchard#534 (from 12.0 since orchard#571), but the installer could not run it: the flow had no such helper, `install --access amethyst` was refused and the route was dropped when the data was read. Amethyst is now a helper app as Dopamine is (Helper::is_app): no DFU mode, signed with the user's Apple ID and installed while iOS runs, the same sign-in, steps and split after it. Where it fits comes from the data alone. The answer "12 to 14" to the version question takes only a route that covers all of it (checkra1n) as fitting; one that covers part of it (Amethyst, up to 13.7) may fit and is checked once iOS runs, so a device on iOS 14 in DFU mode is not sent through iOS for a route that can't take it. The companion gets a build for Amethyst (companion/out/access-ios12): its interface for iOS 12 with resize-apfs's AmethystBridge.m, the same helper, Amethyst's executable built from its source by resize-apfs's build-amethyst.sh, and Apple's Swift back-deployment runtime that iOS 12.0 and 12.1 lack: the interface's in the app's Frameworks, the helper's as payloads the app puts into /usr/libexec/orchard-companion/Frameworks, which the helper searches after /usr/lib/swift. It is always signed with xtool, since Xcode builds nothing for iOS 12 and 13; where xtool has no build the install says so. On the device, Amethyst's steps drop Developer Mode (iOS 12 and 13 have none) and name iOS 12's Profiles & Device Management; the note is the approved one from tools#115: "Your iPad restarts once. Open Orchard Installer again when it's back.", in the window, the terminal and the companion's Storage access page. Assisted-by: LLM
The installer's Amethyst part is built from the pinned resize-apfs; take the release that serves the route from iOS 12.0. Its engine and Access code are those of the previous pin. Assisted-by: LLM
henrikklee
force-pushed
the
amethyst-installer
branch
from
December 5, 2026 03:25
205ce7b to
fa4697f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes the installer part of #115.
What users get: an iPad or iPhone on iOS 12.0 to 13.7 splits its storage without DFU mode. The installer offers Amethyst (first choice there, ahead of checkra1n, as orchard's data says; the only choice on A12/A13 there), signs its helper app with the user's Apple ID through xtool and installs it. The device restarts once on the way; the user opens Orchard Installer again and taps Continue.
orchard install --access amethystdoes the same from the terminal.How:
Helper::Amethyst, a helper app like Dopamine (Helper::is_app): no DFU round, same sign-in, steps and split. Where it fits comes from the data only. The "12 to 14" answer fits only a route covering all of it; a partial one (Amethyst, up to 13.7) is "may fit", checked once iOS runs.install_into(Host::Amethyst)), always signed with xtool (Xcode builds nothing for iOS 12/13), with a clear error where xtool has no build.companion/out/access-ios12, its interface for iOS 12 with resize-apfs'sAmethystBridge.m, the same helper, Amethyst's executable built from source (resize-apfsscripts/build-amethyst.sh), and Apple's Swift back-deployment runtime for iOS 12.0/12.1 (orchard#571 moved the data to 12.0): the interface's in the app's Frameworks, the helper's as payloads installed to/usr/libexec/orchard-companion/Frameworks(helper rpath after/usr/lib/swift). The pinned resize-apfs (cd1f9db) has Make the unresponsive wait a setting #43; resize-apfs 0.5.0/0.5.1 change no engine or Access code on top (0.5.1 only the release build script), so the pin stays.--access amethystreplaces the refusal test).Never run on a device.
PRs don't build the companion, so a rehearsal run on this branch builds it (workflow_dispatch, rehearse 0.99.0).