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

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

OP Allenzo

13th May 2014, 12:54 PM   |  #1  
Allenzo's Avatar
OP Member
Flag Rabieh
Thanks Meter: 2
 
47 posts
Join Date:Joined: Jan 2008
More
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: [ View ]
14th May 2014, 08:20 AM   |  #2  
arinsms's Avatar
Senior Member
Flag Sri Kembangan
Thanks Meter: 92
 
415 posts
Join Date:Joined: Jul 2012
Donate to Me
More
Source of Snapkat/SneakyKat @ Github

Changes compared to stock kernel.

Selinux status = Permissive

http://forum.xda-developers.com/show....php?t=2613305
20th May 2014, 08:57 PM   |  #3  
Senior Member
Thanks Meter: 235
 
476 posts
Join Date:Joined: Oct 2012
More
Quote:
Originally Posted by Allenzo

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.
21st May 2014, 04:37 AM   |  #4  
Senior Member
Flag Phuket, Thailand
Thanks Meter: 5,299
 
4,774 posts
Join Date:Joined: Jan 2011
More
Lightbulb
Quote:
Originally Posted by ciphercodes

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
The Following User Says Thank You to UpInTheAir For This Useful Post: [ View ]
21st May 2014, 04:39 PM   |  #5  
Senior Member
Thanks Meter: 235
 
476 posts
Join Date:Joined: Oct 2012
More
Quote:
Originally Posted by UpInTheAir

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
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes