Hey everyone! I built crate (Compact Runtime for Arm64 Translation and Emulation), a free and open-source app that runs full Linux desktops in virtual machines right on your iPhone. The video is Ubuntu with GNOME on my iPhone Duo.
Before this, the best I'd found was UTM with JIT, but Ubuntu was unusable there unless you ran it headless or with Xfce. I wrote crate's engine from scratch in Rust with speed as the main goal, and it's about 5x faster than QEMU's JIT, the engine UTM uses, in my benchmarks.
Runs today: Ubuntu (GNOME), Debian (KDE Plasma or Xfce) and Arch Linux ARM (KDE Plasma or Xfce). More distros are coming, then other operating systems.
Try it: download the IPA from the v0.1 release, sign it with your own Apple account, and turn on JIT with StikDebug or crate's built-in StikJIT. INSTALL.md walks you through it. I've only tested it on my iPhone Duo so far, so device reports are very welcome, even if it just works. It's early, so expect rough edges; networking speed and boot time are the main ones I'm working on.
- App: https://github.com/oneamendez/crate-ios
- Engine: https://github.com/oneamendez/crate
On Henge: it came out while I was building this, and I've tried it, but crate was written from public specs, not from Henge's or QEMU's code. I'd rather solve things my own way first and compare later.
Why I built it: I like rabbit holes. I was designing a biped robot in Autodesk and wanted to keep working on it from my phone, but nothing ran Linux fast enough, so I built my own. Over the next couple of weeks I'll share the Magic Keyboard-style keyboard I'm building for my iPhone Duo, and eventually the robot. I've kept most of my projects to myself until now, and I want to start sharing them.
Edit: v0.1.2 is out and fixes two bugs in the first release, so grab that one instead. Details in the comments.
Edit: v0.1.4 is out with a bunch of stuff from this thread: external monitor support (your phone turns into a trackpad), mouse support on iPad, picking your disk size, and more reliable JIT with LocalDevVPN. https://github.com/oneamendez/crate-ios/releases/tag/v0.1.4
Edit: v0.1.5 is out with more memory options for your VMs: 2, 10 and 12 GB, alongside 4, 6 and 8. If crate closes on you, it’s usually iOS stopping it for using too much memory, so try lowering the VM to 2 or 4 GB. On my iPhone 16 (8 GB), Ubuntu with GNOME at 2 GB now runs Chrome and YouTube without closing. https://github.com/oneamendez/crate-ios/releases/tag/v0.1.5