SELinux Permissive logo

SELinux Permissive

Developed by @evdenis

Dls
Ver
v3.1
Size
3.38 KB
Date
9 Aug 2026
selinux-permissive.md

The SELinux Permissive module is a root tool that forces Android's SELinux policy into permissive mode during the boot process. It intentionally lowers system security restrictions, allowing advanced modifications and restricted root apps to function properly.

I found this module incredibly handy when testing custom tweaks that kept failing due to strict SELinux denials. It flips the system's security switch early in the boot sequence while hiding the permissive state from regular apps so you avoid security warnings. Just remember that it will fail on stock Samsung kernels since they are hardcoded to enforce security.

Features

  • Forces permissive mode across both the post-fs-data and service boot stages.
  • Hides the state from non-root applications by cutting off read access to the enforce system file.
  • Masks boot properties using resetprop so standard apps detect normal security levels.
  • Cleans up completely upon removal by automatically restoring original sysfs permissions.

Support & Requirements

  • Root Type: Magisk (Includes support for Magisk Manager auto-updates)
  • Kernel Limitations: Will not work on kernels compiled with an "always enforcing" config (e.g., stock Samsung kernels).
  • Android Version: Compatible with any Android version running a supported Magisk build.

How to Install

  1. Download the latest selinux_permissive.zip file directly from the GitHub releases page.
  2. Open the Magisk Manager app, navigate to the Modules tab, and tap "Install from storage."
  3. Select the ZIP file you just downloaded to flash it, then restart your device.