Table of contents
It supports only Amazon Store, available only in the US. Weird right? I thought so too.
Hopefully, thanks to an amazing community, and especially ADeltaX, here is a workaround. 😁
He found a way to install fully functional Google Play on WSA. How?
But before I show you: Be careful! This will be technical and risky, still in the testing stage, as of today (10/25/21).
- No WSA (Windows Subsystem for Android) installed. (if you have WSA already, you will need to uninstall it for this to work properly)
- WSL2 installed
- Ubuntu for WSL2. You should get Ubuntu with installation.
- WinRAR, or a similar program for compressed stuff
- Enable Developer Mode. Use the search in settings to find it easily.
In this section, we will get everything we need for this guide. That only includes a few websites:
So, with this, we are ready. Let’s start!
Copy product code → 9P3395VX91NR
Or head over to GitHub and copy product code (it’s the same one):
- Open WSA download website.
- Select ProductID on the left
- Paste product code
- Select slow on the right
- Click on the tick button
In a few moments, you will have a list of downloadable options.
Scroll (or not), find the biggest option (around 1.21GB, as of 10/25/21) in that list, and click on it to download.
- Right-click → Open with → select archiver software previously mentioned.
- Find and open(double-click) right .msix | You should match your processor architecture. If you are in doubt about which one you have, check your settings.
- I have an x64 system (as probably most of you), so I opened → WsaPackage_1.7.32815.0_x64_Release-Nightly.msix
- Go to your disk (C:), and create a folder WindowsSubsystemAndroid.
- Select everything except files/folders listed below(hold ctrl and click on them to deselect).
- Drag files to the folder on your disc you created previously (WindowsSubsystemAndroid). That's it!
Files to deselect:
- AppxMetadata → folder
- AppxSignature.p7x → file
- AppxBlockMap.xml → file
- [Content_Types].xml → file
Here, we will start preparing needed files for the Google Play apk.
Getting WSAGAScript files
- Create another folder on the disc (C:) → GAppsWSA
- Go to the repo and download the zip
- Extract everything into GAppsWSA
Getting OGA package
- Go to the OpenGApps tab
- Select your architecture (I have x64, so I selected x86_64), 11.0, and pico, and download the OGA package
- Navigate to the GAppsWSA folder, open the #GAPPS folder
- Move OGA package to #GAPPS folder
Prepare #IMAGES folder
- Navigate to WindowsSubsystemAndroid folder
Copy these 4 files and paste them to the GAppsWSA → #IMAGES folder (hold CTRL and select):
Finally, execution! Let’s do some work in the terminal:
- Open WSL2 terminal (Linux)
- Type ‘sudo su’ to get root privileges. Enter
- Change directory to GAppsWSA folder. Use ‘cd’ to change the directory. Also ‘ls’ is a handy command, which will list files and folders in that directory.
- Update apt → Type ‘sudo apt-get update’. Enter
- Install lzip and unzip programs. Type ‘apt install lzip unzip’. Enter
- Install dos2unix. Type ‘apt install dos2unix’. Enter
Run following commands:
- dos2unix ./apply.sh
- dos2unix ./extend_and_mount_images.sh
- dos2unix ./extract_gapps_pico.sh
- dos2unix ./unmount_images.sh
- dos2unix ./VARIABLES.sh
Execute these commands in order (you might wait a couple of moments, be patient):
- ./extract_gapps_pico.sh → check for ‘!! GApps folder ready !!’
- ./extend_and_mount_images.sh → check for ‘!! Images mounted !!’
- ./apply.sh → check for ‘!! Apply completed !!’
- ./unmount_images.sh → check for ‘!! Unmounting completed !!’
Managing WSA files
Now that we have modified images, we need to replace them in the main WSA (WindowsSubsystemAndroid) folder. We also need to temporarily replace the kernel.
- Navigate to the GAppsWSA → #IMAGES folder
- Copy 4 image files
- Go back to WSA (WindowsSubsystemAndroid) folder, and paste/replace files there
- Navigate to the GAppsWSA → misc folder
- Copy kernel
- Go to the WindowsSubsystemAndroid → Tools folder. Don't paste yet!
- Rename existing kernel file to ‘kernel_bak’
- Now paste the previously copied file
Finally! We are ready to enable the WSA system. Let’s do it!
- Open Windows PowerShell (not PowerShell) as admin
- Type ‘Add-AppxPackage -Register C:\WindowsSubsystemAndroid\AppxManifest.xml’. Enter
It’s done! Well, not fully, but take a moment to shoulder-tap yourself, you deserved it :)
Now, let's open Windows Subsystem for Android. Click on its icon in the Start Menu.
- Enable Developer mode in WSA
- Click on ‘Files’, so that the WSA system starts
- This is a modified image, so it’s recommended to opt-out from sending diagnostic data
- Wait for the system to start. This can take a while, be patient.
- When it loads, you can close the files window
- Open Start Menu
- Search for ‘Play Store’ and open it
Last important step
We have to restore the original kernel file, and we’re done.
- Open WSA settings (green icon — Windows Subsystem for Android)
- Find option and turn off WSA
- Go to WindowsSubsystemAndroid → Tools folder
- Rename ‘kernel’ → ‘kernel root’
- Rename ‘kernel_bak’ → ‘kernel’
- Go to WSA settings and open files, in order to restart the system
Voila, well done! Sign in with your account, you should have a fully functional Play Store in WSA.
Sign In Fix
In some cases, Sign In button on the Google Play app will be unresponsive. But don't worry! There is a fix.
- Create a folder ADB in C: drive
- Download ADB and extract it inside the ADB folder
- Open ADB → platform-tools
- Click on the path, type in cmd. Enter
- Connect via adb to WSA → adb connect 127.0.0.1:58526.
- NOTE: It’s okay if it says ‘failed to authenticate to 127.0.0.1:58526’. Just continue.
- Type in ‘adb shell’. Enter
- You need root. Type in ‘su’. Enter
- Type in ‘setenforce 0’. Enter
You should now be able to log in.