Projects
View on GitHub
evdenis/selinux_permissive
About
Magisk Module that switches SELinux to permissive mode
Developer ToolsWhat you can do
- Sets SELinux to permissive mode at both post-fs-data and service stages
- Restricts read access to /sys/fs/selinux/enforce
- Masks ro.boot.selinux property via resetprop
- Supports Magisk Manager auto-update
Measured star growth
- in 24h
- +1
- in 7 days
- +1
- in 15 days
- +1
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalSELinux Permissive
This module switches SELinux to permissive 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.
Features
- Sets SELinux to permissive mode at both post-fs-data and service stages
- Hides permissive state from non-root apps:
- Restricts read access to
/sys/fs/selinux/enforce - Masks
ro.boot.selinuxproperty via resetprop
- Restricts read access to
- Supports Magisk Manager auto-update
- Clean removal via uninstall.sh (restores sysfs permissions and property)
How to install:
Stable release:
- Download latest selinux_permissive.zip from releases page https://github.com/evdenis/selinux_permissive/releases
- MagiskManager -> Modules + Downloads/selinux_permissive.zip -> Reboot
Master branch:
- git clone https://github.com/evdenis/selinux_permissive
- cd selinux_permissive
- make install
Support
Explore related projects
Loading…