[KERNEL][M/N] Clarity Kernel [Final]

Status
Not open for further replies.

Nav929

Member
Oct 3, 2016
35
7
0
you can make an init.d script to change the SElinux to permissive then run when the device boot
or you can run the comand "su" then "setenforce 0" on the terminal emulator integrated on the rom.
first enable root access and terminal emulator on the developer settings
Does it change the status permanently? Because I have tried some apps but the status revert back to enforcing after every reboot.

Sent from my Moto E using XDA-Developers Legacy app
 

hetor99

Senior Member
Sep 2, 2015
391
191
0
Does it change the status permanently? Because I have tried some apps but the status revert back to enforcing after every reboot.

Sent from my Moto E using XDA-Developers Legacy app
With an init.d script, the SElinux status will change every time that android or lineageOS system boot.
Some kernels are compiled from the beggining on permissive SElinux status, but this kernel come with the enforce rule, in other words, with the init.d script, the SElinux status will be permanently changed, until you delete the script from the init.d folder
Sorry for my english and any misunderstood
:p
 
  • Like
Reactions: Nav929

Nav929

Member
Oct 3, 2016
35
7
0
With an init.d script, the SElinux status will change every time that android or lineageOS system boot.
Some kernels are compiled from the beggining on permissive SElinux status, but this kernel come with the enforce rule, in other words, with the init.d script, the SElinux status will be permanently changed, until you delete the script from the init.d folder
Sorry for my english and any misunderstood
:p
How can I make init.d script. I am a noob:confused:, can u please guide through it. Thanks
Edit -It did worked. I followed this thread https://forum.xda-developers.com/xposed/how-to-set-selinux-to-permissive-boot-t3034245 thanx a million
 
Last edited:
Jan 23, 2017
16
3
0
Does it change the status permanently? Because I have tried some apps but the status revert back to enforcing after every reboot.

Sent from my Moto E using XDA-Developers Legacy app
go to /etc/init.d directory, create a file and rename it as "08setperm" (without quotes) and add the below lines in the file and save it..

#!/system/sh
setenforce 0

And give full permission (rwxrwxrwx) .. Use root Explorer to edit and give permissions..

Now hard reboot your phone and you can see SELinux is set to "permissive" on boot itself..
Credits: CoffeeNAndroid
Hit thanks if it helped. .It works for me .
 

Sharan A.

Member
May 13, 2014
27
3
0
Thanks for the kernel!
This is what screen touch test came up with. Screen freezing that others are talking about too.
Any suggestions on fixing?
Thank you!

http://pasteboard.co/xUvpGVGtJ.png

EDIT: This problem occurs even when d2w is disabled. So it's probably a problem with the kernel as a whole.
 
Last edited:

rainforce279

Recognized Developer
May 4, 2013
558
2,833
113
29
palembang
ryan-andri.github.io
@rainforce279 Any chance you can sign the kernel so that TWRP will flash it with zip verification enabled?
when i try to increase the zram allocation (kernel auditor), it resets automatically to 380 mb. on the latest build. cypheros 3.5.1
i can't make update or fix the some problem while my laptop is die.
wait until my laptop fixed, i'll work for you all
thanks for reported :D
 

rainforce279

Recognized Developer
May 4, 2013
558
2,833
113
29
palembang
ryan-andri.github.io
@rainforce279 I was getting bad battery drain on the latest version with AOSP Extended.

i'm on aosp extended but so far no problem, i'll check for that

---------- Post added at 08:13 PM ---------- Previous post was at 08:09 PM ----------



What ROM were you using?
lineage os last build
i was testing this kernel and not problem too

thx! you accept paytm for donation?
thanks matte, yes of course
every donation will help me and other too
 
Status
Not open for further replies.