I recently ran into a case where I needed to change the SE Linux mode on
a rooted Android device.
This post gives basic information on how to get and set the SE Linux mode.
Software Versions
Instructions
The current SE Linux mode can be viewed by going to Settings → System →
About phone → SELinux status.
The getenforce command can be used to get the current SE Linux mode
from the command line.
The setenforce command can be used to set the current SE Linux mode.
Note that the SE Linux mode will reset when the device is restarted.