[APP][Root][4.2+]SELinuxModeChanger v10.0 :: [24.07.2017]

Skick3

Senior Member
Mar 11, 2015
77
5
28
You should activate to block the Notifaction Message for the Google Play Service/Store? App and after enable the Notification Message again.
The Message should for a few days away
 

The Fer-Shiz-Nizzle

Senior Member
Jun 17, 2010
931
822
123
38
Plano, TX
The word reboot is used too much to search 37 pages.

If I set SELinux from Permissive back to Enforcing, is a reboot required? I assume yes but want to confirm
Its been quite q while since I used this app, but I don't believe it requires a reboot for changes to take effect. After changing the SELinux mode with the app, you should be able to see the SELinux status in the system settings > about phone.
Or you can type the following from an ADB shell or a terminal emulator app:

su
getenforce

Sent from my m8whl using Tapatalk
 

SyCoREAPER

Retired Forum Moderator
Jan 20, 2009
1,809
713
143
Reaping your Soul
Its been quite q while since I used this app, but I don't believe it requires a reboot for changes to take effect. After changing the SELinux mode with the app, you should be able to see the SELinux status in the system settings > about phone.
Or you can type the following from an ADB shell or a terminal emulator app:

su
getenforce

Sent from my m8whl using Tapatalk
Thanks, can anyone confirm? What you posted makes sense but what I am wondering is if the system is only reading the (current) value changed or if it is actually (actively) enforced at the time you ADB it.
 

georgekgk

Member
Jan 16, 2012
11
0
0
Galaxy S7 problem

On Galaxy S7 (6.0.1, no "My KNOX" installed) it says that the app has no SU rights, but I gave it when it asked for...

How do I fix this?
 

SyCoREAPER

Retired Forum Moderator
Jan 20, 2009
1,809
713
143
Reaping your Soul
Thanks, can anyone confirm? What you posted makes sense but what I am wondering is if the system is only reading the (current) value changed or if it is actually (actively) enforced at the time you ADB it.
bumppppssing

I've been reading up on it and the reason I ask is because I found:
SELinux can transition from Enforcing to Permissive easily using the setenforce command. Providing setenforce with a "0" argument will put the system in Permissive mode, a "1" will set it to Enforcing. To transition to or from Disabled mode, you need to reboot after making the appropriate changes to the sysconfig file.
So if this is the case, that means Enforcing does in-fact require a reboot and is not on-the-fly which to me indicates that the state read back by sestatus is only what is in the config, not the actual state.
 
Last edited:

Azlun

Senior Member
May 9, 2013
340
217
0
Shenzhen
Now opensourced under gplv3! GITHUB
Also you can get it in f-droid! F-DROID page

There are lots of folks around who already has KitKat on their devices. But kitkat comes with new secutity enhancement, SELinux, put into "enforcing mode". Maybe This thing is good from the point of security, but it breaks some Root Apps, like my Ultimate Dynamic Navbar, so I created this app.

What does it do? This app can change modes of SELinux:
Run app, give root access, select the mode you want SELinux to be in(permissive or enforcing) and that's all. Every time you reboot your device app will execute the script to change SELinux to the mode you've selected. Simple and stupid.


SELinuxModeChanger-v3.2.apk

Google Play Link

My google play account was banned because of selinux stuff ;/


know issues:
- [THEORETICALLY] doesn't work with Samsung KNOX.




XDA:DevDB Information
SELinuxModeChanger, App for the Android General

Contributors
MrBIMC

Version Information
Status: Stable
Current Stable Version: 3.0
Stable Release Date: 2015-04-27

Created 2013-11-13
Last Updated 2015-05-17
that will be good tool
 

shinbi

Member
Jan 1, 2009
21
4
0
Hi, i have a issue wih Selinus mode changer: "app was unable to gain root access"

My Nexus 5 was rooted and used SU v2.72
 
Last edited:

xlollomanx

Senior Member
Dec 8, 2011
726
369
93
Hi, i have a issue wih Selinus mode changer: "app was unable to gain root access"

My Nexus 5 was rooted and used SU v2.72
Have the same issue with rooted Huawei mate s

Envoyé de mon PRO 5 en utilisant Tapatalk
Same on Shield TV.

Sent from my XT1575 using Tapatalk
Same issue lg v10

Sent from my LG-H901 using XDA-Developers mobile app
All of you are using SuperSU newer version than 2.68? On my device any other version newer than this give me that issue.

Sent from my Oneplus One
 
  • Like
Reactions: OMGLOLetcetc
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone