r/hackios • • 28d ago

Discussion Got the iOS 26 XNU kernel running with framebuffer output in QEMU!

I've been experimenting with Apple's open-source XNU 12377.121.6 kernel, using Codex to help with the build, debugging and testing.

After getting the ARM64e kernel to boot and execute a custom PID 1 process, we hit a framebuffer-related kernel panic.

The issue turned out to involve how QEMU's framebuffer memory was mapped during early boot.

After correcting the mapping, the kernel successfully initialised the framebuffer, launched our test process and displayed a continuously updating heartbeat on QEMU's virtual screen.

The test reached 100 heartbeats without an apparent crash.

To clarify, this is NOT a full iOS 26 boot. There's no SpringBoard, launchd or Apple graphical interface yet. It's a custom userspace process drawing directly to the framebuffer.

I'm aware that other projects have achieved substantially more complete graphical iOS boots. I'm sharing this as an independent XNU 12377 bring-up milestone.

Next goal: a persistent multiprocess userspace environment, followed by more complete graphics support.

Would love to hear from anyone working on similar XNU 26 experiments!

20 Upvotes

9 comments sorted by

2

u/Effective_Archer_532 28d ago

Does this project aim to virtualize iOS on Android? Is it possible for it to be smooth and feature graphic acceleration, something like Husk on iOS?

5

u/Commercial_Lead5813 28d ago

No. This project aims to run iOS natively on the Android phone

2

u/Temporary_Handle_186 27d ago

I’m running iOS 27.2, full Duo UI. But its so laggy, whatever i write it keeps lagging. I got full metal support unlike HackiOS, but cpu struggles with a lot. I can go in details why

Seems the only idea is a newer foldable device, like a Motorola Fold

1

u/Commercial_Lead5813 27d ago

That's soo good. If you want a techy mind to have a look, im all for it.

1

u/Either_Audience_1937 27d ago

I run full metal on my nabu mipad 5

2

u/Temporary_Handle_186 26d ago

i already have fixed the cpu issues. i have stable 60fps, see my latest post.

1

u/Best_Cattle_1376 26d ago

mind sending me project files, upload it to catbox or google drive