Thursday, July 26, 2018

security - How can I change SELinux from Enforcing to Permissive on Samsung Galaxy Note 3?


My device is Samsung Galaxy Note 3 SM-N9005.


This phone comes with SELinux set to Enforcing by default.


I have been trying to change this to permissive but to no avail.


I built the kernel from source code following Samsung instructions, and added a line to init.rc file in the ramdisk: "setenforce 0" and this worked, however WiFi broke and I am not clued up on kernel development.


I have tried, as root, running "setenforce 0" in terminal and via adb. There is no error, however it stays Enforcing.


I am running out of options have looked through the init files in the Samsung source code and cannot find anywhere where Samsung set SELinux to be Enforcing.


Any help will be vastly appreciated!





No comments:

Post a Comment

samsung galaxy s 2 - Cannot restore Kies backup after firmware upgrade

I backed up my Samsung Galaxy S2 on Kies before updating to Ice Cream Sandwich. After the upgrade I tried to restore, but the restore fails ...