LSPosed / MagiskOnWSALocal

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

[Bug] Build host kernel does not support EROFS causing version 2304 build failure #535

Closed s1204IT closed 1 year ago

s1204IT commented 1 year ago

Steps to reproduce/复现步骤

  1. Clean the working directory
  2. Re-clone repository
  3. Run ./scripts/run.sh
    • Using User Code

Expected behaviour/预期行为

The build finishies successfully without any errors

Actual behaviour/实际行为

An error occurred during 'Create EROFS images'.

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

e8d81271f3f39e7367057165c7df95c07c49eca6

Linux distribution info/Linux 发行版信息

Ubuntu 20.04 (WSL)

Windows version/Windows 版本

10.0.25346.1001

Build Parameters/构建参数

COMMAND_LINE=--arch x64 --release-type WIF --root-sol magisk --gapps-brand MindTheGapps --remove-amazon --magisk-ver debug INFO: Architecture: x64 INFO: Release Type: WIF INFO: Magisk Version: debug INFO: GApps Brand: MindTheGapps INFO: GApps Variant: pico INFO: Root Solution: magisk Build: RELEASE_TYPE=Insider Fast

Version requirement/版本要求

Logs/日志

[//]: <> (Don't modify above) ``` Generate Download Links Generating WSA download link: arch=x64 release_type=Insider Fast WSA Version=2304.40000.4.0 download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/1ee8f2d3-cfbe-4514-a83a-5aaadb44df5e?P1=1684026984&P2=404&P3=2&P4=lywa9z%2bhsBVqYPYte%2frZNGkYhq9raC0Qz%2buKZrNV4zlIUA1G4GHn%2fAcKS9qWLE8fBxWwWPW%2bMvoAXCfwlJUNlg%3d%3d path: ../download/Microsoft.VCLibs.140.00_x64.appx download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/fed812e4-5821-4c23-a5a4-dae0d9b2d6d7?P1=1684054605&P2=404&P3=2&P4=XqLMg6opEiflXifP7YM9cIGqbzwEvLDKRkjGRLlkeQ2RHGPNt%2f6Bxn1wOhrekh8yLZEaoGQEoX5q%2ffzD1onCCQ%3d%3d path: ../download/wsa-WIF.zip download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/3b0a2424-33b7-4f1b-8434-9dc37ddfff81?P1=1684027070&P2=404&P3=2&P4=KK4bFQ0CMxbS%2bpatGylyOHltsk7%2fZ2X83we6fY2Qh5%2f1Auems3DY98NczBfR4UFQZiZdBBGK9Cq1fj9fOKRa7w%3d%3d path: ../download/Microsoft.UI.Xaml.2.8_x64.appx download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/8a26c76e-5a63-42d5-9f7d-df053c273363?P1=1684027155&P2=404&P3=2&P4=JfJAw3aScSQVT2VpPKt0BbaP40T%2foelHN5TJlHyy847pvhwCz8KKsV%2fAj4b5ShsHsLg1KZEZ30dYCDYnXutAOg%3d%3d path: ../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx Generating Magisk download link: release type=debug download link: https://cdn.jsdelivr.net/gh/topjohnwu/magisk-files@99853810619807f8b61c324fe70636a47e447419/app-debug.apk Generating MindTheGapps download link: arch=x64 variant=pico download link: https://downloads.sourceforge.net/project/wsa-mtg/x86_64/20230323/MindTheGapps-13.0.0-x86_64-20230323.zip Download Artifacts 05/14 10:07:03 [NOTICE] Downloading 6 item(s) [DL:19MiB][#5036be 272KiB/839KiB(32%)][#e035aa 3.8MiB/1.3GiB(0%)][#c9141f 368KiB/4.8MiB(7%)][#c6996b 272KiB 05/14 10:07:04 [NOTICE] ダウンロード完了: ../download/magisk-debug.zip 05/14 10:07:05 [NOTICE] ダウンロード完了: ../download/Microsoft.VCLibs.140.00_x64.appx [DL:21MiB][#e035aa 19MiB/1.3GiB(1%)][#c9141f 1.1MiB/4.8MiB(22%)][#c6996b 768KiB/6.3MiB(11%)][#b99a74 0B/0B] 05/14 10:07:05 [NOTICE] CUID#55 - Redirecting to https://jaist.dl.sourceforge.net/project/wsa-mtg/x86_64/20230323/MindTheGapps-13.0.0-x86_64-20230323.zip [DL:22MiB][#e035aa 63MiB/1.3GiB(4%)][#c9141f 2.5MiB/4.8MiB(53%)][#c6996b 1.8MiB/6.3MiB(28%)][#b99a74 448KiB 05/14 10:07:07 [NOTICE] CUID#57 - Redirecting to https://jaist.dl.sourceforge.net/project/wsa-mtg/x86_64/20230323/MindTheGapps-13.0.0-x86_64-20230323.zip [DL:22MiB][#e035aa 102MiB/1.3GiB(7%)][#c9141f 3.7MiB/4.8MiB(76%)][#c6996b 2.8MiB/6.3MiB(45%)][#b99a74 4.0Mi 05/14 10:07:09 [NOTICE] CUID#63 - Redirecting to https://jaist.dl.sourceforge.net/project/wsa-mtg/x86_64/20230323/MindTheGapps-13.0.0-x86_64-20230323.zip [DL:21MiB][#e035aa 135MiB/1.3GiB(9%)][#c9141f 4.6MiB/4.8MiB(95%)][#c6996b 4.0MiB/6.3MiB(64%)][#b99a74 9.3Mi 05/14 10:07:11 [NOTICE] CUID#61 - Redirecting to https://jaist.dl.sourceforge.net/project/wsa-mtg/x86_64/20230323/MindTheGapps-13.0.0-x86_64-20230323.zip 05/14 10:07:11 [NOTICE] ダウンロード完了: ../download/Microsoft.UI.Xaml.2.8_x64.appx [DL:20MiB][#e035aa 166MiB/1.3GiB(12%)][#c6996b 5.8MiB/6.3MiB(92%)][#b99a74 10MiB/188MiB(5%)] 05/14 10:07:13 [NOTICE] CUID#60 - Redirecting to https://jaist.dl.sourceforge.net/project/wsa-mtg/x86_64/20230323/MindTheGapps-13.0.0-x86_64-20230323.zip 05/14 10:07:14 [NOTICE] ダウンロード完了: ../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx [DL:21MiB][#e035aa 204MiB/1.3GiB(14%)][#b99a74 13MiB/188MiB(7%)] 05/14 10:07:15 [NOTICE] CUID#62 - Redirecting to https://jaist.dl.sourceforge.net/project/wsa-mtg/x86_64/20230323/MindTheGapps-13.0.0-x86_64-20230323.zip [DL:20MiB][#e035aa 242MiB/1.3GiB(17%)][#b99a74 19MiB/188MiB(10%)] 05/14 10:07:17 [NOTICE] CUID#59 - Redirecting to https://jaist.dl.sourceforge.net/project/wsa-mtg/x86_64/20230323/MindTheGapps-13.0.0-x86_64-20230323.zip [DL:19MiB][#e035aa 266MiB/1.3GiB(19%)][#b99a74 33MiB/188MiB(17%)] 05/14 10:07:19 [NOTICE] CUID#58 - Redirecting to https://jaist.dl.sourceforge.net/project/wsa-mtg/x86_64/20230323/MindTheGapps-13.0.0-x86_64-20230323.zip [DL:21MiB][#e035aa 831MiB/1.3GiB(60%)][#b99a74 185MiB/188MiB(98%)] 05/14 10:07:56 [NOTICE] ダウンロード完了: ../download/MindTheGapps-x64-13.0.zip *** Download Progress Summary as of Sun May 14 10:08:04 2023 *** =========================================================================================================== [#e035aa 0.9GiB/1.3GiB(72%) CN:16 DL:20MiB ETA:18s] FILE: ../download/wsa-WIF.zip ----------------------------------------------------------------------------------------------------------- [#e035aa 1.3GiB/1.3GiB(99%) CN:1 DL:21MiB] 05/14 10:08:22 [NOTICE] ダウンロード完了: ../download/wsa-WIF.zip ダウンロード結果: gid |stat|avg speed |path/URI ======+====+===========+======================================================= 6478a3|OK | 14MiB/s|../download/magisk-debug.zip 5036be|OK | 468KiB/s|../download/Microsoft.VCLibs.140.00_x64.appx c9141f|OK | 620KiB/s|../download/Microsoft.UI.Xaml.2.8_x64.appx c6996b|OK | 609KiB/s|../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx b99a74|OK | 3.6MiB/s|../download/MindTheGapps-x64-13.0.zip e035aa|OK | 17MiB/s|../download/wsa-WIF.zip 凡例: (OK):ダウンロード完了しました Extract WSA unzipping WsaPackage_2304.40000.4.0_x64_Release-Nightly.msix to /tmp/wsa-build-pICgj5HARF_/wsa unzipping from /tmp/wsa-build-pICgj5HARF_/wsa/WsaPackage_2304.40000.4.0_x64_Release-Nightly.msix Extract done Extract Magisk Magisk version: d0c93842 (26101) done Extract MindTheGapps Archive: ../download/MindTheGapps-x64-13.0.zip signed by SignApk inflating: /tmp/wsa-build-pICgj5HARF_/gapps/system/product/app/GoogleCalendarSyncAdapter/GoogleCalendarSyncAdapter.apk inflating: /tmp/wsa-build-pICgj5HARF_/gapps/system/product/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk inflating: /tmp/wsa-build-pICgj5HARF_/gapps/system/product/app/PrebuiltExchange3Google/PrebuiltExchange3Google.apk inflating: /tmp/wsa-build-pICgj5HARF_/gapps/system/product/etc/default-permissions/default-permissions-google.xml inflating: /tmp/wsa-build-pICgj5HARF_/gapps/system/product/etc/default-permissions/default-permissions-mtg.xml inflating: /tmp/wsa-build-pICgj5HARF_/gapps/system/product/etc/permissions/com.google.android.dialer.support.xml inflating: /tmp/wsa-build-pICgj5HARF_/gapps/system/product/etc/permissions/privapp-permissions-google-product.xml inflating: /tmp/wsa-build-pICgj5HARF_/gapps/system/product/etc/security/fsverity/gms_fsverity_cert.der inflating: /tmp/wsa-build-pICgj5HARF_/gapps/system/product/etc/sysconfig/d2d_cable_migration_feature.xml inflating: /tmp/wsa-build-pICgj5HARF_/gapps/system/product/etc/sysconfig/google-hiddenapi-package-allowlist.xml inflating: /tmp/wsa-build-pICgj5HARF_/gapps/system/product/etc/sysconfig/google.xml inflating: /tmp/wsa-build-pICgj5HARF_/gapps/system/product/etc/sysconfig/google_build.xml inflating: /tmp/wsa-build-pICgj5HARF_/gapps/system/product/framework/com.google.android.dialer.support.jar inflating: /tmp/wsa-build-pICgj5HARF_/gapps/system/product/lib/libjni_latinimegoogle.so inflating: /tmp/wsa-build-pICgj5HARF_/gapps/system/product/lib64/libjni_latinimegoogle.so inflating: /tmp/wsa-build-pICgj5HARF_/gapps/system/product/overlay/GmsOverlay.apk inflating: /tmp/wsa-build-pICgj5HARF_/gapps/system/product/overlay/GmsSettingsProviderOverlay.apk inflating: /tmp/wsa-build-pICgj5HARF_/gapps/system/product/priv-app/AndroidAutoStub/AndroidAutoStub.apk inflating: /tmp/wsa-build-pICgj5HARF_/gapps/system/product/priv-app/GmsCore/GmsCore.apk inflating: /tmp/wsa-build-pICgj5HARF_/gapps/system/product/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk inflating: /tmp/wsa-build-pICgj5HARF_/gapps/system/product/priv-app/GoogleRestore/GoogleRestore.apk inflating: /tmp/wsa-build-pICgj5HARF_/gapps/system/product/priv-app/Phonesky/Phonesky.apk inflating: /tmp/wsa-build-pICgj5HARF_/gapps/system/product/priv-app/Velvet/Velvet.apk inflating: /tmp/wsa-build-pICgj5HARF_/gapps/system/system_ext/etc/permissions/privapp-permissions-google-system-ext.xml inflating: /tmp/wsa-build-pICgj5HARF_/gapps/system/system_ext/priv-app/GoogleFeedback/GoogleFeedback.apk inflating: /tmp/wsa-build-pICgj5HARF_/gapps/system/system_ext/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk Extract done Convert vhdx to RAW image Convert vhdx to RAW image done Mount images mount: /dev/loop0 は /tmp/wsa-build-pICgj5HARF_/erofs にマウントされました。 mount: /dev/loop1 は /tmp/wsa-build-pICgj5HARF_/erofs/vendor にマウントされました。 mount: /dev/loop2 は /tmp/wsa-build-pICgj5HARF_/erofs/product にマウントされました。 mount: /dev/loop3 は /tmp/wsa-build-pICgj5HARF_/erofs/system_ext にマウントされました。 done Create overlayfs for EROFS mk_overlayfs: label system lowerdir=/tmp/wsa-build-pICgj5HARF_/erofs upperdir=/tmp/wsa-build-pICgj5HARF_/upper/system workdir=/tmp/wsa-build-pICgj5HARF_/worker/system merged=/tmp/wsa-build-pICgj5HARF_/system_root_merged mount: overlay は /tmp/wsa-build-pICgj5HARF_/system_root_merged にマウントされました。 mk_overlayfs: label vendor lowerdir=/tmp/wsa-build-pICgj5HARF_/erofs/vendor upperdir=/tmp/wsa-build-pICgj5HARF_/upper/system/vendor workdir=/tmp/wsa-build-pICgj5HARF_/worker/system/vendor merged=/tmp/wsa-build-pICgj5HARF_/system_root_merged/vendor mount: overlay は /tmp/wsa-build-pICgj5HARF_/system_root_merged/vendor にマウントされました。 mk_overlayfs: label product lowerdir=/tmp/wsa-build-pICgj5HARF_/erofs/product upperdir=/tmp/wsa-build-pICgj5HARF_/upper/system/product workdir=/tmp/wsa-build-pICgj5HARF_/worker/system/product merged=/tmp/wsa-build-pICgj5HARF_/system_root_merged/product mount: overlay は /tmp/wsa-build-pICgj5HARF_/system_root_merged/product にマウントされました。 mk_overlayfs: label system_ext lowerdir=/tmp/wsa-build-pICgj5HARF_/erofs/system_ext upperdir=/tmp/wsa-build-pICgj5HARF_/upper/system/system_ext workdir=/tmp/wsa-build-pICgj5HARF_/worker/system/system_ext merged=/tmp/wsa-build-pICgj5HARF_/system_root_merged/system_ext mount: overlay は /tmp/wsa-build-pICgj5HARF_/system_root_merged/system_ext にマウントされました。 Create overlayfs for EROFS done Remove Amazon Appstore done Add device administration features done Integrate Magisk /dev/fiuxladnjrageq(/.*)? u:object_r:magisk_file:s0 /data/adb/magisk(/.*)? u:object_r:magisk_file:s0 Load policy from: /tmp/wsa-build-pICgj5HARF_/system_root_merged/vendor/etc/selinux/precompiled_sepolicy Integrate Magisk done Add extra packages Add extra packages done Integrate MindTheGapps Load policy from: /tmp/wsa-build-pICgj5HARF_/system_root_merged/vendor/etc/selinux/precompiled_sepolicy Integrate MindTheGapps done Fix MindTheGapps prop fixing /tmp/wsa-build-pICgj5HARF_/system_root_merged/system/build.prop fixing /tmp/wsa-build-pICgj5HARF_/system_root_merged/vendor/build.prop fixing /tmp/wsa-build-pICgj5HARF_/system_root_merged/vendor/odm/etc/build.prop done Create EROFS images mkfs.erofs 1.0 mkfs.erofs: unrecognized option '--chunksize=4096' usage: [options] FILE DIRECTORY Generate erofs image from DIRECTORY to FILE, and [options] are: -zX[,Y] X=compressor (Y=compression level, optional) -d# set output message level to # (maximum 9) -x# set xattr tolerance to # (< 0, disable xattrs; default 2) -EX[,...] X=extended options -T# set a fixed UNIX timestamp # to all files --help display this help and exit Available compressors are: lz4hc, lz4 Build: an error has occurred, exit Cleanup Work Directory Cleanup Mount Directory umount: /tmp/wsa-build-pICgj5HARF_/erofs/product (/dev/loop2) をアンマウントしました umount: /tmp/wsa-build-pICgj5HARF_/erofs/vendor (/dev/loop1) をアンマウントしました umount: /tmp/wsa-build-pICgj5HARF_/erofs/system_ext (/dev/loop3) をアンマウントしました umount: /tmp/wsa-build-pICgj5HARF_/erofs (/dev/loop0) をアンマウントしました umount: /tmp/wsa-build-pICgj5HARF_/system_root_merged/product (overlay) をアンマウントしました umount: /tmp/wsa-build-pICgj5HARF_/system_root_merged/vendor (overlay) をアンマウントしました umount: /tmp/wsa-build-pICgj5HARF_/system_root_merged/system_ext (overlay) をアンマウントしました umount: /tmp/wsa-build-pICgj5HARF_/system_root_merged (overlay) をアンマウントしました Cleanup Download Directory ``` [//]: <> (Don't modify below)
s1204IT commented 1 year ago

Even "2304.40000.3.0" failed.

Howard20181 commented 1 year ago

What's your build host's kernel version? Chunk-based files supported since Linux v5.15. Microsofts' original images use this feature, I don't know if WSA can boot successfully without this.

s1204IT commented 1 year ago

What's your build host's kernel version? Chunk-based files supported since Linux v5.15. Microsofts' original images use this feature, I don't know if WSA can boot successfully without this.

s1204it@TP470EA:~$ uname -rmv
5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64
Howard20181 commented 1 year ago

What's the version of erofs-utils? chunk-based first added in 1.4.

Best regards,

Howard


From: Syuugo @.> Sent: Sunday, May 14, 2023 11:52:11 AM To: LSPosed/MagiskOnWSALocal @.> Cc: Howard Wu @.>; Comment @.> Subject: Re: [LSPosed/MagiskOnWSALocal] [Bug] 2304 does not build successfully (Issue #535)

What's your build host's kernel version? Chunk-based fileshttps://docs.kernel.org/filesystems/erofs.html#chunk-based-files supported since Linux v5.15. Microsofts' original images use this feature, I don't know if WSA can boot successfully without this.

@.***:~$ uname -rmv 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64

— Reply to this email directly, view it on GitHubhttps://github.com/LSPosed/MagiskOnWSALocal/issues/535#issuecomment-1546800073, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJRNWKZZMBJ6M3PN7I6YWSLXGBJGXANCNFSM6AAAAAAYA2KSUQ. You are receiving this because you commented.Message ID: @.***>

YT-Advanced commented 1 year ago

What's the version of erofs-utils? chunk-based first added in 1.4. Best regards, Howard

01:00:14 - aria2=1.36.0-1 01:00:14 - attr=1 2.5.1-1build1 01:00:14 - ca-certificates=20211016ubuntu0.22.04.1 01:00:14 - e2fsprogs=1.46.5-2ubuntu1.1 01:00:14 - erofs-utils=1.4-1 01:00:14 - p7zip-full=16.02+dfsg-8 01:00:14 - patchelf=0.14.3-1 01:00:14 - python3-venv=3.10.6-1~22.04 01:00:14 - qemu-utils=1 6.2+dfsg-2ubuntu6.8 01:00:14 - unzip=6.0-26ubuntu3.1 01:00:14 - xz-utils=5.2.5-2ubuntu1

Howard20181 commented 1 year ago

WSL2 Ubuntu 22.04 work well on my machine.

Best regards,

Howard


From: Hoàng Gia Bảo @.> Sent: Sunday, May 14, 2023 12:23:03 PM To: LSPosed/MagiskOnWSALocal @.> Cc: Howard Wu @.>; Comment @.> Subject: Re: [LSPosed/MagiskOnWSALocal] [Bug] 2304 does not build successfully (Issue #535)

What's the version of erofs-utils? chunk-based first added in 1.4. Best regards, Howard

01:00:14 - aria2=1.36.0-1 01:00:14 - attr=1 2.5.1-1build1 01:00:14 - ca-certificates=20211016ubuntu0.22.04.1 01:00:14 - e2fsprogs=1.46.5-2ubuntu1.1 01:00:14 - erofs-utils=1.4-1 01:00:14 - p7zip-full=16.02+dfsg-8 01:00:14 - patchelf=0.14.3-1 01:00:14 - python3-venv=3.10.6-1~22.04 01:00:14 - qemu-utils=1 6.2+dfsg-2ubuntu6.8 01:00:14 - unzip=6.0-26ubuntu3.1 01:00:14 - xz-utils=5.2.5-2ubuntu1

— Reply to this email directly, view it on GitHubhttps://github.com/LSPosed/MagiskOnWSALocal/issues/535#issuecomment-1546803539, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJRNWKYX44SRFSKIEMKF353XGBM2PANCNFSM6AAAAAAYA2KSUQ. You are receiving this because you commented.Message ID: @.***>

YT-Advanced commented 1 year ago

WSL2 Ubuntu 22.04 work well on my machine.

Now this problem has been fixed by adding linux-modules-extra-azure But when build with v2304, I have this new error :(


Mount images
mount: /tmp/wsa-build-ZLpp2fLvKR_/erofs: wrong fs type, bad option, bad superblock on /dev/loop3, missing codepage or helper program, or other error.
Build: an error has occurred, exit

Cleanup Work Directory
Cleanup Mount Directory
umount: /tmp/wsa-build-ZLpp2fLvKR_/erofs: not mounted.
Cleanup Download Directory
s1204IT commented 1 year ago
> What's the version of `erofs-utils`? `chunk-based` first added in 1.4. Best regards, Howard > […](#) > ________________________________ From: Syuugo ***@***.***> Sent: Sunday, May 14, 2023 11:52:11 AM To: LSPosed/MagiskOnWSALocal ***@***.***> Cc: Howard Wu ***@***.***>; Comment ***@***.***> Subject: Re: [LSPosed/MagiskOnWSALocal] [Bug] 2304 does not build successfully (Issue #535) What's your build host's kernel version? Chunk-based files supported since Linux v5.15. Microsofts' original images use this feature, I don't know if WSA can boot successfully without this. ***@***.***:~$ uname -rmv 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 — Reply to this email directly, view it on GitHub<[#535 (comment)](https://github.com/LSPosed/MagiskOnWSALocal/issues/535#issuecomment-1546800073)>, or unsubscribe. You are receiving this because you commented.Message ID: ***@***.***>

Version: 1.0-3

Howard20181 commented 1 year ago

I don't think this kernel module adds full support for EROFS. You might want to try replacing the kernel.

Best regards,

Howard


From: Hoàng Gia Bảo @.> Sent: Sunday, May 14, 2023 12:30:27 PM To: LSPosed/MagiskOnWSALocal @.> Cc: Howard Wu @.>; Comment @.> Subject: Re: [LSPosed/MagiskOnWSALocal] [Bug] 2304 does not build successfully (Issue #535)

WSL2 Ubuntu 22.04 work well on my machine.

Now this problem has been fixed by adding linux-modules-extra-azure But when build with v2304, I have this new error :(

Mount images mount: /tmp/wsa-build-ZLpp2fLvKR_/erofs: wrong fs type, bad option, bad superblock on /dev/loop3, missing codepage or helper program, or other error. Build: an error has occurred, exit

Cleanup Work Directory Cleanup Mount Directory umount: /tmp/wsa-build-ZLpp2fLvKR_/erofs: not mounted. Cleanup Download Directory

— Reply to this email directly, view it on GitHubhttps://github.com/LSPosed/MagiskOnWSALocal/issues/535#issuecomment-1546804226, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJRNWK6CL6YY6WXOEZY2HTDXGBNWHANCNFSM6AAAAAAYA2KSUQ. You are receiving this because you commented.Message ID: @.***>

Howard20181 commented 1 year ago

Try to upgrade erofs-utils.

Best regards,

Howard


From: Syuugo @.> Sent: Sunday, May 14, 2023 12:31:58 PM To: LSPosed/MagiskOnWSALocal @.> Cc: Howard Wu @.>; Comment @.> Subject: Re: [LSPosed/MagiskOnWSALocal] [Bug] 2304 does not build successfully (Issue #535)

What's the version of erofs-utils? chunk-based first added in 1.4. Best regards, Howard … ____ From: Syuugo @.> Sent: Sunday, May 14, 2023 11:52:11 AM To: LSPosed/MagiskOnWSALocal @.> Cc: Howard Wu @.>; Comment @.> Subject: Re: [LSPosed/MagiskOnWSALocal] [Bug] 2304 does not build successfully (Issue #535https://github.com/LSPosed/MagiskOnWSALocal/issues/535) What's your build host's kernel version? Chunk-based fileshttps://docs.kernel.org/filesystems/erofs.html#chunk-based-files supported since Linux v5.15. Microsofts' original images use this feature, I don't know if WSA can boot successfully without this. @.:~$ uname -rmv 5.15.90.1-microsoft-standard-WSL2 #1https://github.com/LSPosed/MagiskOnWSALocal/issues/1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 — Reply to this email directly, view it on GitHub<#535 (comment)https://github.com/LSPosed/MagiskOnWSALocal/issues/535#issuecomment-1546800073>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJRNWKZZMBJ6M3PN7I6YWSLXGBJGXANCNFSM6AAAAAAYA2KSUQ. You are receiving this because you commented.Message ID: @.>

Version: 1.0-3

— Reply to this email directly, view it on GitHubhttps://github.com/LSPosed/MagiskOnWSALocal/issues/535#issuecomment-1546804436, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJRNWK3YG3RQ2YQAZE7INK3XGBN35ANCNFSM6AAAAAAYA2KSUQ. You are receiving this because you commented.Message ID: @.***>

s1204IT commented 1 year ago
> Try to upgrade `erofs-utils`. Best regards, Howard > […](#) > ________________________________ From: Syuugo ***@***.***> Sent: Sunday, May 14, 2023 12:31:58 PM To: LSPosed/MagiskOnWSALocal ***@***.***> Cc: Howard Wu ***@***.***>; Comment ***@***.***> Subject: Re: [LSPosed/MagiskOnWSALocal] [Bug] 2304 does not build successfully (Issue #535) What's the version of erofs-utils? chunk-based first added in 1.4. Best regards, Howard … > ________________________________ From: Syuugo @.> Sent: Sunday, May 14, 2023 11:52:11 AM To: LSPosed/MagiskOnWSALocal @.> Cc: Howard Wu @.>; Comment @.> Subject: Re: [LSPosed/MagiskOnWSALocal] [Bug] 2304 does not build successfully (Issue #535<#535>) What's your build host's kernel version? Chunk-based fileshttps://docs.kernel.org/filesystems/erofs.html#chunk-based-files supported since Linux v5.15. Microsofts' original images use this feature, I don't know if WSA can boot successfully without this. @.:~$ uname -rmv 5.15.90.1-microsoft-standard-WSL2 #1<#1> SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 — Reply to this email directly, view it on GitHub<#535 (comment)<[#535 (comment)](https://github.com/LSPosed/MagiskOnWSALocal/issues/535#issuecomment-1546800073)>>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJRNWKZZMBJ6M3PN7I6YWSLXGBJGXANCNFSM6AAAAAAYA2KSUQ. You are receiving this because you commented.Message ID: @.> Version: 1.0-3 — Reply to this email directly, view it on GitHub<[#535 (comment)](https://github.com/LSPosed/MagiskOnWSALocal/issues/535#issuecomment-1546804436)>, or unsubscribe. You are receiving this because you commented.Message ID: ***@***.***>

I've already tried it on a few environments and it had no effect. Of course, I also did updating the kernel to 5.15.

Howard20181 commented 1 year ago

I've already tried it on a few environments and it had no effect. Of course, I also did updating the kernel to 5.15.

On Ubuntu 22.04 official package is at least 1.4.

$ apt list erofs-utils
正在列表... 完成
erofs-utils/jammy,now 1.4-1 amd64 [已安装]
s1204IT commented 1 year ago

I've already tried it on a few environments and it had no effect. Of course, I also did updating the kernel to 5.15.

On Ubuntu 22.04 official package is at least 1.4.

$ apt list erofs-utils
正在列表... 完成
erofs-utils/jammy,now 1.4-1 amd64 [已安装]

image I guess Ubuntu 20.04 is not supported?

Howard20181 commented 1 year ago

I've already tried it on a few environments and it had no effect. Of course, I also did updating the kernel to 5.15.

On Ubuntu 22.04 official package is at least 1.4.

$ apt list erofs-utils
正在列表... 完成
erofs-utils/jammy,now 1.4-1 amd64 [已安装]

image I guess Ubuntu 20.04 is not supported?

Yes, maybe we need to add a higher system request.

Howard20181 commented 1 year ago

Or compile from the source and install manually.

s1204IT commented 1 year ago

I'm trying Ubuntu 22.04

``` COMMAND_LINE=--arch x64 --release-type WIF --root-sol magisk --gapps-brand MindTheGapps --remove-amazon --magisk-ver debug INFO: Architecture: x64 INFO: Release Type: WIF INFO: Magisk Version: debug INFO: GApps Brand: MindTheGapps INFO: GApps Variant: pico INFO: Root Solution: magisk Build: RELEASE_TYPE=Insider Fast Generate Download Links Generating WSA download link: arch=x64 release_type=Insider Fast WSA Version=2304.40000.4.0 download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/8a26c76e-5a63-42d5-9f7d-df053c273363?P1=1684042224&P2=404&P3=2&P4=UqaAGrwG7VPcqyx6pUSztbOgiYGqwHbpsCqLLGYQDBWP0mstg2YeD0%2b9Z7kSoS891n6%2floVuhRhGpn6uR1xKAA%3d%3d path: ../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/1ee8f2d3-cfbe-4514-a83a-5aaadb44df5e?P1=1684042132&P2=404&P3=2&P4=DJyfApjCFWY4m%2fwIW9D0QgT5r%2bjvjqiJJbUDN%2b3fGjaBZRszEgWS9pnoO%2bLRpfGJUaTvRkWW8iMnI%2b6Vwn%2bB6w%3d%3d path: ../download/Microsoft.VCLibs.140.00_x64.appx download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/3b0a2424-33b7-4f1b-8434-9dc37ddfff81?P1=1684042230&P2=404&P3=2&P4=DKjlh%2b1uPK9RaA7Qse8ruVyhoeF9VNRps%2fOg981Swdy%2bdTsogrkYyeM3h2qp4hKvS6X8OdsNoF08zhlXGX02QA%3d%3d path: ../download/Microsoft.UI.Xaml.2.8_x64.appx download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/fed812e4-5821-4c23-a5a4-dae0d9b2d6d7?P1=1684069732&P2=404&P3=2&P4=iXIfHe7S%2b0hcMi%2b7f0zjzPPl5nSyQTJHCd6EChdbtZKj6wpkCA%2b1COUtO59u2QFerNQ1FLgYvgCdI7BDp82rKg%3d%3d path: ../download/wsa-WIF.zip Generating Magisk download link: release type=debug download link: https://cdn.jsdelivr.net/gh/topjohnwu/magisk-files@99853810619807f8b61c324fe70636a47e447419/app-debug.apk Generating MindTheGapps download link: arch=x64 variant=pico download link: https://downloads.sourceforge.net/project/wsa-mtg/x86_64/20230323/MindTheGapps-13.0.0-x86_64-20230323.zip Download Artifacts 05/14 14:19:13 [NOTICE] Downloading 6 item(s) 05/14 14:19:13 [NOTICE] GID#eba726c5434a901e - Download has already completed: ../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx 05/14 14:19:13 [NOTICE] GID#c717c71e9440fb67 - Download has already completed: ../download/Microsoft.VCLibs.140.00_x64.appx 05/14 14:19:13 [NOTICE] GID#3f145a8381b2f1de - Download has already completed: ../download/Microsoft.UI.Xaml.2.8_x64.appx 05/14 14:19:13 [NOTICE] GID#ff4d187a4391248e - Download has already completed: ../download/magisk-debug.zip 05/14 14:19:13 [NOTICE] GID#ec932fde88bd66c7 - Download has already completed: ../download/wsa-WIF.zip [DL:0B][#eba726 0B/0B][#c717c7 0B/0B][#3f145a 0B/0B][#ec932f 0B/0B][#ff4d18 18MiB/18MiB(100%)] 05/14 14:19:14 [NOTICE] Download complete: ../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx 05/14 14:19:14 [NOTICE] Download complete: ../download/Microsoft.VCLibs.140.00_x64.appx 05/14 14:19:14 [NOTICE] Download complete: ../download/Microsoft.UI.Xaml.2.8_x64.appx 05/14 14:19:14 [NOTICE] Download complete: ../download/wsa-WIF.zip 05/14 14:19:14 [NOTICE] Download complete: ../download/magisk-debug.zip 05/14 14:19:14 [NOTICE] CUID#17 - Redirecting to https://jaist.dl.sourceforge.net/project/wsa-mtg/x86_64/20230323/MindTheGapps-13.0.0-x86_64-20230323.zip 05/14 14:19:14 [NOTICE] GID#5ccf08fc336eaace - Download has already completed: ../download/MindTheGapps-x64-13.0.zip [#5ccf08 0B/0B CN:0] 05/14 14:19:15 [NOTICE] Download complete: ../download/MindTheGapps-x64-13.0.zip Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= eba726|OK | 0B/s|../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx c717c7|OK | 0B/s|../download/Microsoft.VCLibs.140.00_x64.appx 3f145a|OK | 0B/s|../download/Microsoft.UI.Xaml.2.8_x64.appx ec932f|OK | 0B/s|../download/wsa-WIF.zip ff4d18|OK | 0B/s|../download/magisk-debug.zip 5ccf08|OK | 0B/s|../download/MindTheGapps-x64-13.0.zip Status Legend: (OK):download completed. Extract WSA unzipping WsaPackage_2304.40000.4.0_x64_Release-Nightly.msix to /tmp/wsa-build-JLXDvfEg0O_/wsa unzipping from /tmp/wsa-build-JLXDvfEg0O_/wsa/WsaPackage_2304.40000.4.0_x64_Release-Nightly.msix Extract done Extract Magisk Magisk version: d0c93842 (26101) done Extract MindTheGapps Archive: ../download/MindTheGapps-x64-13.0.zip signed by SignApk inflating: /tmp/wsa-build-JLXDvfEg0O_/gapps/system/product/app/GoogleCalendarSyncAdapter/GoogleCalendarSyncAdapter.apk inflating: /tmp/wsa-build-JLXDvfEg0O_/gapps/system/product/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk inflating: /tmp/wsa-build-JLXDvfEg0O_/gapps/system/product/app/PrebuiltExchange3Google/PrebuiltExchange3Google.apk inflating: /tmp/wsa-build-JLXDvfEg0O_/gapps/system/product/etc/default-permissions/default-permissions-google.xml inflating: /tmp/wsa-build-JLXDvfEg0O_/gapps/system/product/etc/default-permissions/default-permissions-mtg.xml inflating: /tmp/wsa-build-JLXDvfEg0O_/gapps/system/product/etc/permissions/com.google.android.dialer.support.xml inflating: /tmp/wsa-build-JLXDvfEg0O_/gapps/system/product/etc/permissions/privapp-permissions-google-product.xml inflating: /tmp/wsa-build-JLXDvfEg0O_/gapps/system/product/etc/security/fsverity/gms_fsverity_cert.der inflating: /tmp/wsa-build-JLXDvfEg0O_/gapps/system/product/etc/sysconfig/d2d_cable_migration_feature.xml inflating: /tmp/wsa-build-JLXDvfEg0O_/gapps/system/product/etc/sysconfig/google-hiddenapi-package-allowlist.xml inflating: /tmp/wsa-build-JLXDvfEg0O_/gapps/system/product/etc/sysconfig/google.xml inflating: /tmp/wsa-build-JLXDvfEg0O_/gapps/system/product/etc/sysconfig/google_build.xml inflating: /tmp/wsa-build-JLXDvfEg0O_/gapps/system/product/framework/com.google.android.dialer.support.jar inflating: /tmp/wsa-build-JLXDvfEg0O_/gapps/system/product/lib/libjni_latinimegoogle.so inflating: /tmp/wsa-build-JLXDvfEg0O_/gapps/system/product/lib64/libjni_latinimegoogle.so inflating: /tmp/wsa-build-JLXDvfEg0O_/gapps/system/product/overlay/GmsOverlay.apk inflating: /tmp/wsa-build-JLXDvfEg0O_/gapps/system/product/overlay/GmsSettingsProviderOverlay.apk inflating: /tmp/wsa-build-JLXDvfEg0O_/gapps/system/product/priv-app/AndroidAutoStub/AndroidAutoStub.apk inflating: /tmp/wsa-build-JLXDvfEg0O_/gapps/system/product/priv-app/GmsCore/GmsCore.apk inflating: /tmp/wsa-build-JLXDvfEg0O_/gapps/system/product/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk inflating: /tmp/wsa-build-JLXDvfEg0O_/gapps/system/product/priv-app/GoogleRestore/GoogleRestore.apk inflating: /tmp/wsa-build-JLXDvfEg0O_/gapps/system/product/priv-app/Phonesky/Phonesky.apk inflating: /tmp/wsa-build-JLXDvfEg0O_/gapps/system/product/priv-app/Velvet/Velvet.apk inflating: /tmp/wsa-build-JLXDvfEg0O_/gapps/system/system_ext/etc/permissions/privapp-permissions-google-system-ext.xml inflating: /tmp/wsa-build-JLXDvfEg0O_/gapps/system/system_ext/priv-app/GoogleFeedback/GoogleFeedback.apk inflating: /tmp/wsa-build-JLXDvfEg0O_/gapps/system/system_ext/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk Extract done Convert vhdx to RAW image Convert vhdx to RAW image done Mount images mount: /tmp/wsa-build-JLXDvfEg0O_/erofs: wrong fs type, bad option, bad superblock on /dev/loop8, missing codepage or helper program, or other error. Build: an error has occurred, exit Cleanup Work Directory Cleanup Mount Directory umount: /tmp/wsa-build-JLXDvfEg0O_/erofs: not mounted. Cleanup Download Directory ```
Mount images
mount: /tmp/wsa-build-JLXDvfEg0O_/erofs: wrong fs type, bad option, bad superblock on /dev/loop8, missing codepage or helper program, or other error.
Build: an error has occurred, exit

Cleanup Work Directory
Cleanup Mount Directory
umount: /tmp/wsa-build-JLXDvfEg0O_/erofs: not mounted.
Cleanup Download Directory
# apt list erofs-utils
Listing... Done
erofs-utils/jammy,now 1.4-1 amd64 [installed]

Same thing is happenig: https://github.com/LSPosed/MagiskOnWSALocal/issues/535#issuecomment-1546804226

Howard20181 commented 1 year ago

What's the out put of cat /proc/filesystems?

s1204IT commented 1 year ago

What's the out put of cat /proc/filesystems?

nodev   sysfs
nodev   tmpfs
nodev   bdev
nodev   proc
nodev   cgroup
nodev   cgroup2
nodev   cpuset
nodev   devtmpfs
nodev   configfs
nodev   debugfs
nodev   tracefs
nodev   securityfs
nodev   sockfs
nodev   bpf
nodev   pipefs
nodev   ramfs
nodev   hugetlbfs
nodev   devpts
        ext3
        ext2
        ext4
        squashfs
        vfat
nodev   ecryptfs
        fuseblk
nodev   fuse
nodev   fusectl
nodev   mqueue
nodev   pstore
        btrfs
nodev   autofs
nodev   binfmt_misc
        iso9660
        erofs
s1204IT commented 1 year ago

This is another issue, but Magisk may not be installed. The Play Store will also start, but it will freeze immediately.

Howard20181 commented 1 year ago

Magisk has broken since https://github.com/LSPosed/MagiskOnWSALocal/commit/2364c36dbb481de4d589b54046b055f48729d9b5

YT-Advanced commented 1 year ago

Magisk has broken since 2364c36

And do you have any fix for the problem I mentioned ?

Howard20181 commented 1 year ago

I'm trying to fix Magisk integration.

YT-Advanced commented 1 year ago

I'm trying to fix Magisk integration.

Nope, I meant the problem when mount EROFS filesystem :(

Howard20181 commented 1 year ago

Please try the latest commit, I specified the file system type when mounting EROFS. https://github.com/LSPosed/MagiskOnWSALocal/blob/5c2218df43b0c6feb4754c0c3371df04ea22df52/scripts/build.sh#L649-L652

s1204IT commented 1 year ago

Please try the latest commit, I specified the file system type when mounting EROFS.

https://github.com/LSPosed/MagiskOnWSALocal/blob/5c2218df43b0c6feb4754c0c3371df04ea22df52/scripts/build.sh#L649-L652

I'll report the results later.

YT-Advanced commented 1 year ago

Please try the latest commit, I specified the file system type when mounting EROFS.

Now it still not working

Howard20181 commented 1 year ago

Please try the latest commit, I specified the file system type when mounting EROFS.

Now it still not working

What about https://github.com/LSPosed/MagiskOnWSALocal/commit/d4ce33c3c6ae6cf18c3396ce89785a0c739eadea

YT-Advanced commented 1 year ago

Didn't work. I also tried cionvert the image using simg2img or use binwalk to get first offset for mounting but all of them didn't work

Howard20181 commented 1 year ago

Didn't work. I also tried cionvert the image using simg2img or use binwalk to get first offset for mounting but all of them didn't work

Have you tried rebooting your system? For WSL Execute wsl --shutdown

YT-Advanced commented 1 year ago

Have you tried rebooting your system? For WSL Execute wsl --shutdown

Have tested but didn't work. I think you should extract (not mounting) the image then use mkfs to recreate it. It will be better

Howard20181 commented 1 year ago

Have you tried rebooting your system? For WSL Execute wsl --shutdown

Have tested but didn't work. I think you should extract (not mounting) the image then use mkfs to recreate it. It will be better

So what tool can I use to extract EROFS? The extract tools I found all mount and then create other file system images.

YT-Advanced commented 1 year ago

Have you tried rebooting your system? For WSL Execute wsl --shutdown

Have tested but didn't work. I think you should extract (not mounting) the image then use mkfs to recreate it. It will be better

So what tool can I use to extract EROFS? The extract tools I found all mount and then create other file system images.

As I remembered, 7zip support extracting img file. And can you send me your extract tool you found for testing the mount

Howard20181 commented 1 year ago

Have you tried rebooting your system? For WSL Execute wsl --shutdown

Have tested but didn't work. I think you should extract (not mounting) the image then use mkfs to recreate it. It will be better

So what tool can I use to extract EROFS? The extract tools I found all mount and then create other file system images.

As I remembered, 7zip support extracting img file. And can you send me your extract tool you found for testing the mount

https://sourceforge.net/projects/multi-function-patch/files/RO2RW/

YT-Advanced commented 1 year ago

Have you tried rebooting your system? For WSL Execute wsl --shutdown

Have tested but didn't work. I think you should extract (not mounting) the image then use mkfs to recreate it. It will be better

So what tool can I use to extract EROFS? The extract tools I found all mount and then create other file system images.

As I remembered, 7zip support extracting img file. And can you send me your extract tool you found for testing the mount

https://sourceforge.net/projects/multi-function-patch/files/RO2RW/

Hmm, I think I will use third party WSABuild instead 😢

s1204IT commented 1 year ago

Please try the latest commit, I specified the file system type when mounting EROFS.

https://github.com/LSPosed/MagiskOnWSALocal/blob/5c2218df43b0c6feb4754c0c3371df04ea22df52/scripts/build.sh#L649-L652

Mount images
[  839.124981] erofs: (device loop8): z_erofs_load_lz4_config: lz4 algorithm isn't enabled
mount: /tmp/wsa-build-bMHvp0Epxr_/erofs: wrong fs type, bad option, bad superblock on /dev/loop8, missing codepage or helper program, or other error.
Build: an error has occurred, exit

Cleanup Work Directory
Cleanup Mount Directory
umount: /tmp/wsa-build-bMHvp0Epxr_/erofs: not mounted.
Cleanup Download Directory

Behavior has changed.

Howard20181 commented 1 year ago

This problem may be solved by changing to mount EROFS using the erofs-utils built-in erofsfuse. But erofsfuse is marked as "experimental, disabled by default", so if we want to use it we have to compile and install it from the source. The kernel module linux-modules-extra-azure has outdated EROFS support and cannot meet the mount requirements.

YT-Advanced commented 1 year ago

This problem may be solved by changing to mount EROFS using the erofs-utils built-in erofsfuse. But erofsfuse is marked as "experimental, disabled by default", so if we want to use it we have to compile and install it from the source. The kernel module linux-modules-extra-azure has outdated EROFS support and cannot meet the mount requirements.

If you can please make a prebuilt then add it to your script

miguelenola commented 1 year ago

Ubuntu 22.04 wsl2 . Version 7a33F97 the script compiles fine and the version installs without problems. Captura de pantalla (21) Captura de pantalla (22)

airtaxi commented 1 year ago

I get the same error, but it's fixed after I run "wsl --update" on the machine.

clubtech commented 1 year ago

I get the same error, but it's fixed after I run "wsl --update" on the machine.

This solved this error for me as well. Thank you for this!

sn-o-w commented 1 year ago

This problem may be solved by changing to mount EROFS using the erofs-utils built-in erofsfuse. But erofsfuse is marked as "experimental, disabled by default", so if we want to use it we have to compile and install it from the source. The kernel module linux-modules-extra-azure has outdated EROFS support and cannot meet the mount requirements.

Looks like erofsfuse is pretty slow at mounting EROFS images... 😶

sn-o-w commented 1 year ago

Ubuntu 22.04 wsl2 . Version 7a33F97 the script compiles fine and the version installs without problems. Captura de pantalla (21) Captura de pantalla (22)

Out of curiosity, how long did it take for you to create the build? I mean from the moment you ./build.sh until the 7z archive is generated. 🤔

YT-Advanced commented 1 year ago

@sn-o-w I think it is about 20-45 minutes

Howard20181 commented 1 year ago

Out of curiosity, how long did it take for you to create the build? I mean from the moment you ./build.sh until the 7z archive is generated. 🤔

Use offline mode It took 01:21 from entering the command to start compressing the 7z package The complete output of the 7z package took 07:30 The only step that seems slow is the compression to 7z, which took 06:09

sn-o-w commented 1 year ago

@Howard20181

https://github.com/sn-o-w/WSA-Magisk/actions/runs/5013733583/jobs/8987177216

Well, I tried to create a build by using GitHub Actions and erofsfuse built with "--enable-lzma --enable-fuse".

6 hours ain't enough. 😆

For some reason, EROFS image mounting is extremely, extremely slow with erofsfuse... 😶

erictbar commented 1 year ago

I get the same error, but it's fixed after I run "wsl --update" on the machine.

Running "wsl --update" installs WSL from the MS Store which conflicts with other issues I have, so instead I ran "wsl --update --web-download" from an Admin PowerShell and it worked!

Edit: nvm, this still installs WSL from the MS Store. But I was able to downgrade after running the MasgiskOnWSALocal script easily by uninstalling from Settings.

ShunbaoLi commented 1 year ago

I get the same error, but it's fixed after I run "wsl --update" on the machine.

cheers mate.

wsl --update + wsl --shutdown + rebuilding works for me. I am using ubuntu22.04.

Howard20181 commented 1 year ago

Current Status: The kernel module linux-modules-extra-azure cannot support mounting EROFS, so it is useless to install it. Low performance of erofsfuse in erofs-utils reported by https://github.com/LSPosed/MagiskOnWSALocal/issues/535#issuecomment-1553474434 For wsl, updating with wsl --update and rebooting with wsl --shutdown can support mounting. So the best solution to this problem is to update the system, or to improve the performance of erofsfuse in the future.

s1204IT commented 1 year ago

My guess is that perhaps the WSL issue has been resolved. But there are problems mixed in with this discussion that cannot be run on other virtual instances such as Actions.

Howard20181 commented 1 year ago

other virtual instances such as Actions.

This requires that Actions' Linux kernel build include the configuration CONFIG_EROFS_FS=y