From 68853182d9051c9f6226b17595e26fea2cd4592a Mon Sep 17 00:00:00 2001 From: Henrik Klee Date: Sat, 5 Dec 2026 11:18:07 +0800 Subject: [PATCH] Amethyst route from iOS 12.0 Resize APFS 0.5.1 bundles the Swift runtime that iOS 12.0 and 12.1 lack. --- CHANGELOG.md | 2 ++ crates/cli/src/commands/resize.rs | 2 +- crates/runtime/src/access_dopamine.rs | 2 +- docs/resize.md | 5 ++--- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a215e3..f3397b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,8 @@ is on main, the release is published with that section as its notes (AGENTS.md, ### Command line +- `orchard resize --amethyst` also works on iOS 12.0 and 12.1: Resize APFS + 0.5.1 brings the Swift runtime those versions lack. - The iPhone 5's GPU firmware and its graphics event template now build from Apple's files, as the iPad mini 1's and iPad 2's do: the firmware build for the iPhone 5 used to stop without them (brkosebay). diff --git a/crates/cli/src/commands/resize.rs b/crates/cli/src/commands/resize.rs index 57a0493..39e5637 100644 --- a/crates/cli/src/commands/resize.rs +++ b/crates/cli/src/commands/resize.rs @@ -230,7 +230,7 @@ fn dopamine(executor: &orchard_runtime::exec::Executor, app: &orchard_runtime::r Ok(Installed { version: app.version.clone(), seconds: started.elapsed().as_secs_f64(), developer_mode: true }.into()) } -/// The route without DFU on iOS 12.2 to 13.7: as [`dopamine`], with the +/// The route without DFU on iOS 12.0 to 13.7: as [`dopamine`], with the /// pinned Amethyst, always signed by xtool (Xcode builds nothing for iOS 12 /// and 13), and without Developer Mode, which those versions do not have. fn amethyst(executor: &orchard_runtime::exec::Executor, app: &orchard_runtime::resize_app::App, args: &Args, say: &dyn Fn(&str), started: Instant) -> Result { diff --git a/crates/runtime/src/access_dopamine.rs b/crates/runtime/src/access_dopamine.rs index 6749fe2..d1b18c8 100644 --- a/crates/runtime/src/access_dopamine.rs +++ b/crates/runtime/src/access_dopamine.rs @@ -76,7 +76,7 @@ const LIBRARY: &str = "@executable_path/Frameworks/ResizeAccess.dylib"; pub enum Host { /// iOS 15 and later. Dopamine, - /// iOS 12.2 to 13.7. + /// iOS 12.0 to 13.7. Amethyst, } diff --git a/docs/resize.md b/docs/resize.md index 7133254..f7c062b 100644 --- a/docs/resize.md +++ b/docs/resize.md @@ -32,7 +32,7 @@ and the iOS version it runs, by `routes.toml` in the board data. | `palera1n` | palera1n starts iPadOS from DFU mode with the app in the place of its own loader app | A8 to A11, iOS 15 or later | | `checkra1n` | checkra1n starts iOS and the app is copied in over the cable | A7 to A11, iOS 12 to 14 | | `dopamine` | the app is installed and gets access by itself, without DFU mode | A8 to A13 and later, by iOS version | -| `amethyst` | the same without DFU mode, for iOS 12 and 13 | every device, iOS 12.2 to 13.7 | +| `amethyst` | the same without DFU mode, for iOS 12 and 13 | every device, iOS 12.0 to 13.7 | `--access ROUTE` names one; `--palera1n`, `--checkra1n`, `--dopamine` and `--amethyst` are its short forms. palera1n is taken when none is named. @@ -93,7 +93,7 @@ itself: its helper stays idle there. ### amethyst -The dopamine route for iOS 12.2 to 13.7, the iPhone 5s, iPad Air and iPad +The dopamine route for iOS 12.0 to 13.7, the iPhone 5s, iPad Air and iPad mini 2 and 3 included, from any computer. 1. Connect the device, unlock it and trust the computer. @@ -109,7 +109,6 @@ mini 2 and 3 included, from any computer. Before a shrink, Resize APFS offers to remove the `orig-fs` snapshot that first restart sets aside: iOS can't shrink while it is there. A free Apple ID signs the app for 7 days; run the command again when it stops opening. -iOS 12.0 and 12.1 take the checkra1n route. ## Options