OpenAI Codex — the terminal coding agent —
built for jailbroken iOS and installed as codex. One arm64 build, packaged
for both roothide and rootless bootstraps.
From the OwnGoal Studio repository,
or grab the .deb for your bootstrap from
Releases and dpkg -i it:
| bootstrap | package architecture |
|---|---|
| rootless | iphoneos-arm64 |
| roothide | iphoneos-arm64e |
The architecture field names the bootstrap layout, not the CPU — both
packages carry the same arm64 binary. If you are unsure which you have, ask the
device: dpkg --print-architecture.
Requires iOS 15 or later and a bootstrap that provides a shell. Then run codex
in a terminal on device.
Packaging, not a fork. There is no application source here: the build fetches
openai/codex at a pinned commit, applies the patches in patches/,
cross-compiles for aarch64-apple-ios, and produces the two packages.
The Rust binary is not linked with RootHide's libvroot. C tools in the
bootstrap (git, bash) can keep writing /bin/sh on roothide because vroot
rewrites those APIs at compile time; this process talks to libSystem directly,
so it has to probe for the bootstrap's shell. See AGENTS.md.
Needs macOS with Xcode, Rust (rustup), plus ldid and dpkg
(brew install ldid dpkg).
make check # scripts, config, patch set
make debs # both packages + SHA256SUMS, into build/PackagesTo install on an attached device over USB:
iproxy 4422:2222 &
make installmake help lists the rest.
Codex is by OpenAI, Apache-2.0. This repository only packages it; the iOS patches are MIT.