# Kernarium runs a real Linux 6.18 kernel natively on iPhone and iPad, no hypervisor required. How it works and its limits

> An open-source project that compiles User-mode Linux to native arm64 code for iOS has passed 1,700 GitHub stars in under two weeks. It already powers an Android emulator in TestFlight, but app code still runs through an interpreter unless you set up JIT yourself, and the general Linux app isn't ready yet.

Published Nov 20, 2026 by TechMeasured Staff · Repos · Canonical: https://techmeasured.com/repos/kernarium-real-linux-kernel-natively-on-iphone-ipad-what-it-does-limits

**Kernarium**, a new open-source project from developer **imxieyi** (xieyi), runs a real Linux kernel on iPhone and iPad without emulating a whole computer. GitHub's search API shows [imxieyi/Kernarium](https://github.com/imxieyi/Kernarium) was created on **November 7**. By November 20 it had about **1,780 stars and 207 forks**. LavX News, which tracks trending repos, counted roughly 1,060 of those stars in the past week.

Why it matters: iOS lets apps run only their own compiled code, and it blocks the just-in-time (JIT) compilation that emulators rely on for speed. Existing tools take one of two routes. **UTM** emulates an entire machine. **iSH** translates individual Linux programs and fakes the kernel underneath them. Kernarium takes a third route. It puts a real mainline kernel inside an iOS app as native code, which opens the door to running Android and full Linux distributions on Apple hardware.

## How it works

According to the project README, Kernarium builds on **User-mode Linux (UML)**, a long-standing version of the kernel designed to run as an ordinary program instead of directly on hardware.

- **The kernel is native.** UML is compiled to arm64 machine code and linked into an iOS runtime framework, so the kernel itself runs without emulation. It uses the mainline **6.18 LTS** kernel for both Linux and Android guests.
- **Apps are interpreted.** Programs running inside the guest go through an iSH-style threaded interpreter with multi-core (SMP) support. JIT is supported, but the README says the TestFlight build is interpreter-only.
- **No hardware virtualization.** An AI-generated DeepWiki overview of the code describes a software memory-management layer that maps a large guest address space onto iOS's 16 KB memory pages. That's how it works without the virtualization extensions iOS doesn't expose to apps.

The README's feature list goes well beyond a proof of concept:

| Area | What Kernarium supports (per README) |
|---|---|
| Guest CPUs | arm64, arm32, x86_64 |
| Graphics | Vulkan 1.4 via KosmicKrisp (Vulkan-to-Metal); OpenGL 4.6 and GLES 3.2 via Zink |
| Video | Hardware H.264/HEVC through Apple's VideoToolbox |
| Storage | UBD block driver with discard; ext2/3/4, erofs, xfs, loop devices, FUSE |
| Networking | Full Linux network stack, with guest access via libslirp |

## What you can actually run today

Two apps are built on the runtime:

- **Andarium**, an Android emulator, is in public **TestFlight beta**. The README links to it, and its source is in the repo's `Andarium/` folder. DeepWiki's page index lists a LineageOS-based Android guest.
- **Kernarium**, a general Linux app for running different distributions, is still in early development and not ready for release, according to the README.

LavX reports that the latest tagged release is **1.0b15**, dated November 18. It also says release notes mention experimental JIT through the StikDebug tool, and that the iOS app needs sideloading and special entitlements for more memory and a larger virtual address space. We couldn't read the releases page to confirm those details. They also sit awkwardly with the README's statement that the TestFlight build is interpreter-only. Most likely the faster JIT path is available only to people who sideload and enable it themselves.

## Building it

There's no one-line install. The README's build section tells you to point a coding agent at the repo, using the included `AGENTS.md` and `docs/` folder, to build Kernarium or embed the runtime in your own app. LavX adds that building an Android system image requires a separate x86-64 Linux machine, though prebuilt images can be used instead.

The code is licensed **GPL-2.0-or-later**, except where individual files say otherwise. That matters if you plan to embed the runtime in a closed-source app.

## Limits and caveats

- **Speed:** with the interpreter, expect guest apps to run far slower than native code. The project hasn't published benchmarks, and none of the sources we read tested performance.
- **Distribution:** the Andarium TestFlight beta works without sideloading, but beta access can end and App Store approval isn't guaranteed. None of the sources we read covers App Store review.
- **Maturity:** the project is two weeks old publicly, with one main contributor (according to LavX), and the general Linux app isn't released.
- **Forks:** a search for the project also turns up several forks with identical descriptions. Get builds from imxieyi's repo or the TestFlight link in its README.

**Who should care:** iOS developers curious about what's possible inside the sandbox, Android developers who own only Apple devices, and anyone who has wanted a real Linux environment on an iPad. For now, treat Andarium as a beta to experiment with, not a replacement for a Linux machine.


## Sources

1. [GitHub — imxieyi/Kernarium: Run real Linux kernel natively on iOS](https://github.com/imxieyi/Kernarium)
2. [LavX News — imxieyi/Kernarium: Runs Linux on iOS devices](https://news.lavx.hu/article/imxieyi-kernarium-runs-linux-on-ios-devices-2026-11-20)
3. [DeepWiki — imxieyi/Kernarium (AI-generated overview)](https://deepwiki.com/imxieyi/Kernarium)
