yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Seems like you seriously misunderstood (or over expect) our fast charging driver (force_fast_charge).

In brief, the driver has 3 modes and are

i. Disabled: that is stock charging behavior

ii. Enabled: substitute AC to USB, if "failsafe" is disabled (Please note: "failsafe" is enabled by default and I purposefully hide its access from SP-Kernel manager).

iii. Custom Mode: use custom mA for AC (Rang: 1000-2100 mA), USB (Range: 400-1600 mA), and Wireless (Range: 600-1600 mA) as per your selection (default kernel behavior).​

From my testing, it is understood that

1. custom AC values above 1800 have some issues (not always, sometimes it work perfectly, see the attached photo)

2. custom USB values always work (provided, your USB port/cable is compatible)

3. not sure about Custom Wireless levels as I do not have an opportunity to test.​

There is no point to compare with Boeffla-Kernel, which uses a totally different driver (charge_level).

I hope everything is clear. By the way, where is the pic attached :confused:
[Samsung Galaxy S 5 Unified Development] omgbossis21:
Sorry I didn't realize it said attachment failed. Your image shows your charging on an ac charger, I cannot replicate that regardless of my settings or which charger I'm using (pretty much all my chargers are 2amp).

https://www.dropbox.com/s/2okjnufx9...tPack-Kernel_Manager_20180504-230229.png?dl=0
[Samsung Galaxy S 5 Unified Development] TessellatedGuy:
Hello, does anyone know if the latest nougat v13 version revisions are supposed to be maxing all 4 cores at 2457 mhz (or any of the highest clock speeds) at all times? I tried the last revision of v12 and it seemed to work normally by changing frequencies. Is this a bug? I'm on LineageOS 14.1 on a klte if that matters. I tried the last two v13 revisions which had the same problem.
[Samsung Galaxy S 5 Unified Development] curiousde2002:
Just installed it together with your latest SmartPack-Kernel Manager (v3.8) on my klte official lineage 14.1, 2nd latest build.

I set up 3 profiles with the 3 default "performance tweaks", not changing anything.

Then I created a profile with my own values, I changed CPU to nightmare, CPU hotplug to alucard, global voltage to -30 and switched on boeffla sound.

I never enabled apply on boot.

After a reboot the default settings were back (like it should be), so I applied my own profile and it worked.

When I did not like the performance while playing a game I tried switching to the balanced profile I set up in the beginning.

It showed profile applied but it never went back to the default settings like CPU to nightmare etc.

The same happened when I tried the performance and the battery profile.

Do I misunderstand something?
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Not really. Are you using "Performance" tweaks? Can you try changing the CPU gov to nightmare/blu_active or some other? I found similar behavior while using interactive gov, especially after implemented Performance Tweaks.

Hi, "Performance Tweaks" are a set of pre-defined settings, that is currently un-touchable to users. By default, the "balanced" tweak will be applied while booting (else the last selected tweak). Please note that none of the tweaks touch CPU govs or Hotpluggs to avoid issues. Want to know more about the currently available tweaks? Visit here?

In my advice, switch to the desired tweak first (and that will automatically be applied on boot) and set the remaining stuff (like your favorite CPU Gov, Hotplug, etc.). Do not forget to set apply on boot, if you want to stick your settings after reboot.
[Samsung Galaxy S 5 Unified Development] TessellatedGuy:
Thanks for the reply, no I haven't selected the performance tweaks option, was running on stock settings. Changing the governor to something else didn't fix it, but changing the hotplug to something else like Alucard or MPDecision did fix it, cores are now turning off and throttling down when nothing is going on. So I guess this might be an issue with the hotplug?
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Any Linux expert out here to comment on this message, that I encountered a couple of times on my build device (aka my 7 hr old Laptop) with-in a week.

Seems like the time is finally arrived to get a new one :p

Btw, new oreo builds to work with the new LOS update soon...
[Samsung Galaxy S 5 Unified Development] The~Skater~187:
Ubuntu? Mint? Gentoo? Arch?

Try this:

https://askubuntu.com/questions/141606/how-to-fix-the-system-is-running-in-low-graphics-mode-error
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Wow, the issue and solution are reported as well. Thanks, friend... and yes, its Ubuntu 16.04 (Xenial) LTS
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
New (Oreo-beta-v2.2) builds...

Hi all,

New maintenance update (beta-v2.2) for Oreo ROMs are now available.

For detailed change-logs, please visit this page.

Please note:

Over-clocking frequencies are not added yet as I'm still confused about it (I don't get much response from normal users, except gamers). If no one objects, I'll try to add one more build later this week with overclocking...​

Download links for all the variants can be found at the below links as well as in Smartpack-Kernel Manager. Enjoy...

https://sunilpaulmathew.github.io/downloads/
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
and cpu undervolting (I did upto 50 mV)
[Samsung Galaxy S 5 Unified Development] yazeed_twb:
Hello dev :)

Thank you for your work, I want to ask you that I installed klte rom on my klteduos (the rom doesn't have klteduos build) after install, I flashed your kernel but I still have no signal, Do you have any idea for which libs or files should I replace to get signal?, please help me asap
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Have you flashed klteduos build of my kernel over klte ROM and still not getting signal? If so, you probably need to replace some files from the device tree repo of klteduos. Absolutely no idea about which files. Sorry.
[Samsung Galaxy S 5 Unified Development] yazeed_twb:
Thankyou for your reply, I asked about files because there are some tw kernels zips can be flashed over klte ROMs, in this zips there are some files and build.prop edits, I tried to replace the same files but with no luck :"(
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
New builds with latest LOS commits are uploaded. kltespr and kltedv are now added to the supported list. Thanks to [MENTION=2415482]montecarlo5[/MENTION], [MENTION=5894676]skinza[/MENTION] and [MENTION=4870560]2mecky[/MENTION] for testing. Since kltevzw is officially merged to klte by LOS team, I'm also stopped to release separate builds for kltevzw.

Download links are available here

/* Downloads */
[INDENT][URL="https://xdaforums.com/devdb/project/dl/?id=24237"]kltekor[/URL]
[URL="https://xdaforums.com/devdb/project/dl/?id=24239"]klte[/URL]
[URL="https://xdaforums.com/devdb/project/dl/?id=24235"]klteduos[/URL]
[URL="https://xdaforums.com/devdb/project/dl/?id=24236"]kltedv[/URL]
[URL="https://xdaforums.com/devdb/project/dl/?id=24238"]kltespr[/URL][/INDENT]
[Samsung Galaxy S 5 Unified Development] :
Battery life seems to have gotten better with the settings that got shared a couple of posts back. I have a request. May you add support for up threshold, down threshold? Offline delay too?
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Plz give me more idea abt those things... I'm presently not aware... Btw, thanks for the comments. It is not only because of my kernel, but also due to the recent changes in the LOS source code... :p
[Samsung Galaxy S 5 Unified Development] :
Up threshold and down threshold have to do with scaling the CPU up or down upon reaching a defined percentage. The percentages range from 1-100% Up threshold scales the CPU up when reaching a defined percentage. 60% of CPU load for example. Down threshold does the opposite, scaling the CPU down when reaching a defined percentage. 45% of CPU load for example. At least that's my understanding of it. I don't know if anyone else can give a better explanation and it would be nice if someone chimed in aha.
[Samsung Galaxy S 5 Unified Development] lonelycount:
Can u make one for the kltedi variant? I'll test it out if you need me here :)
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
kltedi? Is that name right? Plz give me ore details. Then I'll try...
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
New builds are uploaded...

Another quick maintenance update with recent LOS commits... Download links are here...

/* [COLOR="blue"][B]Downloads[/B][/COLOR] */
[INDENT][URL="https://xdaforums.com/devdb/project/dl/?id=24328"]kltekor[/URL]
[URL="https://xdaforums.com/devdb/project/dl/?id=24330"]klte[/URL]
[URL="https://xdaforums.com/devdb/project/dl/?id=24326"]klteduos[/URL]
[URL="https://xdaforums.com/devdb/project/dl/?id=24327"]kltedv[/URL]
[URL="https://xdaforums.com/devdb/project/dl/?id=24329"]kltespr[/URL][/INDENT]
[Samsung Galaxy S 5 Unified Development] beatboxer:
Hey does this kernel have the so called "NFC fix" to make NFC work on G900i (kltedv)? I'm running Lineage-14.1-20170412-nightly-kltedv-signed.zip but no one has got nfc working on it

Or was that fix just a KitKat thing?
[Samsung Galaxy S 5 Unified Development] daniel1989hh:
This kernel is sooooo good :good: use it with rr unofficial 5.8.3 on my g900f it runs like hussein boldt thanks to the devs
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Honestly, I'm not aware about the so called "NFC fix" of kltedv. I haven't did anything for that. So, it will not be available in my kernel unless LOS team implemented (since LOS is my base)... However, if you give me some reference about that, I shall try...

Thanks for the nice words...
[Samsung Galaxy S 5 Unified Development] beatboxer:
OK false alarm, sorry!

Turned out to be permissions problem which has now been fixed here https://jira.lineageos.org/browse/REGRESSION-318
[Samsung Galaxy S 5 Unified Development] fbs:
any way to tweak termal throttler ?
[Samsung Galaxy S 5 Unified Development] kahran:
I would love a build for kltevzw

thanks!
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
U can use my klte build for aosp roms... It will work... I stopped building kltevzw separately since LOS team already build your device with klte...
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
New builds...

New builds are uploaded. Fast charging feature is now replaced with charge level interface (credits: Lord Boeffla). and all the recent changes in the LOS source code... Download links are here...

/* [COLOR="blue"][B]Downloads[/B][/COLOR] */
[INDENT][URL="https://xdaforums.com/devdb/project/dl/?id=24546"]kltekor[/URL]
[URL="https://xdaforums.com/devdb/project/dl/?id=24548"]klte[/URL]
[URL="https://xdaforums.com/devdb/project/dl/?id=24544"]klteduos[/URL]
[URL="https://xdaforums.com/devdb/project/dl/?id=24545"]kltedv[/URL]
[URL="https://xdaforums.com/devdb/project/dl/?id=24547"]kltespr[/URL][/INDENT]
[Samsung Galaxy S 5 Unified Development] raisey:
is there a script to remove the current kernel completely? or should i say kernel cleaner? :confused:
[Samsung Galaxy S 5 Unified Development] swiftbones74:
Sounds like what happens when you do ui-reboot on lesser/old hardware or running in safety mode maybe? I would not nessaraly call myself a Linux expert but I've been dual booting Linux for the last six + years. I do agree with your assessment, its probably time.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Yup... 7 + years of hard work is too much for a budget laptop :p
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Anyone notices/tested LED blink/fade(Under "Display & LED", SP-Kernel Manager) in the last Oreo build. Is it working properly? I really don't know how it is supposed to work, that's why asking...
[Samsung Galaxy S 5 Unified Development] diabolicalprophecy:
is there a version for kltechn?
[Samsung Galaxy S 5 Unified Development] Henrea4:
That's probably because overclocking isn't really necessary unless you're a gamer. Nothing else is really going to push the s5 to its limits like a high end game.
[Samsung Galaxy S 5 Unified Development] brickhayabusa:
LED blink fade works well...
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
SmartPack-Kernel Manager v4.0

Hi friends,

SmartPack-Kernel Manager v4.0 is now available.

For detailed change-logs, plz visit here.

Please note: from v4.0 onwards, the app-update check will initiate upon opening the app.​

If you are already on the last version, you may simply avail update by visiting "About" page (simply open the app from this version onwards). For the fresh installation, manually download from here.

Enjoy...
[Samsung Galaxy S 5 Unified Development] nl3142:
Would it be possible to add/backport the tpidrurw patch which is required for Wine to be able to run native win32/arm32 or WinRT/arm32 binaries on Android?
[Samsung Galaxy S 5 Unified Development] Exzu:
So I'm going to explain breifly about overclocking here and the benefits

Overclocking benefits in more than just gaming, and there is alot of applications today that can push a 5yr old phone to its limit. It all comes down to what you're used to and how fast your brain responds to input. You can really tell a difference when starting and using i.e Facebook on a non-OC version compared to a OC version. However this may not be visible by everyone as they may not used to seeing differences of 50 to 100ms or even 50 to 200ms as it all depends to what you're

used

to.

The Overclock itself does not draw power as it doesn't request extra juice until you're using it and that is where your scheduler kicks in to handle the job when it needs said power. You usually notice the biggest difference when you've been using an overclocked version for a couple of weeks and then switching to non OC.

However overclocking differs alot depending on your binning.

Checking /sys/module/clock_krait8974/parameters/table_name will tell you what PVS-BIN you're using.

It's usually said that a higher binning is of "higher CHIP quality" and needs less voltage to achieve a stable clock than a lower binning. You can picture this as Intel processors. I.e a 4560 and a 4570 is essentially the same processor however the quality of the 4560 didn't turn out as good of the 4570 and it gets shipped at a lower clock speed.

For the Oreo_OC use the following voltages

PVS0 binning uses 1120mV for 2.45GHz Stock.

PVS15 binning uses 1045mV for 2.84GHz Overclock.

PVS0 binning uses 1040mV for STOCK 2.03GHz

That being said, if you got a PVS15 binning and your friend got a PVS0 binning, you can run a 2.84GHz on the same power as he uses for 2.03GHz. That's a 800MHz faster phone at the same power-draw. Meaning both his and your phone would technically drop to 0% at the same time if you ran 2.84GHz and he ran 2.03GHz for 100%. This assuming your batterys both hold equal capacity, same screen brightness, same modules turned on (gps, wifi, lte, nfc, etc)

However regardles if you're using a PVS0 or PVS15 phone, the difference from 2,45GHz to 2,83GHz isn't that much. Obviously the PVS15 will have a lesser mAh draw than the PVS0.

---------- Post added at 01:07 AM ---------- Previous post was at 01:06 AM ----------

Also for those using SmartPack Kernel, what PVS Bin are you on?

You can check it by opening /sys/module/clock_krait8974/parameters/table_name with a text editor.

Second question, do ever get random freeze ups and full reboots?

Asking due to trying to figure out a issue on my board that happens regardless if using LineageOS 14.1 with or without SmartPack-Kernel.
[Samsung Galaxy S 5 Unified Development] Exzu:
Also updated my previous custom controls for Official KA and uploaded Custom Control scripts for import (Only Premium Users). That post can be found Here
[Samsung Galaxy S 5 Unified Development] CStadler:
Wow thanks, that was something interesting to read, greay way to compare them now, i have an pvs6, i get 2.8ghz at about 1.125V to be completely stable, i haven't tried going much lower yet, and at 2.4ghz im at 1.025V
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
New (beta-v2.3) builds for Oreo

Hi all,

New update (beta-v2.3) for Oreo ROMs are now available.

For detailed change-logs, please visit this page.

Please note:

As I said during the last update, here I include CPU overclocking (since no one objects) up to 2.84 GHz. Some workaround is also done to ensure the default clock behavior is not overclocked. Please let me know if something went wrong (I hope it won't).​

Download links for all the variants can be found at the below links as well as in Smartpack-Kernel Manager. Enjoy...

https://sunilpaulmathew.github.io/downloads/
[Samsung Galaxy S 5 Unified Development] artixerix:
As of last two recent versions my S5 doesn't enter Deep Sleep. Any idea what might be causing that? Running latest Resurrection Remix Oreo on G900F.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Not related to this Kernel. Deep-sleep issue is known to be there on last 1 or 2 RR builds. By the way, deep sleep will be back if you change CPU gov to Nightmare...
[Samsung Galaxy S 5 Unified Development] Exzu:
Overclock Edition for Nougat [KLTE]

Kernel Refresh:

Name: SmartPack-Kernel

Device:

KLTE (Only)

OS Version: Linage OS 14.1 (2018-May-04).

Kernel version: v13_r5-Overclock.

Notes: Latest SmartPack-Kernel with added overclock support for KLTE devices running LoS 14.1

/* ReadMe **/

ONLY FOR KLTE NOUGAT

1. Have the Original Stable v13-r5 zip release downloaded on your phone aswell.

2. Flash the Overclocked v13-r5 zip file in TWRP

3. Incase your phone does not boot, boot back into TWRP and flash the Stable v13-r5

then report the problem to me including your PVS BIN.

4. Once booted into LineageOS 14.1, simply open KA/SP Manager and change the maximum frequency under the CPU tab to an overclocked frequency you wish to use.

/* ChangeLog **/

[U]v13_r5-Overclock[/U]
+ Allow Overclocking to 2.83GHz
+ Active maximum clock set to 2.4GHz (Change in KA/SP Manager to enable OC)
+ Increased voltage control from 1100mV and 1120mV to 1300mV

/* Upcoming changes **/

+ I might bring OC to other versions aswell(kltekor, kltespr, klteduos, kltekdi etc) depending on demand from other users.
+ GPU OC
+ Memory OC
+ Governors/Hotplugs/Thermal control that is aimed towards high clock performance + Possibility to go above 3GHz for certain bins.

If sunilpaulmathew wants this OC version removed I will remove it no questions asked. This is simply the version I made for myself based on his source and all the credit goes towards him for his awesome work, just sharing my own version if someone else wants OC for Nougat.

ONLY FOR KLTE NOUGAT RIGHT NOW
[Samsung Galaxy S 5 Unified Development] brickhayabusa:
interactive governor isn't working latest oreo kernel and lineage builds.
[Samsung Galaxy S 5 Unified Development] The~Skater~187:
How did you overclock memory?
[Samsung Galaxy S 5 Unified Development] tommasa:
Thanks, for the update. But since I flashed it my music players stop working. I have my mp3 collection on my external sd card. I 'm on Resurrection remix oreo, I know the kernel is for Los 15.1 and not for rr.
[Samsung Galaxy S 5 Unified Development] Exzu:
I havent overclocked memory(RAM) yet, but intend todo so. You overclock it in terms of speed.
[Samsung Galaxy S 5 Unified Development] omgbossis21:
There's actually a lot of people with this issue on vanilla lineage (haggertk's build). Their claiming it was past build or this one. Personally I don't have it (gigs of music on sd) but I'm using magisk to install viper audio, maybe try it?

---------- Post added at 06:11 PM ---------- Previous post was at 05:18 PM ----------

Sorry for a double post can't figure out multi quote on Tapatalk lol. I'd be very interest in over clocking the ram. We have dd3,dual channel 933mhz ram so 1066 or in between isn't far fetched. We know our processor does well with over clock, with a bit of luck ram will. We would still be on the 2gb limit but every bit helps.

When it comes to over clocking the CPU, the best gain is in storage speeds. If you benchmark @2.5 then again at 2.8 the gain is undisputable. Transferring larger files or backing up apps has a noticable gain. Whatever happened to over clocking the GPU? Somewhere along the way it vanished and I heard rumors it wasn't actually over clocking?
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Nice work,

The future plans you listed here seems really interesting. and I have no issues to post your builds here... feel free to do whatever you want... Keep it up...

only one suggestion, kindly link to the source code in that post. It is like an xda rule, and will be useful for others including me :p ...

I think it is an App related issue, which happens even in the stock kernel. Better to use a third party app until LOS team fixes the issues forever. By the way, I'm quite satisfied with Sony Music Player (Magisk Module)... simple and clean...
[Samsung Galaxy S 5 Unified Development] Exzu:
Currently it's just your Nougat build added with Oreo_oc commits. I'll fix a source once i figure out github properly ?
[Samsung Galaxy S 5 Unified Development] Henrea4:
Ok I'm not even going to pretend I understood all that, but I stand corrected. Thank you for that detailed explanation. Hmm..according to the file path you posted above, I'm using a pvs3. What voltage should I use to get the best results?
[Samsung Galaxy S 5 Unified Development] Exzu:
I've seen 800MHz RAM get OCed to 1500MHz so there may be a big chance for gain. It doesn't do ALOT,(speed vs power etc) it's just one of those things I'd like to try and achieve

Regarding GPU oc it's also one of those things that some consider useless and therefor leave it

---------- Post added at 01:43 PM ---------- Previous post was at 01:38 PM ----------

You can never pinpoint voltage but rather give estimates at what your phone can be running at (Default values). For you seeing as you have a higher PVS binning you are looking at abit higher voltage values and higher temps than a few others. Do you ever get lockups followed with a reboot?
[Samsung Galaxy S 5 Unified Development] omgbossis21:
Yea the faster ram speeds are more for show really. Unless we could up the voltage I don't see it going to high but it would it would be cool to bump it in or past the next speed bracket. In my head with the processor up that puts the phone next generation!
[Samsung Galaxy S 5 Unified Development] Henrea4:
I haven't had any of those issues, but I never messed with any of the voltage settings, either. I could never hit 2.8ghz. The highest I've achieved is 2.6.
[Samsung Galaxy S 5 Unified Development] Exzu:
I see, if you would like to UV, you can do so in Kernel Adiutor/SP Manager under "CPU Voltage" and then lower then voltage, however it's a time consuming process. If your voltage drops to low you'll get things such as hang and reboots. The best way to start UV is to set both Max and Minimum frequency to the frequency you wish to lower then lower it 5mV at a time and stresstest. Once it starts to reboot that's when you've reached the lowest voltage your processor can run said clock at, at this time you generally increse it by 5-10mV to achieve a stable voltage for that clock. How much voltage your phone needs is specific to your phone only, however those with the same PVS binning usually see that they are within the same voltage range.

Do note, undervolting will only lower battery consumption a small bit and heat. It will not make your phone faster (Unless your phone is overheating and throttling lol)
[Samsung Galaxy S 5 Unified Development] airidosas252:
RAM OC would be really beneficial for GPU, since bandwidth is really important for better performance. Sometimes slower GPU with faster memory is better than faster GPU with slower memory. The more information could travel, the faster the job would be done, thus less stress.

But, to be honest, I don't think it's doable, since none of the devs for msm8974 platform ever did such a thing, only cpu, gpu and slimbus oc were achieved. I'm pretty sure that people, who are obsessed with big numbers, can manage such things.