Related
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.
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.
Hi .
Im looking for a samsung kernel with selinux turned off. It doesnt need to be special , or have special stuff included ... something like stock but with selinux disabled so i can install linux on my note 3.
Ive looked around and found that some of the most known ones might have selinux permissive but list stuff like "random reboots while using phone" or "sms not working" or "freezes up with any language except usa english"... I kinda use my phone so does anyone have a stock kernel with simply selinux as permissive that actually still allows the phone to work normally ?
SM-N9005 international note 3 , rooted with knox 0x0 atm.
Thanks
Lean kernel
siriom said:
Hi .
Im looking for a samsung kernel with selinux turned off. It doesnt need to be special , or have special stuff included ... something like stock but with selinux disabled so i can install linux on my note 3.
Ive looked around and found that some of the most known ones might have selinux permissive but list stuff like "random reboots while using phone" or "sms not working" or "freezes up with any language except usa english"... I kinda use my phone so does anyone have a stock kernel with simply selinux as permissive that actually still allows the phone to work normally ?
SM-N9005 international note 3 , rooted with knox 0x0 atm.
Thanks
Click to expand...
Click to collapse
Lean kernel is the best!!
---------- Post added at 03:46 AM ---------- Previous post was at 03:08 AM ----------
ultimate kernel is also one of the best kernel out there
siriom said:
Hi .
Im looking for a samsung kernel with selinux turned off. It doesnt need to be special , or have special stuff included ... something like stock but with selinux disabled so i can install linux on my note 3.
Ive looked around and found that some of the most known ones might have selinux permissive but list stuff like "random reboots while using phone" or "sms not working" or "freezes up with any language except usa english"... I kinda use my phone so does anyone have a stock kernel with simply selinux as permissive that actually still allows the phone to work normally ?
SM-N9005 international note 3 , rooted with knox 0x0 atm.
Thanks
Click to expand...
Click to collapse
1. Best or recomended is not allowed on XDA
2. If you want to flash custom kernel it requieres custom recovery and it triggered Knox to 0x1
verny94 said:
1. Best or recomended is not allowed on XDA
2. If you want to flash custom kernel it requieres custom recovery and it triggered Knox to 0x1
Click to expand...
Click to collapse
Since i kind of dont know all the roms of there i need someone to recomend something and im aware of the risks...
Thread closed as its a recommend/best kernel thread.
Could someone kindly help me switch my SElinux to permissive? I tries the SElinux mode changer but it doesnt work, I'm on 5.0 lolipop, g900a. thanks..
You would need to flash a custom kernel. KT's kernel is popular, and is permissive enabled.
metalfan78 said:
You would need to flash a custom kernel. KT's kernel is popular, and is permissive enabled.
Click to expand...
Click to collapse
Could you link it to me please? I cant find one that supports G900A
JustAnotherAndroid said:
Could you link it to me please? I cant find one that supports G900A
Click to expand...
Click to collapse
Uou cant flash any custom kernels on g900a due to locked bootloader. The new multisystem tool recently released does set it to permissive though.
Sent from my twi5ted SM-G900A using Tapatalk
I didn't know about the bootloader. I'll need to check out that tool though.
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