hakios-xnu-kernel (oosexgang/hakios-xnu-kernel)

embedded-systems
Searching Database…

What is this?HackiOS boots Apple's open-source XNU kernel (the kernel behind iOS 16.5) on Android phone hardware (or in QEMU) and runs the unmodified iOS 16.5 user space — launchd, backboardd, SpringBoard and apps — on top of it.
Is this a flashable ROM I install permanently?No, it is a research bench, not a ROM: a session runs for a set time in RAM, then the kernel hands control back to the loader, and after a reboot the phone is back on stock Android untouched.
How do I get it running without a compatible phone?Run it in QEMU (virt, aarch64) on any Linux computer: the prebuilt kernel, loader and programs are included, you only need to build the iOS system image from Apple's own IPSW on your machine.
What do I need on the host machine?A Linux x86-64 machine with about 12 GB free disk and 4 GB free RAM, plus packages like git, python3, 7-Zip (23+, for APFS), liblz4-dev, gcc, qemu-system-arm and qemu-efi-aarch64.
What doesn't work yet?Cellular and Bluetooth are not implemented, the phone only discharges under this kernel (no charging), Metal rendering is still partial (293 of 456 shaders run), and App Store/Apple ID sign-in cannot work since there is no Secure Enclave.
Which phone does this actually run on?Only the POCO X5 Pro 5G (codename redwood, Snapdragon 778G) via fastboot boot with an unlocked bootloader and nothing flashed; otherwise it runs identically in QEMU on any Linux PC with no phone at all.
Is this an official Apple project?No. HackiOS is an independent research project by the OOSEX GANG team and is explicitly not affiliated with, authorised, or endorsed by Apple Inc.
How does it get iOS to run without Apple's closed drivers?The iOS binaries and dyld shared cache are left untouched; instead the kernel supplies its own driver replacements or injects a library into processes using DYLDINSERTLIBRARIES to cover what's missing.
Where does the actual iOS software come from?A script (ios165/fetch.sh) downloads the iOS 16.5 IPSW straight from Apple's own CDN to your machine and extracts only what's needed there, so no Apple files are ever stored in the repo.
What already works on the phone?Lock screen and home screen, system gestures, touchscreen with multitouch, up to 8 CPU cores, the Adreno GPU via Mesa/freedreno, Wi-Fi (55-90 Mbit/s), sound, camera photos, persistent storage across reboots, and even Sileo/Procursus jailbreak tooling with SSH.
Creator
oosexgang
Size
212.3 MB
Stars
3K
Updated
CommitNov 22
Age
1mo
Commits · 90 Days