LSPosed / MagiskOnWSALocal

Integrate Magisk root and Google Apps into WSA (Windows Subsystem for Android)
GNU Affero General Public License v3.0
9.41k stars 22.86k forks source link

[Bug] Does not generate output folder #743

Closed bgrmwbys closed 5 months ago

bgrmwbys commented 9 months ago

Steps to reproduce/复现步骤

  1. Run cd MagiskOnWSALocal.
  2. Run ./scripts/run.sh.
  3. Choose all versions needed
  4. Check for new folders

Expected behaviour/预期行为

See a new output folder

Actual behaviour/实际行为

No new folders

MagiskOnWSALocal commit full SHA/MagiskOnWSALocal 提交的完整哈希

d44a77be84fac312d343ac501b497828209da089

Linux distribution info/Linux 发行版信息

Distributor ID: Ubuntu Description: Ubuntu 22.04.3 LTS Release: 22.04 Codename: jammy

Windows version/Windows 版本

10.0.22621.0

Build Parameters/构建参数

COMMAND_LINE=--arch x64 --release-type retail --root-sol magisk --gapps-brand MindTheGapps --remove-amazon --compress --magisk-ver stable --compress-format 7z INFO: Architecture: x64 INFO: Release Type: retail INFO: Magisk Version: stable INFO: GApps Brand: MindTheGapps INFO: GApps Variant: pico INFO: Root Solution: magisk INFO: Compress Format: 7z Build: RELEASE_TYPE=Retail Generate Download Links Generating WSA download link: arch=x64 release_type=Retail

WSA Build Version=2309.40000.10.0

download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/21a6f30d-0ec0-46da-92cf-04e35cf18efc?P1=1700357506&P2=404&P3=2&P4=m01nZIFSnSGqBCpiiywmf2bOn2b109%2f6Loh2KyKFNVPY6b8prnOFkNdo7m99Mm9a13XULTWPpzVAe1OLE8oG4g%3d%3d path: ../download/Microsoft.UI.Xaml.2.8_x64.appx

download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/986a8270-404c-4470-871d-5c4090dcaa79?P1=1700357507&P2=404&P3=2&P4=Zf60ONZX1%2b%2bDJAjZCb%2btsVbBj%2bgRmGGquBhj0rKMLSloY44do0VcGsYYLTVjz9dZLIXwrorHsWobUEXUc%2fXI6g%3d%3d path: ../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx

download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/28edaebf-8019-4844-ba32-8ab019bc9391?P1=1700357444&P2=404&P3=2&P4=cTaTYPZXACsjyWgAdOiA5V6qgWv5Rcs6anJZuKM7GSEXzy9UC6lBp1ZzJwE5LWcPOEmIUOTqRKHvDizXbWGQyA%3d%3d path: ../download/Microsoft.VCLibs.140.00_x64.appx

download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/865c8919-3247-45e3-95ee-323261875078?P1=1700385580&P2=404&P3=2&P4=Xw%2fqhqMgtGBihRKG1ie0TlLMOaPD1jWtgVB%2bg%2bKka0F%2bUoUCeNt8o%2boANLj%2bdKflH9cNGmXJq%2bvcBufWcKcqjw%3d%3d path: ../download/wsa-retail.zip

Generating Magisk download link: release type=stable download link: https://cdn.jsdelivr.net/gh/topjohnwu/magisk-files@26.4/app-release.apk Generating MindTheGapps download link: arch=x64 variant=pico download link: https://downloads.sourceforge.net/project/wsa-mtg/x86_64/20231028/MindTheGapps-13.0.0-x86_64-20231028.zip Download Artifacts

11/18 20:20:41 [NOTICE] Downloading 6 item(s)

11/18 20:20:41 [NOTICE] GID#cca11c7dd6ac6df6 - Download has already completed: ../download/Microsoft.UI.Xaml.2.8_x64.appx

11/18 20:20:41 [NOTICE] GID#598fd1de2ffd7925 - Download has already completed: ../download/Microsoft.VCLibs.140.00_x64.appx

11/18 20:20:41 [NOTICE] Download complete: ../download/Microsoft.UI.Xaml.2.8_x64.appx

11/18 20:20:41 [NOTICE] Download complete: ../download/Microsoft.VCLibs.140.00_x64.appx

11/18 20:20:41 [NOTICE] GID#36b8534346847a30 - Download has already completed: ../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx

11/18 20:20:41 [NOTICE] GID#41bf0234da92a59d - Download has already completed: ../download/wsa-retail.zip

11/18 20:20:41 [NOTICE] Download complete: ../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx

11/18 20:20:41 [NOTICE] Download complete: ../download/wsa-retail.zip

11/18 20:20:42 [NOTICE] GID#810d6cc80dd0416f - Download has already completed: ../download/magisk-stable.zip

11/18 20:20:42 [NOTICE] Download complete: ../download/magisk-stable.zip

11/18 20:20:42 [NOTICE] CUID#12 - Redirecting to https://netactuate.dl.sourceforge.net/project/wsa-mtg/x86_64/20231028/MindTheGapps-13.0.0-x86_64-20231028.zip

11/18 20:20:42 [NOTICE] GID#b2a74a72133eda5b - Download has already completed: ../download/MindTheGapps-x64-13.0.zip

11/18 20:20:42 [NOTICE] Download complete: ../download/MindTheGapps-x64-13.0.zip

Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= cca11c|OK | 0B/s|../download/Microsoft.UI.Xaml.2.8_x64.appx 598fd1|OK | 0B/s|../download/Microsoft.VCLibs.140.00_x64.appx 36b853|OK | 0B/s|../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx 41bf02|OK | 0B/s|../download/wsa-retail.zip 810d6c|OK | 0B/s|../download/magisk-stable.zip b2a74a|OK | 0B/s|../download/MindTheGapps-x64-13.0.zip

Status Legend: (OK):download completed. Extract WSA unzipping WsaPackage_2309.40000.10.0_x64Release-Nightly.msix to /tmp/wsa-build-VgT9Ei57UX/wsa unzipping from /tmp/wsa-build-VgT9Ei57UX_/wsa/WsaPackage_2309.40000.10.0_x64_Release-Nightly.msix Extract done

Extract Magisk Magisk version: 26.4 (26400)

done

Extract MindTheGapps Archive: ../download/MindTheGapps-x64-13.0.zip inflating: /tmp/wsa-build-VgT9Ei57UX_/gapps/system/systemext/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk inflating: /tmp/wsa-build-VgT9Ei57UX/gapps/system/systemext/priv-app/GoogleFeedback/GoogleFeedback.apk inflating: /tmp/wsa-build-VgT9Ei57UX/gapps/system/systemext/etc/permissions/privapp-permissions-google-system-ext.xml inflating: /tmp/wsa-build-VgT9Ei57UX/gapps/system/product/priv-app/Velvet/Velvet.apk inflating: /tmp/wsa-build-VgT9Ei57UX/gapps/system/product/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk inflating: /tmp/wsa-build-VgT9Ei57UX/gapps/system/product/priv-app/GmsCore/GmsCore.apk inflating: /tmp/wsa-build-VgT9Ei57UX/gapps/system/product/priv-app/AndroidAutoStub/AndroidAutoStub.apk inflating: /tmp/wsa-build-VgT9Ei57UX/gapps/system/product/priv-app/GoogleRestore/GoogleRestore.apk inflating: /tmp/wsa-build-VgT9Ei57UX/gapps/system/product/priv-app/Phonesky/Phonesky.apk inflating: /tmp/wsa-build-VgT9Ei57UX/gapps/system/product/framework/com.google.android.dialer.support.jar inflating: /tmp/wsa-build-VgT9Ei57UX_/gapps/system/product/lib/libjnilatinimegoogle.so inflating: /tmp/wsa-build-VgT9Ei57UX/gapps/system/product/overlay/GmsSettingsProviderOverlay.apk inflating: /tmp/wsa-build-VgT9Ei57UX/gapps/system/product/overlay/GmsOverlay.apk inflating: /tmp/wsa-build-VgT9Ei57UX/gapps/system/product/etc/permissions/privapp-permissions-google-product.xml inflating: /tmp/wsa-build-VgT9Ei57UX/gapps/system/product/etc/permissions/com.google.android.dialer.support.xml inflating: /tmp/wsa-build-VgT9Ei57UX/gapps/system/product/etc/default-permissions/default-permissions-mtg.xml inflating: /tmp/wsa-build-VgT9Ei57UX/gapps/system/product/etc/default-permissions/default-permissions-google.xml extracting: /tmp/wsa-build-VgT9Ei57UX/gapps/system/product/etc/init/gapps.rc inflating: /tmp/wsa-build-VgT9Ei57UX_/gapps/system/product/etc/security/fsverity/gms_fsveritycert.der inflating: /tmp/wsa-build-VgT9Ei57UX/gapps/system/product/etc/sysconfig/d2d_cable_migrationfeature.xml inflating: /tmp/wsa-build-VgT9Ei57UX/gapps/system/product/etc/sysconfig/google.xml inflating: /tmp/wsa-build-VgT9Ei57UX_/gapps/system/product/etc/sysconfig/googlebuild.xml inflating: /tmp/wsa-build-VgT9Ei57UX/gapps/system/product/etc/sysconfig/google-hiddenapi-package-allowlist.xml inflating: /tmp/wsa-build-VgT9Ei57UX/gapps/system/product/app/PrebuiltExchange3Google/PrebuiltExchange3Google.apk inflating: /tmp/wsa-build-VgT9Ei57UX/gapps/system/product/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk inflating: /tmp/wsa-build-VgT9Ei57UX/gapps/system/product/app/GoogleCalendarSyncAdapter/GoogleCalendarSyncAdapter.apk inflating: /tmp/wsa-build-VgT9Ei57UX/gapps/system/product/lib64/libjni_latinimegoogle.so caution: excluded filename not matched: system/product/priv-app/VelvetTitan/* Extract done

Convert vhdx to RAW image Convert vhdx to RAW image done

Mount images mount: /dev/loop0 mounted on /tmp/wsa-build-VgT9Ei57UX/erofs. mount: /dev/loop1 mounted on /tmp/wsa-build-VgT9Ei57UX/erofs/vendor. mount: /dev/loop2 mounted on /tmp/wsa-build-VgT9Ei57UX/erofs/product. mount: /dev/loop3 mounted on /tmp/wsa-build-VgT9Ei57UX/erofs/system_ext. done

Create overlayfs mkoverlayfs: label system lowerdir=/tmp/wsa-build-VgT9Ei57UX/erofs upperdir=/tmp/wsa-build-VgT9Ei57UX/upper/system workdir=/tmp/wsa-build-VgT9Ei57UX/worker/system merged=/tmp/wsa-build-VgT9Ei57UX_/system_rootmerged mount: overlay mounted on /tmp/wsa-build-VgT9Ei57UX/system_root_merged. mkoverlayfs: label vendor lowerdir=/tmp/wsa-build-VgT9Ei57UX/erofs/vendor upperdir=/tmp/wsa-build-VgT9Ei57UX/upper/vendor workdir=/tmp/wsa-build-VgT9Ei57UX/worker/vendor merged=/tmp/wsa-build-VgT9Ei57UX_/system_rootmerged/vendor mount: overlay mounted on /tmp/wsa-build-VgT9Ei57UX/system_root_merged/vendor. mkoverlayfs: label product lowerdir=/tmp/wsa-build-VgT9Ei57UX/erofs/product upperdir=/tmp/wsa-build-VgT9Ei57UX/upper/product workdir=/tmp/wsa-build-VgT9Ei57UX/worker/product merged=/tmp/wsa-build-VgT9Ei57UX_/system_rootmerged/product mount: overlay mounted on /tmp/wsa-build-VgT9Ei57UX/system_root_merged/product. mk_overlayfs: label systemext lowerdir=/tmp/wsa-build-VgT9Ei57UX/erofs/systemext upperdir=/tmp/wsa-build-VgT9Ei57UX/upper/systemext workdir=/tmp/wsa-build-VgT9Ei57UX/worker/systemext merged=/tmp/wsa-build-VgT9Ei57UX/system_root_merged/systemext mount: overlay mounted on /tmp/wsa-build-VgT9Ei57UX/system_root_merged/system_ext. Create overlayfs done

Remove Amazon Appstore done

Add device administration features sed: can't read /cts/a \ : No such file or directory done

Integrate Magisk /debug_ramdisk(/.)? u:object_r:magisk_file:s0 /data/adb/magisk(/.)? u:object_r:magiskfile:s0 Inject zygote restart /tmp/wsa-build-VgT9Ei57UX/system_rootmerged/system/etc/init/hw/init.zygote32.rc Inject zygote restart /tmp/wsa-build-VgT9Ei57UX/system_rootmerged/system/etc/init/hw/init.zygote64.rc Inject zygote restart /tmp/wsa-build-VgT9Ei57UX/system_root_merged/system/etc/init/hw/init.zygote64_32.rc Integrate Magisk done

Add extra packages Add extra packages done

Integrate MindTheGapps Integrate MindTheGapps done

Fix MindTheGapps prop fixing /tmp/wsa-build-VgT9Ei57UX_/system_rootmerged/system/build.prop fixing /tmp/wsa-build-VgT9Ei57UX/system_rootmerged/vendor/build.prop fixing /tmp/wsa-build-VgT9Ei57UX/system_root_merged/vendor/odm/etc/build.prop done

Create system images mk_imageumount: /tmp/wsa-build-VgT9Ei57UX/system_rootmerged/vendor /tmp/wsa-build-VgT9Ei57UX/wsa/x64/vendor.img /tmp/wsa-build-VgT9Ei57UX_/upper/vendor ext4 ERROR: Not yet implemented Build: an error has occurred, exit

Cleanup Work Directory Cleanup Mount Directory umount: /tmp/wsa-build-VgT9Ei57UX/erofs/vendor unmounted umount: /tmp/wsa-build-VgT9Ei57UX/erofs/systemext unmounted umount: /tmp/wsa-build-VgT9Ei57UX/erofs/product unmounted umount: /tmp/wsa-build-VgT9Ei57UX/erofs unmounted umount: /tmp/wsa-build-VgT9Ei57UX/system_rootmerged/vendor (overlay) unmounted umount: /tmp/wsa-build-VgT9Ei57UX/system_root_merged/systemext (overlay) unmounted umount: /tmp/wsa-build-VgT9Ei57UX/system_rootmerged/product (overlay) unmounted umount: /tmp/wsa-build-VgT9Ei57UX/system_root_merged (overlay) unmounted Cleanup Download Directory

Version requirement/版本要求

Logs/日志

[//]: <> (Don't modify above) ``` COMMAND_LINE=--arch x64 --release-type retail --root-sol magisk --gapps-brand MindTheGapps --remove-amazon --compress --magisk-ver stable --compress-format 7z INFO: Architecture: x64 INFO: Release Type: retail INFO: Magisk Version: stable INFO: GApps Brand: MindTheGapps INFO: GApps Variant: pico INFO: Root Solution: magisk INFO: Compress Format: 7z Build: RELEASE_TYPE=Retail Generate Download Links Generating WSA download link: arch=x64 release_type=Retail WSA Build Version=2309.40000.10.0 download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/21a6f30d-0ec0-46da-92cf-04e35cf18efc?P1=1700357506&P2=404&P3=2&P4=m01nZIFSnSGqBCpiiywmf2bOn2b109%2f6Loh2KyKFNVPY6b8prnOFkNdo7m99Mm9a13XULTWPpzVAe1OLE8oG4g%3d%3d path: ../download/Microsoft.UI.Xaml.2.8_x64.appx download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/986a8270-404c-4470-871d-5c4090dcaa79?P1=1700357507&P2=404&P3=2&P4=Zf60ONZX1%2b%2bDJAjZCb%2btsVbBj%2bgRmGGquBhj0rKMLSloY44do0VcGsYYLTVjz9dZLIXwrorHsWobUEXUc%2fXI6g%3d%3d path: ../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/28edaebf-8019-4844-ba32-8ab019bc9391?P1=1700357444&P2=404&P3=2&P4=cTaTYPZXACsjyWgAdOiA5V6qgWv5Rcs6anJZuKM7GSEXzy9UC6lBp1ZzJwE5LWcPOEmIUOTqRKHvDizXbWGQyA%3d%3d path: ../download/Microsoft.VCLibs.140.00_x64.appx download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/865c8919-3247-45e3-95ee-323261875078?P1=1700385580&P2=404&P3=2&P4=Xw%2fqhqMgtGBihRKG1ie0TlLMOaPD1jWtgVB%2bg%2bKka0F%2bUoUCeNt8o%2boANLj%2bdKflH9cNGmXJq%2bvcBufWcKcqjw%3d%3d path: ../download/wsa-retail.zip Generating Magisk download link: release type=stable download link: https://cdn.jsdelivr.net/gh/topjohnwu/magisk-files@26.4/app-release.apk Generating MindTheGapps download link: arch=x64 variant=pico download link: https://downloads.sourceforge.net/project/wsa-mtg/x86_64/20231028/MindTheGapps-13.0.0-x86_64-20231028.zip Download Artifacts 11/18 20:20:41 [NOTICE] Downloading 6 item(s) 11/18 20:20:41 [NOTICE] GID#cca11c7dd6ac6df6 - Download has already completed: ../download/Microsoft.UI.Xaml.2.8_x64.appx 11/18 20:20:41 [NOTICE] GID#598fd1de2ffd7925 - Download has already completed: ../download/Microsoft.VCLibs.140.00_x64.appx 11/18 20:20:41 [NOTICE] Download complete: ../download/Microsoft.UI.Xaml.2.8_x64.appx 11/18 20:20:41 [NOTICE] Download complete: ../download/Microsoft.VCLibs.140.00_x64.appx 11/18 20:20:41 [NOTICE] GID#36b8534346847a30 - Download has already completed: ../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx 11/18 20:20:41 [NOTICE] GID#41bf0234da92a59d - Download has already completed: ../download/wsa-retail.zip 11/18 20:20:41 [NOTICE] Download complete: ../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx 11/18 20:20:41 [NOTICE] Download complete: ../download/wsa-retail.zip 11/18 20:20:42 [NOTICE] GID#810d6cc80dd0416f - Download has already completed: ../download/magisk-stable.zip 11/18 20:20:42 [NOTICE] Download complete: ../download/magisk-stable.zip 11/18 20:20:42 [NOTICE] CUID#12 - Redirecting to https://netactuate.dl.sourceforge.net/project/wsa-mtg/x86_64/20231028/MindTheGapps-13.0.0-x86_64-20231028.zip 11/18 20:20:42 [NOTICE] GID#b2a74a72133eda5b - Download has already completed: ../download/MindTheGapps-x64-13.0.zip 11/18 20:20:42 [NOTICE] Download complete: ../download/MindTheGapps-x64-13.0.zip Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= cca11c|OK | 0B/s|../download/Microsoft.UI.Xaml.2.8_x64.appx 598fd1|OK | 0B/s|../download/Microsoft.VCLibs.140.00_x64.appx 36b853|OK | 0B/s|../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx 41bf02|OK | 0B/s|../download/wsa-retail.zip 810d6c|OK | 0B/s|../download/magisk-stable.zip b2a74a|OK | 0B/s|../download/MindTheGapps-x64-13.0.zip Status Legend: (OK):download completed. Extract WSA unzipping WsaPackage_2309.40000.10.0_x64_Release-Nightly.msix to /tmp/wsa-build-VgT9Ei57UX_/wsa unzipping from /tmp/wsa-build-VgT9Ei57UX_/wsa/WsaPackage_2309.40000.10.0_x64_Release-Nightly.msix Extract done Extract Magisk Magisk version: 26.4 (26400) done Extract MindTheGapps Archive: ../download/MindTheGapps-x64-13.0.zip inflating: /tmp/wsa-build-VgT9Ei57UX_/gapps/system/system_ext/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk inflating: /tmp/wsa-build-VgT9Ei57UX_/gapps/system/system_ext/priv-app/GoogleFeedback/GoogleFeedback.apk inflating: /tmp/wsa-build-VgT9Ei57UX_/gapps/system/system_ext/etc/permissions/privapp-permissions-google-system-ext.xml inflating: /tmp/wsa-build-VgT9Ei57UX_/gapps/system/product/priv-app/Velvet/Velvet.apk inflating: /tmp/wsa-build-VgT9Ei57UX_/gapps/system/product/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk inflating: /tmp/wsa-build-VgT9Ei57UX_/gapps/system/product/priv-app/GmsCore/GmsCore.apk inflating: /tmp/wsa-build-VgT9Ei57UX_/gapps/system/product/priv-app/AndroidAutoStub/AndroidAutoStub.apk inflating: /tmp/wsa-build-VgT9Ei57UX_/gapps/system/product/priv-app/GoogleRestore/GoogleRestore.apk inflating: /tmp/wsa-build-VgT9Ei57UX_/gapps/system/product/priv-app/Phonesky/Phonesky.apk inflating: /tmp/wsa-build-VgT9Ei57UX_/gapps/system/product/framework/com.google.android.dialer.support.jar inflating: /tmp/wsa-build-VgT9Ei57UX_/gapps/system/product/lib/libjni_latinimegoogle.so inflating: /tmp/wsa-build-VgT9Ei57UX_/gapps/system/product/overlay/GmsSettingsProviderOverlay.apk inflating: /tmp/wsa-build-VgT9Ei57UX_/gapps/system/product/overlay/GmsOverlay.apk inflating: /tmp/wsa-build-VgT9Ei57UX_/gapps/system/product/etc/permissions/privapp-permissions-google-product.xml inflating: /tmp/wsa-build-VgT9Ei57UX_/gapps/system/product/etc/permissions/com.google.android.dialer.support.xml inflating: /tmp/wsa-build-VgT9Ei57UX_/gapps/system/product/etc/default-permissions/default-permissions-mtg.xml inflating: /tmp/wsa-build-VgT9Ei57UX_/gapps/system/product/etc/default-permissions/default-permissions-google.xml extracting: /tmp/wsa-build-VgT9Ei57UX_/gapps/system/product/etc/init/gapps.rc inflating: /tmp/wsa-build-VgT9Ei57UX_/gapps/system/product/etc/security/fsverity/gms_fsverity_cert.der inflating: /tmp/wsa-build-VgT9Ei57UX_/gapps/system/product/etc/sysconfig/d2d_cable_migration_feature.xml inflating: /tmp/wsa-build-VgT9Ei57UX_/gapps/system/product/etc/sysconfig/google.xml inflating: /tmp/wsa-build-VgT9Ei57UX_/gapps/system/product/etc/sysconfig/google_build.xml inflating: /tmp/wsa-build-VgT9Ei57UX_/gapps/system/product/etc/sysconfig/google-hiddenapi-package-allowlist.xml inflating: /tmp/wsa-build-VgT9Ei57UX_/gapps/system/product/app/PrebuiltExchange3Google/PrebuiltExchange3Google.apk inflating: /tmp/wsa-build-VgT9Ei57UX_/gapps/system/product/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk inflating: /tmp/wsa-build-VgT9Ei57UX_/gapps/system/product/app/GoogleCalendarSyncAdapter/GoogleCalendarSyncAdapter.apk inflating: /tmp/wsa-build-VgT9Ei57UX_/gapps/system/product/lib64/libjni_latinimegoogle.so caution: excluded filename not matched: system/product/priv-app/VelvetTitan/* Extract done Convert vhdx to RAW image Convert vhdx to RAW image done Mount images mount: /dev/loop0 mounted on /tmp/wsa-build-VgT9Ei57UX_/erofs. mount: /dev/loop1 mounted on /tmp/wsa-build-VgT9Ei57UX_/erofs/vendor. mount: /dev/loop2 mounted on /tmp/wsa-build-VgT9Ei57UX_/erofs/product. mount: /dev/loop3 mounted on /tmp/wsa-build-VgT9Ei57UX_/erofs/system_ext. done Create overlayfs mk_overlayfs: label system lowerdir=/tmp/wsa-build-VgT9Ei57UX_/erofs upperdir=/tmp/wsa-build-VgT9Ei57UX_/upper/system workdir=/tmp/wsa-build-VgT9Ei57UX_/worker/system merged=/tmp/wsa-build-VgT9Ei57UX_/system_root_merged mount: overlay mounted on /tmp/wsa-build-VgT9Ei57UX_/system_root_merged. mk_overlayfs: label vendor lowerdir=/tmp/wsa-build-VgT9Ei57UX_/erofs/vendor upperdir=/tmp/wsa-build-VgT9Ei57UX_/upper/vendor workdir=/tmp/wsa-build-VgT9Ei57UX_/worker/vendor merged=/tmp/wsa-build-VgT9Ei57UX_/system_root_merged/vendor mount: overlay mounted on /tmp/wsa-build-VgT9Ei57UX_/system_root_merged/vendor. mk_overlayfs: label product lowerdir=/tmp/wsa-build-VgT9Ei57UX_/erofs/product upperdir=/tmp/wsa-build-VgT9Ei57UX_/upper/product workdir=/tmp/wsa-build-VgT9Ei57UX_/worker/product merged=/tmp/wsa-build-VgT9Ei57UX_/system_root_merged/product mount: overlay mounted on /tmp/wsa-build-VgT9Ei57UX_/system_root_merged/product. mk_overlayfs: label system_ext lowerdir=/tmp/wsa-build-VgT9Ei57UX_/erofs/system_ext upperdir=/tmp/wsa-build-VgT9Ei57UX_/upper/system_ext workdir=/tmp/wsa-build-VgT9Ei57UX_/worker/system_ext merged=/tmp/wsa-build-VgT9Ei57UX_/system_root_merged/system_ext mount: overlay mounted on /tmp/wsa-build-VgT9Ei57UX_/system_root_merged/system_ext. Create overlayfs done Remove Amazon Appstore done Add device administration features sed: can't read /cts/a \ : No such file or directory done Integrate Magisk /debug_ramdisk(/.*)? u:object_r:magisk_file:s0 /data/adb/magisk(/.*)? u:object_r:magisk_file:s0 Inject zygote restart /tmp/wsa-build-VgT9Ei57UX_/system_root_merged/system/etc/init/hw/init.zygote32.rc Inject zygote restart /tmp/wsa-build-VgT9Ei57UX_/system_root_merged/system/etc/init/hw/init.zygote64.rc Inject zygote restart /tmp/wsa-build-VgT9Ei57UX_/system_root_merged/system/etc/init/hw/init.zygote64_32.rc Integrate Magisk done Add extra packages Add extra packages done Integrate MindTheGapps Integrate MindTheGapps done Fix MindTheGapps prop fixing /tmp/wsa-build-VgT9Ei57UX_/system_root_merged/system/build.prop fixing /tmp/wsa-build-VgT9Ei57UX_/system_root_merged/vendor/build.prop fixing /tmp/wsa-build-VgT9Ei57UX_/system_root_merged/vendor/odm/etc/build.prop done Create system images mk_image_umount: /tmp/wsa-build-VgT9Ei57UX_/system_root_merged/vendor /tmp/wsa-build-VgT9Ei57UX_/wsa/x64/vendor.img /tmp/wsa-build-VgT9Ei57UX_/upper/vendor ext4 ERROR: Not yet implemented Build: an error has occurred, exit Cleanup Work Directory Cleanup Mount Directory umount: /tmp/wsa-build-VgT9Ei57UX_/erofs/vendor unmounted umount: /tmp/wsa-build-VgT9Ei57UX_/erofs/system_ext unmounted umount: /tmp/wsa-build-VgT9Ei57UX_/erofs/product unmounted umount: /tmp/wsa-build-VgT9Ei57UX_/erofs unmounted umount: /tmp/wsa-build-VgT9Ei57UX_/system_root_merged/vendor (overlay) unmounted umount: /tmp/wsa-build-VgT9Ei57UX_/system_root_merged/system_ext (overlay) unmounted umount: /tmp/wsa-build-VgT9Ei57UX_/system_root_merged/product (overlay) unmounted umount: /tmp/wsa-build-VgT9Ei57UX_/system_root_merged (overlay) unmounted Cleanup Download Directory ``` [//]: <> (Don't modify below)
SnowFuhrer commented 9 months ago

Yeh same

trimeta commented 9 months ago

This problem seems to stem from the virtual disk images in the WSA bundle (e.g., the *.vhdx files) being in the ext4 file format (so when check_image_type is run on line 665 of build.sh, it gives "ext4"), but the mk_image_umount function (defined on line 201 of the same script) doesn't support that format. What I don't understand is it appears the virtual disk images have been in ext4 format for a while (at least since version 2306), so why are they breaking now, when I don't see any changes to the code which would have impacted this?

trimeta commented 9 months ago

After a bit more research, I was able to solve this issue by using the fork from sn-o-w: https://github.com/sn-o-w/MagiskOnWSALocal. So ultimately this post is a duplicate of #717

hirotokun4ik commented 9 months ago

хуй вместо вывода

bgrmwbys commented 9 months ago

After a bit more research, I was able to solve this issue by using the fork from sn-o-w: https://github.com/sn-o-w/MagiskOnWSALocal. So ultimately this post is a duplicate of #717

That's helpful, thank you.

hellowuyongjian commented 8 months ago

After a bit more research, I was able to solve this issue by using the fork from sn-o-w: https://github.com/sn-o-w/MagiskOnWSALocal. So ultimately this post is a duplicate of #717

thank you! It works!

zamarax commented 8 months ago

I can also confirm I have this issue.

tonystark79 commented 8 months ago

+1 same failure here, both running on a real Linux Mint 21.2 and on Ubuntu 22.04 over WSL!

EDIT: just checked here, last version I built successfully was WSA_2303.40000.5.0_x64_Release-Nightly-with-magisk-26.1(26100)-stable-MindTheGapps-13.0.

I can't pinpoint to when the regression started, because I don't update everymonth, but this build failure has been going for me for several months now!

tonystark79 commented 8 months ago

After a bit more research, I was able to solve this issue by using the fork from sn-o-w: https://github.com/sn-o-w/MagiskOnWSALocal. So ultimately this post is a duplicate of #717

This fork worked for me also!

tonystark79 commented 8 months ago

This problem seems to stem from the virtual disk images in the WSA bundle (e.g., the *.vhdx files) being in the ext4 file format (so when check_image_type is run on line 665 of build.sh, it gives "ext4"), but the mk_image_umount function (defined on line 201 of the same script) doesn't support that format. What I don't understand is it appears the virtual disk images have been in ext4 format for a while (at least since version 2306), so why are they breaking now, when I don't see any changes to the code which would have impacted this?

It's broken for several months, this is not recent... But I can't remember when it started failing with this error...

BTW, you mentioned the imagens changed the filesystem, what was used before EXT4?

trimeta commented 8 months ago

This problem seems to stem from the virtual disk images in the WSA bundle (e.g., the *.vhdx files) being in the ext4 file format (so when check_image_type is run on line 665 of build.sh, it gives "ext4"), but the mk_image_umount function (defined on line 201 of the same script) doesn't support that format. What I don't understand is it appears the virtual disk images have been in ext4 format for a while (at least since version 2306), so why are they breaking now, when I don't see any changes to the code which would have impacted this?

It's broken for several months, this is not recent... But I can't remember when it started failing with this error...

BTW, you mentioned the imagens changed the filesystem, what was used before EXT4?

I assume EROFS, since that's what the script tries to use instead of EXT4. However, it's been a few weeks since I investigated this, once I realized that sn-o-w's version worked, I mostly stopped looking into this issue.

Mohsen7s commented 8 months ago

I had the same problem with latest windows 11 updates. I also confirm following sn-o-w solution had fixed this issue.

https://github.com/LSPosed/MagiskOnWSALocal/issues/717#issuecomment-1779576833

fragtion commented 8 months ago

@sn-o-w 's fork does fix the issues with the build However I'm having problems getting apps to load up properly on a fresh install of the build. Most apps will only show a splash/loading screen and then hang there indefinitely. logcat file grows large quickly but I can't figure out what's going wrong by reading the logs. Anyone else experiencing this too? Unfortunately @sn-o-w 's repo is locked for issues so we need to discuss it here

sn-o-w commented 8 months ago

@sn-o-w 's fork does fix the issues with the build However I'm having problems getting apps to load up properly on a fresh install of the build. Most apps will only show a splash/loading screen and then hang there indefinitely. logcat file grows large quickly but I can't figure out what's going wrong by reading the logs. Anyone else experiencing this too? Unfortunately @sn-o-w 's repo is locked for issues so we need to discuss it here

Several times, I have encountered this issue, but it didn't occur on a fresh installation of the build.

Have you attempted to delete everything in '_%LOCALAPPDATA%\Packages\MicrosoftCorporationII.WindowsSubsystemForAndroid8wekyb3d8bbwe\LocalCache' ?

In my case, I usually delete the contents of that folder and then proceed with uninstalling and reinstalling WSA.

I'm unsure how I can assist you further. 🤷

fragtion commented 8 months ago

I'm unsure how I can assist you further. 🤷

Thanks for your awesome response & suggestions !

It was actually my own silly mistake! I copied the wrong output zip from my WSL2 instance so I kept re-installing an older build (WSA_2211.40000.11.0_x64_Release-Nightly-with-magisk-25.2(25200)-stable-MindTheGapps-13.0) instead of the latest one I built (WSA_2310.40000.2.0_x64_Release-Nightly-with-magisk-26.4(26400)-stable-MindTheGapps-13.0-RemovedAmazon).

As soon as I switched to the new build, everything is working perfectly now :D

mathoets commented 7 months ago

Hi Guys, still having issues even with @sn-o-w fork. It's a fresh install.

Create system images mk_imageumount: /tmp/wsa-build-gknn1fuZhx/system_rootmerged/vendor /tmp/wsa-build-gknn1fuZhx/wsa/x64/vendor.img /tmp/wsa-build-gknn1fuZhx_/upper/vendor ext4 ERROR: Not yet implemented Build: an error has occurred, exit

Not really sure where to go from here. I remember on some of the older tutorials you needed Windows 11 Pro, is this still the case?

sn-o-w commented 7 months ago

Hi Guys, still having issues even with @sn-o-w fork. It's a fresh install.

Create system images mk_imageumount: /tmp/wsa-build-gknn1fuZhx/system_rootmerged/vendor /tmp/wsa-build-gknn1fuZhx/wsa/x64/vendor.img /tmp/wsa-build-gknn1fuZhx_/upper/vendor ext4 ERROR: Not yet implemented Build: an error has occurred, exit

Not really sure where to go from here. I remember on some of the older tutorials you needed Windows 11 Pro, is this still the case?

You didn't correctly replace the contents of scripts/build.sh.

mathoets commented 7 months ago

Hi Guys, still having issues even with @sn-o-w fork. It's a fresh install. Create system images mk_imageumount: /tmp/wsa-build-gknn1fuZhx/system_rootmerged/vendor /tmp/wsa-build-gknn1fuZhx/wsa/x64/vendor.img /tmp/wsa-build-gknn1fuZhx_/upper/vendor ext4 ERROR: Not yet implemented Build: an error has occurred, exit Not really sure where to go from here. I remember on some of the older tutorials you needed Windows 11 Pro, is this still the case?

You didn't correctly replace the contents of scripts/build.sh.

That's only for an upgrade to existing install isn't it?

Don't have the WSA folder you mentioned previously and only have the ext4.vdhx no other folders? Sorry if I've missed something, very new to all this

mathoets commented 7 months ago

Hi Guys, still having issues even with @sn-o-w fork. It's a fresh install. Create system images mk_imageumount: /tmp/wsa-build-gknn1fuZhx/system_rootmerged/vendor /tmp/wsa-build-gknn1fuZhx/wsa/x64/vendor.img /tmp/wsa-build-gknn1fuZhx_/upper/vendor ext4 ERROR: Not yet implemented Build: an error has occurred, exit Not really sure where to go from here. I remember on some of the older tutorials you needed Windows 11 Pro, is this still the case?

You didn't correctly replace the contents of scripts/build.sh.

That's only for an upgrade to existing install isn't it?

Don't have the WSA folder you mentioned previously and only have the ext4.vdhx no other folders? Sorry if I've missed something, very new to all this

@sn-o-w. Ok, managed to edit the Build.sh file through nano and that got me through to finishing the build, however now stuck with not being able to access the Run.bat as its within the ext4.vhdx drive. I can see the structure using Chrome and \wsl.localhost\Ubuntu but that doesn't work in explorer.

I'm progressing just fast enough to keep me hooked but slowly loosing the will to continue, haha

bgrmwbys commented 7 months ago

Hi Guys, still having issues even with @sn-o-w fork. It's a fresh install. Create system images mk_imageumount: /tmp/wsa-build-gknn1fuZhx/system_rootmerged/vendor /tmp/wsa-build-gknn1fuZhx/wsa/x64/vendor.img /tmp/wsa-build-gknn1fuZhx_/upper/vendor ext4 ERROR: Not yet implemented Build: an error has occurred, exit Not really sure where to go from here. I remember on some of the older tutorials you needed Windows 11 Pro, is this still the case?

You didn't correctly replace the contents of scripts/build.sh.

That's only for an upgrade to existing install isn't it? Don't have the WSA folder you mentioned previously and only have the ext4.vdhx no other folders? Sorry if I've missed something, very new to all this

@sn-o-w. Ok, managed to edit the Build.sh file through nano and that got me through to finishing the build, however now stuck with not being able to access the Run.bat as its within the ext4.vhdx drive. I can see the structure using Chrome and \wsl.localhost\Ubuntu but that doesn't work in explorer.

I'm progressing just fast enough to keep me hooked but slowly loosing the will to continue, haha

You can copy all folders to windows (outside of WSL)

mathoets commented 7 months ago

Hi Guys, still having issues even with @sn-o-w fork. It's a fresh install. Create system images mk_imageumount: /tmp/wsa-build-gknn1fuZhx/system_rootmerged/vendor /tmp/wsa-build-gknn1fuZhx/wsa/x64/vendor.img /tmp/wsa-build-gknn1fuZhx_/upper/vendor ext4 ERROR: Not yet implemented Build: an error has occurred, exit Not really sure where to go from here. I remember on some of the older tutorials you needed Windows 11 Pro, is this still the case?

You didn't correctly replace the contents of scripts/build.sh.

That's only for an upgrade to existing install isn't it? Don't have the WSA folder you mentioned previously and only have the ext4.vdhx no other folders? Sorry if I've missed something, very new to all this

@sn-o-w. Ok, managed to edit the Build.sh file through nano and that got me through to finishing the build, however now stuck with not being able to access the Run.bat as its within the ext4.vhdx drive. I can see the structure using Chrome and \wsl.localhost\Ubuntu but that doesn't work in explorer. I'm progressing just fast enough to keep me hooked but slowly loosing the will to continue, haha

You can copy all folders to windows (outside of WSA2)

@bgrmwbys, I've tried through the Linux icon in the navigation pane in explorer, tried \wsl$\Ubuntu and \wsl.localhost\Ubuntu in the address bar, tried mounting the .vhdx through explorer, all to no avail. looking at a article now about manually writing commands in terminal to copy folders over but would be easier if I didn't have to.

Any tips?

bgrmwbys commented 7 months ago

Hi Guys, still having issues even with @sn-o-w fork. It's a fresh install. Create system images mk_imageumount: /tmp/wsa-build-gknn1fuZhx/system_rootmerged/vendor /tmp/wsa-build-gknn1fuZhx/wsa/x64/vendor.img /tmp/wsa-build-gknn1fuZhx_/upper/vendor ext4 ERROR: Not yet implemented Build: an error has occurred, exit Not really sure where to go from here. I remember on some of the older tutorials you needed Windows 11 Pro, is this still the case?

You didn't correctly replace the contents of scripts/build.sh.

That's only for an upgrade to existing install isn't it? Don't have the WSA folder you mentioned previously and only have the ext4.vdhx no other folders? Sorry if I've missed something, very new to all this

@sn-o-w. Ok, managed to edit the Build.sh file through nano and that got me through to finishing the build, however now stuck with not being able to access the Run.bat as its within the ext4.vhdx drive. I can see the structure using Chrome and \wsl.localhost\Ubuntu but that doesn't work in explorer. I'm progressing just fast enough to keep me hooked but slowly loosing the will to continue, haha

You can copy all folders to windows (outside of WSA2)

@bgrmwbys, I've tried through the Linux icon in the navigation pane in explorer, tried \wsl$\Ubuntu and \wsl.localhost\Ubuntu in the address bar, tried mounting the .vhdx through explorer, all to no avail. looking at a article now about manually writing commands in terminal to copy folders over but would be easier if I didn't have to.

Any tips?

Any error? When trying to access \wsl.localhost?

mathoets commented 7 months ago

Hi Guys, still having issues even with @sn-o-w fork. It's a fresh install. Create system images mk_imageumount: /tmp/wsa-build-gknn1fuZhx/system_rootmerged/vendor /tmp/wsa-build-gknn1fuZhx/wsa/x64/vendor.img /tmp/wsa-build-gknn1fuZhx_/upper/vendor ext4 ERROR: Not yet implemented Build: an error has occurred, exit Not really sure where to go from here. I remember on some of the older tutorials you needed Windows 11 Pro, is this still the case?

You didn't correctly replace the contents of scripts/build.sh.

That's only for an upgrade to existing install isn't it? Don't have the WSA folder you mentioned previously and only have the ext4.vdhx no other folders? Sorry if I've missed something, very new to all this

@sn-o-w. Ok, managed to edit the Build.sh file through nano and that got me through to finishing the build, however now stuck with not being able to access the Run.bat as its within the ext4.vhdx drive. I can see the structure using Chrome and \wsl.localhost\Ubuntu but that doesn't work in explorer. I'm progressing just fast enough to keep me hooked but slowly loosing the will to continue, haha

You can copy all folders to windows (outside of WSA2)

@bgrmwbys, I've tried through the Linux icon in the navigation pane in explorer, tried \wsl$\Ubuntu and \wsl.localhost\Ubuntu in the address bar, tried mounting the .vhdx through explorer, all to no avail. looking at a article now about manually writing commands in terminal to copy folders over but would be easier if I didn't have to. Any tips?

Any error? When trying to access \wsl.localhost?

Through explorer address bar: image

Through Linux icon in navigation pane: image

Closest I've managed is through Chrome but getting the files off Chrome into a folder I'm not sure on

bgrmwbys commented 7 months ago

Strange, seems like it's not running.

On Thu, Jan 4, 2024, 11:37 PM mathoets @.***> wrote:

Hi Guys, still having issues even with @sn-o-w https://github.com/sn-o-w fork. It's a fresh install. Create system images mk_imageumount: /tmp/wsa-build-gknn1fuZhx/system_rootmerged/vendor /tmp/wsa-build-gknn1fuZhx/wsa/x64/vendor.img /tmp/wsa-build-gknn1fuZhx_/upper/vendor ext4 ERROR: Not yet implemented Build: an error has occurred, exit Not really sure where to go from here. I remember on some of the older tutorials you needed Windows 11 Pro, is this still the case?

You didn't correctly replace the contents of scripts/build.sh.

That's only for an upgrade to existing install isn't it? Don't have the WSA folder you mentioned previously and only have the ext4.vdhx no other folders? Sorry if I've missed something, very new to all this

@sn-o-w https://github.com/sn-o-w. Ok, managed to edit the Build.sh file through nano and that got me through to finishing the build, however now stuck with not being able to access the Run.bat as its within the ext4.vhdx drive. I can see the structure using Chrome and \wsl.localhost\Ubuntu but that doesn't work in explorer. I'm progressing just fast enough to keep me hooked but slowly loosing the will to continue, haha

You can copy all folders to windows (outside of WSA2)

@bgrmwbys https://github.com/bgrmwbys, I've tried through the Linux icon in the navigation pane in explorer, tried \wsl$\Ubuntu and \wsl.localhost\Ubuntu in the address bar, tried mounting the .vhdx through explorer, all to no avail. looking at a article now about manually writing commands in terminal to copy folders over but would be easier if I didn't have to. Any tips?

Any error? When trying to access \wsl.localhost?

Through explorer address bar: image.png (view on web) https://github.com/LSPosed/MagiskOnWSALocal/assets/155597370/9e59fee9-25c8-42f1-94e8-a62cb05f9752

Through Linux icon in navigation pane: image.png (view on web) https://github.com/LSPosed/MagiskOnWSALocal/assets/155597370/6229fa3e-9e98-44b7-ac55-1ac0865c3ecc

Closest I've managed is through Chrome but getting the files off Chrome into a folder I'm not sure on

— Reply to this email directly, view it on GitHub https://github.com/LSPosed/MagiskOnWSALocal/issues/743#issuecomment-1878112426, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASRX6D5A7F2JIGXGR5VKXP3YM57SBAVCNFSM6AAAAAA7RLU2U6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZYGEYTENBSGY . You are receiving this because you were mentioned.Message ID: @.***>

mathoets commented 7 months ago

Ok cool, I tried something else. Rather than run the process through Ubuntu, I'm loaded Ubuntu into a terminal window which is giving me all the files on my C: rather than within the .vhdx.

The Tute I found that lead me here told me to run it through Ubuntu but I think that just caused more trouble here. It's let me run the .bat now and WSA is installing.

Thanks for all your help guys, should've known it was something external going on here 🤦