yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] PeanutBR:
can someone share your kernel configs for a good battery life and performance please? I've been trying to understand these governor things and omg I'm so lost hahaha
[Samsung Galaxy S 5 Unified Development] Drhedphuk:
If you go back a couple pages you will see that [MENTION=6578237]saber h[/MENTION]as a post about his configs.
[Samsung Galaxy S 5 Unified Development] jeremeel2015:
anyone knows a good CPU governor for gaming aside from conservative?
[Samsung Galaxy S 5 Unified Development] brickhayabusa:
intelliactive / nightmare + alucard
[Samsung Galaxy S 5 Unified Development] snk3:
For gaming the best set is:

Gov: Performance

Hotplug: Alucard

GPU Gov: Performance

My games run smoother with these selected.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Thanks for helping each other in a place in which I have absolutely no base (gaming) :p Really appreciable... :good:
[Samsung Galaxy S 5 Unified Development] snk3:
The battery life is also better, with this set my phone spent 3% in a night. Using "nightmare/lionheart + alucard" it was about 8-10% each night, besides the low performance while gaming.
[Samsung Galaxy S 5 Unified Development] mush_hussein:
Hello

I am Using sm g900fd Resurrection remix rom build date 20170618..

This has devasting battery draining problem when using..

When the phone is idle battery is good..

Please help..i habe no idea abt kernels and all stuff

I only know how to root and flash roms...
[Samsung Galaxy S 5 Unified Development] Mrcactuseater:
If you have no idea about kernels, flash back to your ROM and do some googling about kernels. The battery drain is also most likely user error.
[Samsung Galaxy S 5 Unified Development] mush_hussein:
I did not flash amy kernal though..

But want to improvise..someone gave me this link..thought it might b of help
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
In my suggestion, 1. flash the latest Resurrection remix rom 2. flash latest kernel for your device (I guess it is klteduos), 3. Install KernelAuditor from the playstore and 4. play with cpufreq govs, cpu hotplugs cpu voltage etc... hopefully you will find a battery saving configuration. I do remember that some one posted their favorite settings in this thread (not sure abt the page number)

PS: if you don't want to update your ROM, you probably need to flash my kernel released on or around your ROM build date (latest kernels sometimes makes isuues).
[Samsung Galaxy S 5 Unified Development] mush_hussein:
I have flashed smart pack kernel klte duos 2nd August update...did not customise anything...what all do i have to set for good battery life and. Performance?
[Samsung Galaxy S 5 Unified Development] ozzycao:
Hello Sunil! You know that I am a great admirer of your work. And I use CrDrooid as the basic ROM. But since the last version of SmartPack and this ROM, I just could not hear anyone talking when I got my calls ... and neither could the other person hear me when I called. So for some time I had to give up SmartPack. Then everything went back to normal. If I can help in any way, just say so!
[Samsung Galaxy S 5 Unified Development] mgp53:
Untick the apply on boot for sound.

Sent from my SM-G900T
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Some tips for you... check tis page, you can hopefully found some tips... https://xdaforums.com/galaxy-s5/uni...ct-kltexxx-t3564206/post72934239#post72934239

Thanks for the nice words [MENTION=4248354]ozzycao[/MENTION]... and as [MENTION=4567505]mgp53[/MENTION] said, just uncheck "Apply on boot" on the sound tab... that's it...

PS: hope you don't have any saved profiles with specific sound gain values. If so, better remove that too...
[Samsung Galaxy S 5 Unified Development] brickhayabusa:
can you change the sound default values to 5?

plz.
[Samsung Galaxy S 5 Unified Development] Zotho:
Have you tested RR and SmartPack? I try intelliplug now, aluplug later...

RR seems pretty good, but the battery performance of the latest builds is really bad. Coming from stock MM ROM this was shocking, using Greenify and Amplify ...
[Samsung Galaxy S 5 Unified Development] ozzycao:
With Kernel Auditor, right?
[Samsung Galaxy S 5 Unified Development] mush_hussein:
Your settings mutes my calls..:/

Not working..any other good idea?
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Can you be more specific? Which gain do you mean?

mm... agreed... I recently tried the latest unofficial RR build. Thanks [MENTION=6018432]furkaan28[/MENTION], the ROM is awesome. However, battery life seems not good as that of LOS. Don't know why. Probably RR team is preparing some big updates or re-base (since there is no official update for almost a month).

Yes brother...

It is not because of my settings. As explained several times in this thread, it is likely due to a conflict between the pre defined sound gain values (by myself) and the personal favorite gain values applied by you in the Kernel Auditor. For a solution, remove the "Apply on boot" from the Kernel Auditor ---> Sound tab and reboot. It will hopefully fix your issue.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
There is no changes in the LineageOS kernel source code last week (and I'm running out of ideas :p ). So, our kernels (both SmartPack and SmartPack-Lite) dated 20170802 (v9) are up-to-date and you can safely use over today's LOS builds... Thanks...
[Samsung Galaxy S 5 Unified Development] Saber:
Hi [MENTION=7060205]sunilpaulmathew[/MENTION],

If you don't mind, I have some suggestions for you:

- Change toolchain back to Linaro - Yes I know, performance difference is marginal, if not, not even present. But I know Linaro is good in my kernel building experience
- Update SIO to SIOplus. Includes performance fixes in certain workloads
- Fix IOPs mode for CFQ on SSDs - Relevant patches: [URL="https://github.com/dorimanx/DORIMANX_LG_STOCK_LP_KERNEL/commit/f4ad9674013a704fc638ff6a7d01187e55dd7cf3"]#1[/URL] and [URL="https://github.com/dorimanx/DORIMANX_LG_STOCK_LP_KERNEL/commit/aa3bb6de8206fe91a8b12aca8f9bb4dfb080fdd3"]#2[/URL]
- Optimize Deadline for SSD/Non-rotational disks - Relevant patches: [URL="https://github.com/dorimanx/DORIMANX-OP3T-KERNEL/commit/6d74da83e339b4787ef52b266b4be6f33ae53472"]#1[/URL]
- Tune UKSM for android devices - Relevant patches: [URL="https://github.com/gsstudios/Dorimanx-SG2-I9100-Kernel/commit/7a618169b5152282fa968dd7e4a0cda810f6ccb1"]#1[/URL] and [URL="https://github.com/gsstudios/Dorimanx-SG2-I9100-Kernel/commit/f66c8f64fca3217fcaa86e16047df12824711646"]#2[/URL]

Mainly IOsched changes to help with performance, and other minor things. I can help with these if any issues do occur since I have these changes in my personal kernel.

You can take this list down with fire, I don't mind :) You've been a great contributor to the S5 community for your wonderful work.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Wowww... So much ideas... and so much details... ur awesome... Thanks a lot... and also for the nice words :)

The toolchain is already changed into Linaro in the last update itself though I forget to mention in the changelog. and yes, I'll work on your suggestions...

Btw, I think I'm not a great contributor to S5. I simply used the code from other good developers repos and arranged in my own way... :p:p:p

Edit: I added iosched-sioplus + all the patches suggested by [MENTION=7005908]saber.[/MENTION] I will test for a while and push the builds later...
[Samsung Galaxy S 5 Unified Development] brickhayabusa:
The main gain are the mic value, because with 10 when i call someone sounds too low.

The others are ok.

Sorry for my english, time without use it xD
[Samsung Galaxy S 5 Unified Development] mush_hussein:
I never switched apply on boot.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Let me check the possibilities. However, increasing speaker gain also increases the noise. you can also manually increase the speaker gain value (but not sure whether "apply on boot" will make issues or not...

Then I don't know. I can't find any other reason that mute the in-call sound... :confused:
[Samsung Galaxy S 5 Unified Development] HatchetEgg:
I noticed that the sampling rate for Alucard hotpluging, keeps setting its self back to "Not in range" within kernel auditor.
[Samsung Galaxy S 5 Unified Development] Ophidian_DarkCore:
[MENTION=7060205]sunilpaulmathew[/MENTION] How about pulling the f2fs code from jaegeuk's 3.4.y? there is also exfat-nofuse(dorimanx) to speed up exfat for those that use it on the microsd

edit: how about cutting all debugging to basically make a release mode kernel? Im not sure what your config looks like but all the junk in the kernel hacking category of the ncurses gui is what i mean. this is an example https://github.com/lgrootnoob/andro...aca2bf602a/arch/arm/configs/grouper_defconfig
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Sorry guys... I was bit busy last few days... [MENTION=6018432]furkaan28[/MENTION], Thanks for the suggestion about Nightmare governor. However, I'm not aware abt doing that things at this moment. So, may be in future. Btw, the LOS kernel source is totally re-based last day. So, I'm also forced to re-base everything (it will be more easy to re-base, rather picking thousands of commits from the source). :p

If everything goes well, I'll soon provide much better and fresh builds... stay tuned...

Thanks for reporting. I'll look on that later (after finishing the re-base)...

f2fs is already a part of Lineage OS (Isn't it?). I'll check your other suggestions like exfast later. Thanks...

Btw, what you mean in the last part. I can't understand clearly... kindly give more details...
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Test builds...

Need testers... anyone plz...

Hi all... SmartPack is now fully re-based (since LOS kernel is largely modified). All the patches suggested by [MENTION=5811506]Saber[/MENTION] is also added. Everything seems working great in my kltekor. However, I like to get some comments from klte users. Here I'm posting three test builds (two for klte and one for kltekor).

Note to klte testers: please flash both builds (test1 and test2) one after another and test everything (most importantly Camera).

Note to kltekor testers: please test everything including Camera...

For all testers: please test overall stability and smoothness of the kernel...

[MENTION=4699854]j1gga84[/MENTION] can you also test if you have free time, though you are on SmartPack-Lite. Btw, test builds for SmartPack-Lite will be coming soon.

Test builds are here...

kltekor_testbuild1

klte_testbuild1

klte_testbuild2

PS: My personnel settings are cpufreq gov (nightmare): CPU hotplug (Intelli_plug): CPU voltage (-50): IOSched (SIOPLUS): TCP (Westwood)
[Samsung Galaxy S 5 Unified Development] bongmasta:
thx man! im a klte user, using test2 now

first i had a black cam but when i changed to a lower resolution it worked!

using intelliactive as before + row

edit: that was for open camera...

with google cam, camera fx, a better camera it worked out of the box

Gesendet von meinem SM-G900F mit Tapatalk
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Thanks a lot for testing... I will appreciate your quick testing and comments... So, I think I can confidently push new builds :p

Btw, I have some questions?

Have you tested Google cam, camera fx, a better camera etc on test1? Are you on an LOS based ROM? If so, how abt the default SnapCamera?
[Samsung Galaxy S 5 Unified Development] bongmasta:
ah sorry, yeah ressurection remix lineage os's cam was that, i just called it google stock and i didnt test the others on klte1 :(

im on a mountain atm and dont want to flash back to klte1 atm, but in 4h!

Gesendet von meinem SM-G900F mit Tapatalk
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
ha ha ha... its okay... no issues... I already tested SnapCamera myself and found the same black screen (occasionally)... may be SnapCamera issue... Enjoy the beauty of hill top :)
[Samsung Galaxy S 5 Unified Development] HatchetEgg:
[MENTION=7060205]sunilpaulmathew[/MENTION]

I have flashed test 2 and all seems good apart from, the touch screen was unresponsive when device was woken up from sleep for a few hours.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
I haven't noticed that issue yet. Shall we wait for the next release of LOS/RR (or your fav ROM). Since the code is largely modified, I expect the next LOS build will solve many of the issues....
[Samsung Galaxy S 5 Unified Development] bongmasta:
i tried klte1 as my performance was really bad but then my cameras didnt work anymore :(

flashed back to klte2 but still nothing, but i dont care because my leg is broken lol

Gesendet von meinem SM-G900F mit Tapatalk
[Samsung Galaxy S 5 Unified Development] Ophidian_DarkCore:
oh you mean they update it? in my experience cm never kept f2fs up to date except for one-off chances then it goes out of date for a long time.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Mm... Don't know they are updated or not... But I don't want to do it myself... I prefer to stay with LOS... Sorry...

You should reflash the kernel after each and every time after flashing ROM since the ROM boot.img will replace my kernel...
[Samsung Galaxy S 5 Unified Development] j1gga84:
This is excactly what I observed on smartpack lite also.. Beside of that I also had random reboots from time to time when device was idle.

regards
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
New builds...

Stable release: v9_r1

Changes: The source is fully re-based (since LOS kernel source is re-based by the development team). All the commits suggested by [MENTION=5811506]Saber[/MENTION] is included... Since the source is largely modified on Aug 14th, I suggest all of you to use this build with the new LOS builds (supposed to be out tonight) or an equivalently new ROM (preferably released within 2 day)... Special thanks to all the testers :p

Cheers...

/* Downloads */

[B][COLOR="Red"]Always remember to download the latest build (dated 20170816)[/COLOR][/B]

kltekor

klte

klteduos

kltedv

kltespr
[Samsung Galaxy S 5 Unified Development] mush_hussein:
anyone here

using resurrection remix august update on s5 duos sm g900fd ?

sometimes i feel like there is connectivity error on lte

also if anyone has flashed smartpack kernel august update,what are the best settings to be applied for battery and overall performance..please tag me or help me with it.
[Samsung Galaxy S 5 Unified Development] Xendetor:
Okay for me the camera doesnt work. Only black. Stock camera in RR rom
[Samsung Galaxy S 5 Unified Development] HatchetEgg:
I updateted to the latest kernel an on AOKP that was built on the 16th, But I am experincing reboots , and a unresponive touch screen after wake.

Edit-- I am now unable to boot back into my phone and is stuck before the boot animation. But wiping the ART and cache again seems to have solved it temporarily.
[Samsung Galaxy S 5 Unified Development] Ellcid01:
Flashes with aokp build from today and facing any problems, with lineageOS its good too
[Samsung Galaxy S 5 Unified Development] jrubi.arseven:
I clean flashed the latest lineageOS and smart pack kernel but I still get random reboots and sometimes the fingerprint will not work until reboot. When the reboot happens it does get stuck until I remove battery any suggestions? I really like this rom
[Samsung Galaxy S 5 Unified Development] j1gga84:
I had exactly the same issues and it seems that there are more klte users with issues on smart pack Lite.

I don't think it is ROM related.

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Guys, I'm extremely sorry for not replying in my threads. Don't thing that I'm ignorant. Its because, for the first time in my past 3 yrs of Korean life, I lost internet (for some unknown problems) in my home (and the situation continues till their service visit on Monday). Now I'm writing this message from an outside coffee shope using their free WiFi ;)

Btw, I'm now joining with [MENTION=4699854]j1gga84[/MENTION] and party. I'm also faced a couple of random reboots in the latest LOS build and also the fingerprint related issues. But not yet tested the stock LOS kernel.

As soon as my net connection issue is solved (hopefully on Monday), I'll work on solving those issues. In the meantime, it is adviced to use v9 (as per [MENTION=4699854]j1gga84[/MENTION] and the others suggested). One again sorry for all the inconvenience and thank you for your support and helping each other...
[Samsung Galaxy S 5 Unified Development] Blackburn119:
I got random reboot too on stock kernel after clean installed a build from 0816.

Why don't you use LTE instead of waiting for Wifi? Or perhaps LTE cost is expensive?
[Samsung Galaxy S 5 Unified Development] HatchetEgg:
Thats ok thanks for letting us know.

I found out in the end it's not the Kernel that was causing my issue (Even tho it happend after I flashed it). It terns out it's magisk manager is causing my phone to be unresponsive to touch inputs and random reboots.

Still figuring out how I can solve this tho.
[Samsung Galaxy S 5 Unified Development] Blackburn119:
SuperSU is working on their own version of su hide and bypass safety net, it will be stable during Android O release.
[Samsung Galaxy S 5 Unified Development] j1gga84:
I am "glad" that you also facing this issues.

But if it is also on stock LOS kernel somebody should open a bug report in jira. I don't think it occurs on stock kernel because if that would be the case a lot of users would scream in the LOS thread ;)

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Guys, I'm back (my internet connection too). I again did some modifications in the source. I clean installed latest LOS as well as SmartPack (not Lite). Will test the same for a day or so (so far no issue)...

Thanks for the information.

About LTE, I don't have a working LTE plan in Korea (and so, it is really expensive to access LTE without a plan).

May be true, but absolutely no proof atm. I'm using the exactly same code (regarding the added features) before and after re-base though it is likely that i did some stupid mistakes somewhere. Btw, I'm also using Magisk while getting the error...

ha ha ha... nice :laugh:
[Samsung Galaxy S 5 Unified Development] deary:
I've installed Resurrection Remix for my g900f and your kernel and am having trouble playing Bluetooth music with Poweramp to my car. It's choppy/audio stutter.

I've read that it's got to do with the governors, so I'm playing with those settings.

One setting, playing is ok but battery is bad, other setting is other way around.

Anyone here who had the the same problem and has a good battery/player experience?
[Samsung Galaxy S 5 Unified Development] Blackburn119:
Just found out that nothing is wrong with SP kernel and stock kernel, it was all magisk's fault which caused random reboot now I'm back to super SU.
[Samsung Galaxy S 5 Unified Development] Blackburn119:
Android 8.0 Oreo is officially out, expect many many more new bugs to come to your ASOP roms next year.

As I remember from last year the first CM/LOS 7.0 build took 3 months all the way to November.

https://www.xda-developers.com/android-8-0-oreo-google-released
[Samsung Galaxy S 5 Unified Development] j1gga84:
I hope that development for oreo will not start that early or that development for nougat will continue because I hope that it will become as stable as MM became and that battery consumption will be optimised much more.

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Thanks for the info...

Do you guys think that klte will get an Android O ROM (aosp/LOS)?
[Samsung Galaxy S 5 Unified Development] culiacanazo:
We will, according to hookiealumnus
[Samsung Galaxy S 5 Unified Development] Blackburn119:
Sure it will but soon Lineage devs will mess their rom again with another rebase and heavily modify device trees.
[Samsung Galaxy S 5 Unified Development] mush_hussein:
S5 duos running resurrection remix.

I have been continuously reporting about the battery problems.. yesterday I have clean flashed the resurrection ROM thinking that I might have done something wrong but today while using battery drained 15% in just 12 minutes I have browsed Instagram and played Clash of Clans only.

I really need help guys.

Have tried all possible methods.
[Samsung Galaxy S 5 Unified Development] HatchetEgg:
Yer there is something not quite right, I switched to another ROM and completely reformatted my device, apart from inter/ext storage and all is OK
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
I'm excited... thanks for the info...

seems like you have some issues with LOS devs :p. btw, you already said that there is nothing wrong with LOS kernel after re-base... is it?

mm... nice to know that all is 'OK"...
[Samsung Galaxy S 5 Unified Development] Blackburn119:
Because LOS devs have too many devices and not enough time/staff for testing.

Nothing wrong with LOS kernel but it doesn't mean it's better than the good old CM13 back then battery life and ram management was way better than LOS.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
New builds...

Stable release: v9_r2

Powersuspend (credits: faux123) is added (should be accessible in KernelAuditor---> Misc). I did some modifications to zzmove and intelliplug (to accommodate powersuspend)... Some broken codes are also removed from the source... everything seems stable & smooth in my LOS/kltekor (except the occasional camera issue)...

Download links are here... Enjoy...

/* Downloads */

[B][COLOR="Red"]Always remember to download the latest build (dated 20170823)[/COLOR][/B]

kltekor

klte

klteduos

kltedv

kltespr

PS: no update for SmartPack-Lite this week since the kernel is already up-to-date with LOS kernel source.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Plz try the klte variant. Kindly update me the status...

Regards...
[Samsung Galaxy S 5 Unified Development] Legitsu:
some suggestions if you wanna learn more about patching kernel features in

dynamic fsync

frandom (faster version of /dev/urandom

faux sound

zzmove gov and zzmove hotplug < easy like all governors just a C file

dynamic fsync is sorta a big deal I highly recommend you implement it

frandom only provides big gains if you are using a lot of ssl/secure connections/
[Samsung Galaxy S 5 Unified Development] Thefmaximo:
I'd like to give the feedback about your kernel, [MENTION=7060205]sunilpaulmathew[/MENTION]

My phone is a Galaxy S5 DUOS(KLTEDUOS)

I'm using it since march 1st, and so far so good it is pretty stable. I was able to undervolt -90mV and didnt have a single random reboot yet.

Because of this, my phone is running cool.

Talking about battery: since nougat, I was having problems with standby draining. I already tested all AOSP ROMs available for my phone(Lineage, Cosmic, Mokee, RR, CrDroid), and I always had draining even without wakelocks, and even with everything off(wifi, mobile data, gps, sync, etc) I was having more than 10 percent draw at night, even my phone in deep sleep and dozing. But this changed with CrDroid 2.2, where I am having 3 to 4 percent of overnight drain, with the own ROM kernel. When I installed your kernel, the battery draining increased compared with CrDroid kernel, but it was still better than on Lineage.

Maybe you could check which kernel CrDroid maintainer is using. I dont know if he's using Lineage Kernel, but you could try a build for Duos based on his kernel, to combine standby draw + stability your kernel already have.

So far I'll stick with your kernel because I like my phone running cool.

Thank you for the support and I hope you continue to maintain this nice kernel