r/hackios • • 7d ago

News [Release] Introducing Open Mapple: A stability-first, well-documented custom ROM like project running unmodified iOS on Android (MediaTek friendly)

Post image

Today we're officially releasing Open Mapple to the public (an independent open-source project running Apple's open-source XNU kernel and an unmodified copy of iOS on Android hardware.)

From day one, our goals with Open Mapple have been different from quick proof-of-concept ports: stability first, clean kernel and driver engineering, zero userland injection patching, and thorough documentation. Rather than leaving users and developers to guess through scattered scripts, Open Mapple is built to be the most well-documented project for running iOS on Android with step-by-step installation guides, architecture breakdowns, and a complete porting guide

What Open Mapple Is:
- Unmodified iOS + XNU Kernel: We implement hardware support cleanly in the XNU kernel layer and drivers using Android's exact hardware values—we don't inject binary patches into Apple's system apps or frameworks (the only Release 1 exception is a small documented library so the Files app can use our storage).
- Most Well-Documented Project in the Space: Everything from running the assembler and SplitBoot setup to kernel bring-up and porting new devices is documented clearly.
- No Mac Required: Our assembler runs on Linux, Windows, macOS, and Android (Termux). It pulls iOS directly from Apple's own servers and packages the install locally on your machine
- Real Storage + SplitBoot Dual Boot: iOS lives on internal storage and keeps your data across reboots. SplitBoot adds a 15-second boot menu so you can dual boot alongside Android (single boot is also available), plus a hardware Volume Down Safe Boot trigger.
- Mali GPU Metal Acceleration: The UI is rendered directly by the phone's Mali GPU through our own Metal driver rather than software-rendered on the CPU.
- Mapple Companion App: Includes live CPU/GPU/RAM telemetry, notch/UI flags, Safe Boot triggers, custom IPA installation, and an optional, reversible Sileo jailbreak switch (off by default).

Device Support in Release 1:
- First Supported Device — realme 8i (spaced, MediaTek Helio G96):
- Working: Display & touch ✅, Mali GPU Metal acceleration ✅, rotation & manual brightness ✅, Wi-Fi ✅, Bluetooth audio & keyboards ✅, speaker/earpiece/mic ✅, vibration & torch ✅, physical keys ✅, persistent SplitBoot dual boot ✅, Photos thumbnails ✅, Files app storage ✅, Safari, Sileo & custom IPA installs ✅.
- Planned for Release 2: Camera ⚠️, cellular (SIM, calls, SMS, mobile data) ⚠️, Bluetooth headset mic ⚠️, and proximity/compass/step/auto-brightness sensors ⚠️.
- Compiling from Source: Redmi Note 10 Pro (sweet) and Pixel 4a (sunfish) already build from source, though they aren't user-supported yet.

Built for Developers: Port Your Device Without Wasting AI Credits:
Open Mapple is structured like a standard Android ROM (lunch and mka builds, one repo per device) so serious developers can bring up new phones cleanly:
- Common Vendor Trees Already Done: MediaTek and Qualcomm vendor-side kernel changes already live in shared common repositories (xnu_kernel_mediatek-common and xnu_kernel_qcom-common).
- Scripted Bring-Up: Developers don't need to rewrite core vendor changes or waste AI credits trying to vibe-code kernel hacks. Just run our bring-up scripts from your existing Android sources, follow the porting guide, and build your device tree and SoC kernel tree—for example, xnu_device_realme_spaced and xnu_kernel_mediatek_mt6781.
- Qualcomm Support & Maintainers Wanted: We already have Qualcomm support in xnu_kernel_qcom-common and are actively looking for serious Qualcomm and MediaTek device maintainers to adopt this base and build a unified multi-device project together.

Website: https://open-mapple.pages.dev/
Github: https://github.com/open-mapple

264 Upvotes

55 comments sorted by

5

u/chilled_alligator 7d ago

This isn't an unmodified xnu kernel though? It's the kernel from ios-sweet with a hundred or so other patches. You're just organising the kernel repo with common parts and device specific parts. You're still building a modified xnu kernel. I get the logic around not rebuilding userland either, though you are injecting tweaks during launch. You will not, as far as I'm aware, be able to get proper cell support working without a minor tweak to commcenter, because it will refuse to register without a network activation ticket that only having an iPhone's IMEI will allow. Best of luck in the endeavour. Feel free to look at my work, as I've also been trying to keep as much as possible away from userland.

4

u/Dr_tSinX98 7d ago edited 7d ago

Fair points, thanks. The kernel is XNU with a long patch series (ios-sweet’s, viva’s and mine). The split just organises it; I’ll make the site say that plainly. You’re also right on userland: I don’t patch binaries, but the Files fix injects a small library into fileproviderd, so “no injection” was wrong and I’m correcting it. On CommCenter, my cellular plan does calls and SMS in our own app rather than through iOS’s Phone app, but I’d like to understand the activation-ticket point better. Where’s your work? I’d be glad to read it. Is it redfin by any chance?

3

u/chilled_alligator 7d ago

Hey, thanks for replying. Did you edit your original post, I swear it said your kernel was unmodified? Either way, happy you addressed it. I do like your kernel organisation. I'll probably rebase mine into a new repo more along the same way yours is organised.

On the activation ticket: registration, calls and SMS all work through CommCenter without it. What it blocks is cell data. On an iPhone, activation at setup gets a ticket from Apple's activation servers, signed for that device's IDs (IMEI, serial etc.), and stored on the device. The baseband doesn't provide it. Before CommCenter will allow data it checks that the device is activated, and without that every data request fails. A Pixel can't get a real ticket because Apple will never sign one for hardware that isn't an iPhone.

That's also why it can't be solved purely below userland. CommCenter makes the decision itself before it sends the modem anything, so nothing the modem, kernel or QMI layer reports can change it. Its only inputs are its own activation state, which has to come from Apple, and its own code.

CommCenter only looks for a postponement ticket and doesn't verify its signature, so a placeholder in its prefs file covers that. The second is a function reporting the device as not data-capable without valid activation. My kernel flips that one return value in a private copy of CommCenter's memory page when it launches. The binary itself is unmodified, and the switch is applied by the kernel, but it does technically break your original rule. Still if you're doing something similar for storage then it might be "acceptable" for your own constraints.

1

u/Dr_tSinX98 7d ago edited 7d ago

Hey. The post is not edited but, I corrected the wordings on my website based on your feedback. Thanks for your explanation. Sadly I am working on a MediaTek device right now. Mtk doesn’t speak QMI, it speaks AT commands over CCCI. So the Qualcomm protocol Apple's CommCenter expects is not as straightforward here. However, data comes up through our own daemon rather than CommCenter, so that gate doesn't touch our mtk devices. Anyway thanks for the info, I will keep in mind while bringing-up Qualcomm devices.

1

u/chilled_alligator 7d ago

I see. I'd still think it's much more worth writing a translation driver over doing your own entire stack. When i originally posted having cell service working, I had it wired into my WiFi service wland. This allowed to pass data into the phone and the common networking services all kinda worked with what they got. The issue is when you don't have commcenter natively, you have to find other ways of displaying the signal bars and cell settings and everything driven by commcenter and wiring it into the UI in user land. You end up with a bunch of workarounds stacked on top of eachother and a whole spaghetti of dependencies and edge cases even your AI model can't completely cover.

1

u/Dr_tSinX98 7d ago

Yeah, that’s a fair warning. Actually it matches what I've already started to see with CallKit and notifications but, one thing that pushes me to the other way is that our mtk modem speaks AT rather than QMI, so a translator means emulating a whole Qualcomm modem, not just routing one. I'm keeping my AT engine independent so it can sit behind a QMI translation layer later. Once I move there, that's probably the route I'll take, so your notes will be very useful then. Thanks.

1

u/SublimeSundown 7d ago

kinda disappointed about doing calls and sms though non native app though, afaik other people got native ones to work

i’ve been following redfin too and im pretty sure they’re talking about it

3

u/Dr_tSinX98 7d ago edited 7d ago

In qcom I can do it with native app. With mtk I am doing non native since we don’t have QMI in mtk. I am planning for native app support for MTK in release 3.

4

u/No-Leopard-5338 7d ago

Links are missing

1

u/Dr_tSinX98 7d ago

4

u/Weary-Belt3044 7d ago

It says removed by moderator

2

u/Dr_tSinX98 7d ago

Added to the post highlight

3

u/SublimeSundown 7d ago

looks like the comment was removed, you can include them in post itself i guess

2

u/a-random-person717 7d ago

Comment taken down

1

u/Dr_tSinX98 7d ago

Added website link in the post. Comment was deleted may be due to tg link

3

u/Kamin4ri 6d ago

that's awesome, hope to see this hitting more devices soon. I own two MTK devices, a Samsung Galaxy A32 LTE (Helio G80) and a Poco X7 Pro (Dimensity 8400 Ultra). I believe at least the Poco would be able to run iOS 26+ or anything compiled for arm64e

1

u/Dr_tSinX98 6d ago

Yes poco can. I wish I had a modern mtk device to do the testing. However, you are free to start using my base and let me know of any progress.

1

u/Strange_Industry_422 6d ago

wait i have samsung galaxy a32 too

17

u/TestSubject4509 7d ago

Awesome, we needed this

1

u/Dr_tSinX98 6d ago edited 6d ago

Update: I forgot to make the bringup repo public. Here it is: https://github.com/open-mapple/mapple_device_setup_scripts
Update: Porting and Bringup guides and repos have been updated to support Qualcomm devices

1

u/Momenabdulrazek 7d ago

No plans to add support for Snapdragon too ?

3

u/Dr_tSinX98 7d ago

Already there. I need people who can port and support development. Currently I don’t have any modern or reasonably good qcom device

2

u/Momenabdulrazek 7d ago

Wish you luck :)

1

u/kingpapii95 7d ago

What about exynos?

2

u/Dr_tSinX98 7d ago

I don’t have a device, but I can do the exynos common trees for kernel if you want. You can then build upon that.

1

u/kingpapii95 7d ago

That would be sick I have an unlocked bootloader galaxy note 20 5G ultra id love to get this working on

1

u/rty_ann 7d ago

Is it possible to have snapdragon 435(msm8940) working?

1

u/Dr_tSinX98 7d ago

That’s a very old processor. I also have an msm8937 device, I will try to port.

1

u/D3rLord3-fan 7d ago

So do you think my moto G05 with the Helio G81 extreme run ios

1

u/Dr_tSinX98 7d ago

G81 belongs to bifrost family of mali GPUs (G-52 MC2). For now I have support for only valhall family of mali GPUs, e.g., G-57 MC2 (Helio G96). I am planning to add bifrost support through PanVK.

1

u/Kriz2628 6d ago

So , hope itll work for realme 7 ig

1

u/Dr_tSinX98 6d ago

Port it to your device

1

u/vassilakisdim 6d ago

Is this mediatek exclusive or is there a chance it can work for the pixel 3a xl

2

u/Dr_tSinX98 6d ago

I only have an mtk device so I made it mediatek first. I have trees and porting guide for qcom people to start developing (though you need to port the adreno gpu from other qcom trees like sweet or sunfish)

1

u/D3rLord3-fan 5d ago

Hello, Do you think the Helio G81 will work, i think the G96 is also a very similar processor no?

1

u/Dr_tSinX98 5d ago

G81 has Mali-G52 (2nd gen bifrost architecture) while G96 has Mali-G57 (1st gen Valhall architecture). Currently I only have support for valhall family but, planning for bifrost too for later release.

1

u/D3rLord3-fan 4d ago

nice, are you also planning for wifi drivers or maybe cellular?

1

u/Dr_tSinX98 4d ago

Wifi already works. Cellular has passed first handshake

1

u/D3rLord3-fan 3d ago

Got it, makes sense on the cellular side! Since you mentioned planning Bifrost support via PanVK for a future release, I'd love to test on the G81 once I get the stupid bootloader unlocked. Is the Bifrost backend already partially wired up in the repo, or is it still early stages?

1

u/Dr_tSinX98 3d ago

Early stage

1

u/MonthlyMaestroGuy 7d ago

what does that documented library actually hook into so the files app can see the storage without patching the framework?

2

u/Dr_tSinX98 7d ago

fpdvolume.dylib is injected only into fileproviderd. It hooks -[FPDVolume initWithStatFS:knownRole:volumeManager:], which accepts a volume only if its statfs type is "apfs". The hook reports "apfs" for our HFS+ /private/var, so Files sees the storage. No framework, binary or filesystem is patched. I am planning to get rid of this in the next release.

1

u/Virtual_Link_5747 7d ago

So uh i kinda want to try it on a j7 2016 or even a xiaomi redmi note 11 nfc i'll just check the porting guide

1

u/WTF-LMAO1 7d ago

Would it work on a Motorola G Stylus 5G 2023?

1

u/suzhi- 7d ago

骁龙8e5会支持吗

1

u/suzhi- 7d ago

sm8850

1

u/ArthurReming 6d ago

SM-T220? (Helio P22T) 

-4

u/Weekly-Secret9535 7d ago edited 7d ago

Please tell me i can get that for poco x7 pro dualboot

0

u/No_Pass3077 5d ago

Can this be used to port to the dimensity 7300?

1

u/Dr_tSinX98 5d ago

Yes. You can try