LSPosed / MagiskOnWSALocal

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

[Bug] Unable to build package, Could not download magisk : link error #596

Closed m0usaa closed 1 year ago

m0usaa commented 1 year ago

Steps to reproduce/复现步骤

_**1. I updated the ubuntu by sudo apt update and apt upgrade

  1. secondly i opened the script by ls and cd magiskowsalocal
  2. i typed scripts/run.sh to open the builder
  3. i choosed retail and stable channel with non root
  4. it started building
  5. magisk download link error so it stopped build**_
  6. image

Expected behaviour/预期行为

**_1. The wsa script shouldn't download magisk because i choosed non root version

  1. the wsa script should continue to build with working links
  2. was script should work and build the program_**

Actual behaviour/实际行为

**_1. wsa script stopped working

  1. magisk link error_**

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

bbc86e1

Linux distribution info/Linux 发行版信息

OS: Ubuntu 22.04.2 LTS on Windows 11 x86_64 Kernel: 5.15.90.1-microsoft-standard-WSL2

Windows version/Windows 版本

10.0.22621.1848

Build Parameters/构建参数

COMMAND_LINE=--arch x64 --release-type retail --root-sol none --gapps-brand MindTheGapps --remove-amazon INFO: Architecture: x64 INFO: Release Type: retail INFO: Magisk Version: stable INFO: GApps Brand: MindTheGapps INFO: GApps Variant: pico INFO: Root Solution: none Build: RELEASE_TYPE=Retail Generate Download Links Generating WSA download link: arch=x64 release_type=Retail

Version requirement/版本要求

Logs/日志

[//]: <> (Don't modify above) ``` # WSA Build Version=2304.40000.10.0 download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/3b0a2424-33b7-4f1b-8434-9dc37ddfff81?P1=1687288384&P2=404&P3=2&P4=Bb%2fMY1vJwwA2rLMq8%2fy7mj98Rx4js6t5CmVnMGwrxbAdL0iEiG6EN8erzfxg2FwILlj9fQScBcbLycEDpstKEQ%3d%3d path: ../download/Microsoft.UI.Xaml.2.8_x64.appx download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/28edaebf-8019-4844-ba32-8ab019bc9391?P1=1687288337&P2=404&P3=2&P4=aRosUyzvUm4ExNkCtJHFP2rf6fG4YtLN%2f5He7Eyk7R%2fkFMgeHJ1lewcE149yhtQlcmfSNrYwnS8wMDy7zIyxBQ%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=1687288420&P2=404&P3=2&P4=WpaK%2fka0%2b1z6MPeXDPXHZevyjIssoSwrH5swJdn9grAwjXcvVpBx867gCNc3exh%2fUBX3eb9Z7MWyO7eSfGO7YQ%3d%3d path: ../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/4c5002df-7e1c-4bc9-9eb8-977498fa49f9?P1=1687315922&P2=404&P3=2&P4=Ua6V0q1mFfwVZ48Vdlrnx42TCojoGGvf15DcsquuqRrljnHGMnb3ABKMjQtN4SupU4wOVvv9BhRURPZIze5B8w%3d%3d path: ../download/wsa-retail.zip Generating Magisk download link: release type=stable download link: https://cdn.jsdelivr.net/gh/topjohnwu/magisk-files@26.1/app-release.apk Generating MindTheGapps download link: arch=x64 variant=pico download link: https://downloads.sourceforge.net/project/wsa-mtg/x86_64/20230323/MindTheGapps-13.0.0-x86_64-20230323.zip Download Artifacts 06/20 22:02:30 [NOTICE] Downloading 6 item(s) 06/20 22:02:30 [NOTICE] GID#c04fb18aeeef58d9 - Download has already completed: ../download/Microsoft.VCLibs.140.00_x64.appx 06/20 22:02:30 [NOTICE] Download complete: ../download/Microsoft.VCLibs.140.00_x64.appx 06/20 22:02:31 [NOTICE] GID#0871efb30c8ecc6a - Download has already completed: ../download/Microsoft.UI.Xaml.2.8_x64.appx 06/20 22:02:31 [NOTICE] GID#772797d7f121ac57 - Download has already completed: ../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx 06/20 22:02:31 [NOTICE] GID#99509de296656d15 - Download has already completed: ../download/wsa-retail.zip 06/20 22:02:31 [ERROR] CUID#11 - Download aborted. URI=https://cdn.jsdelivr.net/gh/topjohnwu/magisk-files@26.1/app-release.apk Exception: [AbstractCommand.cc:351] errorCode=1 URI=https://cdn.jsdelivr.net/gh/topjohnwu/magisk-files@26.1/app-release.apk -> [SocketCore.cc:1018] errorCode=1 SSL/TLS handshake failure: Error in the pull function. 06/20 22:02:31 [NOTICE] Download complete: ../download/Microsoft.UI.Xaml.2.8_x64.appx 06/20 22:02:31 [NOTICE] Download complete: ../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx 06/20 22:02:31 [NOTICE] Download complete: ../download/wsa-retail.zip 06/20 22:02:31 [NOTICE] Download GID#61dcdf56f3a2bf5a not complete: ../download/magisk-stable.zip [#69aae0 0B/0B CN:1 DL:0B] 06/20 22:02:32 [NOTICE] CUID#12 - Redirecting to https://netix.dl.sourceforge.net/project/wsa-mtg/x86_64/20230323/MindTheGapps-13.0.0-x86_64-20230323.zip [#69aae0 0B/0B CN:1 DL:0B] 06/20 22:02:33 [NOTICE] GID#69aae081cd3f0fd0 - Download has already completed: ../download/MindTheGapps-x64-13.0.zip 06/20 22:02:33 [NOTICE] Download complete: ../download/MindTheGapps-x64-13.0.zip Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= c04fb1|OK | 0B/s|../download/Microsoft.VCLibs.140.00_x64.appx 0871ef|OK | 0B/s|../download/Microsoft.UI.Xaml.2.8_x64.appx 772797|OK | 0B/s|../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx 99509d|OK | 0B/s|../download/wsa-retail.zip 61dcdf|ERR | 0B/s|../download/magisk-stable.zip 69aae0|OK | 0B/s|../download/MindTheGapps-x64-13.0.zip Status Legend: (OK):download completed.(ERR):error occurred. aria2 will resume download if the transfer is restarted. If there are any errors, then see the log file. See '-l' option in help/man page for details. We have encountered an error while downloading files. ``` [//]: <> (Don't modify below)
Howard20181 commented 1 year ago

Try again. There may be some error on jsdelivr.

m0usaa commented 1 year ago

Try again. There may be some error on jsdelivr.

this error with me since 11 days that i think ...... i did everything and full remove the script and reclone again but same error in the magisk link

m0usaa commented 1 year ago

and i have reset the firewall settings in my laptop but same error with me .... idk why ....may you please update the magisk download link or help me ..... icant use the script or build wsa 😣

Howard20181 commented 1 year ago

Can you download Magisk using that link in the browser?

m0usaa commented 1 year ago

Can you download Magisk using that link in the browser?

i already tried it since 3 days but the same link is error now : image

m0usaa commented 1 year ago

may you update the magisk link howard

Howard20181 commented 1 year ago

That link is the same as Magisk's built-in update. Why does no one report it in the Magisk repo if it can't download? It was updated by John Wu.

Best regards,

Howard


From: Mousa El Sawah @.> Sent: Wednesday, June 21, 2023 4:37:56 AM To: LSPosed/MagiskOnWSALocal @.> Cc: Howard Wu @.>; Comment @.> Subject: Re: [LSPosed/MagiskOnWSALocal] [Bug] Unable to build package, Could not download magisk : link error (Issue #596)

may you update the magisk link howard

— Reply to this email directly, view it on GitHubhttps://github.com/LSPosed/MagiskOnWSALocal/issues/596#issuecomment-1599462080, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJRNWK7JRLKAGY25MWPSEILXMIC2JANCNFSM6AAAAAAZNXN25I. You are receiving this because you commented.Message ID: @.***>

m0usaa commented 1 year ago

may you update the script to not download magisk as i choosed non root ?

m0usaa commented 1 year ago

and idk how to fi or report ..... may you help me howard please

Howard20181 commented 1 year ago

We need Magisk's built-in sepolicy tool to modify the SELinux context for Gapps. And we need to use the latest version to ensure there is no bug in that unit, so we don't place a pre-build one in our repo. Choose no root and no Gapps at the same time then it will stop downloading Magisk.

Howard20181 commented 1 year ago

You can download Magisk by yourself and place it in the download folder, using build.sh --magisk-custom to skip the download.

m0usaa commented 1 year ago

i did it thanks howard ❤️

m0usaa commented 1 year ago

it finished with rooted version ..... im not using root anymore howard

m0usaa commented 1 year ago

how can i install unrooted version howard ?

Howard20181 commented 1 year ago

build.sh --root-sol none --magisk-custom

m0usaa commented 1 year ago

build.sh --root-sol none --magisk-custom

thank you so much bro you are a hero ❤️