PDX1911
Newbie
does this ROM/kernel have init.d support? I've read elsewhere that you can use a script to auto setenforce 0
Create script as follows:
(Note: If you're using an app to emulate init.d, use su -c setenforce 0 if just setenforce 0 doesn't work)
Save it as set_permissive.sh, move it to /system/etc/init.d/ directory and give it permissions 755.
ofcourse this is all assuming you've got a way to make things stick which is what we want...
if we can get things to stick we could add this:
to our build.prop
so for now, do this:
then try mouting the system as rw? hope any of your changes stick, also, look into dm-verity
Create script as follows:
Code:
#!/system/bin/sh
setenforce 0
(Note: If you're using an app to emulate init.d, use su -c setenforce 0 if just setenforce 0 doesn't work)
Save it as set_permissive.sh, move it to /system/etc/init.d/ directory and give it permissions 755.
ofcourse this is all assuming you've got a way to make things stick which is what we want...
if we can get things to stick we could add this:
Code:
ro.build.selinux.enforce=0
so for now, do this:
Code:
su
setenforce 0
then try mouting the system as rw? hope any of your changes stick, also, look into dm-verity
Last edited:
