yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] pascua28:
Hi guys! Intelli-Kernel v11 is up!

Changes:

Fix boot issue caused by null pointer dereference on sound codec driver when compiled with Clang

Replaced zram with vnswap and zswap for more efficient swap implementation (you must install vnswap magisk module to be able to benefit from it)

Cleaned F2FS merge to fix some issues, fstrim should be working now

Compiled with DragonTC Clang LLVM 9.0

Fixed ext4 when compiled with Clang

Fix section mismath on gpio when compiled with -Os on Clang

Download VNSwap magisk module (for v11+) here
[Samsung Galaxy S 5 Unified Development] godofsalt:
Have seen that you're still making THIS Kernel better!!

Awesome!

Keep it going. Seems that this is truly the best I have seen on a long time!

I Thank You Sir!
[Samsung Galaxy S 5 Unified Development] vlad3647:
Thanks s!! Working charming
[Samsung Galaxy S 5 Unified Development] pmduper:
Thank you so much for your continued hard work mate.

In your OP your mentioned this kernel is good for android 7.2.1 and above. Curious if it is meant to be 7.1.2?
[Samsung Galaxy S 5 Unified Development] pascua28:
Oops. Just a typo in there. It's meant to be Android 7.1.2 and above
[Samsung Galaxy S 5 Unified Development] kissmiasma95:
Is Boeffla sound control no longer being supported?
[Samsung Galaxy S 5 Unified Development] pascua28:
I just forgot to add that, but will be re-added on next build
[Samsung Galaxy S 5 Unified Development] kissmiasma95:
I noticed the two other alternative hotplugs are missing as well. Are those going to be re added as well?
[Samsung Galaxy S 5 Unified Development] pascua28:
Not sure. There are no noticeable improvements, imo
[Samsung Galaxy S 5 Unified Development] renzofronte:
Hello!!!

sorry for my bad English

I want to improve the life of my battery. What configuration do you recommend?

I currently have the following configuration

frequency:

min 268

max 1574

governor yankactive

undervolting -60mv

SIO I / O Planner
[Samsung Galaxy S 5 Unified Development] pascua28:
Your configuration seems OK for me. You might also try disabling mpdecision, and set 2 cores offline. That way, only 2 cores are active all the time. Or you can just set 1 core offline. It's up to you
[Samsung Galaxy S 5 Unified Development] renzofronte:
Thank you!!

and how can I make that configuration? I am using Kernel Adiutor. I'm a little noob
[Samsung Galaxy S 5 Unified Development] pascua28:
Open kernel adiutor, go to CPU Hotplug section and disable mpdecision there. Next, go to CPU section, and you can toggle Core 4 on/off. You can also turn off core 3 if you want
[Samsung Galaxy S 5 Unified Development] Clydeza:
Is the Telegram group dead
[Samsung Galaxy S 5 Unified Development] Drhedphuk:
This is not a rom, it is a kernel.

---------- Post added at 01:10 PM ---------- Previous post was at 01:09 PM ----------

No, still alive & kicking.
[Samsung Galaxy S 5 Unified Development] Clydeza:
The link seems to be dead

Can you please add me.

This kernel is just simply amazing.

Thanks
[Samsung Galaxy S 5 Unified Development] Drhedphuk:
Here is the link.

https://t.me/intellikernel
[Samsung Galaxy S 5 Unified Development] pascua28:
Hi guys! Intelli-Kernel v12 is up!

Changes:

Updated F2FS to Linux 4.12

Backport block device to fix fstrim for F2FS

Some scheduler optimizations

Re-added Boeffla sound

Added mako and lazyplug hotplug

Reverted back to old battery drivers

Applied highly efficient interactive governor profile (thanks [MENTION=5188092]justjr[/MENTION])

Added a startup script (no need for VNSwap Magisk module)
[Samsung Galaxy S 5 Unified Development] moninchow:
Just wanted to thank you for all your work. I've tried several kernels on my S902L and this one is by far the best. Keep up the good work!
[Samsung Galaxy S 5 Unified Development] renzofronte:
hotplugs mako and lazyplug not working fine
[Samsung Galaxy S 5 Unified Development] Mikejefferson:
Will it work on kltekor?
[Samsung Galaxy S 5 Unified Development] mingi20613:
Nope
[Samsung Galaxy S 5 Unified Development] Tombab:
So I flashed this kernel to my S5 klte using twrp, everything seemed to pass fine but I was just wondering if there's way to check that kernel is installed? Also are default settings OK if I want best performance/battery balance compared to stock LOS 16 kernel or do I have to install kernel auditor to change settings? I don't have root so it would be a bit tricky.
[Samsung Galaxy S 5 Unified Development] Drhedphuk:
Go to settings > about phone > Android version and check kernel.

Or you could install Smartpack kernel manager and check device information.
[Samsung Galaxy S 5 Unified Development] pascua28:
Default settings works best. You can just install magisk using twrp to root your phone. As for kernel version, see the above post, if you see my username on kernel version, that means it is installed (you don't have to do this if you flashed the kernel using twrp successfully)
[Samsung Galaxy S 5 Unified Development] Tombab:
Kernel version

3.4.113-lineageos

#1 Wed Oct 9 17:59:34 +08 2919

Can't see your username there but I suppose it is installed because average screen on time in Gsam battery monitor started to slowly rise after couple of recharges. Hoping to reach 5hr SOT lol (currently 4h40m).
[Samsung Galaxy S 5 Unified Development] Tombab:
Impressive kernel! Average screen-on-time just keeps going up, currently at 67% battery and 2h30m SOT so by these raw numbers full charge should give me at least 5 hours of SOT instead of previous 4h30m and I see no decrease in performance.
[Samsung Galaxy S 5 Unified Development] mkgrage:
Hi, can i use this kernel on kltekdi/scl23 device? Or what should i do if i will use this kernel on my kltekdi? Thabk you
[Samsung Galaxy S 5 Unified Development] pascua28:
Hi guys! Intelli-Kernel v13 is up!

Changes:

Added support for klteactive, kltechn, klteduos, kltedv, kltekdi and kltekor

Flicker-free smart dimming

Scheduler optimizations

Added CPUQuiet

Added 600MHz GPU clock

Fixed GPU governor simple_ondemand

Removed mako hotplug and lazyplug

Updated PM/QoS code to Linux 3.10

Updated sched clock to use 64 bit
[Samsung Galaxy S 5 Unified Development] LightC:
Thanks for your hard work on this. Is CpuQuiet suppose to force cores offline during idle scenarios? It doesn't seem to be doing that for me. Edit: changing the cpuquiet governor to rqbalance seems to do the trick... I see cores going offline and online as I type this. Great work!

Do you have a recommended config for kernel auditor to save battery?

Is there a way to turn off all but one core on screen off? I guess it can be done with tasker

Edit : With cpuquiet, would it be a good idea to enable multicore power saving?
[Samsung Galaxy S 5 Unified Development] pascua28:
Hello, yes, cpuquiet is a hotplug driver, cpuquiet is disabled by default, you can change the governor to rqbalance. Setting governor to userspace disables it. Mpdecision is still the default hotplug

Use "SetCPU Free" from Play Store and set the maximum frequency to 1.7GHz. Don't use smartpack/kernel adiutor if you want to change the CPU governor/min/max, you won't be able to use mpdecision, but if you disabled mpdecision and enabled cpuquiet, then you can use kernel adiutor/smartpack manager for changing cpu settings
[Samsung Galaxy S 5 Unified Development] kanone64:
Heyy

Where are the Advantages for cpuquiet over mpdecision or why should someone use this over mpdecision etc ?

i really like to optimize every little Thing :)

greets
[Samsung Galaxy S 5 Unified Development] mingi20613:
In both this kernel and tuned kernel, wifi doesn't work.

I'm using a kltekor device with los 14.
[Samsung Galaxy S 5 Unified Development] kanone64:
cant confirm that. I've tried both you said and both without any Issues on Wifi or other Modules
[Samsung Galaxy S 5 Unified Development] LightC:
Do you ever undervolt too? Is the battery savings not material enough to be worth it?

Does turning on multicore power saving work well with cpuquiet?

I'm thinking of limiting the cpu even further when the screen is off. I experimented with changing the cpuquiet max cpu cores to 1 while the screen is off but it doesn't seem to accept 1 as a value.
[Samsung Galaxy S 5 Unified Development] pascua28:
Hello, I think the only advantage it has is, it is more biased towards performance. Mpdecision in my kernel has been well optimized for battery life. If you want even more battery life, disable mpdecision and cpuquiet and use zzmoove, then enable its native hotplug (you can find it in CPU governor tunables in kernel adiutoe/smartpack manager). Even more, you can set the max frequency to 1.7GHz or even 1.497GHz.

Yes, I undervolt too. Technically, it reduces power consumption because we're reducing some voltage supply (Power=voltage x frequency squared). Temperature is also reduced as a result of undervolting. Unfortunately, since thermal throttling is reduced, it is more likely that the cpu may scale towards higher frequencies. So yes, undervolting offers battery savings, just not that much.

Turning on multicore power savings will work well with cpuquiet and doesn't interfere with any hotplugs. It just tells the scheduler to use core #1 as much as possible
[Samsung Galaxy S 5 Unified Development] LightC:
How do you disable mpdecision in smartpack manager? Is it just deselecting the interactive governor and choosing zzmove?

For zzmove, there seems to be a ton of tunable variables. Is there a good default configuration to use to efficiently use the native hotplug?
[Samsung Galaxy S 5 Unified Development] pascua28:
Just change the profile number. See the attached screenshot
[Samsung Galaxy S 5 Unified Development] pascua28:
Disable it in CPU Hotplug section. For zzmoove, you can just change the profile number, see the attached screenshot
[Samsung Galaxy S 5 Unified Development] pascua28:
Disable mpdecision from CPU Hotplug section. For zzmoove, just change the profile number, see screen shot below
[Samsung Galaxy S 5 Unified Development] LightC:
Weird, I don't see the CPU Hotplug section in either kernel auditor or smartpack kernel manager.

See screenshots attached.

I'm running the optimized lineageOMS 14.1 ROM on a KLTE device. Could that be the reason why I don't see the hotplug section?
[Samsung Galaxy S 5 Unified Development] pascua28:
If you've installed tuned kernel before, it will remove mpdecision. You can dirty flash your ROM and it will be restored
[Samsung Galaxy S 5 Unified Development] LightC:
Weird, I just dirty flashed the rom, magisk, and intellikernel but still do not see the hotplug section in smartpack manager

I guess I'll stick with cpuquiet for now as I do see it working (cores going online and offline) when I enable it even though I'm unable to disable mpdecision in the non-existent hotplug menu
[Samsung Galaxy S 5 Unified Development] LightC:
Is it possible that the Optimized LineageOMS rom includes a kernel similar to tuned kernel that is removing the hotplug section?

The reason I ask is because I noticed that after a while with CPUquiet enabled, core 4 turns off completely and no longer gets used. I think this might have something to do with not disabling mpdecision. Any thoughts?
[Samsung Galaxy S 5 Unified Development] pascua28:
Maybe LineageOMS doesn't have mpdecision included? If that's so, I can set it to fallback to CPUQuiet if mpdecision is not found, although CPUQuiet is not as battery efficient as mpdecision. I'll add another options
[Samsung Galaxy S 5 Unified Development] jprimero15:
How about adding mpdecision on zip and make a conditional on anykernel.sh.. If found then skip if not then get the one from zip and add it to the system
[Samsung Galaxy S 5 Unified Development] jprimero15:
Dell
[Samsung Galaxy S 5 Unified Development] mkdante381:
I'm tested 13 version and readahead for internal and external is set too high in default.!!

Internal 1024 and 2048 external. Boot animation is lagged, all is slow and unresponsive. Pls set to 128 to internal and external in kernel.
[Samsung Galaxy S 5 Unified Development] LokifiedMee:
You can do that yourself............
[Samsung Galaxy S 5 Unified Development] Tombab:
Booting and unlock screen was a bit choppy for me also but after that everything seem to be fine and snappy.
[Samsung Galaxy S 5 Unified Development] godofsalt:
[MENTION=7427799]pascua28[/MENTION] Sorry that I am the First...but... here goes....

Your last Kernel v13 per Devise (klte, ktledv, etc.) has issues! KTLEDV version crashes me phone! Honestly, I am not sure why at this point. I did a clean install of Los 16 latest. Did add in small open Gapps-micro. It seems to Boot, after coming out of recovery . Has massive lag-meaning that trying to use the PIN to open the Phone, takes a bit of time. More so, if you try to do anything once opened. Shortly, after that , Bam, phone crashes, and reboots. On second reboot, it will be stuck on the Galaxy S5 Android Screen ( top has yellow line about Kernel), will be stuck there for some time, before it will actually boot. From this point, it will take even longer each time (3rd or 4th reboot) Never will be able to actual boot the phone.

Yes, I did re-downloaded Version 13, 3 times now, and Yes, I always check with GtkHash, so I know that the file is "OK" ....

Now Don't get me wrong here! I have been using your Intelli Kernel for some time now. First time I have had any issue at all!!! Like it over some of the other newer, Kernels for your beloved S5's.... At present, phone is all updated, but need a much batter Kernel than Los-Stock!!!

I am only wondering, Why the change? (meaning- from a Unified Kernel, to a devise specific Kernel? ) just asking! I have the KTLEDV (sm-g900p Galaxy S5 and am actually with Virgin Mobile which is Sprint) wondering if the Devise Specific stuff got messed up some how...

At present, I just rolled back to your Version 12. I know it works!
[Samsung Galaxy S 5 Unified Development] pascua28:
Hello sorry for your troubles. I've also had troubles when installing gapps along with the rom as setup wizard crashes. My procedure is, install the rom, let it boot, and then go to recovery, install gapps, let it boot, go to recovery again, install magisk, custom kernel and other add-ons. Let me know if this works. If not, then I'll look at how I implemented device specific changes. The unified kernel is only for multi rom support and is not universal to all klte variants.

Regards
[Samsung Galaxy S 5 Unified Development] godofsalt:
Hello, and Thank you for your reply! I will look into this, today. Only other info is, I was able to do a system "upgrade" on Los, later yesterday. Could be a Rom issue. Because prior to the upgrade, the build 20Nov crashed many times with a kernel upgrade. Even other decent Kernels, the dam system would crash.

Was really pulling me hair out. Never had a problem like this before on LineageOS!

Am running "Stock" with all my apps. Have already made a Recovery Backup. So, will be trying out your's frist. Hopefully I can get a darn Kernel to stick..... Was running 7.1 Los for several months without issues, just wanted to go back to Pie, seeming how they all had made some major advacnesments in the last month or so.

So, most likely the problems are not from any work that you have done! Which is rather darn good work BTW!!!!
[Samsung Galaxy S 5 Unified Development] mkdante381:
Srsly? Readahead is too high dude. On start phone lagged and is unresponsive. Boot animation lag, all is slow. This high readahead destroy my Google play services and I'm must back to boeffla kernel
[Samsung Galaxy S 5 Unified Development] pascua28:
Read ahead values are optimal. Why do you think it causes problems? The boot animation lags, but after the rom is fully loaded, every will go back to normal
[Samsung Galaxy S 5 Unified Development] mkdante381:
Thx for this kernel and your hard work.

For internal and external good value is 128 and lower. Look on tuned kernel boeffla. In this kernel is 32!! High Readahead not give big speed in copy or read internal/external memory. I'm tested stock read ahead (Internal 512/External 128) from RR Pie and sometimes phone completely freeze and is unresponsive.

Questions:

1.Your values Read Ahead are dangerous for internal and external memory? I'am aware for this.

2.Fstrim work for f2fs?
[Samsung Galaxy S 5 Unified Development] pascua28:
Hello, 1024 read ahead is recommended for better performance.

1. No, it's not dangerous for internal and external memory. You can even set it as high as 8000.

2. Yes, fstrim works perfectly
[Samsung Galaxy S 5 Unified Development] mkdante381:
Thx for reply.

Question:

1. In tuned kernel boeffla is f2fs from intelli kernel, but fstrim not work for f2fs partition. Is planned repair this/implement f2fs from newer Linux?
[Samsung Galaxy S 5 Unified Development] pascua28:
Tuned kernel only has f2fs backported from higher Linux versions while this kernel also has some block and file system functions backported from higher Linux versions to ensure f2fs functions properly
[Samsung Galaxy S 5 Unified Development] mkdante381:
I'm tested tuned kernel 191119 and fstrim not work for f2fs partitions. This is repaired in newer versions, like 221119?
[Samsung Galaxy S 5 Unified Development] pascua28:
I don't know. Why not just test it?
[Samsung Galaxy S 5 Unified Development] kanone64:
Does anybody else have something like this :

On my klte i've got ~ 2/3 of the Screen flickering with maybe green or yellow Stripes. This happened always when i DT2S after changing the Screen to Black (Sleep) and also when restarting the Phone .... Screen goes Black with these weird Stripes and then Booting.

I tried v12 and v13 after thinking about the 600Mhz gpu clock could be too much? but it seems not to cause these Stripes. I dont know if its something i should care about or maybe not? but without Intellikernel its doenst do that. Running HavocOS@9.x Pie on klte

best regards
[Samsung Galaxy S 5 Unified Development] mr1994:
Thanks for this great karnel ; i have probleme with screen somtime brightness Suddenly rise; any one can confirme ?
[Samsung Galaxy S 5 Unified Development] YoStu:
Hmmm yes now that you mentioned it. On certain web pages brightness seem to fluctuate but I thought it was because of some kind of Lux app glitching even if I have set it to adjust brightness on wakeup only.
[Samsung Galaxy S 5 Unified Development] Tombab:
Also I'm not sure if it's because of kernel but sometimes alarm clock isn't working on time. I have set alarm to 6:30am and it may activate several minutes past that time. One morning I woke up to alarm at 6:39am and I was suspicious if I had slept so deeply that I didn't wake up earlier. But one morning I woke up early and waited for alarm, it activated 6:35am. Seems random and sometimes alarm goes off right time and sometimes it's delayed. Sleepy phone? LOL
[Samsung Galaxy S 5 Unified Development] mingi20613:
[MENTION=516058]fbs[/MENTION] will update kernel about this los14 kltekor wlan issue tomorrow (screenshot).

Can you update this kernel about this fix too? i want to test this kernel in los14 too.
[Samsung Galaxy S 5 Unified Development] pascua28:
Hi guys! Intelli-Kernel V14 is up!

Changes:

Added Android 10 support

Updated flashing method to AnyKernel3

Disabled Selinux audit

Disabled seccomp

Set HZ=300

Implemented kernel-side script execution

Compiled with Linaro GCC + O3

Improved V4l2 performance

Improved selinux performance for small context buffers

Globally use power efficient work queues

GCC 7 code fixes

Improved binder locking performance a bit

Disabled Settings and Shareit from running in the background

Increased vmstat interval

Security updates
[Samsung Galaxy S 5 Unified Development] vlad3647:
Hi

Its the new update onli for android 10?

Bcz I installed on 7.1 & when open de camera the phone restart thanks for the hard work
[Samsung Galaxy S 5 Unified Development] Drhedphuk:
Flashed V14 on crDroid 10 and stuck in bootloop, reflashed ROM & constant Bootloop.
[Samsung Galaxy S 5 Unified Development] guest4711:
So clear system, dalvik & cache before flashing the ROM.
[Samsung Galaxy S 5 Unified Development] Drhedphuk:
I did & Formatted.
[Samsung Galaxy S 5 Unified Development] Tombab:
Same here, S5 (klte) & LineageOS 16 & Magisk v20.3. Bummer.

Edit: Hmmm, removed battery and after powering on it seemed to boot OK. But Wifi doesn't work (stays disabled).

Edit2: Also, camera causes freeze and reboot with bootloop (removing battery helps). Rebooting to recovery also causes bootloop. I guess it's back to v13.

Edit3: Manually booted to recovery and flashed v13, all good again.
[Samsung Galaxy S 5 Unified Development] KREED-MG:
Have tested the kernel version 14 with the Rom ViperOS 6.7 Android 9, and the S5 (klte)always starts 2 times and when the Rom is loaded, I noticed that Wi-Fi doesn't work at all. Wi-Fi can no longer be switched on.

Gesendet von meinem Samsung Galaxy S5 (ViperOS, Android 9) mit Tapatalk
[Samsung Galaxy S 5 Unified Development] michLQ:
same here
[Samsung Galaxy S 5 Unified Development] pascua28:
Hi guys! Intelli-Kernel v14b1 and eTweaks v1.0 (app) are online!

Changes:

Toggleable smart dimming (disabled by default, can be configured using eTweaks)

AnyKernel3 fixes

Implemented boot boost

Intelliactive governor is the default now

Default maximum CPU frequency is set to 2.2GHz

sched: fixed high throttling

Removed 268MHz clock

Added Mako hotplug

Disabled CONFIG_EXTCON to fix earphone jack

SELinux status can be permissive/enforcing depending on the cmdline from Android's ramdisk (if the ROM comes as permissive, then it will stay permissive)

Removed dual wave driver as it seems unneeded by AOSP (Bluetooth audio still works, just give me some feedbacks if it doesn't)

Set HZ=100

Removed excessive logging from binder driver

Disabled AUDIT

Increased vmstat interval to reduce overhead

eTweaks:

Added smart dimming toggle

Fixed CPUFreq to unbreak mpdecision functionality when changing CPU governor/min freq/max freq

Download eTweaks here
[Samsung Galaxy S 5 Unified Development] mr1994:
Thanks for this Kernel but after flashing selinux disabled and cpu governor still interactive
[Samsung Galaxy S 5 Unified Development] pascua28:
Hi guys! Intelli-Kernel v15 is up!

Changes:

Used magiskinit for better script reliability

2.6GHz boot boost

Set 2.2GHz max cpufreq for real

Set intelliactive as default governor for real

Revert scheduler changes
[Samsung Galaxy S 5 Unified Development] mkgrage:
Do you have a plan for kltekdi latest build? thanks for your hard work
[Samsung Galaxy S 5 Unified Development] Henki98:
How is dt2w activated?
[Samsung Galaxy S 5 Unified Development] Tombab:
After using stock LineageOS 16 for a while again on my klte (was too lazy to reflash intelli-kernel after LOS update) I was pleasantly surprised to notice much snappier functions and better battery life using intelli-kernel v15. And no bootloops either like with previous version. There's just this warning about Selinux not enforcing and I can't remember if I had that before. Maybe I just disabled that notification and forgot. But I suppose it's not dangerous.
[Samsung Galaxy S 5 Unified Development] Tombab:
Now I must report weird behaviour regarding this kernel; sometimes I'm unable to access settings (meaning sliding down the menu and touching cogwheel icon) and all I get is black screen. Pushing home button brings me back to home screen and everything else works. At some point settings begin to work again. Also couple of times everything has slowed down as if CPU is stuck at lower frequency or something and rebooting has fixed it.
[Samsung Galaxy S 5 Unified Development] Noob9496:
Sometimes i have reboot when screen is off and sometimes touch button don't work. Reboot resolve problem.
[Samsung Galaxy S 5 Unified Development] pascua28:
Post /proc/last_kmsg
[Samsung Galaxy S 5 Unified Development] Vini69:
Do yo plan to build the kernel for other variants, I am on klteduos, thanks.
[Samsung Galaxy S 5 Unified Development] DevilEyes212:
you know he already support klteduos right?

He support many build, go check androidfilehost or his Telegram group.
[Samsung Galaxy S 5 Unified Development] Vini69:
I know, and that's why I am asking, since androidfilehost only has Intelli-Kernel-v14b1-klteduos.zip while pascua28 announced Intelli-Kernel v15 12 days ago...