selinux permissive kernel for stock rom P600XXUDOJ3 please - Galaxy Note 10.1 (2014 Edition) Q&A, Help & Troubl

Has someone compiled a selinux permissive kernel for stock rom P600XXUDOJ3
This stock rom is great , however since selinux is enforcing , it leads to some annoying issues when running linux in chroot.
If someone have compiled a selinux permissive kernel for stock rom P600XXUDOJ3 that can be flashed with odin, please share it.
Thanks in advance.

robertchow said:
Has someone compiled a selinux permissive kernel for stock rom P600XXUDOJ3
This stock rom is great , however since selinux is enforcing , it leads to some annoying issues when running linux in chroot.
If someone have compiled a selinux permissive kernel for stock rom P600XXUDOJ3 that can be flashed with odin, please share it.
Thanks in advance.
Click to expand...
Click to collapse
I also requested that before 1 week, but i get no answer. I think there is no one who can do that at the moment...

Related

[KERNEL][v3.4][4.3/4.4.2][TW] talexop - SELinux Permissive - Exfat, FauxSnd support!

STOCK KERNEL FOR GT-I9505
WORKS ONLY WITH 4.3 (v1.3) and 4.4.2 (v3+) TW!!​
Code:
*** Disclaimer
This is a stock kernel. Please be aware that it is for i9505 only.
I can not guarantee that it will work for other devices.
Use it at you own risk. If anything goes wrong I take no responsibility.
Introduction
This kernel is build from stock samsung MJ5 update 4 sources (v1.3) and from NB8 update 5 sources for v2 ! I wanted to keep it as stock as possible for people like me that are satisfied with the stock kernel, do not want OC, UV, and have the old bootloader.
Till now all of us with the old bootloader could not use the stock kernel but only custom.
The kernel can be used also with the new bootloader, but I guess you already have a stock kernel
This Kernel solves ALL the problems. Also slow motion on camera works. I expect NO REBOOTS. (I had none!)
Click to expand...
Click to collapse
Description
This is the stock samsung kernel source, but changed the SELinux policy from enforcing to permissive. In the settings app, it still shows as "Permissive". Removed the restrictions from kernel source regarding rooting etc.
Click to expand...
Click to collapse
Features
Build from NG2 4.4.2 TW Samsung sources Update 8
Build from NB8 4.4.2 TW Samsung sources Update 5 (Version 2)
Build from MJ5 4.3 TW Samsung sources Update 4 (Version 1.3)
Build with stock ARM toolchain 4.6
Can be rooted
Exfat sdcard build-in support.
SELinux status to permissive.
Reboot FREE!!
Click to expand...
Click to collapse
Bugs
Old bootloader
[*]Can not charge phone when it is off..
[*]Can not set lockscreen and vpn *** Fixed you have to change build.prop entry security.mdpp=None to #security.mdpp=None
[*]Wifi does not work *** Fixed you have to change ro.securestorage.support=true to ro.securestorage.support=false
-MTP does not work with 4.4.4 T-mobile ROMs
Click to expand...
Click to collapse
Changelog
Version 1.1 First Version
Version 1.2 Added init.d support
Version 1.3 Added FauxSound v2.1 support.
Version 2.0 New kernel for 4.4.2 TW rom
Version 2.4.2 Bug fixes ..Fixed install script.
Version 2.5 Fixed charging when phone is turned off Thanks to @Fenny
Version 2.51 Updated ramdisk to NE5. No significant changes...
Version 3 Updated Sources NG2 (Update 8) and ramdisk to NG8. No other significant changes...
Version 3.1 Updated Sources NG8 (Update 9) and ramdisk to NG8.No other significant changes...
Version 3.2 Updated Sources NG8 (Update 9) and ramdisk to NG8.No other significant changes...Fixed fauxsound bug
Version 3.3 Fixed fauxsound bugs...
Version 3.4 Update Fauxsound to 3.5
Click to expand...
Click to collapse
Downloads
Download
Flash it with CWM!
For 4.4.2 TW ROM
- Kernel v3.4 (kernel shows as v3+) Update fauxsound to 3.5, charge when device is OFF, Update9 with NG8 ramdisk * with init.d support - Permissive - auto fix build.prop for OLD Bootloaders credits to hanspampel
- Kernel v3.3 (kernel shows as v3+) FIXED fauxsound, charge when device is OFF, Update9 with NG8 ramdisk * with init.d support - Permissive - auto fix build.prop for OLD Bootloaders credits to hanspampel
- Kernel v3.2 (kernel shows as v3+) FIXED fauxsound, charge when device is OFF, Update9 with NG8 ramdisk * with init.d support - Permissive - auto fix build.prop for OLD Bootloaders credits to hanspampel
- Kernel v3 (kernel shows as v3) FIXED charge when device is OFF, Update 8 with NG8 ramdisk * with init.d support - Permissive - auto fix build.prop for OLD Bootloaders credits to hanspampel
- Kernel v2.51 (kernel shows as v2.+-gb4fe160-dirty) FIXED charge when device is OFF, with NF1 ramdisk * with init.d support - Permissive - auto fix build.prop for OLD Bootloaders credits to hanspampel
- Kernel v2.51 (kernel shows as v2.+-gb4fe160-dirty) FIXED charge when device is OFF, with NE5 ramdisk * with init.d support - Permissive - auto fix build.prop for OLD Bootloaders credits to hanspampel
- Kernel v2.5 (kernel shows as v2.+-gb4fe160-dirty) FIXED charge when device is OFF, with NB8/9 ramdisk * with init.d support - Permissive - auto fix build.prop for OLD Bootloaders credits to hanspampel
- Kernel v2.4.2 Old version
For 4.3 TW ROM
- Kernel v1.3 with ML6 ramdisk * with init.d support -
Donate
Keep me motivated Click HERE
Click to expand...
Click to collapse
Sources
GitHub for v4.4.2
GitHub for v4.4.2
GitHub for v4.3
Click to expand...
Click to collapse
Thanks To/Credits
Code:
* Samsung
* Google
* ktoonsez
* ausdim
* wanam
* akshizzle
* Fenny
* dorimanx
* faux123
XDA:DevDB Information
[KERNEL][v3.4][4.3/4.4.2][TW] talexop - SELinux Permissive - Exfat, FauxSnd support!, Kernel for the Samsung Galaxy S 4
Contributors
talexop
Kernel Special Features: SElinux permissive - Exfat, init.d support
Version Information
Status: Stable
Current Stable Version: v3.4
Stable Release Date: 2014-10-24
Created 2013-10-29
Last Updated 2014-10-25
Click to expand...
Click to collapse
Reserved
Reserved
Thank You!
I have been waiting for this,thanks
This is great a new kernel is always welcome!
Hi talexop, congratulations and I wish you much success in kernels development
Sent from my GT-I9505
Omega v13.2 Kernel
I just wanted to ask if this is the same Kernel/version that is comming with Indie's Omega V13.2 Rom...
Regards
ch061441 said:
I just wanted to ask if this is the same Kernel/version that is comming with Indie's Omega V13.2 Rom...
Regards
Click to expand...
Click to collapse
Yes it is the same yo do not need it if you have omega v13.2
ch061441 said:
I just wanted to ask if this is the same Kernel/version that is comming with Indie's Omega V13.2 Rom...
Regards
Click to expand...
Click to collapse
Hello
Yes this is the same kernel.
Congratulations mate for the new and shiny thread
-MVKA
Sent From My Pink & Xparent GT-I9505
MVKA said:
Hello
Yes this is the same kernel.
Congratulations mate for the new and shiny thread
-MVKA
Sent From My Pink & Xparent GT-I9505
Click to expand...
Click to collapse
Because it is a little confiusing, OMEGA V13.2 shows Kernel-Version 3.4.0 and you have 1.1 on this tread, but now I know it is the same....
Thx.
ch061441 said:
Because it is a little confiusing, OMEGA V13.2 shows Kernel-Version 3.4.0 and you have 1.1 on this tread, but now I know it is the same....
Thx.
Click to expand...
Click to collapse
3.4.0 is from stock samsung sources kernel version... I will start changing version numbers after next update ...
So yes 3.4.0 is correct.
This thread is the same as this. And does not belong in original forum.
http://forum.xda-developers.com/showthread.php?t=2487089
---------- Post added at 10:57 AM ---------- Previous post was at 10:52 AM ----------
Second xda rules say you must post your sources github.
boterkaaseneieren said:
This thread is the same as this. And does not belong in original forum.
http://forum.xda-developers.com/showthread.php?t=2487089
---------- Post added at 10:57 AM ---------- Previous post was at 10:52 AM ----------
Second xda rules say you must post your sources github.
Click to expand...
Click to collapse
No it not the same.... I have kernel sources compiled and this one works with old bootloader too!!
This kernel can load unsecured modules and if you read OP it includes also exFat support.!!!
Please be more carefully when you point out something.
Regarding the sources... I guess you are correct.. I have not done it before. I will try and post the sources as well
boterkaaseneieren said:
This thread is the same as this. And does not belong in original forum.
http://forum.xda-developers.com/showthread.php?t=2487089
---------- Post added at 10:57 AM ---------- Previous post was at 10:52 AM ----------
Second xda rules say you must post your sources github.
Click to expand...
Click to collapse
Tataaaa...I've been patiently waiting for the "xda thread police" - et voilà, and here it is...
°°° tapatalked °°°
@talexop
Could you please include in your flashable zip (together with the 2 modules you have already) the original lib/modules ?
I ask for this because every custom kernel comes with its own set of modules, erasing pre-existing ones. And if I want to flah your stock kernel above the one I have now, I'll be stuck.
Thanks,
Sent from my GT-I9505 using Tapatalk 4
Tassos_i said:
@talexop
Could you please include in your flashable zip (together with the 2 modules you have already) the original lib/modules ?
I ask for this because every custom kernel comes with its own set of modules, erasing pre-existing ones. And if I want to flah your stock kernel above the one I have now, I'll be stuck.
Thanks,
Sent from my GT-I9505 using Tapatalk 4
Click to expand...
Click to collapse
The modules are already included in the download link in OP.
talexop said:
The modules are already included in the download link in OP.
Click to expand...
Click to collapse
Thank you very much ! I prefer having the most close possible to stock configuration + root + cwm/twrp + xposed and I do not need any other mods.
I installed your kernel above KT kernel and everything seems to work just fine (among else : wifi, lte, camera, mtp, gps, mhl, dlna, ...). And cpuspy suggests that when screen is off the phone is in "98% deep sleep". I'm on echoe v5+ rom (which is mostly stock).
I have 2 further questions (in the "as much as possible stock" direction) : Does your kernel work with ...
MJ5 wifi modules, or as Friedrich420 points out, all kernels except "Faux" need the GE wifi modules ? If yes, could you build a "back to stock MJ5" wifi flashable zip ?
MJ5 NON-HLOS.bin, or in case of old bootloader do we still need MGA NON-HLOS.bin ?
Thanks again,
Tassos_i said:
Thank you very much ! I prefer having the most close possible to stock configuration + root + cwm/twrp + xposed and I do not need any other mods.
I installed your kernel above KT kernel and everything seems to work just fine (among else : wifi, lte, camera, mtp, gps, mhl, dlna, ...). And cpuspy suggests that when screen is off the phone is in "98% deep sleep". I'm on echoe v5+ rom (which is mostly stock).
I have 2 further questions (in the "as much as possible stock" direction) : Does your kernel work with ...
MJ5 wifi modules, or as Friedrich420 points out, all kernels except "Faux" need the GE wifi modules ? If yes, could you build a "back to stock MJ5" wifi flashable zip ?
MJ5 NON-HLOS.bin, or in case of old bootloader do we still need MGA NON-HLOS.bin ?
Thanks again,
Click to expand...
Click to collapse
Nice to see that it works for everyone!
1.This kernel can work with stock MJ5 wifi files. I do not want to mix this thread with wifi files etc.. because that will mess up the readers. I guess you can use Omega 13.2 which has the stock wifi files or echo v6.
2.I have tried with MJ5 LTE modem but I had no sound. So For the old bootloader I guess we need to have LTE modem MH1 or MGA!
Has this kernel init.d support?
From universe with my gs4 snapdragon powered!

[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:good:
edit: kind @xluco has built a kernel just for us:
http://forum.xda-developers.com/show....php?t=2756679
ionflux said:
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!
Click to expand...
Click to collapse
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/showthread.php?t=2725193
I have not yet. But I have zero interest in performance tweaks that might reduce stability.
injola said:
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/showthread.php?t=2725193
I have not yet. But I have zero interest in performance tweaks that might reduce stability.
Click to expand...
Click to collapse
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
ionflux said:
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
Click to expand...
Click to collapse
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.
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/showthread.php?t=2756679
Any chance of a p605 kernel with SElinux enabled?
patchseven said:
Any chance of a p605 kernel with SElinux enabled?
Click to expand...
Click to collapse
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
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.
patchseven said:
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.
Click to expand...
Click to collapse
Check the thread over in original development if you haven't already, p605 for jellybean just added

init.d SELinux permissive script?

Anyone have selinux permissive script for sense lollipop? I'm on T-Mobile US stock.
Thanks

SELinux enforcing

Is it possible to change the SELinux enforcing to permissive and if so what is the best way ?
rees54y said:
Is it possible to change the SELinux enforcing to permissive and if so what is the best way ?
Click to expand...
Click to collapse
Yes and with an app - search the playstore
It requires a rooted phone
I didn't try it, but it seems to work:
https://forum.xda-developers.com/android/apps-games/app-selinux-switch-t3656502

How to set SELinux to permissive in android 11?

Hello, I've rooted my device, but I can't set onto magisk setenforce=0... what can I do in order to have a permissive linux? It looks like this issue is present on all samsung devices...
robi101012981 said:
Hello, I've rooted my device, but I can't set onto magisk setenforce=0... what can I do in order to have a permissive linux? It looks like this issue is present on all samsung devices...
Click to expand...
Click to collapse
Have you tried this app:
[APP][TOOL][2.0+][OFFICIAL]The SELinux Switch
The SELinux Switch . What's The SELinux Switch & What Makes It Different from The SELinux Toggler? I'll outline this in brief since it would take too much time and space in explaining everything in detail. Primarily, The SELinux Switch was...
forum.xda-developers.com
It_ler said:
Have you tried this app:
[APP][TOOL][2.0+][OFFICIAL]The SELinux Switch
The SELinux Switch . What's The SELinux Switch & What Makes It Different from The SELinux Toggler? I'll outline this in brief since it would take too much time and space in explaining everything in detail. Primarily, The SELinux Switch was...
forum.xda-developers.com
Click to expand...
Click to collapse
Solve it by flashing a custom kernel that allows SELinux to be Permissive.
robi101012981 said:
Solve it by flashing a custom kernel that allows SELinux to be Permissive.
Click to expand...
Click to collapse
Hi I'm using a Samsung Galaxy A03s, android 12
please what Kernel could I use to get selinux permissive
I'm on Samsung a127f using custom ROM CrDroid 9.2 but still setenforce 0 doesn't seem to work. Selinux mode changer doesn't work also. Any help on how to switch selinux to permissive would be greatly appreciated

Categories

Resources