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] ERROR: Not yet implemented #754

Closed nuo0930 closed 5 months ago

nuo0930 commented 8 months ago

Steps to reproduce/复现步骤

  1. run.sh

Expected behaviour/预期行为

generate output

Actual behaviour/实际行为

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

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

d44a77be84fac312d343ac501b497828209da089

Linux distribution info/Linux 发行版信息

WSA Debian GNU/Linux 12

Windows version/Windows 版本

11.0.22635.2850

Build Parameters/构建参数

COMMAND_LINE=--arch x64 --release-type retail --root-sol magisk --gapps-brand MindTheGapps --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

Version requirement/版本要求

Logs/日志

[//]: <> (Don't modify above) ``` COMMAND_LINE=--arch x64 --release-type retail --root-sol magisk --gapps-brand MindTheGapps --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=2310.40000.2.0 download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/28edaebf-8019-4844-ba32-8ab019bc9391?P1=1702460987&P2=404&P3=2&P4=DcYKZVx8UTvVKrf9bzV%2bcg240lEqbSw7kGcpPlqekOaVsUVMDuIsj1NMeEepGD6p1Ypaz%2bEhnV0X6AwriBCTWQ%3d%3d path: ../download/Microsoft.VCLibs.140.00_x64.appx download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/f2b59894-efdf-4dde-8b2c-23012b4b3cf6?P1=1702489127&P2=404&P3=2&P4=VjRfn%2bhLKcmW0pqYaXvwIO48NeR0rDoynjL9tgn%2fnkoJlKTGXTj3AOIA4fOiP0O%2bXGso%2fP%2fCQyovAIPQYj1hsQ%3d%3d path: ../download/wsa-retail.zip download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/986a8270-404c-4470-871d-5c4090dcaa79?P1=1702461120&P2=404&P3=2&P4=EuCcEUC1fK5CpddgIy3jO8JLFOTkO0dc7MSEO8OjHhIyjhGo2eyZdU3SuiRxuGe3W3i%2f%2bJW%2b5ea5OJJ3o7eI3Q%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=1702461083&P2=404&P3=2&P4=itj%2frKCgRYzlkQq6%2b1xRgYN%2fjYwcNO%2b27T7DMASsZ0hTJD0l4GythyzmYXjx71PwHnwHU5gb0UQWd0gs18IrIQ%3d%3d path: ../download/Microsoft.UI.Xaml.2.8_x64.appx Generating Magisk download link: release type=stable Failed to fetch from GitHub API, fallbacking to jsdelivr... 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 12/13 17:39:47 [NOTICE] Downloading 6 item(s) 12/13 17:39:47 [NOTICE] Download complete: ../download/Microsoft.VCLibs.140.00_x64.appx [DL:26MiB][#ef3055 13MiB/1.3GiB(0%)][#e125f8 4.1MiB/6.4MiB(64%)][#2d8dce 3.8MiB/4.8MiB(79%)][#5a85f6 48KiB/11MiB(0%)][# 12/13 17:39:48 [NOTICE] Download complete: ../download/Microsoft.UI.Xaml.2.8_x64.appx 12/13 17:39:48 [NOTICE] Download complete: ../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx 12/13 17:39:49 [NOTICE] CUID#39 - Redirecting to https://jaist.dl.sourceforge.net/project/wsa-mtg/x86_64/20231028/MindTheGapps-13.0.0-x86_64-20231028.zip [DL:30MiB][#ef3055 71MiB/1.3GiB(5%)][#5a85f6 3.9MiB/11MiB(32%)][#059b6b 16KiB/188MiB(0%)] 12/13 17:39:51 [NOTICE] CUID#53 - Redirecting to https://jaist.dl.sourceforge.net/project/wsa-mtg/x86_64/20231028/MindTheGapps-13.0.0-x86_64-20231028.zip 12/13 17:39:51 [NOTICE] Download complete: ../download/magisk-stable.zip [DL:31MiB][#ef3055 126MiB/1.3GiB(9%)][#059b6b 1.1MiB/188MiB(0%)] 12/13 17:39:53 [NOTICE] CUID#55 - Redirecting to https://jaist.dl.sourceforge.net/project/wsa-mtg/x86_64/20231028/MindTheGapps-13.0.0-x86_64-20231028.zip [DL:32MiB][#ef3055 178MiB/1.3GiB(12%)][#059b6b 16MiB/188MiB(8%)] 12/13 17:39:55 [NOTICE] CUID#58 - Redirecting to https://jaist.dl.sourceforge.net/project/wsa-mtg/x86_64/20231028/MindTheGapps-13.0.0-x86_64-20231028.zip [DL:31MiB][#ef3055 225MiB/1.3GiB(16%)][#059b6b 30MiB/188MiB(16%)] 12/13 17:39:57 [NOTICE] CUID#57 - Redirecting to https://jaist.dl.sourceforge.net/project/wsa-mtg/x86_64/20231028/MindTheGapps-13.0.0-x86_64-20231028.zip [DL:32MiB][#ef3055 261MiB/1.3GiB(18%)][#059b6b 59MiB/188MiB(31%)] 12/13 17:39:59 [NOTICE] CUID#59 - Redirecting to https://jaist.dl.sourceforge.net/project/wsa-mtg/x86_64/20231028/MindTheGapps-13.0.0-x86_64-20231028.zip [DL:33MiB][#ef3055 297MiB/1.3GiB(21%)][#059b6b 99MiB/188MiB(52%)] 12/13 17:40:01 [NOTICE] CUID#54 - Redirecting to https://jaist.dl.sourceforge.net/project/wsa-mtg/x86_64/20231028/MindTheGapps-13.0.0-x86_64-20231028.zip [DL:40MiB][#ef3055 726MiB/1.3GiB(51%)][#059b6b 188MiB/188MiB(99%)] 12/13 17:40:14 [NOTICE] Download complete: ../download/MindTheGapps-x64-13.0.zip [#ef3055 1.3GiB/1.3GiB(99%) CN:1 DL:29MiB] 12/13 17:40:36 [NOTICE] Download complete: ../download/wsa-retail.zip Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= 0440d2|OK | 2.7MiB/s|../download/Microsoft.VCLibs.140.00_x64.appx 2d8dce|OK | 5.0MiB/s|../download/Microsoft.UI.Xaml.2.8_x64.appx e125f8|OK | 4.9MiB/s|../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx 5a85f6|OK | 4.1MiB/s|../download/magisk-stable.zip 059b6b|OK | 7.7MiB/s|../download/MindTheGapps-x64-13.0.zip ef3055|OK | 29MiB/s|../download/wsa-retail.zip Status Legend: (OK):download completed. Extract WSA unzipping WsaPackage_2310.40000.2.0_x64_Release-Nightly.msix to /tmp/wsa-build-OtOnfHbYs8_/wsa unzipping from /tmp/wsa-build-OtOnfHbYs8_/wsa/WsaPackage_2310.40000.2.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-OtOnfHbYs8_/gapps/system/system_ext/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk inflating: /tmp/wsa-build-OtOnfHbYs8_/gapps/system/system_ext/priv-app/GoogleFeedback/GoogleFeedback.apk inflating: /tmp/wsa-build-OtOnfHbYs8_/gapps/system/system_ext/etc/permissions/privapp-permissions-google-system-ext.xml inflating: /tmp/wsa-build-OtOnfHbYs8_/gapps/system/product/priv-app/Velvet/Velvet.apk inflating: /tmp/wsa-build-OtOnfHbYs8_/gapps/system/product/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk inflating: /tmp/wsa-build-OtOnfHbYs8_/gapps/system/product/priv-app/GmsCore/GmsCore.apk inflating: /tmp/wsa-build-OtOnfHbYs8_/gapps/system/product/priv-app/AndroidAutoStub/AndroidAutoStub.apk inflating: /tmp/wsa-build-OtOnfHbYs8_/gapps/system/product/priv-app/GoogleRestore/GoogleRestore.apk inflating: /tmp/wsa-build-OtOnfHbYs8_/gapps/system/product/priv-app/Phonesky/Phonesky.apk inflating: /tmp/wsa-build-OtOnfHbYs8_/gapps/system/product/framework/com.google.android.dialer.support.jar inflating: /tmp/wsa-build-OtOnfHbYs8_/gapps/system/product/lib/libjni_latinimegoogle.so inflating: /tmp/wsa-build-OtOnfHbYs8_/gapps/system/product/overlay/GmsSettingsProviderOverlay.apk inflating: /tmp/wsa-build-OtOnfHbYs8_/gapps/system/product/overlay/GmsOverlay.apk inflating: /tmp/wsa-build-OtOnfHbYs8_/gapps/system/product/etc/permissions/privapp-permissions-google-product.xml inflating: /tmp/wsa-build-OtOnfHbYs8_/gapps/system/product/etc/permissions/com.google.android.dialer.support.xml inflating: /tmp/wsa-build-OtOnfHbYs8_/gapps/system/product/etc/default-permissions/default-permissions-mtg.xml inflating: /tmp/wsa-build-OtOnfHbYs8_/gapps/system/product/etc/default-permissions/default-permissions-google.xml extracting: /tmp/wsa-build-OtOnfHbYs8_/gapps/system/product/etc/init/gapps.rc inflating: /tmp/wsa-build-OtOnfHbYs8_/gapps/system/product/etc/security/fsverity/gms_fsverity_cert.der inflating: /tmp/wsa-build-OtOnfHbYs8_/gapps/system/product/etc/sysconfig/d2d_cable_migration_feature.xml inflating: /tmp/wsa-build-OtOnfHbYs8_/gapps/system/product/etc/sysconfig/google.xml inflating: /tmp/wsa-build-OtOnfHbYs8_/gapps/system/product/etc/sysconfig/google_build.xml inflating: /tmp/wsa-build-OtOnfHbYs8_/gapps/system/product/etc/sysconfig/google-hiddenapi-package-allowlist.xml inflating: /tmp/wsa-build-OtOnfHbYs8_/gapps/system/product/app/PrebuiltExchange3Google/PrebuiltExchange3Google.apk inflating: /tmp/wsa-build-OtOnfHbYs8_/gapps/system/product/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk inflating: /tmp/wsa-build-OtOnfHbYs8_/gapps/system/product/app/GoogleCalendarSyncAdapter/GoogleCalendarSyncAdapter.apk inflating: /tmp/wsa-build-OtOnfHbYs8_/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-OtOnfHbYs8_/erofs. mount: /dev/loop1 mounted on /tmp/wsa-build-OtOnfHbYs8_/erofs/vendor. mount: /dev/loop2 mounted on /tmp/wsa-build-OtOnfHbYs8_/erofs/product. mount: /dev/loop3 mounted on /tmp/wsa-build-OtOnfHbYs8_/erofs/system_ext. done Create overlayfs mk_overlayfs: label system lowerdir=/tmp/wsa-build-OtOnfHbYs8_/erofs upperdir=/tmp/wsa-build-OtOnfHbYs8_/upper/system workdir=/tmp/wsa-build-OtOnfHbYs8_/worker/system merged=/tmp/wsa-build-OtOnfHbYs8_/system_root_merged mount: overlay mounted on /tmp/wsa-build-OtOnfHbYs8_/system_root_merged. mk_overlayfs: label vendor lowerdir=/tmp/wsa-build-OtOnfHbYs8_/erofs/vendor upperdir=/tmp/wsa-build-OtOnfHbYs8_/upper/vendor workdir=/tmp/wsa-build-OtOnfHbYs8_/worker/vendor merged=/tmp/wsa-build-OtOnfHbYs8_/system_root_merged/vendor mount: overlay mounted on /tmp/wsa-build-OtOnfHbYs8_/system_root_merged/vendor. mk_overlayfs: label product lowerdir=/tmp/wsa-build-OtOnfHbYs8_/erofs/product upperdir=/tmp/wsa-build-OtOnfHbYs8_/upper/product workdir=/tmp/wsa-build-OtOnfHbYs8_/worker/product merged=/tmp/wsa-build-OtOnfHbYs8_/system_root_merged/product mount: overlay mounted on /tmp/wsa-build-OtOnfHbYs8_/system_root_merged/product. mk_overlayfs: label system_ext lowerdir=/tmp/wsa-build-OtOnfHbYs8_/erofs/system_ext upperdir=/tmp/wsa-build-OtOnfHbYs8_/upper/system_ext workdir=/tmp/wsa-build-OtOnfHbYs8_/worker/system_ext merged=/tmp/wsa-build-OtOnfHbYs8_/system_root_merged/system_ext mount: overlay mounted on /tmp/wsa-build-OtOnfHbYs8_/system_root_merged/system_ext. Create overlayfs 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-OtOnfHbYs8_/system_root_merged/system/etc/init/hw/init.zygote32.rc awk: not an option: -i Inject zygote restart /tmp/wsa-build-OtOnfHbYs8_/system_root_merged/system/etc/init/hw/init.zygote64_32.rc awk: not an option: -i Inject zygote restart /tmp/wsa-build-OtOnfHbYs8_/system_root_merged/system/etc/init/hw/init.zygote64.rc awk: not an option: -i Integrate Magisk done Add extra packages Add extra packages done Integrate MindTheGapps Integrate MindTheGapps done Fix MindTheGapps prop fixing /tmp/wsa-build-OtOnfHbYs8_/system_root_merged/system/build.prop fixing /tmp/wsa-build-OtOnfHbYs8_/system_root_merged/vendor/build.prop fixing /tmp/wsa-build-OtOnfHbYs8_/system_root_merged/vendor/odm/etc/build.prop done Create system images mk_image_umount: /tmp/wsa-build-OtOnfHbYs8_/system_root_merged/vendor /tmp/wsa-build-OtOnfHbYs8_/wsa/x64/vendor.img /tmp/wsa-build-OtOnfHbYs8_/upper/vendor ext4 ERROR: Not yet implemented Build: an error has occurred, exit Cleanup Work Directory Cleanup Mount Directory umount: /tmp/wsa-build-OtOnfHbYs8_/erofs/vendor unmounted umount: /tmp/wsa-build-OtOnfHbYs8_/erofs/system_ext unmounted umount: /tmp/wsa-build-OtOnfHbYs8_/erofs/product unmounted umount: /tmp/wsa-build-OtOnfHbYs8_/erofs unmounted umount: /tmp/wsa-build-OtOnfHbYs8_/system_root_merged/vendor (overlay) unmounted umount: /tmp/wsa-build-OtOnfHbYs8_/system_root_merged/system_ext (overlay) unmounted umount: /tmp/wsa-build-OtOnfHbYs8_/system_root_merged/product (overlay) unmounted umount: /tmp/wsa-build-OtOnfHbYs8_/system_root_merged (overlay) unmounted deactivate python3 venv Cleanup Download Directory ``` [//]: <> (Don't modify below)
serega2004 commented 8 months ago

Use this fork instead. It fixes this issue.

The-MAZZTer commented 8 months ago

I can confirm that fork resolves the issue for me.

(I was building with WSL Ubuntu.,)

mascc commented 8 months ago

same error

ARRed98 commented 8 months ago

even with the fork i still have the same issue, running on ubuntu wsl

JohnL0622 commented 7 months ago

I have a similar error message Create system images mk_imageumount: /tmp/wsa-build-CtjsWlgEOT/system_rootmerged/vendor /tmp/wsa-build-CtjsWlgEOT/wsa/x64/vendor.img /tmp/wsa-build-CtjsWlgEOT_/upper/vendor ext4 ERROR: Not yet implemented Build: an error has occurred, exit

yuki12127 commented 7 months ago

I completed it without error by using the above fork.

Victor333Huesca commented 7 months ago

Thanks to @sn-o-w for the fork, works like a charm 👍 Any reason why you did not open a pull request so it gets fixed upstream? Don't you mind if I do it?

Maxou44 commented 6 months ago

Thanks @serega2004 the fork works!