Saturday, June 11, 2016

Kernel for Samsung Galaxy NOTE 5 - SM-N920 - Marshmallow -TW

Hello,

This is my first modest contribution ,as a beginner, to the wonderful community on xda (so don't be rude :) no one is perfect, constructive criticism welcomed), i've been learning and still learning everything related to linux kernel to enhance and optimize this stock kernel for our beloved samsung device, the Note 5 SM-N920 , and i am pleased to introduce you Xtreme kernel.

I will be honest , I am not a developper and never claimed it, i am just an enthusiastic hobyist with few basics of some programing languages ,who loves playing with firmwares and kernels,but this is the first time i am sharing a personal hobby project.

The main goal of this kernel project is to deliver extreme battery life, extreme performances and extreme smooth experience.

This kernel in its earlier stages was based on various old source code for learning and testing purposes in its beta versions,but as time goes, it has been updated to latest BPD6 AOSP as a base for latest beta tests and has been tested by more than 300 friends/users via various telegram groups,getting better and better,and feedback has been positively reported, so at this mature stage, i decided to post it on Xda to make maximum friends enjoy extended battery life with this kernel.

I would like to express my deep respect and consideration to all talented Elite Devs,my respect and consideration to All Xda Team behind this fantastic knowledge Hub and for pushing everyone to learn,grow and have constructive free time,in a public collaborating manner.

Many thanks to all my respectable friends for their help , their tests, their encouragements and for their unconditional supports.

As anyone working on kernels,i found various useful patchs,commits and modifications on various linux arm64 related channels (forums,git repos,linux kernel documentation,gcc documentation..etc..) wich i tested ,some are good and some not for the targeted profil designed for this kernel,so i tried to bring the best combination with my own tested modifications to deliver a balanced configuration optimised for best battery and performances profil.

I hope you will enjoy it,so feel free to use it or not,if you don't feel comfortable with it or it doesn't fit your needs just switch to another kernel ,there is absolutely no obligation there, it was first made for fun ,for friends, i will try to provide support regarding my free time availaibility,so don't expect too much,but i am available on telegram group for quick answer when possible too.

Now it's up to you to test..



++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++++++++++++++++



- DISCLAIMER

I AM NOT RESPONSIBLE,NOR XDA, FOR ANY BRICK OR HARM THAT MAY OCCUR ON YOUR DEVICE,YOU ARE THE ONLY RESPONSIBLE OF USING ANY FLASHABLE FILES ON YOUR PHONE,BY FLASHING THIS KERNEL, I ASSUME THAT YOU AGREED TO THIS TERM AND YOU ARE DOING IT AT YOUR OWN RISK ! THINK TWICE BEFORE ENGAGING YOUR OWN RESPONSABILTY !
BUT SO FAR, THE KERNEL IS WORKING FINE ON MY SAMSUNG GALAXY NOTE 5 SM-N920C ,AND ALL BETA TESTERS ARE CONFIRMING VIA REPORTED FEEDBACKS THAT THIS KERNEL IS WORKING FINE TOO ON THEIR SAME DEVICE.RE-THINK AGAIN BEFORE FLASHING.




++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++++++++++++++++

Kernel Features:

- Compiled with latest new optimzed UBERTC Toolchain 6 with Latest featured GCC 6.x.x :good::good:
- Based on latest available AOSP kernel open source code N920CXXU2BPD6 (link below)
- Patched to latest Linux 3.10.101
- Stock patched ramdisk based on BPD6 (tweak and patch applied)
- Mount partition with noatime option.(reading accesses will no longer cause the atime information.Performance gains)
- SELinux set to Enforcing for your data security and privacy (but at your convinience ,a tutorial to change to permissive is available bellow regarding YOUR own choice).
- Auto-Root included (credits @Chainfire)
- Graphite enabled for high level memory optimizations
- Optimized I/O schedulers for better tasks queue managment
- Deepsleep working fine - optimized triggers
- Various tweaks for ram swapping
- Few Updates and merge with LSK source code - linux kernel (last stable kernel)
- Westwood default algorithme as a Tcp congestion control strategie for more internet speed
- Optimized Interactive governor for better clock speed scalling
- GPU enhancement for smooth experience and better rendering
- Optimized cpu freq scalling for better battery and responsivness
- ClearWater audio with Arizona controls for immersive sound experience (no gui)
- Added support for various external audio devices
- No uci support ( i'm not a synapse fan,a battery saver profil can be a bit good for battery saving but catastrophic for playing games with hard cpus loads and vice versa ,better to let kernel manage everything,just sit back in the car like a boss to enjoy ride and let the driver manage driving hassles )
- Best Balanced profil optimized for best perfs/battery life (real battery saving witout sacrifying perfs)

And much more...too long technicals features to be listed.


================================================== =================================================

++Credits:

- Samsung and Linux for the Kernel Open Source Code
--- Samsung open source code link : http://ift.tt/1VzMTzC

--- Linux kernel open source code link : https://www.kernel.org/

++Credits for the respectable and talented elite real great devs for learning purpose, especially @Andreilux,@Arter97,@Googy_anas,@Dorimanx,@Chainfi re for SuperUser,@craigacgomez,@Djvoleur,@Imoseyon...

++Credits to All Group friends/testers.

If i unintentionnaly forgot someone,i'll be honored to add him ,just pm.

Source Code : http://ift.tt/1YjSY7Y


++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++++++++++++++++
- Steps for flashing kernel:

I assume that you are already on a rooted device with TWRP 3.0.0.0 installed,if not,useful posts on how to root and install twrp can be found on Xda,just do a search.

1 - enter recovery mode via twrp
2 - Wipe cache and Dalvick/ART cache ( important step or junk files will lead to internal conflicts like freeze lags or random reboots)
3 - Flash kernel and reboot,(it will bootloop once,just don't touch it and don't panic)
4 - After complete reboot,don't use the phone and let the kernel settle for 5 minutes for better hardware and firmware integration,if u use it while rebuilting cache and integrating,you may experience lags or freeze,so let it install comfortably before starting usage.
5 - after step 4 , you can use the kernel. A second reboot is advicable but not obligatory,it's up to you.
6- Enjoy Xtreme Kernel !

++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++++++++++++++

- Permissive Mode

- How to set SE linux to Permissive permanently for Xtreme Kernel with SELinux Enforcing mode ?

1- You need to have 2 tools:

--- A root files explorer like Fx Explorer with root addon OR Root explorer ( I am using Fx explorer ,personal preference)

--- Universal init.d (to enable support), Download it from PlayStore


2- Once installed,enable it by switching to ON

3- With root access, Go to system/etc/init.d directory

4- Create a file and name it 08setperm

5- Open new created file and write these 2 lines:

#!/system/sh
setenforce 0

6- Save and close

7- Give full permissions (read,write,execute) to the file " 08setperm " like this "rwxrwxrwx" (use Fx Explorer or Root explorer to edit and change permissions)

8- Open Universal init.d and switch to ON and click on "08setperm" then click 'execute' on top (the play buttom).

9- Now Reboot your phone

10- Done! your SELinux mode is set to permissive permanetly.
To revert back to Enforcing, just switch to OFF Universal init.d enabler and reboot .

++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++++++++++++++++

- Download Link :

++ Link for Xtreme Kernel v1 for Samsung Galaxy Note 5 SM-N920 C/G/I -MM-TW ++

LINK Kernel





-------------------------------------------------------------------------------------------------------------------------------------------------------------



XDA:DevDB Information
Kernel -Galaxy NOTE 5 - SM-N920 - MM -TW -6.0.x, Kernel for the Samsung Galaxy Note 5

Contributors
SpiritualWarrior
Source Code: http://ift.tt/1YjSWgq

Kernel Special Features: Based on N920CXXU2BPD6 AOSP - Compiled with latest new optimzed UBERTC Toolchain 6 with Latest featured GCC 6.x.x

Version Information
Status: Stable
Current Stable Version: 1.0
Stable Release Date: 2016-06-11

Created 2016-06-11
Last Updated 2016-06-11


from xda-developers http://ift.tt/1UsmCSU
via IFTTT

No comments:

Post a Comment