[Sony Xperia ZL] melvinrobertson:
I am just a newbie, but while customizing Stock android 5.0.2 on my xperia zl with locked bootloader, I got error due to 100% SeLinux enforcement on android lollipop, Even though my cell is rooted with xposed installer installed with working app_process and XposedBridge.jar, these security policies even can't let you do anything, there are just a few customization and rooted apps which run on lollipop with SELinux enforcement. After searching net I got SELinuxmodechanger.apk having two modes permissive and enforcement but apk had'nt worked, its only for android kitkat, after searching more -----

I got a post by [MENTION=3975929]zxz0O0[/MENTION] http://xdaforums.com/showpost.php?p=59879026&postcount=3837

He had made a zip file to byepass SELInux enforcement, later on it was implement in XZDUALRECOVERY 2.8.15 flashable zip file and even inside XZDUALRECOVERY 2.8.15 installer,

But it was not working for Xperia T2, Z, ZL, ZR and Tablet Z causing bootloop, after few weeks XZDUALREVOVERY 2.8.16 is released and a beta version 2.8.17 also with updated byeselinux to run on all xperia devices runing lollipop.

http://xdaforums.com/showthread.php?t=2261606

As now dual revovery is working fine on my xperia zl locked running lollipop, but the time I checked SELinux status on Terminal using command sestatus it says it on permissive mode. Well permissive mode is a condition that SELinux is active but it provide access to get control to few things without protection. And I still got errors due to SELinux, For full customization it should be on third mode i.e Disabled in which SELinux in completly disabeled, After searching more on net and xda I found that SELinux can only be completly disabled by flashing another kernal without SELinux protection or set SELinux disabled by default. It was the early stage of lollipop when people root it by flashing kernal without SElinux protection or SElinux disable by default, later on [MENTION=631273]Chainfire[/MENTION] made another method to root android lollipop with 100% SELinux enforcement by using zygote service as its only accessable on lollipiop, which we use now, but it dont provide access to all content, for that SELinux should be completly disabled, which can only be done by flashing another kernal without SELInux protection or set SELinux disabled by default.

Please if you are a developer and reading this, do consider my request. As I don't knowz how to compile kernal from source code but you can. As my bootloader is locked running stock lollipop please make alternate stock kernal for locked bootlader as it will work on unlocked bootloaders also.

Well I found another security check also on Android Lollipop i.e PIE Security check, Well thanks to [MENTION=5293221]cernekee[/MENTION] starting a thread for bypassing pie provide a flashing zip-

http://xdaforums.com/google-nexus-5/development/fix-bypassing-pie-security-check-t2797731

but that byepass-pie.zip had'nt work for xperia zl lollipop, but another member inside the thread [MENTION=591067]4tune[/MENTION] provided another flashable zip which worked with Xperia zl running lollipop and successfully bypassed the PIE Security check on xperia zl lollipop, It may help you, its link down there -

http://xdaforums.com/showpost.php?p=57467067&postcount=65

Now coming back to the actual post, please please please if someone knowz how to compile a new kernal from source code and simultaneously can remove or completly disabled SELInux protection, please do make and post it ! It will help a lot to customize on Xperia zl Locked and Unlocked both running Stock lollipop.