跳到正文

正在自动登录…

← 返回项目列表

MakrSas/ios-topaz

系统移植

将iPhone X的iOS 16.7.16用户空间移植到Redmi Note 12 4G上,使其在Qualcomm SM6225平台启动至锁屏界面的实验性项目,面向对系统移植感兴趣的开发者。

AI 中文解读 · 根据仓库描述与 README 生成 · 2026/10/19 15:06:21 · 查看原文

普通Python研究项目Fork 仓库
累计 Stars
500
当前热度
1~7 天 · 小火
仓库创建时间
打开 GitHub ↗

选用指南

AI 根据 README 整理 · 2026/10/19 15:06:21

适用场景

适用于在Redmi Note 12 4G上实验性运行iOS 16,当前仅能启动至锁屏且无触摸支持。

查看 README 依据
As of **2026-10-18** the phone boots to the **iOS lock screen** in about 3 minutes, on the four Cortex-A73 cores. Rendering runs entirely on the CPU; there is no GPU driver. Touch is being brought up (see the roadmap); without it the lock screen cannot be unlocked yet. > Experimental bring-up, not a usable phone OS. Many things are missing or stubbed, and Apple's security model is mostly switched off. It installs into the `userdata` partition and so **erases Android's user data**. Nothing is flashed to the boot partitions; the kernel is started from RAM with `fastboot boot`. ## What works
使用方式

通过fastboot boot命令启动内核,使用GitHub Actions构建内核和iOS根文件系统。

查看 README 依据
You need a Redmi Note 12 4G (`topaz`/`tapas`, SM6225) with an **unlocked bootloader**, a Linux PC with `fastboot`, and a GitHub account for the kernel build. **Everything on `userdata` is lost.** Boot, vendor_boot, firmware and other partitions are never written. ### 1. Build the kernel The kernel builds on GitHub's macOS runners (macos-14, Xcode 15) with [blacktop/darwin-xnu-build](https://github.com/blacktop/darwin-xnu-build); newer Xcode's `iig` does not match the xnu-8796 IORPC ABI. Fork the repo and run, on the `topaz` branch: ```sh gh workflow run xnu.yml -R YOU/ios-topaz --ref topaz
Download the iPhone X (iPhone10,3) iOS 16.7.16 (20H392) IPSW from Apple. On Linux, with `apfs-fuse` (build it from [sgan81/apfs-fuse](https://github.com/sgan81/apfs-fuse) if your distribution has no package), `hfsprogs` and sudo: ```sh # OS, SystemOS and AppOS disk images (see BuildManifest.plist, D22AP Erase identity) sudo bash tools/mkiosroot.sh OS.dmg SystemOS.dmg AppOS.dmg ios16-root.img 16G sudo mount -t hfsplus -o loop,force ios16-root.img /mnt/iosroot sudo python3 tools/sweet-root-tweaks.py /mnt/iosroot sudo umount /mnt/iosroot img2simg ios16-root.img ios16-root.simg ```
fastboot -S 512M flash userdata ios16-root.simg # ~5 minutes; do not unplug fastboot boot shim/out/shim-boot.img ``` The shim screen (red) shows `MMFR0`, the Gold hand-off and `SPEED silver=… gold=…` for 8 seconds, then XNU starts. The first boot spends a while on the Apple logo (SpringBoard waits for LaunchServices to build its database); the lock screen follows after about 3 minutes. To get back to fastboot, hold Power + Volume down. ### Debugging tips
部署要求

需要Redmi Note 12 4G(解锁引导加载程序)、Linux PC和GitHub账户;构建iOS根文件系统需从Apple下载IPSW并安装apfs-fuse等工具。

查看 README 依据
You need a Redmi Note 12 4G (`topaz`/`tapas`, SM6225) with an **unlocked bootloader**, a Linux PC with `fastboot`, and a GitHub account for the kernel build. **Everything on `userdata` is lost.** Boot, vendor_boot, firmware and other partitions are never written. ### 1. Build the kernel The kernel builds on GitHub's macOS runners (macos-14, Xcode 15) with [blacktop/darwin-xnu-build](https://github.com/blacktop/darwin-xnu-build); newer Xcode's `iig` does not match the xnu-8796 IORPC ABI. Fork the repo and run, on the `topaz` branch: ```sh gh workflow run xnu.yml -R YOU/ios-topaz --ref topaz
Download the iPhone X (iPhone10,3) iOS 16.7.16 (20H392) IPSW from Apple. On Linux, with `apfs-fuse` (build it from [sgan81/apfs-fuse](https://github.com/sgan81/apfs-fuse) if your distribution has no package), `hfsprogs` and sudo: ```sh # OS, SystemOS and AppOS disk images (see BuildManifest.plist, D22AP Erase identity) sudo bash tools/mkiosroot.sh OS.dmg SystemOS.dmg AppOS.dmg ios16-root.img 16G sudo mount -t hfsplus -o loop,force ios16-root.img /mnt/iosroot sudo python3 tools/sweet-root-tweaks.py /mnt/iosroot sudo umount /mnt/iosroot img2simg ios16-root.img ios16-root.simg ```
已知限制

当前无触摸、Wi-Fi、蓝牙、蜂窝、音频、相机、传感器、GPS和SEP支持,无GPU,仅使用4个Gold核心,且安全性已关闭,安装会清除Android用户数据。

查看 README 依据
As of **2026-10-18** the phone boots to the **iOS lock screen** in about 3 minutes, on the four Cortex-A73 cores. Rendering runs entirely on the CPU; there is no GPU driver. Touch is being brought up (see the roadmap); without it the lock screen cannot be unlocked yet. > Experimental bring-up, not a usable phone OS. Many things are missing or stubbed, and Apple's security model is mostly switched off. It installs into the `userdata` partition and so **erases Android's user data**. Nothing is flashed to the boot partitions; the kernel is started from RAM with `fastboot boot`. ## What works
- **No Wi-Fi, Bluetooth, cellular, audio, camera, sensors, GPS, SEP.** `bluetoothd` and `fairplayd.H2` relaunch constantly because the hardware is missing. - **No GPU**, low frame rate (the CPU copies frames to the panel, `sweetfb_hz`). - **No real-time clock**: the date starts at 31 December. - **Only 4 of 8 cores** (see "Why only the Gold cores"). - **Security is off**: permissive AMFI and sandbox, stub AppleKeyStore, no data protection. ## How topaz differs from sweet These are the walls hit during the port; each one stops the boot silently if missed. | Problem | Fix | | --- | --- |

README

正在加载 README…

收录信息

仓库创建时间
2026/10/19 00:23:22
首次达标收录
2026/10/19 15:01:35
统计更新时间
2026/10/22 19:00:56

按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。

模型评估

普通加权总分 3.4 / 5

新颖度
4.1
实用价值
2.0
成熟度
4.0
实质含量
3.7

由 Jev 模型根据仓库描述与 README 评估,2026/10/19 15:01:35 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。

仓库信息

最近推送
2026/10/21 02:38:13
许可证标识
未识别,请查看仓库说明
Fork 数
117
当前状态
未归档 · Fork 仓库

收录记录

按创建时长与累计 Stars 首次收录:小火
首次发现项目