[BUG] (ARM64) fails to start on Snapdragon X Elite surface pro 11 – crashes immediately on launch (Exception 0xc0000409)
Describe the bug
On my surface pro 11 (arm64 with Snapdragon X Elite ) running windows 11 25H2 wsa installs successfully but fails to start. When launching WSA, the window briefly shows “Starting Windows Subsystem for Android…” and then closes immediately without any UI or error message.
The crash happens consistently on every launch. Event Viewer reports a crash in WsaClient.exe with exception code 0xc0000409 (stack buffer overrun), indicating the process is being terminated by Windows rather than failing during Android runtime initialization. The Android VM never finishes booting.
This occurs with Hyper-V and Virtual Machine Platform enabled, and with installation performed via Install.ps1. Memory Integrity (HVCI) is enabled and enforced on this secured-core ARM device and cannot be disabled.
Steps to reproduce the issue
i try to open file or click on manage developer settings the WSA shows “Starting Windows Subsystem for Android…” briefly, then after about one minute its closes immediately without UI or error dialog.
Expected behaviour
WSA should start normally and initialize the Android environment.
Downloaded Build Of WSA
WSA_2407.40000.4.0_arm64_Release-Nightly-GApps-13.0-NoAmazon https://github.com/MustardChef/WSABuilds/releases/download/Windows_11_2407.40000.4.0_LTS_7_HOTFIX_1_arm64/WSA_2407.40000.4.0_arm64_Release-Nightly-GApps-13.0-NoAmazon.7z
Windows build number
26100.x (25H2) arm64
PC Specification
Device: Surface Pro 11
CPU: Snapdragon X Elite (ARM64)
Architecture: ARM64
RAM: 16 GB
Windows Version: Windows 11 25H2
OS Build: 26100.x (25H2)
Hyper-V: Enabled and detected
Virtual Machine Platform: Enabled
Memory Integrity (HVCI): Enabled and enforced (grayed out, cannot be disabled)
WSA Build: 2407.40000.4.0_LTS_7_HOTFIX_1_arm64
Additional context
Faulting application name: WsaClient.exe, version: 2407.40000.4.0, time stamp: 0x67527ca5 Faulting module name: ucrtbase.dll, version: 10.0.26100.7623, time stamp: 0x0f0471e1 Exception code: 0xc0000409 Fault offset: 0x000000000007ba6c Faulting process id: 0x5AB0 Faulting application start time: 0x1DC9A8482FF50B0 Faulting application path: C:\Users\haide\Documents\WSA\WsaClient\WsaClient.exe Faulting module path: C:\WINDOWS\System32\ucrtbase.dll Faulting package full name: MicrosoftCorporationII.WindowsSubsystemForAndroid_2407.40000.4.0_arm64__8wekyb3d8bbwe Faulting package-relative application ID: App
Also happens on x86 since the July 2025 update
Also happens on x86 since the July 2025 update yes i tested it on my 12 gen intel laptop and the same issue happens
Similar issue as #325 , you can check comments under that issue as reference, but the solution doesn't work for me. There is also patch pack for an old version of wsa snickler/WSA-Patched give it a try.
Btw, this version works for me. 8cx gen3, 25h2(26220.7755). This issue may caused by GAPPs, so make sure use the NoGAPPs version.
update: i use snickler/WSA-Patched with the current build now launches correctly on my Snapdragon X Elite device and WSA is usable for general apps. However, video playback is still unreliable — YouTube clients (e.g., NewPipe) either show a black screen or crashed, and TikTok only play some videos while others glitch or fail to start. Switching graphics modes changes performance slightly but doesn’t resolve playback issues. Everything else seems stable so far.
Btw, this version works for me. 8cx gen3, 25h2(26220.7755). This issue may caused by GAPPs, so make sure use the NoGAPPs version.
is video playback working?
is video playback working?
turn off the hardware accelerate, this function seems not work properly on adreon GPUs.
update: i use snickler/WSA-Patched with the current build now launches correctly on my Snapdragon X Elite device and WSA is usable for general apps. However, video playback is still unreliable — YouTube clients (e.g., NewPipe) either show a black screen or crashed, and TikTok only play some videos while others glitch or fail to start. Switching graphics modes changes performance slightly but doesn’t resolve playback issues. Everything else seems stable so far.
May I know how to specifically operate it?
update: i use snickler/WSA-Patched with the current build now launches correctly on my Snapdragon X Elite device and WSA is usable for general apps. However, video playback is still unreliable — YouTube clients (e.g., NewPipe) either show a black screen or crashed, and TikTok only play some videos while others glitch or fail to start. Switching graphics modes changes performance slightly but doesn’t resolve playback issues. Everything else seems stable so far.
May I know how to specifically operate it?
just copy and paste in the main wsa folder and use no amazon n gapps version
update: i use snickler/WSA-Patched with the current build now launches correctly on my Snapdragon X Elite device and WSA is usable for general apps. However, video playback is still unreliable — YouTube clients (e.g., NewPipe) either show a black screen or crashed, and TikTok only play some videos while others glitch or fail to start. Switching graphics modes changes performance slightly but doesn’t resolve playback issues. Everything else seems stable so far.
May I know how to specifically operate it?
just copy and paste in the main wsa folder and use no amazon n gapps version
- https://github.com/MustardChef/WSABuilds/releases/tag/Windows_11_2407.40000.4.0_LTS_7_HOTFIX_1_arm64
download -> run.bat(install)
-
WSA-Patched 0.0.2(4 files) copy and paste(Windows_11_2407.40000.4.0_LTS_7_HOTFIX_1_arm64 folder)
-
Windows key-> Windows Subsystem run
Is this the right way to do it?
update: i use snickler/WSA-Patched with the current build now launches correctly on my Snapdragon X Elite device and WSA is usable for general apps. However, video playback is still unreliable — YouTube clients (e.g., NewPipe) either show a black screen or crashed, and TikTok only play some videos while others glitch or fail to start. Switching graphics modes changes performance slightly but doesn’t resolve playback issues. Everything else seems stable so far.
May I know how to specifically operate it?
just copy and paste in the main wsa folder and use no amazon n gapps version
- https://github.com/MustardChef/WSABuilds/releases/tag/Windows_11_2407.40000.4.0_LTS_7_HOTFIX_1_arm64
download -> run.bat(install)
- WSA-Patched 0.0.2(4 files) copy and paste(Windows_11_2407.40000.4.0_LTS_7_HOTFIX_1_arm64 folder)
- Windows key-> Windows Subsystem run
Is this the right way to do it?
-
Download https://github.com/MustardChef/WSABuilds/releases/tag/Windows_11_2407.40000.4.0_LTS_7_HOTFIX_1_arm64
-
Copy and paste WSA-Patched 0.0.2 (4 files) (Windows_11_2407.40000.4.0_LTS_7_HOTFIX_1_arm64 folder)
-
Run.bat (Run as administrator)
-
It may be the Windows key -> Windows Subsystem run sequence.
Due to Windows Update, the Google app seems to be blocking the initial installation, so it's not working properly. For the x86 version, install the one ending in with-magisk-30.6.30600.-stable-NoGApps-NoAmazon.7z, then overwrite the kernelSU version (recommended in safe mode, as some files are in use). Then, reinstall (ignoring the error message). This will allow you to use Google apps. (The Windows Subsystem for Android screen and the "Starting" message at the bottom of the loading screen when launching apps will remain in English.)
Snapdragon X Plus and Elite processors support the arm64 instruction set, but not the arm32 instruction set, preventing them from running. Therefore, no matter what I install, it won't run. (I understand that some arm32 binaries included in the stock version are causing the boot process to fail.)
Previously, I could patch a locally built app using MagiskOnWSALocal, and it worked. However, with Windows updates, Google apps are now blocked from running on initial startup. I've tried deleting and reinstalling, and it still doesn't work. I'm not sure if MagiskOnWSALocal will work yet, but I'll try building it without Google apps later when I have time and try again.
Today, I locally built the following two using MagiskOnWSALocal and installed them in the following order. GApps can be installed and run in an ARM64 environment, but I cannot log in to Google due to information inconsistency caused by the patch (it goes around in circles for a while before entering the login screen and then a message appears saying that it cannot connect to the Google server). In fact, GApps seem to be meaningless in an Arm64 environment. (Unless a patch that allows GApps to be used is released... I think the information inconsistency is because the current patch is for the original WSA.)
- Before installation, build the following two locally using MagiskOnWSALocal.
- Fortunately, MagiskOnWSALocal is still available and usable. (ARM64 depends on the build environment, so none of the WSABuilds dependencies will work no matter which one you install.)
- First, create an appropriate folder and unzip the NoGApps version.
- Download and overwrite the patch.
- I received the patch below. It contains two files: system.vhdx and vendor.vhdx.
-
Run Run.bat with administrator privileges to complete the installation. * If you see magisk, the installation was successful.
-
Unzip the GApps version and overwrite everything except the patched files (some files may be in use, so it is recommended to overwrite them in safe mode)
-
(If in Safe Mode, reboot) Re-run Run.bat with administrator privileges to proceed with the installation.
- After installation, magisk and the Play Store will appear. However, as mentioned earlier, you can't log in to the Play Store. Even if you manually install apps that require GApps, they don't seem to work. (General apps that don't require GApps can be installed manually using adb.)
Surface Pro 11 / Snapdragon X Elite: boot workaround with an unrooted initrd
I tested this on a Surface Pro 11 (Snapdragon X Elite X1E80100, 32 GB RAM), Windows 11 Pro 24H2 build 26100.9445. These are local experimental results, not a general fix for all ARM64 failures.
Base package: WSA 2407.40000.4.0 ARM64, WSABuilds LTS 8, Magisk 30.6.30600 Canary, GApps 13.0, NoAmazon. Package registration and ARM64 dependencies were healthy. WsaClient waited approximately 122 seconds, then crashed with 0xc0000409 in ucrtbase.dll (WER exception data 7). The Android userdata disk remained uninitialized and no logcat was produced.
Controlled tests
| Android partitions | initrd | Result |
|---|---|---|
| LTS 8 originals | LTS 8 Magisk/GApps | Two-minute startup timeout |
Originals, changing only vendor ro.zygote to zygote64 |
Same Magisk/GApps | Same timeout |
| All four snickler WSA-Patched 0.0.2 partitions | Same Magisk/GApps | Same timeout |
| Same four patched partitions | Original wsainit restored as the only /init, without added hooks |
Android Settings opened, userdata initialized, live logcat appeared, Play Store reached its sign-in screen |
Credit for the ARM64 Android partitions belongs to snickler/WSA-Patched 0.0.2. This report adds the boot-hook isolation result for this newer Magisk build; it does not claim authorship of those partitions.
The working combination was verified again after using WSA Settings > Turn off, observing WsaClient/WsaService/vmmemWSA exit, and launching Play Store into a new VM. Its sign-in screen opened again. The original WSL configuration was restored before this second boot.
How the unrooted initrd was made
The MagiskOnWSALocal build script moves the original /init to /wsainit, then installs lspinit, magiskinit, and overlay hooks. The original executable can therefore be recovered from this particular build without downloading another WSA package.
-
Shut WSA down using its Windows settings Turn off control and confirm that WsaClient and vmmemWSA have exited. Back up the installed
Tools/initrd.img, all VHDX files, and the separate Android user-data disks. Do not edit mounted images. -
In a separate working directory, extract only
wsainitfrom the backed-up initrd with 7-Zip. Check that it is the original ARM64 ELF executable. Ifwsainitis missing, these instructions do not apply. -
In WSL/Linux, create a fresh directory containing that executable named
init. Set its mode to 0755, then produce a newc CPIO archive with root ownership. For example, from that directory:printf 'init\0' | cpio --null -o -H newc --owner=0:0 > ../initrd-stock.imgDo not accidentally archive the existing Magisk overlays. Listing the output should show exactly one regular file:
init. -
With WSA stopped, install the four snickler 0.0.2 VHDX files as a matched set and replace only
Tools/initrd.imgwith the reconstructed archive. Keep the package directory in place. Launch Android Settings, then Play Store.
Interpretation and limits
- The original ARM64 image is not 64-bit-only: ELF inspection found ARM32
app_process32,mediaserver,drmserver, audio HAL, CAS service and OMX service. Vendor configuration selectszygote64_32. That is a separate compatibility problem on Snapdragon X. - Removing the added initrd boot path was necessary in the tested combination. This narrows the remaining early-boot failure to the added boot path, but does not identify whether lspinit, Magisk initialization, or a GApps/custom overlay is the precise failing component. No claim of a Magisk source-level fix is being made.
- This workaround removes root. GApps in the community partitions remain present; GApps supplied only by the removed initrd overlay would not.
- Play Store sign-in screen is verified, account sign-in and app installation are not. Early Google check-in errors appeared in logcat, so the sign-in screen must not be described as full Google Play success.
- The patch author's known video/camera/other limitations still apply. Original unpatched partitions with the reconstructed initrd were not tested.
- No Windows security features, virtualization settings, or graphics drivers were disabled or downgraded.
This is shared as a reproducible startup workaround and a lead for maintainers investigating the newer Magisk boot chain. No proprietary binaries or private logs are attached.
Snapdragon X: root works. The Magisk builds ship a corrupted lspinit
Following up on @realsama's finding that the Magisk boot hook is what fails: the file itself is damaged. With it repaired, Magisk 30.6 boots fine on Snapdragon X (tested on LTS 8 2407.40000.4.0 arm64 with snickler/WSA-Patched 0.0.2 images).
Cause: in the arm64 Magisk builds, lspinit (the /init of Tools\initrd.img) has had every 0D 0A byte pair turned into 0A, the CRLF → LF conversion Git applies to text files. It's 3 bytes short and dies with Illegal instruction before /wsainit runs, so the VM never contacts the host and WsaClient times out with 0xc0000409. Applying \r\n → \n to the official bin/arm64/lspinit gives exactly the shipped file. The rest of the initrd is intact. That's likely why local MagiskOnWSALocal builds work and the prebuilt packages don't.
| File | SHA-256 |
|---|---|
Official lspinit |
19bb3433b76d870327f3ef85a5401f3dc6ecf1424d780f9447b6fac628aba498 |
Shipped lspinit (damaged) |
321af8cf1e93780fa5e809c4eb74a65b787b6f6e47c34db6d83917bdeac82c77 |
Fix: replace lspinit in initrd.img with the official file. Repair-MagiskInitrd.ps1 does this (pinned download, hash check). Details are in the README. After copying the result over Tools\initrd.img, su -c id gives uid=0(root), and Play Store, networking and apps keep working.
For the packages: mark binaries as binary in .gitattributes (or check for core.autocrlf) and rebuild the arm64 Magisk variants.
No video with snickler's images (as @kdaek21 mentioned): its vendor.vhdx sets debug.stagefright.ccodec=0, which leaves Android with no video decoders. Changing it to 4 enables the c2.android.* software decoders. Patch-VendorCcodec.ps1 does this. Clear YouTube's storage once afterwards.