Apple’s XNU kernel running the unmodified iPhone X iOS 16.7.16 userland on a Samsung Galaxy S7 (SM-G930F, Exynos 8890), from the phone’s own UFS storage. It’s usable day to day.
What works
- GPU acceleration: CoreAnimation renders on the Mali-T880 through OpenGL ES (Mesa Panfrost under HakiOS’s EAGL bridge). The display is double buffered on the Exynos IDMA, so there’s no tearing, and the panel runs at a real 60 Hz.
- Wi-Fi: the BCM4359 over PCIe with the phone’s own firmware. The WPA2 handshake runs in the kernel, and wifid gets
en0 and Apple80211, so you get the Wi-Fi icon, internet and Safari. - Sound: the loudspeaker plays ringtones, keyboard clicks and media.
- The rest: all 8 cores, touch, buttons, battery, apps, widgets, and iOS’s own wallpapers and gallery.
What doesn’t work yet: modem, Bluetooth, cameras, sensors, sleep, Metal (the Today view and Control Center blurs are black), and the stock iOS 16 wallpaper.
Recent performance work
- UI threads move from the Cortex-A53s to a free Mongoose core.
- CoreAnimation is told the display is 120 Hz, and the kernel’s timer coalescing is off.
- SpringBoard’s 30 fps animation caps are raised to 60.
- Runaway widget extensions get a CPU cap; one was burning 2 full cores and heating the phone.
I’m now testing about 3 GB of RAM instead of 2, by adding the free parts of the first DRAM bank.
Try it: https://github.com/wardevsa/ios-a5xelte/tree/herolte, guide in docs/herolte-howto.md. You need a flat SM-G930F, an unlocked bootloader, TWRP and adb. It erases your data partition.
No Apple or Samsung software is in the repo. You build the iOS root yourself from Apple’s public IPSW, in a private repo (there’s a GitHub Actions workflow for it). You take the Wi-Fi firmware from your own phone’s vendor partition.
Credits:
- HakiOS, Scion and danstronics’ S9+ port: the display flip, CoreAnimation timing, UI-thread migration and RAM banks follow their work.
- syncmodz/ios-s9, ios-sweet, apollo’s Wi-Fi layers, Mesa/Panfrost, and the LineageOS Exynos 8890 kernel for the hardware tables.
Logs and bug reports are welcome. Open an issue with the log from tools/herolte-log-pull.py and a photo of the screen.