FORUMS

Analysis & Opinion

Top Forum Discussions

[Kernel][4.4.2][P605] Permissive Stock Kernel (OB1)

1,752 posts
Thanks Meter: 2,713
 
By hanspampel, Recognized Contributor on 6th August 2014, 04:54 PM
Post Reply Subscribe to Thread Email Thread
So guys ive experimented a bit and found out how to compile a kernel from source. Some guys here are waiting for permissive kernel to install linux deploys etc. Here it is. Not perfect yet, but seems to work. Has nothing special features. Uses my ramdisk from my xKat Rom with init.d support. So please dont ask for more features!! Its mostly pure stock. When i try to build a custom kernel, i will make a new thread for it.


Download



How to install
  • Download the file and place the Zip on your intern or extern memory.
  • boot into Recovery
  • go on install into TWRP
  • look for where you placed the Zip
  • click on the zip an slide to the right
  • after that go to reboot


How to set permissive?

Permissive is not activ on boot. So use the App "Terminal Emulator"
  • open it
  • type su
  • type setenforce 0
  • to check it type
  • getenforce
  • and you will see its permissive now. But only for this session. If you rebot your device it will enforcing again.

Better choice is the App "SElinux Mode Changer".
  • Install it from Play Store
  • and set on permissive
  • It works with any boot now.


Troubleshooting

  • if you have trouble with WLAN, delete your connection onetime
  • reconnect to your accesspoint and WLAN will work again.


Picture
Click image for larger version

Name:	2014-08-06 15.25.00.png
Views:	1115
Size:	198.0 KB
ID:	2886592


Please hit "thanks" and rate this thread if you like my work or buy me a beer
Last edited by hanspampel; 21st May 2015 at 12:08 PM.
The Following 11 Users Say Thank You to hanspampel For This Useful Post: [ View ]
 
 
6th August 2014, 11:43 PM |#2  
Senior Member
Thanks Meter: 12
 
More
Good, thanks a lot. Did you face problem like me - when compiled zImage, updated boot.img using abootimg -u -k ../../arch/arm/boot/zImage ...
I was flashed it and get into download mode. Tablet sayed - cannot boot os or something similar. Sorry for bad english.
7th August 2014, 01:59 AM |#3  
Member
Thanks Meter: 1
 
More
Great job. Works fine. Thx
7th August 2014, 02:02 PM |#4  
hanspampel's Avatar
OP Recognized Contributor
Thanks Meter: 2,713
 
Donate to Me
More
@Tautvaldas

Didnt tried it yet. Ive made it on windows cause my ramdisk of the NG1 kernel was there.
7th August 2014, 04:29 PM |#5  
Senior Member
Thanks Meter: 88
 
More
i made mine too, i did all the stuff like uv and zzmove gov added in,, but got problem during flash, sad

will test your thanks
16th August 2014, 11:29 AM |#6  
Senior Member
Thanks Meter: 12
 
More
Can someone build kernel with framebuffer console support - http://blackfin.uclinux.org/doku.php...:drivers:fbcon
16th December 2014, 11:03 PM |#7  
GrayJack's Avatar
Senior Member
Silent Hill
Thanks Meter: 171
 
Donate to Me
More
@hanspampel
A noob question - but it's better to be sure before start doing something
Moreover - you are the only who made a custom kernel for this device

So: is it true I should only replace boot.img with original one (from original tar.md5 package) and change "misc" file with "ro.securestorage.support=true" to obtain zip recovery for flashing original kernel back?
17th December 2014, 10:20 AM |#8  
hanspampel's Avatar
OP Recognized Contributor
Thanks Meter: 2,713
 
Donate to Me
More
Hi

Yepp it should work this way.
19th December 2014, 02:20 PM |#9  
hanspampel's Avatar
OP Recognized Contributor
Thanks Meter: 2,713
 
Donate to Me
More
So added to this kernel the latest NJ1 ramdisk. Download in OP.
19th December 2014, 02:26 PM |#10  
GrayJack's Avatar
Senior Member
Silent Hill
Thanks Meter: 171
 
Donate to Me
More
Quote:
Originally Posted by hanspampel

So added to this kernel the latest NJ1 ramdisk. Download in OP.

Isn't NK1 the latest one? Or no difference as for kernel part?
19th December 2014, 02:42 PM |#11  
hanspampel's Avatar
OP Recognized Contributor
Thanks Meter: 2,713
 
Donate to Me
More
Yepp your right. NK1 is the latest, but my rom uses the dbt where is NJ1 the latest. But the NG1 works on NJ1 FW too. So i think there is no real modification on samsung side. Beside there is no another update from sources for p605 available. So that means, is there a modification from samsungs side, then only in ramdisk. This is why i changed it to NJ1 one. Maybe there is one who knows.

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes