yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] justjr:
Just one thing to note for whom use this settings. After you applied it, and after every reboot, go to thermal settings on the manager, and turn intellithermal on, core and vdd on, after that, turn intellithermal off, and only core control on again, so that only core control stays on. Otherwise vdd keeps wanting to join the party, as already reported, just as a reminder to people who want to apply the profile, cause vdd + core together will give slow downs, mainly when CPU is hot. I think it's a thing everybody using smartkernel should try, and see if get difference, mainly after cpu is hot...

I should clean the profile of irrelevant commands, and leave only what I think matter at some time in the future.

edit: here, attached, I edited the profile [MENTION=7060205]sunilpaulmathew[/MENTION] made out of the settings, cleaned off of what I think is irrelevant or can be tweaked by the user, and put it all in a sequence so is easier to read, out of my OCD. I think is better to have no underclock at all, cause there are 15 types of voltage settings for our device out there, and every one have different thresholds of where it can go on lower undervoltages, or higher overclocks. Whoever wants to undervolt lower with safety without having to test 5 by 5 mv, read here: https://xdaforums.com/htc-one-m8/general/guide-snapdragon-801-clocking-voltage-t2807173

Use the profile with the instructions sunilpaul posted above, try scrolling all kinds of stuff, playing games, and stuff... To test battery, have a saved battery history from before using the settings, and compare to one made after, with Better Battery Stats.

edit2: i tried to make the script turn thermal engines on then off again so it stay only core control on right after it's applied.

To go back to default, I just remove every line on the On Boot tab, then reboot. Not the best way, but works.

edit3: also uploaded 2 json profiles to import into the manager, one with interactive+4 core min alucard hotplug only settings, another with only alucard 2 core min settings, which I' testing right now. It seems to stabilize at 268 MHz when idle with 2 cores here. Just don't know if it's worthy to keep turning the cores on.
[Samsung Galaxy S 5 Unified Development] zihar:
Amazing the 4 core min profile work perfect i ll try to undervolt. Good job Justjr and thanks to smartpack kernel developer for enable the profile import on the app
[Samsung Galaxy S 5 Unified Development] justjr:
I made a more battery friendly profile as well. Check to see if is too much laggy for you, it doesn't look like it is for me here.

What it does looks like, is that last nightly of lineage is much better, battery-wise and performance-wise, it seems some process must be using way less cpu time, so, we must change the tweaks to reflect it.

This profile attached stays much more at idle freq, and go way less to the top frequencies, still my device don't feel laggy, on clash royale only the cards and shop menu kinda laggy, but even so is a lot less then before with same tunables, but none in game. So... never stop tweaking.
[Samsung Galaxy S 5 Unified Development] zihar:
i ll test it for a day ;3 ty for the hard work
[Samsung Galaxy S 5 Unified Development] justjr:
[MENTION=7060205]sunilpaulmathew[/MENTION] dude, check out the logs I attached that I took while using your kernel with latest Mokee 8.1 rom.

Looks like MPDecision and Thermal engine are really struggling, MPDecision handles anything else then hotplugging? Thermal engine works independent of it right?

So, can't we totally get rid of mpdecision trying to hotplug while it's not the hotplug I choose? If it's causing slowdowns, overheads and stuff, interferes with tweaking.

Also, I'm having doubts if thermal engine is kicking in, I think it is, but the phone gets so hot! I imagine it is normal for KLTE, it's just I'm used to phones that was under 2GHz, and never got that much hot.

Thank you for take your time with our device kind dev!

[MENTION=7480164]zihar[/MENTION] what you think? A little laggy, yeah? I tweaked a little more, I'm not feeling lags now, and high load games/apps are lagging but a lot less, I'm trying to make it lag less possible while not maintaining very high loads. I'm always testing with Hearthstone (which is very heavy) and Clash Royale, I test scrolling on the apps on app picker (pressing the square), on xda and play store, and wait some seconds to check if lags when it goes up from idle, using KTmonitor to check at which clock it was hanging when it lagged, so I know what to change in the governor.

Try the attached profile!! :)
[Samsung Galaxy S 5 Unified Development] zihar:
omg xD the last one porfile before this work like a charm! he give me more SoT (2hrs from 100 to 25%) adn i dont feel lag on clash royale (i swth to LOS oficial from Havoc rom) now i will test the last profile. thanks for the research bro! you are doing a nice work. and sorry for my really bad english xD
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
[MENTION=5188092]justjr[/MENTION]

I removed intelli thermal and planning to publish a new kernel soon which also has default settings based on one of your old profile. Lets see how it deal with the thermal related issues.

Regarding the mpdecision, I'm basically handicapped as it is not open-sourced (in-fact not even a part of the kernel, rather integrated with the system). The only thing I can do is to remove some lines from init.qcom.rc to disable it.
[Samsung Galaxy S 5 Unified Development] zihar:
The last profile from justr can be use as default it have a perfecto balance berween perfomance and batery friendly
[Samsung Galaxy S 5 Unified Development] jprimero15:
Or u can just remove

/system/vendor/bin/mpdesicion
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
I'll look for it later... Thanks...

I know, but why should we do that if we have a more convenient way (at least for our device) to disable it without removing it permanently.
[Samsung Galaxy S 5 Unified Development] LokifiedMee:
That's true
[Samsung Galaxy S 5 Unified Development] justjr:
Nice man. What I/O settings are you running? Changed anything else? It was only kinda laggy on the cards and shop screen of Clash Royale, in game is perfect. But on Hearthstone, it was laggy, needed to tweak the target load for high loads, the latest profile seems to be better up there but still the same bellow 1900MHz or so.

I was running Mokee yesterday, today tried a Dirty Unicorns build from IKGapirov today, it was fine, but some things not working, I reported back then tried the Bootleggers 3.0. Let me tell ya son... I used to like DU, but this BL is the best ROM I tried.

Nice! I think Core Control is working OK, I imagine the log warnings about the temperature are normal, but Isn't detrimental in the case of QCom trying to change frequency and warning on log it is incapable of capturing the wakelock? Which brings me too...

If it stop it from trying to change things, which may be hogging the system, isn't it better to just remove it?

What else it is so vital for to keep it? If there's nothing holding back, can we try and see if we catch a difference and stop warning the log? I'm sure I can see if it's causing less clock usage, just lowering tunables and seeing the system reaction.

Thank you for the time you take to develop this for us!
[Samsung Galaxy S 5 Unified Development] zihar:
With BL do you mean bootlegers? And about the kernel setting i keep the settings with the last profile from you i dont change nothing... Btw i only play CR, look for ig and chat in whatsapp with my phone xD and with this setting all of those things work perfectly jajajaj i am still having 5% of battery(2:55 of SoT i only get this on tw based roms is a record in all my time using AOSP based includding Nougat Roms)...

Note:

and about full remove MPdecision... tuned kernel full remove this thing and i dont feel the difference with or without it
[Samsung Galaxy S 5 Unified Development] justjr:
[MENTION=7060205]sunilpaulmathew[/MENTION] I've sent you a new log with some different warnings about MP Decision going crazy...

lots of "MP-Decision: Error(-19) changing core x status to offline" lines

I only really paranoid about it because sometimes my system gets hogged while I'm tweaking and it leads me to tweak all wrong, and I can't really pinpoint what it is, maybe you see it on the log..? I can't really read it.

Aparently this time, on bootleggers rom, after I installed the smartkernel, the MP Decision switch was there on the SmartPack Kernel HOtplugs configurations to turn on/off. It seems the error of changing status happened when both MPDecision and Alucard are on, I'm confused, MP Decision wasn't there on my earlier installations.

Yeah Bootleggers! Really cool, only thing is that apparently I can't turn navbar buttons led on! LOL.
[Samsung Galaxy S 5 Unified Development] zihar:
Downloading xD i ll test it
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
SmartPack-Kernel stable-v22

​

Hi friends,

A new version of SmartPack-Kernel (stable-v22) for Oreo ROMs are now available.

Changes:

1. Removed Intelli thermal (finally).

2. Largely updated SmartPack boot script on the basis of the profile provided by [MENTION=5188092]justjr[/MENTION] (huge thanks to him) so that the kernel will run much better without any tuning. Also, please be noted that a moderate (~50) undervolting has been applied by default. Please keep that in mind if you think about Undervolting or Overclocking. Further, it is highly advisable to reset current Kernel Manager settings to avoid conflicts (an option to reset setting can be available in Smartpack-Kernel Manager)​

As usual, the download links for all the supported variants along with change-logs can be found below. Alternately, you can Auto-flash the latest build for your device from SmartPack-Kernel Manager within a few clicks (more convenient). Enjoy...

https://sunilpaulmathew.github.io/sgs5/

Edit:

I forgot to provide the details of the new default settings. Here you can have a look, if interested. Your suggestions are still welcomed.
[Samsung Galaxy S 5 Unified Development] fubo73:
[MENTION=5188092]justjr[/MENTION]

I was with 0510 profile for a couple of day. It was quite good, but still I noticed some lags, mainly when unlocking. But battery was very good (~40% at the end of a day).

I am now with 0710 profile. Lags seems gone. Apps opens very fast compared to previous. Thanks for your experimenting!!!
[Samsung Galaxy S 5 Unified Development] Drhedphuk:
Hi, thank you very much for the profile. Would you be kind enough to explain how to import it into Smartpack kernel manager please. When I try to import it says to select a file with .json extension.
[Samsung Galaxy S 5 Unified Development] fubo73:
Files from justjr are in zip format. I can't say why but I cannot extract them using Solid Explorer, so I extract them on PC. The zip contains the json. Remember to avoid space characters in names otherwise SPkM cannot find it.
[Samsung Galaxy S 5 Unified Development] Drhedphuk:
Thank you very much. ?
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
See the attached picture, which will tell you how MPDecision is turned On (and probably behind the errors in the log).

So, all the users using the latest profile by [MENTION=5188092]justjr[/MENTION], please make sure that MPDecision is turned off to avoid issues
[Samsung Galaxy S 5 Unified Development] justjr:
Nice man! Thanks for testing, I need a battery like that, mine can't stand 3 hours.

It still have room for improvement.

Isn't that the code to activate mpdecision?

That's the one to deactivate:

The last kernel is awesome, after taking thermal engine off VDD stopped wanting to be active after every reboot, no need to worry about that anymore!

ps.: when I first booted, core3 only was on performance governor, make sure to apply governors again and it will be saved on the manager

[MENTION=7060205]sunilpaulmathew[/MENTION] on manager, wakelocks and misc on/off toggle seems to be connected, I turn one on or off, the other turns with it.

When we try to edit a profile, the apps says 'nice try'? haha

Yeah, every reboot is applying performance governor only on core 3, you have to go on manager and apply governor again so all cores have it. I tried clearing manager data and rebooting to see. The only new settings you put on default that I see is the hoptplug, right? Any other is not being applied. And I think MP Decision wasn't disabled too.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Simply remove the entire line, and MPD should be disappeared after a reboot because of my kernel installation script.

I know about it, really funny. It came from the base app, Kernel Auditor. I really don't know why the developer of Kernel Auditor added such an option. In my opinion, json files should be edited only in PC (with the help of something like https://jsoneditoronline.org).

"Performance" is the fallback governer, and will be applied automatically if your applied governor somehow messed up. So, make sure that you haven't made any mistakes related to gov settings. Also, please send me your latest profile, so that I can check it thoroughly.
[Samsung Galaxy S 5 Unified Development] justjr:
Actually, it boots like this here. I know because the bootleggers rom have an option in developers options that you enable a cpu monitor, that shows clock and governor of all 4 cores, and only core number 3 is at performance on boot. That's before manager applies any profile, after that, manager applies the profile and it stays like I configured.

I do keep the line that disable mpd on my profile cause I wanna make sure.

I'll send the profile I'm experimenting. And it is lightning fast, congrats on the new release.

Enviado de meu SM-G900M usando o Tapatalk
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Okay, I'll wait for you to upload a new profile. Anyway, I'm planning to upload one more kernel (both SmartPack & Boeffla) because of some last minute kernel changes in the LOS repo.
[Samsung Galaxy S 5 Unified Development] justjr:
Here it go. It's almost the same, but should be more battery friendly and feel the same speed. The kernel itself is feeling much faster anyway since the latest version.

To me here is feeling almost like boeffla but without mpdecision, the clock go up only when needed and go right back down when it's done with it's job.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
SmartPack-Kernel stable-v23

​

Hi friends,

One more update of SmartPack-Kernel (stable-v23) for Oreo ROMs are now available.

Changes:

1. SmartPack boot script: Merged updates provided by justjr@xda-developers.com.

2. Up-to-date with Linage-OS source code.​

As usual, the download links for all the supported variants along with change-logs can be found below. Alternately, you can Auto-flash the latest build for your device from SmartPack-Kernel Manager within a few clicks (more convenient). Enjoy...

https://sunilpaulmathew.github.io/sgs5/
[Samsung Galaxy S 5 Unified Development] openxbmc:
Dear developer,

please considering add kltechn support.

Thanks a lot.:good:
[Samsung Galaxy S 5 Unified Development] fubo73:
Hi, does this means that we do not need to apply latest justjr profile? Or what?
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Extremely sorry, I'm already struggling to find time to maintain my Kernels.

Yes, it is almost the same as that of justjr's latest profile except for some minor changes here and there. I hope you guys already feel it. By the way, as he said in his last post, please apply Interactive Govorner once again (although CPU tab already shows Interactive) to get rid of "Performance" gov from the core 2.
[Samsung Galaxy S 5 Unified Development] openxbmc:
OK，Thanks for reply.

BTW,klte and kltechn have almost same hardware but use different kernel that I feel confused.
[Samsung Galaxy S 5 Unified Development] Quimicax:
this version is much more fluid than the previous ones you almost do not notice the lag :good::good:

Thanks [MENTION=7060205]sunilpaulmathew[/MENTION] and [MENTION=5188092]justjr[/MENTION]
[Samsung Galaxy S 5 Unified Development] justjr:
Yeah, I'm trying to eliminate lag, but is a matter of loose here to gain there, I'm trying to strive no lags in any activity with the best battery life possible together, it's hard, maybe it can't be perfect, but what should really be noticable is better power efficiency, battery should drain slower much slower with minimal lag still.

Mainly compared to any kernel with mpdecision enabled.

Enviado de meu SM-G900M usando o Tapatalk
[Samsung Galaxy S 5 Unified Development] fubo73:
Hi all,

here I have an issue started with LOS 20181002 and kernel v21 with justjr profiles (so I can't say if it's a kernel or LOS issue).

When I receive a call, at the end of the call the internal speaker of my S5 starts to emit a continuous hiss. This is not constant, its tone changes depending on what I do with phone. I tried disabling AudioFX from LOS. I have Speaker Driver Leakage and Boeffla Sound on in kernel options.

Do you have any suggestion?
[Samsung Galaxy S 5 Unified Development] justjr:
I also had this happened when I enable the options you cited (leakage). Disable it and if is not gone restart. Never happened again here. Thanks to Odin, cause that scared me.

Enviado de meu SM-G900M usando o Tapatalk
[Samsung Galaxy S 5 Unified Development] fubo73:
I tried disabling it, but at next boot, although onboot was disabled, I found the leakage option still enabled. Now I disabled it again, but I guess why it did not stay off...
[Samsung Galaxy S 5 Unified Development] j1gga84:
[MENTION=7060205]sunilpaulmathew[/MENTION]

Hello my friend,

do you plan to work again on your N kernel because I saw some recent modifications for your O kernel :good:

were there some more kernel changes in the last time because unofficial builds for LOS 14.1 will continue for some more time I guess.

Or is this kernel definetly EOL?

regards
[Samsung Galaxy S 5 Unified Development] justjr:
What is it, zeitgeist? LOL.

Because I was thinking about asking the same. I'm just trying a lot of roms to see what I like the best, I love bootleggers, but is not really mature yet on our device. I did my reports to the dev, backed it up and testing latest RR Nougat right now.

The battery life, performance, idle clock, power usage, is doing laps around Oreo rom. And I'm also using the last SmartPack for Nougat. I do miss some oreo stuff, but nothing I cant live without. I have an awesome profile for it to if you want to make it default.

It would be great to bring it up to date with the security updates, and deleting that thermal engine, isn't that part of the code the same for both versions? I hope u get the nougat source code for that backed up, or easy to get it by github history, or something. :)

Only that thing about core + vdd because of thermal engine really annoys me, since I have to do that trick to disabled it every reboot.

Nothing more I could think that would need to update that I can think right now...

Maybe only that one more update?

Of course, if it's definitely EOL, it's OK. Pie is coming! And the kernel is working fine.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Smartpack boot script will enable that feature upon booting. I'll disable it on the next version. But I don't know why it enables again even if you disable it and set apply on boot :confused:

There are not many changes has been committed from the LOS side. At least, nothing that break our last kernel on recent ROMS. However, my Oreo kernel is significantly improved mainly because of the help of justjr, that should be beneficial for Nougat as well. I can make more updates whenever it is necessary. The only problem is my limited free time because of my Professional and Personal commitments. And also now I have a new device to play ;)

Anyway, I'll try to make an updated kernel for Nougat in this weekend, if everything goes well.

Everything you mentioned (source code, back-up, GitHub history and what more) is basically easy. The difficult part is the building process, which takes significant time to complete all the 5 variants in my 7 yr old Laptop. :p
[Samsung Galaxy S 5 Unified Development] justjr:
Cool man! You're too kind!

I don't know how much of the security updates lies on the kernel... but since [MENTION=7489422]IKGapirov[/MENTION] is maintaining Lineage 14.1 with up to dates security patches (he just release one lineage 14.1 today, with october updates), I guess you could take it from his sources? If necessary.

[MENTION=660982]fubo73[/MENTION] try to set the manager to apply stuff after 10 seconds after boot, on configurations. On here everything I set is applied normally after the boot script because, the delay make sure of that, and stays like I configure. If 10 seconds is not enough there, try settings more time. Maybe you have to much apps initializing on boot.

There you go a new profile attached, it will drain a little more battery on exchange of getting rid of most of the lag.

I tailored it on RR 5.8.5 unofficial with September security patches, but should work the same on lineage 14 or 15 too.

Even tough on Nougat the usage is much lower on idle then Oreo, it seems to need more clock juice to do the same stuff, but it stays much less time doing it (maybe cause clock is higher, derp), and go back to idle right after that. It may do the same thing on Oreo.

cpuperf+111018-2 profile is even better. On Nougat we can let the governor much more responsive and still use way less battery then oreo roms for klte. Some other devices are not like this, and perform almost the same as nougat on oreo.

ps.: [MENTION=7060205]sunilpaulmathew[/MENTION] don't forget to try to look why we can't change min freq. I need to try to set 300MHz or more as min freq to see if it's worth it, mainly for Oreo.
[Samsung Galaxy S 5 Unified Development] zihar:
Jajaja i am going back to N forma test it
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
SmartPack-Kernel Manager v6.0

​

A new version (v6.0) and relatively big update of SmartPack-Kernel Manager (see attached screenshot) is now available to download.

Changes:

1. Migrate to AndroidX support library.

2. SDK: Update to 28 (Pie).

3. Thermal: MSM thermal: add support to a bunch of new parameters (need Kernel support, will be available in the next version of Kernel).

4. SmartPack: Preparations for Pie (SDK == 28) kernel release.

5. SmartPack: Auto-flash: add an alert dialogue with a lot of important information.

6. Wakelocks: update and add a bunch of new wakelocks (for osprey).

7. About: update support library list.

8. Misc changes.​

If you are on an old version, just open the app and follow on-screen instructions. For everyone else, download links & change-logs can be found at

https://github.com/SmartPack/SmartPack-Kernel-Manager/releases/latest

Enjoy...