1

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?

Andrew T.
  • 15,988
  • 10
  • 74
  • 123
ttttcrngyblflpp
  • 11
  • 1
  • 1
  • 2

2 Answers2

0

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

http://forum.xda-developers.com/showthread.php?t=2524485

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

TechMod
  • 196
  • 6
  • 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 01 '16 at 18:13
  • Certainly not. Works fine for me. And the link takes you to xda not to google.... – TechMod Jul 02 '16 at 23:05
0

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:

#!/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.

Gokul NC
  • 1,909
  • 3
  • 18
  • 30