Closed bubbles-wow closed 8 months ago
wsa version 2306 download url (archive): https://web.archive.org/web/20230707175947/http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/aae39df7-ec9c-4d4a-b49f-1d76b83d7d4e?P1=1688780457&P2=404&P3=2&P4=caQhbBYs60049I%2f3L3%2brEKxLX66ZXopgU%2f0rpkhmBn%2fWOhtb%2f4We4HRCrPO%2fyNORiEhj%2bZUmrRb1yc9swA2RSw%3d%3d
They switched back from EROFS to ext4
Trying to resolve the issue by checking the image format instead of assuming the file system format of the image with the version number to prevent problems later if Microsoft switches back to EROFS again.
They switched back from EROFS to ext4
Builds fine with changes from https://github.com/LSPosed/MagiskOnWSALocal/pull/620/files
Thanks @YT-Advanced
@Almighty188 how do I apply this?
@Cr4z33 Open WSL and clone the fork:
git clone https://github.com/YT-Advanced/MagiskOnWSALocal.git
@MustardChef thanks!
Building with changes from #620 in latest commit (21e80a3) throws the following error, not sure how to solve this not sure why, but succeeded with the same build params the other day... Possibly an external file permission issue unrelated with this repo.
Build params:
COMMAND_LINE=--arch x64 --release-type WIS --root-sol magisk --gapps-brand MindTheGapps --remove-amazon --magisk-ver stable
INFO: Architecture: x64
INFO: Release Type: WIS
INFO: Magisk Version: stable
INFO: GApps Brand: MindTheGapps
INFO: GApps Variant: pico
INFO: Root Solution: magisk
Build: RELEASE_TYPE=Insider Slow
somehow the new one doesnt work for me, im using the "git clone https://github.com/YT-Advanced/MagiskOnWSALocal" ive been trying things for 2 hours or more
Parameters: ./WSA/MagiskOnWSALocal/scripts/build.sh --skip-download-wsa --release-type WIF --root-sol none --gapps-brand MindTheGapps --compress --compress-format zip INFO: Architecture: x64 INFO: Release Type: WIF INFO: Magisk Version: stable INFO: GApps Brand: MindTheGapps INFO: GApps Variant: pico INFO: Root Solution: none INFO: Compress Format: zip Build: RELEASE_TYPE=Insider Fast
somehow the new one doesnt work for me, im using the "git clone https://github.com/YT-Advanced/MagiskOnWSALocal" ive been trying things for 2 hours or more
Parameters: ./WSA/MagiskOnWSALocal/scripts/build.sh --skip-download-wsa --release-type WIF --root-sol none --gapps-brand MindTheGapps --compress --compress-format zip INFO: Architecture: x64 INFO: Release Type: WIF INFO: Magisk Version: stable INFO: GApps Brand: MindTheGapps INFO: GApps Variant: pico INFO: Root Solution: none INFO: Compress Format: zip Build: RELEASE_TYPE=Insider Fast
Read the above comment(s), edit the following file with the changes manually as they have not been added to the codebase yet which would not build otherwise: https://github.com/LSPosed/MagiskOnWSALocal/pull/620/files
somehow the new one doesnt work for me, im using the "git clone https://github.com/YT-Advanced/MagiskOnWSALocal" ive been trying things for 2 hours or more Parameters: ./WSA/MagiskOnWSALocal/scripts/build.sh --skip-download-wsa --release-type WIF --root-sol none --gapps-brand MindTheGapps --compress --compress-format zip INFO: Architecture: x64 INFO: Release Type: WIF INFO: Magisk Version: stable INFO: GApps Brand: MindTheGapps INFO: GApps Variant: pico INFO: Root Solution: none INFO: Compress Format: zip Build: RELEASE_TYPE=Insider Fast
Read the above comment(s), edit the following file with the changes manually as they have not been added to the codebase yet which would not build otherwise: https://github.com/LSPosed/MagiskOnWSALocal/pull/620/files
I dont have permissions for it, in both windows and WSL
somehow the new one doesnt work for me, im using the "git clone https://github.com/YT-Advanced/MagiskOnWSALocal" ive been trying things for 2 hours or more Parameters: ./WSA/MagiskOnWSALocal/scripts/build.sh --skip-download-wsa --release-type WIF --root-sol none --gapps-brand MindTheGapps --compress --compress-format zip INFO: Architecture: x64 INFO: Release Type: WIF INFO: Magisk Version: stable INFO: GApps Brand: MindTheGapps INFO: GApps Variant: pico INFO: Root Solution: none INFO: Compress Format: zip Build: RELEASE_TYPE=Insider Fast
Read the above comment(s), edit the following file with the changes manually as they have not been added to the codebase yet which would not build otherwise: https://github.com/LSPosed/MagiskOnWSALocal/pull/620/files
I dont have permissions for it, in both windows and WSL
What are you using to edit it in WSL?
Does "pico scripts/build.sh" or "vi scripts/build.sh" work?
@grandma77 Did you checkout patch-1
branch instead of using the default main
? This branch is more up to date although I got another error as mentioned above.
git clone https://github.com/YT-Advanced/MagiskOnWSALocal
cd ./MagiskOnWSALocal
git checkout patch-1
bash scripts/run.sh
@grandma77 Did you checkout
patch-1
branch instead of using the defaultmain
? This branch is more up to date although I got another error as mentioned above.git clone https://github.com/YT-Advanced/MagiskOnWSALocal cd ./MagiskOnWSALocal git checkout patch-1 bash scripts/run.sh
What is the patch-1 branch because I only can see three branches: main, rebuild-ext4, win-gui
Nevermind, it appears the only change is the same changes as this: https://github.com/LSPosed/MagiskOnWSALocal/pull/620/files
@grandma77 Did you checkout
patch-1
branch instead of using the defaultmain
? This branch is more up to date although I got another error as mentioned above.git clone https://github.com/YT-Advanced/MagiskOnWSALocal cd ./MagiskOnWSALocal git checkout patch-1 bash scripts/run.sh
What is the patch-1 branch because I only can see three branches: main, rebuild-ext4, win-gui
thanks, it worked, tho i rlly wanted to go to the patch-1 branch but didnt know how
@grandma77 Did you checkout
patch-1
branch instead of using the defaultmain
? This branch is more up to date although I got another error as mentioned above.git clone https://github.com/YT-Advanced/MagiskOnWSALocal cd ./MagiskOnWSALocal git checkout patch-1 bash scripts/run.sh
What is the patch-1 branch because I only can see three branches: main, rebuild-ext4, win-gui
do rm -r ./MagiskOnWSALocal git clone https://github.com/YT-Advanced/MagiskOnWSALocal cd ./MagiskOnWSALocal git checkout patch-1 bash scripts/run.sh
COMMAND_LINE=--arch x64 --release-type RP --root-sol kernelsu --gapps-brand MindTheGapps --remove-amazon --compress --compress-format 7z INFO: Architecture: x64 INFO: Release Type: RP INFO: Magisk Version: stable INFO: GApps Brand: MindTheGapps INFO: GApps Variant: pico INFO: Root Solution: kernelsu INFO: Compress Format: 7z Build: RELEASE_TYPE=Release Preview Generate Download Links Generating WSA download link: arch=x64 release_type=Release Preview
WSA Build Version=2306.40000.4.0
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= ca5f54|OK | 0B/s|../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx a9a0a2|OK | 0B/s|../download/Microsoft.VCLibs.140.00_x64.appx 887afb|OK | 0B/s|../download/wsa-RP.zip 0715bb|OK | 0B/s|../download/kernelsu-x64-5.15.104.1.zip 95834a|OK | 0B/s|../download/magisk-stable.zip 705d3b|OK | 1.2MiB/s|../download/Microsoft.UI.Xaml.2.8_x64.appx a81847|OK | 0B/s|../download/MindTheGapps-x64-13.0.zip
Status Legend: (OK):download completed. Extract WSA unzipping WsaPackage_2306.40000.4.0_x64Release-Nightly.msix to /tmp/wsa-build-oA2C4Ghd75/wsa unzipping from /tmp/wsa-build-oA2C4Ghd75_/wsa/WsaPackage_2306.40000.4.0_x64_Release-Nightly.msix Extract done
Extract Magisk Magisk version: 26.1 (26100) done
Extract KernelSU Archive: ../download/kernelsu-x64-5.15.104.1.zip inflating: /tmp/wsa-build-oA2C4Ghd75_/kernelsu/bzImage done
Extract MindTheGapps Archive: ../download/MindTheGapps-x64-13.0.zip signed by SignApk inflating: /tmp/wsa-build-oA2C4Ghd75_/gapps/system/product/app/GoogleCalendarSyncAdapter/GoogleCalendarSyncAdapter.apk
inflating: /tmp/wsa-build-oA2C4Ghd75_/gapps/system/product/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk
inflating: /tmp/wsa-build-oA2C4Ghd75/gapps/system/product/app/PrebuiltExchange3Google/PrebuiltExchange3Google.apk inflating: /tmp/wsa-build-oA2C4Ghd75/gapps/system/product/etc/default-permissions/default-permissions-google.xml inflating: /tmp/wsa-build-oA2C4Ghd75/gapps/system/product/etc/default-permissions/default-permissions-mtg.xml inflating: /tmp/wsa-build-oA2C4Ghd75/gapps/system/product/etc/permissions/com.google.android.dialer.support.xml inflating: /tmp/wsa-build-oA2C4Ghd75/gapps/system/product/etc/permissions/privapp-permissions-google-product.xml inflating: /tmp/wsa-build-oA2C4Ghd75/gapps/system/product/etc/security/fsverity/gms_fsveritycert.der inflating: /tmp/wsa-build-oA2C4Ghd75/gapps/system/product/etc/sysconfig/d2d_cable_migrationfeature.xml inflating: /tmp/wsa-build-oA2C4Ghd75/gapps/system/product/etc/sysconfig/google-hiddenapi-package-allowlist.xml inflating: /tmp/wsa-build-oA2C4Ghd75/gapps/system/product/etc/sysconfig/google.xml inflating: /tmp/wsa-build-oA2C4Ghd75/gapps/system/product/etc/sysconfig/googlebuild.xml inflating: /tmp/wsa-build-oA2C4Ghd75/gapps/system/product/framework/com.google.android.dialer.support.jar inflating: /tmp/wsa-build-oA2C4Ghd75_/gapps/system/product/lib/libjnilatinimegoogle.so inflating: /tmp/wsa-build-oA2C4Ghd75/gapps/system/product/lib64/libjnilatinimegoogle.so inflating: /tmp/wsa-build-oA2C4Ghd75/gapps/system/product/overlay/GmsOverlay.apk inflating: /tmp/wsa-build-oA2C4Ghd75/gapps/system/product/overlay/GmsSettingsProviderOverlay.apk inflating: /tmp/wsa-build-oA2C4Ghd75/gapps/system/product/priv-app/AndroidAutoStub/AndroidAutoStub.apk inflating: /tmp/wsa-build-oA2C4Ghd75/gapps/system/product/priv-app/GmsCore/GmsCore.apk inflating: /tmp/wsa-build-oA2C4Ghd75/gapps/system/product/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk inflating: /tmp/wsa-build-oA2C4Ghd75/gapps/system/product/priv-app/GoogleRestore/GoogleRestore.apk inflating: /tmp/wsa-build-oA2C4Ghd75/gapps/system/product/priv-app/Phonesky/Phonesky.apk inflating: /tmp/wsa-build-oA2C4Ghd75/gapps/system/product/priv-app/Velvet/Velvet.apk inflating: /tmp/wsa-build-oA2C4Ghd75/gapps/system/systemext/etc/permissions/privapp-permissions-google-system-ext.xml inflating: /tmp/wsa-build-oA2C4Ghd75/gapps/system/systemext/priv-app/GoogleFeedback/GoogleFeedback.apk inflating: /tmp/wsa-build-oA2C4Ghd75/gapps/system/system_ext/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk Extract done
Convert vhdx to RAW image Convert vhdx to RAW image done
Mount images fuse.erofs 1.6-g689372cd disk: /tmp/wsa-build-oA2C4Ghd75/wsa/x64/system.img offset: 0 mountpoint: /tmp/wsa-build-oA2C4Ghd75/erofs dbglevel: 0
最终状态: 由于挂载操作中出现错误,构建过程中止。
这个咋解决?
最终状态: 由于挂载操作中出现错误,构建过程中止。
这个咋解决?
@grandma77 Did you checkout
patch-1
branch instead of using the defaultmain
? This branch is more up to date although I got another error as mentioned above.git clone https://github.com/YT-Advanced/MagiskOnWSALocal cd ./MagiskOnWSALocal git checkout patch-1 bash scripts/run.sh
What is the patch-1 branch because I only can see three branches: main, rebuild-ext4, win-gui
do rm -r ./MagiskOnWSALocal git clone https://github.com/YT-Advanced/MagiskOnWSALocal cd ./MagiskOnWSALocal git checkout patch-1 bash scripts/run.sh
idk what it does but i pasted this into ubuntu wsl and it worked better no erofs error
@grandma77 Did you checkout
patch-1
branch instead of using the defaultmain
? This branch is more up to date although I got another error as mentioned above.git clone https://github.com/YT-Advanced/MagiskOnWSALocal cd ./MagiskOnWSALocal git checkout patch-1 bash scripts/run.sh
What is the patch-1 branch because I only can see three branches: main, rebuild-ext4, win-gui
do rm -r ./MagiskOnWSALocal git clone https://github.com/YT-Advanced/MagiskOnWSALocal cd ./MagiskOnWSALocal git checkout patch-1 bash scripts/run.sh
Worked for me, thanks a lot
Remove read-only flag for read-only EXT4 image done
Remove Amazon Appstore
done
Add device administration features
sed: can't read /tmp/wsa-build-tTXDHIJOA1_/system_root_merged/vendor/etc/permissions/windows.permissions.xml: No such file or directory
setfattr: /tmp/wsa-build-tTXDHIJOA1_/system_root_merged/vendor/etc/permissions/windows.permissions.xml: No such file or directory
Build: an error has occurred, exit
anyone got this?
@xyzdev-cell What version are you patching ? v2306 ?
COMMAND_LINE=--arch x64 --release-type RP --root-sol kernelsu --gapps-brand MindTheGapps --remove-amazon --compress --compress-format 7z INFO: Architecture: x64 INFO: Release Type: RP INFO: Magisk Version: stable INFO: GApps Brand: MindTheGapps INFO: GApps Variant: pico INFO: Root Solution: kernelsu INFO: Compress Format: 7z Build: RELEASE_TYPE=Release Preview Generate Download Links Generating WSA download link: arch=x64 release_type=Release Preview
WSA Build Version=2306.40000.4.0
download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/28edaebf-8019-4844-ba32-8ab019bc9391?P1=1691402049&P2=404&P3=2&P4=J%2fZzAXOW0NFHgxcY91L%2bP44SJkKPdrjjbkov0tVwpZGZoEN3D8BUXw8L6K5Mc4kTM5vxWAb0soH72CG0wQ%2bL%2bA%3d%3d path: ../download/Microsoft.VCLibs.140.00_x64.appx
download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/21a6f30d-0ec0-46da-92cf-04e35cf18efc?P1=1691402143&P2=404&P3=2&P4=XSnWljNHuTijah5K5nqNdYwCSIboXzlOc5kEn3LPR4KlN91KJb4o%2fpaGwsV1BalnRlDEMJ0L2hiK7apBl10baQ%3d%3d path: ../download/Microsoft.UI.Xaml.2.8_x64.appx
download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/00cb3c53-e0d9-41d2-ac9f-8f92343e13b6?P1=1691429780&P2=404&P3=2&P4=J5PYakhhlgLpfymuI8CgnYgm1ytw%2f2AVfvoUwL2NUZ8ruWYwcbj8UHCWCCdAlA%2bmBdvCTAWZuzKDEDi8x4TpkA%3d%3d path: ../download/wsa-RP.zip
download link: http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/986a8270-404c-4470-871d-5c4090dcaa79?P1=1691402163&P2=404&P3=2&P4=aWRBGBCJGCgNXFGDjzJ8dJKTAabfTRUUDkEWrzkoMhTEHn8LWVt22XPkybzrULt1jsVyskSYByAgp8WKhKcMLw%3d%3d path: ../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx
Generating Magisk download link: release type=stable download link: https://cdn.jsdelivr.net/gh/topjohnwu/magisk-files@26.1/app-release.apk Generating KernelSU download link: arch=x86_64, kernel version=5.15.104.1 download link: https://github.com/tiann/KernelSU/releases/download/v0.6.2/kernel-WSA-x86_64-5.15.104.1.zip 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
08/07 17:44:33 [NOTICE] Downloading 7 item(s)
08/07 17:44:33 [NOTICE] GID#beab246c2b71cb84 - Download has already completed: ../download/wsa-RP.zip
08/07 17:44:33 [NOTICE] Download complete: ../download/wsa-RP.zip
08/07 17:44:33 [NOTICE] GID#dbea148a4d58a7b6 - Download has already completed: ../download/Microsoft.UI.Xaml.2.8_x64.appx
08/07 17:44:33 [NOTICE] GID#9888491bb85d0ee4 - Download has already completed: ../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx
08/07 17:44:33 [NOTICE] Download complete: ../download/Microsoft.UI.Xaml.2.8_x64.appx
08/07 17:44:33 [NOTICE] Download complete: ../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx
08/07 17:44:33 [NOTICE] GID#ec8879d2d171a614 - Download has already completed: ../download/Microsoft.VCLibs.140.00_x64.appx
08/07 17:44:33 [NOTICE] Download complete: ../download/Microsoft.VCLibs.140.00_x64.appx
08/07 17:44:33 [NOTICE] GID#29806e538c4b126b - Download has already completed: ../download/magisk-stable.zip
08/07 17:44:33 [NOTICE] Download complete: ../download/magisk-stable.zip [DL:0B][#71e76f 0B/0B][#458a14 0B/0B] 08/07 17:44:34 [NOTICE] CUID#12 - Redirecting to https://objects.githubusercontent.com/github-production-release-asset-2e65be/576303915/21180156-3ad8-47ce-ab03-7927783e49f4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230807%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230807T094435Z&X-Amz-Expires=300&X-Amz-Signature=014c669cb114ba5c0cad415e3008b65c6f7b2dc1ad9d820b608415fe3498911c&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=576303915&response-content-disposition=attachment%3B%20filename%3Dkernel-WSA-x86_64-5.15.104.1.zip&response-content-type=application%2Foctet-stream
08/07 17:44:35 [NOTICE] CUID#13 - Redirecting to https://onboardcloud.dl.sourceforge.net/project/wsa-mtg/x86_64/20230323/MindTheGapps-13.0.0-x86_64-20230323.zip [DL:0B][#71e76f 0B/0B][#458a14 0B/0B] 08/07 17:44:35 [NOTICE] GID#458a14873d8e015c - Download has already completed: ../download/MindTheGapps-x64-13.0.zip
08/07 17:44:35 [NOTICE] Download complete: ../download/MindTheGapps-x64-13.0.zip
08/07 17:44:36 [NOTICE] GID#71e76f480ebf1a17 - Download has already completed: ../download/kernelsu-x64-5.15.104.1.zip
08/07 17:44:36 [NOTICE] Download complete: ../download/kernelsu-x64-5.15.104.1.zip
Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= beab24|OK | 0B/s|../download/wsa-RP.zip dbea14|OK | 0B/s|../download/Microsoft.UI.Xaml.2.8_x64.appx 988849|OK | 0B/s|../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx ec8879|OK | 0B/s|../download/Microsoft.VCLibs.140.00_x64.appx 29806e|OK | 0B/s|../download/magisk-stable.zip 458a14|OK | 0B/s|../download/MindTheGapps-x64-13.0.zip 71e76f|OK | 0B/s|../download/kernelsu-x64-5.15.104.1.zip
Status Legend: (OK):download completed. Extract WSA unzipping WsaPackage_2306.40000.4.0_x64Release-Nightly.msix to /tmp/wsa-build-VHGGyutEZm/wsa unzipping from /tmp/wsa-build-VHGGyutEZm_/wsa/WsaPackage_2306.40000.4.0_x64_Release-Nightly.msix Extract done
Extract Magisk Magisk version: 26.1 (26100) done
Extract KernelSU Archive: ../download/kernelsu-x64-5.15.104.1.zip inflating: /tmp/wsa-build-VHGGyutEZm_/kernelsu/bzImage done
Extract MindTheGapps Archive: ../download/MindTheGapps-x64-13.0.zip signed by SignApk inflating: /tmp/wsa-build-VHGGyutEZm_/gapps/system/product/app/GoogleCalendarSyncAdapter/GoogleCalendarSyncAdapter.apk
inflating: /tmp/wsa-build-VHGGyutEZm_/gapps/system/product/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk
inflating: /tmp/wsa-build-VHGGyutEZm/gapps/system/product/app/PrebuiltExchange3Google/PrebuiltExchange3Google.apk inflating: /tmp/wsa-build-VHGGyutEZm/gapps/system/product/etc/default-permissions/default-permissions-google.xml inflating: /tmp/wsa-build-VHGGyutEZm/gapps/system/product/etc/default-permissions/default-permissions-mtg.xml inflating: /tmp/wsa-build-VHGGyutEZm/gapps/system/product/etc/permissions/com.google.android.dialer.support.xml inflating: /tmp/wsa-build-VHGGyutEZm/gapps/system/product/etc/permissions/privapp-permissions-google-product.xml inflating: /tmp/wsa-build-VHGGyutEZm/gapps/system/product/etc/security/fsverity/gms_fsveritycert.der inflating: /tmp/wsa-build-VHGGyutEZm/gapps/system/product/etc/sysconfig/d2d_cable_migrationfeature.xml inflating: /tmp/wsa-build-VHGGyutEZm/gapps/system/product/etc/sysconfig/google-hiddenapi-package-allowlist.xml inflating: /tmp/wsa-build-VHGGyutEZm/gapps/system/product/etc/sysconfig/google.xml inflating: /tmp/wsa-build-VHGGyutEZm/gapps/system/product/etc/sysconfig/googlebuild.xml inflating: /tmp/wsa-build-VHGGyutEZm/gapps/system/product/framework/com.google.android.dialer.support.jar inflating: /tmp/wsa-build-VHGGyutEZm_/gapps/system/product/lib/libjnilatinimegoogle.so inflating: /tmp/wsa-build-VHGGyutEZm/gapps/system/product/lib64/libjnilatinimegoogle.so inflating: /tmp/wsa-build-VHGGyutEZm/gapps/system/product/overlay/GmsOverlay.apk inflating: /tmp/wsa-build-VHGGyutEZm/gapps/system/product/overlay/GmsSettingsProviderOverlay.apk inflating: /tmp/wsa-build-VHGGyutEZm/gapps/system/product/priv-app/AndroidAutoStub/AndroidAutoStub.apk inflating: /tmp/wsa-build-VHGGyutEZm/gapps/system/product/priv-app/GmsCore/GmsCore.apk inflating: /tmp/wsa-build-VHGGyutEZm/gapps/system/product/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk inflating: /tmp/wsa-build-VHGGyutEZm/gapps/system/product/priv-app/GoogleRestore/GoogleRestore.apk inflating: /tmp/wsa-build-VHGGyutEZm/gapps/system/product/priv-app/Phonesky/Phonesky.apk inflating: /tmp/wsa-build-VHGGyutEZm/gapps/system/product/priv-app/Velvet/Velvet.apk inflating: /tmp/wsa-build-VHGGyutEZm/gapps/system/systemext/etc/permissions/privapp-permissions-google-system-ext.xml inflating: /tmp/wsa-build-VHGGyutEZm/gapps/system/systemext/priv-app/GoogleFeedback/GoogleFeedback.apk inflating: /tmp/wsa-build-VHGGyutEZm/gapps/system/system_ext/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk Extract done
Convert vhdx to RAW image Convert vhdx to RAW image done
Mount images fuse.erofs 1.6-g689372cd disk: /tmp/wsa-build-VHGGyutEZm/wsa/x64/system.img offset: 0 mountpoint: /tmp/wsa-build-VHGGyutEZm/erofs dbglevel: 0
no compile failed
@Chuhe2399 #620
@xyzdev-cell What version are you patching ? v2306 ? @YT-Advanced WSA Build Version=2306.40000.4.0
WSA Build Version=2306.40000.4.0
Hmm, I think you should make your own build (check the Readme.md) or download prebuilt from my repos: https://github.com/YT-Advanced/WSA-Script
help
Modify the scripts/build.sh file as follows: https://github.com/LSPosed/MagiskOnWSALocal/pull/620/files
it is already like that.
On Wed, Aug 9, 2023 at 10:30 PM Almighty188 @.***> wrote:
help
Modify the scripts/build.sh file as follows: https://github.com/LSPosed/MagiskOnWSALocal/pull/620/files
— Reply to this email directly, view it on GitHub https://github.com/LSPosed/MagiskOnWSALocal/issues/615#issuecomment-1672404869, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEEXW2E6CF7VICHHDKXLHUTXUQ2VBANCNFSM6AAAAAA2CE4ROE . You are receiving this because you commented.Message ID: @.***>
it is already like that.
Look like it is your computer problem. You can use auto build tool to create your own build here: https://github.com/YT-Advanced/WSA-Script
Important note: Please read the README.md to know how to create the build
Remove read-only flag for read-only EXT4 image done Remove Amazon Appstore done Add device administration features sed: can't read /tmp/wsa-build-tTXDHIJOA1_/system_root_merged/vendor/etc/permissions/windows.permissions.xml: No such file or directory setfattr: /tmp/wsa-build-tTXDHIJOA1_/system_root_merged/vendor/etc/permissions/windows.permissions.xml: No such file or directory Build: an error has occurred, exit
anyone got this?
I'm getting the same error with version 2306.40000.4.0. This is with the build.sh version from this repository and the 3 line changes from #620. If you look at the build.sh from @YT-Advanced and @MustardChef, they added the following lines to get around that problem:
echo "Add device administration features" sudo sed -i -e '/cts/a \ \ \ \ <feature name="android.software.device_admin" />' "$VENDOR_MNT/etc/permissions/windows.permissions.xml" sudo setfattr -n security.selinux -v "u:object_r:vendor_configs_file:s0" "$VENDOR_MNT/etc/permissions/windows.permissions.xml" || abort echo -e "done\n"
I guess I'm gonna try adding that to my fork. If it helps, it will be a bonus for the project, fixing to problems in one and as a plus, adding Fedora support.
On Thu, Aug 10, 2023, 10:06 Flavio Smirne @.***> wrote:
Remove read-only flag for read-only EXT4 image done
Remove Amazon Appstore done
Add device administration features sed: can't read /tmp/wsa-build-tTXDHIJOA1_/system_rootmerged/vendor/etc/permissions/windows.permissions.xml: No such file or directory setfattr: /tmp/wsa-build-tTXDHIJOA1/system_root_merged/vendor/etc/permissions/windows.permissions.xml: No such file or directory Build: an error has occurred, exit
anyone got this?
I'm getting the same error with version 2306.40000.4.0. This is with the build.sh version from this repository and the 3 line changes from #620 https://github.com/LSPosed/MagiskOnWSALocal/pull/620. If you look at the build.sh from @YT-Advanced https://github.com/YT-Advanced and @MustardChef https://github.com/MustardChef, they added the following lines to get around that problem:
echo "Add device administration features" sudo sed -i -e '/cts/a \ \ \ \
' "$VENDOR_MNT/etc/permissions/windows.permissions.xml" sudo setfattr -n security.selinux -v "u:object_r:vendor_configs_file:s0" "$VENDOR_MNT/etc/permissions/windows.permissions.xml" || abort echo -e "done\n" — Reply to this email directly, view it on GitHub https://github.com/LSPosed/MagiskOnWSALocal/issues/615#issuecomment-1673184752, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEEXW2EZ4UHZ32L4UNWI2ZLXUTMF3ANCNFSM6AAAAAA2CE4ROE . You are receiving this because you commented.Message ID: @.***>
Remove read-only flag for read-only EXT4 image done Remove Amazon Appstore done Add device administration features sed: can't read /tmp/wsa-build-tTXDHIJOA1_/system_root_merged/vendor/etc/permissions/windows.permissions.xml: No such file or directory setfattr: /tmp/wsa-build-tTXDHIJOA1_/system_root_merged/vendor/etc/permissions/windows.permissions.xml: No such file or directory Build: an error has occurred, exit
anyone got this?
I'm getting the same error with version 2306.40000.4.0. This is with the build.sh version from this repository and the 3 line changes from #620. If you look at the build.sh from @YT-Advanced and @MustardChef, they added the following lines to get around that problem:
echo "Add device administration features" sudo sed -i -e '/cts/a \ \ \ \ <feature name="android.software.device_admin" />' "$VENDOR_MNT/etc/permissions/windows.permissions.xml" sudo setfattr -n security.selinux -v "u:object_r:vendor_configs_file:s0" "$VENDOR_MNT/etc/permissions/windows.permissions.xml" || abort echo -e "done\n"
Interesting, where did you see that mentioned as I only did the changes in #620 as the first one to try it and it worked for all 2306 and 2307 builds without the mentioned issue, is this issue only for people who are on a older version of erosfs-utils?
Interesting, where did you see that mentioned as I only did the changes in #620 as the first one to try it and it worked for all 2306 and 2307 builds without the mentioned issue, is this issue only for people who are on a older version of erosfs-utils?
It was not mentioned anywhere afaik. I was comparing the build.sh versions around and saw that some versions try to fix that issue...
Interesting, where did you see that mentioned as I only did the changes in #620 as the first one to try it and it worked for all 2306 and 2307 builds without the mentioned issue, is this issue only for people who are on a older version of erosfs-utils?
It was not mentioned anywhere afaik. I was comparing the build.sh versions around and saw that some versions try to fix that issue...
Interesting, #620 was something that @YT-Advanced was trying to merge into build.sh. Not sure if the issue is the same one where some people were on erofs-utils prior to 1.4, I basically updated from Ubuntu 20.04 to 22.04 as 20.04 had nothing newer for erofs-utils available to get around that problem but I think that was in 2304.
Found it: https://github.com/LSPosed/MagiskOnWSALocal/issues/535 Wonder if it's related to this...
@fsmirne - Did that fixed your issue with the vhdx files having the 2 in it? Does it still have the 2 in it?
Found it: #535 Wonder if it's related to this...
Shouldn't be. 2306 builds don't use erofs anymore this shouldn't affect building them...
@fsmirne - Did that fixed your issue with the vhdx files having the 2 in it? Does it still have the 2 in it?
Nope. Mine still have the .2 in their name, but they are working as expected.
Yeah, just looked at the log provided and it's a permission issue for this one. Glad it's working for you. Still wonder how the files are changing names when the output folder has it without the 2.
Trying to resolve the issue by checking the image format instead of assuming the file system format of the image with the version number to prevent problems later if Microsoft switches back to EROFS again.
I submitted a PR. 😊
They switched back from EROFS to ext4
Builds fine with changes from https://github.com/LSPosed/MagiskOnWSALocal/pull/620/files
Thanks @YT-Advanced
@YT-Advanced - Seems like scripts\build.sh was updated recently and those lines no longer exist and now breaking here: Fix MindTheGapps prop fixing /tmp/wsa-build-6seIBECZDv_/system_rootmerged/system/build.prop fixing /tmp/wsa-build-6seIBECZDv/system_rootmerged/vendor/build.prop fixing /tmp/wsa-build-6seIBECZDv/system_root_merged/vendor/odm/etc/build.prop done
Create system images mk_imageumount: /tmp/wsa-build-6seIBECZDv/system_rootmerged/vendor /tmp/wsa-build-6seIBECZDv/wsa/x64/vendor.img /tmp/wsa-build-6seIBECZDv_/upper/vendor ext4 ERROR: Not yet implemented Build: an error has occurred, exit
Cleanup Work Directory Cleanup Mount Directory umount: /tmp/wsa-build-6seIBECZDv/erofs/vendor unmounted umount: /tmp/wsa-build-6seIBECZDv/erofs/systemext unmounted umount: /tmp/wsa-build-6seIBECZDv/erofs/product unmounted umount: /tmp/wsa-build-6seIBECZDv/erofs unmounted umount: /tmp/wsa-build-6seIBECZDv/system_rootmerged/vendor (overlay) unmounted umount: /tmp/wsa-build-6seIBECZDv/system_root_merged/systemext (overlay) unmounted umount: /tmp/wsa-build-6seIBECZDv/system_rootmerged/product (overlay) unmounted umount: /tmp/wsa-build-6seIBECZDv/system_root_merged (overlay) unmounted Cleanup Download Directory vince@Dell-XPS15-9570:/mnt/c/Windows Subsystem for Android/MagiskOnWSALocal$
Do you have a fix for the current build.sh?
Steps to reproduce/复现步骤
Expected behaviour/预期行为
build sucessfully
Actual behaviour/实际行为
Build: an error has occurred, exit
MagiskOnWSALocal commit full SHA/MagiskOnWSALocal 提交的完整哈希
d979887
Linux distribution info/Linux 发行版信息
Linux version 5.15.90.1-microsoft-standard-WSL2 (oe-user@oe-host) (x86_64-msft-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.34.0.20200220) #1 SMP Fri Jan 27 02:56:13 UTC 2023
Windows version/Windows 版本
10.0.25393.1
Build Parameters/构建参数
COMMAND_LINE= sudo ./build.sh --release-type WIF --offline --root-sol none INFO: Architecture: x64 INFO: Release Type: WIF INFO: Magisk Version: stable INFO: GApps Brand: MindTheGapps INFO: GApps Variant: pico INFO: Root Solution: none Build: RELEASE_TYPE=Insider Fast
Version requirement/版本要求
Logs/日志