Fight the Heat and Conserve Battery with EaseUS Coolphone

Memory hungry Android applications are often responsible for making our device … more

Battery Charged in 30 Seconds? Maybe in 2016

Phones and tablets are getting more and more power hungry with each passing generation. Their … more

ZArchive Manages Your File Archives

Today smartphones are quite powerful devices that can handle multiple processes at once. In fact, some of … more

Regain Double Tap to Wake Functionality on the Nexus 6

A few months ago, Google announced its newest flagship device, the Nexus 6, alongside … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] stock kitkat kernel with selinux permissive?

OP ionflux

16th May 2014, 05:48 AM   |  #1  
OP Member
Thanks Meter: 8
 
46 posts
Join Date:Joined: Sep 2011
More
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
Last edited by ionflux; 20th May 2014 at 11:28 AM. Reason: resolved!
19th May 2014, 03:28 PM   |  #2  
Member
Thanks Meter: 2
 
33 posts
Join Date:Joined: Aug 2013
Quote:
Originally Posted by ionflux

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.
19th May 2014, 03:31 PM   |  #3  
OP Member
Thanks Meter: 8
 
46 posts
Join Date:Joined: Sep 2011
More
Quote:
Originally Posted by injola

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
19th May 2014, 03:42 PM   |  #4  
Member
Thanks Meter: 2
 
33 posts
Join Date:Joined: Aug 2013
Quote:
Originally Posted by ionflux

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.
19th May 2014, 06:23 PM   |  #5  
xluco's Avatar
Senior Member
Flag Manchester
Thanks Meter: 419
 
245 posts
Join Date:Joined: Nov 2013
More
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
Last edited by xluco; 19th May 2014 at 08:02 PM.
The Following 2 Users Say Thank You to xluco For This Useful Post: [ View ]
20th May 2014, 02:37 PM   |  #6  
Member
Thanks Meter: 36
 
58 posts
Join Date:Joined: Jul 2010
More
Any chance of a p605 kernel with SElinux enabled?
20th May 2014, 03:32 PM   |  #7  
xluco's Avatar
Senior Member
Flag Manchester
Thanks Meter: 419
 
245 posts
Join Date:Joined: Nov 2013
More
Quote:
Originally Posted by patchseven

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: [ View ]
20th May 2014, 03:44 PM   |  #8  
Member
Thanks Meter: 36
 
58 posts
Join Date:Joined: Jul 2010
More
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.
22nd May 2014, 06:56 AM   |  #9  
xluco's Avatar
Senior Member
Flag Manchester
Thanks Meter: 419
 
245 posts
Join Date:Joined: Nov 2013
More
Quote:
Originally Posted by patchseven

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

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes