AnsweredAssumed Answered

How do i disable Enforcing mode of selinux in android M?

Question asked by Sandeep Mantrala on Jul 21, 2016
Latest reply on Jul 25, 2016 by Victor Linnik


I am working on IMX6SX sabre sd board. I got the prebuilt images and flashed them using MFGtool.

I am using the demo images from following location :  android_M6.0.1_2.0.0_image_6sxsabresd


Q1 :

I would like to know how can I disable selinux from command line?

"setenfore 0 " is not working.

Is there no  easy way to  disable selinux other than recompiling the kernel?



In the android FAQ document, The Key mapping for IMX6SX tells that ON/OFF key acts as power button.  But when i press it, the syustem is reset same as RST key. Could you please clarify on this?