LSPosed / MagiskOnWSALocal

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

Can't build WSA version 2304/WSA2304版本无法构建 #526

Closed bubbles-wow closed 1 year ago

bubbles-wow commented 1 year ago

Steps to reproduce/复现步骤

  1. download all required files/下载好所需文件
  2. run "sudo ./build.sh --release-type WIF --offline" /运行 sudo ./build.sh --release-type WIF --offline 离线构建

Expected behaviour/预期行为

sucessfully build/正常构建

Actual behaviour/实际行为

an error occur when building/构建中途出现错误

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

ad396d6

Linux distribution info/Linux 发行版信息

Linux version 5.15.90.1-microsoft-standard-WSL2 (oe-user@oe-host) (x86_64-msft-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.34.0.20200220) #1 SMP Fri Jan 27 02:56:13 UTC 2023

Windows version/Windows 版本

10.0.25352.1

Build Parameters/构建参数

COMMAND LINE: sudo ./build.sh --release-type WIF --offline INFO: Architecture: x64 INFO: Release Type: WIF INFO: Magisk Version: stable INFO: GApps Brand: MindTheGapps INFO: GApps Variant: pico INFO: Root Solution: magisk Build: RELEASE_TYPE=Insider Fast

Version requirement/版本要求

Logs/日志

[//]: <> (Don't modify above) ``` INFO: Architecture: x64 INFO: Release Type: WIF INFO: Magisk Version: stable INFO: GApps Brand: MindTheGapps INFO: GApps Variant: pico INFO: Root Solution: magisk Build: RELEASE_TYPE=Insider Fast Extract WSA Uid 0 can write to /tmp/wsa-build-ZLT2EFa97B_/wsa/x64 True unzipping wsapackage_2304.40000.3.0_language-af.msix extracting resources.language-af.pri extracting resources.language-af.xml unzipping wsapackage_2304.40000.3.0_language-ar.msix extracting resources.language-ar.pri extracting resources.language-ar.xml unzipping wsapackage_2304.40000.3.0_language-az-latn.msix extracting resources.language-az-latn.pri extracting resources.language-az-latn.xml unzipping wsapackage_2304.40000.3.0_language-bg.msix extracting resources.language-bg.pri extracting resources.language-bg.xml unzipping wsapackage_2304.40000.3.0_language-bs.msix extracting resources.language-bs.pri extracting resources.language-bs.xml unzipping wsapackage_2304.40000.3.0_language-ca.msix extracting resources.language-ca.pri extracting resources.language-ca.xml unzipping wsapackage_2304.40000.3.0_language-cs.msix extracting resources.language-cs.pri extracting resources.language-cs.xml unzipping wsapackage_2304.40000.3.0_language-cy.msix extracting resources.language-cy.pri extracting resources.language-cy.xml unzipping wsapackage_2304.40000.3.0_language-da.msix extracting resources.language-da.pri extracting resources.language-da.xml unzipping wsapackage_2304.40000.3.0_language-de.msix extracting resources.language-de.pri extracting resources.language-de.xml unzipping wsapackage_2304.40000.3.0_language-el.msix extracting resources.language-el.pri extracting resources.language-el.xml unzipping wsapackage_2304.40000.3.0_language-es.msix extracting resources.language-es.pri extracting resources.language-es.xml unzipping wsapackage_2304.40000.3.0_language-et.msix extracting resources.language-et.pri extracting resources.language-et.xml unzipping wsapackage_2304.40000.3.0_language-eu.msix extracting resources.language-eu.pri extracting resources.language-eu.xml unzipping wsapackage_2304.40000.3.0_language-fa.msix extracting resources.language-fa.pri extracting resources.language-fa.xml unzipping wsapackage_2304.40000.3.0_language-fi.msix extracting resources.language-fi.pri extracting resources.language-fi.xml unzipping wsapackage_2304.40000.3.0_language-fr.msix extracting resources.language-fr.pri extracting resources.language-fr.xml unzipping wsapackage_2304.40000.3.0_language-gl.msix extracting resources.language-gl.pri extracting resources.language-gl.xml unzipping wsapackage_2304.40000.3.0_language-he.msix extracting resources.language-he.pri extracting resources.language-he.xml unzipping wsapackage_2304.40000.3.0_language-hi.msix extracting resources.language-hi.pri extracting resources.language-hi.xml unzipping wsapackage_2304.40000.3.0_language-hr.msix extracting resources.language-hr.pri extracting resources.language-hr.xml unzipping wsapackage_2304.40000.3.0_language-hu.msix extracting resources.language-hu.pri extracting resources.language-hu.xml unzipping wsapackage_2304.40000.3.0_language-id.msix extracting resources.language-id.pri extracting resources.language-id.xml unzipping wsapackage_2304.40000.3.0_language-is.msix extracting resources.language-is.pri extracting resources.language-is.xml unzipping wsapackage_2304.40000.3.0_language-it.msix extracting resources.language-it.pri extracting resources.language-it.xml unzipping wsapackage_2304.40000.3.0_language-ja.msix extracting resources.language-ja.pri extracting resources.language-ja.xml unzipping wsapackage_2304.40000.3.0_language-ka.msix extracting resources.language-ka.pri extracting resources.language-ka.xml unzipping wsapackage_2304.40000.3.0_language-kk.msix extracting resources.language-kk.pri extracting resources.language-kk.xml unzipping wsapackage_2304.40000.3.0_language-ko.msix extracting resources.language-ko.pri extracting resources.language-ko.xml unzipping wsapackage_2304.40000.3.0_language-lt.msix extracting resources.language-lt.pri extracting resources.language-lt.xml unzipping wsapackage_2304.40000.3.0_language-lv.msix extracting resources.language-lv.pri extracting resources.language-lv.xml unzipping wsapackage_2304.40000.3.0_language-ms.msix extracting resources.language-ms.pri extracting resources.language-ms.xml unzipping wsapackage_2304.40000.3.0_language-nb.msix extracting resources.language-nb.pri extracting resources.language-nb.xml unzipping wsapackage_2304.40000.3.0_language-nl.msix extracting resources.language-nl.pri extracting resources.language-nl.xml unzipping wsapackage_2304.40000.3.0_language-nn.msix extracting resources.language-nn.pri extracting resources.language-nn.xml unzipping wsapackage_2304.40000.3.0_language-pl.msix extracting resources.language-pl.pri extracting resources.language-pl.xml unzipping wsapackage_2304.40000.3.0_language-pt.msix extracting resources.language-pt.pri extracting resources.language-pt.xml unzipping wsapackage_2304.40000.3.0_language-qps-ploc.msix extracting resources.language-qps-ploc.pri extracting resources.language-qps-ploc.xml unzipping wsapackage_2304.40000.3.0_language-qps-ploca.msix extracting resources.language-qps-ploca.pri extracting resources.language-qps-ploca.xml unzipping wsapackage_2304.40000.3.0_language-qps-plocm.msix extracting resources.language-qps-plocm.pri extracting resources.language-qps-plocm.xml unzipping wsapackage_2304.40000.3.0_language-ro.msix extracting resources.language-ro.pri extracting resources.language-ro.xml unzipping wsapackage_2304.40000.3.0_language-ru.msix extracting resources.language-ru.pri extracting resources.language-ru.xml unzipping wsapackage_2304.40000.3.0_language-sk.msix extracting resources.language-sk.pri extracting resources.language-sk.xml unzipping wsapackage_2304.40000.3.0_language-sl.msix extracting resources.language-sl.pri extracting resources.language-sl.xml unzipping wsapackage_2304.40000.3.0_language-sq.msix extracting resources.language-sq.pri extracting resources.language-sq.xml unzipping wsapackage_2304.40000.3.0_language-sr-cyrl.msix extracting resources.language-sr-cyrl.pri extracting resources.language-sr-cyrl.xml unzipping wsapackage_2304.40000.3.0_language-sr-latn.msix extracting resources.language-sr-latn.pri extracting resources.language-sr-latn.xml unzipping wsapackage_2304.40000.3.0_language-sv.msix extracting resources.language-sv.pri extracting resources.language-sv.xml unzipping wsapackage_2304.40000.3.0_language-th.msix extracting resources.language-th.pri extracting resources.language-th.xml unzipping wsapackage_2304.40000.3.0_language-tr.msix extracting resources.language-tr.pri extracting resources.language-tr.xml unzipping wsapackage_2304.40000.3.0_language-uk.msix extracting resources.language-uk.pri extracting resources.language-uk.xml unzipping wsapackage_2304.40000.3.0_language-vi.msix extracting resources.language-vi.pri extracting resources.language-vi.xml unzipping wsapackage_2304.40000.3.0_language-zh-hans.msix extracting resources.language-zh-hans.pri extracting resources.language-zh-hans.xml unzipping wsapackage_2304.40000.3.0_language-zh-hant.msix extracting resources.language-zh-hant.pri extracting resources.language-zh-hant.xml unzipping wsapackage_2304.40000.3.0_scale-100.msix extracting Images/AppList.scale-100.png extracting Images/LargeTile.scale-100.png extracting Images/BadgeLogo.scale-100.png extracting Images/MedTile.scale-100.png extracting Images/SmallTile.scale-100.png extracting Images/SplashScreen.scale-100.png extracting Images/StoreLogo.scale-100.png extracting Images/WideTile.scale-100.png extracting resources.scale-100.pri extracting resources.scale-100.xml unzipping wsapackage_2304.40000.3.0_scale-125.msix extracting Images/AppList.scale-125.png extracting Images/BadgeLogo.scale-125.png extracting Images/MedTile.scale-125.png extracting Images/LargeTile.scale-125.png extracting Images/SmallTile.scale-125.png extracting Images/StoreLogo.scale-125.png extracting Images/SplashScreen.scale-125.png extracting Images/WideTile.scale-125.png extracting resources.scale-125.pri extracting resources.scale-125.xml unzipping wsapackage_2304.40000.3.0_scale-150.msix extracting Images/AppList.scale-150.png extracting Images/BadgeLogo.scale-150.png extracting Images/MedTile.scale-150.png extracting Images/LargeTile.scale-150.png extracting Images/SmallTile.scale-150.png extracting Images/StoreLogo.scale-150.png extracting Images/SplashScreen.scale-150.png extracting Images/WideTile.scale-150.png extracting resources.scale-150.pri extracting resources.scale-150.xml unzipping wsapackage_2304.40000.3.0_scale-400.msix extracting Images/BadgeLogo.scale-400.png extracting Images/AppList.scale-400.png extracting Images/LargeTile.scale-400.png extracting Images/MedTile.scale-400.png extracting Images/SmallTile.scale-400.png extracting Images/SplashScreen.scale-400.png extracting Images/StoreLogo.scale-400.png extracting resources.scale-400.pri extracting Images/WideTile.scale-400.png extracting resources.scale-400.xml unzipping WsaPackage_2304.40000.3.0_x64_Release-Nightly.msix to /tmp/wsa-build-ZLT2EFa97B_/wsa unzipping from /tmp/wsa-build-ZLT2EFa97B_/wsa/WsaPackage_2304.40000.3.0_x64_Release-Nightly.msix Extract done Extract Magisk Magisk version: 25.2 (25200) done Extract MindTheGapps Archive: ../download/MindTheGapps-x64-13.0.zip signed by SignApk inflating: /tmp/wsa-build-ZLT2EFa97B_/gapps/system/product/app/GoogleCalendarSyncAdapter/GoogleCalendarSyncAdapter.apk inflating: /tmp/wsa-build-ZLT2EFa97B_/gapps/system/product/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk inflating: /tmp/wsa-build-ZLT2EFa97B_/gapps/system/product/app/PrebuiltExchange3Google/PrebuiltExchange3Google.apk inflating: /tmp/wsa-build-ZLT2EFa97B_/gapps/system/product/etc/default-permissions/default-permissions-google.xml inflating: /tmp/wsa-build-ZLT2EFa97B_/gapps/system/product/etc/default-permissions/default-permissions-mtg.xml inflating: /tmp/wsa-build-ZLT2EFa97B_/gapps/system/product/etc/permissions/com.google.android.dialer.support.xml inflating: /tmp/wsa-build-ZLT2EFa97B_/gapps/system/product/etc/permissions/privapp-permissions-google-product.xml inflating: /tmp/wsa-build-ZLT2EFa97B_/gapps/system/product/etc/security/fsverity/gms_fsverity_cert.der inflating: /tmp/wsa-build-ZLT2EFa97B_/gapps/system/product/etc/sysconfig/d2d_cable_migration_feature.xml inflating: /tmp/wsa-build-ZLT2EFa97B_/gapps/system/product/etc/sysconfig/google-hiddenapi-package-allowlist.xml inflating: /tmp/wsa-build-ZLT2EFa97B_/gapps/system/product/etc/sysconfig/google.xml inflating: /tmp/wsa-build-ZLT2EFa97B_/gapps/system/product/etc/sysconfig/google_build.xml inflating: /tmp/wsa-build-ZLT2EFa97B_/gapps/system/product/framework/com.google.android.dialer.support.jar inflating: /tmp/wsa-build-ZLT2EFa97B_/gapps/system/product/lib/libjni_latinimegoogle.so inflating: /tmp/wsa-build-ZLT2EFa97B_/gapps/system/product/lib64/libjni_latinimegoogle.so inflating: /tmp/wsa-build-ZLT2EFa97B_/gapps/system/product/overlay/GmsOverlay.apk inflating: /tmp/wsa-build-ZLT2EFa97B_/gapps/system/product/overlay/GmsSettingsProviderOverlay.apk inflating: /tmp/wsa-build-ZLT2EFa97B_/gapps/system/product/priv-app/AndroidAutoStub/AndroidAutoStub.apk inflating: /tmp/wsa-build-ZLT2EFa97B_/gapps/system/product/priv-app/GmsCore/GmsCore.apk inflating: /tmp/wsa-build-ZLT2EFa97B_/gapps/system/product/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk inflating: /tmp/wsa-build-ZLT2EFa97B_/gapps/system/product/priv-app/GoogleRestore/GoogleRestore.apk inflating: /tmp/wsa-build-ZLT2EFa97B_/gapps/system/product/priv-app/Phonesky/Phonesky.apk inflating: /tmp/wsa-build-ZLT2EFa97B_/gapps/system/product/priv-app/Velvet/Velvet.apk inflating: /tmp/wsa-build-ZLT2EFa97B_/gapps/system/system_ext/etc/permissions/privapp-permissions-google-system-ext.xml inflating: /tmp/wsa-build-ZLT2EFa97B_/gapps/system/system_ext/priv-app/GoogleFeedback/GoogleFeedback.apk inflating: /tmp/wsa-build-ZLT2EFa97B_/gapps/system/system_ext/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk Extract done Calculate the required space done Expand images Convert vhdx to img and remove read-only flag e2fsck: Bad magic number in super-block while trying to open /tmp/wsa-build-ZLT2EFa97B_/wsa/x64/system_ext.img /tmp/wsa-build-ZLT2EFa97B_/wsa/x64/system_ext.img: The superblock could not be read or does not describe a valid ext2/ext3/ext4 filesystem. If the device is valid and it really contains an ext2/ext3/ext4 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 or e2fsck -b 32768 /tmp/wsa-build-ZLT2EFa97B_/wsa/x64/system_ext.img contains a erofs file system Build: an error has occurred, exit Cleanup Work Directory Cleanup Download Directory ``` [//]: <> (Don't modify below)
bubbles-wow commented 1 year ago

download links for WSA version 2304/这是2304版本的下载链接 add version 2304.40000.4.0 OneDrive for Bussiness

MustardChef commented 1 year ago

They seem to have changed something, yet again!

MustardChef commented 1 year ago

Seems like they switched to EROFS, effectively killing the current scripts. Its going to be really hard to find a solution to this, I guess

YT-Advanced commented 1 year ago

Seems like they switched to EROFS, effectively killing the current scripts. Its going to be really hard to find a solution to this, I guess

If they use EROFS, we need to extract content from img file, then modify it and use mkfs.erofs for creating new image

MustardChef commented 1 year ago

Seems like they switched to EROFS, effectively killing the current scripts. Its going to be really hard to find a solution to this, I guess

If they use EROFS, we need to extract content from img file, then modify it and use mkfs.erofs for creating new image

Easier said than done.

YT-Advanced commented 1 year ago

Easier said than done.

Now I am going to learn for my test on 1st June. So if @Howard20181 don't fix it, I will do.

Howard20181 commented 1 year ago

Will check it later.