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

[Bug] Build: an error has occurred, exit #735

Closed bidaumm closed 8 months ago

bidaumm commented 1 year ago

Steps to reproduce/复现步骤

Run setup as normal

git clone https://github.com/LSPosed/MagiskOnWSALocal.git
cd MagiskOnWSALocal/
sh ./scripts/run.sh

Expected behaviour/预期行为

creates WSA in output folder

Actual behaviour/实际行为

fails at

Create system images
mk_image_umount: /tmp/wsa-build-dI211v4xWW_/system_root_merged/vendor /tmp/wsa-build-dI211v4xWW_/wsa/x64/vendor.img /tmp/wsa-build-dI211v4xWW_/upper/vendor ext4
ERROR: Not yet implemented
Build: an error has occurred, exit

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

d44a77be84fac312d343ac501b497828209da089

Linux distribution info/Linux 发行版信息

WSL2 Ubuntu 22.04.3 LTS

Windows version/Windows 版本

22621.2428

Build Parameters/构建参数

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

Version requirement/版本要求

Logs/日志

[//]: <> (Don't modify above) ``` COMMAND_LINE=--arch x64 --release-type WIF --root-sol none --gapps-brand MindTheGapps INFO: Architecture: x64 INFO: Release Type: WIF INFO: Magisk Version: stable INFO: GApps Brand: MindTheGapps INFO: GApps Variant: pico INFO: Root Solution: none Build: RELEASE_TYPE=Insider Fast Generate Download Links Generating WSA download link: arch=x64 release_type=Insider Fast WSA Build Version=2309.40000.10.0 download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/28edaebf-8019-4844-ba32-8ab019bc9391?P1=1699115469&P2=404&P3=2&P4=fTi1d8iREYBrFF3frNw0ruGTqhgBpSiQm8uGyyTLee8b7EA6wYBpQH7%2b0bzg64LwvDUeb4tOnJa9KN2unsG56g%3d%3d path: ../download/Microsoft.VCLibs.140.00_x64.appx download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/986a8270-404c-4470-871d-5c4090dcaa79?P1=1699115576&P2=404&P3=2&P4=du1hQ3812i%2bXiQFLqiAqA02m%2bvQ2JlBPs7B%2fVAbyRZx2Lu0lTRqlmVNwkTdXnIkDAiXWrbIbHX2ZwhF1%2fTKL8g%3d%3d path: ../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/251bbb12-dbfc-4820-b0ff-c4dfa70ffb09?P1=1699115536&P2=404&P3=2&P4=Aflounk3yGLkSIeffI1r6WQfA4ofqfuPosgtTV02Y9rXfbj165BzKYdvlD5PT54KaE1oqlDwUjRvcXpZyoeJZw%3d%3d path: ../download/Microsoft.UI.Xaml.2.8_x64.appx download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/865c8919-3247-45e3-95ee-323261875078?P1=1699143413&P2=404&P3=2&P4=QNrAbec3L3e7EbI01P7BilGGrGG72ZXViW0b8hS74zs%2baKTYjOL5Gp26U072rrWmPZP0H06ejMq41U4qqRangg%3d%3d path: ../download/wsa-WIF.zip Generating Magisk download link: release type=stable download link: https://cdn.jsdelivr.net/gh/topjohnwu/magisk-files@26.3/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/04 09:21:13 [NOTICE] Downloading 6 item(s) 11/04 09:21:13 [NOTICE] GID#4a1db21317a05b03 - Download has already completed: ../download/Microsoft.UI.Xaml.2.8_x64.appx 11/04 09:21:13 [NOTICE] Download complete: ../download/Microsoft.UI.Xaml.2.8_x64.appx 11/04 09:21:13 [NOTICE] GID#f1e7e16fa35e3dc1 - Download has already completed: ../download/Microsoft.VCLibs.140.00_x64.appx 11/04 09:21:13 [NOTICE] GID#d86949b2ba9f5ca2 - Download has already completed: ../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx 11/04 09:21:13 [NOTICE] GID#c4bb322d7b34020e - Download has already completed: ../download/wsa-WIF.zip 11/04 09:21:13 [NOTICE] GID#5cbf31d96b99c3e5 - Download has already completed: ../download/magisk-stable.zip 11/04 09:21:13 [NOTICE] Download complete: ../download/Microsoft.VCLibs.140.00_x64.appx 11/04 09:21:13 [NOTICE] Download complete: ../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx 11/04 09:21:13 [NOTICE] Download complete: ../download/wsa-WIF.zip 11/04 09:21:13 [NOTICE] Download complete: ../download/magisk-stable.zip 11/04 09:21:13 [NOTICE] CUID#12 - Redirecting to https://gigenet.dl.sourceforge.net/project/wsa-mtg/x86_64/20231028/MindTheGapps-13.0.0-x86_64-20231028.zip 11/04 09:21:14 [NOTICE] GID#6097d6f0cec3ff04 - Download has already completed: ../download/MindTheGapps-x64-13.0.zip 11/04 09:21:14 [NOTICE] Download complete: ../download/MindTheGapps-x64-13.0.zip Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= 4a1db2|OK | 0B/s|../download/Microsoft.UI.Xaml.2.8_x64.appx f1e7e1|OK | 0B/s|../download/Microsoft.VCLibs.140.00_x64.appx d86949|OK | 0B/s|../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx c4bb32|OK | 0B/s|../download/wsa-WIF.zip 5cbf31|OK | 0B/s|../download/magisk-stable.zip 6097d6|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-yr8R6w2n9t_/wsa unzipping from /tmp/wsa-build-yr8R6w2n9t_/wsa/WsaPackage_2309.40000.10.0_x64_Release-Nightly.msix Extract done Extract Magisk Magisk version: 26.3 (26300) done Extract MindTheGapps Archive: ../download/MindTheGapps-x64-13.0.zip inflating: /tmp/wsa-build-yr8R6w2n9t_/gapps/system/system_ext/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk inflating: /tmp/wsa-build-yr8R6w2n9t_/gapps/system/system_ext/priv-app/GoogleFeedback/GoogleFeedback.apk inflating: /tmp/wsa-build-yr8R6w2n9t_/gapps/system/system_ext/etc/permissions/privapp-permissions-google-system-ext.xml inflating: /tmp/wsa-build-yr8R6w2n9t_/gapps/system/product/priv-app/Velvet/Velvet.apk inflating: /tmp/wsa-build-yr8R6w2n9t_/gapps/system/product/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk inflating: /tmp/wsa-build-yr8R6w2n9t_/gapps/system/product/priv-app/GmsCore/GmsCore.apk inflating: /tmp/wsa-build-yr8R6w2n9t_/gapps/system/product/priv-app/AndroidAutoStub/AndroidAutoStub.apk inflating: /tmp/wsa-build-yr8R6w2n9t_/gapps/system/product/priv-app/GoogleRestore/GoogleRestore.apk inflating: /tmp/wsa-build-yr8R6w2n9t_/gapps/system/product/priv-app/Phonesky/Phonesky.apk inflating: /tmp/wsa-build-yr8R6w2n9t_/gapps/system/product/framework/com.google.android.dialer.support.jar inflating: /tmp/wsa-build-yr8R6w2n9t_/gapps/system/product/lib/libjni_latinimegoogle.so inflating: /tmp/wsa-build-yr8R6w2n9t_/gapps/system/product/overlay/GmsSettingsProviderOverlay.apk inflating: /tmp/wsa-build-yr8R6w2n9t_/gapps/system/product/overlay/GmsOverlay.apk inflating: /tmp/wsa-build-yr8R6w2n9t_/gapps/system/product/etc/permissions/privapp-permissions-google-product.xml inflating: /tmp/wsa-build-yr8R6w2n9t_/gapps/system/product/etc/permissions/com.google.android.dialer.support.xml inflating: /tmp/wsa-build-yr8R6w2n9t_/gapps/system/product/etc/default-permissions/default-permissions-mtg.xml inflating: /tmp/wsa-build-yr8R6w2n9t_/gapps/system/product/etc/default-permissions/default-permissions-google.xml extracting: /tmp/wsa-build-yr8R6w2n9t_/gapps/system/product/etc/init/gapps.rc inflating: /tmp/wsa-build-yr8R6w2n9t_/gapps/system/product/etc/security/fsverity/gms_fsverity_cert.der inflating: /tmp/wsa-build-yr8R6w2n9t_/gapps/system/product/etc/sysconfig/d2d_cable_migration_feature.xml inflating: /tmp/wsa-build-yr8R6w2n9t_/gapps/system/product/etc/sysconfig/google.xml inflating: /tmp/wsa-build-yr8R6w2n9t_/gapps/system/product/etc/sysconfig/google_build.xml inflating: /tmp/wsa-build-yr8R6w2n9t_/gapps/system/product/etc/sysconfig/google-hiddenapi-package-allowlist.xml inflating: /tmp/wsa-build-yr8R6w2n9t_/gapps/system/product/app/PrebuiltExchange3Google/PrebuiltExchange3Google.apk inflating: /tmp/wsa-build-yr8R6w2n9t_/gapps/system/product/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk inflating: /tmp/wsa-build-yr8R6w2n9t_/gapps/system/product/app/GoogleCalendarSyncAdapter/GoogleCalendarSyncAdapter.apk inflating: /tmp/wsa-build-yr8R6w2n9t_/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-yr8R6w2n9t_/erofs. mount: /dev/loop1 mounted on /tmp/wsa-build-yr8R6w2n9t_/erofs/vendor. mount: /dev/loop2 mounted on /tmp/wsa-build-yr8R6w2n9t_/erofs/product. mount: /dev/loop3 mounted on /tmp/wsa-build-yr8R6w2n9t_/erofs/system_ext. done Create overlayfs mk_overlayfs: label system lowerdir=/tmp/wsa-build-yr8R6w2n9t_/erofs upperdir=/tmp/wsa-build-yr8R6w2n9t_/upper/system workdir=/tmp/wsa-build-yr8R6w2n9t_/worker/system merged=/tmp/wsa-build-yr8R6w2n9t_/system_root_merged mount: overlay mounted on /tmp/wsa-build-yr8R6w2n9t_/system_root_merged. mk_overlayfs: label vendor lowerdir=/tmp/wsa-build-yr8R6w2n9t_/erofs/vendor upperdir=/tmp/wsa-build-yr8R6w2n9t_/upper/vendor workdir=/tmp/wsa-build-yr8R6w2n9t_/worker/vendor merged=/tmp/wsa-build-yr8R6w2n9t_/system_root_merged/vendor mount: overlay mounted on /tmp/wsa-build-yr8R6w2n9t_/system_root_merged/vendor. mk_overlayfs: label product lowerdir=/tmp/wsa-build-yr8R6w2n9t_/erofs/product upperdir=/tmp/wsa-build-yr8R6w2n9t_/upper/product workdir=/tmp/wsa-build-yr8R6w2n9t_/worker/product merged=/tmp/wsa-build-yr8R6w2n9t_/system_root_merged/product mount: overlay mounted on /tmp/wsa-build-yr8R6w2n9t_/system_root_merged/product. mk_overlayfs: label system_ext lowerdir=/tmp/wsa-build-yr8R6w2n9t_/erofs/system_ext upperdir=/tmp/wsa-build-yr8R6w2n9t_/upper/system_ext workdir=/tmp/wsa-build-yr8R6w2n9t_/worker/system_ext merged=/tmp/wsa-build-yr8R6w2n9t_/system_root_merged/system_ext mount: overlay mounted on /tmp/wsa-build-yr8R6w2n9t_/system_root_merged/system_ext. Create overlayfs done Add device administration features sed: can't read /cts/a \ : No such file or directory done Add extra packages Add extra packages done Integrate MindTheGapps Integrate MindTheGapps done Fix MindTheGapps prop fixing /tmp/wsa-build-yr8R6w2n9t_/system_root_merged/system/build.prop fixing /tmp/wsa-build-yr8R6w2n9t_/system_root_merged/vendor/build.prop fixing /tmp/wsa-build-yr8R6w2n9t_/system_root_merged/vendor/odm/etc/build.prop done Create system images mk_image_umount: /tmp/wsa-build-yr8R6w2n9t_/system_root_merged/vendor /tmp/wsa-build-yr8R6w2n9t_/wsa/x64/vendor.img /tmp/wsa-build-yr8R6w2n9t_/upper/vendor ext4 ERROR: Not yet implemented Build: an error has occurred, exit Cleanup Work Directory Cleanup Mount Directory umount: /tmp/wsa-build-yr8R6w2n9t_/erofs/vendor unmounted umount: /tmp/wsa-build-yr8R6w2n9t_/erofs/system_ext unmounted umount: /tmp/wsa-build-yr8R6w2n9t_/erofs/product unmounted umount: /tmp/wsa-build-yr8R6w2n9t_/erofs unmounted umount: /tmp/wsa-build-yr8R6w2n9t_/system_root_merged/vendor (overlay) unmounted umount: /tmp/wsa-build-yr8R6w2n9t_/system_root_merged/system_ext (overlay) unmounted umount: /tmp/wsa-build-yr8R6w2n9t_/system_root_merged/product (overlay) unmounted umount: /tmp/wsa-build-yr8R6w2n9t_/system_root_merged (overlay) unmounted Cleanup Download Directory``` [//]: <> (Don't modify below)
sn-o-w commented 1 year ago

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