[Q] stock kitkat kernel with selinux permissive?

Search This thread

ionflux

Senior Member
Sep 27, 2011
78
23
looking for a kitkat kernel that is all stock but with selinux toggled to permissive. my only objective is to run linux on top of android. anyone who has a guide to getting this compiled would get his thank meter filled:good:

edit: kind @xluco has built a kernel just for us:
http://xdaforums.com/show....php?t=2756679
 
Last edited:

injola

Member
Aug 9, 2013
33
8
looking for a kitkat kernel that is all stock but with selinux toggled to permissive. my only objective is to run linux on top of android. anyone who has a guide to getting this compiled would get his thank meter filled:good:

edit: for p600. thanks!

I am looking for this too. You can download the kernel source from samsung. I wonder whether, if you build without reconfiguring, you end up with the stock kernel. I would try doing this and only changing selinux mode if I thought there was a reasonable chance it would work. Did you try this kernel ?

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

I have not yet. But I have zero interest in performance tweaks that might reduce stability.
 

ionflux

Senior Member
Sep 27, 2011
78
23
I am looking for this too. You can download the kernel source from samsung. I wonder whether, if you build without reconfiguring, you end up with the stock kernel. I would try doing this and only changing selinux mode if I thought there was a reasonable chance it would work. Did you try this kernel ?

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

I have not yet. But I have zero interest in performance tweaks that might reduce stability.

i'm currently using it and helping the dev wherever i can. selinux is disabled on that kernel, so i'm running linux deploy just fine.

i'm not sure about compiling the kernel from source because i don't have a linux box and i'm scared of something going wrong if i flash or configure it wrongly :eek: BUT if even anyone can show me the guide to doing this i would be very grateful
 

injola

Member
Aug 9, 2013
33
8
i'm currently using it and helping the dev wherever i can. selinux is disabled on that kernel, so i'm running linux deploy just fine.

i'm not sure about compiling the kernel from source because i don't have a linux box and i'm scared of something going wrong if i flash or configure it wrongly :eek: BUT if even anyone can show me the guide to doing this i would be very grateful

I was trying to edit my last post because I saw that you have tried that kernel.

I have spent way more time compiling kernels over the past 20 years than I care to, which is one reason I haven't tried this task yet. I flashed the pre-kitkat selinux permissive kernel a while back and it simply wouldn't boot. I had saved the stock kernel with online nandroid backup. I reflashed stock kernel and there was no problem. I guess, the same would happen with an any unbootable kernel. I never have built an android kernel though.
 

xluco

Senior Member
Nov 5, 2013
319
557
Manchester
Here you go guys, try this.. Stock KitKat kernel with SELinux in permissive mode and Knox removed: d-h.st/uCX

EDIT: slight update with NTFS support / HTCP and Multi-core scheduler support.. all completely stable as they're already in the kernel just not selected :)
EDIT 2: http://d-h.st/ziH - V3 [19/05/2014] (fixes a small derp in ramdisk)
http://xdaforums.com/showthread.php?t=2756679
 
Last edited:

patchseven

Senior Member
Jul 13, 2010
58
38
Thanks, that would be great, no rush at all, take as much time as needed. There are quite a few users who have asked for this for a long time, but a severe lack of p605 developers has meant it has not yet eventuated. Happy to shout you a beer or two for the option of linux on the p605.
 

xluco

Senior Member
Nov 5, 2013
319
557
Manchester
Thanks, that would be great, no rush at all, take as much time as needed. There are quite a few users who have asked for this for a long time, but a severe lack of p605 developers has meant it has not yet eventuated. Happy to shout you a beer or two for the option of linux on the p605.

Check the thread over in original development if you haven't already, p605 for jellybean just added :)
 

Top Liked Posts