My device is Samsung Galaxy Note 3 SM-N9005.
This phone comes with SELinux set to Enforcing by default.
I have been trying to change this to permissive but to no avail.
I built the kernel from source code following Samsung instructions, and added a line to init.rc file in the ramdisk: "setenforce 0" and this worked, however WiFi broke and I am not clued up on kernel development.
I have tried, as root, running "setenforce 0" in terminal and via adb. There is no error, however it stays Enforcing.
I am running out of options have looked through the init files in the Samsung source code and cannot find anywhere where Samsung set SELinux to be Enforcing.
Any help will be vastly appreciated!