Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,785,512 Members 42,313 Now Online
XDA Developers Android and Mobile Development Forum

[Q] stock kitkat kernel with selinux permissive?

Tip us?
 
ionflux
Old
(Last edited by ionflux; 20th May 2014 at 10:28 AM.) Reason: resolved!
#1  
Member - OP
Thanks Meter 8
Posts: 46
Join Date: Sep 2011
Default [Q] stock kitkat kernel with selinux permissive?

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

edit: kind @xluco has built a kernel just for us:
http://forum.xda-developers.com/show....php?t=2756679
 
injola
Old
#2  
Member
Thanks Meter 2
Posts: 33
Join Date: Aug 2013
Quote:
Originally Posted by ionflux View Post
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

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://forum.xda-developers.com/show....php?t=2725193

I have not yet. But I have zero interest in performance tweaks that might reduce stability.
 
ionflux
Old
#3  
Member - OP
Thanks Meter 8
Posts: 46
Join Date: Sep 2011
Quote:
Originally Posted by injola View Post
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://forum.xda-developers.com/show....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 BUT if even anyone can show me the guide to doing this i would be very grateful
 
injola
Old
#4  
Member
Thanks Meter 2
Posts: 33
Join Date: Aug 2013
Quote:
Originally Posted by ionflux View Post
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 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
Old
(Last edited by xluco; 19th May 2014 at 07:02 PM.)
#5  
Senior Member
Thanks Meter 301
Posts: 208
Join Date: Nov 2013
Location: 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://forum.xda-developers.com/show....php?t=2756679
The Following 2 Users Say Thank You to xluco For This Useful Post: [ Click to Expand ]
 
patchseven
Old
#6  
Member
Thanks Meter 32
Posts: 55
Join Date: Jul 2010
Any chance of a p605 kernel with SElinux enabled?
 
xluco
Old
#7  
Senior Member
Thanks Meter 301
Posts: 208
Join Date: Nov 2013
Location: Manchester
Quote:
Originally Posted by patchseven View Post
Any chance of a p605 kernel with SElinux enabled?
samsungs opensource website is so slow, it would literally be about 5 hours of download time to get the source, I can do it but it'd be next week now
The Following User Says Thank You to xluco For This Useful Post: [ Click to Expand ]
 
patchseven
Old
#8  
Member
Thanks Meter 32
Posts: 55
Join Date: Jul 2010
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
Old
#9  
Senior Member
Thanks Meter 301
Posts: 208
Join Date: Nov 2013
Location: Manchester
Quote:
Originally Posted by patchseven View Post
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes