Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

Kernarium

Run a real Linux kernel natively on iOS, through the magic of User-mode Linux.

Apps

Andarium

The app was released on App Store but removed by Apple later due to violation of App Review Guidelines:

Guideline 2.5.2 & 1.1 - Performance - Software Requirements


We noticed that the app includes functionality that isn’t focused on the experience for supported Apple platforms.


Specifically, your app allows users to replicate Android operating systems on iOS platforms.

An Android emulator app built on the Kernarium runtime is no longer available for download in App Store. Source code is available under Andarium/.

Sideloading

You can sideload the app with AltStore or SideStore.

The easy way is to add the source, so updates show up in AltStore or SideStore:

https://raw.githubusercontent.com/imxieyi/Kernarium/main/sideload/source.json

Alternatively, install the IPA from releases by hand:

  1. Download Andarium-<version>.ipa on the device. It's about 1 GB.
  2. Open AltStore or SideStore, tap + in My Apps and pick the IPA.

A few things to know:

  • iOS 26 or later is required.
  • A free Apple ID works, but the app expires after 7 days and must be refreshed in AltStore or SideStore.
  • With a free Apple ID, Android gets less memory. AltStore 2.2 or later keeps the increased memory limit, SideStore doesn't by default. Extended virtual addressing needs a paid developer account.
  • JIT is optional. To use it, assign the universal script to Andarium in StikDebug once, then open Andarium from StikDebug.
  • To update by hand, install the new IPA with the same Apple ID and the same tool. It replaces the old version and keeps your virtual machine.

Kernarium

A generic Linux emulator app capable of running various Linux distributions. It's still at an early stage of development and isn't ready for release yet. Source code is available under Kernarium/.

Overview

The User-mode Linux kernel is compiled to native arm64 code, then linked to an iOS runtime framework. The kernel runs natively without emulation. Userspace programs are emulated using an iSH-style threaded interpreter, with SMP support. Guest GPU acceleration is provided by KosmicKrisp, a translation layer from Vulkan to Metal.

This emulator architecture sits between a full system emulator (like UTM) and a full userspace emulator (like iSH). It combines the benefits of a real Linux kernel and a userspace emulator that only needs to emulate userspace code. It's capable of running advanced workloads including Docker containers, Linux desktops, Wine/Proton and a full Android system at decent speed on modern iOS devices.

Features

  • Kernel
    • Mainline 6.18 LTS kernel for both Linux and Android guests
    • Supports most kernel features, including namespaces, SELinux and more
  • CPU emulation
    • Supports arm64, arm32, x86_64 guest instructions
    • Both interpreter and JIT execution modes
  • GPU acceleration
    • Vulkan 1.4 via KosmicKrisp
    • OpenGL 4.6 & GLES 3.2 via Zink
    • Hardware video encoding and decoding (H.264, HEVC; VP9 decoding) via VideoToolbox
  • Storage
    • Supports virtual disks via UBD driver, with discard support
    • Supports any Linux filesystem including ext2/3/4, erofs, xfs, ...
    • Supports loop devices and FUSE
  • Network
    • Full Linux networking stack
    • Guest network access via libslirp

Build or Embed

Point your coding agent at this repo if you want to build the project or embed its runtime in other apps. The agent guide is AGENTS.md, and the documentation is under docs/.

Building Android system image requires a powerful remote x86_64 Linux building machine (requirements). Alternatively, you can download prebuilt images from releases and point your coding agent at it.

License

This project is licensed under GPL-2.0-or-later, except where a file's SPDX header says otherwise; see LICENSES/.

关于 About

Run real Linux kernel natively on iOS
androidemulatorioslinuxlinux-kerneluser-mode-linuxvirtualization

语言 Languages

C++51.9%
Python23.7%
Swift14.0%
Assembly3.0%
Objective-C++2.7%
CMake1.5%
Java1.3%
Shell1.1%
C0.4%
Objective-C0.2%
Makefile0.1%
Pawn0.0%
GLSL0.0%
PHP0.0%
Linker Script0.0%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
9959
Total Commits
峰值: 2420次/周
Less
More

核心贡献者 Contributors