FORUMS
Remove All Ads from XDA

[KERNEL] NX Kernel | R29🎃 | 31 OCT '19

1,548 posts
Thanks Meter: 3,290
 
By Noxxxious, Senior Member on 18th December 2017, 10:59 PM
Post Reply Email Thread

Short summary:
NX kernel aims at providing you a smooth experience, while maintaining the best of your battery life. The kernel requires no further user customization and therefore should be used as available.

Features:
• First unified S8/S8+ kernel for F(D)/N variants only: 1 kernel to support both devices.
• Permissive by default
• Knox 0x0 with Safetynet bypass
• LED fade control
• Wakelock control (blacklisting not adviced)
• Moro sound control
• Wake gestures mod by Flar2
• Memory management improvements
• Improved touch latency
• Drivedroid support (0.10.48+)
• Unofficial DEX support
• Wireguard VPN support
• Other misc. optimizations

Download link:
Pie




Credits to my dear testers:
@Benji1983
@bininga59
@destan4503
@hans_olo
@jeebspawnshop
@moelle
@mwilky
@parser
@pcvroon
@s-advance
@sswagonman
@teutate
@zafer61


Caution:
I am not responsible for anything that happends after flashing the work provided here.

Sharing is caring, so according to the (much unwelcomed) rule 12 you can use my open source on GitHub without my explicit consent or credits. But this is where the caring stops as I do not allow you to use any of my own provided files (except for unmodified stock files). Section 3 of this rule states that you can try to bypass my explicit consent by releasing it as your own when you succeed to make significant changes to the work.

Goodluck and happy CopyMaxing.




Source Code: Github
The Following 217 Users Say Thank You to Noxxxious For This Useful Post: [ View ] Gift Noxxxious Ad-Free
18th December 2017, 10:59 PM |#2  
OP Senior Member
Thanks Meter: 3,290
 
More
Changelog
R28
- Updated to DSF source
- Improved performance and efficiency.

Old changelog:


V1 - Initial XDA release, based on 2nd test 38

R2:
- Fixed freezes that was caused to a minority of users on particular roms
- Fast charging fixed to work for everyone
- Potentially improved battery life at the cost of slight overhead

R3:
- Fixups and hiccups
- GPU control added in Synapse

R4:
- Removed Synapse and OC, mtweaks is good enough
- Based on Test 50

R5:
- Oreo release

R6
- Merged N8 March Oreo source
- LED fixed
- WiFi blob detection fixed (still requires a few files due nvram path..)
- Faster booting
- Tweaked for better idle drain and battery life

R7
- Bug fixes caused by N8 merge

R8
- Rebased the kernel by filtering out bad changes for battery life, performance and so on.
- Updated to latest CRD source
- Fixed LED (hopefully definitely)
- Fixed WiFi (works like stock kernel)
- Mount system earlier to boot faster
- Added overclock for cluster1
- Fully Permissive (no longer fake enforcing)

R9
- Removed lots of useless stuff -> faster kernel and less size
- Still CRD7 based with CREF ramdisk (CRED source has worse battery life according to my groups experience)
- More stable LED implementation
- Removed Fsync/CRC toggles because data stability is way more important than this benchmark cheater

R10:
- Fixup of R9

R11
- REQUIRES NEW MODIFIED TWRP FIRST
- New fading led approach -> enabled by default and not bugging anymore. You can control it with Mtweaks V2.9
- Quotas enabled, which works thanks to the new TWRP. More info
- Some fixes and optimizations.

R12
- REQUIRES NEW MODIFIED TWRP
- Middle of rebase, not done yet..
- Manually updated to CRF
- Added CRGB support
- More unification work done (fixes Samsung's screw up by delaying probe after booting up, which would result in an unresponsive lockscreen until init occured.

R13
- REQUIRES NEW MODIFIED TWRP
- Merged CRGB source update (seems the R12 fix was short lived)
- Re-added changes I forgot for R12, e.g. Drivedroid support, OC.
- Fixed WiFi-calling as confirmed by @bininga59

R14
- Requires modified TWRP - See post for explaination
- Almost done rebasing
- Fixed bad code using GCC 7.3 (also fixed booting compiled kernel with 7.x/8x toolchains due bad alignment)
- Reduced kernel overhead, improved security (fully disabled debugfs)
- Removed ability to overclock the big clusters

R15
- Added TWRP patcher: During installation it will detect unmodded TWRP and modify it. If it detects a modified TWRP it will skip this step. If you care for MTP in TWRP then you still must flash the TWRP provided in post #644. The only reason I added this script is because many fail to follow instruction (flash modded twrp and kernel/rom).
- CRGH source update
- Re-added GPU sysfs and underclocked to 112Mhz
- Some under the hood optimizations for more stability, better consumption and idle improvements.
- Probably N9 port ready (untested)
- Still rebasing...

R16
- Linaro 7.3 compiled
- Re-added big cluster OC
- Fixed Gear VR & recording call bugs
- Not N9 ready (requires more ramdisk changes + still waiting for a working port)

R17
- Requires modified TWRP (due to proper Oreo support) -> See post 644
- CRI based
- Forgot the rest

R18
- CRK source drop merged
- Improved touch latency
- Updated LZ4 module to 1.8.3
- Other misc improvements; e.g. improved idle consumption, bug fixes, smoothness, snappiness etc.

R21
- Last kernel to support Oreo.

R23
- Properly upstreamed to 4.4.176 with no cpu bugs etc.
- Compiled with GCC 8 and fixed all buffer overflows -> should improve stability but also has an overall positive effect
- Better idle -> Don't take my word for that as I don't know how upstream will affect the change
- Touchscreen backport from Pixel 3 for better touch latency on S8 devices (too bad S8+ uses a different panel)
- Re-added overclock abillity
- Other minor optimizations that positively affect performance and battery life

R24
- Updated to latest DCSB source
- Upstreamed to 4.4.178*
- Sound control mod backported (requires latest Mtweaks)
- Wakegestures backported: Doubletap2wake, sweep2sleep, sweep2wake.**
- Fixed permissive state to work with banking apps (no reboots)
- Fixes on top of fixes and optimizations that will affect performance and idle drain.

* Still indecisive about upstream
** Enabling gestures will kill AOD touch and hard press to wake

R25
- Dropped upstream as I always was convinced it resulting in worse battery life.
- Switched from Zswap to ZRam.
- Added overclock abillity for little cores to 1898Mhz (fixed this possibility)
- Big cluster min clock is set to 858MHz
- Added GPU OC abillity to 572MHz
- Compiled with my custom compiler to target exynos-cortex (big.LITTLE)
- Some other minor optimizations to improve idle and battery life.

R26
• Compiled with custom GCC 9.1.1
• Updated to the latest available source for S8/N8.
• Selinux: now you can switch enforcing by writing "setenforce 0" in a terminal or by using an app like Mtweaks. This can be useful incase your banking app requires an enforced phone (e.g. rebooting)
• Updated moro sound control: fixes unlinked L/R control and resets
• Wake gestures: added a proximity state check so that an enabled wakegesture cannot wakeup the phone when the proximity sensor is active, like during a phone call.
• Other changes to improve performance, reduce kswapd usage and hopefully preserve a bit more battery life.
The Following 77 Users Say Thank You to Noxxxious For This Useful Post: [ View ] Gift Noxxxious Ad-Free
18th December 2017, 10:59 PM |#3  
OP Senior Member
Thanks Meter: 3,290
 
More
Reserved
The Following 22 Users Say Thank You to Noxxxious For This Useful Post: [ View ] Gift Noxxxious Ad-Free
18th December 2017, 11:01 PM |#4  
OP Senior Member
Thanks Meter: 3,290
 
More
FAQ

Q: Does this support non stock roms?
A: The kernel does not support ports, e.g. note 9 port, while it may have the possibility to support note 8 based roms. This kernel will never have AOSP support.

Q: Can you add X to the kernel?
A: No, this is a personal kernel and therefore won't have what I don't want. This is a take it or leave it kernel, so if it doesn't have Spectrum, Flickerfree etc. then I'd leave it.

Q: I lost root
A: The zip contains no root, because rooting is optional. You need to flash Magisk manually after flashing the kernel.

Q: I have a problem!
A: Make sure you use no Xposed framework. If we have that cleared, please post a dmesg and last kmsg of the moment right after the problem occured. You can use Syslog app for that from the play store.

Q: Want my benchmark score?
A: No this is no pissing contest thread who can reach the furthest.

Q: Can I donate you?
A: No, I am doing this to improve my phone in the first place and sharing takes 2 clicks. Not into the money business by putting up a big ass donation button in the first post. Go spend your money on family or yourself instead.
The Following 142 Users Say Thank You to Noxxxious For This Useful Post: [ View ] Gift Noxxxious Ad-Free
18th December 2017, 11:08 PM |#5  
mwilky's Avatar
Recognized Developer
Flag Manchester
Thanks Meter: 15,515
 
More
The Following 10 Users Say Thank You to mwilky For This Useful Post: [ View ]
18th December 2017, 11:09 PM |#6  
Junior Member
Thanks Meter: 3
 
More
Which build do it base on?
The Following User Says Thank You to jasonce For This Useful Post: [ View ] Gift jasonce Ad-Free
18th December 2017, 11:21 PM |#8  
Senior Member
Thanks Meter: 65
 
More
Great kernel!!!
Glad to see it here
The Following User Says Thank You to miguelang611 For This Useful Post: [ View ] Gift miguelang611 Ad-Free
18th December 2017, 11:47 PM |#9  
NameWho's Avatar
Senior Member
Flag Belfast
Thanks Meter: 1,208
 
More
Best kernel about. Its been a pleasure testing and meeting you bro.
The Following 4 Users Say Thank You to NameWho For This Useful Post: [ View ] Gift NameWho Ad-Free
18th December 2017, 11:49 PM |#10  
Benji1983's Avatar
Senior Member
Flag Innsbruck
Thanks Meter: 158
 
More
Running this kernel for ages

This is by far the best kernel for me
This is really good work
Never wanna miss it
Great work I will surely stay forever



Greetz benji1983
The Following 2 Users Say Thank You to Benji1983 For This Useful Post: [ View ] Gift Benji1983 Ad-Free
18th December 2017, 11:50 PM |#11  
OP Senior Member
Thanks Meter: 3,290
 
More
Quote:
Originally Posted by Nameless

Best kernel about. Its been a pleasure testing and meeting you bro.

That signature needs an update
The Following 3 Users Say Thank You to Noxxxious For This Useful Post: [ View ] Gift Noxxxious Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes