Name: SELinux Mode Changer
File Size: 670KB
Current Version: v3.2
Requires Android: 4.3 and up
Developed By: XDA Developer
Everyone now loves android and love to flash custom ROM on android device. First, older devices are really easy to root and installing Rom but now Google makes it really hard to root an android device. Google want their Android OS secure and best. Now Google uses “Selinux” to make android secure. With “Selinux” android rooting is now harder than older devices.
What is SELinux and How it Works?
Selinux is Linux based kernel security module and that module worked on Android OS version 4.2 and above. It takes all android device’s security to another level. That’s why custom Rom’s are less secure than stock Rom’s. The Android security model is based in part on the concept of application sandboxes. Each application runs in its own sandbox. Prior to Android 4.2, these sandboxes were defined by the creation of a unique Linux UID for each application at the time of installation. Starting with Android 4.2, Security-Enhanced Linux (SELinux) used to further define the boundaries of the Android application sandbox.
Android uses SELinux to enforce mandatory access control (MAC) over all processes, even processes running with root/superuser privileges. With SELinux, Android can better protect and confine system services, control access to application data and system logs, reduce the effects of malicious software, and protect users from potential flaws in code on mobile devices.
Enforcing and Permissive Difference
If your device rooted you can do a lot of awesome things. Means doing anything but with SELinux, some app does not work properly even android rooted apps denied some permission. That root apps need SELinux to change as ‘permissive’. If you change it then apps are work without any problem. Both ‘permissive’ and ‘Enforcing’ are described below.
Enforcing: Enforcing is by default on any android device. That’s very secure SELinux mode. All permissions are not allowed in this mode even if you are rooted. Some won’t allow all permissions.
Permissive: Permissive is totally different than enforcing. If you able to change the mode to permissive then you can allow all permissions that won’t be allowed in enforcing mode.
About SELinux Mode Changer
> SELinux Mode Changer APK was introduced in Android 4.3, is a compulsory needed access control system, which is built into the Linux kernel.
> This app can change modes of SELinux of your phone like giving root access, selecting the mode which you want SELinux to be in(permissive or enforcing) and that’s all. Every time you reboot your device this app will execute the script to change SELinux to the mode you’ve selected.
> It will help to enforce the existing access control permissions, and to attempt to prevent privilege a rapid increase of attacks in an app trying to gain root access on your Android device.
You can download SELinux Mode Changer directly from this site. You can also install SELinux Mode Changer from F-Droid Client. This app is officially available on F-Droid. If you download it on PC send it to your device and install it.
SELinux Mode Changer Installation
Note: SELinux Mode Changer app needs root access to change Mode.
- First of all downloaded app from F-Droid or directly from this site.
- Install it on your Android device and open it.
- Grant root permission to the app.
- After opening app click on ‘Permissive’.
- Now reboot your device and now SELinux mode changed to ‘Permissive’.
This app can change the SELinux Modes without having to permanently modify the boot script files of the device.
Any device, by default, boots in default SELinux Enforcing mode. Every time you reboot your device app will execute the script to change SELinux to the mode you’ve last selected.