WSAGAScript icon indicating copy to clipboard operation
WSAGAScript copied to clipboard

Patched images appears to hang, then WSA restarts

Open dnabsuh opened this issue 3 years ago • 3 comments

As per title - I ran through the scripts, didn't get any errors on patching, but when I start WSA, nothing happens.
To test my app install, I uninstalled, reverted the original .img files in the msix folder, and can install. My quick and simple test is to open the WSA Settings app, and click on the file explorer - in the unpatched images, that comes up, in the patched image, I get the window that WSA is starting, it sits for a while and then dies.

I re downloaded GApps a few times to validate a good copy. I am attaching the WSA Log

One other oddity I noticed, though I am not sure of the relevance, WSA installed on my D: Drive instead of C: when I installed using Add-AppxPackage

  • it is at D:\WpSystem\S-1-12-1-4140780673-1275759584-2860555682-3946019302\AppData\Local\Packages\MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbwe\LocalState\diagnostics\logcat

31102021210201.log

dnabsuh avatar Nov 01 '21 01:11 dnabsuh

I found the general area of the issue- it appears the "removing duplicate apps from system" was too aggressive, I commeneted out that section, but needed to leave the removal of Package Installer:

printf 'removing duplicate apps from system\n' #rm -Rf $InstallDir/apex/com.android.extservices/ #rm -Rf $InstallDir/app/DocumentsUI/ #rm -Rf $InstallDir/app/ExtShared/ rm -Rf $InstallDir/priv-app/PackageInstaller/ #rm -Rf $InstallDir/priv-app/SoundPicker/ #rm -Rf $MountPointProduct/app/Camera2/ #rm -Rf $MountPointProduct/app/Gallery2/ #rm -Rf $MountPointProduct/app/Music/ #rm -Rf $MountPointProduct/priv-app/Contacts/

dnabsuh avatar Nov 01 '21 04:11 dnabsuh

@ADeltaX @nihil-2019 removing AOSP apps for some reason causes issues. You might want to fix that

kristibektashi avatar Nov 01 '21 05:11 kristibektashi

@dnabsuh reading over your log, this is caused by "GoogleExtServicesConfig" not being installed, which the script does by default (it's in #GAPPS/product_output). when this is installed, commenting out the removing apps section should not be necessary. did you remove it or do anything to the script or image before starting?

nihil-2019 avatar Nov 05 '21 01:11 nihil-2019