This module switches SELinux to enforce mode during boot process.
This module intentionally lowers security settings of your phone. Please, don't use it if you don't know what you are doing.
The module will not work if your kernel compiled with always enforcing config, e.g., stock samsung kernels.
Stable release:
- Dowload latest selinux_enforce.zip from releases page https://github.com/evdenis/selinux_enforce/releases
- MagiskManager -> Modules + Downloads/selinux_enforce.zip -> Reboot
Master branch:
- git clone https://github.com/evdenis/selinux_enforce
- cd selinux_enforce
- make install