switch selinuxmode to permissive? - G3 Q&A, Help & Troubleshooting

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!

Related

changing selinux to permissive

any help is appreciated:
hello xda, am currently on Quantum 3.56 . att i747., would like to change selinux to permissive. have tried wanam xposed module and selinuxmodechanger app. no luck witb either.
any advice/direction ?
thanks again.
err on the side of kindness
Afaik, selinux has to be disabled in the kernel. Also afaik, no ones been able to do this on aosp/cm based kernels. Only on the TW ones. Not familiar with the AT&T roms though, so not sure about Quantum. Im assuming aosp? There used to be a command you could enter via terminal or init.d, but this doesnt work anymore from what ive heard.
thank you for info. :thumbup:
err on the side of kindness

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 .

How to set SELinux to permissive in android 11?

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

Categories

Resources