Sharing an early [WIP] milestone: I got Windows 11 ARM booting natively on bare metal on a Snapdragon 8 Gen 5 (Xiaomi 17) — no emulation, no VM, no Android underneath. As far as I can tell, this might be the first public native WoA bring-up on this SoC.
To set expectations clearly: it doesn't reach the desktop (explorer.exe) yet. Right now, the system boots cleanly through a custom UEFI stack, initializes the Windows kernel and storage, and gets all the way to the pre-shell stage before hitting graphics and power-management blockers.
What's Working on Snapdragon 8 Gen 5
Маркер списка UEFI / Bootloader: Custom UEFI image based on Project Silicium (Project Mu / EDK2), flashed via a custom Rust-based Fastboot workflow. Memory map ranges (modem, TrustZone, Qualcomm hypervisor, framebuffer) were extracted from stock firmware and Linux logs to prevent instant drops into EDL 9008.
Маркер списка Display: Basic output via Simple Framebuffer handed off to Windows through UEFI GOP.
Маркер списка ACPI: Minimal compiled tables (FADT, MADT, GTDT, barebones DSDT via iasl) translated from stock .dts to get past ACPI_BIOS_ERROR, with hypervisor-protected blocks stubbed/excluded.
Маркер списка Storage & I/O: Internal UFS storage working (read/write) after configuring GPT (ESP + NTFS), SMMU address translation, and UFS ACPI bindings to fix INACCESSIBLE_BOOT_DEVICE. USB-C forced into Host Mode (OTG), allowing WinPE deployment via DISM / bcdboot with an external mouse and keyboard.
Current Blockers (Pre-Shell)
The boot sequence currently hangs or resets right before the graphical shell loads. Crash dumps point to:
1. DWM / Framebuffer memory conflicts during the handoff from UEFI GOP to the Windows graphics stack.
2. Missing Qualcomm PEP (Power Engine Plug-in) driver, causing resets when the CPU tries to enter idle power states.
(Also still missing: GPU acceleration, brightness, touchscreen I2C/SPI driver, Wi-Fi/BT, modem, audio, and battery telemetry.)
Workflow Note
Doing early SoC bring-up solo is brutal, so I leaned heavily on Gemini 4 Neon (parsing huge .dts files, cross-checking memory overlaps, reading crash dumps) and Codex (patching EDK2 C code, generating/fixing ASL tables, automating build scripts and offline registry edits). Still took endless manual flashing and recovery on the actual device, but it sped up the grunt work a lot.
Next step is isolating the framebuffer regions more strictly in EDK2, disabling problematic CPU idle states in the offline registry, and forcing a clean fallback to Microsoft Basic Display Driver to finally hit the desktop.
If anyone here has experience dealing with Qualcomm PEP resets or DWM framebuffer handoffs on newer Snapdragon platforms, I'd love any tips!