arter97 kernel for Galaxy S6 edge Plus

arter97 kernel for Galaxy S6 edge Plus

arter97 kernel

arter97 kernel for Galaxy S6 / S6 edge / Note 5 / S6 edge Plus
/* Details */
Upgraded to the latest Linux 3.10
Latest Linaro LSK kernel fully merged
Based on the latest Korean Galaxy Note 5 kernel sources
Fading LED
Proper, full support for f2fs & backported from stable Linux 4.3
CPU undervolt support with Synapse

--- Performance & responsiveness improvements ---
UI lags fixed with binder patch
Full unaligned access enabled
Processor scheduler improvements from AndreiLux
Uses LZ4 with zswap
Dynamic fsync from faux123
Networking speed improvements
Random driver backported from mainline Linux
Westwood as default TCP network congestion control
Built with latest Linaro GCC toolchain with H.G linker
Entropy hook on storage removed
Default file-system mount option with noatime
ROW I/O scheduler added and set to default
Scheduler, workqueue, network drivers, file-system drivers, commits properly ported from mainline Linux and CodeAurora(Qualcomm)
Reduced screen-on delay with boosted CPU cores on resume

--- Memory efficiency & management improvements ---
LowMemoryKiller source-code revamped
Various memory tweaks applied
SELinux completely disabled
Memory-management commits properly ported from mainline Linux and CodeAurora(Qualcomm)

--- Battery life improvements ---
Power-efficient workqueues from Linaro enabled
Interactive CPU governor patched for better battery life
NVIDIA's power-efficiency improvement commits applied
Power-managements commits properly ported from mainline Linux and CodeAurora(Qualcomm)
Only 2 A53 cores are allowed to be turned on during screen-off

And many others... please read the changelog
/* Switch to f2fs */
As mentioned above, this kernel fully supports f2fs.
However, you are completely free to choose not to use f2fs.
You can selectively convert partitions to f2fs using PhilZ Touch recovery provided in the downloads.

You should use the provided PhilZ Touch recovery at all times after you switched to f2fs.

This step includes a full factory reset!
Backup your data prior to switch!

You may use the provided recovery to back-up previous ext4 data to an external storage
and restore it to newly formatted f2fs storage.

1. Install normal ClockworkMod(or PhilZ) recovery
2. Put arter97 recovery on you SD card
3. Enter recovery
4. Flash recovery
5. Reboot recovery
6.1 Select "Mounts and Storage"
6.2. Select "toggle f2fs <-> ext4 migration"
6.3. Select "format /cache"
6.4. Select "f2fs"
6.5. Select "Yes - Format device"
7.1. Select "format /data and /data/media (/sdcard)"
7.2. Select "Yes - Format"
7.3. Select "f2fs"
7.4. Select "Yes - Format device"
8. Reboot

You can repeat the steps for /system. It's your choice.
/* Customizing kernel */
You can install Synapse from the Play store to control voltage and other frequencies.
To control some core kernel parameters, create /sdcard/arter97 as a directory and do the followings

--- Disable Adaptive LMK ---
Disabling Adaptive LMK will increase multitasking capabilities at the cost of reduced responsiveness.
Create a text file with 1 letter "0" under /sdcard/arter97 named "adaptive_lmk" and reboot

--- Disable LED fade ---
If you have issues with other 3rd-party LED controlling apps, try disabling it.
Create a text file with 1 letter "0" under /sdcard/arter97 named "fade_led" and reboot

--- Disable Dualcore-mode on screen-off ---
This kernel reduces the available CPU cores to just 2 A53 cores during screen-off.
If this causes issues such as music stutterings, try disabling it.
Create a text file with 1 letter "0" under /sdcard/arter97 named "dualcore_blank" and reboot
/* Disclaimer */
Your warranty is now void.
This site is not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this kernel
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device.
/* Supported devices */
--- Galaxy S6---

--- Galaxy S6 edge---

--- Galaxy Note 5 ---

--- Galaxy S6 edge Plus ---

/* Downloads and links */

Switching to the provided PhilZ Touch recovery is highly recommended for all users.

/* Changelog */
    9.3 changes merged
    A new display's color switcher implemented
     - Original code from gokhanmoral's Siyah kernel for i9300
     - Toggle by quadruply tapping the multitasking button
     - This may not work on Note 5 or S6 edge Plus
    Switched back to Samsung's CPU governor to fix performance weirdness
    CPU governor patched to be more responsiveness
    Boot time decreased
    9.2 changes merged
    CPU frequency boosts on hotplugging to improve responsiveness
    CPU governor downgraded to LA.BR.1.3.2 to improve performance
    Kernel panics related to process reclaim fixed
    f2fs updated to Linux 4.4 merge window
    Process reclaiming code from LG G4 added to LowMemoryKiller
    Adaptive LMK disabled for better multitasking
    zram and its dependencies updated to the mainline Linux
    Replaced zswap+vnswap with zram
    Swap size reduced from 1280MB to 1024MB
    zram can be potentially faster than zswap with parallelized compression - max_comp_streams
    If testing doesn't show improved memory managements, zram will be removed
    This kernel is unstable and regular end-user should avoid it.
    Try this only if you're brave and back-up before you proceed.
    Kies, Smart-Switch issue fixed
    Added proploader for customizing kernel parameters
    Major performance degradation issue fixed
    DT2W(Knock-On) removed for saving CPU cycles
    FAST mode on vnswap disabled to fix random reboots(kernel panic)
    CPU governor updated to LA.BF64.1.2.2_rb4.6
    IRQ, CPU hotplug commits reverted to reduce screen-on delay
    Hotplugging reconfigured to drastically reduce screen-on delay
    Cortex-A53 errata 843419 fix re-enabled to fix invalid instructions
    Possible no-deep-sleep issue fixed
    "CPU cores boosted on screen-on request" reverted to fix screen-on delay
    Exynos 7420 IPA and PMU changes applied to CodeAurora's CPU governor
    Hotplugging properly disabled during screen-on for saving few CPU cycles
    Only 2 A53 cores are allowed to be turned on during screen-off
     - This significantly helps saving battery life during screen-off
     more than just lowering CPU frequency
    CPU cores boosted on screen-on request earlier than stock kernel by hundreds of milliseconds
    for reduced screen-on delay
    Interactive CPU governor replaced with CodeAurora(Qualcomm)'s one
     - This version has many advancements compared to stock version
    RCU, IRQ, topology merged with CodeAurora(Qualcomm)
    ION: system heap allocation time reduced
    Korean Wi-Fi firmware installation removed for S6, S6 edge variants
    Updated to Linux 3.10.92
    Hundreds of file-system drivers, memory-management commits ported from CodeAurora(Qualcomm)
    This kernel is unstable and regular end-user should avoid it.
    Try this only if you're brave and back-up before you proceed.
    Scheduler, workqueue, network drivers, power-managements commits backported from mainline Linux and CodeAurora(Qualcomm)
    for better performance, responsiveness and power consumption
    (Thanks to XileForce)
    This kernel is unstable and regular end-user should avoid it.
    Try this only if you're brave and back-up before you proceed.
    Bluetooth fixed for S6, S6 edge variants
    Wi-Fi drivers updated for S6, S6 edge variants
    Unnecessary blobs removed for S6, S6 edge variants
     - Reinstalling ROM is recommended before installing 7.1 kernel
    Recovery device detection fixed for Note 5, S6 edge Plus variants
    Updated to Linux 3.10.91
    Graphics drivers updated
    PhilZ Touch recovery updated
     - Fixes USB storage unusable after first eject
     - Fixes kernel, recovery, EFS backups
    SELinux completely disabled
     - This should greatly increase available memory, however might decrease stability as Touchwiz Android 5.1 is full of hardcoded SELinux stuffs
    Dual-Sim model support dropped due to development inconsistencies
    LowMemoryKiller minfree, vmpressure adjusted for better multitasking
    Latest Note 5, S6 kernel sources merged
    Latest ramdisk, dtb.img merged
    Input booster issue fixed for S6, S6 edge variants
    CONFIG_EXYNOS5_DYNAMIC_CPU_HOTPLUG_SLEEP_PREPARE set to 1 for better stand-by battery life
    Support for G9208, G9200, G920FD, N9208, N9200, N920CD added (untested)
     - Please read the 'Supported devices' section
     - These variants are untested, please report if it's not working as intended
    LowMemoryKiller durp fixed
    Kernel panic log shortened to prevent truncation
    This kernel is unstable and regular end-user should avoid it.
    Try this only if you're brave and back-up before you proceed.
    LowMemoryKiller replaced with CodeAurora(Qualcomm)'s version
    LowMemoryKiller optimizations(via RBTREE) by Motorola merged
    Adaptive LMK enabled
    LMK values updated from Nexus 6
    f2fs and other drivers updated to use new shrinker API
    Automatic process-based memory reclaim method added and enabled
    "Drop file-system caches on screen-off to reduce screen-on delay" reverted
    This kernel is unstable and regular end-user should avoid it.
    Try this only if you're brave and back-up before you proceed.
    f2fs updated to Linux 4.3-rc4
    ROW I/O Scheduler by Qualcomm added and set as the default
    Updated to Linux 3.10.90
    TCP Congestion Control set to westwood
    N920G and G928G support added
    Updated to Linux 3.10.88
    Major memory managements changes for better responsiveness
     - Reverted vfs_cache_pressure back to 100
     - Dirty writeback adjusted(reduced)
     - dirty_expire_centisecs and user_reserve_kbytes tweaked
     - Drop file-system caches on screen-off to reduce screen-on delay
     - S6 & S6 edge - LowMemoryKiller values tweaked
     - Note 5 & S6 edge Plus - LowMemoryKiller values reverted back to stock
     - Replaced FHA with DHA
     - swap-on-disk disabled by default(/system/swapfile)
    Power efficient workqueues enabled by default
    Few optimizations to storage performance
    Added option to revert back to stock memory managements
         - This will give you even better responsiveness at the cost of vastly reduced multitasking performance and increased chance of background services malfunctioning
         - Install from the recovery to enable
         - Remove /system/bin/lmktweak to disable
         - This will only work on 4.3+ versions
         - This is not enabled by default
    Sound-control temporarily removed for fixing in-call volume
    Potential performance degradation issue fixed
        (Fixes Wi-Fi calling on T-Mobile)
    G920FXXU2COH2 source drop merged (S6/S6 edge only)
         - Wi-Fi drivers updated
         - Sensor drivers updated
         - Touch firmware updated
         - Modem drivers updated
         - Charger/battery drivers updated
    G928F,T,W8 support added
    Synapse loading fixed
    Serious malfunction related to LowMemoryKiller issue fixed
    Attempt made to fix T-Mobile Wi-Fi calling (Note 5/S6 edge Plus only, untested)
    N920C,I,S,K,L,T,W8 and G928C,I,S,K,L support added
    Boot issues with G925F, G925I fixed
    Source codes related to charging has been reverted back to Galaxy S6 ones
        (Should fix charging weirdness)
    Reverted - NVIDIA power saving commits extended
    Attempted to fix durped 3.0 release #2
    Accelerometer error fixed
    MP3, AAC(M4A) playback error fixed
    N920SKSU1AOH4 kernel sources merged
    TCP Congestion Control set to bic
    Attempted to fix durped 3.0 release
    NVIDIA power saving commits extended

    Base changed to G928CXXU1AOGF (Galaxy S6 edge +)

    - This introduces all sorts of internal improvements including performance, power consumption and compatibility for ROMs like back-to-n0t3 -
    - Installing this will switch your ROM's Graphics drivers to the Note 5 ones! -

    NVIDIA's power-efficiency improvement commits merged
    PhilZ Touch recovery rebuilt with latest f2fs-tools
    PhilZ Touch recovery is now also released as ODIN-compatible tarball
    io_is_busy enabled for better responsiveness
    Disabled unnecessary daemons
    Fixed I/O scheduler settings
    Updated to Linux 3.10.87
    Revert and set overcommit_memory to 1 (Android default)
    Renamed G920F, G925F release for G920I, G925I compatibility clarification
    Added Note 5 firmware support
    Fixed potential freezes and performance bottlenecks at the cost of higher app kills(lmk) in the background
    Updated to Linux 3.10.86
    G920I,S,K,L,T,W8 and G925F,I,S,K,L,T,W8 support added
    Exhaustive, periodic freeze fixed
    Memory managements improvements
         - overcommit_memory set to 0 (heuristic overcommit handling)
         - vnswap size decreased back to stock (1536MB to 1280MB)
         - vfs cache pressure set to 10000 for more memory reclaims
    f2fs updated to Linux 4.2-rc6
    Hotplugging scheduler improved on screen-off
    Erratum fixes removed - Exynos 7420 doesn't suffer from this
    General installation durp fixed including TWRP
    Ramdisk updated for maximum compatibility
    HDCP protection disabled
    Experimental Synapse support added
        (untested, manual installation required)
    Initial release
/* Known issues */
/* Installation */
1. Put the downloaded kernel on your internal storage
2. Enter ClockworkMod(or PhilZ) recovery
3. Flash kernel