Mainline Linux on Apple's own phones and tablets: a shell on the glass and over the cable, Wi-Fi, multi-touch, and an XFCE desktop you drive with your fingers. On the iPad mini 1 it lives on the iPad's own flash next to iOS and starts from an app on the home screen, no computer needed.
| Device | Model | Chip | What works | Start here |
|---|---|---|---|---|
| iPad mini 1 (Wi-Fi) | iPad2,5 / A1432 / p105ap | Apple A5 (S5L8942X) | Linux 6.12: both cores, touch, Wi-Fi, Bluetooth, speakers, battery, the GPU (OpenGL ES 2.0 / GL 2.1), a Wayland desktop (labwc); on the iPad's own NAND next to iOS 8.4.1 (the only version checked), started from the Cascadia app without a computer (or over the cable from an NFS root); iOS's files readable | devices/a5 · quickstart |
| iPad 2 (Wi-Fi) (experimental) | iPad2,1 / A1395 / k93ap | Apple A5 (S5L8940X) | Linux 6.12: both cores, touch, Wi-Fi, Bluetooth, the speaker, headphones, the built-in and a headset's microphone, both cameras, the volume buttons, battery and charging, sensors (autorotate), the GPU, XFCE over NFS; boots from its jailbroken iOS without a computer | K93 bring-up |
| iPhone XR (experimental, contributed) | iPhone11,8 / N841AP | Apple A12 (T8020) | as its author reports it: Linux 7.3, framebuffer, touch, USB networking/SSH, Wi-Fi, UART Bluetooth, Debian/XFCE over NFS -- not built or tested by the maintainer | devices/a12 · Debian/XFCE |
| iPad 8 (Wi-Fi) (experimental, contributed) | iPad11,6 / A2270 / J171aAP | Apple A12 (T8020) | Contributor-tested Linux 7.3: native display/brightness, touch, USB networking/SSH, Wi-Fi, UART Bluetooth and G11 GPU-accelerated Omarchy over NFS. Internal-speaker audio and volume controls contributor-tested; sustained-rendering fix awaits hardware retest | devices/a12 (--device ipad8) · display · GPU · audio |
| iPhone XS Max | iPhone11,6 / D331pAP | Apple A12 (T8020) | Linux 7.3: all six cores, display, touch, USB networking, Wi-Fi, Bluetooth. On badapple also the internal storage as ext4, cpufreq and the GPU (OpenCL, OpenGL ES 2/3 and Vulkan, in progress) | devices/a12 (A12_BOARD=d331p) · badapple |
| iPhone 11 | iPhone12,1 / n104ap | Apple A13 (T8030) | Linux 7.2: all six cores, touch, Wi-Fi, Bluetooth, XFCE, the internal storage as Linux's disk, no cable after the boot | devices/a13 · quickstart |
One command for every device, from the repository's top:
git clone https://github.com/rzxvx/Project-Cascadia.git
cd Project-Cascadia
./cascadia a5 install # iPad mini 1: everything, step by step
./cascadia k93 firmware # iPad 2 (experimental): then build and flash --kdfu, from
# its jailbroken iOS -- devices/a5/docs/k93-bringup.md
./cascadia a12 doctor # iPhone XR (experimental, contributed): its host requirements
./cascadia a12 --device ipad8 doctor # iPad 8 Wi-Fi (experimental, contributed)
./cascadia a13 doctor # iPhone 11: what this machine is missing
./cascadia a5 …, ./cascadia k93 …, ./cascadia a12 … and ./cascadia a13 … are the device's own commands
(./cascadia a5 alone lists them). The device used last is remembered, so
after the first one a plain ./cascadia build means the same device again;
./cascadia device shows or changes it. The quickstarts above walk through
everything from a clean machine, on macOS or Linux (Debian / Ubuntu, Arch,
Fedora).
The iPad mini 1's kernel, desktop root and iOS app come ready-made from
Releases, so install
takes minutes rather than hours; only Apple's files are made on your
computer, from your own IPSW. Once Linux is on the iPad, the app updates its
kernel from the newest release itself, and can roll it back.
Cascadia started as an attempt to run native, mainline Linux on Apple A5-based devices — beginning with the iPad mini 1 (iPad2,5), where no prior Linux port existed: postmarketOS covers A8+, Project Sandcastle targeted A10, and the A5 had been a blind spot. The goal is not just to boot Linux, but to build a foundation for later chips, documenting everything along the way, including the parts that did not work. The A13 (iPhone 11) is the second device.
cascadia the entry point: ./cascadia <device> <command>
devices/a5/ the A5 tree (iPad mini 1, iPad 2): kernel patches, device
tree, initramfs, Mesa's GPU driver, tools, docs, research
devices/a12/ the A12 tree (iPhone XR, XS Max, iPad 8 Wi-Fi): shared
kernel, board-specific boot/DT/firmware, NFS roots, G11 GPU
devices/a13/ the A13 tree (iPhone 11): m1n1 and kernel patches, boot,
initramfs, Alpine root, tools, docs, research
imgs/ pictures for the READMEs
Each device's directory is self-contained, with its own README, quickstart,
roadmap and research notes. Build products and Apple's files stay out of git:
each tree builds into its own build/, and the boot chain is derived from an
IPSW (or Apple's CDN) on your machine.
- iPad mini 1 (A5) — phases 1 to 3 done: Linux on the iPad's own NAND beside iOS, booted from an iOS app. Next: a write cache for the NAND, USB host mode, the headphone jack. devices/a5/README.md
- iPad 2 (A5) — experimental, the A5 tree's second board: phases 1 and 2 done, phase 3 but for the NAND as Linux's storage -- headphones, the built-in and a headset's microphone and both cameras included. devices/a5/docs/k93-bringup.md
- iPhone XR (A12) — contributed (#31), experimental: tethered Linux with framebuffer/touch, USB, Wi-Fi, Bluetooth and Debian/XFCE over NFS as its author reports; it builds on devices/a13's m1n1 patches, which still change. devices/a12/LINUX_PLAN.md
- iPhone XS Max (A12) — contributed D331p profile from kieroid: shell/SSH, display, touch, Wi-Fi, Bluetooth and GPU render-node bring-up reported by its contributor. The merged Cascadia profile has not been independently hardware-tested here; BadApple's storage, cpufreq and OpenCL/OpenGL/Vulkan results are separate from this profile's reported boot result. XS Max support · BadApple
- iPad 8 Wi-Fi (A12) — experimental contributed J171 profile: native scanout and brightness, touch, USB/NFS, radios and GPU desktop tested by its contributor. Internal speakers, live attenuation, volume buttons and Omarchy controls are also contributor-tested. Microphone/headphone audio, iOS-style speaker protection and full-range brightness calibration remain; the removed render-job cap still needs an endurance retest. Display · Audio
- iPhone 11 (A13) — phases 1 and 2 done; phase 3 up to the internal storage; next the native display and the GPU. devices/a13/docs/ROADMAP.md
In no particular order:
- iPad 6 - A10 (2Gb ram)
- iPad 7 - A10 (3Gb ram)
- iPad Air 2 — A8X
- iPad 4 - A6X
- iPad mini 4 — A8
- iPad 3 - A5X
- iPad mini 2 - A7
- iPad mini 3 - A7
- iPad Air 3 - A12 (requires additional hardware for booting - RP2350)
- iPad Pro 10.5" 2017 - A10X
- iPad mini 5 — A12 (requires additional hardware for booting)
- iPad 5 — A9
- iPad 9 - A13 (same T8030 as the iPhone 11; notes in
devices/a13/docs/ipad9/)
Project Cascadia is and always will be 100% free, open-source, and licensed under GPL-2.0.
However, testing low-level code on bare metal carries hardware risks, and further research into later Apple silicon (A6X-A13) requires purchasing additional test devices If you find this work valuable and wish to support ongoing research, donations are greatly appreciated:
| Asset | Address |
|---|---|
| 🔵 Litecoin (LTC) | LhxwyrfqN64KTfoS8Y8gAxoRjFp4t4RbCf |
| 🟠 Bitcoin (BTC) | bc1qmuy5zkkq6lyyg3818quuvjehdwrzes6h96ledt |
| 🟢 USDT (TRC-20) | 0x3Df78641E76C7fDD8258E0e7e4389CFC5e7e6498 |
In May 2026, while looking for an existing Linux port for the iPad mini 1, I found nothing. postmarketOS stops at A8, Project Sandcastle targeted A10, and the A5 had been completely ignored — likely because it's 32-bit, old, and "not worth it".
That's exactly why it's interesting.
This project started as an experiment to see how far you can get. Turns out — pretty far.
- teutekeune — iBSSloader: kernel patches, boot chain, the original AIC1 driver;
the Tux of the GPU demo (
tux-gpudemo) - axi0mX — checkm8 BootROM exploit
- LukeZGD — Legacy iOS Kit, EverPwnage, checkm8-a5 Pico firmware
- NyanSatan — checkm8_bootkit, iBoot research
- iH8sn0w — iBoot32Patcher
- Project Sandcastle — Z2 multitouch driver and protocol, the starting point
- Larry Ewing — Tux (made with The GIMP), on the Cascadia app's icon
- winocm — kloader, which the Cascadia app starts Linux with
- Thomas Pornin — BearSSL, the app's TLS (MIT)
- crystal-lized — PPN NAND and Swiss FTL findings (iPhone 5) and the first writable path; the iPad mini 1 NAND driver is built on them
The A13 track's own credits (m1n1, Hoolock, Asahi Linux, usbliter8) are in devices/a13/README.md, the A12 track's in devices/a12/README.md.
GPL-2.0




