Overview
While WSABuilds provides pre-built packages with various configurations, you can create fully custom builds tailored to your specific needs using the MagiskOnWSALocal build script. This gives you complete control over:- WSA architecture and release channel
- Root solution (Magisk, KernelSU, or none)
- Magisk version and variant
- GApps installation
- Amazon Appstore removal
- Custom device model spoofing
Prerequisites
Before building custom WSA packages, ensure you have:- Linux environment (Ubuntu 20.04+ recommended) or WSL2 on Windows
- Python 3 installed
- At least 20GB free disk space
- Stable internet connection for downloading WSA and components
Using MagiskOnWSALocal
Setup
Install dependencies
- Python dependencies (aria2c, requests, etc.)
- 7-Zip for archive extraction
- Other build tools
Building WSA
Basic Build Command
- Architecture: x64
- Release type: Retail
- Root solution: Magisk (stable)
- Compression: None
Build Parameters
Target architecture for WSA buildOptions:
x64- For Intel/AMD 64-bit processorsarm64- For ARM64 processors (e.g., Surface Pro X)
WSA release channel to downloadOptions:
retail- Stable release channelRP- Release Preview (newer features)WIS- Windows Insider SlowWIF- Windows Insider Fast (bleeding edge)
Root solution to integrateOptions:
magisk- Install Magisk for root accesskernelsu- Install KernelSU (kernel-based root)none- No root access
Magisk version to install (only applies if
--root-sol magisk)Options:stable- Latest stable releasebeta- Beta channelcanary- Canary (nightly) buildsdebug- Debug buildsrelease- Specific release version
Output compression formatOptions:
none- No compression (folder output)zip- ZIP archive7z- 7-Zip archive (smaller size)
Additional Options
Install Google Play Services and Play StoreNote: GApps requires Magisk to function, so
--root-sol will be forced to magisk if you enable this.Remove Amazon Appstore from the buildReduces installation size and removes pre-installed Amazon components.
Use a custom Magisk APK or ZIP filePlace your custom Magisk file in the
download folder as:magisk-[version].zip, orapp-[version].apk
Build in offline mode using previously downloaded filesUseful for rebuilding without re-downloading components.
Skip downloading WSA, only download dependenciesUse this if you already have the WSA package downloaded.
Build Examples
Build Output
After successful build completion, your custom WSA package will be located in:Run.bat- Installation scriptInstall.ps1- PowerShell installation script- WSA system files and dependencies
- Pre-configured Magisk/KernelSU (if selected)
Installing Your Custom Build
Run installation
Navigate to the output folder and double-click
Run.bat to install.The script will:- Uninstall any existing WSA installation
- Preserve user data if present
- Install your custom WSA build
- Register the package with Windows
Advanced Customization
Custom Device Model
You can modify the spoofed device model by editing the build scripts. This is useful for apps that require specific device models. Common device models:redfin- Pixel 5 (default)raven- Pixel 6 Prooriole- Pixel 6panther- Pixel 7
Custom GApps Variant
The build script automatically downloads the appropriate GApps package. For custom GApps:- Place your custom GApps
.imgfile in thedownloadfolder - Name it:
gapps-[ANDROID_VERSION]-[ARCH].img - Run build with
--offlineflag
Troubleshooting
Build fails during WSA download
Build fails during WSA download
Solution: Check your internet connection and try again. If the issue persists:
Python dependency errors
Python dependency errors
Solution: Reinstall dependencies:Ensure you’re using Python 3.8 or newer:
Out of disk space during build
Out of disk space during build
Solution: The build process requires significant space:
- WSA download: ~1-2GB
- Extraction and build: ~10-15GB
- Output: ~3-5GB
Custom Magisk not found
Custom Magisk not found
Solution: Ensure your custom Magisk file is:
- Located in the
downloadfolder - Named correctly:
magisk-[version].ziporapp-[version].apk - The version string matches the
--magisk-verparameter
GApps and KernelSU conflict
GApps and KernelSU conflict
Error:
Unsupported combination: Install GApps and KernelSUSolution: GApps requires Magisk to mount system files. You cannot use GApps with KernelSU. Either:- Remove
--install-gappsflag, or - Change
--root-sol kernelsuto--root-sol magisk
Requesting Custom Builds
If you don’t have a Linux environment or prefer not to build yourself, you can request custom builds from the WSABuilds community.Request a Custom Build
Open an issue on GitHub with your build requirements:
- Target architecture (x64/arm64)
- Root solution (Magisk/KernelSU/none)
- Magisk variant (if applicable)
- GApps requirement
- Amazon Appstore preference
- Device model (if specific)
Resources
MagiskOnWSALocal
Official build script repository
Build Script Documentation
Detailed parameter documentation
WSABuilds Issues
Report problems or request builds
Discord Community
Get help from the community
