TUNED Kernel for N/O/P/Q - 20201021 - Full charging, no flickering, correct mA values

Search This thread
what's the problem with it?
Well put simply it doesn’t work. I played many games and ran benchmarks and realized that the performance of 600MHz and 657MHz is the exact same as stock 578MHz.

I am on LOS 15.1. This isn’t the first time I run into this problem on a phone. It’s a tricky issue where system reports the assigned frequency correctly but there is something that prevents the hardware from using it. It’s not a hardware limit.
 

fbs

Senior Member
Jun 22, 2007
1,110
1,054
not in brazil
Well put simply it doesn’t work. I played many games and ran benchmarks and realized that the performance of 600MHz and 657MHz is the exact same as stock 578MHz.

I am on LOS 15.1. This isn’t the first time I run into this problem on a phone. It’s a tricky issue where system reports the assigned frequency correctly but there is something that prevents the hardware from using it. It’s not a hardware limit.
maybe it never worked then. I don't remember doing benchmarks to measure it and the users also didn't seem to care..
and my s5 is dead
but anyway the latest version of it (for android 11 and above) was built from scratch, who knows if it fixed it?
 
  • Like
Reactions: TechNoobForSale
maybe it never worked then. I don't remember doing benchmarks to measure it and the users also didn't seem to care..
and my s5 is dead
but anyway the latest version of it (for android 11 and above) was built from scratch, who knows if it fixed it?
Eh it would be nice to try, but I’m still using the phone, and 1704MB of RAM just won’t manage to decently handle Android 11. I don’t understand why ROM developers keep milking the device under that aspect. It’s pointless. It needs Kernels.
 

fbs

Senior Member
Jun 22, 2007
1,110
1,054
not in brazil
Eh it would be nice to try, but I’m still using the phone, and 1704MB of RAM just won’t manage to decently handle Android 11. I don’t understand why ROM developers keep milking the device under that aspect. It’s pointless. It needs Kernels.
the android system itself isn't huge. just by adding features (not apps!) won't increase ram consumption immensely
 
the android system itself isn't huge. just by adding features (not apps!) won't increase ram consumption immensely
I don’t know man. Android 12 killed it for me. The difference from A11 in terms of RAM usage is terrific. Maybe it’s about the implementation. But just like we went from Windows XP to Windows 10, requirements do increase. And the load on the hardware does too.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 61
    "A kernel is the central part of an operating system. It manages the operations of the computer and the hardware - most notably memory and CPU."


    It should be installed via Recovery (TWRP) over any LOS/AOSP 14/15/16/17-Based ROM. It doesn't need any tweaking with any app, just install it and use it.
    BUT you can use Boeffla Config app (available here on the next post) or Kernel Adiutor if you like tweaking.

    This kernel uses codes from other kernels, as you'd expect in an open-source community, most notably code from Boeffla, SmartPack, Lolz, Ares and Intelli-kernel

    It has UNIQUE features like:
    - a different "low memory killer" algorithm wrote by me. Extremely simple, but multiple apps can be killed in a batch!
    - zcache is disabled for really *freeing* up memory that was used for caching files
    - a different default cpu hotplugger. ALL kernels (even LOS/stock) relies on Qualcomm's vanilla MPDecision, I wrote my own
    - Tuned CPU governor (it's the default). It's basically the Interactive governor but with a LOT of tuning to match up with the tuned hotplugger. Did you know stock/los roms uses a multi-socket Interactive governor that doesn't match our phone's cpu?
    - many many many MANY compiler optimizations not found on boeffla kernel, LOS or anywhere else!
    - MANY unused code simply REMOVED to free memory and CPU. People ADD a lot of stuff on a kernel, I like to remove
    - compiled with 2019 GCC version 9.1 (instead of the ancient version 4.9 that EVERY ROM uses)
    - Your battery will be charged to "real" 100% like TWRP does

    - many unstable cpu and gpu governors and i/o schedulers removed. they only wasted space
    - ext4 tweaks
    - fair scheduler tweaks
    - removed 3 touch boosters code.. why so many? just to raise your clock on every single touch?
    - Maple i/o scheduler
    - lowered "read ahead" of files and inodes.. why would you read something you don't know you'll need?
    - lowered maximum i/o requests for lowering ram usage while writing to SD (internal or external)
    - removed a lot of DEBUG code.. why release a software with debugging code built-in?
    - removed network protocols we would never use
    - removed some compatibility code
    - removed dynamic fsync, why would anyone want to enable fsync in any moment anyway? it has been disabled by default linux kernel for decades!!
    - decreased commit DELAY of file changes from 20s to 5s, which is linux default. there's no advantage in keeping new/modified data on ram for too long

    And common features:
    - Max cpu voltage set to 1.4v
    - Min cpu clock set to 268mhz instead of 300
    - Max cpu clock set to 2995mhz instead of 2457
    - Max gpu clock set to 657mhz
    - Compiled to speed, not size
    - Voltage table for undervolting or overvolting
    - Charging level for AC, USB and Wireless charger can be set
    - LED fading control + brightness
    - zen, noop bfq and sioplus i/o governors


    Overall your phone will be snappier, and less battery hungry

    You can go back to your rom's default kernel by simply installing rom's .zip again. No need to wipe anything ever!

    Telegram Group: https://t.me/tunedkernel

    If your voice on recordings or whatsapp calls is too LOW, try my fix for that: CLICK

    XDA:DevDB Information
    TUNED, a LOS Kernel for S5 - Performance and Battery life together!, ROM for the Samsung Galaxy S5

    Contributors
    fbs
    ROM OS Version: Android 10

    Version Information
    Status: Stable
    Stable Release Date: 2020-10-21

    Created 2019-01-28
    Last Updated 2020-10-23
    53
    Tuned Kernel versions will be attached here, the build date is at the file name.

    com.ktoonsez.KTmonitor.1.apk is a little app that will show to you each cpu core clock and gpu clock. Please hold the red button and put at most 100 at "Update Speed". Don't touch the other options because they're buggy!
    2.5.20-boeffla-config-v2.apk is the Boeffla Config App, where you can setup most of this kernel's options

    klte = SM-G900F, SM-G900M, SM-G900R4, SM-G900R7, SM-G900T, SM-G900V, SM-G900W8, SM-S902L
    klteduos = SM-G900FD, SM-G900MD
    kltedv = SM-G900I, SM-G900P
    kltekor = SM-G900K, SM-G900L, SM-G900S
    kltechn = SM-G9006V


    CLICK ON THE LINK BELOW WITH YOUR MODEL ON ITS NAME (KLTE or KLTEDUOS or KLTEDV or KLTEKDI or KLTEKOR or KLTECHN) TO DOWNLOAD:
    33
    Reserved

    300119
    - possible fix for encrypted devices and f2fs file system (f2fs is buggy on every s5 kernel, don't use this)

    150219
    - more overclocking on cpu and gpu
    - sdfat updated
    - tuned hot plugger enhanced
    - xor and square root algorithms optimized for ARM
    - boot time maybe a little faster with LZ4 compression (that's why kernel seems bigger)
    - removed "read-ahead" code from kernel, don't bother changing read_ahead_kb because it won't work
    - zcache (not zswap/zram) back on for now

    170219
    - 266mhz undervoltable again.
    - f2fs removed for now
    - ext4 read_ahead blks reduced but not eliminated

    200219
    - tweaks to zcache. still don't know if it's better with it on or off..
    - tuned hotplugger will enable a core and put it on maximum freq right away!
    - removed CPUBW_HWMON gpu governor
    - tweaks to uv_oc table

    220219
    - compiling with march=armv7-a mtune=cortex-a15

    070319
    - linux 'fair' scheduler tuning
    - zcache disabled
    - more inlining while compiling

    100319
    - more tuning on linux cpu fair scheduler and tuned governor
    - revised all kernel configs (klte and variants)

    260319
    - smooth screen animations
    - new f2fs version
    - maple scheduler tuned
    - compiled with -funroll-loops but less function inlining

    030419
    - f2fs should be working now
    - new assembly optimizations

    150519
    - boeffla app should work better now when changing cpu hotpluggers and charging voltages
    - some governors are back
    - using "system_freezable_power_efficient_wq" for disk events
    - RoW and Maple schedulers tweaked
    - ext4 tweaks
    - fair scheduler tweaks

    070619
    - GCC 9.1 (2019 compiler and toolchains)
    - Compiling with -fgraphite -fgraphite-identity -fschedule-fusion -ftree-lrs
    - tuned hotplugger with different algorithm

    110619
    - number of online cores are now working on boeffla app
    - boeffla app can raise input charger amperage to 2200
    - minor gpu tweaks

    200719
    - Tuned governor and hotplugger tweaked
    - Saving more battery when suspended
    - Merging sd reads/writes by default

    090819
    - tuned governor tweaked
    - defaulting to row i/o scheduler, even though benchmarks don't like it :p
    - defaulting to "simple_ondemand" gpu governor, tweaked it a lot

    100919
    - back to xz compressed kernel image
    - updates from upstream los16
    - same kernel for los14 or 16. thanx Samuel Pascua
    - some strncpys changed to memcpys
    - tuned governor at 15ms frequency

    221019
    - updates from upstream los16
    - rewrote tuned hotplugger: using even less cpu for itself but enabling cores more often, starting from core 4 instead of 2
    - ZRAM enabled with lz4 compression but swappiness at 60% only
    - made 1497mhz the default high load speed
    - tuned governor at 10ms frequency

    101119
    - zram changed to vnswap but lower swappiness to save battery
    - no more flicker when low brightness (thanks to samuel pascua)
    - file system tweaks

    201119
    - f2fs code stolen from intelli-kernel
    - file system tweaks
    - default vm_swappiness to 25

    170120
    - GCC 9.2.1 MUSL 2019-12
    - boot time reduced even more
    - faster overall performance, lower overall battery drainage
    - KTmonitor should show CPU Temperature now
    - vnswap should work on Pie
    - enforcing selinux after booting
    - removed adreno input booster
    - set sysctl_vfs_cache_pressure to 50 and vm_swappiness to 40
    - ignoring zswap_max_pool_pages

    040220
    - Working on Q (Android 10)
    - AnyKernel update to 3
    - Tuned governor with min_sample_time defaulting to 80ms
    - Charging till your battery gives 4.4v, or explodes
    - UV/OV table matching scaling_frequencies

    20200223
    - Using higher l2-cache frequencies for performance
    - Higher heat "tolerance"
    - Battery voltage/power should now be showing correctly at lockscreen
    - vnswap wasn't working on Pie but now it is

    20200521
    - Changed some timers to let the device sleep more (huge battery gain on stand by)
    - Tuned governor now being more conservative
    - Added back IO Schedulers
    - Led control
    - LOS updates
    - Remove Adreno touch booster
    12
    new version is up
    11
    new version is up.. it works both in los14 or 15 or 16... :)