Skip to content

resize: the amethyst access route, without DFU on iOS 12.2 to 13.7 - #160

Merged
henrikklee merged 1 commit into
mainfrom
amethyst-route
Dec 4, 2026
Merged

henrikklee merged 1 commit into
mainfrom
amethyst-route

Conversation

@henrikklee

@henrikklee henrikklee commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

What changes for people

orchard resize --amethyst makes room on iOS 12.2 to 13.7 without DFU mode, from any computer, Linux included. The iPhone 5s, iPad Air and iPad mini 2 and 3 no longer need a Mac (checkra1n's Linux build leaves out A7; tools#115).

  1. orchard resize --amethyst puts Resize APFS into the official Amethyst 1.1 app, signs it with the person's Apple ID through xtool, and installs it.
  2. The person trusts their Apple ID on the device. There is no Developer Mode step: iOS 12 and 13 don't have it.
  3. They open Resize APFS and tap Continue. The first time, the device restarts once; they reopen the app and tap Continue again.

How

  • resize_app::latest reads the release's Amethyst part (out/device-ios12/access, from Add the Amethyst route: storage access without DFU on iOS 12.2 to 13.7 resize-apfs#43), including Amethyst's executable built from source.
  • access_dopamine::prepare recognises Amethyst by its bundle identifier and puts the built executable in place of the official one. It refuses a stripped executable, a missing built one, and the Amethyst part going into Dopamine. resize-apfs's embed.py checks the same names.
  • install_into(Host::Amethyst, …) always signs with xtool, because Xcode builds nothing for iOS 12 and 13. install (Dopamine) is unchanged for the installer's companion.

Order

  • The route needs its entry in orchard's routes.toml. Older tools are safe with that entry: they drop access routes they don't know and never choose one by themselves.
  • It also needs a Resize APFS release containing Make the unresponsive wait a setting #43. Until both exist, --amethyst says the route is unknown or that the release has no build for it.

Testing

cargo test --workspace: all pass, including 2 new tests for the Amethyst prepare and its name list. Not run on a device.

Assisted-by: LLM

`orchard resize --amethyst` (or --access amethyst) installs Resize APFS
inside the pinned official Amethyst 1.1 app, signed with the person's
Apple ID through xtool, as the dopamine route does with Dopamine. It
reaches every device on iOS 12.2 to 13.7 from any computer, so the iPhone
5s, iPad Air and iPad mini 2 and 3 can make room without checkra1n, whose
Linux build leaves out A7 (#115).

The Resize APFS release brings the Amethyst part in
out/device-ios12/access, with Amethyst's executable built from its source
(the released one is stripped, so its functions have no names to call);
prepare() puts that executable in place of the official one and refuses a
stripped one, as resize-apfs's embed.py does (OrchardLinux/resize-apfs#43).
Xcode builds nothing for iOS 12 and 13, so only xtool signs, and there is
no Developer Mode step.

The route needs its entry in routes.toml (orchard) and a Resize APFS
release that has the part.

Assisted-by: LLM
@henrikklee
henrikklee merged commit 65ed20f into main Dec 4, 2026
11 checks passed
@henrikklee
henrikklee deleted the amethyst-route branch December 4, 2026 08:01
henrikklee added a commit to alistairreay/orchard that referenced this pull request Dec 4, 2026
Amethyst carries Resize APFS into iOS 12 and 13 on every device without
DFU mode (OrchardLinux/resize-apfs#43, OrchardLinux/tools#160). It comes
ahead of checkra1n there: checkra1n needs DFU mode and its Linux build
leaves out A7. iOS 12.0 and 12.1 stay with checkra1n: the app's library
needs the Swift runtime iOS has from 12.2 on.

Tools releases before tools#160 drop an access route they do not know and
never choose one themselves, so the entry is safe for them.

Assisted-by: LLM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant