I am having problems setting the kernel to permissive (SElinux). I have already tried the setenforce 0 command with terminal but it immediately goes back to enforcing as soon as I set the setenforce 0 command. So I finally got fed up and decided to monitor what was actually going on in my phone by using a logcat. After looking at the logcat, I found a line of code that could be setting the kernel to enforcing by default.

Here is the code:

/audit   ( 6001): type=1404 msg=audit(1479393162.929:264): config_always_enforce - true; enforcing=1 old_enforcing=1 auid=4294967295 ses=4294967295

The config_always_enforce is set to true so that means I should probably set this to false.

Unfortunately I don't know where this value is in my system. Does anyone have any idea? I have a Galaxy S6.

Also, I removed all the Knox apps, but everytime I reboot, I get Knox folders reappearing and a file called knox emulated in the /storage folder. Have I not removed all the Knox apps?

I will post my logcat that way ya'll can take a look at it.

I hope you all can help me because I really want a custom ROM so I can use Xposed.

  • Alternate Solution: Try a custom kernel, if that helps.. – Gokul NC Nov 17 '16 at 14:54
  • They don't have custom kernel available for my phone as of now. My phone is a Straighttalk. – Ryan Noles Nov 17 '16 at 14:55
  • Here's someone who says custom kernel from a different variant will work: forum.xda-developers.com/galaxy-s6/help/… – Gokul NC Nov 17 '16 at 15:03
  • What about the knox? – Ryan Noles Nov 17 '16 at 15:13
  • @RyanNoles Wait a minute. What's stopping you from flashing a custom recovery and then a custom ROM? – Death Mask Salesman Nov 17 '16 at 15:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.