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] No output folder #716

Closed Vladusas closed 9 months ago

Vladusas commented 1 year ago

Steps to reproduce/复现步骤

seems to occur only for some users

Expected behaviour/预期行为

run.sh script creates a folder named "output"

Actual behaviour/实际行为

an error occurres ERROR: Not yet implemented Build: an error has occurred, exit

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

8548114

Linux distribution info/Linux 发行版信息

Ubuntu on WSL

Windows version/Windows 版本

Windows 11 pro 22H2 (22621.2428)

Build Parameters/构建参数

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

Version requirement/版本要求

Logs/日志

[//]: <> (Don't modify above) ``` COMMAND_LINE=--arch x64 --release-type retail --root-sol magisk --gapps-brand MindTheGapps --remove-amazon --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=2308.40000.4.0 download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/28edaebf-8019-4844-ba32-8ab019bc9391?P1=1698184514&P2=404&P3=2&P4=BcbrzfGkRrLYuT7HAcJBCr8Z0nIlClqCrcx67LOAIlTfHDv%2fHnevxHEw%2bHK0xDApgNtGIjEA902CnrDv8BLFmQ%3d%3d path: ../download/Microsoft.VCLibs.140.00_x64.appx download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/16f3fac4-75ab-484d-8e8a-fcbc560cd6df?P1=1698212399&P2=404&P3=2&P4=CHug9r6P79%2bqTNht6C3%2btoHJ4VT59dC6fpQxboFVvscRdvKKjmR6PDTNwv64PXz7oiGrA62xH3ygCE1z1hH9Iw%3d%3d path: ../download/wsa-retail.zip download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/986a8270-404c-4470-871d-5c4090dcaa79?P1=1698184592&P2=404&P3=2&P4=BCdLc7p83ph2i1Zhn%2bjsrlcFHcKRCGQNk8hDLFXa0J9LMlTaOsL5KcKucH0U4MsrYvPSvJ8%2fKhP0IpiE5UsTeA%3d%3d path: ../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/21a6f30d-0ec0-46da-92cf-04e35cf18efc?P1=1698184592&P2=404&P3=2&P4=jhIlIB3%2bg7%2beHqSFPmCybLl3443HEI6aomwS8z4Gr9LAiOqrIjZtRQnqezsVXCdLcwWr3hDi%2bX3sBz5eJe4biw%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.3/app-release.apk Generating MindTheGapps download link: arch=x64 variant=pico download link: https://downloads.sourceforge.net/project/wsa-mtg/x86_64/20230920/MindTheGapps-13.0.0-x86_64-20230920.zip Download Artifacts 10/24 23:45:22 [NOTICE] Downloading 6 item(s) [DL:6.0MiB][#3506eb 848KiB/872KiB(97%)][#062377 1.2MiB/1.3GiB(0%)][#9a5aa3 1.2MiB/6.4MiB(19%)][#0672a1 0.9MiB/4.8MiB(19 10/24 23:45:23 [NOTICE] Download complete: ../download/Microsoft.VCLibs.140.00_x64.appx 10/24 23:45:23 [NOTICE] CUID#51 - Redirecting to https://deac-fra.dl.sourceforge.net/project/wsa-mtg/x86_64/20230920/MindTheGapps-13.0.0-x86_64-20230920.zip [DL:6.8MiB][#062377 10MiB/1.3GiB(0%)][#9a5aa3 2.8MiB/6.4MiB(43%)][#0672a1 2.8MiB/4.8MiB(59%)][#3c9694 2.5MiB/11MiB(20%) 10/24 23:45:25 [NOTICE] CUID#53 - Redirecting to https://deac-fra.dl.sourceforge.net/project/wsa-mtg/x86_64/20230920/MindTheGapps-13.0.0-x86_64-20230920.zip [DL:6.8MiB][#062377 21MiB/1.3GiB(1%)][#9a5aa3 3.8MiB/6.4MiB(59%)][#0672a1 4.1MiB/4.8MiB(84%)][#3c9694 3.4MiB/11MiB(28%) 10/24 23:45:27 [NOTICE] CUID#59 - Redirecting to https://deac-fra.dl.sourceforge.net/project/wsa-mtg/x86_64/20230920/MindTheGapps-13.0.0-x86_64-20230920.zip [DL:6.8MiB][#062377 26MiB/1.3GiB(1%)][#9a5aa3 4.2MiB/6.4MiB(66%)][#0672a1 4.6MiB/4.8MiB(95%)][#3c9694 4.1MiB/11MiB(34%) 10/24 23:45:28 [NOTICE] Download complete: ../download/Microsoft.UI.Xaml.2.8_x64.appx [DL:6.8MiB][#062377 31MiB/1.3GiB(2%)][#9a5aa3 4.7MiB/6.4MiB(74%)][#3c9694 4.8MiB/11MiB(40%)][#380c8c 144KiB/188MiB(0%)] 10/24 23:45:29 [NOTICE] CUID#55 - Redirecting to https://deac-ams.dl.sourceforge.net/project/wsa-mtg/x86_64/20230920/MindTheGapps-13.0.0-x86_64-20230920.zip [DL:6.8MiB][#062377 42MiB/1.3GiB(3%)][#9a5aa3 5.9MiB/6.4MiB(92%)][#3c9694 6.0MiB/11MiB(50%)][#380c8c 320KiB/188MiB(0%)] 10/24 23:45:31 [NOTICE] CUID#58 - Redirecting to https://deac-ams.dl.sourceforge.net/project/wsa-mtg/x86_64/20230920/MindTheGapps-13.0.0-x86_64-20230920.zip 10/24 23:45:31 [NOTICE] Download complete: ../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx [DL:6.9MiB][#062377 54MiB/1.3GiB(3%)][#3c9694 7.3MiB/11MiB(61%)][#380c8c 576KiB/188MiB(0%)] 10/24 23:45:33 [NOTICE] CUID#54 - Redirecting to https://deac-fra.dl.sourceforge.net/project/wsa-mtg/x86_64/20230920/MindTheGapps-13.0.0-x86_64-20230920.zip [DL:6.8MiB][#062377 72MiB/1.3GiB(5%)][#3c9694 8.8MiB/11MiB(74%)][#380c8c 1.0MiB/188MiB(0%)] 10/24 23:45:36 [NOTICE] CUID#57 - Redirecting to https://netcologne.dl.sourceforge.net/project/wsa-mtg/x86_64/20230920/MindTheGapps-13.0.0-x86_64-20230920.zip [DL:6.8MiB][#062377 78MiB/1.3GiB(5%)][#3c9694 9.3MiB/11MiB(78%)][#380c8c 1.1MiB/188MiB(0%)] 10/24 23:45:37 [NOTICE] CUID#56 - Redirecting to https://deac-fra.dl.sourceforge.net/project/wsa-mtg/x86_64/20230920/MindTheGapps-13.0.0-x86_64-20230920.zip [DL:6.8MiB][#062377 109MiB/1.3GiB(7%)][#3c9694 11MiB/11MiB(98%)][#380c8c 2.4MiB/188MiB(1%)] 10/24 23:45:42 [NOTICE] Download complete: ../download/magisk-stable.zip *** Download Progress Summary as of Tue Oct 24 23:46:22 2023 *** ======================================================================================================================= [#062377 351MiB/1.3GiB(25%) CN:16 DL:5.3MiB ETA:3m15s] FILE: ../download/wsa-retail.zip ----------------------------------------------------------------------------------------------------------------------- [#380c8c 12MiB/188MiB(6%) CN:8 DL:243KiB ETA:12m23s] FILE: ../download/MindTheGapps-x64-13.0.zip ----------------------------------------------------------------------------------------------------------------------- *** Download Progress Summary as of Tue Oct 24 23:47:23 2023 *** ======================================================================================================================= [#062377 741MiB/1.3GiB(53%) CN:16 DL:6.3MiB ETA:1m42s] FILE: ../download/wsa-retail.zip ----------------------------------------------------------------------------------------------------------------------- [#380c8c 27MiB/188MiB(14%) CN:8 DL:259KiB ETA:10m37s] FILE: ../download/MindTheGapps-x64-13.0.zip ----------------------------------------------------------------------------------------------------------------------- *** Download Progress Summary as of Tue Oct 24 23:48:23 2023 *** ======================================================================================================================= [#062377 1.1GiB/1.3GiB(81%) CN:16 DL:6.4MiB ETA:40s] FILE: ../download/wsa-retail.zip ----------------------------------------------------------------------------------------------------------------------- [#380c8c 39MiB/188MiB(21%) CN:8 DL:202KiB ETA:12m33s] FILE: ../download/MindTheGapps-x64-13.0.zip ----------------------------------------------------------------------------------------------------------------------- [DL:6.9MiB][#062377 1.3GiB/1.3GiB(99%)][#380c8c 53MiB/188MiB(28%)] 10/24 23:49:04 [NOTICE] Download complete: ../download/wsa-retail.zip *** Download Progress Summary as of Tue Oct 24 23:49:24 2023 *** ======================================================================================================================= [#380c8c 114MiB/188MiB(60%) CN:5 DL:2.8MiB ETA:26s] FILE: ../download/MindTheGapps-x64-13.0.zip ----------------------------------------------------------------------------------------------------------------------- *** Download Progress Summary as of Tue Oct 24 23:50:24 2023 *** ======================================================================================================================= [#380c8c 179MiB/188MiB(95%) CN:2 DL:1.6MiB ETA:5s] FILE: ../download/MindTheGapps-x64-13.0.zip ----------------------------------------------------------------------------------------------------------------------- [#380c8c 183MiB/188MiB(97%) CN:1 DL:300KiB ETA:18s] 10/24 23:50:35 [NOTICE] Download complete: ../download/MindTheGapps-x64-13.0.zip Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= 3506eb|OK | 908KiB/s|../download/Microsoft.VCLibs.140.00_x64.appx 0672a1|OK | 793KiB/s|../download/Microsoft.UI.Xaml.2.8_x64.appx 9a5aa3|OK | 678KiB/s|../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx 3c9694|OK | 607KiB/s|../download/magisk-stable.zip 062377|OK | 6.2MiB/s|../download/wsa-retail.zip 380c8c|OK | 623KiB/s|../download/MindTheGapps-x64-13.0.zip Status Legend: (OK):download completed. Extract WSA unzipping WsaPackage_2308.40000.4.0_x64_Release-Nightly.msix to /tmp/wsa-build-S97aWQaaAv_/wsa unzipping from /tmp/wsa-build-S97aWQaaAv_/wsa/WsaPackage_2308.40000.4.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-S97aWQaaAv_/gapps/system/product/lib/libjni_latinimegoogle.so inflating: /tmp/wsa-build-S97aWQaaAv_/gapps/system/product/overlay/GmsSettingsProviderOverlay.apk inflating: /tmp/wsa-build-S97aWQaaAv_/gapps/system/product/overlay/GmsOverlay.apk inflating: /tmp/wsa-build-S97aWQaaAv_/gapps/system/product/etc/security/fsverity/gms_fsverity_cert.der inflating: /tmp/wsa-build-S97aWQaaAv_/gapps/system/product/etc/permissions/privapp-permissions-google-product.xml inflating: /tmp/wsa-build-S97aWQaaAv_/gapps/system/product/etc/permissions/com.google.android.dialer.support.xml extracting: /tmp/wsa-build-S97aWQaaAv_/gapps/system/product/etc/init/gapps.rc inflating: /tmp/wsa-build-S97aWQaaAv_/gapps/system/product/etc/default-permissions/default-permissions-mtg.xml inflating: /tmp/wsa-build-S97aWQaaAv_/gapps/system/product/etc/default-permissions/default-permissions-google.xml inflating: /tmp/wsa-build-S97aWQaaAv_/gapps/system/product/etc/sysconfig/google_build.xml inflating: /tmp/wsa-build-S97aWQaaAv_/gapps/system/product/etc/sysconfig/google.xml inflating: /tmp/wsa-build-S97aWQaaAv_/gapps/system/product/etc/sysconfig/d2d_cable_migration_feature.xml inflating: /tmp/wsa-build-S97aWQaaAv_/gapps/system/product/etc/sysconfig/google-hiddenapi-package-allowlist.xml inflating: /tmp/wsa-build-S97aWQaaAv_/gapps/system/product/lib64/libjni_latinimegoogle.so inflating: /tmp/wsa-build-S97aWQaaAv_/gapps/system/product/app/GoogleCalendarSyncAdapter/GoogleCalendarSyncAdapter.apk inflating: /tmp/wsa-build-S97aWQaaAv_/gapps/system/product/app/PrebuiltExchange3Google/PrebuiltExchange3Google.apk inflating: /tmp/wsa-build-S97aWQaaAv_/gapps/system/product/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk inflating: /tmp/wsa-build-S97aWQaaAv_/gapps/system/product/priv-app/AndroidAutoStub/AndroidAutoStub.apk inflating: /tmp/wsa-build-S97aWQaaAv_/gapps/system/product/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk inflating: /tmp/wsa-build-S97aWQaaAv_/gapps/system/product/priv-app/Phonesky/Phonesky.apk inflating: /tmp/wsa-build-S97aWQaaAv_/gapps/system/product/priv-app/GmsCore/GmsCore.apk inflating: /tmp/wsa-build-S97aWQaaAv_/gapps/system/product/priv-app/Velvet/Velvet.apk inflating: /tmp/wsa-build-S97aWQaaAv_/gapps/system/product/priv-app/GoogleRestore/GoogleRestore.apk inflating: /tmp/wsa-build-S97aWQaaAv_/gapps/system/product/framework/com.google.android.dialer.support.jar inflating: /tmp/wsa-build-S97aWQaaAv_/gapps/system/system_ext/etc/permissions/privapp-permissions-google-system-ext.xml inflating: /tmp/wsa-build-S97aWQaaAv_/gapps/system/system_ext/priv-app/GoogleFeedback/GoogleFeedback.apk inflating: /tmp/wsa-build-S97aWQaaAv_/gapps/system/system_ext/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk 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-S97aWQaaAv_/erofs. mount: /dev/loop1 mounted on /tmp/wsa-build-S97aWQaaAv_/erofs/vendor. mount: /dev/loop2 mounted on /tmp/wsa-build-S97aWQaaAv_/erofs/product. mount: /dev/loop3 mounted on /tmp/wsa-build-S97aWQaaAv_/erofs/system_ext. done Create overlayfs mk_overlayfs: label system lowerdir=/tmp/wsa-build-S97aWQaaAv_/erofs upperdir=/tmp/wsa-build-S97aWQaaAv_/upper/system workdir=/tmp/wsa-build-S97aWQaaAv_/worker/system merged=/tmp/wsa-build-S97aWQaaAv_/system_root_merged mount: overlay mounted on /tmp/wsa-build-S97aWQaaAv_/system_root_merged. mk_overlayfs: label vendor lowerdir=/tmp/wsa-build-S97aWQaaAv_/erofs/vendor upperdir=/tmp/wsa-build-S97aWQaaAv_/upper/vendor workdir=/tmp/wsa-build-S97aWQaaAv_/worker/vendor merged=/tmp/wsa-build-S97aWQaaAv_/system_root_merged/vendor mount: overlay mounted on /tmp/wsa-build-S97aWQaaAv_/system_root_merged/vendor. mk_overlayfs: label product lowerdir=/tmp/wsa-build-S97aWQaaAv_/erofs/product upperdir=/tmp/wsa-build-S97aWQaaAv_/upper/product workdir=/tmp/wsa-build-S97aWQaaAv_/worker/product merged=/tmp/wsa-build-S97aWQaaAv_/system_root_merged/product mount: overlay mounted on /tmp/wsa-build-S97aWQaaAv_/system_root_merged/product. mk_overlayfs: label system_ext lowerdir=/tmp/wsa-build-S97aWQaaAv_/erofs/system_ext upperdir=/tmp/wsa-build-S97aWQaaAv_/upper/system_ext workdir=/tmp/wsa-build-S97aWQaaAv_/worker/system_ext merged=/tmp/wsa-build-S97aWQaaAv_/system_root_merged/system_ext mount: overlay mounted on /tmp/wsa-build-S97aWQaaAv_/system_root_merged/system_ext. Create overlayfs done Remove Amazon Appstore 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-S97aWQaaAv_/system_root_merged/system/etc/init/hw/init.zygote32.rc Inject zygote restart /tmp/wsa-build-S97aWQaaAv_/system_root_merged/system/etc/init/hw/init.zygote64.rc Inject zygote restart /tmp/wsa-build-S97aWQaaAv_/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-S97aWQaaAv_/system_root_merged/system/build.prop fixing /tmp/wsa-build-S97aWQaaAv_/system_root_merged/vendor/build.prop fixing /tmp/wsa-build-S97aWQaaAv_/system_root_merged/vendor/odm/etc/build.prop done Create system images mk_image_umount: /tmp/wsa-build-S97aWQaaAv_/system_root_merged/vendor /tmp/wsa-build-S97aWQaaAv_/wsa/x64/vendor.img /tmp/wsa-build-S97aWQaaAv_/upper/vendor ext4 ERROR: Not yet implemented Build: an error has occurred, exit Cleanup Work Directory Cleanup Mount Directory umount: /tmp/wsa-build-S97aWQaaAv_/erofs/vendor unmounted umount: /tmp/wsa-build-S97aWQaaAv_/erofs/system_ext unmounted umount: /tmp/wsa-build-S97aWQaaAv_/erofs/product unmounted umount: /tmp/wsa-build-S97aWQaaAv_/erofs unmounted umount: /tmp/wsa-build-S97aWQaaAv_/system_root_merged/vendor (overlay) unmounted umount: /tmp/wsa-build-S97aWQaaAv_/system_root_merged/system_ext (overlay) unmounted umount: /tmp/wsa-build-S97aWQaaAv_/system_root_merged/product (overlay) unmounted umount: /tmp/wsa-build-S97aWQaaAv_/system_root_merged (overlay) unmounted Cleanup Download Directory vlad@HPZBookG4:~/MagiskOnWSALocal$ ``` [//]: <> (Don't modify below)
Tetrax-10 commented 1 year ago

using this https://raw.githubusercontent.com/sn-o-w/MagiskOnWSALocal/main/scripts/build.sh solves the issue (#665)

Vladusas commented 1 year ago

Thanks, it works now.

hedgyrosa commented 1 year ago

i am having same issue can you give me the steps you took to resolve it Vladusas? thanks

Tetrax-10 commented 1 year ago

i am having same issue can you give me the steps you took to resolve it Vladusas? thanks

Just replace the build.sh file's content (located inside the scripts folder) with this version of build.sh

hedgyrosa commented 1 year ago

How im sorry im trying my best lol plz be more specfic ty

jacobras commented 1 year ago

How im sorry im trying my best lol plz be more specfic ty

@hedgyrosa In the Ubuntu prompt, in the /scripts directory, type the command explorer.exe . to open the current directory in Windows Explorer. Then replace build.sh with the one linked above and execute ./run.sh again.

1rdsk1 commented 1 year ago

I tried this but still don't get an output directory