FORUMS
Remove All Ads from XDA

su.d seams doesn't work

502 posts
Thanks Meter: 46
 
By SoftWord, Senior Member on 11th December 2015, 08:58 AM
Post Reply Email Thread
supersu
Hi, I'v created this script:

Quote:

#!/system/bin/sh
setenforce 0

But at reboot isn't executed, I think.

If I try to execute in shell with root this is the result:
Attached Thumbnails
Click image for larger version

Name:	a.png
Views:	546
Size:	3.4 KB
ID:	3572522  
 
 
12th December 2015, 12:49 PM |#2  
OP Senior Member
Thanks Meter: 46
 
More
Any info please?
26th August 2016, 09:44 AM |#3  
AJPuzon's Avatar
Member
Flag Makati
Thanks Meter: 10
 
More
If you are using a samsung device, changing SElinux to permissive is not possible anymore, you have to modify the policy files to change it, this problems started when upgraded to Touchwiz Lollipop

Sent from my SM-T235 using Tapatalk

---------- Post added at 04:44 PM ---------- Previous post was at 04:42 PM ----------

But if you are using stock android, there is an app that you can use without su.d scripts which is SELinux Mode Changer, just search it in google and you will find the updated apk supported to marshmallow

Sent from my SM-T235 using Tapatalk
26th August 2016, 07:12 PM |#4  
Chainfire's Avatar
Moderator Emeritus / Senior Recognized Developer - Where is my shirt?
Thanks Meter: 88,011
 
Donate to Me
More
supolicy --live "permissive *"
30th August 2016, 12:04 AM |#5  
Junior Member
Thanks Meter: 0
 
More
my samasung lgg3 wont start.i did mess around with it so probably destroyed it.in the hard reset and reboot it always has an alert sayin .os features must be installed.i think super su.i have tried downloading where to i dont know and uploaded to files i didnt know.lol please help
6th September 2016, 03:57 AM |#6  
Senior Member
Flag Hilliard OH
Thanks Meter: 95
 
More
First problem is that you have an .sh extension. Rename the script to something like 99script, no extension. Secondly, you must chmod 755 the script to make it executable. Thats why it's saying not found.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes