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

rodpp

Senior Member
Sep 30, 2008
55
17
0
Rio de Janeiro
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)
 

Attachments

Last edited:

gorcutt

Senior Member
Dec 22, 2010
271
43
0
Rio de Janeiro
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.

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)

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)
Hangs on boot before the Samsung logo.

Sent from my SM-P905M using XDA Premium HD app
 

rodpp

Senior Member
Sep 30, 2008
55
17
0
Rio de Janeiro
Hangs on boot before the Samsung logo.

Sent from my SM-P905M using XDA Premium HD app
Hi,

I just downloaded the file from this post and checked the sha1sum against the original file that I uploaded and it´s ok. The sha1sum value is b85360a80f6205269b75d9dfabccac211a224d46. So there is no file corruption problem.

Please check if your file has the same sha1sum.

Tonight I´ll flash this file again in my tablet and verify if it works. It´s highly improbable that I uploaded the wrong file, but I´ll check flashing it.

As soon as possible I´ll update here the result of this test.

Regards,
Rodrigo.
 

esgie

Senior Member
Feb 17, 2013
333
176
43
Awesome!
Flashed, seems to boot ok on SM-P905 :)
Great job.
Seems to be working fine! Boots as permissive and setenforce 0/1 working fine.
Great job. Now we are waiting for at least some basic overclocking and governors implementation :)
 
Last edited:
  • Like
Reactions: rodpp

rodpp

Senior Member
Sep 30, 2008
55
17
0
Rio de Janeiro
Awesome!
Flashed, seems to boot ok on SM-P905 :)
Great job.
Seems to be working fine! Boots as permissive and setenforce 0/1 working fine.
Great job. Now we are waiting for at least some basic overclocking and governors implementation :)
Thank you very much for confirm that it works on SM-P905, I'll include this information on the first post.

If you find some WiFi issues don't forget to edit /system/build.prop, change the parameter ro.securestore.support from true to false and reboot.

Regards,
Rodrigo.
 

esgie

Senior Member
Feb 17, 2013
333
176
43
Already had the property changed in my build.prop, so i'm not exactly sure if the wifi works out of the box or not. Although I confirm that it DOES work with the build.prop modification ;)
And by "does work" I meant both wifi and mobile radio working flawlessly.
 

rodpp

Senior Member
Sep 30, 2008
55
17
0
Rio de Janeiro
Hangs on boot before the Samsung logo.

Sent from my SM-P905M using XDA Premium HD app
Hi,

I just downloaded the file from this post and checked the sha1sum against the original file that I uploaded and it´s ok. The sha1sum value is b85360a80f6205269b75d9dfabccac211a224d46. So there is no file corruption problem.

Please check if your file has the same sha1sum.

Tonight I´ll flash this file again in my tablet and verify if it works. It´s highly improbable that I uploaded the wrong file, but I´ll check flashing it.

As soon as possible I´ll update here the result of this test.

Regards,
Rodrigo.
Hi there, I tested here and the image is working fine here. The user esgie just confirmed that too, in a P905. Please check the sha1sum of your downloaded image file.

Regards,
Rodrigo.
 

gorcutt

Senior Member
Dec 22, 2010
271
43
0
Rio de Janeiro
Hi,

I just downloaded the file from this post and checked the sha1sum against the original file that I uploaded and it´s ok. The sha1sum value is b85360a80f6205269b75d9dfabccac211a224d46. So there is no file corruption problem.

Please check if your file has the same sha1sum.

Tonight I´ll flash this file again in my tablet and verify if it works. It´s highly improbable that I uploaded the wrong file, but I´ll check flashing it.

As soon as possible I´ll update here the result of this test.

Regards,
Rodrigo.
I probably did something wrong.
I've downloaded again and wiill try once more.

MD5 f39207bd4c45b1854372cd519942a6c2
SHA1 b85360a80f6205269b75d9dfabccac211a224d46

Thanks.


Sent from my GT-N7100 using XDA Premium 4 mobile app
 

esgie

Senior Member
Feb 17, 2013
333
176
43
As we all can see, our devices lacks of community support.
I wonder if you are the first person on the planet who managed to prepare an environment and compile P905(x) kernel succesfuly :)
May I ask you if have any plans to proceed with the kernel developement?
 

rodpp

Senior Member
Sep 30, 2008
55
17
0
Rio de Janeiro
As we all can see, our devices lacks of community support.
I wonder if you are the first person on the planet who managed to prepare an environment and compile P905(x) kernel succesfuly :)
May I ask you if have any plans to proceed with the kernel developement?
Unfortunately I don't have enough free time, so I don't have plans to work in kernel development. I did this because I was needing it to install some stuffs in my tablet and decided to share it here o XDA where I always found useful things.

If someone wants simple modifications and points some links explaining that I can try without problems.

And if someone have problems preparing an environment to compile the kernel, let me know, I'll be very happy to help.

Regards,
Rodrigo.
 
  • Like
Reactions: firegras

Spere

Senior Member
Aug 7, 2013
465
165
63
Do you have a link?

Honestly, I don't know what fauxsound is!
Well, i'm not the one who asked this nor I have ever heard about it, but by curiousity I googled this. Got link for this app at Google Play. There are github links in app description to patches that needs to be added to kernel to make this work.
Just can't see Note Pro in officially supported devices -list and don't know can this device even be supported. There reads "Unofficially Supporting: Any Phones using Qualcomm Audio Chip WCD93xx chipsets." But I don't know which chipset NP12.2 got.
 
Last edited:

rodpp

Senior Member
Sep 30, 2008
55
17
0
Rio de Janeiro
Well, i'm not the one who asked this nor I have ever heard about it, but by curiousity I googled this. Got link for this app at Google Play. There are github links in app description to patches that needs to be added to kernel to make this work.
Just can't see Note Pro in officially supported devices -list and don't know can this device even be supported. There reads "Unofficially Supporting: Any Phones using Qualcomm Audio Chip WCD93xx chipsets." But I don't know which chipset NP12.2 got.
Thanks, it seems simple if the audio chip is compatible. I'll try to include this in the kernel.
 

js345

Senior Member
Feb 5, 2011
59
3
0
Sẫo Paulo
Thanks, Rodrigo for the great work!
Finally i was able to get Ubuntu running using linux complete installer.
Its a shame there's so little development for this great device.
I wish i had skills to do some.

Thanks, from Piracicaba-SP
 

rodpp

Senior Member
Sep 30, 2008
55
17
0
Rio de Janeiro
Thanks, Rodrigo for the great work!
Finally i was able to get Ubuntu running using linux complete installer.
Its a shame there's so little development for this great device.
I wish i had skills to do some.

Thanks, from Piracicaba-SP
Yes, one of my motivations to compile this kernel was to boot Linux images too.

Regards,
Rodrigo.

Enviado de meu SM-P905M usando Tapatalk
 

rodpp

Senior Member
Sep 30, 2008
55
17
0
Rio de Janeiro
Thanks, it seems simple if the audio chip is compatible. I'll try to include this in the kernel.
I tried to compile the kernel with the patches sugested by the Fauxsound developer but, unfortunately, I have no success.
Probably it will be necessary more kernel modifications to compile it with the Fauxsound patches.

Enviado de meu SM-P905M usando Tapatalk
 

orobin

Senior Member
Feb 9, 2006
321
19
0
Lyon
Hi,

I have a question about your kernel.
does it contains a root feature ?

I am running XXUANI1 firmware on P900 (wifi version), and have tried the auto root from Chainfire.
it does not work well (I think it was release for a previous firmware), and give a lot of random reboot.

I was thinking that may be I could flash a kernel accepting to work with su.bin

thanks for any information.
Olivier
 

fernandodistinto

Senior Member
Dec 26, 2009
114
16
0
34
Bogota
Hi,

I have a question about your kernel.
does it contains a root feature ?

I am running XXUANI1 firmware on P900 (wifi version), and have tried the auto root from Chainfire.
it does not work well (I think it was release for a previous firmware), and give a lot of random reboot.

I was thinking that may be I could flash a kernel accepting to work with su.bin

thanks for any information.
Olivier
The kernel is for P905M/P905...
 
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