MustardChef / WSABuilds

Run Windows Subsystem For Android on your Windows 10 and Windows 11 PC using prebuilt binaries with Google Play Store (MindTheGapps) and/or Magisk or KernelSU (root solutions) built in.
GNU Affero General Public License v3.0
8.2k stars 1.38k forks source link

[BUG WSA 2304.40000.4.0] Amazon store still installed #76

Closed Mitia99 closed 1 year ago

Mitia99 commented 1 year ago

Describe the bug | 描述一下这个错误

Amazon store is still installed on WSA_2304.40000.4.0_x64_Release-Nightly-with-magisk-d0c93842(26101)-canary-MindTheGapps-13.0-RemovedAmazon Screenshot 2023-05-14 095536

Steps to reproduce the issue | 重现该问题的步骤

Perform a clean install of WSA_2304.40000.4.0_x64_Release-Nightly-with-magisk-d0c93842(26101)-canary-MindTheGapps-13.0-RemovedAmazon

Expected behaviour | 预期的行为

Removed Amazon Store

Downloaded Build Of WSA | 已下载的WSA版本

WSA_2304.40000.4.0_x64_Release-Nightly-with-magisk-d0c93842(26101)-canary-MindTheGapps-13.0-RemovedAmazon

Windows build number | Windows构建号

Windows 11 22H2 build 22621.1702

PC Specification | 个人电脑规格

Device name Matebook E Processor 11th Gen Intel(R) Core(TM) i5-1130G7 @ 1.10GHz 1.80 GHz Installed RAM 16.0 GB (15.8 GB usable) System type 64-bit operating system, x64-based processor Pen and touch Pen and touch support with 10 touch points

Additional context | 额外的背景

No response

MustardChef commented 1 year ago

@Mitia99 Thank you for reporting this. This seems like an issue with the MagiskOnWSALocal Script, which has not removed the Amazon Appstore even though the option was selected during the building process. I will see if rebuilding the builds fixes this. Hopefully this has not caused any inconveniences and I am sorry.

Mitia99 commented 1 year ago

I see. Thanks for investigating

MustardChef commented 1 year ago

@Mitia99 Fix has been released, could you redownload from Releases and feedback whether or not Amazon AppStore has been successfully removed

Mitia99 commented 1 year ago

@MustardChef Thank you for the quick fix.

Unfortunately, I had to clean reinstall WSA and lost all my Android apps. I made a copy of userdata.vhdx though.

I tried copy-pasting (erase) it to the %LOCALAPPDATA%\Packages...\LocalCache\userdata.vhdx but it's not working.

How to perform apps restoration ?

MustardChef commented 1 year ago

@MustardChef Thank you for the quick fix.

Unfortunately, I had to clean reinstall WSA and lost all my Android apps. I made a copy of userdata.vhdx though.

I tried copy-pasting (erase) it to the %LOCALAPPDATA%\Packages...\LocalCache\userdata.vhdx but it's not working.

How to perform apps restoration ?

@Mitia99 Hello, so you must remove WSA again, and before you run the "Run.bat" script, you need to remove these two lines from Install.ps1:

Start-Process "wsa://com.topjohnwu.magisk"
Start-Process "wsa://com.android.vending"

After 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

Now run WSA and your Android apps should hopefully be restored

Mitia99 commented 1 year ago

@MustardChef Thanks for the tip. My apps are back but also with Amazon Appstore cause maybe it has been backed up before.

Any idea how to remove it without loosing my apps? image

MustardChef commented 1 year ago

@MustardChef Thanks for the tip. My apps are back but also with Amazon Appstore cause maybe it has been backed up before.

Any idea how to remove it?

@Mitia99 Seems like the Amazon Appstore was indeed backed up. Since you have installed a build with Magisk, you can try disabling the Amazon Appstore using this app:

https://f-droid.org/packages/com.sunilpaulmathew.debloater/

MustardChef commented 1 year ago

@Mitia99 Make sure you still have a backup of the VHDX file

Mitia99 commented 1 year ago

Unfortunately, De-bloater app is not working.

MustardChef commented 1 year ago

Unfortunately, De-bloater app is not working.

The only other option that I can think of is to use a Root backup tool to backup Apps and their data and to reinstall WSA and then to restore the data. I am very sorry that it has come to this.

Mitia99 commented 1 year ago

Thank you for your support. I did a clean reinstall of all apps.

MustardChef commented 1 year ago

Thank you for your support. I did a clean reinstall of all apps.

@Mitia99 So Amazon Appstore is no longer present, right? If so, feel you can close this issue.

Mitia99 commented 1 year ago

Yes, Amazon Appstore isn't installed

uuc110 commented 1 year ago

@MustardChef Thank you for the quick fix. Unfortunately, I had to clean reinstall WSA and lost all my Android apps. I made a copy of userdata.vhdx though. I tried copy-pasting (erase) it to the %LOCALAPPDATA%\Packages...\LocalCache\userdata.vhdx but it's not working. How to perform apps restoration ?

@Mitia99 Hello, so you must remove WSA again, and before you run the "Run.bat" script, you need to remove these two lines from Install.ps1:

Start-Process "wsa://com.topjohnwu.magisk"
Start-Process "wsa://com.android.vending"

After 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

Now run WSA and your Android apps should hopefully be restored

Hey bro 💀 WSA automatically run after script get completed then how do I fix this? Like when script get done it execute WSA with all 4 process. then how do I copy past " do not run WSA at all"??

Mitia99 commented 1 year ago

@MustardChef Thank you for the quick fix. Unfortunately, I had to clean reinstall WSA and lost all my Android apps. I made a copy of userdata.vhdx though. I tried copy-pasting (erase) it to the %LOCALAPPDATA%\Packages...\LocalCache\userdata.vhdx but it's not working. How to perform apps restoration ?

@Mitia99 Hello, so you must remove WSA again, and before you run the "Run.bat" script, you need to remove these two lines from Install.ps1:

Start-Process "wsa://com.topjohnwu.magisk"
Start-Process "wsa://com.android.vending"

After 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

Now run WSA and your Android apps should hopefully be restored

Hey bro 💀 WSA automatically run after script get completed then how do I fix this? Like when script get done it execute WSA with all 4 process. then how do I copy past " do not run WSA at all"??

Hey. What's your issue ? Can't clearly understand. Are you updating WSA ?

uuc110 commented 1 year ago

@MustardChef Thank you for the quick fix. Unfortunately, I had to clean reinstall WSA and lost all my Android apps. I made a copy of userdata.vhdx though. I tried copy-pasting (erase) it to the %LOCALAPPDATA%\Packages...\LocalCache\userdata.vhdx but it's not working. How to perform apps restoration ?

@Mitia99 Hello, so you must remove WSA again, and before you run the "Run.bat" script, you need to remove these two lines from Install.ps1:

Start-Process "wsa://com.topjohnwu.magisk"
Start-Process "wsa://com.android.vending"

After 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 Now run WSA and your Android apps should hopefully be restored

Hey bro 💀 WSA automatically run after script get completed then how do I fix this? Like when script get done it execute WSA with all 4 process. then how do I copy past " do not run WSA at all"??

Hey. What's your issue ? Can't clearly understand. Are you updating WSA ?

Oh it's fixed. maybe you should Add this in the documentation. when script says "Press any key to quit" at that time it will open the dialouge box which says about data analytics that white box. but do not click unless , first copy and then past. this won't trigger the complete start of WSA

uuc110 commented 1 year ago

I got confused when you said "do not run the WSA at all", since after run.bat file finishes. WSA automatically run after last Vhdx image get finished.

MustardChef commented 1 year ago

@MustardChef Thank you for the quick fix. Unfortunately, I had to clean reinstall WSA and lost all my Android apps. I made a copy of userdata.vhdx though. I tried copy-pasting (erase) it to the %LOCALAPPDATA%\Packages...\LocalCache\userdata.vhdx but it's not working. How to perform apps restoration ?

@Mitia99 Hello, so you must remove WSA again, and before you run the "Run.bat" script, you need to remove these two lines from Install.ps1:

Start-Process "wsa://com.topjohnwu.magisk"
Start-Process "wsa://com.android.vending"

After 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 Now run WSA and your Android apps should hopefully be restored

Hey bro 💀 WSA automatically run after script get completed then how do I fix this? Like when script get done it execute WSA with all 4 process. then how do I copy past " do not run WSA at all"??

Hey. What's your issue ? Can't clearly understand. Are you updating WSA ?

Oh it's fixed. maybe you should Add this in the documentation. when script says "Press any key to quit" at that time it will open the dialouge box which says about data analytics that white box. but do not click unless , first copy and then past. this won't trigger the complete start of WSA

Will add this to the documentation, thanks.

uuc110 commented 1 year ago

@MustardChef Thank you for the quick fix. Unfortunately, I had to clean reinstall WSA and lost all my Android apps. I made a copy of userdata.vhdx though. I tried copy-pasting (erase) it to the %LOCALAPPDATA%\Packages...\LocalCache\userdata.vhdx but it's not working. How to perform apps restoration ?

@Mitia99 Hello, so you must remove WSA again, and before you run the "Run.bat" script, you need to remove these two lines from Install.ps1:

Start-Process "wsa://com.topjohnwu.magisk"
Start-Process "wsa://com.android.vending"

After 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 Now run WSA and your Android apps should hopefully be restored

Hey bro 💀 WSA automatically run after script get completed then how do I fix this? Like when script get done it execute WSA with all 4 process. then how do I copy past " do not run WSA at all"??

Hey. What's your issue ? Can't clearly understand. Are you updating WSA ?

Oh it's fixed. maybe you should Add this in the documentation. when script says "Press any key to quit" at that time it will open the dialouge box which says about data analytics that white box. but do not click unless , first copy and then past. this won't trigger the complete start of WSA

Will add this to the documentation, thanks.

is it fine if I make a PR for documentation edit. Just want to contribute👀

MustardChef commented 1 year ago

@MustardChef Thank you for the quick fix. Unfortunately, I had to clean reinstall WSA and lost all my Android apps. I made a copy of userdata.vhdx though. I tried copy-pasting (erase) it to the %LOCALAPPDATA%\Packages...\LocalCache\userdata.vhdx but it's not working. How to perform apps restoration ?

@Mitia99 Hello, so you must remove WSA again, and before you run the "Run.bat" script, you need to remove these two lines from Install.ps1:

Start-Process "wsa://com.topjohnwu.magisk"
Start-Process "wsa://com.android.vending"

After 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 Now run WSA and your Android apps should hopefully be restored

Hey bro 💀 WSA automatically run after script get completed then how do I fix this? Like when script get done it execute WSA with all 4 process. then how do I copy past " do not run WSA at all"??

Hey. What's your issue ? Can't clearly understand. Are you updating WSA ?

Oh it's fixed. maybe you should Add this in the documentation. when script says "Press any key to quit" at that time it will open the dialouge box which says about data analytics that white box. but do not click unless , first copy and then past. this won't trigger the complete start of WSA

Will add this to the documentation, thanks.

is it fine if I make a PR for documentation edit. Just want to contribute👀

PRs are welcome.