MustardChef / WSABuilds

Run Windows Subsystem For Android on your Windows 10 and Windows 11 PC using prebuilt binaries with Google Play Store (MindTheGapps) and/or Magisk or KernelSU (root solutions) built in.
GNU Affero General Public License v3.0
6.86k stars 1.19k forks source link

[BUG] Magisk_Overlayfs #360

Closed Schefflin closed 2 months ago

Schefflin commented 2 months ago

Describe the bug

On WSA with 27.0 and above 27.0 version Magisk, if install module "Magisk_Overlayfs", root will be gone! Besides, this module can work on 26.4-stable Magisk, but canary Magisk. I think this is a well-known problem, but I don't find any way to fix it on 27.0 Magisk. Please let me know how to fix it, thanks.

Steps to reproduce the issue

install module "Magisk_Overlayfs" reboot WSA open Magisk and check root state

Expected behaviour

"Magisk_Overlayfs" normally works on 27.0 Magisk

Downloaded Build Of WSA

WSA_LTS1 WSA_2311.40000.5.0_x64_Release-Nightly-with-Magisk-65207f96-canary-MindTheGapps-13.0-RemovedAmazon.7z

Windows build number

Windows 11 x64

PC Specification

laptop Intel gen10 i5 Memory 32G

Additional context

someone say “27.0 does work, you just need to compile it first since the release is broken on 27.0” but no more details, so I don't have tried it yet.

MustardChef commented 2 months ago

Yes, Overlay_FS from the Github releases is broken. If you build it yourself, it will work fine.

Schefflin commented 2 months ago

Yes, Overlay_FS from the Github releases is broken. If you build it yourself, it will work fine.

@MustardChef not clear…Does it just git clone and run build.sh, no more modifications? Then what packages do I need to install to build it on WSL? There are some commands do not find…

MustardChef commented 2 months ago

Clone the OverlayFS repo and use GitHub Actions to build.

Schefflin commented 2 months ago

克隆 OverlayFS 存储库并使用 GitHub Actions 进行构建。

Well, root is fine now, but module doesn't work……cannot mount as rw

MustardChef commented 2 months ago

克隆 OverlayFS 存储库并使用 GitHub Actions 进行构建。

Well, root is fine now, but module doesn't work……cannot mount as rw

Which module?

Schefflin commented 2 months ago

克隆 OverlayFS 存储库并使用 GitHub Actions 进行构建。

Well, root is fine now, but module doesn't work……cannot mount as rw

Which module?

Magisk_overlayfs I had to spend more time to do a test, particularly on this version:

https://github.com/MustardChef/WSABuilds/releases/download/Windows_11_2311.40000.5.0/WSA_2311.40000.5.0_x64_Release-Nightly-with-KernelSU-v0.7.5-MindTheGapps-13.0-RemovedAmazon.7z

——"Magisk_Overlayfs" Recompiled (yes,I recompile it by GitHub Action)module(3.2.2) doesn't work, but 3.2.1 work well. I guess the reason is that internal certain files of both modules are different, so it's not related to WSA kernel.