yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] Legitsu:
if you want max standby bat with screen off you should be using zzmove AND zzmove hotplug

beyond gov/mem settings the kernel has very little control over battery drain there is no magic involved if you are having battery drain then a app is to blame

whether or not that app behaves different under a different kernel is a entirely different problem

everybody uses los there isn't anouther kbase repo for the s5
[Samsung Galaxy S 5 Unified Development] Thefmaximo:
Well, I was just telling my experience using it.

I really dont know what happens with standby drain in my phone. Before CrDroid, I was having this drain that made me think even my battery was faulty. I checked BetterBattery Stats, and even my phone having 8 horus straight of Deep Sleep, with everything turned off(Wifi, mobile data, nfc, bluetooth, gps), it drained around 10-15 percent, since I started using Nougat ROMs.

I'm not an expert, I'm here on XDA to learn more and more, so my knowledge is limited on some subjects.

I do flash this kernel on CrDroid, and the behavior of standy changed, even I didnt install any app after flashing the kernel. And, to make sure the draining has something with the kernel, I reflashed CrDroid, and the Standby behavior was the same before flashing.

I really dont know why, that's why I just reported my experience, and sorry if I said anything dumb.

And I didn't know about zzmove standby capabilities, so thank you for this information :)

I would give it a try if this kernel adds the support for this gov.
[Samsung Galaxy S 5 Unified Development] Legitsu:
this app provides graphs

https://play.google.com/store/apps/details?id=nextapp.sp

monitor the graphs over a period of 8h on both kernel

make sure the record history option is enabled

if I had to guess its because its a duos model and its waking the radio twice as much to switch between sims,I don't even know if the dual sim mode is working on crdroid so it might only be using one hence half the radio wakes

10% every 8h is pretty dam good I avg about 2% or 3% a hour depending on how many notifications I get
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Thanks for your suggestions... I already added faux sound and will be available in the next release. I'm also thinking about adding zzmove gov and zzmove hotplugs, but bit worried about their stability...

Thank you very much for your review and nice to know you like my kernel. As [MENTION=5417447]Legitsu[/MENTION] said, crDroid also uses the same LOS kernel. I can't find any other kernel repo for kltexxx in their github directory (or their kernel source is not yet published). However, I also expect much better performance on crDroid if you use my kernel.

Regards
[Samsung Galaxy S 5 Unified Development] Legitsu:
[/COLOR]

so long as you don't run mpdecision at the sametime as zzmove hotplug there should't be any stability issues

I also recommend this as the default zzmove profile

https://github.com/Debuffer-XDA/Gov...ystem/etc/GovTuner/profiles/GovTuner_balanced

-more patches

here is the frandom module

https://github.com/Ryuinferno/frandom-android

dynamic fsync

https://github.com/CrazyGamerGR/Cra...mmit/5a9dbc74070c75b211bc2e76a09d26696cf035e7

UKSM drastically improves same-page merging

https://github.com/dolohow/uksm/blob/master/uksm-4.9.patch
[Samsung Galaxy S 5 Unified Development] Legitsu:
people need to be reminded that every time you need to wake the cpu radio wifi ect it sapps battery

so if you have 4 different chat apps installed

guess what at some point they all need to spool up in the background to check for incoming messages,ensure connections are kept alive update heartbeats ect ect

if you really need that massive standby time then you should look into a battery case tweaking is only going todo so much on a device this old

the batt in the s5 is only 2800mh and the 801 is not exactly the most power efficient chip-set
[Samsung Galaxy S 5 Unified Development] Thefmaximo:
Maybe I was not clean enought about my standby problems.

It drains 10 to 12 percent in 6 hours overnight, with everything off(WiFi, mobile data, GPS,bluetooth,NFC, and anything posible turned off).

W
[Samsung Galaxy S 5 Unified Development] Legitsu:
without information on what is waking the cpu then there isn't much to be done use systempanel2 and check the graphs
[Samsung Galaxy S 5 Unified Development] badassadism01:
Would it be possible to add UKSM for this kernel too??
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
UKSM would be added in the next build. plz wait a little more...
[Samsung Galaxy S 5 Unified Development] thaidroid:
[MENTION=7060205]sunilpaulmathew[/MENTION]

Thank you, great to see this kernel, just installed it on latest Lineage 0308 no problems at boot everything looks normal. Looking forward to be able to test other Roms using this kernel.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Thanks... and plz see my op... I already tested a number of ROMs...
[Samsung Galaxy S 5 Unified Development] thaidroid:
Faux Sound is Brilliant, I set it as your screenshot but increased Microphone gain from 10 to 15 and Skype over Speaker is like using Samsung MM Rom:D:D:D:good::good::good:
[Samsung Galaxy S 5 Unified Development] raylogic:
Just tried this on galaxy s5 sm-900f. Bit bumpy and I don't see it installing any app to make changes to settings?
[Samsung Galaxy S 5 Unified Development] X_Mojahed:
Tested on G900t

Good work Bro
[Samsung Galaxy S 5 Unified Development] Legitsu:
does this support cpu/slimbus overclocking ?
[Samsung Galaxy S 5 Unified Development] KazuDante:
you have to download kernel auditor from the play store or you can use the kernel_auditor_mod app from here : https://xdaforums.com/android/apps-games/kernel-adiutor-mod-singularity-kernel-t3333549
[Samsung Galaxy S 5 Unified Development] Ser0:
Nice. Has your setup changed with the power suspend feature?
[Samsung Galaxy S 5 Unified Development] dan13l3:
As you wrote some days ago, latest release v9_r2 is ONLY for latest LOS rom?

I've Resurrection Remix Nougat 7.1.1_r21 with SmartPack-Kermel-klte August 2
[Samsung Galaxy S 5 Unified Development] mush_hussein:
Giving random reboot to my s5 duos 900fd running resurrection remiix
[Samsung Galaxy S 5 Unified Development] Blackburn119:
Are you using magisk or try to change any CPU governors beside interactive?
[Samsung Galaxy S 5 Unified Development] mush_hussein:
No i did not change any

And yrs i am using magisk

As it comes with resurrection remix
[Samsung Galaxy S 5 Unified Development] Blackburn119:
That's the problem here it's because of magisk even the latest version 13.6 also brought my device to random reboot in the past, just uninstall it and use lineage root or superSU instead.

If you not using Android pay, Mario run, Pokemon, Snapchat, Netflix...installing Magisk is unnecessary.
[Samsung Galaxy S 5 Unified Development] j1gga84:
Even Netflix is running without Magisk ;)

And the random reboots are also present without installed magisk, they come from the new LOS kernel source, somehow..

regards
[Samsung Galaxy S 5 Unified Development] mush_hussein:
I use most of them..:/
[Samsung Galaxy S 5 Unified Development] Blackburn119:
Yeah it run but won't appear on your play store.

If that so why in Lineage official thread still haven't received any complain?
[Samsung Galaxy S 5 Unified Development] mush_hussein:
So whick LOS version do u recommend to use?

I m tired because of battery issues with resurrection

I use 900fd

Is the latest LOS good ?
[Samsung Galaxy S 5 Unified Development] HatchetEgg:
Just thought I let you know, I flashed this version and the issues still persist on klte for me.
[Samsung Galaxy S 5 Unified Development] Keller0088:
Random reboots and not working fingerprint sensor on the last release, (0822)
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Not much changes. I only did some modifications to zzmove and intelliplug to accommodate powersuspend...

If the latest version worked on RR, I'm really happy. However, as already discussed by many users and devs in various forums, RR is largely deviated from LOS standards (though RR uses standard LOS kernel). so, you guys can expect issues ...

you mean camera black screen issue or random reboots/finger print sensor? I only have camera issue after a clean install of LOS 0816 build (with Magisk 13.3)

I don't have both issues yet. and unfortunately kltekor not yet received 0822 build to test :crying:
[Samsung Galaxy S 5 Unified Development] Keller0088:
Awesome Kernel!! I went to the previous version and everything is ok, Idk what happened but idc, im so good with this one, im usong SmartMax governor and its great in terms of perfprmance and battery! :D
[Samsung Galaxy S 5 Unified Development] mush_hussein:
Which variant?

I am using S5 duos
[Samsung Galaxy S 5 Unified Development] Ellcid01:
No problem with FP or reboots here on latest LineageOs

---------- Post added at 06:36 AM ---------- Previous post was at 06:36 AM ----------

Klte*
[Samsung Galaxy S 5 Unified Development] mush_hussein:
How about battery ?
[Samsung Galaxy S 5 Unified Development] Ellcid01:
Last time i complete charged
[Samsung Galaxy S 5 Unified Development] Ellcid01:
Wrong pic this with 8% u.u
[Samsung Galaxy S 5 Unified Development] mush_hussein:
Thats too bad

I heard 29th march has awesome battery life without flashing any kernels
[Samsung Galaxy S 5 Unified Development] HatchetEgg:
No I mean finger print sensor not working all the time. plus the touch screen seems unresponsive.
[Samsung Galaxy S 5 Unified Development] Keller0088:
I'm using a 900V
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Need testers and little help...

Edit: Never mind guys... I think I found the real issue. I'll push new builds which will hopefully fix the issue later today... but you guys are still welcomed to test the provided builds as well as checking my source for more bugs :p

Guys... I seriously need little help and some klte testers (LOS)...

After many research, I think I found the reasons behind the camera black screen and fingerprint (and likely many other) issues. When I manually made boot.img (instead of anykernel method) using my kernel zImage, everything seems fine in my kltekor (and I hope the situation will be same in klte and other devices too). So, the issue will be somewhere on my anykernel script and I'm presently looking on that. If some of you have more expertise in anykernel, please help me to solve this issue, it will be really really helpful to me. The link to my anykernel folder is available here...

Here I'm attaching test builds for klte and kltekor. Please note that these are recovery flashable "boot.img" zip file and it only meant for Lineage-OS and nothing else. If you guys need to test on RR (or some other ROMs), you need to manually unpack and boot.img and replace LOS ramdisk with RR one (or send me the stock RR boot.img and I'll do that job for you). Looking forward to see your comments and any possible help from you guys...

Thank you guys in advance... Download links to the test builds are here...

/* Downloads */

klte

kltekor
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
New anykernel test build for klte...

Guys, it seems like the issue is fixed in kltekor (still using anykernel method).

Is someone willing to test in klte? If so, here I'm attaching a test build. Kindly let me know if the issues (especially Camera black screen) is solved or not... Since it is anykernel zip, you guys can flash this Kernel over any aosp nougat ROMs like LOS, RR, crDroid, ViperOS etc...

Waiting for your replies... and I'll push builds for other variants only after someone tested and confirmed that this build is fine... and new builds for SmartPack-Lite (with all of these fixes) will come soon...

Thanks in advance...

/* Download */

klte
[Samsung Galaxy S 5 Unified Development] dan13l3:
I can flash this test on RR Nougat 7.1.1_r21 ("old version")?
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
ofc, it should work on any recent LOS/RR/crDrdoid etc... Plz test and comment (especially camera)...
[Samsung Galaxy S 5 Unified Development] dan13l3:
Recent? So... not for me!
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Is it too old? within 1-2 months are okay (I guess). Anyway, don't forget to back-up your boot.img in twrp...
[Samsung Galaxy S 5 Unified Development] dan13l3:
Mine rom is RR-N-v.5.8.2-20170304-klte-Official... 6 mounts old!
[Samsung Galaxy S 5 Unified Development] Blackburn119:
After you modified intelliplug settings in the latest version it keeps CPU running at 1574MHz at minimum and up to Max at 2457MHz, and my device is getting heat up a bit.
[Samsung Galaxy S 5 Unified Development] HatchetEgg:
I will test this aswell, I will inform you for my findings on my RR ROM
[Samsung Galaxy S 5 Unified Development] harise100:
Tested with latest LOS klte release: Camera works!
[Samsung Galaxy S 5 Unified Development] PeanutBR:
Hey I tested on crDroid and it worked fine, after a while it randomly rebooted and the camera stopped working(Camera Black Screen).
[Samsung Galaxy S 5 Unified Development] Blackburn119:
What did you do to intelliplug settings?

My device's CPU is running 100% maximum speed by default after reboot.
[Samsung Galaxy S 5 Unified Development] PeanutBR:
I just installed it and until now I don't have any issue.

Edit: After checking the CPU configs, it shows that my CPU is running in at 2457MHz max and 1574MHz min.
[Samsung Galaxy S 5 Unified Development] mush_hussein:
Gave random reboot to my s5 duos ;/

Flashed klte
[Samsung Galaxy S 5 Unified Development] adahkennedy:
Plz g900h need kernels

Over LOS ROM base is great

Support k3g
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Thanks. any updates?

Thanks... great... it atleast works on LOS...

weird... I also got a random reboot in LOS, but the camera still works fine... may be wiping cache/dalvik cache will help. Btw, thanks for testing...

Plz check my github page to know what I exactly did on intelliplug. Btw, although minimum freq is not stable in the initial time, it eventually attained minimum. I suspect that the screenshot you attached is taken just few minuets after the device boot-up? Otherwise, how I got this... may be you can try another hotplug (I found that Alucard is also doing a good job)... and as I already said, make sure that mpdecission is disabled (and all the hotplugs disabled if zzmove is activated).

Thanks for testing. Agreed. I also found that the minimum frequency is not stable in the initial time. However, it eventually settled in to minimum after a short time. See the attached screenshot. Btw, IS camera working fine?

Bro, what make you to install klte build on klteduos :confused: why don't you wait until I push the separate klteduos build :(

It is expected that the klte build will make issues on the duos model (one SIM deactivated + likely some other). btw, have you tested camera (that was the main purpose of that test builds)? Thanks, anyway, for testing...

Extremely sorry friend. G900H has a totally different CPU (exynos). I don't have that device and no plan to get one :D And it is impossible for me to blindly devlop for any device.

For all, I getting more and more busy on my personal and professional life, I'm even thinking about stopping some of my already running Kernel projects. In that case, I might stop SmartPack-Lite and my unofficial Boeffla for kltekor and will focus only on this Kernel. To make SmartPack-Lite users happy, I will definitely make SmartPack little more lighter :laugh: Any comments?
[Samsung Galaxy S 5 Unified Development] PeanutBR:
WE should thx you for this awesome kernel haha. And yeah the camera is working fine, until now I didn't get random reboots. If something like that happen I will report you.

Edit: I'm facing some problems with the fast charge. Even with the option enabled the fast charge won't work. I checked with the app called Ampere and it shows 1800mA.

It was working in the previous version of the kernel that I was using from 08/02. I tried to install this version again and it didn't work either.
[Samsung Galaxy S 5 Unified Development] HatchetEgg:
The issues still exist unfortunately.
[Samsung Galaxy S 5 Unified Development] j1gga84:
It seems like LineageOS team is working again on the kernel:

https://review.lineageos.org/#/q/project:LineageOS/android_kernel_samsung_msm8974

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Samsung Galaxy S 5 Unified Development] PeanutBR:
Does someone have the fast charge issue too?
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Have you ever noticed more than 1800 mM. As I understand from the source code of Yank555's fastchag driver (the one available in this kernel), 1800 mA is the usual fast charge rate (mentioned as FAST_CHARGE_FORCE_AC in his source code). To get 2100 mA (mentioned as FAST_CHARGE_FORCE_CUSTOM_MA), you probably need to do some command-line jobs (and I never did).

Its really weird to realised that the camera is working on LOS and not on some other ROMs :confused:

yes, I also found many works going on Haggertk's personal repo. There might be some big updates soon and it will hopefully solve many issues...
[Samsung Galaxy S 5 Unified Development] HatchetEgg:
The Camera works fine, just the touch screen stops working and fingerprint sensor
[Samsung Galaxy S 5 Unified Development] PeanutBR:
To be honest when I first installed your kernel and activated this fast charge option I checked the mA with these app and it showed 2800mA. So idk maybe it passed through an update or something. Do you know like how fast it can charge? Like with 10% battery how fast can it charge till 50%? So I can have an idea if it is really working.

Btw I will unistall Lspeed just to see if it's Lspeed that is making it get messed up.

Camera, Fingerprint Scanner and Touchscreen are working fine.

---------- Post added at 11:27 ---------- Previous post was at 10:38 ----------

I just got a random reboot and now camera is not working. I am using the 26/08 kernel's version.
[Samsung Galaxy S 5 Unified Development] Blackburn119:
That's a big jump because he may prepare for Oreo 8.0 I guess
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Sorry for the delayed reply. About charging speed, I think it roughly 1 % per minute. and about reboot, don't worry abt that. I think I fixed everything (tested only on LOS/kltekor) . I'm presently testing an almost newly build kernel without any issues for about a day. I'll test for one more day and push new stable builds tomorrow. Meantime, you might go back to stable-v9...

Edit: if anyone willing, I'll provide test builds for klte tonight?
[Samsung Galaxy S 5 Unified Development] furkaan28:
I can test
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Here is a test build (klte only) for [MENTION=6018432]furkaan28[/MENTION] and anyone else interested... As I mentioned in my previous post, it is like a brand new kernel. You will not find few thing (some hotplugs, cpugovs etc) that were available in the old builds... I also removed some of the recent changes (like power suspend and the corresponding adjustments in intelli_plug and zzmove). I tested the kltekor (on latest LOS) version for almost a day with nightmare: intelli_plug/alucard hotplugs and all seems fine (presently testing zzmove without any hotplugs enabled).

If you found any bug, plz remember to mention your ROM while reporting. Waiting for your comments. Thanks in advance...

/* Download */

klte
[Samsung Galaxy S 5 Unified Development] mush_hussein:
Do something for klte duos

PLEASE

YOUR WORK IS ALWAYS APPRECIATABLE
[Samsung Galaxy S 5 Unified Development] furkaan28:
so far its good with my own rom.. give me one day to test

Edit : again black camera??

Panorama mode works though
[Samsung Galaxy S 5 Unified Development] londonbabs:
Not sure if klte was meant for this device model (I believe you also usually release kltevzw build, or is it supposed to be this one? I always get confused with your kltev...), but I had a quick try to give it a whirl.

On SM-G900V

Using RR-N-v5.8.4-20170812-klte-Official

I set the kernel to:

CPU zzmove (btp profile)

No hotplug

GPU powersave

Admittedly, I didn't use it too long, and most of it worked ok. But, I noticed a couple of things. The CPU was a bit hotter than usual (over 60°), and I kept getting an error when opening the camera (can't connect to camera).

Other than that, it looked good enough.

I had to revert, once again I suppose this build wasn't exactly meant for 900V.

But if you need a kltevzw build tested, I don't mind (I may not get time to test it fully before the weekend though, but I can try). I could even manage to get you some kernel logs, if that's any helpful.

Let me know, and thanks for the hard work, as always!
[Samsung Galaxy S 5 Unified Development] furkaan28:
Ok this is really weird.. It begins to work if i play around with the camera.. I open camera app.. Open another camera app, open snapchat, open camera again and it works again

Edit : still random reboots
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
I'll build for klteduos today...

I also noticed that issue only once. Black screen on Snap camera. At the same time Camera in FB messenger, whatsapp etc works fine... but camera is mostly okay in LOS

You can safely use klte build (since LineageOS merged kltevzw build with klte). Are you getting "can't connect to Camera" or simply black screen on Camera?

Btw, thanks to both of you for early testing...
[Samsung Galaxy S 5 Unified Development] londonbabs:
Aw, so yes, maybe not absolutely perfect yet. I didn't use it long enough to check if any reboot were to occur, but now that I remember, I think I also couldn't reset APN somehow.

It opens, but hangs, then I get the error message in a popup window before it can fully launch (app frame is there, but the inside camera window is black yes), and it crashes. I tried a few times, rebooted, but still the same. Not sure if this is what you guys experience?

I also didn't try any other camera app, I'm sorry to say.

You're more than welcome, thank you for your work and for helping us get a great kernel :good:

If you need another build tested, I'll try to find some time to test it more thoroughly.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Guys, I'm still holding the next update since the issues are not fully fixed...

As I said, here I'm attaching a test build for [MENTION=6952142]mush_hussein[/MENTION] and any other klteduos user. Hope to give some good news to all others soon... download links are here...

/* Download */

klteduos
[Samsung Galaxy S 5 Unified Development] Blackburn119:
Klte korea have no issue with this kernel but the real issue is that there's no new build for 2 weeks
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Agreed. I hope kltekor will get a new LOS build tomorrow. Anyway, my kernel is already up-to-date :p
[Samsung Galaxy S 5 Unified Development] mush_hussein:
Alright..thanks for the effort..will flash today and let u know..

Between any settings u might want to suggest..plesse go on.
[Samsung Galaxy S 5 Unified Development] mush_hussein:
After flashing this..setting cpu to smartmax

Phone rebooted automatically in an hour..

And battery drain was the same.

:(
[Samsung Galaxy S 5 Unified Development] culiacanazo:
Yes. Thank you. And I hope you don't completely abandon klte, since you are one of the greatest. SP lighter is fine, too!
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Try a different cpugfreq gov (my fav: nightmare) and different cpu hotplug (my fav: intelli_plug). Don't foeget to disable mpdecission while using a different hotplug or zzmove cpufreq gov. Hope you will get some better battery performance.

Thanks. and I'm not stopping klte or SmartPack. I only stopped SmartPack-Lite...
[Samsung Galaxy S 5 Unified Development] j1gga84:
LOS kernel seems to have been updated:

https://github.com/LineageOS/android_kernel_samsung_msm8974/tree/cm-14.1

And they are even already working on LOS 15.0 :)

https://github.com/LineageOS/android_kernel_samsung_msm8974/tree/lineage-15.0

regards