Technology

How to install Android Subsystem with Google Play Store on Windows 11

Posted on

Microsoft has begun to push the Android subsystem in the Win11 test channel to make Win11 compatible with Android App. Currently, the official distribution channel for Android apps in Win11 is the Amazon App Store, but users can also sideload Android APKs through SideLoad.

Now, developers have discovered a new channel for installing Android App on Win11- Google Play Store. Developer ADeltaX has now led to unlocking the Google Play store support by changing the Android subsystem. This operation of installing Google Play on Win11 is not fit for beginners. After the operation, Win11 can support Google Play services and log in to the Google Play store.

Stay tuned with us via Telegram

Moreover, this method covers the way for installing any Android application on Windows 11. Applications based on Google Play services will also play a role. At present, the script is hosted on Github, which is not easy for beginners to get started. Unless you know its mechanism, it is best not to get started.

First, you need to download and install the Android subsystem of Win11 and the Linux subsystem and download Ubuntu through the Microsoft Store. Next, run the following commands in the Ubuntu terminal.

  • sudo apt – get update
  • sudo apt install unzip lzip

Go to OpenGApps and select the following configuration to create a Google service pack.

  • Platform: x86_64.
  • Operating system: Android : 11.
  • Type: Pico on OpenGApps.

Download the Zip decompression software and decompress the .msixbundle in the Win11 Android subsystem. Note that you need to find a version that is compatible with your system architecture and device hardware. Unzip the second msixbundle to another folder, delete appxblockmap, appxsignature, content_types, and appxmetadata in it.

In the Ubuntu terminal, run the following commands.

HTTPS clone git : //github.com/ADeltaX/WSAGAScript 
cd  WSAGAScript / \ #images
mv  / mnt / path - to - extracted - msix /*.img.
cd ../\#GS
cp /mnt/path-to-downloaded-gs/*.zip.

The main function of the above command is to download the necessary files to run the WSAGA script. In the command, the Linux subsystem WSL will follow the same directory as Windows after /mnt/, but you need to pay attention to whether the drive letters are consistent. For example, the /mnt/c/users directory in WSL corresponds to the c:\users folder under Windows.

After running the above command, you can run the executable permissions of the script, as follows.

cd .. 
sudo chmod  + x extract_gs_pico . sh
sudo chmod  + x extend_and_mount_images . sh
sudo chmod  + x ly . sh
sudo chmod  + x unmount_images . sh

Next, use the “pwd” command to also modify the root directory in VARIABLES.sh, and write down the output. Run the following command, where VARIABLES will be the output of the previous command (pwd).

nano VARIABLES . sh

Finally, run the following command.

sudo  ./ extract_gs_pico . sh
sudo  ./ extend_and_mount_images . sh
sudo  ./ ly . sh
sudo  ./ unmount_images . sh

To copy the modified Android subsystem image, you can use the following command.

cd  /# IMAGES
cp  *. img  / mnt / path - to - extracted - msix /

After you have performed the above steps correctly, you should be able to register the modified image. If you want to register, you need to enable developer mode in the Android subsystem and run Add-AppxPackage -Register path-to-extracted-msix\AppxManifest.xml

In this way, the Android subsystem of Win11 can install the App and files required by the Play Store. If you want to log in to your Google account, you need to copy the kernel file from GitHub to ensure that the Android subsystem is not running, and then replace the kernel file in the folder where you extracted the msix.

When finished, enter the adb shell and run the following commands.

su
setenforce  0

Must Read

Exit mobile version