yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] Muhammad Tajy:
Battery is really bad on FD since the last updated
[Samsung Galaxy S 5 Unified Development] silva_dump:
Use Mr.saber's tweeks

Definitely it improved my battery life

Now iam getting around 4 hours of SOT

Previously it was around 3-3.5 hours
[Samsung Galaxy S 5 Unified Development] :
Right on, Saber. You're a legend with these setups.
[Samsung Galaxy S 5 Unified Development] kenedielh:
Can you show with screenshots how to apply zzrelax in kernel auditor
[Samsung Galaxy S 5 Unified Development] Drhedphuk:
Go to CPU > CPU Governor tuneable Scroll down to Profile Number, delete the 0 and type 11

You should then have zzrelax
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Guys, I'm back. Thank you very much for all of you for helping each other and make this thread live. :p

Now the question is ... Which tool-chain should I use from next builds onward? Linaro-7.2 or UBERTC-8.0?

Nice. It will be really useful for all of us. Thanks.

[MENTION=4326892]The~Skater~187[/MENTION]

Sorry, I saw your message, but haven't got a chance to write a reply since I was too busy with many many personal things. Anyway, nice to know that you found the right references and succeed to build your kernel (also noticed your screenshot in Venom thread). :good:
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Honestly, we (me and [MENTION=4326892]The~Skater~187[/MENTION]) both uses a lot of drivers (and even building toolchain) in common. Both have its own advantages. If you have patience, you can easily find good configurations (just like [MENTION=5811506]Saber[/MENTION] did) for smother and battery friendly experience. It will be much easier than asking to others (simply my opinion). Further, no one else can exactly predict your SOT and performance because it all depends on your ROM/installed apps and so on. :)

Friend, is it really *bad* compared to stock kernel? Which ROM are you using? Are you on a latest build of LOS/RR etc? Have you tried the settings suggested by Saber and others? If it is too *bad* than stock kernel, then, I probably think about stopping klteduos build.
[Samsung Galaxy S 5 Unified Development] Muhammad Tajy:
Battery and performance were always great on RR with this kernel until the latest build. I just applied saber's settings to test. I will try using other batteries to see if the problem is from by battery.
[Samsung Galaxy S 5 Unified Development] Muhammad Tajy:
Battery life improved a little bit with saber's settings but when I flashed stable v11 both the performance and battery are great again.
[Samsung Galaxy S 5 Unified Development] Mrcactuseater:
I would prefer the Linaro-7 in my own personal experience. :)
[Samsung Galaxy S 5 Unified Development] j1gga84:
I had 2 random reboots with linaro build but I updated my ROM yesterday to latest unofficial RR build by Blackjubel which was compiled with sabermod and gcc 6.0

So it can also be ROM related but I am not sure.

Besides of that I would also say that linaro is better than UBER toolchain.

Regards

Sent from my SM-G900F with Tapatalk
[Samsung Galaxy S 5 Unified Development] Jiimmy97:
Iam recently flashed this rom your opinion to flash toolchain linaro or still on stock sabermod ??
[Samsung Galaxy S 5 Unified Development] mgp53:
I also have had reboots. No particular cause. Going back to nightmare gov.

Sent from my SM-G900T
[Samsung Galaxy S 5 Unified Development] Kmailknopf:
Best kernel 4 S5. Thx
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Stay with whatever build you like. All are same expect toolchains...

Counted :p

I don't know if toolchains make issues. However, if you are on latest official RR, it might be a cause (still not sure) since it is more than one month old and many of the recent LOS commits are not included in that build. However, if you are in the latest unofficial RR, either [MENTION=6018432]furkaan28[/MENTION]'s or Blackjubel's build, I expect all work nicely...

Are you on RR (unofficial/official?) or LOS?

Thanks for the nice words mate...
[Samsung Galaxy S 5 Unified Development] kenedielh:
Please help me whenever i add sound and speaker gain i broke the mic people can hear me in phone calls
[Samsung Galaxy S 5 Unified Development] j1gga84:
It really could also be governor related..

I was using interactive for a long time and had zero issues.

A few days ago I applied the suggested settings from [MENTION=5811506]Saber[/MENTION] with zzmove and using Kernel Samepage Merging

but after trying it for a few days now I cannot see much or any improvement to my previous setup.

I don't think that zzmove with zzrelax profile is really better than interactive.

okay, zzmove scales much better than interactive but it also uses the full range of the higher frequencies while interactive

uses only a few frequencies and therefore max frequency is used much more.

In my personal opinion you can do what you want but battery life will never be better or as good as on MM.

Latest RR 5.7.4 by Blackjubel gave me the best battery life ever on my device using a LOS/CM based custom ROM.

I hope that it will become better on Android O but I really doubt it..

EDIT:

Just another reboot while deleting E-Mails in AquaMail.

I deleted 3 Mails and then the display/system freezed and rebooted after some time.

I will go back to interactive and see if it is better after changing.

By the way are there still updates to zzmove governor by the dev?

regards
[Samsung Galaxy S 5 Unified Development] mgp53:
I also have had reboots. No particular cause. Going back to nightmare gov.

Sent from my SM-G900T

I'm on crdroid 3.8.2.
[Samsung Galaxy S 5 Unified Development] Jiimmy97:
The latest blackjubel built with latest toolchain linaro 7.2 smartpack kernal with saber's setting is very best performance with improved battery life on RR/LOS on S5

Send from SM-G900F
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Sound is significantly gained by default. Better to do not touch that tab since it will only make more noise plus these kind of issues (that will be fixed only with a reboot after uncheckng apply on boot).

all the changes from the zzmone development repo has already been included.

By the way, u guys got reboot issues with Linaro toolchain right? How about UBERTC?
[Samsung Galaxy S 5 Unified Development] zahin5542:
I did not get any reboots till now , using interactvive gov. But while zzmove gov and applying saber settings , i got reboots couple of times . May be its for deep sleep issue.

Other wise, no random reboots in UBERTC so far.

(KLTEDUOS)
[Samsung Galaxy S 5 Unified Development] mgp53:
After going back to 11/01 release. Seems quicker, will report on stability and battery. Thanks for your efforts with this old device.

Sent from my SM-G900T
[Samsung Galaxy S 5 Unified Development] Saber:
It could be governor related since there has been a history of random reboots and other problems in various S5 kernels and not just this one.

As for updates, this kernel is up to date with zanezam's git.

For stability (if you experience any issues), I recommend switching back to interactive or nightmare, nightmare is the better choice.

Edit: I made some amendments to my profile post in attempt to prevent further people from reporting any issues

---------- Post added at 04:21 PM ---------- Previous post was at 04:11 PM ----------

How I think of it is "which toolchain do I trust more?" In my development days, I've stuck to Linaro, and I've tried UBERTC, but Linaro always seemed best to me.

Also we are dealing with different GCC versions (one stable branch, the other development), but if I had to pick, I'd say Linaro :)
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Okay, by considering the majority (as well as my personnel choice:p), I'll stay with Linaro-gcc-7.2 toolchains from next build onward.

By the way, there is no changes in the LOS kernel source code until now. Further, some of my attempts o update uksm into the latest version suggested by [MENTION=5811506]Saber[/MENTION] was unfortunately not very successful (requires more hard-work). So, there may not be a regular weekly kernel update unless LOS team added some last minute changes. You guys can safely use either last release (stable-v11) or the Linaro-test builds (both are up-to-date).
[Samsung Galaxy S 5 Unified Development] androidundies:
I'm using a modified version of your profile with very good results. I turned off all hotplugs in the "CPU Hotplug" section, which from what I understand results in zzmoove's in-built hotplug settings being used (please correct me if I'm wrong!). GPU min freq set to 27MHZ, and I also modified some of the Adreno Idler settings, turning "Idle Wait" way down (to 2) and "Workload" way up (to 10). The only time I've noticed this causing issues with is google maps navigation, so i set up a profile so I can quickly switch those Idler tunables back to less aggressive values when I need to. Important to state that I don't game other than words with friends, though, and don't watch much video. Those aggressive Idler settings will not be acceptable to everyone.

These settings have gotten me overnight drain of <1%/hr and SoT approaching 4 hours, when I struggled to get past 3 hours previously. I have not had any random reboots. I also have greenify (non-pro) configured and any apps I don't want notifications from prohibited from running in background by Privacy Guard, but I've had both of those things set before when I could barely get 3 hrs SoT, so clearly the profile is making a big difference. This is all on kltspr, crDroid v3.8.2.

Want to echo the appreciation and thanks of others to [MENTION=7060205]sunilpaulmathew[/MENTION] for the fantastic development work and to everyone suggesting profiles and giving other general advice!
[Samsung Galaxy S 5 Unified Development] Saber:
From what I can tell from this kernel's git, native hotplug was disabled in the source files

https://github.com/SmartPack/SmartP.../Nougat/drivers/cpufreq/cpufreq_zzmoove.c#L84

and

https://github.com/SmartPack/SmartP.../Nougat/drivers/cpufreq/cpufreq_zzmoove.c#L87

But last time I disabled all hotplugs, only two cores were online and no matter what I did, the other cores didn't enable (which means no hotplugging capability). Hence, there is no disable_hotplug option in the governor tuning menu.

Edit: I am interested however on how the governor performs on other hotplugs. So far I've tested zzmoove + intelliplug, but I haven't done much testing with zzmoove + alucard, but I've found that combination to be a little slower due to lack of touch boost.
[Samsung Galaxy S 5 Unified Development] heshan_1010:
Is anyone else having trouble using adoptable storage with this kernel? The sd card would get stuck during formatting and after a restart would show up as corrupted. It works fine with the stock and boeffla kernel. When I tried coming back to this kernel after creating the adoptable storage, the phone would get stuck at the boot screen.
[Samsung Galaxy S 5 Unified Development] Sickyman678:
Im sorry,i am not good with this stuff.I have flashed this via twrp and it booted,what do i do now?
[Samsung Galaxy S 5 Unified Development] bytes2bits:
[MENTION=7060205]sunilpaulmathew[/MENTION] any way to increase the led brightness through the kernel (similar to Boeffla kernel)? I like that feature but prefer your kernel for speed, smoothness, and stability. Really nice job and thank you!
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Seems like no one else is not using adoptable storage with this kernel. I never tried. So, no idea.

Install Kernel Auditor or SmartPack-kernel Manager (a modified version of Kernel Auditor) and tune the kernel parameters. You can find some suggestions from this thread. Here is a good one.

Thank you. Regarding LED brightness, let me try the possibilities (but no promises) :p
[Samsung Galaxy S 5 Unified Development] koobie777:
So got a random reboot today on 11/1 build and battery life seems to have gone down hill since I last reported but stability and speed is excellent on a lighter note.
[Samsung Galaxy S 5 Unified Development] Sickyman678:
Thanks
[Samsung Galaxy S 5 Unified Development] j1gga84:
Increase? In my opinion it is already too bright ;)

But a feature (with low priority) to adjust it would be fine :)

regards
[Samsung Galaxy S 5 Unified Development] bytes2bits:
Yes I meant as an adjustable option and it's definitely a low priority.

PS... I LOVE Bremen! I visit family in Bremerhaven every year :)
[Samsung Galaxy S 5 Unified Development] Kmailknopf:
Link 4 Smart Pack Manager ist corrupt. New DL Link plz
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Sorry guys, it will most probably never happens. I can add the same LED brightness controlling driver from Boeffla-kernel, however, I'm convinced that Kernel Aduitor will not have the capacity to control that driver atm.

Is it? can you try again from here?

https://xdaforums.com/devdb/project/?id=19591#downloads
[Samsung Galaxy S 5 Unified Development] Kmailknopf:
Is it? can you try again from here?

https://xdaforums.com/devdb/project/?id=19591#downloads[/QUOTE]

:crying:
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Seems like you are trying to install both Kernel Auditor and my modified app together. Its impossible atm.

So, remove Kernel Auditor (or the old versions of my app, if any), then try again. It will work...:good:

:crying:[/QUOTE]
[Samsung Galaxy S 5 Unified Development] Drhedphuk:
I have not experienced any of the reported freezing or reboots using zzmoove (g900f) I have applied the same settings as [MENTION=5811506]Saber[/MENTION] although I find that ybat (profile number 2) provides far greater battery saving than zrelax
[Samsung Galaxy S 5 Unified Development] Blackburn119:
Had 2 random reboot lately after the latest linaro update, now switch back to Ubertc I think latest linaro still not stable yet.
[Samsung Galaxy S 5 Unified Development] Mrcactuseater:
Blaming the toolchain alone is very silly. I think you should get some logs and come back.
[Samsung Galaxy S 5 Unified Development] :
Are you using Zzmoove by any chance?
[Samsung Galaxy S 5 Unified Development] Blackburn119:
Always interactive
[Samsung Galaxy S 5 Unified Development] :
Hmm. Are you on the latest ROM of your choice?
[Samsung Galaxy S 5 Unified Development] Blackburn119:
Official Lineage OS 11012017, sorry I forgot about the logs .
[Samsung Galaxy S 5 Unified Development] itsclarence63:
Same story here on my 900f device.

Testing now ybat and is giving me indeed a better battery-life.:good:
[Samsung Galaxy S 5 Unified Development] Jiimmy97:
Sure ? Same saber's setting execpt profile zz relax to no 2 ?
[Samsung Galaxy S 5 Unified Development] Drhedphuk:
Yeah, sure. Try it.
[Samsung Galaxy S 5 Unified Development] derreck101:
i installed the latest kernel i got slow down i tried to reflash the kernel then i accidentally pressed wipe cache. now got stuck on a bootloop is there a way to fix this without wiping the device? thanks in advance
[Samsung Galaxy S 5 Unified Development] Legitsu:
when you wipe cache it can take 20m for the device to boot depending on your apps

wipe it again and let it boot
[Samsung Galaxy S 5 Unified Development] derreck101:
Thanks Gonna try that out, i think i wiped dalvik cache after installing the kernel
[Samsung Galaxy S 5 Unified Development] bytes2bits:
You can always dirty flash your rom again without wiping, then you'll be back to your stock kernel. At that point you can try flashing Smart Pack again.
[Samsung Galaxy S 5 Unified Development] badassadism01:
Is anybody using this kernel with f2fs?
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
For me both worked nicely. By the way, to built with higher toolchains, I'm (and everyone trying to build old kernel versions with new toolchains) forced to do some compromises in the code, so you guys should expect some rare incidents like this.

Yes, who know it is a ROM related, or apps, magisks, xposed etc...

Seems like you accidentally wipe system?

For me it is less than 5 mins, may be I'm not a heavy user.

May be you can try :p, but make sure to backup your valuable data (preferably into pc)
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Auto update app? need testers

One more useful stuff for you guys...

This is a modified version of AK kernel updater (created for updating AK Kernel by its developers). If you guys found this useful, I shall implement real OTA support (you can directly download and flash latest builds (either test or stable) within few clicks) via this app.

If anyone willing to test this (only for klte and kltekor users at this moment), kindly pm me or directly contact me via Telegram.

Cheers...
[Samsung Galaxy S 5 Unified Development] Drhedphuk:
I've been trying to PM you, but the message will not send.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Introducing Auto Kernel Updater for SmartPack

Hi all, Now it’s the time to introduce the new Auto Kernel Updater app for SmartPack-Kernel. As I mentioned in an earlier post, it is a modified version of AK Kernel Updater. Its original developers (Namely, themike10452 & CallMeAldy in Github) deserves all the credits, though I'm also did a lot of work to modify, build and made compatible for SmartPack-Kernel.

First of all, big thanks to [MENTION=4891624]Drhedphuk[/MENTION] and [MENTION=5549379]itsclarence63[/MENTION] for the early testing, useful comments as well as some nice words about this app.

Purpose of this app

This app aimed to deliver timely updates of SmartPack-Kernel to its users.

Requirements

1. Root access

2. TWRP installed (auto-flashing will not work with any other recovery)

How to use

1. Download and install the latest app version from here.

2. Go to app settings and give permission to access “Storage” (necessary to download Kernel to device storage).

3. Open the app and allow "root" permissions.

4. Tick “Experimental builds” in the Settings to receive test builds (only if you wish)

5. Swipe to refresh and wait till the new releases (if any) appears in your app screen (otherwise wait for the notification).

6. Click “Change-logs” to see the changes in a new version.

7. Click “Get-it” and follow the on screen instructions to flash the new Kernel.

8. Enjoy your new Kernel

Known-Issues

1. It will sometimes shows notifications about the available kernel versions even after you installed it. As a temporary workaround, you guys can mute the notification of this app from the status-bar, though it will force you to manually check for updates whenever you want.

2. The auto flashing will not give you an option to wipe cache after flashing a kernel (though it is not at all necessary for Kernel flashing in my opinion).

All the released versions (well, there is only one at this moment) of this app can be found in its GitHub source release page. Further, If any of you are capable and willing, feel free to contribute to its source in-order to make it better.

Please let me know if the app says "Un-supported device" in any of your device. It should be because of some mistakes from my side.

Finally, extremely sorry for the long boring write-up...

Cheers...
[Samsung Galaxy S 5 Unified Development] Trey n:
i decided to convert my phone to f2fs i flashed ur kernel and i get bootloop

i flashed v10 and it works
[Samsung Galaxy S 5 Unified Development] LeppeRMessiaH:
I had to ditch SmartPack because of the camera bug. Yesterday I installed the latest version because of NFC not working with the other kernel was using and sadly the bug is still there. Am I doing something wrong?

Thanks
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Hi, v10 is too old. There is no point to compare that build in the present situation. Is it working in any latest ROMs with stock kernels (like latest LOS)? If so, it will be because of some recent commits added by me from the mainstream Linux. In that case, I'll provide you with a new test build after reverting all those things.

Which is your device? and which ROM are yo using (build date?) Please give me more details. NFC is working in kltekor/Lineage-OS. Don't know if there is some device specific issues.
[Samsung Galaxy S 5 Unified Development] LeppeRMessiaH:
Hi Paul, I'm on klte latest version released. My NFC works fine with your kernel, the problem is with the camera (every app). According to the changelog it was fixed but I'm still experiencing the bug.

P. S. I'm on crDroid

Thanks
[Samsung Galaxy S 5 Unified Development] Drhedphuk:
No problems with open camera on Klte here.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
I don't know what is happening in your case. However, there is no chance to happen camera issue in the latest LOS build with my latest kernel (likely happen if you use a kernel version before v-10_r5).
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
New (stable-v11_r1) builds...

New kernel version (Stable release: v11_r1) is now available to download.

Changes:

1. Switched to Linaro (gcc-7.2) latest stable toolchain.

2. Up-to-date with LOS kernel source code till date.

Download links can be found in the below links. You guys will hopefully get a notification in the Auto-Kernel Updater app (else swipe down o refresh), if you have already installed. Cheers...

/* Downloads */

kltekor

klte

klteduos

kltespr

[B][COLOR="Red"]Please make sure to download the latest build dated 20171116[/COLOR][/B]

PS: I'm curious to know the new app works fine with klteduos and kltespr builds (the other two devices are tested and confirmed working). It will be really nice if some one could test on those devices too. Thanks.
[Samsung Galaxy S 5 Unified Development] koobie777:
Tried the app today actually for kltespr. Excellent, all I had to do was go into app settings and manually allow storage permission. Literally just told me about an update and did all the work for me. Doesn't wipe dalvik though but I'm unsure if it's needed if your updating a kernel. Official RR Sept 24
[Samsung Galaxy S 5 Unified Development] koobie777:
Just noticed that after the update it's still telling me about an update. Normal?
[Samsung Galaxy S 5 Unified Development] Henrea4:
Yes

:good:
[Samsung Galaxy S 5 Unified Development] koobie777:
Lol DNR whoops. Well that's a bummer but other than that it works
[Samsung Galaxy S 5 Unified Development] Legitsu:
the app seems to think there is no kltevzw kernels avaiable

we don't use kltevzw anymore that has been merged in upstream LOS for ages everything is klte now
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Sorry guys, Unfortunatley, you guys need to live with that until I found another solution :(

If it say "no kltevzw kernels available", I'm happy that your device is recognized as a supported device by the app (otherwise the app says "Un-supported device"). Can you try swiping down few times. You are supposed to get the notification about the available klte build since kltevzw (and klteatt, kltetmo etc) is included in my script under a common heading "klte". Can you try?
[Samsung Galaxy S 5 Unified Development] Legitsu:
about a dozen or so trys it finally did

very flaky tho If I close and restart the app I don't get a notification without several retries

and a simple if statement will fix your notification problem
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Thanks. If possible, can you help me to fix the notification issue? It will be really appreciated... The source code is here...

And yes, the notification sometimes took too much time... :(
[Samsung Galaxy S 5 Unified Development] Legitsu:
ill see when I have time work got me swamped

but basicly just compare the old build string to the new build string if they match clear the notification

but you need to run such checks before a option is presented in the gui
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Thanks for your kindness. and take your time.

I understand the logic, but I'm terribly bad on programming related stuffs. :p
[Samsung Galaxy S 5 Unified Development] Jiimmy97:
Guys i noticed my cpu freq. Max 1958Mhz i use zzmove governor ? And i can't change it why?