-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Inconsistent mount" on Native Test with KSU #23
Comments
Your log doesn't include ZygiskAssistant. Could you try sending another log while using the latest debug version from here? I feel like I already fixed this in 7cbb41b so the problem might not even happen with the CI build. |
That's pretty strange - I think ZygiskAssistant was enabled. The new log is definitely taken after it's been enabled. |
I still don't see the module in the logs. Can you make sure that you are on |
You can keep everything as-is except for the module. You're on the release build and not the debug build. The release build doesn't log. Also, along with the logs, the output of this command will also be helpful: |
Sorry, my bad - that was pretty obvious) |
Could you also try without the |
Do you want me to rebuild the kernel or I can just disable "unmount by default" in KernelSU? On this Just one more thing - regarding the issue itself - is it correct that everything on /system will have this problem (so https://github.com/sn-00-x/aa4mg will have the same issue)? I feel like it's quite a silly question, but I thought that lemonadep is system-as-root, so both Thanks!) |
That's the idea. KSU unmounts the overlay on I can try making a WebUI for KSU with a separate denylist and ask the users to disable
Bind mounts would indeed solve this issue but this is a problem with this module (and KSU because it does the same thing). Also, a lot of modules for KSU just use overlays manually so no, that PR won't completely solve this issue.
Not just the same partition,
Systemless Hosts module would mount the overlayfs at |
Inconsistent Mount cannot be fixed |
I'm afraid the kernel without path_umount didn't change anything. The log is attached. |
Do elaborate |
This may be a bit of offtopic (@snake-4 please consider turning on discussions - I feel a bit wrong about offtoping in an issue) So, if we can't do anything on KSU side (or on Zygisk Assistant) - maybe, there's a way to modify the module itself? If so, I'm willing to try. Any help is appreciated. For me, the problem is pretty simple - I want wg and wg-quick mounted inside /system/bin and several more files (stubs for Google Maps, Google TTS and an XML file with permissions alongside AndroidAuto Stub mounted on /system/product (so AA would work on MicroG installation) without anything detecting those changes - if it's achievable on KSU, I'm willing to try and educate myself, if not - well, that's sad) |
When mounting, the first number in each line of mountinfo is increasing one by one, the detector wouldn't show the tip in this time. However, after umount, it would be discontinuous and the detector found exception. So i guess, maybe, is this a check point? |
Unshare twice cannot guarantee that mnt id is increasing one by one, as there may be some "released" mnt id from system itself's unmount, and other exited apps. Also, it is common that as system itself will do umount as well (especially on some VIVO/OPPO phones) so it is hard to use for detection. Btw, this is not what "inconsistent mount" detects. |
Why would you guys even care about a mysterious proprietary blackbox detector app, and even guess how it works? The detector app with GNU icon has nothing of documentation, get some Quipucamayocs to decode it please. |
Can we just overwrite the file and make it continuous? |
According to the update logs in telegram. I guess it is heavily obfuscated and have many anti-debug protection. I guess it's hard to find how they actually detect something. |
I'm trying to run add several systemless modules to the system - for now it's systemless hosts and wireguard cli tools (will probably test aa4mg later too)
Standalone systemless hosts module is detected by Momo, but not detected by Native Test.
After adding Zygisk Assistant, Momo does not detect anything, but Native Test adds "Found Injection" and "Futile Hide (10)" while the mount itself is not detected
But for WireGuard CLI Tools (installed from the app) the situation is different:
Standalone module is not detected by Momo but gets detected by Native Test ("Inconsistent Mount").
Adding Zygisk Assistant changes nothing - Momo still doesn't detect anything and Native Test still detects this "Inconsistent Mount" and adds "Found Injection" with "Futile Hide (10)" as before.
Steps To Reproduce
Context
Device: OnePlus 9 Pro (lemonadep)
OS: iode OS 5.0 (Basically LineageOS 21 with MicroG and some privacy features)
Version of Magisk, KSU or APatch: KernelSU v0.9.3(11804) ,
path_umount
ported and auto unmount seems to be workingOther Root Module(s): symbuzzer/systemless-hosts-KernelSU-module, WireGuard Commant Line Tools
LSPosed Module(s): None
Logcat
log.txt
One more thing - maybe it's a good idea to enable GitHub discussions for questions like this - I'm not sure if this is a bug, or WireGuard CLI module has to be changed in some way or maybe even it's my fault?
The text was updated successfully, but these errors were encountered: