- Download a Windows 11 ARM64 ISO from Microsoft. HyperWin does not include Windows, so you need your own license.
- Install the APK from Releases on a phone with Android 16 or newer and AVF support.
- Install Shizuku, start it from Wireless debugging, then open HyperWin and tap Allow. This switches on the two virtual machine permissions once. No Shizuku? Run the two
adb shell pm grantcommands in the guide instead. - Pick your ISO in the setup screens. HyperWin builds Windows in about fifteen minutes.
The full guide, with every step, the toolbar and the settings, is USAGE.md.
AIO Graphics Test demos running in Windows on a Pixel 6 Pro, with the Vortek and BC texture fixes.
![]() |
![]() |
![]() |
![]() |
The last picture shows the virtual gamepad on top of a demo.
Windows ARM64 in an Android AVF virtual machine. Windows' GPU drivers send Direct3D, Vulkan and OpenGL to the phone over HyperWin's own protocol on shared memory. On the phone, DXVK, vkd3d-proton and Zink turn that into Vulkan for the phone's own GPU driver. gfxstream is no longer used for drawing.
Replacing d3d11.dll or xinput1_4.dll, the way Wine and Winlator do, is a bootstrap only. Anti-cheat looks for those hooks. The path that keeps the system DLLs is:
- Vulkan. Windows' own
vulkan-1.dllloads HyperWin's Vulkan driver, which forwards to the phone over the same protocol. - Picture and sound. A 128 MiB shared window, the same idea as SweetCider's ashmem mapping. Frames are 1280×720 BGRA, double buffered. Audio is 48 kHz stereo S16 in a 1 MiB ring. The header is
HYPRWIN1in include/hw_abi.h. - Pads. The latest pad is in that header. On AVF the guest also listens on vsock port 5601 and the app connects with
VirtualMachine.connectVsock. A virtual HID pad is the version anti-cheat will accept. guest/bootstrap/xinput.c is the fallback DLL, not the default install. - TPM. A small TPM 2.0 engine (startup, random, capabilities, PCR read/extend) serves a mailbox in the window. The 32-byte seed is wrapped by an Android Keystore AES-GCM key (
TpmSeed). The commands run in the app. Keystore holds the wrapping key. This is not a TPM inside TrustZone, and Windows' inboxtpm.sysstill needs an ACPI CRB front end before BitLocker will see it. - Install. tools/unattend/autounattend.xml is an ARM64 answer file for Windows 11 Setup. First logon copies
hyperwin\off the OEM USB toC:\HyperWinand registers the ICD. It does not replace anything inSystem32.
The install button in the app is the Windows setup flow. Give it an ISO with --es iso /path/to/windows11-arm64.iso, or copy the image to the app's external install.iso. Prepare copies that ISO into private storage, creates a 40 GiB system.img whose length is a multiple of 4096, and packs oem.img: a FAT volume with autounattend.xml and the driver files. GuestBoot.installImage then does what SweetCider does for an iOS root: setKernelPath(hyperwin.img) and one RWDisk for the system disk, the driver disk, and the ISO, with gfxstream Vulkan turned on. First logon copies hyperwin\ to C:\HyperWin and registers the ICD. It does not replace System32 DLLs.
The boot path matches SweetCider. VmSmokeTest calls setKernelPath with a Linux ARM64 Image and VirtualMachineCustomImageConfig.Disk.RWDisk with a private raw disk whose length is a multiple of 4096. GuestBoot does those two calls for hyperwin.img and system.img. The Image is the probe: it finds the shared window from the device-tree pmem-region, the same kind of extra memory SweetCider maps above the guest. AVF enters that Image directly. It does not open a UEFI shell.
EDK2 (edk2-aarch64-code.fd, QEMU's AAVMF build) is only the firmware for the ISO test in QEMU. Windows Setup still needs a UEFI firmware, which AVF does not provide, so that boot stays a QEMU stand-in. The ISO, a raw disk, and the OEM answer file are USB storage, because Windows PE has no virtio disk driver. virtio-gpu-pci is on the bus so it matches the gfxstream device AVF adds.
make test # host-side frame, audio, pad, TPM
make dll # ARM64 bootstrap DLLs and the ICD stub
tools/qemu/run-probe.sh
HYPERWIN_ISO=/path/to/windows11-arm64.iso tools/qemu/run-iso.sh
x86_64 builds of the same DLLs can be made on another machine, which has x86_64-w64-mingw32-gcc. The guest image is ARM64, so the DLLs Windows loads are the ARM64 ones.
The Android app is dev.hyperwin.app. It stages the answer file, builds the gfxstream GpuConfig, allocates the shared window, and wraps the TPM seed.
- AIO Graphics Test by The412Banner (@The412Banner). The demos in the screenshots come from it, and it is how this project checks Direct3D, Vulkan and OpenGL.
- Triton by the UTM project (utmapp/viogpu-wddm). HyperWin's Windows GPU driver borrows its handshake with Windows: their kernel driver, which builds on Red Hat's virtio-win work, moved from the virtio GPU card onto this project's shared memory. The drawing is not Triton's. It runs on the phone through DXVK, Zink and the phone's Vulkan driver, over HyperWin's own protocol.
- gfxstream by Google. Earlier versions carried Vulkan to the phone with it. HyperWin's own protocol has replaced it.
- Winlator by brunodev85 (@brunodev85). It inspired this app. The touch controls and their profile files follow Winlator's format. The Vortek fixes come from its renderer, and it is the reference this project compares against when something goes wrong.
HyperWin also ships code from these projects. Each one's license is in the app under Settings, About, Open source licenses.
- DXVK and DXVK-Sarek. They draw Direct3D 8 to 11 on the phone.
- vkd3d-proton. Direct3D 12.
- Mesa. The Vulkan driver inside Windows, and OpenGL through Zink.
- Gladio and the GL renderer of Winlator by brunodev85. The experimental Gladio OpenGL renderer, which runs OpenGL on the phone's GLES driver.
- Vortek from Winlator by brunodev85. A Vulkan driver choice for games.
- FidelityFX FSR 1 by AMD. Sharper upscaling for games.
- Vulkan Loader by Khronos.
- bcn_layer by Pipetto-crypto. Compressed game textures on Mali.
- EDK II and edk2-gunyah by Droid-VM. The firmware that starts Windows.
- VirtIO drivers for Windows by Red Hat. Disk and socket drivers.
- Wintun by WireGuard. The network adapter in Windows.
- WinFsp by Bill Zissimopoulos. Phone storage as drives in Windows.
- wimlib, NTFS-3G, hivex and cJSON. They build the Windows disk from an ISO on the phone.
- Shizuku by RikkaApps and AndroidHiddenApiBypass by LSPosed. They let the app ask for the virtual machine permission.



