mywalkb / DenylistUnmount

GNU General Public License v3.0
74 stars 7 forks source link

ZygiskNext/KernelSU port #8

Open Unb0rn opened 10 months ago

Unb0rn commented 10 months ago

Is there any chance it will be ported to ZygiskNext? KernelSU and its module system works like a charm but I think doesn't even have something like DenyList - so every process can see all module mounts in cat /proc/self/mounts and adding some proprietary module like Shamiko to Zygote doesn't feel very good...

mywalkb commented 10 months ago

DenylistUnmount is a magisk module that does not require zygisk. It allows you to load zygisk into processes without having to mount the magisk filesystem, or better force unmount. I don't know KernelSu very well but from what I understand it already has some similar features to this module. However I will try to understand if this module can work with KernelSU.

adding some proprietary module like Shamiko to Zygote doesn't feel very good...

I can understand you. I developed this module exactly for this reason. It doesn't have all the features of shamiko but it works in many cases.

Unb0rn commented 10 months ago

Oh, so initially I got this module purpose wrong) Got it now. This KernelSU tool is great IMO, I can add sudo users and still pass Safetynet, but when it comes to modules - it is a whole new story. Even without ZygiskNext I can see mounts from any process. Also got an answer from the dev - turns out global unmount works only on relatively new devices, but will try another wxt1221's solution too