NewsCrawler.org

LinuxRunner runs ARM64 Linux apps on iPhone and iPad without a jailbreak

LinuxRunner runs ARM64 Linux userspace[1], terminals and desktop applications on iPhone and iPad without a jailbreak, a virtual machine or a JIT[2] in the release build. A loader maps ARM64 Linux ELF[3] programs, an interpreter executes guest instructions through precompiled host routines, and a compatibility layer implements system calls, processes, threads, signals, memory mappings and filesystem metadata. This is userspace compatibility, not full-system emulation or hardware virtualization, so the app does not boot a Linux kernel. Three distributions are supported — Debian GNU/Linux ARM64, Arch Linux ARM and Alpine Linux ARM64 — each with its own packages and files.

Graphical applications run over X11: Xvfb and x11vnc feed the native desktop viewer, Mesa supplies software OpenGL, and an experimental Metal bridge accelerates selected rendering paths. Version 1.0.1 adds iPad desktop adaptations, unified distribution setup and Arch package recovery, and Telegram Desktop has been tested on Arch Linux ARM with build 897, including login, sending messages and calls.

Users install the IPA through sideloading[4] with a tool such as Sideloadly or AltStore Classic, then set up a distribution inside the app; the 1.0.1 package is ad-hoc-signed without an Apple provisioning profile, so the installation tool must provide signing. The GPL-3.0-licensed project derives from iSH by Theodore Dubois and contributors through ios-linuxkit by Rui Carmo and contributors. Known limitations include incomplete system-call and graphics coverage, no Wayland, systemd as init, kernel modules or conventional Linux containers, with the platform sandbox as the security boundary. An older report of a black screen at launch on an iPhone 11 with iOS 17 remains unresolved.

Read the original github.comDiscussion

Sources

Published: First seen: Читать по-русски

Open as a page