This enables SELinux on Dorimanx kernel, which is disabled by default.
Supports all G2 models supported by Dorimanx.Download More on XDA
As of Dorimanx Lollipop Kernel version 2.9, kernel defaults to completely disabled SELinux. This is done via the kernel command line. Dorimanx created a script to change the command line back and forth, thus turning SELinux on/off.
With this change, you can get some off loss of /data setting if you boot with SELinux off and then turn it ON and reboot. The way around this would be to enable SELinux before doing first boot.
By flashing this script after the kernel, you can avoid the data loss by avoiding the boot with SELinux off.