[P905M LTE and P905][KERNEL] STOCK compiled with SELinux setenfoce command enabled

BuHaneenHHHH

Senior Member
Jan 20, 2010
336
106
63
37
Shahrakan
I am not responsible for any possible bad effects which may result from using included software! You flash it on your own risk!

Probably it will work in the P905 version, because I flashed the a P905 kernel in my P905M without problems. But, as usual, it is your risk.

User esgie confirmed that it works on SM-P905 too!

STOCK compiled with SELinux setenforce enabled
Kernel base: compiled from Samsung sources without modifications (opensource.samsung.com)
Kernel ramdisk: extracted from stock image
Features: setenforce command working

WARNING!
FLASHING THIS WILL TRIP KNOX AVOIDING YOUR WARRANTY!


Known issues
WiFi gets a little screwy. To fix it edit /system/build.prop, change the parameter ro.securestore.support from true to false and reboot.

Installation
flash using ODIN (AP/PDA)

Image sha1sum
b85360a80f6205269b75d9dfabccac211a224d46

CREDITS
- Graeme Hill`s Dev Blog (http://graemehill.ca/compiling-permissive-android-kernel)
- osm0sis user Android Image Kitchen tool (http://forum.xda-developers.com/showthread.php?t=2073775)
- Samsung (opensource.samsung.com)
- esgie Kernel STOCK RELOADED (http://forum.xda-developers.com/showthread.php?t=2771469)


is this for KitKat or lollipop?

because I flashed it and my device did not boot

BTW

can you tell me what tools you used to build this kernel?

I have been trying to build a kernel for my p905 for lollipop version to get permissive status
but it does not boot and return back to download mode

I am building on Ubuntu 14.04.03

I am still a noob and trying to pick up some info from here and there

thanks for your work
 

erickwill

Senior Member
Nov 30, 2008
2,008
3,625
203
@rodpp
It's quite a bit off-topic, but I do presume that you're, probably, the guy that can help me with this issue.
Could you please grab a pit file of your P905M and upload it or attach it here.
Thanks in advance.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone