The SELinux Toggler Project
Has Been Discontinued
Please go to "The SELinux Switch" Thread (Below) For Continuing Development
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.
Download Links {REMOVED}
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.
Special Mentions/Credits
MrBIMC - SELinuxModeChanger
***The SELinux Toggler recognized by The Custom Droid***
The SELinux Toggler and I was just recently recognized by thecustomdroid.com
Please take a look and i hope you enjoy this highlight!
Set SELinux to Permissive with SELinuxToggler App By @DJBhardwaj {March 19, 2017}
XDA:DevDB Information
[APP][TOOL][4.2+][OFFICIAL]The SELinux Toggler[DISCONTINUED], Tool/Utility for all devices (see above for details)
Contributors
Ibuprophen
Source Code: https://github.com/Ibuprophen/SELinuxModeChanger
Version Information
Status: No Longer Updated
Current Stable Version: 4.3.9
Stable Release Date: 2017-07-19
Created 2017-03-17
Last Updated 2019-09-12
Attachments
-
01-App-Drawer.jpg157.7 KB · Views: 31,044
-
02-First-Launch.jpg92.1 KB · Views: 30,902
-
03-About-App.jpg114.5 KB · Views: 30,782
-
04-Setting-Permissive.jpg146.5 KB · Views: 30,541
-
05-Permissive-Notification.jpg185.4 KB · Views: 30,353
-
06-System-Example-Permissive.jpg166 KB · Views: 30,303
-
07-Setting-Enforcing.jpg149 KB · Views: 29,916
-
08-Enforcing-Notification.jpg189.4 KB · Views: 29,646
-
09-System-EXAMPLE-Enforcing.jpg166.6 KB · Views: 29,488
Last edited: