Help with Selinux - Galaxy Note 3 Q&A, Help & Troubleshooting

So im rooted with knox 0x0 on 4.4.2
Im wondering if theres anyway to get selinux to permissive without triggering knox ?
Thanks.

siriom said:
So im rooted with knox 0x0 on 4.4.2
Im wondering if theres anyway to get selinux to permissive without triggering knox ?
Thanks.
Click to expand...
Click to collapse
Awesome help guys
come on , someone got to have an idea here...

Nope.
"SELinux not enforcing" = trigger Knox flag

siriom said:
Awesome help guys
come on , someone got to have an idea here...
Click to expand...
Click to collapse
Someguyfromhell said:
Nope.
"SELinux not enforcing" = trigger Knox flag
Click to expand...
Click to collapse
Depends on what device he has.
My phone has SELinux = Permissive, KERNEL IS NOT SEANDROID ENFORCING and RECOVERY IS NOT SEANDROID ENFORCING and KNOX is at 0x0.
I will assume he has a normal international device, and the most common way to do this is through custom kernel - which trips KNOX.
You could try Wanam Xposed and Disable SELinux from there. No guarantees.

nicholaschum said:
Depends on what device he has.
My phone has SELinux = Permissive, KERNEL IS NOT SEANDROID ENFORCING and RECOVERY IS NOT SEANDROID ENFORCING and KNOX is at 0x0.
I will assume he has a normal international device, and the most common way to do this is through custom kernel - which trips KNOX.
You could try Wanam Xposed and Disable SELinux from there. No guarantees.
Click to expand...
Click to collapse
I tried Wanam xposed , didnt work .
When i Su in a prompt i get root , i get to change setenforce to permissive but then getenforce just shows enforcing.
I have the international version.
How did you get yours to permissive ?

siriom said:
I tried Wanam xposed , didnt work .
When i Su in a prompt i get root , i get to change setenforce to permissive but then getenforce just shows enforcing.
I have the international version.
How did you get yours to permissive ?
Click to expand...
Click to collapse
You have the international version so you can't get it at KNOX 0x0.

Related

How can I change SELinux from Enforcing to Permissive on Samsung Galaxy Note 3

Hi to all
I want to found a simple solution(other a kernel) to change SELinux from Enforcing to Permissive on Samsung Galaxy Note SM-N9005 on MJ7 firmware.
Because I want to install LBE SECURITY and it don't work with statu Enforcing.
Thanks for all way Friends
Why not change kernel?
Sent from my SM-N9005 using xda app-developers app
Kernel was not stable and make some error with last firmware(camera ,spen ...)
as things look right now a custom kernel is the only way to get selinux = permissive.
But if you looking for privacy stuff use xposed with xprivacy module.
Beats LBE and all the other crap
Thanks for idea xprivacy module Zroice but Not a modification with edit the build existing ?
Envoyé de mon SM-N9005 en utilisant Tapatalk
On S4 Mini I9195 now whit Knox and stock kernel...
To turn SELinux from Enforcing to Permissive I make this on Terminal Emulator:
su
pm disable com.sec.knox.seandroid
-- wait for killed...
setenforce 0
But here on Note 3 not work.
Can someone study this way on N9005?
Thanks
Fast click 3-4x on "SELinux Status" in "About Tablet" (or "About Phone") should work too to switch between permissive and enforceing.
Lol not.
hit 'thanks' if i helped you
SM-N9005 DBT-DMJ7 0x0
XDA Developers 4 premium app
Wanam xposed can change it, it worked for me, stock mk2 stock kernel
Sent from my SM-N900 using xda app-developers app
*GalaxyDev* said:
Wanam xposed can change it, it worked for me, stock mk2 stock kernel
Sent from my SM-N900 using xda app-developers app
Click to expand...
Click to collapse
I did wonder if Wanam done it as it was deemed "Experimental" -- interesting to know it works though.. I keep mine enforced on custom kernel, no real need for me to have Permissive atm.
SELinux enforcing mode Galaxy S5
I have Galaxy S5 SM-G900F, the problem is I cant use Chainfire Stickmount or Paragon exFAT, NTFS, HFS+. These are the only SU apps that I want to use but will not work without SELinux being set to permissive mode. I have sent the logs for Paragon to the developers in the hope they can make some changes to bypass the MAC my SELinux is imposing.
When I installed ChainFireAutoRoot and ran SuperSU it warned about KNOX and disabled KNOX. KNOX counter at 0x1 after root.
I have tried adb shell su 0 -c "setenforce 0"
rebooted
still enforcing mode
Can someone explain to me, is it actually the boot loader setting SElinux mode?
I have this problem also
One possible way is downloading wanam xposed.
Then go to security hacks
then change selinux from enforcing to permissive
good luck!:fingers-crossed:
Thanks. But that did not work.
boogieb4 said:
Thanks. But that did not work.
Click to expand...
Click to collapse
flash lean kernel, any civz kernel, xnote kernel ...
selinux is set by the kernel
Is it possible to flash any rooms while status is enforcing.
boogieb4 said:
Is it possible to flash any rooms while status is enforcing.
Click to expand...
Click to collapse
Try the Ultimate Kernel v64.. it fix many problems i had with lean kernel and permissive forced on wanamite.
Chooo
boogieb4 said:
Is it possible to flash any rooms while status is enforcing.
Click to expand...
Click to collapse
My experience with Note 3 (SM-N9005) is that any rom can be flashed while selinux status is enforcing
Sent from my SM-N9005 using XDA Free mobile app
How to change enforcing to permissive in My SM-G532F
Bhadran said:
How to change enforcing to permissive in My SM-G532F
Click to expand...
Click to collapse
This is not your phones forum its NOTE 3 forum.

[KNOX]

KERNEL IS NOT SEANDROID ENFORCING
Set Warranty Bit: kernel
How do I stop this from showing when I boot my phone?
synthecypher said:
KERNEL IS NOT SEANDROID ENFORCING
Set Warranty Bit: kernel
How do I stop this from showing when I boot my phone?
Click to expand...
Click to collapse
You can't its triggerd
KingOfDope said:
You can't its triggerd
Click to expand...
Click to collapse
So frustrating it was triggered by ROM Manager.
It asked me if I wanted to disable KNOX as it could cause problems. I didn't realise our want reversible.
Surely if I revert to a ROM using stock kernel if should go away?
synthecypher said:
So frustrating it was triggered by ROM Manager.
It asked me if I wanted to disable KNOX as it could cause problems. I didn't realise our want reversible.
Surely if I revert to a ROM using stock kernel if should go away?
Click to expand...
Click to collapse
unfortunately no KNOX is a hardware (eFuses) thing. Maybe in the future somebody can disable it Look in this thread : LINK they said that Samsung has a tool that can reset it but nobody from the outside got a hand on it

Knox 0x1 problem

Hi, My KNOX shows up as 0x1. How would I go about making this 0x0. I can not install SuperSU as knox is enabled.
LemonLemsip said:
Hi, My KNOX shows up as 0x1. How would I go about making this 0x0. I can not install SuperSU as knox is enabled.
Click to expand...
Click to collapse
My Dear Lemon, KNOX can’t reset to 0x0 , knox will not block supersu.
jdomadia said:
My Dear Lemon, KNOX can’t reset to 0x0 , knox will not block supersu.
Click to expand...
Click to collapse
No problem it is all sorted now thanks. Just had to re-root it.

Rooted 5.1.1 Private Mode Failed

Whenever i flash custom kernel for root 5.1.1, private mode always fail. Is there a solution ?
get a custom kernel with enforcing status , i guess then it will work
Er. Aditya said:
get a custom kernel with enforcing status , i guess then it will work
Click to expand...
Click to collapse
than you so much I am using N910g can you avice any kernel
I'm using the stock kernel with NTFS support and SEenforcing and i'm also having the same problem!
I tried many kernel one of them enforcing but still private mode failed
@Er. Aditya
any-way said:
Whenever i flash custom kernel for root 5.1.1, private mode always fail. Is there a solution ?
Click to expand...
Click to collapse
Tripped KNOX counter = No Private mode forever
d4rkkn16ht said:
Tripped KNOX counter = No Private mode forever
Click to expand...
Click to collapse
But With stock rom and stock kernel it is working
any-way said:
But With stock rom and stock kernel it is working
Click to expand...
Click to collapse
Try again, I was using stock ROM & kernel (Rooted) = KNOX Counter tripped = no Private Mode
Update: I've factory reset my phone and still can't get Private Mode to work. Used to work perfectly fine prior to 5.1.1?
thecrater said:
Update: I've factory reset my phone and still can't get Private Mode to work. Used to work perfectly fine prior to 5.1.1?
Click to expand...
Click to collapse
It doesn't work anymore because KNOX Counter is tripped. You can't revert it.
sorry, double post
you could try with this: Original Samsung SE enforced kernel.
This is ONLY for N910F.
OyyoDams said:
It doesn't work anymore because KNOX Counter is tripped. You can't revert it.
Click to expand...
Click to collapse
d4rkkn16ht said:
Tripped KNOX counter = No Private mode forever
Click to expand...
Click to collapse
Bull****
You can have knox tripped, custom kernel and private mode fully functional
as you can see in the screenshot below
zamcum said:
Bull****
You can have knox tripped, custom kernel and private mode fully functional
as you can see in the screenshot below
Click to expand...
Click to collapse
I don't know if such attitude is necessary or even allowed in this forum.
I'm talking based on my experience & others.
I was using rooted stock ROM & kernel but Private mode is disabled forever right after KNOX counter tripped.
If you can enable Private Mode while using custom kernel + tripped KNOX why don't you help OP instead?
I had mine rooted and Private Mode worked on 5.0 and without Xposed. I had the original Kernel rooted by chainfire so nothing fancy! Not sure what's changed in 5.1.1
thecrater said:
I had mine rooted and Private Mode worked on 5.0 and without Xposed. I had the original Kernel rooted by chainfire so nothing fancy! Not sure what's changed in 5.1.1
Click to expand...
Click to collapse
A butt load of security was added...
Private Mode works after rooting, just try This and see the magic.
ultramag69 said:
A butt load of security was added...
Click to expand...
Click to collapse
once 5.1.1 flashed...rooted on stock rom.....i was not able to make any change by the build.prop anymore!! downgraded to 5.0.1 and "bang" everything was back...
zxaz said:
once 5.1.1 flashed...rooted on stock rom.....i was not able to make any change by the build.prop anymore!! downgraded to 5.0.1 and "bang" everything was back...
Click to expand...
Click to collapse
Lollipop 5.1.1 can't be rooted ordinary way.
You need to use custom Permissive Kernel to be able to ROOT it.
It seems that your root attempt was failed (but no error message).
i succesfully rooted...even checked with "root checker" but was not able to make any change with the build.prop....

G900f Permissive mode

Hi, is there any way to change SElinux to permissive mode on BPA2 without flashing custom kernel ? My phone is rooted, deknoxed, knox 0x1.
Thanks for help.
prostozsadu said:
Hi, is there any way to change SElinux to permissive mode on BPA2 without flashing custom kernel ? My phone is rooted, deknoxed, knox 0x1.
Thanks for help.
Click to expand...
Click to collapse
I dont think there is, not 100% sure on that though.
Sent from my SAMSUNG-SM-G900A using Tapatalk
Thats bad, now im on Boeffla kernek but i noticed worse performance than on stock and i want to enable reactivation lock.
prostozsadu said:
Thats bad, now im on Boeffla kernek but i noticed worse performance than on stock and i want to enable reactivation lock.
Click to expand...
Click to collapse
As with before, not 100% as I'm not on a model that allows me to get too deep in custom stuff, but the general consensus ive seen is custom anything+reactivation lock on=bad news bear.
Sent from my SAMSUNG-SM-G900A using Tapatalk
That's why i want permissive mode on stock kernel

Categories

Resources