How To Guide How To Build and Root Your Desired Flavor of WSA and install the Playstore Using LSPosed & Magisk. Plus a Premade

Search This thread

jenneh

Senior Member
Hello Friends,

Today I wanted to write a guide about how to use the LSPosed Github Repo on a linux machine to build your desired flavor of WSA with GAPPS and Root.

If you do not already have a Linux machine or WSL, I have a fully built and ready to go machine for you here. See the prebuilt spoiler. I am using this exact machine in the video and begin the video by showing how to add the machine to VMWARE WORKSTATION 17


On your linux machine, run these commands
Code:
sudo apt-get update
sudo apt install git adb
git clone https://github.com/LSPosed/MagiskOnWSALocal.git
cd MagiskOnWSALocal/scripts
./run.sh

When the machine is finished downloading the dependencies, you will be greeted with a series of choices, you may choose what you like
1.PNG
2.PNG

Retail = ANDROID 12 Insider = ANDROID 13 <--as of time writing. This may have changed by the time you read this. IE Android 13 may now be Retail.
3.PNG
4.PNG
5.PNG
6.PNG
7.PNG
8.PNG
9.PNG
10.png
When it is finished building the zip file for us, it will be located in the output folder. Copy that zip to your Windows desktop.

Make sure to Uninstall your old version of WSA if you already had one installed. then extract the new WSA and execute run.bat. You may have to execute run.bat another time if your machine requires reboot.

The playstore should appear after the windows dependencies are installed, and allow you to login at this point
11.png

12.png
Now open windows subsystem for android and select the developer tab, turn on developer options.
1673455577662.png
Here's a way to install adb quickly using powershell and chocolatey.

Open powershell as admin and type:
Code:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))

choco install adb
Now go into the same folder as your magisk apk or any apk you want to install and open command prompt, run:
Code:
adb connect 127.0.0.1:58526
adb install magisk.apk
or change magisk to your apk's name.

Now you have full root with playstore on WSA!

If you want a copy of the Rooted WSA I built in the video, it can be located here (This copy is Retail - Android 12 w/ Playstore):
wsa.zip (839M)
If you download this you can skip the Linux steps and jump right to the run.bat step (skip to 2:39 in the video)

If you need to run more than 1 Android emulator at a time -- using Nox (they are still at android 9 and you can choose 7)
 
Last edited:

jenneh

Senior Member
@xXx yYy The post was made to show how to make the wsa of choice (android 13 included) and I only shared a premade android 12 image for choice since android 13 premades are everywhere and some people need certain firmware for certain reasons. Cheers To choices!

--Dunno why my phone bolded that
 
Last edited:

jenneh

Senior Member
As an update-- the installing magisk apk part is redundant. I didn't realize it already literally had the apk installed too and not just patched the boot. The devs of this repo did a good job! I'll just leave that info up in the post for knowledge's sake (ie those that didn't know how to install apks on wsa to begin with) but know that you're done after you make your zip and run the batch file
 

Scholeggo

Senior Member
Sep 27, 2017
332
32
Hello Friends,

Today I wanted to write a guide about how to use the LSPosed Github Repo on a linux machine to build your desired flavor of WSA with GAPPS and Root.

If you do not already have a Linux machine or WSL, I have a fully built and ready to go machine for you here. See the prebuilt spoiler. I am using this exact machine in the video and begin the video by showing how to add the machine to VMWARE WORKSTATION 17


On your linux machine, run these commands
Code:
sudo apt-get update
sudo apt install git adb
git clone https://github.com/LSPosed/MagiskOnWSALocal.git
cd MagiskOnWSALocal/scripts
./run.sh

When the machine is finished downloading the dependencies, you will be greeted with a series of choices, you may choose what you like
When it is finished building the zip file for us, it will be located in the output folder. Copy that zip to your Windows desktop.

Make sure to Uninstall your old version of WSA if you already had one installed. then extract the new WSA and execute run.bat. You may have to execute run.bat another time if your machine requires reboot.

The playstore should appear after the windows dependencies are installed, and allow you to login at this point
Now open windows subsystem for android and select the developer tab, turn on developer options.
Here's a way to install adb quickly using powershell and chocolatey.

Open powershell as admin and type:
Code:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))

choco install adb
Now go into the same folder as your magisk apk or any apk you want to install and open command prompt, run:
Code:
adb connect 127.0.0.1:58526
adb install magisk.apk
or change magisk to your apk's name.

Now you have full root with playstore on WSA!

If you want a copy of the Rooted WSA I built in the video, it can be located here (This copy is Retail - Android 12 w/ Playstore):
wsa.zip (839M)
If you download this you can skip the Linux steps and jump right to the run.bat step (skip to 2:39 in the video)

If you need to run more than 1 Android emulator at a time -- using Nox (they are still at android 9 and you can choose 7)
If I run all these commands again when a new Android version releases, will it preserve my data or wipe it?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    Hello Friends,

    Today I wanted to write a guide about how to use the LSPosed Github Repo on a linux machine to build your desired flavor of WSA with GAPPS and Root.

    If you do not already have a Linux machine or WSL, I have a fully built and ready to go machine for you here. See the prebuilt spoiler. I am using this exact machine in the video and begin the video by showing how to add the machine to VMWARE WORKSTATION 17


    On your linux machine, run these commands
    Code:
    sudo apt-get update
    sudo apt install git adb
    git clone https://github.com/LSPosed/MagiskOnWSALocal.git
    cd MagiskOnWSALocal/scripts
    ./run.sh

    When the machine is finished downloading the dependencies, you will be greeted with a series of choices, you may choose what you like
    1.PNG
    2.PNG

    Retail = ANDROID 12 Insider = ANDROID 13 <--as of time writing. This may have changed by the time you read this. IE Android 13 may now be Retail.
    3.PNG
    4.PNG
    5.PNG
    6.PNG
    7.PNG
    8.PNG
    9.PNG
    10.png
    When it is finished building the zip file for us, it will be located in the output folder. Copy that zip to your Windows desktop.

    Make sure to Uninstall your old version of WSA if you already had one installed. then extract the new WSA and execute run.bat. You may have to execute run.bat another time if your machine requires reboot.

    The playstore should appear after the windows dependencies are installed, and allow you to login at this point
    11.png

    12.png
    Now open windows subsystem for android and select the developer tab, turn on developer options.
    1673455577662.png
    Here's a way to install adb quickly using powershell and chocolatey.

    Open powershell as admin and type:
    Code:
    Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
    
    choco install adb
    Now go into the same folder as your magisk apk or any apk you want to install and open command prompt, run:
    Code:
    adb connect 127.0.0.1:58526
    adb install magisk.apk
    or change magisk to your apk's name.

    Now you have full root with playstore on WSA!

    If you want a copy of the Rooted WSA I built in the video, it can be located here (This copy is Retail - Android 12 w/ Playstore):
    wsa.zip (839M)
    If you download this you can skip the Linux steps and jump right to the run.bat step (skip to 2:39 in the video)

    If you need to run more than 1 Android emulator at a time -- using Nox (they are still at android 9 and you can choose 7)
    1
    LSposed is great framework for Android 13 - what WSA actually is based on. Works w/ Magisk 24/zygisk. IMO not really needed anymore because Magisk module got own built-in GUI.