How timeto2025/ios-26-hot-raphael works
This is an experimental iOS 26 port for the Redmi K20 Pro/Mi 9T Pro. Its main runtime path is booting the phone into iOS, then using userland drivers and services to expose hardware capabilities. The graph includes documented audio, Wi-Fi, and GPU/Metal paths, plus the boot shim and cellular client. README statements establish several cross-subsystem relationships; source excerpts and the index support the more specific internal links. The tree does not include the XNU implementation, and cellular, camera, and GPS are documented as unfinished.
Main entry points: metal2 HotMetal2 frontend · adspd.c ADSP daemon · audio_plugin.c CoreAudio plugin · shim.c Boot shim
Components 17
Audio
- ADSP GLINK transport
phone/adsp/adsp_glink.c - Q6 audio engine
phone/adsp/adsp_q6.c - ADSP daemon
phone/adsp/adspd.c - CoreAudio plugin
phone/audio/audio_plugin.c - Host clock fix
phone/audio/hot_hostclock.h
Wireless
- Wi-Fi daemon
phone/wifi/wland.c - WLAN radio
phone/wifi/radio.c - Cellular QMI client
phone/cellular/qmi_cellular.c
Graphics
- GPU userland
phone/gpu/gpu.c - GPU memory
phone/gpu/pmem.c - HotMetal2 frontend
phone/metal2 - Metal bridge
phone/metal2/bridge/NativeMetalObjects.rs - Turnip Vulkan
phone/turnip/vktest.c - GPU service interface
phone/metal/sweetgpu.c
Other components
- Phone user
Connections 12
- Phone user → Boot shim: boots through
README.md - Boot shim → GPU probe: runs probe
shim/shim.c - ADSP daemon → ADSP GLINK transport: uses transport
phone/adsp/adsp_glink.c - ADSP daemon → Q6 audio engine: uses audio engine
README.md - CoreAudio plugin → ADSP daemon: exchanges audio
README.md - CoreAudio plugin → Host clock fix: fixes clock
phone/audio/audio_plugin.c - Wi-Fi daemon → WLAN radio: starts radio
phone/wifi/wland.c - Cellular QMI client → Wi-Fi daemon: uses QRTR socket
phone/cellular/qmi_cellular.c - GPU userland → GPU memory: allocates memory
phone/gpu/gpu.c - HotMetal2 frontend → Metal bridge: uses bridge
- HotMetal2 frontend → Turnip Vulkan: uses Vulkan backend
README.md - HotMetal2 frontend → GPU service interface: uses GPU interface