Related
Before I Rooted my GT-I9500 the SELinux status was official, now when I rooted it SELinux became Permissive, now I want to restore it to official, I tried to, 1. unroot, 2. flush new Firmware 3. reset it to factory settings. but it does not help. Please can someone explain me what is SELinux and how can I restore it to official...
waranty92 said:
Before I Rooted my GT-I9500 the SELinux status was official, now when I rooted it SELinux became Permissive, now I want to restore it to official, I tried to, 1. unroot, 2. flush new Firmware 3. reset it to factory settings. but it does not help. Please can someone explain me what is SELinux and how can I restore it to official...
Click to expand...
Click to collapse
Pleasy don't mix SELinux Status with Device or Firmware Status.
SELinux can be permissive or envorcing (since the latest MGG or MHx Firmwares)
The device status can be official or custom.
If you wan't SELinux Status envorcing and device status official, flash a ODIN Firmware and do a full wipe and never do any customications again.
Alex
I don`t mix it was official 100% and when I do exactly as you told i have my device status official and SELinux status permissive
I have rooted my new Sprint Galaxy S5 and have quarantined all the Knox apps without tripping the knox flag. I have researched setting selinux to permissive on the Sprint Galaxy S5 with the stock kernel and there seems to be no way of doing it short of flashing a different kernel.
Can a selinux permissive kernel be flashed to a stock 4.4.2 rom without tripping the knox flag?
If the kernel is odin flashable, then it should be ok. The knox flag is tripped when a custom recovery is installed.
Thanks for the info. There seems to be no selinux permissive Odin flashable kernels for 4.4.2 for the Sprint Galaxy S5(unless I missed something during my searching). Also, there seems to be no way to set selinux permissive without tripping the knox flag.
Here is a discussion on this: http://forum.xda-developers.com/showthread.php?t=2765353
And: http://forum.xda-developers.com/ver...ipt-permissive-selinux-stock-kernels-t2854364
From chainfire: http://su.chainfire.eu/#selinux-contexts-init-shell
I've been searching for a stock OG1 kernel with SELinux set to permissive on both xda app and google, and i haven't been able to find one. I need a precompiled one thats flashable through recovery, as my pc has died and im not able to use odin to flash .tars or compile it myself from source with it set to permissive. If anyone has a link to one please let me know, SELinux set to enforcing is causing me problems. Thanks in advance.
Hello, I need to disable Selinux (SEANDROID) many apps that i have not working i have 0x0 flag Custom Recovery, Rooted,Xposed Installed, I tryed all tutorials but none of them work, Enforcing Restarts when it was permissive apps wasn't crashing like App Name Has Stopped or Selinux need to be set to permissive for this app to work i need help with disabling SELINUX Now i get while booting to recovery "Recovery Is Not Seandroid Enforcing" how can i disable Selinux? Samsung Galaxy Grand Prime SM-G531F Lollipop 5.1.1
TheSMGCraft said:
Hello, I need to disable Selinux (SEANDROID) many apps that i have not working i have 0x0 flag Custom Recovery, Rooted,Xposed Installed, I tryed all tutorials but none of them work, Enforcing Restarts when it was permissive apps wasn't crashing like App Name Has Stopped or Selinux need to be set to permissive for this app to work i need help with disabling SELINUX Now i get while booting to recovery "Recovery Is Not Seandroid Enforcing" how can i disable Selinux? Samsung Galaxy Grand Prime SM-G531F Lollipop 5.1.1
Click to expand...
Click to collapse
it has to be done in the kernel aka boot.img. im not a kernel dev, so you will probably get the best results by looking around the forums for a kernel dev and pm ing them
toolhas4degrees said:
it has to be done in the kernel aka boot.img. im not a kernel dev, so you will probably get the best results by looking around the forums for a kernel dev and pm ing them
Click to expand...
Click to collapse
well thats bad, selinux keeps changing to permissive... i really need boot.img modded? i created my own Custom Firmware and flashed it, it doesn't flagged/tripped knox warrenty void upload here boot.img?
i found in root directory /SYS/FS/SELINUX some files like policy,disable,access,enforce Many files give's access denied or Re-Create's Disable file set to 1 Re-creates same with enforce change to 0 inside re-creates
i'm sick of this selinux ! ! help
Custom Kernel
toolhas4degrees said:
it has to be done in the kernel aka boot.img. im not a kernel dev, so you will probably get the best results by looking around the forums for a kernel dev and pm ing them
Click to expand...
Click to collapse
I Made with DadziokPL Custom Kernel with selinux permissive
***THREAD CLOSED!***
Hello, all. Rooted my HTC One A9 with Magisk, & I'm using the ViperFX module. Just curious to know if it's safe to disable SELinux enforcing on this device. It's stock rooted Nougat.