{"id":14976912,"url":"https://github.com/yt-advanced/wsa-script","last_synced_at":"2025-05-14T19:09:13.985Z","repository":{"id":65971620,"uuid":"603661050","full_name":"YT-Advanced/WSA-Script","owner":"YT-Advanced","description":"Integrate Magisk root and Google Apps into WSA (Windows Subsystem for Android) with GitHub Actions","archived":false,"fork":false,"pushed_at":"2025-04-21T18:15:28.000Z","size":33859,"stargazers_count":939,"open_issues_count":5,"forks_count":183,"subscribers_count":16,"default_branch":"main","last_synced_at":"2025-05-14T19:09:12.148Z","etag":null,"topics":["android","google-apps","magisk","magiskonwsa","magiskonwsalocal","windows","windows-11","windows-subsystem-for-android","windows11","wsa"],"latest_commit_sha":null,"homepage":"https://YT-Advanced.github.io/WSA-Script/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/YT-Advanced.png","metadata":{"files":{"readme":"docs/README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["YT-Advanced","s1204IT"]}},"created_at":"2023-02-19T07:27:49.000Z","updated_at":"2025-05-13T18:22:26.000Z","dependencies_parsed_at":"2023-10-01T16:58:36.098Z","dependency_job_id":"27b48422-ff90-45fc-86fe-e7286c85cb71","html_url":"https://github.com/YT-Advanced/WSA-Script","commit_stats":{"total_commits":931,"total_committers":44,"mean_commits":21.15909090909091,"dds":0.6133190118152524,"last_synced_commit":"40d95918936553eccc030b91e8edf55f3b5a88bf"},"previous_names":[],"tags_count":45,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YT-Advanced%2FWSA-Script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YT-Advanced%2FWSA-Script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YT-Advanced%2FWSA-Script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YT-Advanced%2FWSA-Script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YT-Advanced","download_url":"https://codeload.github.com/YT-Advanced/WSA-Script/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254209859,"owners_count":22032897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","google-apps","magisk","magiskonwsa","magiskonwsalocal","windows","windows-11","windows-subsystem-for-android","windows11","wsa"],"created_at":"2024-09-24T13:54:40.250Z","updated_at":"2025-05-14T19:09:12.583Z","avatar_url":"https://github.com/YT-Advanced.png","language":"Shell","readme":"# WSA-Script\n## MagiskOnWSA (For Windows™ 10 and 11) by [@YT-Advanced](https://github.com/YT-Advanced/)\n### Windows Subsystem For Android™ (WSA) with Google Play Services and Magisk \n\n\u003cdetails\u003e     \n   \u003csummary\u003e\u003ch3\u003e \u0026nbsp; ❓Want to build your custom build❓ \u003ch3\u003e\u003c/summary\u003e\n      \n\n| :exclamation: **Important:**  \u0026nbsp;  `⚠️DO NOT FORK⚠️`               |\n|------------------------------------------------------------------------|\n|**This repository is designed specifically not to be forked. MagiskOnWSA and some of the various forks and clones that have sprung up on the platform (***potentially***) violate GitHub's Terms of Service due to abuse of GitHub Actions and have been ultimately warned, disabled or banned.**| \n|**Therefore, don't fork this repository unless you're a developer and want to modify the code itself and/or want to contribute to this Github repository.**|\n|**If you want to create your Custom Build, please follow the instructions set out clearly, to avoid the repo from being taken down as a result of a misuse of Github Actions due to the large number of forks. AND ALSO if you want to build with Latest Insider version, please skip the first 7 steps**|\n      \n#### **1. Star this repos (I will happy if you do that)**\n\n#### **2. Check the version from [Releases](https://github.com/YT-Advanced/WSA-Script/releases/) first. If it does not have the version you want, continue to follow this guide. If it does, then feel free to use those prebuild WSA builds**\n\n#### **3. Open [this page directly](https://YT-Advanced.github.io/WSA-Script) then choose the option that you want to build**\n\n![](https://user-images.githubusercontent.com/70064328/236150011-191bf3a8-2efb-44a1-af44-202c6ea9fe66.png)\n\n#### **4. Click \"Create Issues\" Button, the issues page will be generated and open. Then you click \"Submit New Issues\" (green button) and wait.**\n![](https://user-images.githubusercontent.com/70064328/236150320-65fdd492-9fc4-4176-b3bd-a3cee8b7753d.png)\n\n#### **5. After about 10 minutes, the bot will reply that the workflow have built successfully (like the picture below), OPEN THE LINK BELOW THE BOT COMMENT**\n![](https://user-images.githubusercontent.com/70064328/236154819-75dd1997-1999-43fd-a482-050f21e34b72.png)\n\n#### **6. Download the package as artifact**\n**DO NOT download it via multithread downloaders like IDM**\n![](https://user-images.githubusercontent.com/68516357/222224469-5748b78a-158e-46ff-9f65-317dbb519aac.png)\n\n#### **7. Install like normal using [the instructions](https://github.com/YT-Advanced/WSA-Script#--installation) in this repository** and most important of all....\n\n\u003c/details\u003e\n\n## Downloads\n\n\u003ctable\u003e\n\u003cthead\u003e\n  \u003ctr\u003e\n    \u003cth\u003eClick to Download\u003c/th\u003e\n    \u003cth\u003eDifferences\u003c/th\u003e\n    \u003cth\u003eCurrent Version\u003c/th\u003e\n    \u003cth\u003eDate\u003c/th\u003e\n  \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003ca href=https://github.com/YT-Advanced/WSA-Script/releases/tag/WSA-Insider-Version\u003e\u003cimg src=\"https://img.shields.io/badge/Pre--Release%20Builds-orange?style=for-the-badge\" height=\"28\"\u003e\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003eFollows the \"WSA Preview Program Channel\" \u003c/br\u003e \u003c/br\u003e Builds are generally newer than the \"WSA Retail\" and \"Insider Fast Channel\"\u003c/td\u003e\n    \u003ctd\u003e2407.40000.4.0\u003cbr\u003e\u003c/td\u003e\n    \u003ctd\u003eBuilds Released: 10/12/2024\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003ca href=https://github.com/YT-Advanced/WSA-Script/releases/latest\u003e\u003cimg src=\"https://img.shields.io/badge/Stable%20Builds-blue?style=for-the-badge\" alt=\"Image\" height=\"28\"\u003e\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003eFollows the \"WSA Retail Channel\" \u003cbr\u003e\u003cbr\u003e Builds are generally more stable than the builds in the \"WSA Preview Program Channel\" \u003c/td\u003e\n    \u003ctd\u003e2407.40000.4.0\u003cbr\u003e\u003c/td\u003e\n    \u003ctd\u003eBuilds Released: 25/01/2025\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd colspan=\"4\"\u003e\u003ch4\u003eIt is recommend to check this table regularly to see if there is a newer update avaliable for WSA for the Stable Builds and Pre-Release Builds\u003ch4\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\n## Requirements\n\n\u003ccenter\u003e\u003ctable\u003e\n\u003cthead\u003e\n  \u003ctr\u003e\n    \u003cth\u003e\u003c/th\u003e\n    \u003cth\u003e\u003cimg src=\"https://upload.wikimedia.org/wikipedia/commons/e/e6/Windows_11_logo.svg\" style=\"width: 200px;\"/\u003e\u003c/th\u003e\n    \u003cth\u003e\u003cimg src=\"https://upload.wikimedia.org/wikipedia/commons/0/05/Windows_10_Logo.svg\" style=\"width: 200px;\"/\u003e\u003c/th\u003e\n  \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg style=\"float: right;\" src=\"https://img.icons8.com/fluency/96/null/windows-update--v1.png\" width=\"60\" height=\"60\"/\u003e\u003ch4\u003eWindows Build Number\u003ch4\u003e\u003c/td\u003e\n    \u003ctd\u003eWindows™ 11: Build 22000.526 or higher.\u003c/td\u003e\n    \u003ctd\u003eWindows™ 10: 22H2 10.0.19042.2604 or higher. \u003cbr /\u003e\u003cbr /\u003e\u003cb\u003eTo use WSA, you must install \u003ca href=\"https://www.catalog.update.microsoft.com/Search.aspx?q=KB5014032\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eKB5014032\u003c/a\u003e then install \u003ca href=\"https://www.catalog.update.microsoft.com/Search.aspx?q=KB5022834\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eKB5022834\u003c/a\u003e to use WSA on these Windows 10 builds\u003cb\u003e\u003cbr /\u003e\u003cbr /\u003e\u003cb\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg style=\"float: right;\" src=\"https://img.icons8.com/external-smashingstocks-flat-smashing-stocks/66/null/external-RAM-technology-and-devices-smashingstocks-flat-smashing-stocks.png\" width=\"60\" height=\"60\"/\u003e\u003ch4\u003eRAM\u003ch4\u003e\u003c/td\u003e\n    \u003ctd colspan=\"2\"\u003e\u003cul\u003e\u003cli\u003e4 to 6 GB (Not Recommended)\u003c/li\u003e\u003cli\u003e8 GB (Minimum)\u003c/li\u003e\u003cli\u003e16 GB (Recommended)\u003c/li\u003e\u003c/ul\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg style=\"float: right;\" src=\"https://img.icons8.com/3d-fluency/94/null/electronics.png\" width=\"60\" height=\"60\"/\u003e\u003ch4\u003eProcessor\u003ch4\u003e\u003c/td\u003e\n    \u003ctd\u003eYour PC should meet the basic Windows™ 11 requirements i.e Core i3 8th Gen, Ryzen 3000, Snapdragon 8c, or above\u003c/td\u003e\n    \u003ctd\u003eN/A \u003c/br\u003e\u003c/br\u003e This is a bit of a hit or miss, but it is highly recommended that your processor is listed in the \u003ca href=\"https://learn.microsoft.com/en-gb/windows-hardware/design/minimum/windows-processor-requirements\" target=\"_blank\" rel=\"noopener noreferrer\"\u003esupported CPU lists for Windows 11 requirements\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg style=\"float: right;\" src=\"https://img.icons8.com/3d-fluency/94/null/video-card.png\" width=\"60\" height=\"60\"/\u003e\u003ch4\u003eGPU\u003ch4\u003e\u003c/td\u003e\n      \u003ctd colspan=\"2\"\u003eAny compatible Intel, AMD or Nvidia GPU. \u003cbr /\u003e GPU Performance may vary depending on its compatibility with Windows Subsystem For Android™  \u003cbr /\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd rowspan=\"2\"\u003e\u003cimg style=\"float: right;\" src=\"https://img.icons8.com/3d-fluency/94/null/ssd.png\" width=\"60\" height=\"60\"/\u003e\u003ch4\u003eStorage\u003ch4\u003e\u003c/td\u003e\n    \u003ctd colspan=\"2\"\u003eSolid-state drive (SSD) (RECOMMENDED) \u003cbr /\u003eOR\u003c/br\u003e Hard Disk Drive (HDD)   (NOT RECOMMENDED)\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n     \u003ctd colspan=\"2\"\u003e\u003cb\u003e\u003ci\u003eMinimum Storage Requirements: You must have at least 10GB free on the system drive (C:\\)\u003cb\u003e\u003ci\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg style=\"float: right;\" src=\"https://img.icons8.com/stickers/100/null/storage.png\" width=\"60\" height=\"60\"/\u003e\u003ch4\u003ePartition\u003ch4\u003e\u003c/td\u003e\n    \u003ctd colspan=\"2\"\u003e\u003cb\u003e\u003ci\u003eNTFS ONLY\u003cb\u003e\u003ci\u003e \u003cbr /\u003e\u003cbr /\u003e Windows Subsystem For Android™ can only be installed on a NTFS partition, not on an exFAT partition\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd rowspan=\"5\"\u003e\u003cimg style=\"float: left;\" src=\"https://user-images.githubusercontent.com/68516357/230764789-ad8f7361-4a3b-49a8-a8e9-24fdc87d5781.png\" width=\"66\" height=\"58\"/\u003e\u003ch4\u003eWindows Features Needed\u003ch4\u003e\u003c/td\u003e\n    \u003ctd colspan=\"2\"\u003eVirtual Machine Platform Enabled : \u003cb\u003eRequire!!\u003c/b\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd colspan=\"2\"\u003eWindows Hypervisor Platform Enabled (Optional)\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd colspan=\"2\"\u003eWindows Subsystem For Linux™ Enabled (Optional)\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd colspan=\"2\"\u003eHyper-V Enabled (Optional)\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd colspan=\"2\"\u003e\u003cb\u003e\u003ci\u003eThese optional settings are for virtualization and provide components that are needed to run WSA. You can enable these settings by pressing the Windows Key + R on your keyboard and typing \"OptionalFeatures.exe\" into the box, pressing enter and selecting the features above followed by pressing apply\u003cb\u003e\u003ci\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg style=\"float: right;\" src=\"https://user-images.githubusercontent.com/68516357/230759907-5d11950e-1b17-4811-8f4e-a0f82e598079.png\" width=\"60\" height=\"60\"/\u003e\u003ch4\u003eVirtualization\u003ch4\u003e\u003c/td\u003e\n    \u003ctd colspan=\"2\"\u003eThe Computer must support virtualization and be enabled in BIOS/UEFI and Optional Features. \u003c/br\u003e \u003ch3\u003e\u003ca href=\"https://support.microsoft.com/en-us/windows/enable-virtualization-on-windows-11-pcs-c5578302-6e43-4b4b-a449-8ced115f58e1\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eGuide on how to enable\u003c/a\u003e\u003ch3\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n\n\u0026nbsp;\n\n\u003cdetails\u003e     \n   \u003csummary\u003e\u003cpicture\u003e\u003cimg style=\"float: right;\" src=\"https://img.icons8.com/color/96/null/software-installer.png\" width=\"60\" height=\"60\"/\u003e\u003c/picture\u003e\u003ch1\u003e \u0026nbsp; Installation\u003ch1\u003e\u003c/summary\u003e\n\n\u0026nbsp;\n\n\u003e **Note** : \n\u003e If you have the official Windows Subsystem For Android™ installed, you must [completely uninstall]([#uninstallation](#--uninstallation)) it to use MagiskOnWSA. \n\n\u003e In case you want to preserve your data from the previous installation (official or MagiskOnWSA), you can backup `%LOCALAPPDATA%\\Packages\\MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbwe\\LocalCache\\userdata.vhdx` before uninstallation and restore it after installation.  For a more comprehensive and detailed guide, take a look at the **Backup and Restore section** in this README markdown\n\n1. Go to the [Releases page](https://github.com/YT-Advanced/WSA-Script/releases/latest)\n2. In the latest release, go to the Assets section and download the Windows Subsystem For Android™ version of your choosing (do not download \"Source code\")\n\n\u003e **Note** : \n\u003e If you want to download WSA with Magisk Delta, please go to [![Action Tab](https://github.com/YT-Advanced/WSA-Script/actions/workflows/custom_build.yml/badge.svg)](https://github.com/YT-Advanced/WSA-Script/actions/workflows/custom_build.yml) and download the package from the Action. \n\n3. Check integrity of downloaded file by [Follow this guide](Guides/Checksum.md)\n4. Extract the zip file\n5. Delete the zip file\n6. Move the newly extracted folder to a suitable location (Documents folder is a good choice), as you will need to keep the folder on your PC to use MagiskOnWSA\n\n\u003e **Note** :  \n\u003e If you're updating WSA, merge the folders and replace the files for all items when asked\n\n7. Open the Windows Subsystem For Android™ folder: Search for and double-click `Run.bat`\n   - If you previously have a MagiskOnWSA installation, it will automatically uninstall the previous one while preserving all user data and install the new one, so don't worry about your data.\n   - If the popup windows disappear without asking administrative permission and Windows Subsystem For Android™ is not installed successfully, you should manually run Install.ps1 as administrator:\n      \n      - Press `Win+X` and select **Windows™ Terminal (Admin)**\n      \n      - Input the command below and press enter, replacing {X:\\path\\to\\your\\extracted\\folder} including the {} with the path of the extracted folder\n        ```Powershell\n        cd \"{X:\\path\\to\\your\\extracted\\folder}\"\n        ```  \n        \n      - Input the command below and press enter   \n        ```Powershell\n        PowerShell.exe -ExecutionPolicy Bypass -File .\\Install.ps1\n        ```\n        \n      - The script will run and Windows Subsystem For Android™ will be installed\n      - If this workaround does not work, your PC is not supported for WSA\n      \n8. Once the installation process completes, Windows Subsystem For Android™ will launch (if this is a first-time install, a window asking for consent to diagnositic information will be shown instead. Sometimes two identical windows will show, this is fine and nothing bad happens if you click OK in both windows)\n9. Click on the PowerShell window, then press any key on the keyboard, the PowerShell window should close\n10. Close File Explorer\n11. **Enjoy**\n\n\u0026nbsp;\n\n### Notice (Applicable for both Windows 10 and 11):\n\n1. You can NOT delete the Windows Subsystem For Android™ installation folder.\n   What `Add-AppxPackage -Register .\\AppxManifest.xml` does is to register an appx package with some existing unpackaged files,\n   so you need to keep them as long as you want to use Windows Subsystem For Android™. \n   Check https://learn.microsoft.com/en-us/powershell/module/appx/add-appxpackage?view=windowsserver2022-ps for more details.\n2. You need to register your Windows Subsystem For Android™ appx package before you can run Windows Subsystem For Android™. \n   For [WSA-Script](https://github.com/YT-Advanced/WSA-Script) and [MagiskOnWSALocal](https://github.com/LSPosed/MagiskOnWSALocal) users, you need to run `Run.bat` in the extracted dir.\n   If the script fails, you can take the following steps for diagnosis (admin privilege required):\n    1. Open a PowerShell window and change working directory to your Windows Subsystem For Android™ directory.\n    \n    2. Run the command below in PowerShell. This should fail with an ActivityID, which is a UUID required for the next step.\n       ```Powershell\n       Add-AppxPackage -ForceApplicationShutdown -ForceUpdateFromAnyVersion -Register .\\AppxManifest.xml\n       ```\n       \n    3. Run the command below in PowerShell. This should print the log of the failed operation.\n       ```Powershell\n       Get-AppPackageLog -ActivityID \u003cUUID\u003e\n       ```\n    4. Check the log for the reason of failure and fix it.\n\n\u003c/details\u003e \n\n\u0026nbsp;\n\n\n\u003cdetails\u003e     \n   \u003csummary\u003e\u003cpicture\u003e\u003cimg style=\"float: right;\" src=\"https://img.icons8.com/external-flaticons-flat-flat-icons/64/null/external-updating-tools-and-material-ecommerce-flaticons-flat-flat-icons.png\" width=\"60\" height=\"60\"/\u003e\u003c/picture\u003e\u003ch1\u003e \u0026nbsp; Updating\u003ch1\u003e\u003c/summary\u003e\n\n### How do I update without losing any of my apps and data on Windows Subsystem for Android (WSA)\n\n1. [Download the latest build](https://github.com/YT-Advanced/WSA-Script/releases/latest) (that you want to update to)\n2. Make sure Windows Subsystem For Android is not running (Click on \"Turn off\" in the WSA Settings and wait for the spinning loader to disappear)\n2. Using 7-Zip, WinRAR or any other tool of choice, open the .zip file \n3. Within the .zip archive open the subfolder (Example: WSA_2xxx.xxxxx.xx.x_x64_Release-Nightly-with-magisk-xxxxxxx-MindTheGapps-13.0-as-Pixel-5-RemovedAmazon)\n4. Select all the files that are within this subfolder and extract them to the current folder where the file for Windows Subsystem For Android are (the folder you extracted, and installed WSA from)\n5. When prompted to replace folders, select \"Do this for all current items\" and click on \"Yes\" \n6. When prompted to replace files, click on \"Replace the files in the destination\"\n7. Run  the ``Run.bat`` file\n8. Launch Windows Subsystem For Android Settings app and go to the ``About`` tab using the sidebar\n9. Check if the WSA version matches the latest version/ the version number that you want to update to\n\n\n\u003c/details\u003e   \n\n\u0026nbsp;\n\n\u003cdetails\u003e     \n   \u003csummary\u003e\u003cpicture\u003e\u003cimg style=\"float: right;\" src=\"https://img.icons8.com/color/96/null/uninstall-programs.png\" width=\"60\" height=\"60\"/\u003e\u003c/picture\u003e\u003ch1\u003e \u0026nbsp; Uninstallation\u003ch1\u003e\u003c/summary\u003e\n\n\u0026nbsp;\n\n\u003e **Note**: \n\u003e \n\u003e If you want to preseve your data, make a backup of the `%LOCALAPPDATA%\\Packages\\MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbwe\\LocalCache\\userdata.vhdx` file. After uninstalling, copy the VHDX file back to the `%LOCALAPPDATA%\\Package\\MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbwe\\LocalCache` folder. For a more comprehensive and detailed guide, take a look at the **Backup and Restore section** in this README markdown\n\n- To remove WSA installed:\n\n   - **1.)** Make sure that Windows Subsystem For Android™ is not running\n   - **2.)** Search for ``Windows Subsystem For Android™ Settings`` using the built-in Windows Search, or through Add and Remove Programs and press uninstall\n   - **3.)** Delete the WSA folder that extracted you extracted and Run.bat was run from to install WSA (MagiskOnWSA folder)\n   - **4.)** Go to ``%LOCALAPPDATA%/Packages/`` and delete the folder named ``MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbwe``\n            \n      - If you get an error that states that the file(s) could not be deleted, make sure that WSA is turned off\n     \n- To remove WSA installed from the Microsoft Store: \n        \n   - **1.)** Search for ``Windows Subsystem For Android™ Settings`` using the built-in Windows Search, or through Add and Remove Programs and press uninstall\n\n\u003c/details\u003e\n\n\u0026nbsp;\n      \n\u003cdetails\u003e     \n   \u003csummary\u003e\u003cpicture\u003e\u003cimg style=\"float: right;\" src=\"https://img.icons8.com/fluency/96/cloud-backup-restore.png\" width=\"60\" height=\"60\"/\u003e\u003c/picture\u003e\u003ch1\u003e \u0026nbsp; Backup and Restore Userdata\u003ch1\u003e\u003c/summary\u003e\n\n## Backing Up Your Userdata\n\nIn order to make a backup of your WSA data you must copy the Userdata.vhdx (which includes, but is not limited Android Apps and their data, settings etc.), located at `%LOCALAPPDATA%\\Packages\\MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbwe\\LocalCache\\userdata.vhdx`, to a safe location     \n\n## Restoring Your Backup\n\nBefore attempting to restore your backup, you must remove WSA if installed. Then before you run the \"Run.bat\" script (to reinstall WSA after removing it), you need to remove these lines from Install.ps1: \n\nOfficial Magisk:\n```pwsh\nStart-Process \"wsa://com.topjohnwu.magisk\"\n```\nMagisk Alpha:\n```pwsh\nStart-Process \"wsa://io.github.vvb2060.magisk\"\n```\nMagisk Delta:\n```pwsh\nStart-Process \"wsa://io.github.huskydg.magisk\"\n```\nGoogle Play Store:\n```pwsh\nStart-Process \"wsa://com.android.vending\"\n```\nAmazon Appstore:\n```pwsh\nStart-Process \"wsa://com.amazon.venezia\"\n``` \nAfter running the script, do not run WSA at all, and go to %localappdata%\\Packages and (if the folders do not exist, create them) in MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbwe\\LocalCache\\ paste the userdata.vhdx\n\nNow run WSA and your serdata should hopefully be restored\n\u003c/details\u003e\n      \n\u0026nbsp;\n      \n\u003cdetails\u003e     \n   \u003csummary\u003e\u003cpicture\u003e\u003cimg style=\"float: right;\" src=\"https://img.icons8.com/3d-fluency/94/null/help.png\" width=\"60\" height=\"60\"/\u003e\u003c/picture\u003e\u003ch1\u003e \u0026nbsp; FAQ\u003ch1\u003e\u003c/summary\u003e\n\n\u0026nbsp;\n**Help me, I am having problems with the MagiskOnWSA Builds**\n\n- Open an [issue in Github](https://github.com/YT-Advanced/WSA-Script/issues) and describe the issue with sufficent detail\n\n**Help me, I am having problems with installing Windows Subsystem For Android™ on Windows™ 10**\n\n- I am not working on the patch, and nor claim to.  Open an issue in Github, and I will try to assist you with the problem if possible. For full support visit the project homepage and open an issue there: https://github.com/cinit/WSAPatch/issues/\n\n**How do I get a logcat?**\n- There are two ways:\n   ```\n   adb logcat\n   ```\n   or\n\n-  Location in Windows ---\u003e \u003cbr/\u003e `%LOCALAPPDATA%\\Packages\\MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbwe\\LocalState\\diagnostics\\logcat`\n\n**Can I delete the installed folder?**\n\n- No.\n\n**How can I update Windows Subsystem For Android™ to a new version?**\n\n- As Explained [Installation instructions](#installation). Download the [latest Windows Subsystem For Android™ Version](#downloads) and replace the content of your previous installation and rerun Install.ps1. Don't worry, your data will be preserved\n\n**How do I update Magisk?**\n\n- Do the same as updating Windows Subsystem For Android™.  Wait for a new MagiskOnWSA release that includes the newer Magisk version, then follow the [Installation instructions](#installation) to update\n\n**Can I pass SafetyNet/Play Integrity?**\n\n- No. Virtual machines like Windows Subsystem For Android™ cannot pass these mechanisms on their own due to the lack of signing by Google. Passing requires more exotic (and untested) solutions like: \u003chttps://github.com/kdrag0n/safetynet-fix/discussions/145#discussioncomment-2170917\u003e\n\n**What is virtualization?**\n\n- Virtualization is required to run virtual machines like Windows Subsystem For Android™.  `Run.bat` helps you enable it. After rebooting, re-run `Run.bat` to install Windows Subsystem For Android™.  If it's still not working, you have to enable virtualization in your BIOS/UEFI. Instructions vary by PC vendor, look for help online\n\n**Can I remount system partition as read-write?**\n\n- No. Windows Subsystem For Android™ is mounted as read-only by Hyper-V. You can, however, modify the system partition by creating a Magisk module, or by directly modifying the system.img file\n\n**I cannot adb connect localhost:58526**\n\n- Make sure developer mode is enabled. If the issue persists, check the IP address of Windows Subsystem For Android™ on the Settings ---\u003e Developer page and try \n\n   ```\n   adb connect ip:5555\n   ```\n\n**Magisk online module list is empty?**\n\n- Magisk actively removes the online module repository. You can install the module locally or by \n  \n   **Step 1** \n      \n      adb push module.zip /data/local/tmp\n\n   **Step 2**  \n\n      adb shell su -c magisk --install-module /data/local/tmp/module.zip\n\n\n**How do I uninstall Magisk?**\n\n- Request, using [Issues](https://github.com/YT-Advanced/WSA-Script/issues), a Windows Subsystem For Android™ version that doesn't include Magisk from the [Releases page](https://github.com/YT-Advanced/WSA-Script/releases/latest). Then follow the [Installation instructions](#installation)\n\u003c/details\u003e\n\n\u0026nbsp;\n\n\u003cdetails\u003e     \n   \u003csummary\u003e\u003cpicture\u003e\u003cimg style=\"float: right;\" src=\"https://img.icons8.com/external-xnimrodx-lineal-color-xnimrodx/96/null/external-guide-education-xnimrodx-lineal-color-xnimrodx.png\" width=\"60\" height=\"60\"/\u003e\u003c/picture\u003e\u003ch1\u003e \u0026nbsp; Usage Guides\u003ch1\u003e\u003c/summary\u003e\n\n\u0026nbsp;\n\n### Install KernelSU Manager:\n[\u003cimg src=\"https://img.shields.io/badge/-How%20to%20install%20KernelSU%20Manager-474154?style=for-the-badge\u0026logoColor=white\u0026logo=github\" /\u003e](Guides/KernelSU.md)\n\n### Install BusyBox:\n[\u003cimg src=\"https://img.shields.io/badge/-How%20to%20install%20BusyBox-474154?style=for-the-badge\u0026logoColor=white\u0026logo=github\" /\u003e](Guides/BusyBox.md)\n\n### Check Integrity Guide:\n[\u003cimg src=\"https://img.shields.io/badge/-HOW%20TO%20CHECK%20INTEGRITY%20OF%20DOWNLOAD%20PACKAGES-474154?style=for-the-badge\u0026logoColor=white\u0026logo=github\" /\u003e](Guides/Checksum.md)\n\n### GPU Guide:\n[\u003cimg src=\"https://img.shields.io/badge/-How%20to%20Change%20the%20GPU%20Used-474154?style=for-the-badge\u0026logoColor=white\u0026logo=github\" /\u003e](Guides/ChangingGPU.md)\n\n### Sideload Guide:\n[\u003cimg src=\"https://img.shields.io/badge/-How%20to%20Sideload%20apps-474154?style=for-the-badge\u0026logoColor=white\u0026logo=github\" /\u003e](Guides/Sideloading.md)\n\n### Moving WSA to another drive or partition:\n[\u003cimg src=\"https://img.shields.io/badge/-How%20to%20Move%20WSA%20to%20another%20drive%20or%20partition-474154?style=for-the-badge\u0026logoColor=white\u0026logo=github\" /\u003e](Guides/MoveToExtDrive.md)\n\n### LocalHost Loopback Guide:\n[\u003cimg src=\"https://img.shields.io/badge/-How%20to%20connect%20WSA%20to%20the%20localhost-474154?style=for-the-badge\u0026logoColor=white\u0026logo=github\" /\u003e](Guides/LocalHostLoopback.md)\n\n\u003c/details\u003e \n\n\u0026nbsp;\n\n\u003cdetails\u003e     \n   \u003csummary\u003e\u003cpicture\u003e\u003cimg style=\"float: right;\" src=\"https://img.icons8.com/external-soft-fill-juicy-fish/96/null/external-bug-coding-and-development-soft-fill-soft-fill-juicy-fish-2.png\" width=\"60\" height=\"60\"/\u003e\u003c/picture\u003e\u003ch1\u003e \u0026nbsp; Having Issues?\u003ch1\u003e\u003c/summary\u003e\n\n### Common Issues:\n\n[\u003cimg src=\"https://img.shields.io/badge/-Fix%20Install.ps1%20Issue-%23EF2D5E?style=for-the-badge\u0026logoColor=white\u0026logo=Github\" /\u003e](Fixes/FixInstallps1.md)\n\n[\u003cimg src=\"https://img.shields.io/badge/-Fix%20Install.ps1%20Failed%20to%20update-%23EF2D5E?style=for-the-badge\u0026logoColor=white\u0026logo=Github\" /\u003e](Fixes/nstallPs1FailedToUpdate.md)\n\n[\u003cimg src=\"https://img.shields.io/badge/-Fix Virtualization and Virtual Machine Platform Error-%23EF2D5E?style=for-the-badge\u0026logoColor=white\u0026logo=github\" /\u003e](Fixes/FixVirtError.md)\n\n[\u003cimg src=\"https://img.shields.io/badge/-Fix%20Internet%20Issues-%23EF2D5E?style=for-the-badge\u0026logoColor=white\u0026logo=Github\" /\u003e](Fixes/FixInternet.md)\n      \n[\u003cimg src=\"https://img.shields.io/badge/-Fix%20Error%200x80073CF0-%23EF2D5E?style=for-the-badge\u0026logoColor=white\u0026logo=Github\" /\u003e](Fixes/Fix%20Error%200x80073CF0.md)\n\n[\u003cimg src=\"https://img.shields.io/badge/-Fix%20Error%200x80073CFD-%23EF2D5E?style=for-the-badge\u0026logoColor=white\u0026logo=Github\" /\u003e](Fixes/Fix%20Error%200x80073CFD.md)\n\n[\u003cimg src=\"https://img.shields.io/badge/-Fix%20Error%200x80073CF6-%23EF2D5E?style=for-the-badge\u0026logoColor=white\u0026logo=Github\" /\u003e](Fixes/Fix%20Error%200x80073CF6.md)\n\n[\u003cimg src=\"https://img.shields.io/badge/-Fix%20Error%200x80073CF9-%23EF2D5E?style=for-the-badge\u0026logoColor=white\u0026logo=Github\" /\u003e](Fixes/Fix%20Error%200x80073CF9.md)\n\n[\u003cimg src=\"https://img.shields.io/badge/-Fix%20Error%200x80073D10-%23EF2D5E?style=for-the-badge\u0026logoColor=white\u0026logo=Github\" /\u003e](Fixes/Fix%20Error%200x80073D10.md)\n\n[\u003cimg src=\"https://img.shields.io/badge/-Fix%20Error%200x80073CFB-%23EF2D5E?style=for-the-badge\u0026logoColor=white\u0026logo=Github\" /\u003e](Fixes/Fix%20Error%200x80073CFB.md)\n\n[\u003cimg src=\"https://img.shields.io/badge/-Fix%20Path%20Too%20Long-%23EF2D5E?style=for-the-badge\u0026logoColor=white\u0026logo=Github\" /\u003e](Fixes/FixPathTooLong.md)\n\n[\u003cimg src=\"https://img.shields.io/badge/-Fix%20Missing%20Icons%20Issue-%23EF2D5E?style=for-the-badge\u0026logoColor=white\u0026logo=Github\" /\u003e](Fixes/MissingIcons.md)\n\n[\u003cimg src=\"https://img.shields.io/badge/-Fix%20Target%20Machine%20Actively%20Refused%20Connection-%23EF2D5E?style=for-the-badge\u0026logoColor=white\u0026logo=Github\" /\u003e](Fixes/TargetMachineActivelyRefusedConnection.md)\n\n[\u003cimg src=\"https://img.shields.io/badge/-Fix%20Target%20Machine%20Actively%20Refused%20Connection-%23EF2D5E?style=for-the-badge\u0026logoColor=white\u0026logo=Github\" /\u003e](Fixes/TargetMachineActivelyRefusedConnection.md)\n\n[\u003cimg src=\"https://img.shields.io/badge/-Fix%20Internet%20security%20settings%20blocked%20from%20opening-%23EF2D5E?style=for-the-badge\u0026logoColor=white\u0026logo=Github\" /\u003e](Fixes/InternetSecuritySettingsBlock.md)\n\n[\u003cimg src=\"https://img.shields.io/badge/-Cannot%20sign%20in%20to%20Google%20Account-%23EF2D5E?style=for-the-badge\u0026logoColor=white\u0026logo=Github\" /\u003e](Fixes/Google%20Play%20Issues.md)\n\n[\u003cimg src=\"https://img.shields.io/badge/-WSA%20Settings%20App%20Crashes%20%2B%20Android%20Apps%20Do%20Not%20Load%20After%20Installation-%23EF2D5E?style=for-the-badge\u0026logoColor=white\u0026logo=Github\" /\u003e](Fixes/WSA%20Settings%20App%20Crashes%20%2B%20Android%20Apps%20Do%20Not%20Load%20After%20Installation.md\n)\n\n[\u003cimg src=\"https://img.shields.io/badge/-WSA Does Not Load After Install %2B No Splashscreen-%23EF2D5E?style=for-the-badge\u0026logoColor=white\u0026logo=Github\" /\u003e](Fixes/WSA%20Does%20Not%20Load%20After%20Install%20%2B%20No%20Splashscreen.md)\n\n[\u003cimg src=\"https://img.shields.io/badge/-Keyboard%20Is%20Not%20Working-%23EF2D5E?style=for-the-badge\u0026logoColor=white\u0026logo=Github\" /\u003e](Fixes/Keyboard%20Is%20Not%20Working.md)   \n\n\u003c/details\u003e  \n\n\u0026nbsp;      \n      \n\u003cdetails\u003e     \n   \u003csummary\u003e\u003cpicture\u003e\u003cimg style=\"float: right;\" src=\"https://img.icons8.com/external-flaticons-lineal-color-flat-icons/64/null/external-credits-movie-theater-flaticons-lineal-color-flat-icons.png\" width=\"60\" height=\"60\"/\u003e\u003c/picture\u003e\u003ch1\u003e \u0026nbsp; Credits\u003ch1\u003e\u003c/summary\u003e\n\n- [Microsoft](https://apps.microsoft.com/store/detail/windows-subsystem-for-android%E2%84%A2-with-amazon-appstore/9P3395VX91NR): For providing Windows Subsystem For Android™ and related files. Windows Subsystem For Android™, Windows Subsystem For Android™ Logo, Windows™ 10 and Windows™ 11 Logos are trademarks of Microsoft Corporation. Microsoft Corporation reserves all rights to these trademarks. By downloading and installing Windows Subsystem For Android™, you agree to the [Terms and Conditions](https://support.microsoft.com/en-gb/windows/microsoft-software-license-terms-microsoft-windows-subsystem-for-android-cf8dfb03-ba62-4daa-b7f3-e2cb18f968ad) and [Privacy Policy](https://privacy.microsoft.com/en-gb/privacystatement)\n- [Cinit and the WSAPatch Guide](https://github.com/cinit/WSAPatch): Many thanks for the comprehensive guide, files and support provided by Cinit and the contributers at the WSAPatch repository. Windows™ 10 Builds in this repo rely on the hard work of this project and  hence credit is given where due\n- [StoreLib](https://github.com/StoreDev/StoreLib): API for downloading WSA\n- [Magisk](https://github.com/topjohnwu/Magisk): The Magic Mask for Android\n- [KernelSU](https://github.com/tiann/KernelSU): A Kernel based root solution for Android\n- [MagiskOnWSALocal](https://github.com/LSPosed/MagiskOnWSALocal): Integrate Magisk root and Google Apps into WSA\n- [WSAOnWin10](https://github.com/A-JiuA/WSAOnWin10): Integrate Magisk root and Google Apps into WSA (Windows Subsystem for Android) and make it run on **Windows 10** with GitHub Actions\n\n***The repository is provided as a utility.***\n\n***Android is a trademark of Google LLC. Windows™ is a trademark of Microsoft LLC.***\n\n\u003c/details\u003e \n","funding_links":["https://github.com/sponsors/YT-Advanced","https://github.com/sponsors/s1204IT"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyt-advanced%2Fwsa-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyt-advanced%2Fwsa-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyt-advanced%2Fwsa-script/lists"}