AOSP 15 SOURCE · 23 PATCHES · 6 VSOCK BRIDGES · C++23 HOST SYSTEM / EXT / PROD ARM64 BERBERIS SELINUX ENFORCING WSBT / WSFP / WSEV WSRL / WSMM / WSRG CERTUM CATALOG WSA-NEXT WSA-NEXT ANDROID 15 ON WSA 2407 · HAL ENGINEERING · HYPER-V BRIDGE HOST

WSA-Next — Android 15 for the Windows Subsystem for Android 2407 host, built from AOSP source (android-15.0.0_r36, build BP1A.250505.005.D1). Replaces only system, system_ext, and product while preserving Microsoft's stock kernel 5.15.104, vendor partition, and Windows integration, and adds a Certum-signed C++23 Direct2D/Mica installer and background host bridging Bluetooth LE/GATT, Windows Hello biometrics, root (0) without Magisk, and WWAN SIM/SMS/MMS over Hyper-V vsock.

Download WSA-Next.msi   Download WSA-Next.zip   Source on GitHub

WSA-Next is free and stays free. If it keeps Android alive on your Windows 11 PC, support ongoing builds and Certum signing on the project page.

❤ Support WSA-Next
Android 15 Host SELinux Enforcing Installer Certum Signed 21 Languages License

Engineering Status

Microsoft ended Windows Subsystem for Android with Android 13 (2407.40000.4.0). Because WsaClient, WsaService, the Hyper-V VM, the stock 5.15.104 kernel, and the Android 13 vendor partition (VNDK 33) still run cleanly on current Windows 11 (including 26H1), WSA-Next replaces only system, system_ext, and product with AOSP Android 15 (android-15.0.0_r36, build BP1A.250505.005.D1), keeping SELinux enforcing and Microsoft's package identity intact. On top of that baseline, WSA-Next ships WSA-Next.exe, a native C++23 Direct2D/Mica installer and background host of about 1.6 MB built with /W4 /WX /sdl /guard:cf, CET and /Brepro, which verifies a Certum-signed release catalog (manifest.cat) and bridges six Hyper-V vsock hardware channels into Android: Bluetooth LE/GATT, Windows Hello biometrics, root (0) without Magisk, WWAN SIM/SMS, MMS APN relay, and Google Play device registration.

💡 Why Root Is 0 and Not su

Root detection in banking, payment, streaming, and game apps searches for a binary named su, root-manager packages (Magisk, SuperSU), and modified /system partitions. WSA-Next eliminates the entire cat-and-mouse game:

  • No su binary exists anywhere on disk — root is UID 0, so the command is /system_ext/bin/0, and AOSP's own /system/xbin/su is stripped at build time via overrides: ["su"].
  • Policy lives on Windows behind Windows Hello — root is off by default, every request shows the calling app, UID, and sanitized command in a Windows Hello prompt, and every grant emits a Windows notification.
  • Zero image modification — signed official images remain untouched and SELinux stays enforcing. Legacy root apps that hardcode su can opt into a temporary tmpfs symlink in /dev/wsa/bin via a single reversible switch (Android › su for root apps).

Table of Contents


Quick Start

Run WSA-Next.msi, a Windows Installer wizard in 20 languages, or unpack WSA-Next.zip anywhere. The MSI installs WSA-Next.exe and its 20 .lng language files in C:\Program Files\WSA-Next. The copy from the zip puts itself there when you press Install, because the background host must run from a folder only administrators can change. Both are the same signed WSA-Next.exe, which then downloads and verifies the signed Android 15 disk images on its own.

1. Install and First Boot

  1. Install WSA-Next.msi or start WSA-Next.exe from the zip, then click Install in WSA-Next. Windows asks for administrator rights. If Developer Mode or Virtual Machine Platform is off, WSA-Next asks before turning them on; turning on Virtual Machine Platform needs one restart.
  2. Wait through the first boot (a few minutes — normal). Android initializes every preinstalled app and user data just like a new phone. In WSA Settings, Apps shows "0 apps found" until initialization finishes, after which apps appear in the Start menu one by one (YouTube last). Every subsequent boot takes seconds.
  3. Everyday control. The notification-area icon next to the clock reports VM state, Bluetooth state, and root state via event-driven notifications (zero polling). File › Stop WSA (Ctrl+Shift+R or WSA-Next.exe stop) shuts the VM down cleanly and frees RAM immediately.

2. Google Play Device Registration

Google treats a fresh WSA-Next install as an uncertified Android device until registered once. WSA-Next automates the flow end to end: as soon as Play Services checks in, wsa-elevated hands the GSF device ID to the Windows host over vsock (WSRG) and displays the Windows notification "Register this PC with Google Play". Clicking it copies the ID to the clipboard and opens google.com/android/uncertified in your non-elevated browser.

%%{init: {"themeVariables": {"fontFamily": "Segoe UI", "lineColor": "#059669", "primaryTextColor": "#064e3b"}, "flowchart": {"curve": "basis", "nodeSpacing": 30, "rankSpacing": 48}}}%% flowchart LR PS(["Play Services
check in with Google"]) ID(["WSA-Next reads
the GSF device ID"]) N(["Windows notification
Register this PC with Google Play"]) C(["ID copied to clipboard
Google page opens in browser"]) R(["Sign in · paste · Register"]) PS --> ID ID -->|vsock WSRG| N N -->|click| C C --> R classDef droid fill:#ecfdf5,stroke:#059669,color:#064e3b,stroke-width:1.8px; classDef win fill:#e0f2fe,stroke:#0284c7,color:#0c4a6e,stroke-width:1.8px; classDef you fill:#fdf2f8,stroke:#db61a2,color:#831843,stroke-width:1.8px; class PS,ID droid; class N,C win; class R you; linkStyle default stroke:#059669,stroke-width:1.5px;

Tip: Registration persists across WSA-Next updates (only a completely fresh userdata install generates a new GSF ID). If you missed the notification, select Register with Google Play… from the WSA-Next tray icon menu at any time.

3. Windows Hello, Bluetooth, and Root (0)

# Verify Windows Hello readiness and test the native verification prompt
"C:\Program Files\WSA-Next\WSA-Next.exe" hello --check
"C:\Program Files\WSA-Next\WSA-Next.exe" hello --test

# Optional: remember Windows Hello for banking/broker apps (5 min, 30 min, or until Win+L)
"C:\Program Files\WSA-Next\WSA-Next.exe" hello remember 5 --yes

# Optional: enable root for Android apps (off by default; every request confirmed via Windows Hello)
"C:\Program Files\WSA-Next\WSA-Next.exe" elevation on

Inside Termux or adb shell:

0                          # interactive root shell; exit with "exit"
0 -c "id"                  # single command as root -> uid=0(root)
0 pm list packages -3      # list user-installed packages as root
Diagnostic Message Meaning & Action
0: root for Android apps is off Enable Android › Root for apps in WSA-Next (elevation on).
0: Windows Hello is not set up on Windows Configure a PIN, fingerprint, or face under Settings › Accounts › Sign-in options.
0: denied on Windows The Windows Hello confirmation dialog was canceled.
0: another request is waiting for Windows Hello Complete or dismiss the currently open Windows Hello dialog first.

Compatibility Matrix — What Works

Verified on clean installations (fresh userdata) with stock WSA 2407 kernel 5.15.104, stock vendor partition, SELinux enforcing, and zero manual tweaks:

Subsystem Status & Technical Notes
Core Boot & Security Works — Stock Microsoft kernel 5.15.104, stock Android 13 vendor (VNDK 33), split SELinux policy enforcing.
Windows Shell Integration Works — Freeform Android apps as native Windows windows, wsa:// URIs, Start menu shortcuts, Windows toast notifications, clipboard, /sdcard/Windows (virtiofs), and Windows package verification on APK install.
Graphics, Media & Audio Works — OpenGL ES 3.0 (D3D translator), Vulkan 1.1 (gfxstream / Dozen), hardware video decode (H.264, HEVC, VP9, AV1), and bidirectional audio.
ARM Translation Works — 32-bit ARM via vendor Intel Houdini; 64-bit ARM via Google ndk_translation (berberis from Android 16) in the Google Play variant, running ARM64-only Chromium apps such as Microsoft Edge 157 with sandboxed renderers.
Google Play & Backup Works — Play Store, Play Services, Chrome, Google WebView (x86 + x86_64), Gmail, YouTube, and Google account app-data backup (absent in stock WSA 2407).
Bluetooth Bridge Active (LE / GATT) — Bridges the PC's own Bluetooth adapter over vsock (WSBT): LE scanning, GATT reads/writes/notifications/indications, and pairing via Windows. Classic RFCOMM planned next.
Windows Hello Biometrics Works — AIDL IFingerprint HAL (WSFP, class WEAK) backed by Windows Hello fingerprint, face, or PIN, with automatic enrollment and optional timed remember mode cleared on Win+L.
WWAN SIM, SMS & MMS In testing — Bridges a laptop mobile broadband modem (mbnapi) via Cuttlefish RIL (WSRL) and wsa-mms (WSMM) second-context APN relay. No voice path and no cellular data in Android.
Root for Apps (0) Works (userdebug) — UID 0 without Magisk or /system changes; every request verified by Windows Hello (WSEV). Optional tmpfs su toggle for legacy root apps.

Sample everyday apps tested on clean installs via android\tools\appcompat-test.ps1 include Chrome, YouTube with VP9 hardware decode, Spotify, Discord, Gmail, Google Photos, ChatGPT, Allegro, mBank, Google Authenticator, and ARM64-only Microsoft Edge 157 via ndk_translation.

App Compatibility, Reverse Engineering, and Why WSA-Next Does Not Spoof a Physical Phone

Everyday banking apps like mBank run directly on WSA-Next, and with targeted reverse engineering even apps that fail or refuse to start on WSA — such as eDO App or mObywatel — can be made to run cleanly. In practice, almost any Android application can be adapted, and it is entirely possible to make WSA indistinguishable from a physical phone to strict banking apps such as Revolut.

WSA-Next deliberately does not do that. This project is built to be an honest, transparent Android 15 environment for Windows 11, not an anti-fraud bypass kit. It ships no device-spoofing layer and does not engage in an arms race with Play Integrity or banking detectors.

As an engineering note, it is worth stating plainly why client-side environment checks can never be airtight, no matter how large the corporate security team behind them is. An Android process never observes hardware directly. Every signal it reads — system properties, /proc and /sys nodes, Binder IPC, native libraries, sensor streams, and Keystore answers — passes through a kernel, runtime, and hypervisor fully controlled by the machine's owner. When the code runs on hardware you do not own, every check is just another branch executing inside an environment the operator can inspect, intercept, or reshape. Hardware-backed attestation raises the cost, yet even that boundary only shifts where the key material lives rather than repealing the fundamental asymmetry of client-side execution.


System Architecture

Host, Hyper-V VM, and Partition Layout

%%{init: {"themeVariables": {"fontFamily": "Segoe UI", "lineColor": "#059669", "primaryTextColor": "#064e3b"}, "flowchart": {"curve": "basis", "nodeSpacing": 32, "rankSpacing": 52}}}%% flowchart LR subgraph WIN["Windows 11 Host"] HW(["PC Hardware
Bluetooth · Windows Hello · WWAN Modem"]) EXE(["WSA-Next.exe
Installer · Background Host"]) CLIENT(["WsaClient · WsaService
Microsoft, unchanged"]) end subgraph VM["Hyper-V VM · Microsoft Kernel 5.15.104"] SYS["system · system_ext · product
Android 15 · WSA-Next"] HALS["WSA-Next HALs and Daemons
Bluetooth · Fingerprint · RIL · wsa-mms · wsa-elevated"] VEN["vendor · Android 13 HALs
Microsoft WSA 2407 (VNDK 33)"] end HW -->|WinRT · mbnapi · UserConsentVerifier| EXE EXE -->|Hyper-V vsock bridges| HALS CLIENT -->|app windows · notifications · clipboard| VEN HALS --- SYS VEN --- SYS classDef hw fill:#fff7ed,stroke:#ea580c,color:#431407,stroke-width:1.6px; classDef win fill:#e0f2fe,stroke:#0284c7,color:#0c4a6e,stroke-width:1.8px; classDef ms fill:#f1f5f9,stroke:#64748b,color:#0f172a,stroke-width:1.5px; classDef droid fill:#ecfdf5,stroke:#059669,color:#064e3b,stroke-width:1.8px; class HW hw; class EXE win; class CLIENT,VEN ms; class SYS,HALS droid; linkStyle default stroke:#059669,stroke-width:1.5px;

wsainit (Microsoft's WSL-derived initrd) mounts only system.vhdx and starts /init; Android first-stage init then reads /system/etc/fstab.2.windows and mounts the remaining SCSI disks before compiling the split Android 15 + Vendor 33.0 SELinux policy:

SCSI Target / Mount Origin Role in WSA-Next
SCSI 0:0:0:0 · system.vhdx WSA-Next (AOSP 15) System-as-root filesystem, first-stage fstab.{1,2}.windows, framework, ART, and VNDK 33 snapshot.
SCSI 0:0:0:1 · vendor.vhdx Microsoft WSA 2407 Unchanged Android 13 vendor partition (rcmsvc, HWC, GPU translator, Houdini 32-bit, VNDK 33).
SCSI 0:0:0:2 · system_ext.vhdx WSA-Next (AOSP 15) Platform HALs and daemons (bluetooth, fingerprint, cuttlefish-ril, wsa-mms, wsa-elevated, 0), WsaSystemUI, and wsa-services.
SCSI 0:0:0:3 · product.vhdx WSA-Next (AOSP 15) Google Mobile Services, Play-integrated Google apps, ndk_translation (ARM64), APNs, and RRO overlays.
SCSI 0:0:0:4–5 · userdata / metadata WsaService Persistent user apps, accounts, and bootstat metadata; preserved across WSA-Next updates.
virtiofs shares Microsoft Host shared_mem, shared_tmp, /data/anr, /data/tombstones, and /sdcard/Windows.

Hyper-V vsock Hardware Bridges

The background host (WSA-Next.exe host --background, launched at logon) verifies the installed release first and connects to each guest HAL over dedicated Hyper-V sockets as soon as the VM starts — completely event-driven via Host Compute Service notifications, with zero polling:

%%{init: {"themeVariables": {"fontFamily": "Segoe UI", "lineColor": "#059669", "primaryTextColor": "#064e3b"}, "flowchart": {"curve": "basis", "nodeSpacing": 28, "rankSpacing": 52}}}%% flowchart LR API(["Windows APIs
WinRT BLE · UserConsentVerifier
mbnapi · ConnectivityManager"]) HOST["WSA-Next Background Host
Verifies signed catalog first"] BT["Bluetooth HAL
IBluetoothHci"] FP["Fingerprint HAL
IFingerprint · Windows Hello"] EL["wsa-elevated
Root for apps: 0"] RIL["Cuttlefish RIL
SIM · Network · SMS"] MMS["wsa-mms
Loopback MMS Tunnel"] REG["wsa-elevated
Google Play GSF ID"] API --- HOST HOST -->|WSBT · 0x57534254| BT HOST -->|WSFP · 0x57534650| FP HOST -->|WSEV · 0x57534556| EL HOST -->|WSRL · 0x5753524C| RIL HOST -->|WSMM · 0x57534D4D| MMS HOST -->|WSRG · 0x57535247| REG classDef api fill:#fff7ed,stroke:#ea580c,color:#431407,stroke-width:1.6px; classDef host fill:#e0f2fe,stroke:#0284c7,color:#0c4a6e,stroke-width:2px; classDef hal fill:#ecfdf5,stroke:#059669,color:#064e3b,stroke-width:1.8px; class API api; class HOST host; class BT,FP,EL,RIL,MMS,REG hal; linkStyle default stroke:#059669,stroke-width:1.5px;

Microsoft Integration Modularity

A static scan of WSA's Android 13 framework confirmed zero Microsoft hooks inside framework.jar or services.jar; integration relies on standard AOSP extension points:

Integration Layer AOSP Mechanism
system_server services config_deviceSpecificSystemServices, config_deviceSpecificDisplayAreaPolicyProvider, and WsaLaunchParamsModifier.
Windowing Shell (WsaSystemUI) SystemUI-core variant (same pattern as TvSystemUI) with its own WM Shell module mirroring each freeform task to a Windows window.
Host Channels Privileged apps (SystemApp, UserApp, HomeApp) communicating over the vendor's rcmsvc vsock protobuf channel.
Display Composition SurfaceFlinger tags layers with com.microsoft.wsa.{taskid,windowtype,secure}; vendor HIDL composer 2.4 maps each task to its Windows window.

The Installer and Background Host (WSA-Next.exe)

Update Pipeline and Atomic Switching

WSA-Next.exe is a single native C++23 binary of about 1.6 MB, without an external runtime, with a Direct2D/Mica GUI and a full command line. Unchanged components are skipped; downloaded zstd --long=31 streams unpack to <name>.new while WSA keeps running, and files swap atomically only after every SHA-256 passes:

%%{init: {"themeVariables": {"fontFamily": "Segoe UI", "lineColor": "#059669", "primaryTextColor": "#064e3b"}, "flowchart": {"curve": "basis", "nodeSpacing": 28, "rankSpacing": 44}}}%% flowchart LR M(["manifest.json
+ manifest.cat"]) V{"Signed by
Certum publisher?"} W["Source build
warning"] X["Refused
(official exe)"] P["Plan
diff vs wsa-next.json"] D["Download
WinHTTP · Range resume"] U["Unpack
zstd to *.new · SHA-256"] S["Atomic Switch
stop WSA · rename all"] R(["Register WSA
start host at logon"]) M --> V V -->|valid| P V -->|unsigned · source build| W --> P V -->|unsigned · official exe| X P --> D --> U --> S --> R classDef step fill:#e0f2fe,stroke:#0284c7,color:#0c4a6e,stroke-width:1.6px; classDef check fill:#fff7ed,stroke:#ea580c,color:#431407,stroke-width:1.8px; classDef stop fill:#fef2f2,stroke:#dc2626,color:#7f1d1d,stroke-width:1.8px; classDef done fill:#ecfdf5,stroke:#059669,color:#064e3b,stroke-width:1.8px; class M,P,D,U,S step; class V,W check; class X stop; class R done; linkStyle default stroke:#059669,stroke-width:1.5px;

Official Builds and Certum Catalog Verification

🛡️ Chain of Trust — Not Copy Protection

Official WSA-Next.exe, WSA-Next.msi, and manifest.cat are Authenticode-signed with the author's Certum Code Signing certificate. Verification pins Certum's root public-key SHA-256 hashes and holds the catalog open without write sharing so the verified bytes are the exact bytes read. Verified disk digests are cached with file identity (volume, file ID, size, change time) under an admin-only registry key (HKLM\Software\KVC\WSA-Next\Digests).

What breaks if someone repackages an official release: changing even a single byte of the signed Android images — rebranding, stripping links, injecting scripts, or bundling adware — invalidates the catalog check. The background host then serves none of its bridges, so a repackaged image loses Bluetooth LE/GATT, Windows Hello biometrics, root (0), SIM, SMS and MMS. Anyone who wants a custom fork with working bridges cannot simply repackage the published VHDX disks; they have to compile both the Windows host and the entire Android AOSP side from source themselves. The signature is a mark of origin and user trust, not DRM — all WSA-Next source code is MIT-licensed.

Capability Official Signed WSA-Next.exe Self-Built from Source
Installs Official Certum-signed releases only Any release (with warning)
Host bridges: Bluetooth, Windows Hello, root 0, SIM, SMS, MMS Served only while the installed Android matches an unmodified official catalog Not served

Command-Line Reference

Command Action
WSA-Next.exe Launches the Direct2D/Mica GUI (requests Administrator elevation).
WSA-Next.exe status Reports Windows build, Virtual Machine Platform, Developer Mode, installed WSA, and host verification verdict.
WSA-Next.exe check [--source s] Reads the release manifest from github, mirror (kvc.pl), local or any HTTPS URL and shows what would be downloaded.
WSA-Next.exe install [--source s] [--dir d] [--yes] [--files-only] [--keep-downloads] Downloads changed components, verifies SHA-256, unpacks atomically, and registers WSA.
WSA-Next.exe uninstall [--all] --yes Removes WSA-Next and keeps the Android apps and data, or removes everything with --all. When WSA-Next was installed from the MSI, Windows Installer does the removal.
WSA-Next.exe stop Gracefully stops the Hyper-V VM (HCS notification, 30 s timeout) to free memory without uninstalling.
WSA-Next.exe verify [folder] Re-verifies the installed release.cat, release.json, and every Android disk image.
WSA-Next.exe bluetooth Runs the Bluetooth LE/GATT vsock bridge in the foreground until Ctrl+C.
WSA-Next.exe hello [--check\|--test] Runs the Windows Hello bridge, or checks/tests Windows Hello availability on this PC.
WSA-Next.exe hello remember [off\|5\|30\|lock] [--yes] Configures optional timed Windows Hello reuse for Android BiometricPrompt apps (never applies to root 0).
WSA-Next.exe elevation [on\|off] / elevation su [on\|off] Toggles root for apps (0) and the optional tmpfs su compatibility symlink.
WSA-Next.exe launch Starts Android (opens Play Store or Android Settings).
WSA-Next.exe modem Displays the PC's mobile broadband modem state (SIM, registration, stored SMS metadata — no numbers or text).
WSA-Next.exe lng-export <file> / lng-check [file] Exports the English translation template or validates .lng keys and {} placeholders.

Uninstalling Semantics

Component Keep Android Data (Default) Remove Everything (--all)
WSA package & install folder Unregistered; only files tracked in wsa-next.json removed Same
Android userdata disk (apps, accounts, files) Preserved for the next installation Deleted
Start menu shortcuts & file associations Removed with package, recreated on reinstall Removed completely (including leftovers)
Settings (HKCU) & digest cache (HKLM) Kept Removed
Background host & bridges Stopped, logon task and binary removed Removed + Hyper-V socket registrations & logs
Developer Mode & Virtual Machine Platform Unchanged Reverted only if WSA-Next enabled them and no WSL/unpacked app needs them

Removing WSA-Next Setup in Settings › Apps does the same as uninstall, as the Windows user who removes it and without a second UAC prompt; the Setup wizard's Remove page can also take the Android apps and their data. If WSA is registered from the same folder for another Windows user, its files stay and that user removes it on their own account.


Root for Apps (0) — Elevation Protocol

sequenceDiagram autonumber participant A as App (Termux / adb) participant D as wsa-elevated participant H as WSA-Next Host (Windows) participant W as Windows Hello A->>D: 0 -c "id" · /dev/socket/wsa_elevate D->>D: Kernel caller identity: SO_PEERCRED · packages.list D->>H: Elevation request · vsock WSEV H->>W: Prompt with app name, UID, and sanitized command alt Verified by user W-->>H: Confirmed H-->>D: Granted + Windows tray notification D->>A: wsa-elevate-exec enters root domain, takes stdio via pidfd_getfd, runs as UID 0 else Canceled or timed out W-->>H: Canceled H-->>D: Denied D-->>A: 0: denied on Windows end
Stage Component Security Invariant
1. Request /system_ext/bin/0 Connects to /dev/socket/wsa_elevate; allocates a PTY for interactive shells (line editing, job control, Ctrl+C).
2. Identity wsa-elevated Runs in a narrow SELinux domain and never receives caller FDs; obtains caller UID/PID from SO_PEERCRED and app name from packages.list.
3. Approval Windows Host (WSEV) Strips control and BiDi characters before displaying the Windows Hello prompt; every grant logs to %LOCALAPPDATA%\WSA-Next\bluetooth.log, logcat, and a Windows notification.
4. Execution wsa-elevate-exec Spawned only after approval; transitions into AOSP's root domain, acquires caller stdio via pidfd_getfd, and relies on the dynamic linker to strip LD_PRELOAD.

Hardware Bridges and Android Subsystems

Telephony: WWAN SIM, SMS, and MMS Relay

%%{init: {"themeVariables": {"fontFamily": "Segoe UI", "lineColor": "#059669", "primaryTextColor": "#064e3b"}, "flowchart": {"curve": "basis", "nodeSpacing": 28, "rankSpacing": 48}}}%% flowchart LR subgraph WIN["Windows 11 Host"] MODEM(["WWAN Modem
Active SIM · SMS Store"]) BR["Modem Bridge
AT over mbnapi"] RELAY["MMS Relay
ConnectivityManager APN"] MMSC(["Operator MMSC"]) end subgraph ANDROID["Android 15 Guest"] RIL["Cuttlefish RIL
system_ext HAL"] TEL["Telephony · SMS App"] MS["MmsService
Loopback Tunnel"] D["wsa-mms Daemon"] end MODEM <-->|SMS PDUs · deleted on ACK| BR BR <-->|vsock WSRL · +CMT / AT+CNMA| RIL RIL <--> TEL TEL -->|send / download| MS --> D D -->|vsock WSMM · APN and host| RELAY RELAY -->|second packet context| MMSC classDef hw fill:#fff7ed,stroke:#ea580c,color:#431407,stroke-width:1.6px; classDef win fill:#e0f2fe,stroke:#0284c7,color:#0c4a6e,stroke-width:1.8px; classDef droid fill:#ecfdf5,stroke:#059669,color:#064e3b,stroke-width:1.8px; class MODEM,MMSC hw; class BR,RELAY win; class RIL,TEL,MS,D droid; linkStyle default stroke:#059669,stroke-width:1.5px;
  • SMS & SIM: libcuttlefish-rild + libcuttlefish-ril-2 run as a system_ext platform HAL listening on vsock WSRL (0x5753524C). On Windows, src/telephony answers AT commands via mbnapi.h (SIM ICCID/MNC, operator registration, signal strength, SMS PDUs). Acknowledged messages are deleted from the modem store just like on a phone; messages arriving while Android is off are delivered on next start.
  • MMS: MmsService routes HTTP exchanges through wsa-mms (WSMM, 0x57534D4D). Windows opens the operator's MMS APN as an independent second packet context (ConnectivityManager.AcquireConnectionAsync) without touching the PC's internet connection, resolves DNS on that interface, and relays bytes. Verified on Quectel RM520N-GL (Play, Poland). No phone numbers or message bodies are ever logged.

Fingerprint HAL Backed by Windows Hello

android.hardware.biometrics.fingerprint-service.wsa implements AIDL IFingerprint over vsock WSFP (0x57534650). It honestly declares WEAK biometric strength (no TEE KeyMint signing), links Windows Hello automatically without enabling an Android lock screen (which would hold a sleep token hiding WSA windows), and suppresses background keyguard prompts when Android is dozing so only active BiometricPrompt dialogs invoke Windows Hello.

Bluetooth LE / GATT Controller Bridge

android.hardware.bluetooth-service.wsa implements AIDL IBluetoothHci in system_ext (SELinux domain hal_bluetooth_wsa), speaking standard HCI H4 framing over vsock WSBT (0x57534254) while WSA-Next.exe emulates the HCI controller on top of WinRT Bluetooth LE APIs. No kernel CONFIG_BT or USB passthrough is required; system_server toggles no_bluetooth dynamically from sys.wsa.bluetooth.bridge so Bluetooth enables and disables cleanly as the host connects or stops.

ARM64 Translation (ndk_translation) and Monthly Google Play Integration

  • ARM64 Berberis: Stock WSA 2407 Houdini (2023) crashes on modern ARM64 libraries (BTI/PAC, 16 KB pages, Edge's libmsaoaidsec.so). The Google Play variant uses Google's ndk_translation from the Android 16 emulator image (x86_64-36_r07, which isolates guest JNIEnv copies) for 64-bit ARM, while routing 32-bit ARM to vendor Houdini.
  • Monthly Play Integration: collect-play-apps.ps1 and integrate-play-apps.sh extract Google-signed base APKs, 70+ language splits, and native libraries from a Play-updated install, verify Google's signing certificates and privileged allowlists, and bake them into vendor/google_apps/play — so fresh installs boot current with Chrome, Google WebView (x86 + x86_64), Gmail, YouTube, and zero pending updates.

AOSP Patches (23 Targeted Changes)

Every modification to AOSP lives as a clean, minimal patch under android/patches/:

Patch Component & Engineering Rationale
system/core 0001 fs_mgr: Resolve WSA SCSI=h:c:t:l fstab entries via /sys/bus/scsi/devices for /vendor, /data, and /metadata.
system/core 0002 tombstoned: Use named temporary files on virtiofs /data/tombstones (lacks O_TMPFILE), restoring Windows crash diagnostics.
frameworks/native 0001 SurfaceFlinger: Propagate com.microsoft.wsa.{taskid,windowtype,secure} generic layer metadata down the layer tree to HIDL composer 2.4.
frameworks/native 0002 SurfaceFlinger: Treat present fences as unreliable when ro.surface_flinger.running_without_sync_framework=true, eliminating 60/sec log spam.
frameworks/base 0001 StorageManager: Skip project-quota ioctls on virtiofs Windows folder shares.
frameworks/base 0002 WM Shell: Allow PiP menu attachment as a shell-root window tagged with task ID across displays.
frameworks/base 0003 PackageManager: Always populate EXTRA_VERIFICATION_ROOT_HASH for non-incremental installs so WSA's Windows package verifier succeeds.
frameworks/base 0004 Zygote: Disable seccomp(2) / PR_SET_SECCOMP for native-bridge processes after Android's own filters, preventing ARM64 Chromium renderer SIGSYS on x86_64 kernels.
frameworks/base 0005 Input: Suppress the "Keyboard layout set to English (US)" toast for WSA's built-in keyboard (Windows already applies the user's layout).
system/vold 0001 Storage: Set external_storage.emulated_0.mounted so Windows folder sharing completes initialization.
system/linkerconfig 0001 Linker Namespace: Allow /vendor native bridge access from Android 15's isolated system namespace when a native bridge is configured.
packages/modules/Connectivity 0001 Ethernet: Restore Wi-Fi transport, metered, and roaming capabilities on FEATURE_PC Ethernet interfaces.
art 0001 App Zygote JNI: Settle final JNI ID type before returning from post-fork setup in translated child zygotes so Chromium renderers keep wrapped JNI tables.
art 0002 nativeloader: Permit isolated class-loader namespaces of system-partition apps (Chrome isolated splits in /product) to load libraries from their own APK directory.
system/sepolicy 0001 Bluetooth Policy: Scope hardware rules to { hal_bluetooth -coredomain } so the vsock platform HAL satisfies coredomain neverallows.
system/sepolicy 0002 Telephony Policy: Scope radio/tty/EFS hardware rules to { hal_telephony -coredomain } for the vsock platform RIL.
hardware/ril 0001 librilutils: Enable platform build in system_ext.
hardware/interfaces 0001 Radio Compat: Enable platform build in /system_ext/lib64.
device/google/cuttlefish 0001 Cuttlefish RIL: Platform system_ext build, 64-bit only, BoringSSL base64, and -L <vsock_port> listen mode.
device/google/cuttlefish 0002 Data Calls: Return permanent "service option not supported" instead of retryable errors, preventing APN retry storms that crashed system_server.
device/google/cuttlefish 0003 rild: Load explicit -l RIL library even when ro.boot.modem_simulator_ports is unset, fixing argv bounds.
packages/services/Mms 0001 MmsService: Tunnel MMS HTTP exchanges through /dev/socket/wsa_mms without requesting an Android cellular network.
packages/providers/TelephonyProvider 0001 APN Reload: Reload apns-conf.xml whenever build fingerprint changes (not only ro.build.id), delivering APN updates to existing userdata.

Engineering Highlights and Debugging Notes

  • The two-minute first-boot deadlock (JumpListQueue): On a fresh install, switching from en-US to the Windows display language caused ShortcutService to emit 18 simultaneous JumpListChanged IPC messages. Each handler on WsaClient.exe's Concurrency Runtime pool (8 workers on an 8-thread Core Ultra 7 258V) waited on the lock held by GetList, starving the pool so the GetList reply could never be dispatched and WsaClient hit its 2-minute heartbeat timeout. Diagnosed via non-invasive cdb -pv thread dumps and Microsoft.Latte.Client ETW traces; fixed cleanly on the Android side (JumpListQueue in SystemApp) by serializing jump-list updates after the first GetList reply. First-boot Intents connection now completes in 24 seconds.
  • Microsoft Edge 157, four layers deep: Running current ARM64-only Edge exposed four independent failure layers — Houdini loader crashes (moved to ndk_translation), shared JNIEnv corruption when Edge hooked FindClass (upgraded to Android 16 ndk_translation), unwrapped JNI tables in translated child app zygotes (art 0001), and ARM64 seccomp SIGSYS on an x86_64 kernel (frameworks/base 0004).
  • First-boot /cache mount failure: Android 15 replaces /cache with a symlink to /data/cache, which does not exist yet during first-stage init on fresh userdata; removing WSA 2407's tmpfs /cache fstab entry prevented mount_all from aborting the nonencrypted trigger.
  • A personal bridge between Windows and Android — vector Minesweeper: Alongside the system stack, I ported and integrated my own vector Minesweeper from Windows to Android (github.com/wesmar/minesweeper · Download Android Kotlin source) as a small engineering signature linking both worlds. It is also a nod to my first trade: from 1993 to 1998 I trained as an officer cadet at the Military University of Technology in Warsaw in combat engineering, specialty 14 — sapper — and from 1998 to 2000 served as a Polish Navy officer in the 8th Kołobrzeg Naval Combat Engineer Battalion (8 KBSAP, 8th Coastal Defence Flotilla) in Dziwnów. Nearly three decades later, the job has not really changed: still defusing bombs, only now they are digital.

Engineering Reality and the Road to Android 18

Moving an abandoned Microsoft subsystem forward by two major Android generations is not a weekend script. The static DEX compatibility audit across Microsoft's seven Android 13 integration components scanned 49,176 classes and surfaced 1,089 concrete breaks against Android 15 — 38 missing classes, 35 missing fields, 166 missing methods, 107 orphaned overrides, 97 unimplemented abstract methods, 622 moved or missing resource IDs, and 24 unresolvable references. Every single break had to be triaged, reimplemented or patched cleanly, and verified with SELinux enforcing on the stock kernel.

Altogether, bringing WSA-Next to a clean, signed release took roughly three weeks of overnight multi-hour builds, live debugging, and repeated clean-install regression runs. Even with AI tools assisting on boilerplate and analysis, nothing replaces manual verification on real hardware — catching a ConcRT pool deadlock inside WsaClient.exe, testing live WWAN SMS/MMS contexts on a real carrier SIM, or validating Certum catalog pinning requires hands-on systems engineering. For a single developer, maintaining the AOSP tree, the C++23 Windows host, and the integration test suite is effectively three full-time roles.

The hardest limit was not the code but the hardware. A single AOSP 15 checkout and output directory consumes over 250 GB of fast storage, and Soong analysis routinely spikes past 16 GB of RAM. Hours that should have gone into engineering were spent working around out-of-memory kills, tuning swap under WSL2, pruning intermediate build artifacts, and juggling space on an external NVMe drive just to finish one image rebuild.

A Build Machine Rather Than a Fundraiser

WSA-Next stays free, and it will move forward with or without help. This Android 15 release is the first step. Parallel porting of Android 18 begins as soon as its source lands in AOSP — potentially as early as February 2027 — with a working release targeted for late summer 2027, aimed at the hardware of modern laptops: GPU and NPU acceleration, classic Bluetooth with RFCOMM, built-in sensors, cameras, WWAN modems and native ARM64 builds. Along the way I plan to move from Microsoft's aging 5.15.104 WSA kernel to the current Microsoft Linux kernel, porting the WSA-specific pieces step by step, so that newer Android versions are no longer held back by a 2022 kernel. If someone has a spare build workstation or server to lend, it would remove the biggest bottleneck.

Build Machine Tier Practical 2026/2027 Specification for Full AOSP 18 & Windows Host Builds
CPU AMD Ryzen Threadripper PRO 7975WX / 9975WX or EPYC 9004/9005 — 32 to 64 cores / 64 to 128 threads for parallel Soong, ART, and LLVM compilation
Memory 128 GB DDR5 ECC minimum, 256 GB recommended — eliminates OOM kills during Soong graph analysis, R8 shrinking, and LTO linking
Storage 4 TB+ PCIe Gen 5 NVMe SSD at 12–14 GB/s with high random 4K IOPS — room for parallel AOSP 15/18 trees, ccache, and VHDX snapshots without nightly cleanup
Platform Bare-metal Linux build box or high-memory workstation capable of running Hyper-V / KVM automated boot and app-compatibility suites

Anyone able to lend hardware or sponsor compute can reach out directly via kvc.pl/wsa-next or marek@kvc.pl.


Repository Layout and Languages

Source Tree Overview

Path Contents
src/ Native C++23 Windows installer and background host (app/, core/, gui/, host/, bluetooth/, biometrics/, telephony/, support/).
src/resources/language/ 20 .lng translation files (English compiled into WSA-Next.exe), copied to bin\language.
build_msi.ps1, installer/ WSA-Next Setup: build_msi.ps1 in the repository root builds WSA-Next.msi in 20 languages and WSA-Next.zip; the wizard's texts are in installer/msi-strings.json.
third_party/zstd/ BSD-licensed zstd decoder from AOSP external/zstd.
android/device/wsa/wsa_x86_64/ Device makefiles (wsa_x86_64.mk, wsa_x86_64_gapps.mk), fstab.{1,2}.windows, HALs (bluetooth/, fingerprint/, elevate/, telephony/, registration/), ndk_translation/, RROs, and SELinux policies.
android/patches/ All 23 AOSP source patches applied automatically by android/tools/build.sh.
android/tools/ Build, GMS fetch, Play app collector/integrator, VHDX packaging, deploy-test.ps1, appcompat-test.ps1, and DEX compatibility scanners.

Supported Interface Languages (21)

Code Language Code Language
en English (built in) ko 한국어 (Korean)
ar العربية (Arabic) nl Nederlands (Dutch)
cs Čeština (Czech) pl Polski (Polish)
de Deutsch (German) pt Português (Portuguese)
es Español (Spanish) ru Русский (Russian)
fa فارسی (Persian) tr Türkçe (Turkish)
fr Français (French) uk Українська (Ukrainian)
hi हिन्दी (Hindi) vi Tiếng Việt (Vietnamese)
id Bahasa Indonesia zh-cn 简体中文 (Simplified Chinese)
it Italiano (Italian) zh-tw 繁體中文 (Traditional Chinese)
ja 日本語 (Japanese)

Building from Source

Requirements: Linux or WSL2 with ~150 GB for the AOSP checkout, ~100 GB for build output, and 16 GB RAM + swap for Soong analysis.

# 1. Sync AOSP 15
repo init -u https://android.googlesource.com/platform/manifest -b android-15.0.0_r36 --depth=1
repo sync -c -j8

# 2. Optional: prepare Google Mobile Services, Google apps, and ARM64 ndk_translation
android/tools/fetch_gms.sh /path/to/aosp

# 3. Build dynamic VHDX images (system.vhdx, system_ext.vhdx, product.vhdx)
WSA_PRODUCT=wsa_x86_64_gapps android/tools/build.sh /path/to/aosp [vendor_wsa_dir] userdebug

On Windows, run build.ps1 (PowerShell 7) to auto-detect the newest Visual Studio C++23 toolchain and Windows SDK, compile WSA-Next.exe with /W4 /WX /sdl /guard:cf, CET, and /Brepro, and emit bin\build-receipt.json.


Roadmap, Support, and License

  • Roadmap: user release builds (already signed with project release keys; APEX keys next), dedicated SELinux root domain for 0 on user builds, gradual migration from stock kernel 5.15.104 to the latest patched Microsoft Linux kernel baseline, classic Bluetooth (RFCOMM), offline MMS notice capture via Windows SMS router, optional stable Android IP address, and the summer push toward Android 18 with native ARM64 and expanded laptop hardware support.
  • Support: WSA-Next is free and stays free. Support independent development at kvc.pl/wsa-next.
  • License: WSA-Next's own code (src/, android/) is released under the MIT License. AOSP patches remain under Apache License 2.0; third_party/zstd is BSD-licensed. WSA-Next is not affiliated with Microsoft or Google. Microsoft's WSA binaries and Google's apps are not in the repository; the release images carry Microsoft's WSA 2407 components unchanged, the vendor image, the kernel and the Windows package, and Google's apps as Google publishes them.

Add a comment

human test