[Galaxy S6 / S6 Edge Unified Development] -=RaZoR=-:
⋆⋆⋆⋆⋆⋆⋆⋆⋆⋆⋆

⋆⋆⋆ tn2009_kernel ⋆⋆⋆

⋆⋆⋆⋆⋆⋆⋆⋆⋆⋆⋆

By Tamerlan2009​

Kernel Supports F/I/S/K/L/T/W8 variants of 920 AND 925 devices​

The kernel had spent a lot of time in order to satisfy all. This kernel is built to appeal to users who want something really high-quality and stable with a broad customization capabilities. If you wish to use this kernel in a rom , feel free! Although I would love it if you let me know just for my own curiosity. emphasis was placed for maximum performance and battery life.

🌟

Features:

🌟

1. Changes in the kernal

- based on the latest sources COI9 G925F

- Build on gcc 5.2.1 UBERTC (01.11.2015);

- deep sleep fix;

- Smoothen GPU throttling levels;

- fix memory leak in gpiod_sysfs_set_active_low;

- fix memory leak in gpiod_export_link;

- optimization MakeFile and other files

- optimization workqueue

- optimization zswap

-added many new tweaks / optimization to improve RAM.

- memory leak fixed

-A lot of changes config of the kernel;

-Included Input booster.

- ARM64 readahead: fault retry breaks mmap file read random detection;

- Remove + sign from kernel version;

- fs/dcache.c: Fix the too small buffer for dname;

- Fixup! mm: fix aio performance regression for database caused by THP;

- Async I/O latency to a ssd greatly increased, 34% gain (Creds: kleikamp);

- mmc: disable CRC check for better performance;

- drivers/mmc: spi CRC configurable;

- PM / sleep: Fix memory leak in pm_vt_switch_unregister();

- tcp cong: westwood & htcp builtin and add hstcp & hybla & vegas;

- tcp: replace bic by westwood as default;

- CONFIG_EXYNOS5_DYNAMIC_CPU_HOTPLUG_SLEEP_PREPARE set to 1 for better stand-by battery life

- Faster lzo compression

- Added a new kernel compression lz4;

- Full support for ext4 and f2fs;

- rework f2fs - Linux 4.4 merge window;

- cpufreq: Remember last policy min/max on cluster restart

- block: disable add_random for more performance on SSD's

- wireless: dhd: Enable standby ARP and multicast packet filters

- mailbox: Separate APM CPU cluster voltages and fix debugfs output

- Added latest version of driver POWERSUSPEND

- Included schedule workqueues to save energy

-tweaks and optimize the interactive Governor, cpu standard

- GApps wakelock fix

- enable ld fix for cortex-a53 errata 843419;

- Included configs to improve the sound (g928f);

- Ported the driver from random Linux 4.2+;

- full NTFS R/W support (installed total commander and the plugin and use the flash drive with the ntfs file system);- enable USB OTG support)

- fs/dyn_sync_cntrl: dynamic Fsync control v1.5;

- fs/dyn_sync_cntrl: on by default;

-Optimization make all the kernal files;

- A new driver LMK (Lowmemorykiller);

- UI lags fixed with binder patch;

- NVIDIA's power-efficiency improvement commits applied;

- disable GCC SRA optimization;

- increase AES interleave to 4x;

- Improve ext4 и fuse;

- Enable standby ARP and multicast packet filters;

- rcu: Move SRCU grace period work to power efficient workqueue;

- firmware: use power efficient workqueue for unloading and aborting fwload;

- usb: move hub init and LED blink work to power efficient workqueue ;

- net: rfkill: move poll work to power efficient workqueue;

- net: wireless: move regulatory timeout work to power efficient workqueue;

- net/ipv4: queue work on power efficient wq;

- switch: arizona: Use power efficient workqueue;

- rtmutex: Fix deadlock detector for real;

- sched/__wake_up_sync_key(): Fix nr_exclusive tasks which lead to WF_SYNC clearing;

- Readahead: Optimize divide/multiply by power of 2 using L/R shift;

- readahead: Fix an error (thx ramgear);

- Async I/O latency to a ssd greatly increased, 34% gain (Creds: kleikamp);

- fixup! mm: fix aio performance regression for database caused by THP;

- mm: fix aio performance regression for database caused by THP;

-Disabled all the junk in the kernel (unused drivers, ramdisk compression, sedulity, Governor, etc.);

- per-thread vma caching;

- Improve drivers gpio;

- Improve drivers keyboard;

- Add power-aware migration decision making

- power migration: Refactor the hysteresis scales

- Implement task packing for small tasks in HMP systems

- tweaks dm-hotplug (before the tests with the kernel need to log in to Synapse and see if the maximum frequency set for the processor, and also put on 0 undervolting).

- the kernel source code is fully fixed not a single error, and warnings note (perfect code).

2. Changes in ramdisk:

- spoilramdisk (COI9) +my changes

- SE Linux set to permissive (will prevent private mode from working)

- Full init.d scripting support

-removed the red line when the phone is boot(SE Android enforsing);

- support engineering(samsung loaders;

- поддержка port ROM S6 Edge + and Note5

- Changed ramdisk compression in lzo;

- SeLinux is fully disabled;

- full support for Synapse

- SQLITE

- ensure cores to be online on boot

- boost onlined cpu;

- Auto-install Synapse

-Full support for ext4 and f2fs multiboot;

- Improving and automatic tuning of file system (fstrim);

- Optimization and tweaks RAM;

- automatically remove KNOX

3. Control via Synapse :

A57 CPU

- CPU temperature

- A57 big Cores Frequency Scaling

live frequency

MAX: 2100 MHz

MIN: 800 MHz

- HPM voltage control (UNDERVOLTING)

- A57 big Cores voltage control

- CPU governors

interactive (default)

userspace

performance

- CPU governor tunables

A53 CPU

- A53 LITTLE Cores Frequency Scaling

live frequency

MAX: 1500 MHz

MIN: 400 MHz

- HPM voltage control (UNDERVOLTING)

- A53 LITTLE Cores voltage control

- CPU governors

interactive (default)

userspace

performance

CPU governor tunables

GPU

- GPU stats

Current clock freq

Live Frequency Utilization (load)

- Time in state

- GPU power policy control

coarse_demand (default)

demand

always_on

- GPU frequency scaling

- GPU Governor

Default

Interactive (default)

Static

Booster (more graphic and benchmark performance)

- GPU Interactive Governor tunables

highspeed clock

highspeed load

highspeed delay

-

I/O Schedulers

CFQ default(tweaked for SSD)

NOOP

Storage read-ahead (256 KB)

- General IO tuneable

Add random

IO stats

Rotational

No merges

RQ Affinity

- I/O scheduler tunables

AUDIO

(Sound Control by AndreiLux)

- Jack media volume control

L/R channel volume

mono mixer

- Main Equalizer

- Advanced Stereo Equalizer

NETWORK

- TCP congestion control

All available enabled.

Default = westwood+

- Screen mirror/allshare cast fix control (enabled)

- Clean WIFI Lease

- TCP/IP network security

- 3G DNS speed & security tweak

Google

OpenDNS

Comodo, Level3

Norton_DNS

Smart_Viper

REBOOT

- Reboot device

- Recovery Mode

- Download Mode

- Power Off

- Clear Synapse Data & Reboot

- Restart Synapse

Led indicator

- on/off fading led

FS

- Information about the partitions on the phone and their file systems

- tweaks

Backup/restore

- Save and restore your settings Synapse

🌟Thanks to:🌟

AndreiLux

faux123

Linaro

arter97

Xileforce

g.lewarne

and a lot of other people I forgot.

🌟Changelog:🌟

[B][I]v.5.2 [/I][/B] (Universal)
- Kernel Supports F/I/S/K/L/T/W8 variants of 920 AND 925 devices.
- kernel with all prior versions and changes;
- add sweep2sleep (control via Synapse);
- add IPV6 Optimistic Detection (control via Synapse);
- add USB storage controls - you can connect your phone to PC, CD-rom, etc. (control via Synapse).

[B][U]v.5.1[/U][/B]
- Sources COI9 G925F;
- Completely rewritten kernal;
- Completely rewritten ramdisk;
- Removed a lot of junk;
- Compression ramdisk gzip;
net/neighbour: queue work on power efficient wq;
- aio: Skip timer for io_getevents if timeout=0;
- sched/fair: Implement fast idling of CPUs when the system is partially loaded;
- futex: Implement lockless wakeups;
- locking/rtmutex: Implement lockless top-waiter wakeup;
- A kernel with all prior versions and changes;
- Sort of happened to build into the kernel tweaks for the RAM!
- At the moment is the kernel for me the best performance, savings and tweaks.
- Update kernel will return a standard video driver from G925F COI9.

[U][B]v.5.0[/B] [/U]
- compute time-average nr_running per run-queue;
- Re-compute time-average nr_running on read;
- network speed tweak;
- governor: Be friendly towards latency-sensitive bursty workloads;
- Introduce new relation for freq selection Introduce CPUFREQ;
- Replace CPUFREQ_RELATION_L with C (interactive governor);
- add quickwakeup driver (from Motorola);
- always mount partitions as noatime and nodiratime;
- process: drecrease time to enter sleep ;
- Increase hash table size for better performance ;
- sensorhub: reduce wakelock time;
- implement readpages() to optimize sequential read ;
- Move clock sync work to power efficient workqueue;
- remove WQ_POWER_EFFICIENT from kblockd;
- LOAD_FREQ (4*HZ+61) avoids loadavg Moire;
- pass readahead info down to the i/o schedule ;
- cpufreq: add underclock;
- updated the files and applied a lot of tweaks to cpufreq_stats - dm_cpu_hotplug - freq_table - speedstep-lit - speedstep-sm - cpufreq_interactive - cfq-iosched;
- Added ROW iosched and set as default;
- Control voltage and overclocking GPU (100 - 852 Mhz);
- add dynamic read-ahead
- Improvements to RAM;
- Many improvements ramdisk
[/B]

.

🌟Downloads:🌟

V.5.2

Mod Edit link removed

XDA:DevDB Information

tn2009_kernel for the Samsung Galaxy S6\S6 EDGE

Contributors

-=RaZoR=-

Version Information

Status: Stable

Current Stable Version: v.5.2

Created 2015-12-04

Last Updated 2015-12-06