Replies: 13 comments 9 replies
-
BTW, I have applied the fix from https://github.com/LSPosed/MagiskOnWSALocal/pull/620/files when building the new builds. I'm able to build everything correctly and the install process finished successfully. It just quits without starting the Play Store app and Magisk. Also, when I look at the Windows Subsystem for Android Settings app, it shows no installed apps on my system so for some reason those apps aren't being installed on the first run. |
Beta Was this translation helpful? Give feedback.
-
As the author of the fix mentioned in another thread, did this problem only start with 2306.40000.x.x? If so, your problem is the %LOCALAPPDATA%\Packages\MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbwe\LocalCache\userdata.vhdx changed formats. Here is what you can do. Get WSATools from Microsoft Store and backup all the apps using WSATools while you are still in v2304.40000.7.0. |
Beta Was this translation helpful? Give feedback.
-
@Almighty188 - Even though I was starting fresh, without any apps, I did try to use WSA Tools to back up my userdata.vhdx file but it didn't work. I then went into the LocalCache folder and found out that my userdata.vhdx file is now named userdata.2.vhdx.. I'm now running on an unpatched version 2307.40000.3.0 and everything works fine. Here's what my LocalCache folder looks like with the unpatched version: I think I'm on a new version with different vhdx structure and the patch doesn't work on this version. I need to investigate more and see when this change started happening, but I can't use any of the last few versions. FYI, if I rename userdata.2.vhdx to userdata.vhdx, I can restore my WSA Tools backup. It looks like it's looking for a hardcoded name in that folder and doesn't recognize userdata.2.vhdx. Even when I rename the file, then restore it, apps don't start when I try to run them. They exhibit the same issue with spinning and quitting after a couple of minutes. More investigation is needed here. I'm not sure if I'm the only one who got the new file names, but there may be the starting point of off of this. In any case, thanks again for your help! |
Beta Was this translation helpful? Give feedback.
-
The patch is there so if it's v2306 and newer, it will do it a certain way and if it's below v2306, it will do it another way. Yes, the file has to be named userdata.vhdx exactly for it to work. How did you do the uninstall? Are you doing it using #645 (comment) Also, I forgot to ask but are you using scripts/run.sh to build and if not, which version of Google Apps are you using? As he newer versions are Android 13 and only works with MindTheGapps and not OpenGApps, the later could also be the reason why it's failing. |
Beta Was this translation helpful? Give feedback.
-
I'm using the latest version in the master branch with the changes from https://github.com/LSPosed/MagiskOnWSALocal/pull/620/files I need to understand why my files are named metadata.2.vhdx and userdata.2.vhdx when I install the unpatched 2307.40000.3.0. I believe this is one of the reasons things are not working with the patched versions. |
Beta Was this translation helpful? Give feedback.
-
Yes. The folder as well and the parent folders are all deleted. I always used MindTheGapps when given a choice. I'm in the process of installing all older versions and seeing what version if the first one to break. I will report back. |
Beta Was this translation helpful? Give feedback.
-
Ok. All versions up to 2305.40000.6.0 work just fine. Starting with version 2306.40000.1.0 I get the spinning bug. So for me, something broke when they switched from erofs to ext4. For some reason the script doesn't patch my files properly and I run into the issue |
Beta Was this translation helpful? Give feedback.
-
I forgot to ask, but what version is your Ubuntu and did you update erofs-utils which needs to be at v1.4 or newer to work as this was a problem described here #535 and basically I updated Ubuntu from 20.04 to 22.04. |
Beta Was this translation helpful? Give feedback.
-
You might also want to use this: https://github.com/YT-Advanced/MagiskOnWSALocal/blob/patch-1/scripts/build.sh |
Beta Was this translation helpful? Give feedback.
-
Ubuntu version is the following: build.sh is the exact same as the patch since I did not edit it manually but pulled the patch straight from github. It's really puzzling that this only seems to affect me and nobody else. I'd imagine more people would have the same issue... It's gotta be something specific with my machine and versions newer than 2306 |
Beta Was this translation helpful? Give feedback.
-
Github does not have support for v2306 yet without manually editing the scripts/build.sh as can be seen here: |
Beta Was this translation helpful? Give feedback.
-
No problem, in the output folder of the builds, how are the metadata and userdata files named there? Is it just metadata.vhdx and userdata.vhdx or does it also have the 2 added to the filename for the versions with the problem. |
Beta Was this translation helpful? Give feedback.
-
Can you test these prebuilt patches: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey all,
I haven't been able to run any recent version, including v2307.40000.3.0 after patching them.
I can install them just fine if I install the Msixbuldle file directly, but when I patch it with MagiskOnWSALocal, the install starts, but when the google play app tried to start, it just spins for a couple of minutes and eventually quits. I looked through the logcat files but I haven't been able to determine what could be causing it. I'm now using version 2304.40000.7.0 with Magisk and it's working correctly. Is anybody else having this issue?
I'm curious if it's just me.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions