Sunday, 24 July 2016

SELinux Permissive mode



Hi, I can't really set SELinux Permissive on boot.
I can only set SELinux Permissive from Terminal using this code:


Code:


su
mount -o remount,rw /system
mkdir /system/su.d
echo "#!/system/bin/sh" > /system/su.d/permissive.sh
echo "setenforce 0" > /system/su.d/permissive.sh
echo "0" > /sys/fs/selinux/enforce
chmod 755 /system/su.d/permissive.sh


but after a reboot it returns in Enforcing mode.
I find and tried other codes around, tried scripts for init.d, Kernel Adiutor's Plungin with active SuperSu on Boot, but nothing.

I have OOS 3.2.1, System Xposed v.86, System Root.



No comments:

Post a Comment