yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] mrclaver:
Would someone be so kind to share his settings (governor hotplug etc) who has "good" battery life and performance?

Thanks.
[Samsung Galaxy S 5 Unified Development] Trey n:
Govner : zmove

Underclock to 1574mhz

Govtuner balanced profile or battery

And zzmove hotplug

Undervolted to - 95 - might get unstable

Hope this helps :)
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
SmartPack-Kernel Manager? Looking for Tester...

Hi friends...

I'm looking for a tester to check the (almost) newly implemented auto-flash function in SmartPack-Kernel Manager. If anyone (should be on Android Oreo, any kltexxx device) willing, kindly pm me or contact me in Telegram. I hope it will be a pretty good feature.

Thanks in advance...
[Samsung Galaxy S 5 Unified Development] flyingsaucer75:
I can test because I've two klteduos I'm using RR 6.2.0 final build (Oreo 8.1.0) based on lineageos 15.1, my twrp is 3.2.3.0

Update

Everything worked as expected nice job!
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
SmartPack-Kernel Manager v5.1

Thanks to [MENTION=2593285]flyingsaucer75[/MENTION] for the testing...

A new version (v5.1) of SmartPack-Kernel Manager with a much more simple and accurate auto kernel flashing feature (and many other changes) is now available to download. 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...
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
SmartPack-Kernel stable-v21

Hi all,

After a while, a new update and the first stable version (stable-v21) for Oreo ROMs are now available.

Changes:

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

Re-add SmartPack boot script with a lot of useful tweaks and to apply kernel default settings (since I found that a lot of people do not want to use SmartPack-Kernel Manager, but want to complain about features controlled by that app (and currently unavailable in official KA).​

As usual, the download links for all the supported variants along with change-logs can be found at the below links as well as in SmartPack-Kernel Manager (now with Auto-flash support in latest versions). Enjoy...

https://sunilpaulmathew.github.io/sgs5/
[Samsung Galaxy S 5 Unified Development] Quimicax:
I have randoms reboots when I put the governor on demand in the gpu (Only Happen In Smartpack In Boeffla-Kernel (unofficial) Not Happen) both kernel install clean rom
[Samsung Galaxy S 5 Unified Development] justjr:
Just for the record. I always used your specific kernel apps for them. XD

Will test soon with my tuned interactive, I think I got a happy medium, and without the reboots caused by my underclocks "overly under".

Ps:

/sys/devices/system/cpu/cpufreq/interactive/single_exit_time 80000 /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load 75 /sys/devices/system/cpu/cpufreq/interactive/single_enter_time 160000 /sys/devices/system/cpu/cpufreq/interactive/multi_exit_time 320000 /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay 30000 1190400:60000 1497600:80000 2265600:100000 /sys/devices/system/cpu/cpufreq/interactive/timer_rate 40000 /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq 1190400 /sys/devices/system/cpu/cpufreq/interactive/timer_slack 80000 /sys/devices/system/cpu/cpufreq/interactive/multi_enter_time 80000 /sys/devices/system/cpu/cpufreq/interactive/target_loads 98 268800:81 300000:12 422400:58 652800:81 729600:12 883200:21 960000:9 1036800:50 1190400:85 1267200:6 1497600:86 1574400:5 1728000:79 1958400:78 2265600:83 /sys/devices/system/cpu/cpufreq/interactive/min_sample_time 50000 /sys/devices/system/cpu/cpufreq/interactive/mode 0 /sys/devices/system/cpu/cpufreq/interactive/boost 0 /sys/devices/system/cpu/cpufreq/interactive/sync_freq 0 /sys/devices/system/cpu/cpufreq/interactive/param_index 0 /sys/devices/system/cpu/cpufreq/interactive/multi_enter_load 360 /sys/devices/system/cpu/cpufreq/interactive/enforced_mode 0 /sys/devices/system/cpu/cpufreq/interactive/up_threshold_any_cpu_freq 0 /sys/devices/system/cpu/cpufreq/interactive/up_threshold_any_cpu_load 0 /sys/devices/system/cpu/cpufreq/interactive/sampling_down_factor 20000 /sys/devices/system/cpu/cpufreq/interactive/multi_exit_load 360 /sys/devices/system/cpu/cpufreq/interactive/single_enter_load 90 /sys/devices/system/cpu/cpufreq/interactive/boostpulse_duration 80000 /sys/devices/system/cpu/cpufreq/interactive/single_exit_load 90

Enviado de meu SM-G900M usando o Tapatalk
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
You mean Simple Ondemand GPU Frequency?

If so, it is working fine in my side. Further, both Kernels using the exactly same code of the driver.

Anyway, many GPU drivers have issues. So, I suggest you use the default one which has more optimizations for the real world use.

Thank you for the detailed profile. I'll add this profile into Boeffla-Kernel first (which is easy) and find a way to implement the same to SmartPack-Kernel Manager.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Right now, I'm testing your settings to see any reboots occurs.

To get a log, you can easily do it by adb (there are many guides available, one is here), or simply use SmartPack-Kernel Manage (Settings Page).

Other than a logcat (useful only if the log is recorded while reboot happened), a "Driver Message" (dmesg) after reboot will be useful.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
[MENTION=5188092]justjr[/MENTION]

Thanks for the detailed message and new settings.

Regarding the Min CPU freq not sticking issue, I really don't have much idea atm; not even noticed yet.

I am aware that the implementation of Alucard hotplug (and many other stuff) has issues. Can you tell me exactly what functions are broken? It will help me to make my job easier. Anyway, I'll now look at it and try to make it better in the future release (unfortunatley, do not have much time these days).
[Samsung Galaxy S 5 Unified Development] justjr:
Alucard-wise the problems looks like it is just not showing all of it's tunables in the SmartPack Manager app, here's a comparison:

SmartPack Manager:

Ex Kernel Manager:

Looks like CRC also does not activate, the app still shows it as disabled after enabling it, but it actually is enable when I look at the ex kernel manager.

I tuned Alucard to let all 4 cores up all the time on Ex Kernel Manager. Is performing much better. Without a hotplug the jobs are very badly distributed between the cores, I've seen things like 2 cores on 2.4GHz and other 2 on 268 MHz. Crazy things, to want a hotplug that does not hotplug the cores, just distribute the jobs please. :)

I find very odd that I have to put 1.1 GHz on the hispeed_load as a scrolling nominal clock, it's too high, other devices can scroll the scree with 400MHz. I think the device CPU is running very poorly on LOS 15.1. I think I will try some Oreo ROMS, if can't fine nothing, a Nougat ROM, and if still not satisfied go back to stock.

Also is very bad that the base idle clock keep jumping all the time from 268, looks like it can't do nothing at that clock, and any job it gets it jumps. That's a lot inefficient, since jumping all the time to a lower clock waste more power then staying at 300 or 422 MHz if it doesn't need to jump as much.

IMPORTANT: Well well, after Alucard configured... I'm being able to go muuuch lower on the clock side, it's scrolling at 652 MHz with a few lags.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Can you try the attached version of SPKM. Although it might be less convenient for non-expert users, it will show all the parameters (see attached photo).
[Samsung Galaxy S 5 Unified Development] negativman:
sunilpaulmathew,

For a long time I wanted to ask. Maybe I missed something. But the latest versions of the manager do not accept the key Kernel Adiutor. Asks to buy. How to use your manager?
[Samsung Galaxy S 5 Unified Development] justjr:
Ps: Paul, the version of the manager you linked above keeps asking to update. Just so if you don't already know.

You can use it without putting any key. Only some options are locked, and none of them have to do with tweaks. Just importing profiles and stuff like it.

I don't think there's a way to put a key on it as it is now.

Enviado de meu SM-G900M usando o Tapatalk
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Please read the "Donation" message once again

This feature is only available in the donation version of official Kernel Adiutor (not this modified SmartPack-Kernel Manager)!

*Please Note* If you bought the donation app, you probably need to switch to the official Kernel Adiutor to get the benefits.

I intentionally hide some features from SmartPack-Kernel Manager (those are premium features and are only available in the Donated version of KA). Buying the donation version of Kernel Auditor will not give you any benefits if you decided to use my modified app (of course you are free to remove this app and use the official app with premium features !). However, I do not want to remove the "Donation" dialogue to [MENTION=4443334]Grarak[/MENTION] (not for me), as I respect him for his great work. It is only intended to convey my respect to him and allow the users to appreciate his hard work with a donation. Sorry for the inconvenience, if any.

Please avoid that update if you want advanced control over hotplugged. That version is mainly aimed to implement some features for a different device, those are no way useful for klte.
[Samsung Galaxy S 5 Unified Development] zihar:
can you explain to me how do you apply this configurations ? can it be use as .sh script?
[Samsung Galaxy S 5 Unified Development] justjr:
I think so, you can paste them inside an script, or you can copy and paste them on terminal. But then you have to do something else for them to apply at start.

Or input them manually on SmartPack Manager, cause importing profiles doesn't work, I guess. If you try it says only works for paid version, and there's no one for this fork of Kernel Adiutor.

But keep in mind it's an ongoing test, there's no one configuration to rule all devices, dependes on ROM, apps, usage... you must tweak it a little more. I intend to explain better later. But you can read this: https://xdaforums.com/showthread.php?t=2769899 and this: https://xdaforums.com/nexus-5x/general/guide-advanced-interactive-governor-t3269557
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
I'll make profile import free in the next version. Further, if you guys are interested and kind enough to share your personal settings like [MENTION=5188092]justjr[/MENTION], I'll make a dedicated section in the Kernel Manager to handle it in a more convenient manner. Looking forward to hearing your comments.
[Samsung Galaxy S 5 Unified Development] zihar:
Nice!
[Samsung Galaxy S 5 Unified Development] justjr:
Awesome! Will you implement the changes for hotplugs on the main app?

Also, do you know where to find info on that news low men settings? Like, compact_mem ?

Enviado de meu SM-G900M usando o Tapatalk
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
It is already implemented although I haven't decided its final shape. Meantime, you can try the attached apk (new version) and tell me if it satisfies you (as a normal user).

Regarding the low mem related stuffs, NO, I do not have much idea...
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
SmartPack-Kernel Manager v5.3

A new version (v5.3) of SmartPack-Kernel Manager with a lot of changes are now available to download.

Changes:

1. Misc: fix Software CRC check not showing correct status.

2. Tools: Remove all the profile related functions from the donated list (now you can freely export & import profiles).

2. CPU Hotplug: Alucard: Add advanced parameters.

4. Remove Recovery page and add all the necessary functions into SmartPack Page (Advanced Options).

5. Update Gradle builds tools and dependencies.

6. Miscellaneous cleanups and fixes.​

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...

[MENTION=5188092]justjr[/MENTION] Please tell me what else should be fixed in the app ;)
[Samsung Galaxy S 5 Unified Development] justjr:
You are awesome! And you already release another version! Very nice job!.

Unfortunately I gonna report some bugs again, but I only do it cause I wanna help the stuff you release to our old device to be the best possible. :)

Thank you for the continuous support!

So, here we go!

*VDD restriction still re-enabling itself, it looks like when I enable intellithermal, and then disable it and enable core control, vdd stays disabled. But after a reboot both are enabled again, even though on boot configuration is set to turn it off. Need to check if it's only cosmetic, what's going on the engine itself.

*Thermal configurations doesn't seem to kick in at all. Intellithermal (msm_thermal) settings does not seem to work, it doesn't throttle freq down neither turn cores off when it reaches the temperatures it's configured to do so.

This seems to affect all 3 thermal engines, but I can't say it for sure, maybe it's not taking precedence over the hotplug or something like it? Unfortunately I know nothing about it...

This always happened to me when I used kernels that kills the auto throttling:

QCom Powerhall keeps complaining all the time on catlog "failed to adquire lock", exactly when you touch the screen.

I assume it's trying to kick in touch boost, poor powerhal... but I wonder it's not detrimental for it to keep trying all the time.

At last, now that we got profiles, here's my present settings attached, it's quite different from last one, it's fast, it still need some optimization on high loads (aka, run hearthstone with KTmonitor open and check at what clocks it stay and if it lags, turn target_load and/or above_hispeed down a little and try again).

I can't say much about battery cause mine is really bad, it's dying in a maximum of 10 hours, I need a new one. I got this phone from my rich brother, it was on his closet for 2 years! LOL. And is the best device I ever got specification-wise... I'm loosing aroud 5%/h over night, 10%/h with light usage/podcast/video, 20%/h on high load/gaming.

CAUTION WITH THE VOLTAGE CONFIGURATION ON THIS PROFILE. It's tailored for my device.

ps.: just wanna remember you again about the min freq stuff, I really need to experiment raising min freq, it may be beneficial for performance and efficiency.
[Samsung Galaxy S 5 Unified Development] AnthonyCarl:
When i always install this kernel it lags my device. I don't know why i already tried increasing all the core speed to 2.8 ghz and yet when i swipe at the top there is still a lag and when i go to the kernel auditor all core speeds are at different while the RR OS/ Lineage Os Kernel is always the at the same speed. I tried benchmarking this with an antutu benchmark. I got worse score. Any tips to fix ? Thanks.

Model Version: SM-G900I Optus Carrier/ Openline.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
I'll look on the vdd restrictions and core control issues soon. Regarding intellithermal, the driver itself seems to be a full mess on our device. I don't think that it is worth investigating.

In the OP, I clearly stated that this Kernel is not fully compatible with Kernel Aduitor.

Kernel tweaker app recommend: SmartPack-Kernel Manager (Please note: official Kernel Adiutor is NOT fully compatible with this kernel).

So, please install SmartPack-Kernel Manager (see this post for the latest version), and make sure that CPU Input Boost is properly configured (and increase Input Boost Duration & Frequencies if necessary). I hope it will help.
[Samsung Galaxy S 5 Unified Development] justjr:
Yeah, I think is better to just make sure core control is enabled and kicking in, vdd disabled, and maybe even, just strip intellithermal down.
[Samsung Galaxy S 5 Unified Development] AnthonyCarl:
I was using your Smartpack Kernel Auditor. Sorry forgot to mention it.
[Samsung Galaxy S 5 Unified Development] zihar:
guys i have a question why i cant find the .json profiles on smartpack app import menu? the folders shows like files and when i put the profile.json file it dont show on the menu.
[Samsung Galaxy S 5 Unified Development] zihar:
with interactive governor and alucard hotplug?
[Samsung Galaxy S 5 Unified Development] justjr:
Yes, alucard same settings as before.
[Samsung Galaxy S 5 Unified Development] Quimicax:
what rom are you using? I have tried several rom and all laggy when I install smartpack,

the weird thing is all the boeffla kernel-based(Fbs,Venon,UnofficialPort) working super smooth.!
[Samsung Galaxy S 5 Unified Development] justjr:
I'm testing stock rom with boeffla kernel, since my battery is bad, and I need my phone up a little more time then with Los 15.1. So, I'll halt tuning interactive governor for a while, til I get another battery I think.

I was on los15.1.

Default configs are lagged to me too. But my the configurations I posted above are very snappy. Good thing about smartpack is that I have lot more freedom to tune it, mainly, mpdecision doesn't interfere with my settings. But its time consuming, demands lots of tests, if you don't care about learn how to tune, by any means, stay on boeffla, it's a great kernel with nice basic profiles.

It's not ideal just to copy someone else configurations, or use profiles. But although is not ideal, profiles gives you choices without the hassle, and I may contribute to some profiles for smartpack too.

Enviado de meu SM-G900M usando o Tapatalk
[Samsung Galaxy S 5 Unified Development] Quimicax:
Thx :good: :highfive:
[Samsung Galaxy S 5 Unified Development] fubo73:
The profile is not visible because it has a space in its name. Rename it with a _ or similar and you can see in import panel.
[Samsung Galaxy S 5 Unified Development] zihar:
fOR THE LAG JUST CHANGE INTERACTIVE GOVERNOR TO ANOTHER ONE... FOR PLAY GAMES I USE INTELIACTIVE OR SMARTMAX... MY BATTERY IS REALLY BAD BECAUSE IS OLD WITH THIS GOVERNOR AND PLAYING CLASH ROYALE IT GOES FROM 100 TO 10 IN 2 HOURS (BUT IT IS FOR MY FAULTY BATTERY)

---------- Post added at 03:41 PM ---------- Previous post was at 03:35 PM ----------

i HAVE A RECOMENDATION FOR SMARTPACK MANAGER APP.... CAN THE DEVELOPER ADD A CUSTON LED CONTROL FOR PHIISICAL BUTOMS?
[Samsung Galaxy S 5 Unified Development] justjr:
Lionheart is also good for battery and isn't that laggy, But interactive is the best governor, just not with default configs. Maybe is the hotplug, try keeping interactive on default and using alucard. Just try to tune it better then it is on default... read here how to: https://androidmodguide.blogspot.com/p/blog-page.html

Edit: here's a profile I'm using right now. It's lightning fast here to me. I couldn't stay on stock... Even though it was fun to play with Xposed again.

ops, attached.
[Samsung Galaxy S 5 Unified Development] fubo73:
Thanks for sharing. Previous profile generated two reboots in a day (opening camera and unlocking) and random apps crashing. Testing this one after I also changed battery.

BTW: new battery is a LOT better than original (it should have been burst): in 2hrs just 7% of battery consumption with BT, Spotify and regular whatsapp. With original I would have lost at least 20%.

BTW2: is there a way to reset ALL settings to defaults from Smartpack app?
[Samsung Galaxy S 5 Unified Development] fubo73:
Got a reset quite immediately. I presume it could be the voltage settings, that I see changed after applying the profile. But it is strange that I can't find related settings in .json. They are not evident also in script you posted before. But I find them lowered. Found it! :o

Now I set them to defaults and testing.
[Samsung Galaxy S 5 Unified Development] justjr:
[/COLOR]

Yes, sorry for that. Don't apply my voltages, most device specific settings ever, if you want to undervoltage find your own device limits.

If there's no way, unselect it while importing, delete this line before import if not:

{"path":"\/sys\/devices\/system\/cpu\/cpu0\/cpufreq\/UV_mV_table","command":"echo '670 680 690 700 710 720 730 740 750 760 790 805 830 875 935 970 995 1015 1045 1055' > \/sys\/devices\/system\/cpu\/cpu0\/cpufreq\/UV_mV_table"},

Maaan, I need a new battery so bad. I'm trying but till now can't find an original trustworthy one here on my country... damn.

Enviado de meu SM-G900M usando o Tapatalk
[Samsung Galaxy S 5 Unified Development] fubo73:
I did not buy an original one, they seem very bad. I am trying a compatible one from Gadfull. It has also NFC (although i do not use it). This is first day, and 15% of battery consumption in 5h is quite good i think.
[Samsung Galaxy S 5 Unified Development] justjr:
Original battery seem very bad? I didn't get that, why?

Although, that gadfull battery seems very trustworthy.

Problem here is that I only find the battery from re-sellers that illegally import them from China, on a ebay-like brazilian website, "mercado livre". Veeery untrustworthy.

Also, can you test how are your performance/battery with my settings?
[Samsung Galaxy S 5 Unified Development] fubo73:
Original battery replacements seem not as good as stock battery provided with phone. One friend tried it for another Samsung phone, and he experienced the same, and returned it. It seems like batteries are so original that they were produced in the same launch year, so it's like they are already 4-5 yrs old (although presumably not used).

I tried this Gadfull because it has good reviews. I do not expect it to be as good as stock one, but at least I hope it will give another year to my phone.

Regarding your settings, I will keep you updated. I can anticipate that performance are better than kernel defaults. The system is more smooth and reactive.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
I can add if it is possible through an already existing parameter in the Kernel. If it needs significant changes in the Kernel level, I can't guarantee it.

I slightly modified your profile, mainly removed the heavy undervolting to moderate, and made some changes here and there and attached as profile1. If anyone like to try, download and unzip the text file named "profile1" to sdcard and run the following commands from the terminal or adb.

su

sh /sdcard/profile1

If it is sucessful, it will show the following text in the terminal

Applying Settings...

Credits: justjr@xda-developers.com

At this moment, there is no way to do that unless you saved a profile with default settings. However, I'm planning to add a button to apply Kernel default settings into the app. It will be hopefully done before I release the next version of app (was too busy these days).