YT-Advanced / WSA-Script

Integrate Magisk root and Google Apps into WSA (Windows Subsystem for Android) with GitHub Actions
https://YT-Advanced.github.io/WSA-Script/
GNU Affero General Public License v3.0
829 stars 169 forks source link

[Bug] On ARM64 result is a silent crash loading the subsystem #673

Open wavelov3r opened 1 year ago

wavelov3r commented 1 year ago

Steps to reproduce

  1. Install the ARM version on a Microsoft Surface pro X SQ1
  2. Start subsystem
  3. Launch the subsystem ( Open "Files" or install an app)

Expected behaviour

Opens the Android Files system, or install the app on the subsystem.

Actual behaviour

The window "launching subsystem..." appears and hangs, meanwhile the microphone is activated every 10 seconds approx. Silently the "launching window" crash

Windows version

W11 v 22H2 Build 22621.2361

Build Issue number

No response

Version requirement

github-actions[bot] commented 1 year ago

Hello .
Your custom WSA build failed to build. Don't worry! Our admin will take a look soon.

https://github.com/YT-Advanced/WSA-Script/actions/runs/6434320371

YT-Advanced commented 1 year ago

First, what version have you used Second, after click to open Files and the dialog appear, you should click again (Sometime my WSA have this stupid problem too)

wavelov3r commented 1 year ago

I've used this one: WSA_2308.40000.3.0_arm64_Release-Nightly-MindTheGapps-13.0-as-Pixel-5-RemovedAmazon.7z

Extracted with 7z. When i click on "Files" is shown another popup, who loads the subsystem. At this point the microphone is opened every 6-7 seconds, i see the icon switching on and off on the windows menu bar (control panel say it's used by WSA), and after some minute the popup crash and closes, without errors. I can click another time on Files, and it does the same.

YT-Advanced commented 1 year ago

I've used this one: WSA_2308.40000.3.0_arm64_Release-Nightly-MindTheGapps-13.0-as-Pixel-5-RemovedAmazon.7z

Extracted with 7z. When i click on "Files" is shown another popup, who loads the subsystem. At this point the microphone is opened every 6-7 seconds, i see the icon switching on and off on the windows menu bar (control panel say it's used by WSA), and after some minute the popup crash and closes, without errors. I can click another time on Files, and it does the same.

Can you try v2309 (Insider Build)

wavelov3r commented 1 year ago

It does not work. To be honest doesn't work with other authors releases too.... Changing the product.vhdx image it starts, by with no apps (no traces of the Google play app). I've tried to build a custom WSA injecting myself the Google apps, but the vhdx image stops me.

It hangs here, notice the mic icon (who appears and disappear)

image

YT-Advanced commented 1 year ago

Hmm, strange. You should check original WSA (unmodified) to make sure that it is not our bug https://github.com/bubbles-wow/WSA-Archive/releases/tag/2309.40000.5.0

wavelov3r commented 1 year ago

WSA_2308.40000.1.0_arm64_Release-Nightly-MindTheGapps-13.0-as-Pixel-5-RemovedAmazon.7z

this one is working right now

wavelov3r commented 1 year ago

Hmm, strange. You should check original WSA (unmodified) to make sure that it is not our bug https://github.com/bubbles-wow/WSA-Archive/releases/tag/2309.40000.5.0

image

i have reinstalled the insider version (Same build number with gapps), and it hangs with the microphone issue. nave noticed also that the Language is English when it crash. the screenshot is the original WSA linked.

MustardChef commented 1 year ago

@wavelov3r Report this issue to Microsoft via the feedback hub.

wavelov3r commented 1 year ago

@MustardChef ..maybe I badly explained myself. The linked version works, in italian. (https://github.com/bubbles-wow/WSA-Archive/releases/tag/2309.40000.5.0)

The insider version does not, in english. (https://github.com/YT-Advanced/WSA-Script/releases/download/WSA-Insider-Version/WSA_2309.40000.5.0_arm64_Release-Nightly-MindTheGapps-13.0-as-Pixel-5-RemovedAmazon.7z)

YT-Advanced commented 1 year ago

@s1204IT Maybe our recent makepri caused the issues ?

s1204IT commented 1 year ago

@s1204IT Maybe our recent makepri caused the issues ?

It works in languages ​​other than English after I made the changes (checked in Japanese)

wavelov3r commented 1 year ago

just to make a small recap: With releases > 2308.40000.1.0.arm64, it hangs at start, and silent crashes:

fyi since yesterday i have hard reset the device 2 times.

YT-Advanced commented 1 year ago

Hmm, so v2307 worked, right ?

YT-Advanced commented 1 year ago

@s1204IT Wait, seem like we used makepri from x64 to build arm64 too

wavelov3r commented 1 year ago

Hmm, so v2307 worked, right ?

honestly i nave not tried it, i will do if necessary (so my recap is wrong πŸ™ƒ)

s1204IT commented 1 year ago

@s1204IT Wait, seem like we used makepri from x64 to build arm64 too

Okay, I'll fix it later.

YT-Advanced commented 1 year ago

Hmm, so v2307 worked, right ?

honestly i nave not tried it, i will do if necessary (so my recap is wrong πŸ™ƒ)

We will fix it and notify you soon. Thanks for your support !

wavelov3r commented 1 year ago

Hmm, so v2307 worked, right ?

honestly i nave not tried it, i will do if necessary (so my recap is wrong πŸ™ƒ)

We will fix it and notify you soon. Thanks for your support !

THANK YOU ALL instead! ❀️

YT-Advanced commented 1 year ago

@wavelov3r Also what is your app language in WSA v2307 ? Thanks

wavelov3r commented 1 year ago

@wavelov3r Also what is your app language in WSA v2307 ? Thanks

It works, is in italian

s1204IT commented 1 year ago

It seems that it is not possible to merge arm64 PRIs on Actions.
Therefore, only arm64 needs to be merged separately during installation.

s1204IT commented 1 year ago

@wavelov3r Please try this built artifact

https://github.com/YT-Advanced/WSA-Script/actions/runs/6464711635#artifacts

wavelov3r commented 1 year ago

Sorry for late reply, was at work.. Unfortunately it doesnt work, still english

image

Edit: Tried to change Os language, reinstall and launch. Same behaviour. Seems something goes wrong during the installation/packing who involve language also

YT-Advanced commented 1 year ago

Sorry for late reply, was at work.. Unfortunately it doesnt work, still english

image

Edit: Tried to change Os language, reinstall and launch. Same behaviour. Seems something goes wrong during the installation/packing who involve language also

Can u clean install the app. You can check unistallation section in our Readme

wavelov3r commented 1 year ago

Sorry for late reply, was at work.. Unfortunately it doesnt work, still english image Edit: Tried to change Os language, reinstall and launch. Same behaviour. Seems something goes wrong during the installation/packing who involve language also

Can u clean install the app. You can check unistallation section in our Readme

...no way

wavelov3r commented 1 year ago

image

if i overwrite an installation, it does not happen. already tried to install newer versions over the working one (they shows up in italian, but still does not work). I'm going to make the fourth hard reset πŸ«₯

s1204IT commented 1 year ago

image

if i overwrite an installation, it does not happen. already tried to install newer versions over the working one (they shows up in italian, but still does not work). I'm going to make the fourth hard reset πŸ«₯

Wait, that output itself is strange. Because at least you've already removed the code related to that output.

https://github.com/YT-Advanced/WSA-Script/blob/d0251c3/installer/arm64/MakePri.ps1

wavelov3r commented 1 year ago

Sorry for late reply. I've tried also lauching makepri.ps1 on an installed version, and on a clean system. the issue persist (crash), also when no errors are shown in the installation process

YT-Advanced commented 1 year ago

Sorry for late reply. I've tried also lauching makepri.ps1 on an installed version, and on a clean system. the issue persist (crash), also when no errors are shown in the installation process

I see. It is quite strange because we have reverted all changes :(

s1204IT commented 1 year ago

We'll investigate this issue a little further, so please help us.

YT-Advanced commented 1 year ago

We'll investigate this issue a little further, so please help us.

Check notifications, I have send you a review

YT-Advanced commented 1 year ago

@wavelov3r Hello, I'm back

wavelov3r commented 1 year ago

Used makepri.exe from v2308.40000.1.0 (last working) to v2308.40000.4.0 on a fresh Os. (no makepri.exe in v 2307.4000.6) It gives an error image

Bur now It's in italian. i have tried to overwrite the makepri.ps1 file also, with no success. if i install it 2 times (without uninstalling, but killing wsa process and skipping the finish function the first install), it gives no errors the second time, but fails to start.

When it works, it download something (a popup notification from WSA appears, who tells finished update), and then is shown google play and main settings screen. Does it hangs retrieving the update? PS: where is WSA_2308.40000.1.0_arm64_Release-Nightly-MindTheGapps-13.0-as-Pixel-5-RemovedAmazon.7z ?

wavelov3r commented 1 year ago

..another thing i've seen, my userdata file is always named userdata2.vhxd (don't tell me why).... Also with working install.

YT-Advanced commented 1 year ago

So is overwrite the file worked

wavelov3r commented 1 year ago

Nope.

YT-Advanced commented 1 year ago

Hmm, now I don't have any idea

wavelov3r commented 1 year ago

The mustardchef releases also doesn't work. They behave the same. When i update the working (old) version, overwriting with new files, google play popups, but hangs.

Do you know other wsa builds?

s1204IT commented 1 year ago

@wavelov3r Please try this: https://github.com/YT-Advanced/WSA-Script/actions/runs/6626702928#artifacts

wavelov3r commented 1 year ago

Sorry for late reply. I have uninstalled previous version and installed this one. The app is in local language, but it still hangs at start. This time the microphone is not activated avery Xseconds.