Aqua Dark Material Theme for CM12

XDA Senior MemberSimix93prepared a nice looking theme changing the original colors into shades of green. … more

Fonts Collection for CyanogenMod 12

Check out this collection of amazing fonts ready to make your CyanogenMod 12 ROM even more beautiful. … more

Send Links to Any Nearby Device with CaastMe

There already are many solutions on the Google Play store if you want to send a link to one of … more

Samsung Galaxy S4 Is Getting Lollipop Update in Russia

Samsung Galaxy S4 users in Russia are getting the Lollipop update via OTA. The update … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[SCRIPT] [INIT.D] Permissive SELinux on Stock Kernels [08/21/2014]

OP hsbadr

19th September 2014, 11:57 AM   |  #11  
Member
Thanks Meter: 1
 
52 posts
Join Date:Joined: Feb 2012
if i run the commands by hand from a prompt and it doesnt switch selinux to permissive is there a point to trying to get this into init.d ?
20th September 2014, 03:43 AM   |  #12  
RomsWell's Avatar
Senior Member
Flag Venice
Thanks Meter: 1,036
 
1,595 posts
Join Date:Joined: Jul 2011
More
Quote:
Originally Posted by siriom

if i run the commands by hand from a prompt and it doesnt switch selinux to permissive is there a point to trying to get this into init.d ?

Im not all that sure it will show that way. It is during boot that permissive is checked. After boot I dont think it rechecks. If your following me? Might be a appcto force close and maybe it will restart and change the about listing. Or maybe a soft reboot
20th September 2014, 06:02 PM   |  #13  
Junior Member
Thanks Meter: 5
 
24 posts
Join Date:Joined: Jun 2010
I noticed you have 775 for rwx-rx-rx but 775 is rwx-rwx-rx shouldn't it be set to 755 for rwx-rx-rx?
20th September 2014, 06:30 PM   |  #14  
hsbadr's Avatar
OP Senior Member
Thanks Meter: 7,975
 
1,923 posts
Join Date:Joined: May 2014
Donate to Me
More
Quote:
Originally Posted by siriom

if i run the commands by hand from a prompt and it doesnt switch selinux to permissive is there a point to trying to get this into init.d ?

you did something wrong for sure. The screenshot is from my device on NC4 kernel with permissive SELinux & all JasmineROM's users on NC4 kernel use the same script.

Quote:
Originally Posted by Zarg95ET

I noticed you have 775 for rwx-rx-rx but 775 is rwx-rwx-rx shouldn't it be set to 755 for rwx-rx-rx?

You're right. It's 0755; OP updated.
Post Reply Subscribe to Thread

Tags
init.d, permissive, script, selinux
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes