WSA-Community / WSAGAScript

Scripts to install Google Apps into a WSA image. Plus optional root
The Unlicense
3.58k stars 3.53k forks source link

The windows subsystem for android can't run because critical files are missing from the installation folder #280

Open adhamr opened 1 year ago

adhamr commented 1 year ago

Screenshot_20221204_013013 am on 22h2 windows 11 with windows insider program active and I tried reinstalling a fresh version of was twice to know if I missed a step please help

Skywalker8510 commented 1 year ago

windows 11 22H2 I just had the same thing occur on my installation but I don't know if it was caused by ./install.sh not working correctly root@DESKTOP-L6NU6D9:/mnt/c/GAppsWSA# ./apply.sh Modifing build.prop for each image -> fixing system -> fixing vendor -> fixing product -> fixing system_ext ./apply.sh: line 31: echo: write error: No space left on device removing duplicate apps from system Copying GApps files to system... Applying root file ownership Setting directory permissions Setting file permissions Applying SELinux security contexts to directories Applying SELinux security contexts to files chcon: failed to get security context of '/mnt/product/etc/permissions/privapp-permissions-venezia.xml': No such file or directory chcon: failed to get security context of '/mnt/product/etc/permissions/privapp-permissions-venezia.xml': No such file or directory chcon: failed to get security context of '/mnt/product/etc/permissions/privapp-permissions-venezia.xml': No such file or directory chcon: failed to get security context of '/mnt/product/etc/permissions/privapp-permissions-venezia.xml': No such file or directory chcon: failed to get security context of '/mnt/product/etc/permissions/privapp-permissions-venezia.xml': No such file or directory chcon: failed to get security context of '/mnt/product/etc/permissions/privapp-permissions-venezia.xml': No such file or directory chcon: failed to get security context of '/mnt/product/etc/permissions/privapp-permissions-venezia.xml': No such file or directory chcon: failed to get security context of '/mnt/product/priv-app/amazon-adm-release/amazon-adm-release.apk': No such file or directory chcon: failed to get security context of '/mnt/product/priv-app/amazon-adm-release/amazon-adm-release.apk': No such file or directory chcon: failed to get security context of '/mnt/product/priv-app/amazon-adm-release/amazon-adm-release.apk': No such file or directory chcon: failed to get security context of '/mnt/product/priv-app/amazon-adm-release/amazon-adm-release.apk': No such file or directory chcon: failed to get security context of '/mnt/product/priv-app/amazon-adm-release/amazon-adm-release.apk': No such file or directory chcon: failed to get security context of '/mnt/product/priv-app/amazon-adm-release/amazon-adm-release.apk': No such file or directory chcon: failed to get security context of '/mnt/product/priv-app/amazon-adm-release/amazon-adm-release.apk': No such file or directory chcon: failed to get security context of '/mnt/product/priv-app/amazon-adm-release/amazon-adm-release.apk': No such file or directory chcon: failed to get security context of '/mnt/product/priv-app/amazon-adm-release/amazon-adm-release.apk': No such file or directory chcon: failed to get security context of '/mnt/product/priv-app/amazon-adm-release/amazon-adm-release.apk': No such file or directory chcon: failed to get security context of '/mnt/product/priv-app/amazon-adm-release/amazon-adm-release.apk': No such file or directory Applying SELinux security contexts to props Applying SELinux policy !! Apply completed !!

insipidlight commented 1 year ago

Same thing here with ./apply.sh: line 31: echo: write error: No space left on device, it just hangs on the load screen when opening files (no other installed apps) but no error message

image

22H2 build 22621.1105

chrisn1992 commented 1 year ago

Same. It looks like MS changed the WSA package and the guide is pretty out of date.

ghost commented 1 year ago

I have the same issue, is there any way to fix this by myself?

ghost commented 1 year ago

I found out how to fix this. All the files that in guide is .img must have .vhdx extension. Now everything is working!

hatnaa1 commented 1 year ago

I found out how to fix this. All the files that in guide is .img must have .vhdx extension. Now everything is working!

same

StablerCaesar0 commented 1 year ago

I found out how to fix this. All the files that in guide is .img must have .vhdx extension. Now everything is working!

same mine have the vhdx extension and it still doesnt work