-
Open the
setenforcefolder wheresetenforce0.batis located. -
Run the script with double-click.
-
Open the
setenforcefolder wheresetenforce0.shis located from the Terminal. -
Make it executable.
chmod +x setenforce0.sh
./setenforce0.sh- This assumes your device is already connected via ADB and has root access (
suworks). - SELinux might still show as enforcing if the kernel is locked down — but this usually works on custom ROMs or rooted stock ROMs.