LSPosed / MagiskOnWSALocal

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

[Bug] Can't install Microsoft dependencies and output folder doesn't appear #562

Closed Tsynskyy closed 1 year ago

Tsynskyy commented 1 year ago

Steps to reproduce/复现步骤

  1. run "git clone https://github.com/LSPosed/MagiskOnWSALocal.git --depth 1"
  2. run "cd MagiskOnWSALocal"
  3. run "./scripts/run.sh"
  4. Select arch: x64
  5. Select WSA release type: retail
  6. Select Root: Yes
  7. Select Root solution: magisk
  8. Select Magisk version: stable
  9. Select install GApps: Yes
  10. Select keep Amazon Appstore: No
  11. Select compress the output: No

Expected behaviour/预期行为

Install WSA and the output folder should appear

Actual behaviour/实际行为

Encountered an error while downloading files and there is no output folder

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

9b117b8

Linux distribution info/Linux 发行版信息

DISTRIB_ID=Ubuntu DISTRIB_RELEASE=22.04 DISTRIB_CODENAME=jammy DISTRIB_DESCRIPTION="Ubuntu 22.04.2 LTS" PRETTY_NAME="Ubuntu 22.04.2 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.2 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian UBUNTU_CODENAME=jammy

Windows version/Windows 版本

12.0.22621.1778

Build Parameters/构建参数

COMMAND_LINE=--arch x64 --release-type retail --root-sol magisk --gapps-brand MindTheGapps --remove-amazon --magisk-ver stable INFO: Architecture: x64 INFO: Release Type: retail INFO: Magisk Version: stable INFO: GApps Brand: MindTheGapps INFO: GApps Variant: pico INFO: Root Solution: magisk Build: RELEASE_TYPE=Retail

Version requirement/版本要求

Logs/日志

[//]: <> (Don't modify above) ``` Generate Download Links Generating WSA download link: arch=x64 release_type=Retail WSA Version=2303.40000.5.0 download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/3b0a2424-33b7-4f1b-8434-9dc37ddfff81?P1=1685098277&P2=404&P3=2&P4=FWbUR2aQF33fzSy1nDYk9%2fB%2fvic4ZUKplaTIZ0Dxj%2fmQ8pbtD8FgqTAe5%2f0HR6CyupTikZO4FIeIpPvSMjVECg%3d%3d path: ../download/Microsoft.UI.Xaml.2.8_x64.appx download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/b4f27514-1618-47a0-bcd4-5fcb469edb63?P1=1685098305&P2=404&P3=2&P4=RfL%2bYVmq%2bdkblug4bYa2qH5SkwsWo9odyOZaZaCTYikDzLBD2nJSNejzARnfM5XE4Q9OaiWHy04sCNGnWNu2Ig%3d%3d path: ../download/Microsoft.UI.Xaml.2.8_x64.appx download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/1ee8f2d3-cfbe-4514-a83a-5aaadb44df5e?P1=1685098237&P2=404&P3=2&P4=nlZnDJ%2f84dhiNXwYdtJTs4p0a4nIQztLVuFDK2F33f76d%2fFQWqzjVdF%2f%2bZHtIaelDLk7o%2blLxAt3d%2by2ZPl3iw%3d%3d path: ../download/Microsoft.VCLibs.140.00_x64.appx download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/8a26c76e-5a63-42d5-9f7d-df053c273363?P1=1685098325&P2=404&P3=2&P4=E4f8hmBMp6MMl%2bKpyOL1SfhcSLoOSvzKaiKEQFcBgfMbRo%2fY5sqMDXOy6swkM4vHF9OAthOguDYHgD%2fQuqI94g%3d%3d path: ../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/77086290-e463-4e5d-a984-29dc1a4718e3?P1=1685125790&P2=404&P3=2&P4=K5EPe1sHmIsVml9oRIMnixcTbvsSiF%2fko05RP5IaUuLg83nwQ1cSntXmlVmPZ144JI0Kqmbcw2cdWLbXPkfNtQ%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 05/26 14:00:28 [NOTICE] Downloading 7 item(s) *** Download Progress Summary as of Fri May 26 14:01:28 2023 *** ======================================================================================================================= [#648519 0B/0B CN:1 DL:0B] FILE: ../download/Microsoft.UI.Xaml.2.8_x64.appx ----------------------------------------------------------------------------------------------------------------------- [#8dd941 0B/0B CN:1 DL:0B] FILE: ../download/Microsoft.UI.Xaml.2.8_x64.appx ----------------------------------------------------------------------------------------------------------------------- [#c14554 0B/0B CN:1 DL:0B] FILE: ../download/Microsoft.VCLibs.140.00_x64.appx ----------------------------------------------------------------------------------------------------------------------- [#e86971 0B/0B CN:1 DL:0B] FILE: ../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx ----------------------------------------------------------------------------------------------------------------------- [#28c785 0B/0B CN:1 DL:0B] FILE: ../download/wsa-retail.zip ----------------------------------------------------------------------------------------------------------------------- *** Download Progress Summary as of Fri May 26 14:02:29 2023 *** ======================================================================================================================= [#648519 0B/0B CN:1 DL:0B] FILE: ../download/Microsoft.UI.Xaml.2.8_x64.appx ----------------------------------------------------------------------------------------------------------------------- [#8dd941 0B/0B CN:1 DL:0B] FILE: ../download/Microsoft.UI.Xaml.2.8_x64.appx ----------------------------------------------------------------------------------------------------------------------- [#c14554 0B/0B CN:1 DL:0B] FILE: ../download/Microsoft.VCLibs.140.00_x64.appx ----------------------------------------------------------------------------------------------------------------------- [#e86971 0B/0B CN:1 DL:0B] FILE: ../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx ----------------------------------------------------------------------------------------------------------------------- [#28c785 0B/0B CN:1 DL:0B] FILE: ../download/wsa-retail.zip ----------------------------------------------------------------------------------------------------------------------- [DL:0B][#648519 0B/0B][#8dd941 0B/0B][#c14554 0B/0B][#e86971 0B/0B][#28c785 0B/0B] 05/26 14:02:29 [ERROR] CUID#7 - Download aborted. URI=http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/3b0a2424-33b7-4f1b-8434-9dc37ddfff81?P1=1685098277&P2=404&P3=2&P4=FWbUR2aQF33fzSy1nDYk9%2fB%2fvic4ZUKplaTIZ0Dxj%2fmQ8pbtD8FgqTAe5%2f0HR6CyupTikZO4FIeIpPvSMjVECg%3d%3d Exception: [AbstractCommand.cc:351] errorCode=22 URI=http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/3b0a2424-33b7-4f1b-8434-9dc37ddfff81?P1=1685098277&P2=404&P3=2&P4=FWbUR2aQF33fzSy1nDYk9%2fB%2fvic4ZUKplaTIZ0Dxj%2fmQ8pbtD8FgqTAe5%2f0HR6CyupTikZO4FIeIpPvSMjVECg%3d%3d -> [HttpSkipResponseCommand.cc:239] errorCode=22 The response status is not successful. status=403 05/26 14:02:29 [NOTICE] Download GID#648519fc9363c9ea not complete: ../download/Microsoft.UI.Xaml.2.8_x64.appx 05/26 14:02:29 [ERROR] CUID#8 - Download aborted. URI=http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/b4f27514-1618-47a0-bcd4-5fcb469edb63?P1=1685098305&P2=404&P3=2&P4=RfL%2bYVmq%2bdkblug4bYa2qH5SkwsWo9odyOZaZaCTYikDzLBD2nJSNejzARnfM5XE4Q9OaiWHy04sCNGnWNu2Ig%3d%3d Exception: [AbstractCommand.cc:351] errorCode=22 URI=http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/b4f27514-1618-47a0-bcd4-5fcb469edb63?P1=1685098305&P2=404&P3=2&P4=RfL%2bYVmq%2bdkblug4bYa2qH5SkwsWo9odyOZaZaCTYikDzLBD2nJSNejzARnfM5XE4Q9OaiWHy04sCNGnWNu2Ig%3d%3d -> [HttpSkipResponseCommand.cc:239] errorCode=22 The response status is not successful. status=403 05/26 14:02:29 [ERROR] CUID#9 - Download aborted. URI=http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/1ee8f2d3-cfbe-4514-a83a-5aaadb44df5e?P1=1685098237&P2=404&P3=2&P4=nlZnDJ%2f84dhiNXwYdtJTs4p0a4nIQztLVuFDK2F33f76d%2fFQWqzjVdF%2f%2bZHtIaelDLk7o%2blLxAt3d%2by2ZPl3iw%3d%3d Exception: [AbstractCommand.cc:351] errorCode=22 URI=http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/1ee8f2d3-cfbe-4514-a83a-5aaadb44df5e?P1=1685098237&P2=404&P3=2&P4=nlZnDJ%2f84dhiNXwYdtJTs4p0a4nIQztLVuFDK2F33f76d%2fFQWqzjVdF%2f%2bZHtIaelDLk7o%2blLxAt3d%2by2ZPl3iw%3d%3d -> [HttpSkipResponseCommand.cc:239] errorCode=22 The response status is not successful. status=403 05/26 14:02:29 [ERROR] CUID#10 - Download aborted. URI=http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/8a26c76e-5a63-42d5-9f7d-df053c273363?P1=1685098325&P2=404&P3=2&P4=E4f8hmBMp6MMl%2bKpyOL1SfhcSLoOSvzKaiKEQFcBgfMbRo%2fY5sqMDXOy6swkM4vHF9OAthOguDYHgD%2fQuqI94g%3d%3d Exception: [AbstractCommand.cc:351] errorCode=22 URI=http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/8a26c76e-5a63-42d5-9f7d-df053c273363?P1=1685098325&P2=404&P3=2&P4=E4f8hmBMp6MMl%2bKpyOL1SfhcSLoOSvzKaiKEQFcBgfMbRo%2fY5sqMDXOy6swkM4vHF9OAthOguDYHgD%2fQuqI94g%3d%3d -> [HttpSkipResponseCommand.cc:239] errorCode=22 The response status is not successful. status=403 05/26 14:02:29 [NOTICE] Download GID#8dd94114c456661c not complete: ../download/Microsoft.UI.Xaml.2.8_x64.appx 05/26 14:02:29 [NOTICE] Download GID#c145541aa84befc2 not complete: ../download/Microsoft.VCLibs.140.00_x64.appx 05/26 14:02:29 [NOTICE] Download GID#e869717767130416 not complete: ../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx [DL:8.6MiB][#28c785 4.9MiB/1.3GiB(0%)][#396f2f 2.2MiB/10MiB(20%)][#6d7cec 0B/0B] 05/26 14:02:30 [NOTICE] CUID#29 - Redirecting to https://kumisystems.dl.sourceforge.net/project/wsa-mtg/x86_64/20230323/MindTheGapps-13.0.0-x86_64-20230323.zip [DL:2.9MiB][#28c785 5.2MiB/1.3GiB(0%)][#396f2f 2.3MiB/10MiB(21%)][#6d7cec 0B/0B] 05/26 14:02:32 [NOTICE] Download complete: ../download/magisk-stable.zip *** Download Progress Summary as of Fri May 26 14:03:29 2023 *** ======================================================================================================================= [#28c785 664MiB/1.3GiB(48%) CN:16 DL:11MiB ETA:1m2s] FILE: ../download/wsa-retail.zip ----------------------------------------------------------------------------------------------------------------------- [#6d7cec 0B/0B CN:1 DL:0B] FILE: ../download/MindTheGapps-x64-13.0.zip ----------------------------------------------------------------------------------------------------------------------- [DL:11MiB][#28c785 690MiB/1.3GiB(50%)][#6d7cec 0B/0B] 05/26 14:03:31 [NOTICE] CUID#29 - Redirecting to https://nav.dl.sourceforge.net/project/wsa-mtg/x86_64/20230323/MindTheGapps-13.0.0-x86_64-20230323.zip [DL:11MiB][#28c785 760MiB/1.3GiB(55%)][#6d7cec 0B/0B] 05/26 14:03:37 [NOTICE] CUID#42 - Redirecting to https://deac-fra.dl.sourceforge.net/project/wsa-mtg/x86_64/20230323/MindTheGapps-13.0.0-x86_64-20230323.zip [DL:10MiB][#28c785 765MiB/1.3GiB(55%)][#6d7cec 16KiB/188MiB(0%)] 05/26 14:03:39 [NOTICE] CUID#44 - Redirecting to https://altushost-swe.dl.sourceforge.net/project/wsa-mtg/x86_64/20230323/MindTheGapps-13.0.0-x86_64-20230323.zip [DL:11MiB][#28c785 789MiB/1.3GiB(57%)][#6d7cec 5.2MiB/188MiB(2%)] 05/26 14:03:41 [NOTICE] CUID#43 - Redirecting to https://altushost-swe.dl.sourceforge.net/project/wsa-mtg/x86_64/20230323/MindTheGapps-13.0.0-x86_64-20230323.zip [DL:11MiB][#28c785 802MiB/1.3GiB(58%)][#6d7cec 16MiB/188MiB(8%)] 05/26 14:03:43 [NOTICE] CUID#45 - Redirecting to https://kumisystems.dl.sourceforge.net/project/wsa-mtg/x86_64/20230323/MindTheGapps-13.0.0-x86_64-20230323.zip [DL:11MiB][#28c785 819MiB/1.3GiB(59%)][#6d7cec 23MiB/188MiB(12%)] 05/26 14:03:45 [NOTICE] CUID#48 - Redirecting to https://deac-ams.dl.sourceforge.net/project/wsa-mtg/x86_64/20230323/MindTheGapps-13.0.0-x86_64-20230323.zip [DL:11MiB][#28c785 838MiB/1.3GiB(60%)][#6d7cec 28MiB/188MiB(15%)] 05/26 14:03:47 [NOTICE] CUID#46 - Redirecting to https://deac-fra.dl.sourceforge.net/project/wsa-mtg/x86_64/20230323/MindTheGapps-13.0.0-x86_64-20230323.zip [DL:12MiB][#28c785 854MiB/1.3GiB(62%)][#6d7cec 34MiB/188MiB(18%)] 05/26 14:03:49 [NOTICE] CUID#47 - Redirecting to https://deac-riga.dl.sourceforge.net/project/wsa-mtg/x86_64/20230323/MindTheGapps-13.0.0-x86_64-20230323.zip *** Download Progress Summary as of Fri May 26 14:04:29 2023 *** ======================================================================================================================= [#28c785 1.2GiB/1.3GiB(89%) CN:12 DL:11MiB ETA:12s] FILE: ../download/wsa-retail.zip ----------------------------------------------------------------------------------------------------------------------- [#6d7cec 135MiB/188MiB(72%) CN:3 DL:652KiB ETA:1m22s] FILE: ../download/MindTheGapps-x64-13.0.zip ----------------------------------------------------------------------------------------------------------------------- [DL:9.0MiB][#28c785 1.3GiB/1.3GiB(99%)][#6d7cec 143MiB/188MiB(76%)] 05/26 14:04:44 [NOTICE] Download complete: ../download/wsa-retail.zip [#6d7cec 187MiB/188MiB(99%) CN:1 DL:2.7MiB] 05/26 14:05:05 [NOTICE] Download complete: ../download/MindTheGapps-x64-13.0.zip Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= 648519|ERR | 0B/s|../download/Microsoft.UI.Xaml.2.8_x64.appx 8dd941|ERR | 0B/s|../download/Microsoft.UI.Xaml.2.8_x64.appx c14554|ERR | 0B/s|../download/Microsoft.VCLibs.140.00_x64.appx e86971|ERR | 0B/s|../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx 396f2f|OK | 3.6MiB/s|../download/magisk-stable.zip 28c785|OK | 10MiB/s|../download/wsa-retail.zip 6d7cec|OK | 2.1MiB/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)
Tsynskyy commented 1 year ago

Screenshot 2023-05-26 140926

Tsynskyy commented 1 year ago

Nevermind, guess I didn't have all needed dependencies. If someone has the same problem you need to install the missing dependencies manually by running "sudo apt update && sudo apt -y install setools lzip wine winetricks patchelf whiptail e2fsprogs python3-pip aria2" before running "scripts/run.sh"