Microsoft, Google, Apple, Windows, Android, iOS, Internet, Cyber Security, Hacking, Malware, Smartphone, Mobile App

Trending

Here’s how to install Play Store and other Google apps on Windows Subsystem for Android

Windows Subsystem for Android is finally here. What’s more interesting is that you can unofficially try it right now — even if you’re not enrolled in the Beta channel of Windows 11. In case you’re not happy with the mandatory Amazon Appstore integration, you should be happy to hear that the app sideloading process isn’t difficult either. It is also possible to install a third-party Google Play Store client, but the lack of Google services in the Windows Subsystem for Android makes it a bit hard to use apps that are dependent on them.

Unlike traditional Android devices, the Windows Subsystem for Android doesn’t come with a user-accessible recovery environment. As a result, an end-user can’t simply compile a custom recovery like TWRP for the Android Subsystem and straightaway install one of those popular GApps (short for Google Apps) packages. But what if you can directly patch the underlying system image with the necessary suite of Google apps and libraries to get the Play Store working? XDA Senior Member ADeltaX has now come with a solution named WSAGAScript that does exactly so.

How to install Google Play Store on the Windows Subsystem for Android

Step 1: Install Windows Subsystem for Linux

  1. Open the Windows Features tool by executing the optionalfeatures command from the Run prompt or a Terminal window. You can also click on the Start menu and search for the term “Turn Windows features on or off” to do the same.
  2. In the new window, place checkmarks for the Virtual Machine Platform and the Windows Subsystem for Linux entries.
    Virtual Machine Platform and WSL features
  3. Click OK and wait for Windows to download the required components.
  4. Restart your PC.
  5. Install the latest Ubuntu LTS release under WSL from Microsoft Store using this link and configure it as necessary.

You should skip this step if you have already installed Ubuntu on WSL.


Step 2: Preparing Windows Subsystem for Android for patching

  1. Download the installer package of the Windows Subsystem for Android. You can refer to the first step of this tutorial if you need any help.
  2. Once you have the MSIXBUNDLE file, extract the architecture-specific installer using 7-Zip.
    • If you have a regular x86-64 PC, then extract the file named WsaPackage_x.x.x.x_x64_Release-Nightly.msix.
    • If you have a Windows on ARM device, then extract the file named WsaPackage_x.x.x.x_ARM64_Release-Nightly.msix.
      WSA MSIX Extraction
  3. Now extract the MSIX file related to your device’s architecture to a folder, e.g. D:\WSA.
  4. Delete the following objects from the folder: AppxBlockMap.xmlAppxSignature.p7x[Content_Types].xml, and the AppxMetadata folder.

Step 3: Patching Windows Subsystem for Android with GApps

  1. Download a GApps package. The developer recommends the “Pico” variant of OpenGApps.
    • If you have a regular x86-64 PC, then opt for the x86_64 platform.
    • If you have a Windows on ARM device, then opt for the ARM64 platform. 
      OpenGApps for WSA x64

      OpenGApps package selection for x86-64 Windows Subsystem for Android

  2. Start Ubuntu on WSL and install the unzip and lzip packages.
    sudo apt-get update
    sudo apt-get install unzip lzip
  3. Clone the WSAGAScript repo by ADeltaX:
    git clone https://github.com/ADeltaX/WSAGAScript
  4. Follow the readme of the aforementioned repo to perform the actual patching process.
    • Remember to adjust the paths in the commands according to where you extracted the MSIX file in the previous step.

Step 4: Installing the GApps-patched Windows Subsystem for Android

Make sure you’ve uninstalled the official Windows Subsystem for Android package before attempting this step. You can easily do so by locating the corresponding shortcut in the Start menu, right-clicking on it, and finally selecting the “Uninstall” option. Keep in mind that the Amazon Appstore will be automatically uninstalled alongside.

  1. Open the Settings app and navigate to Privacy and Security => For Developers. Then turn on Developer Mode.
    Windows 11 Developer Mode
  2. Launch Windows Terminal as Administrator with the built-in the PowerShell profile.
  3. Paste the following command into the Terminal window:
    Add-AppxPackage -Register <path-to-the-extracted-MSIX-folder>\AppxManifest.xml

    For example, if you originally extracted the contents of the MSIX file to D:\WSA and subsequently patched them, then the command should be:

    Add-AppxPackage -Register D:\WSA\AppxManifest.xml
  4. Wait for the installation to finish. Then open the Start menu and you should see a new icon for the Google Play Store alongside the familiar Windows Subsystem for Android.
  5. Click on the “Sign in” option and enter the credentials of your Google Account information. If everything goes right, then you should see the main page of the Google Play Store.
    Google Play Store on WSA

That’s it! You just installed Google Play Store and a set of necessary Google Services required for running many popular apps in Windows Subsystem for Android. Now you should be able to install Android apps on your Windows 11 PC right from the Play Store.

In case you’re looking for a video guide, ADeltaX has published one too. Keep in mind that the script is evolving heavily, hence some steps shown in the video might be obsolete already.

Source: www.xda-developers.com

Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

Privacy & Cookies Policy