Files
UniXNU/docs/devices/malachite.md
ghidgdsr 40aad3ccd7 docs: add the malachite (MT6878) port
The POCO X7 / Redmi Note 14 Pro 5G reaches the iOS 16.5 userland with
HackiOS's xnuloader and uefi-malachite.  The UEFI boot path goes straight
into the XNU loader and has no boot menu; the userland does not start
properly yet, and lsd and usermanagerd log errors frequently while the cause
is being located.  The page records the stage table and the build and flash
commands; the English and Chinese pages are kept in sync.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 09:41:43 +08:00

2.4 KiB

POCO X7 / Redmi Note 14 Pro 5G (malachite)

malachite is the Xiaomi POCO X7 and Redmi Note 14 Pro 5G with the MediaTek MT6878 SoC (Dimensity 7300-Ultra). The port below is an independent community project. The UniXNU organization does not maintain it. The kernel and root file system come from HackiOS; uefi-malachite, a port of uefi-sheng (Mu-Silicium) to MT6878, provides the UEFI firmware.

Repository Maintainer State
hackios-xnu-kernel (malachite branch) ghidgdsr XNU rootfs loaded; the iOS userland does not start properly yet
uefi-malachite ghidgdsr UEFI works; UFS works

State

Stage State
UEFI firmware works; boots straight into the XNU loader, with internal storage and the one key the device tree exposes (no boot menu)
UFS works; the iOS 16.5 system image on userdata is the root (md0)
XNU boots on core 0 (PSCI starts other cores at EL2)
XNU rootfs loaded; launchd and lsd run
iOS userland does not start properly; lsd and usermanagerd log errors frequently and the cause is under investigation; the loader's log monitor and saved-log slots are the bring-up aids
Display loader text on the LK framebuffer only
USB not implemented
Touch not implemented
GPU not implemented
Wi-Fi, Bluetooth, audio not implemented

UEFI works, UFS works, the XNU rootfs is loaded; USB, touch and the rest are not implemented.

Build

The boot image is the firmware volume with the HackiOS XNUP payload appended (BootShim, the UEFI firmware volume and the payload), packed as an Android boot image v4 whose kernel is an lz4 -l stream. The loader and payload commands are in the kernel repository's docs/malachite.md. The firmware is built with:

./build_uefi.py -d malachite -r RELEASE

Flash it to boot_a, set slot a active and reboot:

fastboot flash boot_a Mu-malachite.img
fastboot --set-active=a
fastboot reboot

The kernel, the iOS system image and the payload are external inputs and are not stored in the repositories.

Maintenance

The maintainer owns the repositories and their release decisions. UniXNU documentation lists the port and its state; it does not take over maintenance.