Everyone now love android and love to flash custom Rom on android device. First older devices are really easy root and installing Rom but now Google make it really hard to root android device. Google want their Android OS secure and best. Now Google use “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 that was 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 are less secured 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 time of installation. Starting with Android 4.2, Security-Enhanced Linux (SELinux) is 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.
What’s Different between Enforcing and Permissive ( SELinux Mode Changer )
You are doing many awesome things with android device if your device is rooted. Means doing anything but with SELinux some app are not work properly even android rooted apps denied some permission. That root apps are need SELinux is changed 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. This is very secured Selinux mode. All permissions are not allowed in this mode even if you are rooted. Some won’t allow to all permissions.
Permissive: Permissive is totally different than enforcing. If you are able to change mode to permissive then you can allow all permissions that are 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.
Download and Install SELinux Mode Changer
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.
Follow below steps to install and use SELinux Mode Changer on you device:
Note: SELinux Mode Changer app needs root access to change Mode.
- First of all download app from F-Droid or directly from this site.
- Install it on your android device and open it.
- Grant root permission to app.
- After opening app click on ‘Permissive’.
- Now reboot your device and now SELinux mode changed to ‘Permissive’.
What Developer say about SELinux Mode Chamger App
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.