How to set SELinux to permissive in android 11? - Samsung Galaxy S20 / S20+ / S20 Ultra Questions &

Hello, I've rooted my device, but I can't set onto magisk setenforce=0... what can I do in order to have a permissive linux? It looks like this issue is present on all samsung devices...

robi101012981 said:
Hello, I've rooted my device, but I can't set onto magisk setenforce=0... what can I do in order to have a permissive linux? It looks like this issue is present on all samsung devices...
Click to expand...
Click to collapse
Have you tried this app:
[APP][TOOL][2.0+][OFFICIAL]The SELinux Switch
The SELinux Switch . What's The SELinux Switch & What Makes It Different from The SELinux Toggler? I'll outline this in brief since it would take too much time and space in explaining everything in detail. Primarily, The SELinux Switch was...
forum.xda-developers.com

It_ler said:
Have you tried this app:
[APP][TOOL][2.0+][OFFICIAL]The SELinux Switch
The SELinux Switch . What's The SELinux Switch & What Makes It Different from The SELinux Toggler? I'll outline this in brief since it would take too much time and space in explaining everything in detail. Primarily, The SELinux Switch was...
forum.xda-developers.com
Click to expand...
Click to collapse
Solve it by flashing a custom kernel that allows SELinux to be Permissive.

robi101012981 said:
Solve it by flashing a custom kernel that allows SELinux to be Permissive.
Click to expand...
Click to collapse
Hi I'm using a Samsung Galaxy A03s, android 12
please what Kernel could I use to get selinux permissive

I'm on Samsung a127f using custom ROM CrDroid 9.2 but still setenforce 0 doesn't seem to work. Selinux mode changer doesn't work also. Any help on how to switch selinux to permissive would be greatly appreciated

Related

switch selinuxmode to permissive?

Hey guys i have a little question. How can i switch to selinux permissive mode? I ask because of the xposed framework. Selinuxchanger app works but is too slow for xposed. Xposed recognizes the enforcing mode... Init.d doesnt work too.My device is lgg3 and i run the actual darkobas build with Johns 777 kernel. Is there another way? Which files i have to change?
Thanks!

[Q] Temasek CM12.1 for SM-P600 & SELinux

Just installed the latest version of the Temasek CM12.1 for SM-p600, and it all appears to work well, (except one reboot not found out the cause as yet). My question is why is SE Linux not in Enforcing mode. I am using the selinux mode changer, but its worrying that the security appears to be disabled to a point (and yes i know rooting is also a security issue). also when will SELinux be set properly or is there no plan for this ?

selinux permissive kernel for stock rom P600XXUDOJ3 please

Has someone compiled a selinux permissive kernel for stock rom P600XXUDOJ3
This stock rom is great , however since selinux is enforcing , it leads to some annoying issues when running linux in chroot.
If someone have compiled a selinux permissive kernel for stock rom P600XXUDOJ3 that can be flashed with odin, please share it.
Thanks in advance.
robertchow said:
Has someone compiled a selinux permissive kernel for stock rom P600XXUDOJ3
This stock rom is great , however since selinux is enforcing , it leads to some annoying issues when running linux in chroot.
If someone have compiled a selinux permissive kernel for stock rom P600XXUDOJ3 that can be flashed with odin, please share it.
Thanks in advance.
Click to expand...
Click to collapse
I also requested that before 1 week, but i get no answer. I think there is no one who can do that at the moment...

SELinux enforcing

Is it possible to change the SELinux enforcing to permissive and if so what is the best way ?
rees54y said:
Is it possible to change the SELinux enforcing to permissive and if so what is the best way ?
Click to expand...
Click to collapse
Yes and with an app - search the playstore
It requires a rooted phone
I didn't try it, but it seems to work:
https://forum.xda-developers.com/android/apps-games/app-selinux-switch-t3656502

[SELINUX] How to recompile kernel to change selinux policy

Hey guys,
I noticed that I can't change my SELinux to Permissive through whatever (Magisk Scripts, APPS, direct terminal command, flashing with TWRP...).
So I've done some research and it seems to be my kernel.
So my question is how do I correctly recompile my Huawei P20 Lite (ANE-LX1 8.0.0.126(C432)) to change that selinux force policy?
Thank you all in advance,
Aaron.
dump
Bump ! PL Not dump.... any luck with ur Q @TheSaltyOne2 & others . Can you PL point me to some online guide of how to compile new SeLinux Policy rules ? I used fbind in Permissive Selinux. With enforcing I cant bind mount even after using bindfs . I need to change SePolicy Rules. I am trying to understand how it can be done .

Categories

Resources