-2

I am using a Galaxy s10+, rooted with magisk, no custom ROM, no custom kernel and no custom recovery. The rooting is heavily limited because of the SELinux enforce mode. Actually, no root command in termux works because of SELinux. I do not want to disable SELinux permanently for security reasons. What I want is something similar to the command "setenforce 0". This does not work on my phone however, and I think it could be KNOX related. It gives no errors but the output of "getenforce" is still enforced.

Is there a way to set SELinux to permissive mode only temporarily until next reboot on rooted Samsung galaxy s10+ with magisk, everything stock?

The linked duplicate is what i already tried, and it also says it does not work after 2015.

8
  • 3
    Possible duplicate of How to make SELinux permissive on a Knox Samsung device? Commented Jul 14, 2019 at 20:39
  • That is what i already tried as I said. The answer says that it no longer works after 2015.
    – Selinuxguy
    Commented Jul 14, 2019 at 20:49
  • 1
    ... and the answer remains the same after 2015: you need to run a custom kernel
    – alecxs
    Commented Jul 14, 2019 at 21:48
  • 1
    @alecxs and OP insists on not having a custom kernel in 4 questions asked previously: 1, 2, 3, 4. Commented Jul 14, 2019 at 21:52
  • 1
    CONFIG_SECURITY_SELINUX_DEVELOP=y
    – alecxs
    Commented Jul 14, 2019 at 22:02

1 Answer 1

-1

I almost literally did the same thing.. I went after an LG K30 Premier Pro and comes down to SElinux. I did mine to prove you can "Root" a phone without deactivating the bootloader. Still having hard time cause without deactive it either says your not rooted or it does say it and the phone inner programs send you an email and tell you they are going into hidding inside a FireStick . pretry. Funny really. .. Ok herwnis the email com.lge.software.cliptray Version: null (0) SD Maid

Version: 4.14.27 (41427) Device

Fingerprint: lge/cv3_lao_com/cv3:8.1.0/OPM1.171019.026/19155140321d4:user/release-keys

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .