My Samsung Galaxy Note S2 (GT-N7102) running stock 4.3 JellyBean by default blocks all apps from Google (courtesy of the Chinese government). I followed a tutorial to gain access to gapps that relies on SELinux being set to permissive, but the mode changes on a reboot and I get a continuous stream of pop-up that says:

Unfortunately the process com.google.gapps has stopped

What is changing the SELinux mode and how do I stop it from doing so?


If your ROM supports init.d or if you wish to enable init.d support for this purpose, here's a way to disable SE Linux automatically everytime after each boot..

Create a new script as follows:

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.


When you are rooted install SELinux mode changer from playstore or here


Then Change SELinux to permissive grant root access and youbare done.

  • App has been taken off of Play Store. Also, this application only worked on Android 4.3 and earlier. Not broad enough to be considered a good answer. – NoCatharsis Jul 1 '16 at 18:13
  • Certainly not. Works fine for me. And the link takes you to xda not to google.... – TechMod Jul 2 '16 at 23:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.