LSPosed / MagiskOnWSALocal

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

[Bug] "output" folder and it;s intended contents not generated by run.sh #762

Closed Fern-Leaves closed 8 months ago

Fern-Leaves commented 10 months ago

Steps to reproduce/复现步骤

  1. have pc setup in the same way I do (same windows version, WSL Ubuntu Version, etc)
  2. follow the text guide

Expected behaviour/预期行为

output folder is created and zip file is outputted into it.

Actual behaviour/实际行为

no output folder appears, the download folder is there, but not the output one.

base folder: image interior of download folder: image

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

https://github.com/LSPosed/MagiskOnWSALocal/commit/d44a77be84fac312d343ac501b497828209da089

Linux distribution info/Linux 发行版信息

WSL Ubuntu 2204.3.49.0

Windows version/Windows 版本

Settings says: 26020.1000 | Desktop says: Build 26020.rs_prerelease.231214-1452

Build Parameters/构建参数

COMMAND_LINE=--arch x64 --release-type retail --root-sol magisk --gapps-brand MindTheGapps --compress --magisk-ver stable --compress-format zip

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 zip 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: zip Build: RELEASE_TYPE=Retail Generate Download Links Generating WSA download link: arch=x64 release_type=Retail WSA Build Version=2311.40000.5.0 download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/9f21fa47-fe2c-4f89-804e-e2b697f0bb14?P1=1705194334&P2=404&P3=2&P4=OXJcDEGat9XiD75Lp%2fdILzntLhzgfz6Au5qPyiJc4iDCg9DV2rAS7Gnw6jz731LTxpp%2bI%2f%2bQZw4pnbRHC6Htlg%3d%3d path: ../download/wsa-retail.zip download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/28edaebf-8019-4844-ba32-8ab019bc9391?P1=1705166969&P2=404&P3=2&P4=PZS6d29Et40%2fMqO0wuL4Y%2f9Q6VaGvPN9O0Xcw8wkM3CnKGXICFRBNzIKjeQoCfyH%2bbWLeZEBmP6mFjtjzZBhLg%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=1705167070&P2=404&P3=2&P4=Ebga2Z1KDrr5BfNViyTHA7VQFnW%2fs5H0%2fQto9jPX3qOoQBPDJSxszbUVRI1TrAazObD%2fhVgZewRVV2cNkTt2Qw%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=1705167058&P2=404&P3=2&P4=QWWwH9gL74RwYSgr77pTWRIy%2fX8cvvD3Zt2ZzQ%2bgdC1ZZY80q0HR25XbyNLjx9ilpy5wHfz5E%2fm%2fcTxgy8loWA%3d%3d path: ../download/Microsoft.UI.Xaml.2.8_x64.appx 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 01/13 17:19:24 [NOTICE] Downloading 6 item(s) 01/13 17:19:25 [NOTICE] Download complete: ../download/Microsoft.VCLibs.140.00_x64.appx [DL:10MiB][#1e9ed0 5.4MiB/1.3GiB(0%)][#ebe43d 0.9MiB/6.4MiB(15%)][#53005f 1.2MiB/4.8MiB(25%)][#3bad86 320Ki 01/13 17:19:26 [NOTICE] CUID#51 - Redirecting to https://kumisystems.dl.sourceforge.net/project/wsa-mtg/x86_64/20231028/MindTheGapps-13.0.0-x86_64-20231028.zip [DL:13MiB][#1e9ed0 18MiB/1.3GiB(1%)][#ebe43d 2.2MiB/6.4MiB(35%)][#53005f 3.3MiB/4.8MiB(69%)][#3bad86 384KiB 01/13 17:19:27 [NOTICE] Download complete: ../download/Microsoft.UI.Xaml.2.8_x64.appx [DL:14MiB][#1e9ed0 30MiB/1.3GiB(2%)][#ebe43d 3.4MiB/6.4MiB(53%)][#3bad86 432KiB/11MiB(3%)][#1cd2aa 112KiB/1 01/13 17:19:28 [NOTICE] CUID#53 - Redirecting to https://netix.dl.sourceforge.net/project/wsa-mtg/x86_64/20231028/MindTheGapps-13.0.0-x86_64-20231028.zip [DL:14MiB][#1e9ed0 57MiB/1.3GiB(4%)][#ebe43d 5.7MiB/6.4MiB(89%)][#3bad86 544KiB/11MiB(4%)][#1cd2aa 336KiB/1 01/13 17:19:30 [NOTICE] Download complete: ../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx 01/13 17:19:30 [NOTICE] CUID#57 - Redirecting to https://kumisystems.dl.sourceforge.net/project/wsa-mtg/x86_64/20231028/MindTheGapps-13.0.0-x86_64-20231028.zip [DL:14MiB][#1e9ed0 83MiB/1.3GiB(5%)][#3bad86 624KiB/11MiB(5%)][#1cd2aa 544KiB/188MiB(0%)] 01/13 17:19:32 [NOTICE] CUID#58 - Redirecting to https://kumisystems.dl.sourceforge.net/project/wsa-mtg/x86_64/20231028/MindTheGapps-13.0.0-x86_64-20231028.zip [DL:14MiB][#1e9ed0 111MiB/1.3GiB(7%)][#3bad86 688KiB/11MiB(5%)][#1cd2aa 736KiB/188MiB(0%)] 01/13 17:19:34 [NOTICE] CUID#54 - Redirecting to https://kumisystems.dl.sourceforge.net/project/wsa-mtg/x86_64/20231028/MindTheGapps-13.0.0-x86_64-20231028.zip [DL:14MiB][#1e9ed0 138MiB/1.3GiB(9%)][#3bad86 816KiB/11MiB(6%)][#1cd2aa 1.2MiB/188MiB(0%)] 01/13 17:19:36 [NOTICE] CUID#59 - Redirecting to https://deac-ams.dl.sourceforge.net/project/wsa-mtg/x86_64/20231028/MindTheGapps-13.0.0-x86_64-20231028.zip [DL:14MiB][#1e9ed0 165MiB/1.3GiB(11%)][#3bad86 0.9MiB/11MiB(8%)][#1cd2aa 1.9MiB/188MiB(1%)] 01/13 17:19:38 [NOTICE] CUID#56 - Redirecting to https://deac-ams.dl.sourceforge.net/project/wsa-mtg/x86_64/20231028/MindTheGapps-13.0.0-x86_64-20231028.zip [DL:13MiB][#1e9ed0 192MiB/1.3GiB(13%)][#3bad86 1.1MiB/11MiB(9%)][#1cd2aa 2.6MiB/188MiB(1%)] 01/13 17:19:40 [NOTICE] CUID#55 - Redirecting to https://deac-riga.dl.sourceforge.net/project/wsa-mtg/x86_64/20231028/MindTheGapps-13.0.0-x86_64-20231028.zip *** Download Progress Summary as of Sat Jan 13 17:20:25 2024 *** =========================================================================================================== [#1e9ed0 771MiB/1.3GiB(54%) CN:16 DL:12MiB ETA:49s] FILE: ../download/wsa-retail.zip ----------------------------------------------------------------------------------------------------------- [#3bad86 4.5MiB/11MiB(37%) CN:1 DL:61KiB ETA:2m4s] FILE: ../download/magisk-stable.zip ----------------------------------------------------------------------------------------------------------- [#1cd2aa 20MiB/188MiB(10%) CN:8 DL:303KiB ETA:9m27s] FILE: ../download/MindTheGapps-x64-13.0.zip ----------------------------------------------------------------------------------------------------------- [DL:12MiB][#1e9ed0 1.3GiB/1.3GiB(98%)][#3bad86 11MiB/11MiB(93%)][#1cd2aa 52MiB/188MiB(27%)] 01/13 17:21:19 [NOTICE] Download complete: ../download/magisk-stable.zip [DL:11MiB][#1e9ed0 1.3GiB/1.3GiB(99%)][#1cd2aa 59MiB/188MiB(31%)] 01/13 17:21:21 [NOTICE] Download complete: ../download/wsa-retail.zip *** Download Progress Summary as of Sat Jan 13 17:21:25 2024 *** =========================================================================================================== [#1cd2aa 84MiB/188MiB(44%) CN:8 DL:3.8MiB ETA:26s] FILE: ../download/MindTheGapps-x64-13.0.zip ----------------------------------------------------------------------------------------------------------- [#1cd2aa 188MiB/188MiB(99%) CN:1 DL:444KiB ETA:1s] 01/13 17:22:17 [NOTICE] Download complete: ../download/MindTheGapps-x64-13.0.zip Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= 5b854f|OK | 1.4MiB/s|../download/Microsoft.VCLibs.140.00_x64.appx 53005f|OK | 1.7MiB/s|../download/Microsoft.UI.Xaml.2.8_x64.appx ebe43d|OK | 1.1MiB/s|../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx 3bad86|OK | 106KiB/s|../download/magisk-stable.zip 1e9ed0|OK | 12MiB/s|../download/wsa-retail.zip 1cd2aa|OK | 1.1MiB/s|../download/MindTheGapps-x64-13.0.zip Status Legend: (OK):download completed. Extract WSA unzipping WsaPackage_2311.40000.5.0_x64_Release-Nightly.msix to /tmp/wsa-build-pRHXslwS4W_/wsa unzipping from /tmp/wsa-build-pRHXslwS4W_/wsa/WsaPackage_2311.40000.5.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-pRHXslwS4W_/gapps/system/system_ext/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk inflating: /tmp/wsa-build-pRHXslwS4W_/gapps/system/system_ext/priv-app/GoogleFeedback/GoogleFeedback.apk inflating: /tmp/wsa-build-pRHXslwS4W_/gapps/system/system_ext/etc/permissions/privapp-permissions-google-system-ext.xml inflating: /tmp/wsa-build-pRHXslwS4W_/gapps/system/product/priv-app/Velvet/Velvet.apk inflating: /tmp/wsa-build-pRHXslwS4W_/gapps/system/product/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk inflating: /tmp/wsa-build-pRHXslwS4W_/gapps/system/product/priv-app/GmsCore/GmsCore.apk inflating: /tmp/wsa-build-pRHXslwS4W_/gapps/system/product/priv-app/AndroidAutoStub/AndroidAutoStub.apk inflating: /tmp/wsa-build-pRHXslwS4W_/gapps/system/product/priv-app/GoogleRestore/GoogleRestore.apk inflating: /tmp/wsa-build-pRHXslwS4W_/gapps/system/product/priv-app/Phonesky/Phonesky.apk inflating: /tmp/wsa-build-pRHXslwS4W_/gapps/system/product/framework/com.google.android.dialer.support.jar inflating: /tmp/wsa-build-pRHXslwS4W_/gapps/system/product/lib/libjni_latinimegoogle.so inflating: /tmp/wsa-build-pRHXslwS4W_/gapps/system/product/overlay/GmsSettingsProviderOverlay.apk inflating: /tmp/wsa-build-pRHXslwS4W_/gapps/system/product/overlay/GmsOverlay.apk inflating: /tmp/wsa-build-pRHXslwS4W_/gapps/system/product/etc/permissions/privapp-permissions-google-product.xml inflating: /tmp/wsa-build-pRHXslwS4W_/gapps/system/product/etc/permissions/com.google.android.dialer.support.xml inflating: /tmp/wsa-build-pRHXslwS4W_/gapps/system/product/etc/default-permissions/default-permissions-mtg.xml inflating: /tmp/wsa-build-pRHXslwS4W_/gapps/system/product/etc/default-permissions/default-permissions-google.xml extracting: /tmp/wsa-build-pRHXslwS4W_/gapps/system/product/etc/init/gapps.rc inflating: /tmp/wsa-build-pRHXslwS4W_/gapps/system/product/etc/security/fsverity/gms_fsverity_cert.der inflating: /tmp/wsa-build-pRHXslwS4W_/gapps/system/product/etc/sysconfig/d2d_cable_migration_feature.xml inflating: /tmp/wsa-build-pRHXslwS4W_/gapps/system/product/etc/sysconfig/google.xml inflating: /tmp/wsa-build-pRHXslwS4W_/gapps/system/product/etc/sysconfig/google_build.xml inflating: /tmp/wsa-build-pRHXslwS4W_/gapps/system/product/etc/sysconfig/google-hiddenapi-package-allowlist.xml inflating: /tmp/wsa-build-pRHXslwS4W_/gapps/system/product/app/PrebuiltExchange3Google/PrebuiltExchange3Google.apk inflating: /tmp/wsa-build-pRHXslwS4W_/gapps/system/product/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk inflating: /tmp/wsa-build-pRHXslwS4W_/gapps/system/product/app/GoogleCalendarSyncAdapter/GoogleCalendarSyncAdapter.apk inflating: /tmp/wsa-build-pRHXslwS4W_/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-pRHXslwS4W_/erofs. mount: /dev/loop1 mounted on /tmp/wsa-build-pRHXslwS4W_/erofs/vendor. mount: /dev/loop2 mounted on /tmp/wsa-build-pRHXslwS4W_/erofs/product. mount: /dev/loop3 mounted on /tmp/wsa-build-pRHXslwS4W_/erofs/system_ext. done Create overlayfs mk_overlayfs: label system lowerdir=/tmp/wsa-build-pRHXslwS4W_/erofs upperdir=/tmp/wsa-build-pRHXslwS4W_/upper/system workdir=/tmp/wsa-build-pRHXslwS4W_/worker/system merged=/tmp/wsa-build-pRHXslwS4W_/system_root_merged mount: overlay mounted on /tmp/wsa-build-pRHXslwS4W_/system_root_merged. mk_overlayfs: label vendor lowerdir=/tmp/wsa-build-pRHXslwS4W_/erofs/vendor upperdir=/tmp/wsa-build-pRHXslwS4W_/upper/vendor workdir=/tmp/wsa-build-pRHXslwS4W_/worker/vendor merged=/tmp/wsa-build-pRHXslwS4W_/system_root_merged/vendor mount: overlay mounted on /tmp/wsa-build-pRHXslwS4W_/system_root_merged/vendor. mk_overlayfs: label product lowerdir=/tmp/wsa-build-pRHXslwS4W_/erofs/product upperdir=/tmp/wsa-build-pRHXslwS4W_/upper/product workdir=/tmp/wsa-build-pRHXslwS4W_/worker/product merged=/tmp/wsa-build-pRHXslwS4W_/system_root_merged/product mount: overlay mounted on /tmp/wsa-build-pRHXslwS4W_/system_root_merged/product. mk_overlayfs: label system_ext lowerdir=/tmp/wsa-build-pRHXslwS4W_/erofs/system_ext upperdir=/tmp/wsa-build-pRHXslwS4W_/upper/system_ext workdir=/tmp/wsa-build-pRHXslwS4W_/worker/system_ext merged=/tmp/wsa-build-pRHXslwS4W_/system_root_merged/system_ext mount: overlay mounted on /tmp/wsa-build-pRHXslwS4W_/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-pRHXslwS4W_/system_root_merged/system/etc/init/hw/init.zygote32.rc Inject zygote restart /tmp/wsa-build-pRHXslwS4W_/system_root_merged/system/etc/init/hw/init.zygote64.rc Inject zygote restart /tmp/wsa-build-pRHXslwS4W_/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-pRHXslwS4W_/system_root_merged/system/build.prop fixing /tmp/wsa-build-pRHXslwS4W_/system_root_merged/vendor/build.prop fixing /tmp/wsa-build-pRHXslwS4W_/system_root_merged/vendor/odm/etc/build.prop done Create system images mk_image_umount: /tmp/wsa-build-pRHXslwS4W_/system_root_merged/vendor /tmp/wsa-build-pRHXslwS4W_/wsa/x64/vendor.img /tmp/wsa-build-pRHXslwS4W_/upper/vendor ext4 ERROR: Not yet implemented Build: an error has occurred, exit Cleanup Work Directory Cleanup Mount Directory umount: /tmp/wsa-build-pRHXslwS4W_/erofs/vendor unmounted umount: /tmp/wsa-build-pRHXslwS4W_/erofs/system_ext unmounted umount: /tmp/wsa-build-pRHXslwS4W_/erofs/product unmounted umount: /tmp/wsa-build-pRHXslwS4W_/erofs unmounted umount: /tmp/wsa-build-pRHXslwS4W_/system_root_merged/vendor (overlay) unmounted umount: /tmp/wsa-build-pRHXslwS4W_/system_root_merged/system_ext (overlay) unmounted umount: /tmp/wsa-build-pRHXslwS4W_/system_root_merged/product (overlay) unmounted umount: /tmp/wsa-build-pRHXslwS4W_/system_root_merged (overlay) unmounted Cleanup Download Directory ``` [//]: <> (Don't modify below)
Chuhe2399 commented 10 months ago

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-eVjbEjEIQx/system_rootmerged/system/etc/init/hw/init.zygote32.rc awk: not an option: -i Inject zygote restart /tmp/wsa-build-eVjbEjEIQx/system_root_merged/system/etc/init/hw/init.zygote6432.rc awk: not an option: -i Inject zygote restart /tmp/wsa-build-eVjbEjEIQx/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-eVjbEjEIQx_/system_rootmerged/system/build.prop fixing /tmp/wsa-build-eVjbEjEIQx/system_rootmerged/vendor/build.prop fixing /tmp/wsa-build-eVjbEjEIQx/system_root_merged/vendor/odm/etc/build.prop done

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

Cleanup Work Directory Cleanup Mount Directory umount: /tmp/wsa-build-eVjbEjEIQx/erofs/vendor unmounted umount: /tmp/wsa-build-eVjbEjEIQx/erofs/systemext unmounted umount: /tmp/wsa-build-eVjbEjEIQx/erofs/product unmounted umount: /tmp/wsa-build-eVjbEjEIQx/erofs unmounted umount: /tmp/wsa-build-eVjbEjEIQx/system_rootmerged/vendor (overlay) unmounted umount: /tmp/wsa-build-eVjbEjEIQx/system_root_merged/systemext (overlay) unmounted umount: /tmp/wsa-build-eVjbEjEIQx/system_rootmerged/product (overlay) unmounted umount: /tmp/wsa-build-eVjbEjEIQx/system_root_merged (overlay) unmounted deactivate python3 venv Cleanup Download Directory root@JGINYUE:/usr/MagiskOnWSALocal#

您的输出显示了在集成Magisk、添加额外软件包、集成MindTheGapps等过程中的一些步骤和错误。让我们一步一步分析:

Integrate Magisk: 这一步显示Magisk集成已完成。

Add extra packages: 添加额外软件包也完成了。

Integrate MindTheGapps: MindTheGapps集成也完成了。

Fix MindTheGapps prop: 修复了MindTheGapps的属性。

Create system images: 这一步出现了错误,显示 "ERROR: Not yet implemented"。这可能是由于某些操作系统或工具版本问题导致的,或者是某些功能尚未完全实现。您可能需要检查相关文档,了解是否有关于这个错误的解决方案或更新。

请确保您正在使用的工具和操作系统版本是与文档或支持的要求相匹配的。您还可以尝试查看相关工具或项目的社区论坛,看看其他用户是否遇到过类似的问题并找到了解决方案。

如果您需要更详细的帮助,建议查看相关工具或项目的官方文档,或在相关社区中寻求帮助。

我的构建出现这个问题,我不知道咋解决

kp-emagine commented 10 months ago

I can second this.

vickydj commented 10 months ago

Is this fixed? Why are there no version tags on this repo? It hinders us from getting old versions if there are bugs in the latest update.

darthlogic commented 10 months ago

Seeing this lack of /output folder as well.

50l3r commented 10 months ago

follow this steps: https://github.com/LSPosed/MagiskOnWSALocal/issues/716

darthlogic commented 10 months ago

follow this steps: #716

Thank you this worked!

killerrin commented 10 months ago

I'm getting the same issue, however #716 isn't working for me

Cymrix commented 9 months ago

follow this steps: #716

This worked for me too. I copy/pasted the new build.sh contents into the \MagiskOnWSALocal\script\build.sh file, replacing everything that was in there, using Windows explorer and a file editor (VScode).