Can you run Android on an iPhone?
Not natively, and not through the App Store. iOS doesn't let apps use the CPU's virtualization hardware, so an iPhone can't run Android the way a Mac runs a virtual machine. What does work is emulation: every Android instruction is translated on the fly by QEMU's just-in-time compiler.
AndroiOS does this as a sideloaded app. It boots LineageOS 22.2 (Android 15) or 23.2 (Android 16) inside the app process and renders Android's graphics on the Apple GPU. It needs two things a normal app doesn't get:
- JIT, enabled by attaching a debugger with StikDebug. On iOS 26 and later, use StikDebug's
universal.jsscript: on A15 and newer chips, the debugger must prepare executable memory before it can run; - more memory, through the
increased-memory-limitandextended-virtual-addressingentitlements (GetMoreRAM, TrollStore or a paid developer profile).
How does AndroiOS work?
AndroiOS is a SwiftUI app that embeds QEMU as a framework and runs the virtual machine on background threads inside the app. The guest is the prebuilt LineageOS virtio_arm64only VM, which boots through UEFI and GRUB.
- CPU: QEMU's TCG JIT translates ARM64 guest code into ARM64 host code. Its code buffer is mapped read+execute, prepared by the debugger on iOS 26+ devices with TXM (
brk #0xf00d, the universal.js protocol), and written through a separate read-write alias, so it never violates iOS's W^X rules. - GPU: Android's OpenGL ES calls run on the Apple GPU through ANGLE. ANGLE currently uses Apple's OpenGL ES driver; its Metal backend, which UTM uses, is being brought up for Android:
Android (GLES) → Mesa virgl → virtio-gpu → QEMU → virglrenderer → libepoxy → ANGLE → Apple GPU → IOSurface → MTKView
The GPU components are the ones UTM ships on iOS: UTM's virglrenderer and libepoxy, and WebKit's ANGLE, all at UTM's pinned versions.
- Input: touches go to a USB tablet device that Android converts to touch; a virtual keyboard is also supported.
- Audio: the guest's AC97 sound card feeds 48 kHz PCM to AVAudioEngine.
- Apps: the app installs APKs through Android's ADB service, forwarded only to 127.0.0.1 on the device.
- Network: user-mode NAT (libslirp), with no special permissions.
What performance can I expect?
Graphics are fast; CPU-bound work is slow. The numbers below come from a Mac test harness running the iOS engine code on an Apple A18 Pro GPU, the same chip as the iPhone 16 Pro. On a phone, expect them to be somewhat lower once it heats up and throttles.
| Workload | Result |
|---|---|
| LineageOS 23.2 boot animation | 40–50 FPS |
| Boot to setup wizard | ~3 min (later boots), ~5 min (first boot) |
| glmark2 GPU benchmark | score 103 (67–131 FPS per scene) |
| Android UI (apps, scrolling) | well below 60 FPS: limited by CPU emulation |
Expect slower results on phones (thermal throttling) and on older chips. On 4 GB devices such as the iPad 10, choose Android 15: it runs in Android's low-memory mode, which suits them much better than Android 16.
Can you run Android apps and games on AndroiOS?
Yes, with limits. LineageOS has no app store built in, so AndroiOS installs apps for you: open the VM menu and choose Install app from Files (APK), or Install F-Droid for an open-source app store. From F-Droid, Aurora Store gives access to Google Play's catalog.
- Only 64-bit ARM apps run (this Android has no 32-bit or x86 support).
- Apps that require Google Play Services may refuse to start.
- All app code runs on the emulated CPU: light and 2D games run best, demanding 3D games are slow.
- Game controllers are not supported yet.
How to install AndroiOS
- Download
AndroiOS.ipa(10 MB) from GitHub Releases. - Sideload it with SideStore, AltStore, TrollStore or Xcode.
- Apply the memory entitlements with GetMoreRAM, TrollStore, or a paid developer profile. Without them, AndroiOS gives Android less RAM.
- Open StikDebug and enable JIT for AndroiOS with the
universal.jsscript. - In AndroiOS's setup wizard, pick an Android version and download it: Android 15 (LineageOS 22.2, about 1 GB, recommended) or Android 16 (LineageOS 23.2, about 1.2 GB). Choose a phone or tablet layout (iPads default to tablet), then boot the VM. The first boot takes a few minutes.
- To add apps, open the VM menu and choose Install app from Files (APK) or Install F-Droid.
To build from source: clone the repository, then run Scripts/build-all.sh on a Mac with Xcode. See docs/BUILDING.md.
AndroiOS vs UTM
UTM is a mature, general-purpose virtual machine app for iOS and macOS. It runs many operating systems and supports configurations of every kind. AndroiOS is a small app focused only on Android, built on the same approach.
| UTM | AndroiOS | |
|---|---|---|
| Scope | Any OS, fully configurable | Android only, preconfigured |
| GPU stack | virglrenderer, libepoxy, WebKit ANGLE | The same components, at UTM's versions |
| Android setup | Import a LineageOS VM yourself | Android 15 or 16 downloaded in the app; phone or tablet layout |
| Maturity | Widely used, stable releases | Early alpha, runs well on device |
UTM is the more mature and proven route. AndroiOS aims to make running Android on iOS simpler and Android-specific.