Disabling or setting selinux to permissive mode on samsung galaxy j7 {j700f (2016)} - General Questions and Answers

I have tried using selinux mode changer, 'terminal ide' and apps of that sort, looked on the internet for commands, init.d method (my kernel does not support init.d) but non of them worked. The SE (selinux) status always stays "enabled". I have the latest version of supersu on my device.
Do I have to flash custom rom of cyanogenmod on my device? If so, will the custom rom have supersu any Google apps?
From j700f (2016): android version 6.0.1

Related

kernels/roms selinux permissive ?

I found Tugarom, are there other roms/kernels that support selinux permissive (needed for xprivacy) that are Lollipop compatibel?
Xprivacy didn't work either on that rom (It was already installed as a system app). Anyone who had a solution?

USB / BT Joystick Center 2015 Android 5.0+

For anyone having trouble with this app on android 5.0+ a quick download of kernal auditor (needs root) and the selinux plugin the all provides to set SElinux to permissive and the app will fully work. Joy to touch driver will not work without this.

Galaxy S6 5.1.1 Kernel Compilation from Source Code

Hi, i have success compiled kernel 5.0.2 with mac80211 support and drivers for wifi cards.
insmod, rmmod, lsmod working good ( i have too Kali Linux on my Galaxy s6)
Now i want have Lollipop 5.1.1 but with this i have problem.
After i success compiled kernel and flash my phone freeze on inscription "Samsung Galaxy S6" and have small red inscription "Kernel is not seandroid"
What i must do for possible start my lollipop 5.1.1?
I had one kernel for 5.1.1
1. Root included
2. KNOX removed
3. "Kernel is not seandroid" removed
and system boot normal but with my compiled kernel.
What is problem ?
I have G9200 HK
Now use Stock 5.0.2 with my "stock kernel" with mac80211 support, root and compiled much USB wifi drivers (modules.ko).
Want use 5.1.1 STOCK or custom with self compiled kernel or
Custom rom with support mac80211 + tutorial how compile wifi drivers for USB dongles ( modules.ko) for compiled kernel.
Normally i compile modules met kernel compilation.
I use for compilation this tutorial

[Completed] [Q] Kernel periodically switches to 'Enforcing' instead of 'Permissive'

Hi friends.
When I launch my phone my SELinux is permissive. If i check it about three minutes later, it will be Enforcing. If I use terminal and type "su" then "setenforce 0", it goes to permissive, for all of five minutes.
What in the world can be switching me back to enforcing?
My setup, if it matters;
-Xiaomi Redmi Note 3 Pro Official bootloader unlock
-Cyanogenmod 13
-CM Root removed, replaced with systemless via Magisk
-Xposed systemless via magisk
Hi !
Please report the issue in the rom thread you are using it or the Magisk thread , we cannot provide much help on custom roms and mods that we don`t use or develop, this is a rom or mod specific question .
Thanks !
I`ll close this one

Custom kernel with SELinux enforcing?

I use Samsung Galaxy S9+ (Snapdragon). I am rooted with Magisk and Klabit kernel but no SElinux enforcement.
Is there any custom kernel for my phone that enforces SELinux?
Please share links with me.
Thank you.
Just root phone --> serivice.d --> setenforce 1 & you are enforced
Since Android 5 ( AOSP ) SELinux's mode is ENFORCING by default. Custom ROMs set it to PERMISSIVE by default in order to properly work.

Categories

Resources