What and why is SELinux Mode Important?
Since the release of Android 4.2 (KitKat) a new security enhancement called SELinux was interlaced within the system and then the Mode was defaulted to “Enforcing”.
Weather this new security measure was good or bad, it resulted in allot of challenges with many Apps that required Root access. So from then on, there have been many workarounds that developers were forced to overcome and adapt to this new security measure for their current and future developments.
Since the SELinux security measure was placed, there also have been many tools and utilities had changed the default SELinux Mode “Enforcing” to “Permissive” and one of those noted (and clever) Developers was an individual who is known as MrBIMC had created the “SELinuxModeChanger”. This app allowed the individual to change the SELinux Mode to and from its “Enforcing” and “Permissive” states.
Unfortunately, the “SELinuxModeChanger” had depreciated and it appears the Developer MrBIMC is no longer providing support and was last successfully working on the Android Lollipop (though has worked sporadically for many individuals using the Android Marshmallow) and now that the Android version has made it to the Nougat version, changing the SELinux Mode has become an increasingly more of a quest for individuals to be able to change the SELinux Mode with only a few options.
So I decided to take on the next generation of the “SELinuxModeChanger” and make the necessary modifications and changes needed to allow the app to operate on the Android Nougat. After a long journey using modified Flashable zip files along with allot of (EXTREMELY helpful) member feedback, I had finally released the The SELinux Toggler.
What does The SELinux Toggler do?
Basically, this app can change the SELinux Modes without having to permanently modify the boot script files of the device.
What does The SELinux Toggler NOT do?
Again… This app will not make permanent changes to the boot script files!
This app will automatically boot as any app will that is part of the boot sequence. So when a device boots up, the device, by default, will be booted in its default SELinux “Enforcing” Mode. Then once the boot sequence begins launching the auto launching of the apps, this app will then automatically launch and change the devices SELinux Mode that the user last selected for the devices SELinux Mode.
What do I do to use this app?
Just download, install, open the app, and then select which mode you want the devices SELinux Mode to be (Permissive or Enforcing). And that's it! Now every time you reboot your device app will execute the script to change SELinux to the mode you've last selected.
Primary Download Links
The SELinux Toggler Apk Installer
The SELinux Toggler Zip Installer (OPTIONAL)
Alternative Download Links
The SELinux Toggler - XDA Labs Store
The SELinux Toggler Apk Installer - Android File Host
The SELinux Toggler Zip Installer - Android File Host (OPTIONAL)
Some Issues that may/may not be present
- [THEORETICALLY] Doesn't work with Samsung KNOX.
- [POSSIBILITY] Root access may be denied for some (though this should not happen).
- [POSSIBILITY] Doesn't work with MAGISK.
MrBIMC - SELinuxModeChanger
***The SELinux Toggler Recognized by DROID ORGIN***
The SELinux Toggler and I was just recently recognized by DroidOrgin.com.
Please take a look and i hope you enjoy this (extremely) unexpected highlight!
Set SELinux to Permissive with The SELinux Toggler [Android 4.2+]
The Selinux Toggler, Tool/Utility for all devices (see above for details)
Source Code: https://github.com/ibuprophen1/The-SELinux-Toggler
Status: No Longer Updated
Current Stable Version: 4.3.9
Stable Release Date: 2017-07-19
Last Updated 2017-08-16