tiann / KernelSU

A Kernel based root solution for Android
https://kernelsu.org
GNU General Public License v3.0
10.25k stars 1.68k forks source link

[Custom] Magisk Modules Converter? #2037

Closed topaloglu321 closed 1 month ago

topaloglu321 commented 1 month ago

All we know some of the modules for Magisk are not working on KernelSU. Is it possible to create a converter to adapt modules on KernelSU.

For example I couldn't manage to make it work this module on my device. Any tips to convert it? or Any tools?

https://www.magiskmodule.com/ios-16-5-system-sounds-magisk-module/

jeffpeng3 commented 1 month ago

I think what you need is to read the official documents.

https://kernelsu.org/guide/difference-with-magisk.html

topaloglu321 commented 1 month ago

I read the documents many times but this is not what I'm asking for. I'm not sure about the possibility of creating a "Converter" and trying to learn about that.

If you can tell what it needs to use the module I sent, on KernelSU, that would be really helpful.

jeffpeng3 commented 1 month ago

I think you can try disabling “Umount modules by default” in the settings. If this works, it means that certain applications should not be uninstalled.

Many of these not working are caused by unmounting module mounted files.

tiann commented 1 month ago

KernelSU has tried its best to be compatible with Magisk modules, but if the module uses Magisk's internal features, there's nothing that can be done. Additionally, as mentioned above, KernelSU will by default unmount modules; you can check this switch.

topaloglu321 commented 1 month ago

KernelSU has tried its best to be compatible with Magisk modules, but if the module uses Magisk's internal features, there's nothing that can be done. Additionally, as mentioned above, KernelSU will by default unmount modules; you can check this switch.

I tried this, the module I mentioned has started to work, but this time I've lost LSPosed, LSPosed doesn't work. I'm switching back what I did. Any tips?

Update (12.09.2024) : I've Installed the latest LSPosed 1.10.0 by JingMatrix and everything works fine now :)