SELinux - Enforced or Permissive on Stock Rooted? - Nexus 6P Q&A, Help & Troubleshooting

So I'm running -
Unlocked Bootloader
Stock Rooted Rom (w/ Chainfire modified boot image)
Stock Kernel
TWRP
Xposed
Is SELinux in Enforcing Mode or Permissive Mode on my phone? How do I find out? And if I'm in Permissive, is there a way for me to change it to Enforcing?
Thanks!

byproxy said:
So I'm running -
Unlocked Bootloader
Stock Rooted Rom (w/ Chainfire modified boot image)
Stock Kernel
TWRP
Xposed
Is SELinux in Enforcing Mode or Permissive Mode on my phone? How do I find out? And if I'm in Permissive, is there a way for me to change it to Enforcing?
Thanks!
Click to expand...
Click to collapse
You can check in Settings --> About Phone.
SELinux is in Enforcing mode by default, so unless you changed it, it will still be in Enforcing.

Related

Change SELinux Mode to Permissive

Hi,
I have tried to find this for soo long so i can get Viper4Android working.
But the app SELinux Mode Changer does not work.
It always says Enforcing on Settings -> About.
Is there anyway to change it to permissive?
Thanks
Flash a custom kernel with SE Linux permissive.
Read this
Read this
http://forum.xda-developers.com/moto-g/general/cm12-selinux-permissive-kernel-moto-g-t3032055

set selinux to enforcing

how can I set selinux to enforcing I have a custom kernel PhoeniX tried SELinux Mode changer but didn't work, I need it to use root switch so if the method is an app most likely it won't work I need a manual and permanent method if possible

Boot screen error: "Kernel is not SEAndroid enforcing"

Running a 900R4; CM14.1 Klteusc nightly 12-18; latest TWRP recovery.
Getting the aforementioned error when phone boots.
Everything boots and runs fine, but I'm a stickler for cleanliness and order. Anyone have a fix for this? I'm not experienced enough to go poking around with my kernel, I'm sure I'm not the only one with this problem.
Thanks in advance, gurus!
to fix this U must change SELINUX mode from permissive to enforcing.
the enforcing is a security layer build to android OS,SELINUX ENFORCING must be disabled if you installed Viber4Android.
If you insttalled V4A Donot change SELINUX to enforcing, V4A needs it.
but if you donot install it you can change the SELINUX TO ENFORCING.
To change it, There is an app called SELINUX mode changer
Sent from my SM-G532F using Tapatalk
yazeed_twb said:
to fix this U must change SELINUX mode from permissive to enforcing.
the enforcing is a security layer build to android OS,SELINUX ENFORCING must be disabled if you installed Viber4Android.
If you insttalled V4A Donot change SELINUX to enforcing, V4A needs it.
but if you donot install it you can change the SELINUX TO ENFORCING.
To change it, There is an app called SELINUX mode changer
Click to expand...
Click to collapse
I installed and ran, but the initial window had the "enforcing" option grayed out. I assume it's already enforcing, as the phone is working properly, I just want rid of the warning in case I decide to sell the phone.
Update: switched from stock Kernel to Boeffla Venom Kernel and the message is gone.

How to set Permissive mode on stock TW (any version) with Knox 0x0?

As the title says I need to set Permissive mode instead of Enforcing. I am already rooted using geohot method (so Knox is sleeping for now, it can't detect the root as long as I don't flash a custom kernel).
I need to set Permissive mode without flashing a custom kernel.
Please help,
BJ
What is the difference between permissive and enforcing ?
cfsr4 said:
What is the difference between permissive and enforcing ?
Click to expand...
Click to collapse
Permissive is required for some apps like Viper4Android to function properly. Selinux (in enforcing mode) is designed to protect your data from many different unknown exploits, but people like to switch it to permissive (essentially selinux disabled with logging) for these apps.
---------- Post added at 04:14 PM ---------- Previous post was at 04:12 PM ----------
blackjack4it said:
As the title says I need to set Permissive mode instead of Enforcing. I am already rooted using geohot method (so Knox is sleeping for now, it can't detect the root as long as I don't flash a custom kernel).
I need to set Permissive mode without flashing a custom kernel.
Please help,
BJ
Click to expand...
Click to collapse
AFAIK, custom kernel is required to switch the selinux mode. Just a samsung limitation that only mods can resolve (correct me if I'm wrong).
Saber said:
Permissive is required for some apps like Viper4Android to function properly. Selinux (in enforcing mode) is designed to protect your data from many different unknown exploits, but people like to switch it to permissive (essentially selinux disabled with logging) for these apps.
AFAIK, custom kernel is required to switch the selinux mode. Just a samsung limitation that only mods can resolve (correct me if I'm wrong).
Click to expand...
Click to collapse
Thanks for answering my question. I do not know exactly the difference
I think only with custon kernel. But why not what to install a custon?

[Q]What are my options?

Hi all so I have bootloader unlocked,TWRP flashed, Rooted, busyboxed, enabled init.d support,NJ6 4.4.4 KK I just want SELINUX set to permissive but it won't set what can I do what are my options to achieve this?

Categories

Resources