Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,769,404 Members 40,079 Now Online
XDA Developers Android and Mobile Development Forum

[Kernel][4.4.2]Permissive mode for SM-N9005

Tip us?
 
Allenzo
Old
#1  
Allenzo's Avatar
Member - OP
Thanks Meter 2
Posts: 47
Join Date: Jan 2008
Location: Rabieh
Default [Kernel][4.4.2]Permissive mode for SM-N9005

First of All, note that I am not a developer, I wanted a Kernel that has the permissive mode, made from a stock kernel for KK 4.4.2
After doing some research, I couldn't find any image, I saw some people asked for one and getting "Do it by yourself". Considering that there are lots of people that have work and don't have time to develop a custom Kernel, this post might be helpful for them.
I did a custom kernel that change the SELinux policy from enforcing to permissive based on @akshizzle Steps - http://forum.xda-developers.com/show...8&postcount=93

I hope this one helps you, find the download link below and let me know the status
http://www.mediafire.com/download/5e...n/recovery.zip

AllenZo
The Following User Says Thank You to Allenzo For This Useful Post: [ Click to Expand ]
 
arinsms
Old
#2  
arinsms's Avatar
Senior Member
Thanks Meter 91
Posts: 415
Join Date: Jul 2012
Location: Sri Kembangan

 
DONATE TO ME
Source of Snapkat/SneakyKat @ Github

Changes compared to stock kernel.

Selinux status = Permissive

http://forum.xda-developers.com/show....php?t=2613305
 
ciphercodes
Old
#3  
Senior Member
Thanks Meter 234
Posts: 471
Join Date: Oct 2012
Quote:
Originally Posted by Allenzo View Post
First of All, note that I am not a developer, I wanted a Kernel that has the permissive mode, made from a stock kernel for KK 4.4.2
After doing some research, I couldn't find any image, I saw some people asked for one and getting "Do it by yourself". Considering that there are lots of people that have work and don't have time to develop a custom Kernel, this post might be helpful for them.
I did a custom kernel that change the SELinux policy from enforcing to permissive based on @akshizzle Steps - http://forum.xda-developers.com/show...8&postcount=93

I hope this one helps you, find the download link below and let me know the status
http://www.mediafire.com/download/5e...n/recovery.zip

AllenZo
Hi Allenzo,
I too unpacked, made few changes and packed the touchwiz 4.4.2 Kernel for N7150.
I do not see Selinux enforcing listed in "about device" anymore but getenforce command still returns enforcing.
Did you get it working to Permissive ? I had no issues changing SeLinux status on 4.3 kernel but with 4.4.2 it's not working.
 
UpInTheAir
Old
#4  
Recognized Contributor
Thanks Meter 4605
Posts: 4,308
Join Date: Jan 2011
Location: Phuket, Thailand
Quote:
Originally Posted by ciphercodes View Post
Hi Allenzo,
I too unpacked, made few changes and packed the touchwiz 4.4.2 Kernel for N7150.
I do not see Selinux enforcing listed in "about device" anymore but getenforce command still returns enforcing.
Did you get it working to Permissive ? I had no issues changing SeLinux status on 4.3 kernel but with 4.4.2 it's not working.
Please refer to my N9005 SkyHigh kernel ramdisk commit here: https://github.com/UpInTheAir/N9005_...a2ec621d4ca650


Should help

UITA
THANKS costs nothing.......

N9005 HLTE : Developer of :
 
SkyHigh Kernels for SM-T700/705, SM-N9005 & SGT 7.7 : P6810 - P6800

SkyHigh JB ROMs for SGT 7.7

P6810 + kernel & P6800 (discontinued)

[TWEAK] SGT 7.7 Battery Calibration [Fuel Gauge Reset]

[Guide] Flash Official JB 4.1.2 Firmware on P6810 Wi-Fi Device

+ Many other guides, mods & contributions
The Following User Says Thank You to UpInTheAir For This Useful Post: [ Click to Expand ]
 
ciphercodes
Old
#5  
Senior Member
Thanks Meter 234
Posts: 471
Join Date: Oct 2012
Quote:
Originally Posted by UpInTheAir View Post
Please refer to my N9005 SkyHigh kernel ramdisk commit here: https://github.com/UpInTheAir/N9005_...a2ec621d4ca650


Should help

UITA
Thanks, I did make the proposed changes:
setenforce 0
setprop ro.boot.selinux 0
and
setprop selinux.reload_policy 0

After reboot getenforce still returns Enforcing. This is for N7105 4.4.2 Kernel. 3.0.31-1398348
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes