Skip to content

Orchard tools 0.2.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 22:15
· 153 commits to main since this release
6f17b54

Command line

  • Firmware recipes can extract the A7's GPU firmware: step
    agx-g3-ldr-from-kernelcache@1 takes AGXFirmwareKextG3's META LDR from an
    iOS 12 kernelcache, found as the A8's is (the A7 boards' recipes in orchard
    pin it as apple/gfx-s5l8960x.bin).

  • The command line is called orchard now (it was orchard2) and replaces
    orchard's Python tool. Each release carries it for macOS and Linux. Install it with
    curl -fsSL https://raw.githubusercontent.com/OrchardLinux/tools/main/install.sh | sh;
    orchard update fetches a newer one.

  • install and launch take --boot ROUTE to choose how the device starts
    (palera1n, checkra1n, or the ibss route through gaster), from the boards'
    routes.toml. The ibss route also runs on the 32-bit boards and, from a
    boot ROM that usbliter8 entered, on the A12.

  • install and launch take --m1n1 FILE, a local m1n1 instead of the
    published one, for boards whose m1n1 support is not published yet. A file
    of the wrong kind for the route is refused before anything is sent.

  • install NAME --kernel DIR installs a release with a kernel built from
    your own tree; with --data and --m1n1 that also covers a board no
    release lists yet. The kernel tree option is --kernel everywhere now
    (--kernel-tree still works), and run --kernel takes a tree or a
    finished image.

  • On the A12 boards Apple's boot loader is no longer asked for a verbose
    start, as on every other chip.

  • run in a directory with nothing to run says so and names what works
    from anywhere.

  • install, launch and run take --busy-cpu (Linux, off by default):
    for computers where checkm8 only gets in under load, the exploit runs on
    one core while the others are kept busy, until PongoOS is up or, by the
    ibss route, gaster is in the boot ROM.

  • On Linux the USB port reset after checkm8 waits 10 s instead of 2.5 s, so
    it no longer comes while the device is returning by itself.

  • install works on the 32-bit boards: it reads their LwVM disk, offers the
    free space, and adds a boot partition and a root.

  • With the device in recovery mode, install and launch guide it into
    DFU mode step by step.

  • install says "Still downloading NAME" while the device is ready and
    the system is not there yet, and starts the install when it is, instead
    of standing at "Writing the system 0%".

  • run starts a RAM boot on every board by its route; run SOURCE takes
    the options build wrote; --no-wait ends once the start has gone out;
    in a distribution checkout it starts that distribution's installer system.
    A first payload takes the nightly's kernel instead of compiling one.

  • resize puts Resize APFS on the device and starts it, through palera1n,
    checkra1n or, on a Mac, Dopamine (signed with Xcode or xtool).

  • ssh-access sets up SSH for a system that was installed without it.

  • capture-adt reads Apple's device tree from a device a RAM payload runs
    on, for bringing up a board.

  • On Linux without USB devices, orchard says why; in WSL, how Windows
    hands the device over.

  • A failed download or unusable file is reported in the same words as the
    installer window.

  • launch says when a device has nothing installed.

  • Firmware recipes can take a kext's firmware from an iOS 16 or later
    kernelcache too, and the new step section-from-kernelcache@1 takes any
    one section of a kext whole (bundle, segment, section): the
    iPhone XR's PMP firmware comes this way.

  • install, launch and run keep one run log, named by when the run
    started (logs/2026-11-28-114812-run.log in the cache): orchard's own steps and
    the output of palera1n, checkra1n and gaster in one file, in order, each
    line with the seconds since the start and who said it. It shows every
    step of the USB port reset, the busy cores, what USB showed and why a tool
    was ended. A cancelled run keeps its log up to there, the ECID is left
    out, a failed run ends with the log's path, and a run that worked
    has its result as the log's last line.

  • By the ibss route the run log shows each stage gaster tries and whether
    it worked; until now gaster said nothing while it entered the boot ROM.
    A device that leaves DFU mode while gaster enters the boot ROM ends the
    run at once and says so, instead of after two minutes, and the log shows
    how gaster's attempts went. ORCHARD_GASTER_USB_TIMEOUT,
    ORCHARD_GASTER_ABORT_MIN and ORCHARD_GASTER_ABORT_MAX set gaster's
    timing for a computer where it does not get in.

Installer and launcher

  • With the device in recovery mode, the window guides it into DFU mode in
    five steps, with a countdown on the step that is running.
  • Create your account says "Still downloading NAME." and keeps Install off
    while the device is ready and the system is not there yet, instead of
    going on to "Writing the system" at 0%.
  • ORCHARD_BUSY_CPU=1 turns on --busy-cpu for the windows; the longer USB
    port reset on Linux applies to them too.
  • The launcher's program file is orchard-launcher, so it no longer has the
    command line's name.
  • Bundle identifiers are under org.orchardlinux.
  • The window's log is the same run log as the command line's, with the
    tools' output in it.

Orchard tools 0.2.0: orchard, the command line, the generic installer and Orchard, the launcher. Install or update the command line: curl -fsSL https://raw.githubusercontent.com/OrchardLinux/tools/main/install.sh | sh.

Distributions stamp the installer (packaging/stamp.py) and offer it in their own releases.

Asset Bytes SHA-256
Orchard-Installer-macOS.zip 14129696 b92de23ff637161d7c17a527dff786020bf28ee4cd50ae8ed00692dc9429b35b
Orchard-macOS.zip 14105566 1007265f25c0cb923329ac8bf36ddacfbad2856461668de685fc4f3f28dfa961
orchard-installer-linux-x86_64 19552960 7a20a58f89470ab40745865f4973f0d73832cfc357a733ab541e8c7289b7994d
orchard-installer-linux-aarch64 16908688 1adfd5ecdbc011e7eb5f2160131314960ab3c258fa7b31bdc435fac86557ca4d
Orchard-linux-x86_64.tar.gz 9546994 85c14de018cbd881db96b6fcdecf772ea1d2d9317702bc7f11e208fa9df8438e
Orchard-linux-aarch64.tar.gz 9311338 92e6719ad2b850a711b16c3e9285b2aa5bacc3925d748c23425486bb89a09937
orchard-macos 13590352 a567618c6aa04221d8e552ca34a63ac23ee51964013aba10e95b12a823a9f108
orchard-linux-x86_64 7949728 ceeb501e3a7c552800d4cf872d61c339b512c2eb06f7773f33b9e3b4c20e5acc
orchard-linux-aarch64 6960328 26ba1b56b8725e384b5ed193634b8443cc04d6989f26424631f7671e352f6ba9
VERSION 6 1f930dd1f133c1f97a94fe3acb8db34372cf4c01ffdb2b3ff4ca72f9494121e9
BUILD 41 94ec8ff2047a8a2d8c4402f9cff2688412120539e1aab815d43058436c5add2c