FORUMS

How to Lock and Protect Your Apps – XDA Xposed Tuesday

The smartphone revolution has passed. Everybody has mobile apps. Some of … more

Which OEM Would You Like to Help?

Most manufacturers have moments of greatness and moments of decadence, and in the past few years … more

Root T-Mobile S6/Edge on 5.1.1 Without Tripping Knox

If you purchase phones from a carrier, you may be no stranger to the difficulties … more

IonVR Coming Soon, HTC M9 Dev Edition Gets Android 5.1 – XDA TV

The HTC M9 Developer Edition has received Android 5.1. That and … more

[Q&A] [kernel][stock][D85520P][init.d][bumped]Stock EXperience (for) You -- SEXY

n/a posts
Thanks Meter: 0
 
By QA Bot, Guest on 30th May 2015, 10:59 AM
Post Reply Subscribe to Thread Email Thread
Q&A for [kernel][stock][D85520P][init.d][bumped]Stock EXperience (for) You -- SEXY

Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.

Before posting, please use the forum search and read through the discussion thread for [kernel][stock][D85520P][init.d][bumped]Stock EXperience (for) You -- SEXY. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.

Thanks for understanding and for helping to keep XDA neat and tidy!
 
 
30th May 2015, 10:59 AM |#2  
Junior Member
Thanks Meter: 0
 
More
Sexy kernel question
Hello . Is it possible to create a version of the set selinux permissive . Alternatively, if there is any init.d script that is changing. Greetings
30th May 2015, 03:06 PM |#3  
6ril1's Avatar
Senior Member
Thanks Meter: 577
 
More
Quote:
Originally Posted by mnkowalski

Hello . Is it possible to create a version of the set selinux permissive . Alternatively, if there is any init.d script that is changing. Greetings

Hello,
I did it and i can share if you want but you better use init.d to do this:

Create a file named 07setpermissive in /etc/init.d folder with inside this simple code, and give 755 permission to this file (with a root explorer).
Code:
#!/system/sh
setenforce 0
Reboot, and it's done (SELinux is set to "permissive"). If you want to disable it, you can tape in a terminal emulator;
Code:
su
setenforce 1
If you really need, i can share the same thing done in ramdisk.
Last edited by 6ril1; 30th May 2015 at 03:12 PM.
The Following User Says Thank You to 6ril1 For This Useful Post: [ View ]
30th May 2015, 04:08 PM |#4  
Junior Member
Thanks Meter: 0
 
More
I would be grateful for it
For many people this will be useful . I would appreciate it if he had se linux kernel permessive
30th May 2015, 05:57 PM |#5  
6ril1's Avatar
Senior Member
Thanks Meter: 577
 
More
Quote:
Originally Posted by mnkowalski

For many people this will be useful . I would appreciate it if he had se linux kernel permessive

Done, links are in original thread OP http://forum.xda-developers.com/lg-g...-sexy-t3120751
or
http://forum.xda-developers.com/show...48&postcount=8
You can hit thank's if it helps
Last edited by 6ril1; 30th May 2015 at 06:00 PM.
The Following User Says Thank You to 6ril1 For This Useful Post: [ View ]
30th May 2015, 05:57 PM |#6  
Junior Member
Thanks Meter: 0
 
More
Maybe I'm doing something wrong but the scripts in the init.d do not work, so it just me . I created a script to test init.di was not a log file . When installed with supermarket universal program init.d script then she began to move. I installed both kernels and nothing
30th May 2015, 06:02 PM |#7  
6ril1's Avatar
Senior Member
Thanks Meter: 577
 
More
Quote:
Originally Posted by mnkowalski

Maybe I'm doing something wrong but the scripts in the init.d do not work, so it just me . I created a script to test init.di was not a log file . When installed with supermarket universal program init.d script then she began to move. I installed both kernels and nothing

Did you give the right permissions to your script?
What does this script (code)?
30th May 2015, 06:15 PM |#8  
Junior Member
Thanks Meter: 0
 
More
permission is ok
Script :
#!/system/bin/sh
echo init.d is working >> / storange /emulated/0/initdsupport.txt


Using the program -> script starts , uninstall the program and stops working script

Sorry for bad english
30th May 2015, 07:05 PM |#9  
6ril1's Avatar
Senior Member
Thanks Meter: 577
 
More
Quote:
Originally Posted by mnkowalski

permission is ok
Script :
#!/system/bin/sh
echo init.d is working >> / storange /emulated/0/initdsupport.txt


Using the program -> script starts , uninstall the program and stops working script

Sorry for bad english

Try to write in /data, it should work
echo "init.d is working" >> /data/initdsupport.txt
The Following User Says Thank You to 6ril1 For This Useful Post: [ View ]
30th May 2015, 07:19 PM |#10  
Junior Member
Thanks Meter: 0
 
More
None of this after the change does not work still , but with the application from google play test log appears and init.d works. I give up. If I ask for a hint

https://play.google.com/store/apps/d...l.init.d&hl=pl
with this application works
Last edited by mnkowalski; 30th May 2015 at 07:21 PM. Reason: zmiana
Post Reply Subscribe to Thread

Tags
auto-qa
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes