yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
SmartPack-Kernel Manager

Here I'm uploading a very first build of SmartPack-Kernel Manager for anyone interested to test.

It is just a slightly modified version of kernel auditor, though its name means something more (I renamed it to avoid possible conflicts if someone like to use the original app too).

All the credits go to the original developer. This app will unlock all the hidden feature of the official app as well as to give ota support to my kernel. If you decided to test, please make sure to check the Tools ---> Download where the ota function is located.

Thanks in advance. Download links can be found in the below link... Enjoy...

/* Downloads */

Link removed
[Samsung Galaxy S 5 Unified Development] BrX91:
I just exported profile from kernel adiutor original app, uninstalled it and installed Your version. But I am unable to apply that profile during startup. App just keeps crashing. when I apply profile manually from menu (click and apply) it works fine. Do You have any idea why this is happening?

Settings also are not applied when I will set them in default way - each screen change settings and choose apply on startup. After reboot I have default settings.

Any help with those issues would be nice. Thanks.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Sorry guys. Somehow I missed to test such things. I think my work is not done for the app. Forget about my last message. I'll back once it is fixed. Sorry for the inconvenience...
[Samsung Galaxy S 5 Unified Development] The~Skater~187:
I'm sure no one here has an issue with that. [emoji317]
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
It seems like more work is needed to bring the ota update since I somehow messed up the code of my modified app. It will probably take little more time...

However, there will be a regular update today later or tomorrow morning...
[Samsung Galaxy S 5 Unified Development] Hayabuzza14:
Will this fix the headset sound quality issue??

Or i am the only one having this issue??

Btw i am really enjoying using ur custom kernel...
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Mostly probably no (unless if some magic happens). Because, I even can't reproduce your issue in my device. may be in future... sorry brother...
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
New builds (stable-v10_r9)...

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

Changes:

1. Dynamic FSync is now enabled by default.

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

Download links can be found in the below links. Cheers...

/* Downloads */

kltekor

klte

klteduos

kltespr

[B][COLOR="Red"]Plz remember to download the latest build (dated 20171025))[/COLOR][/B]
[Samsung Galaxy S 5 Unified Development] Hayabuzza14:
After flashing latest build somehow fix my headset issue..

Maybe because of wiping cache and dalvic fix it...

But strange happens...

All the files that i download in internal storage

Including the latest zip file of ur kernel were gone after

Flashing..??

Update: after another reboot there all back...
[Samsung Galaxy S 5 Unified Development] j1gga84:
[MENTION=7060205]sunilpaulmathew[/MENTION]

I wanted to change the GPU governor to simple_ondemand because this governor

is more battery friendly than msm-adreno-tz and now I ran into bootloops.

After applying that governor my system freezes and reboots..

Any ideas?

regards
[Samsung Galaxy S 5 Unified Development] Drhedphuk:
Same here.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Happy to know that your headphone issue is solved. By the way, the other issues may not ne within the scope of Kernel. anyway, you solved. nice.

Hi guys. Not sure. However, there are already complaints in the past that some GPU GOVs causes system crashing. Can someone try in Stock LOS/RR kernel? For your information, some other govs (at-least cpubw_hwmon) also leads crashing. I'll later get a logcat (if you have one, plz send to me though I'm not good with logcats).
[Samsung Galaxy S 5 Unified Development] Saber:
In the meantime, I recommend msm-adreno-tz + adreno-idler which gives you the best of both worlds. Ondemand like battery life when doing basic tasks and performance when you need it (being high-freq biased).
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Now I have little more success with the app :p

Now the applied settings seems to be stick after reboot. Will attach "apk" file with more details later (after little more testing)...
[Samsung Galaxy S 5 Unified Development] j1gga84:
Maybe it only occurs when adreno-idler is enabled or do you also have reboots when it is disabled and you try to change from msm-adreno-tz to simple_ondemand?

On the other hand I would say that the combo msm-adreno-tz + adreno-idler is better than only simple_ondemand.

regards
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
It actually occurs even without adeno_idler enabled. So, maynot be related with adreno_idler. However, no idea about stock LOS/RR kernels. Hope someone will check that too...
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
SmartPack-Kernel Manager v-1.2

Guys, here I'm attaching another version of my modified kernel auditor app. Almost all the issues found in the last version are now fixed.

This is simply Grarak's KernelAdiutor app with some simple modifications for SmartPack-Kernel. All the credits go to his original developer.

For accessing OTA support, you need to go to Tools ---> Downloads (see attached screenshots), then select your build. It will lead you into a new page.

Now, by clicking different icons, you can directly go to various places such as

xda: xda thread

github: source code

Telegram: It will show you my personal telegram id. In case, if you really need to share something to me, please feel free to contact me by clicking that icon.

eye: changelog

download: Link to the download folder (it is still your responsibility to download the latest version)

Also, check the "FAQ" in the app. I added some tips which might be useful for you guys.

Unfortunately, you need to remove the official app first to install my modified app since both shares the same android id.

Further, if your settings do not stick after reboot, do this (one time)

1. Go to app settings, 2. Force stop "SmartPack-Kernel Manager", 3. Clear cache/data, 4. Reboot, 5. Now apply your fav settings (also check apply o boot) & and it will now stick after reboots.

Download link can be found in the below link... I'm waiting for your comments and suggestions. Cheers...

/* Downloads */

SmartPack-Kernel Manager v-1.2
[Samsung Galaxy S 5 Unified Development] airidosas252:
There is a fix actually for that (I've seen it already working fine, can't remember which kernel had it, though). I never bothered using anything other than stock GPU governor, anyway, since nothing new was brought to the table, unfortunately.

EDIT: Adreno Idler is not the problem here. It's that governor messing things up.
[Samsung Galaxy S 5 Unified Development] Drhedphuk:
[MENTION=7060205]sunilpaulmathew[/MENTION]. 1.2 Kernel Aduitor mod is working well here thank you.
[Samsung Galaxy S 5 Unified Development] Muhammad Tajy:
Can I downgrade the kernel by flash an old version on top of the new one?
[Samsung Galaxy S 5 Unified Development] pepe100:
Yes it is possible
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Thanks for the info...

Thank you for the testing friend....

Yes. But why? The latest one will be the best with the latest ROMs (especially LOS). For other ROMs like RR, you may use old builds depends on the ROM build date.
[Samsung Galaxy S 5 Unified Development] Muhammad Tajy:
My phone suddenly stopped sending or receiving audio in phone calls so I started checking what I've changed in the past few days and updating the kernel was one of them. So I downgraded to v10_r8 and that didn't fix the Issue. Now I'm on the stock kernel with no audio mods, no xposed modules, no magisk modules BUT STILL NOTHING
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
I'm not sure about how you lost sound even with Stock Kernel. Regarding my kernel, there is a chance to lose sound and I already posted the solution several times. I just added an FAQ section. The solution to your issue (in the case of my kernel) will be in the TOP.

and for a request to all, please check the above mentioned FAQ and let me know if I missed something important.
[Samsung Galaxy S 5 Unified Development] Muhammad Tajy:
I'll try dirty flashing to see if it changes anything

Update: It's fixed thanks to the power of dirty flashing

Update 2: Sound is gone again

Update 3000: I replaced the stock mixer_path with the stereo mixer_path, still no sound then I replaced it with the stock file and sound came back?! What is going on?!?
[Samsung Galaxy S 5 Unified Development] airidosas252:
Check permissions. Maybe they are messed up. Do 0644 on that file with root file explorer.
[Samsung Galaxy S 5 Unified Development] Muhammad Tajy:
It's already 644
[Samsung Galaxy S 5 Unified Development] nl3142:
I tried using this kernel on my Sprint S5 (kltespr) with Resurrection Remix and my f2fs formatted SD card doesn't work. It just says the card is corrupt, tap here to fix and when I do it just brings me to the screen where I have to choose whether to format it as portable storage (which would reformat it as exfat) or adoptable storage. If I try to mount it using mount -t f2fs manually I get this (if I don't use -t f2fs then it tries to mount it as exfat and gives an I/O error). It works fine on the kernel that comes with the kltespr RR rom). I have attached my dmesg log but nothing obvious seems to show up.

mount: '/dev/block/vold/public:179_65'->'/data/2': No such device

mount: '/dev/block/mmcblk1p1'->'/data/2': No such device
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
One more version of modified app (not much difference) is now available to download.

I added one more page to the Download section which is for updating this app. So, you guys can either download from the app or the link below.

/* Downloads */

SmartPack-Kermel Manager 1.3

[MENTION=4130318]nl3142[/MENTION]

Sorry, no idea. I never used f2fs though I added lot of mainstream commits abt f2fs to the kernel (don't know it break something). I also found some similar reports in the official LOS thread. Are you sure that f2fs works in stock kernel?
[Samsung Galaxy S 5 Unified Development] nl3142:
Yes, it works with the stock RR 5.8.5 kernel. In fact to get it working again I just restored a boot and system backup I took before installing your kernel. Note that for the S5 RR the Stable Release Date: 2017-09-24 which should help narrow it down. Or perhaps the stock Lineage kernel doesn't support f2fs on external SD cards? I know RR doesn't support ext4 for SD cards yet uses ext4 for pretty much everything else (including /data).
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
***Big news***

Guys, I have a big news for you guys...

After several attempts, I managed to build my kernel using UBERTC-8.0 (GCC-8), one of the latest tool-chain.

Right now I'm testing the same on my kltekor (so far good). If everything goes well, test build for klte will come later today...
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
UBERTC-8.0 test builds

Here I'm adding test builds which are built using UBERTC-8.0 (gcc-8). It will hopefully give a much better performance (and some issues in the worse case). Everything seems perfectly fine in my testing. Please test and give me comments, if something went wrong. If all good, it will be included in the next regular update (in next two days). Enjoy...

/* Downloads */

klte

kltekor
[Samsung Galaxy S 5 Unified Development] The~Skater~187:
Awesome job bro. I couldn't get ubertc to work.
[Samsung Galaxy S 5 Unified Development] :
UberTC 8 is a HUGE step up. Congrats!
[Samsung Galaxy S 5 Unified Development] pepe100:
This update improbe the battery life?? I am stock kernel in ligeage and the battery is no so good.
[Samsung Galaxy S 5 Unified Development] :
Not exactly sure but you should notice much better performance than previous Smartpack kernel releases.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
I'll upload this ubertc build (weekly build with all the los commits) once the building for all the variants finish. I hope everything fine after switching to new toolchain?
[Samsung Galaxy S 5 Unified Development] heshan_1010:
I have been testing it for a few hours now and have had no issues so far.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
New builds (stable-v11)...

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

Changes:

1. Switched to UBERTC-8.0 (gcc-8) latest toolchain (Thanks to [MENTION=6842057]nathanchance[/MENTION] & [MENTION=3279788]ZaneZam[/MENTION], their works made my job really easy).

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

Download links can be found in the below links. You can also download from SmartPack-kernel Manager (my modified version of kernel auditor). Cheers...

/* Downloads */

kltekor

klte

klteduos

kltespr

Old builds
[Samsung Galaxy S 5 Unified Development] s3v3ngal:
Hi mate tried downloading the sprint build 4 times and all corrupt any one else having same issue
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Sorry mate... Seems like something went wrong while uploading. Will upload again tomorrow (I'm away from my PC).

Plz let me know if other variants have similar issue?
[Samsung Galaxy S 5 Unified Development] Drhedphuk:
Klte fine. I used Smartpack kernel Aduitor for download too without any issues.
[Samsung Galaxy S 5 Unified Development] Henrea4:
n00b question but with the major change to the code (according to the recent user comments) is it still ok to dirty flash the latest klte build on top of the previous one?
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
For [MENTION=6393907]s3v3ngal[/MENTION] and all other kltespr/kltedv users, the corrupted file is replaced with a new one. Now you can download and flash... Enjoy...

/* Downloads */

kltespr
[Samsung Galaxy S 5 Unified Development] cokeman2010:
I have the same problem. What should be default value?
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
One more Oreo based ROM for klte... long live S5

https://xdaforums.com/galaxy-s5/unified-development/rom-t3698955
[Samsung Galaxy S 5 Unified Development] Jiimmy97:
Did you try it ? Give us feedback and tell us it good for daily use ?
[Samsung Galaxy S 5 Unified Development] airidosas252:
Trying out your new kernel. So far, so good. One thing I've noticed - apps launch smoother (like with less stutter or whatever). Still needs quite a bit of testing, since newer than what kernel was intended to be built toolchains usually cause lots of stability issues. Will see how it goes. Thanks! :)
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Unfortunatley, the dev only supports klte atm (and mine is kltekor). Need to build a custom kernel for testing in kltekor. By the way, it should not be ready for daily use (RIL isn't working)

Thanks. and all the credits goes to new toolchain and hope it won't make headache to me in the future...
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Linaro-7.2-builds...

Okay, I have one more things for you guys to play before this coming hectic weekend. (I'm shifting to new apartment and will be disappeared from here till at-least Sunday night):p

These builds are exactly same as stable-v11 except the toolchain used for building, that is Linaro-7.2 (based on gcc-7.2). It seems equally good (or bit better?) to that of the last UBERTC build. Download links can be found below for anyone interested. Enjoy...

/* Downloads */

kltekor

klte

klteduos

kltespr
[Samsung Galaxy S 5 Unified Development] Saber:
Good choice of toolchain and thanks for the build :good:

Edit:

Here is an excellent profile I've have been using...

(Edit: After several reports of random reboots, use this profile at your own risk...)

Governor - zzmoove (zzrelax profile)

GPU governor - msm-adreno-tz+Adreno idler (Needed for better idle drain)

Thermal driver - Intellithermal

Hotplug - Intelliplug /w touch boost enabled (You can change this, but I like touch boost)

IO scheduler - ZEN

UKSM sleep idle - 1000ms (to reduce CPU consumption)

Dynamic fsync - Enabled (Enabled by default in recent builds)

Purpose of this profile: Better CPU scaling, improved battery life, better idle drain
[Samsung Galaxy S 5 Unified Development] itsclarence63:
I tried both. Smartpack is more smoother and stable on the latest version, but is giving me a bad battery life comparing to boeffla venom. So back to boeffla venom now on my klte using Crdroid
[Samsung Galaxy S 5 Unified Development] j1gga84:
Try latest SmartPack with linaro toolchain. On the first sight battery consumption is better compared to the UBER build and scrolling is also super smooth.

Regards

Sent from my SM-G900F with Tapatalk
[Samsung Galaxy S 5 Unified Development] BrX91:
How did you applied profile for zzmove?

Wysłane z mojego SM-G900F przy użyciu Tapatalka
[Samsung Galaxy S 5 Unified Development] Saber:
In the governor settings (next to governor selection in KA), you can set the profile number to the profile you want (see my governor guide for help). Zzrelax for example is profile number 11. The untouched profile is 0, which is by default and is quite balanced.
[Samsung Galaxy S 5 Unified Development] mspector:
Can someone tell me if it is tested with with a G900W8 Galaxy S5 (ktle) device? Can I install this kernel on it?

Thanks!
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Thanks for using my kernel for a while... and yes.. also for putting questions and suggestions... that actually help me a lot to find and add more features to this kernel and give me more confidence to share this project infront of many folks. keep doing that...

I actually added 27mhz to idle gpu as well as 262mhz and 2.84 ghz under/over clocking frequencies to the kernel. However, I haven't able to test that fully. So, I simply block that feature by setting a min and max clock speed of 300mhz and 2.45ghz in my sec_defconfig. Btw, can you recollect the name of that kernel in which you found that feature?
[Samsung Galaxy S 5 Unified Development] badassadism01:
Is there a way to configure UKSM in this kernel? Kernel adiutor does not show any references to kernel samepage merging
[Samsung Galaxy S 5 Unified Development] Legitsu:
UKSM for the most part is zero config

I don't think its working because the sysfs folder for it doesn't exist and htop doesn't seem to show that its working
[Samsung Galaxy S 5 Unified Development] KazuDante:
it was fom this kernel here : XDA : https://xdaforums.com/galaxy-s5/orig-development/kernel-crazysuperkernel-v1-t3485246

git : https://github.com/CrazyGamerGR/CrazySuperKernel-CM14.1-KLTE-New-rebase

and for the color cal thats from Boeffla kernel , so that the screen profiles are in-line with kernel autitor's. the values your kernel has are not in-line they are in the 3thousands , kernel auditor's built in profiles for the color calibration setting only knows that each max are 255 and not in the 3thousands....i will go back and show you the difference with screenshots...if that will help all my jiburish make sense :eek:
[Samsung Galaxy S 5 Unified Development] thaidroid:
Sunil I tried the latest 0313 KLTE and your Kernel, dirtyflashed over 0308 kltekor and everything except Skype seemed to work(maybe because of dirty flash) Using the KLTE version the options for networks is like a Christmas tree there has to be 10 to choose from and they all seem to work???

Because of the skype issue I dirtyfalashed kltekor 0315 and your kernel over 0308 and no problems at all.

Do you think the Skype issue on KLTE was because of dirty flash? I can download again and try but maybe you already have the answer, I do like all the network options on KLTE.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
not sure... may be as your expectation... or due to any recent changes in the kernel source... :D
[Samsung Galaxy S 5 Unified Development] thaidroid:
Could not control myself:D I had 0315 klte in recycle bin so I did a clean install but sadly Skype did not work on clean install either. Everything else seemed fine on dirtyflash:confused:

Restored to KLTEKOR 0315 and your kernel, happy......but it would be fun to be able to use KLTE as a driver but I need Skype.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
I figure out the issue with uksm and will be fixed in the new build hopefully tomorrow...

now /sys/kernel/mm/uksm directory looks like this
[Samsung Galaxy S 5 Unified Development] Legitsu:
what happens if you echo 1 > /sys/kernel/mm/ksm/run
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
no visual change in the terminal...

and also see kernel auditor menu...
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
New builds are up...

I made a lot of modifications this time... If you feel any performance/battery related issues (although I can't face any), kindly let me know...

[B]March 17, 2017[/B]
Merged with latest LOS commits.
Some fixes for UKSM and now it is accessible through [URL="https://xdaforums.com/attachment.php?attachmentid=4077637&stc=1&d=1489719477"]kernel auditor[/URL]. Updated usb fast charging... and a lot more...
[Samsung Galaxy S 5 Unified Development] pheonixxdark:
good kernel

so i flashed the kernel on on crDroid ,c booted well and runs smooth.. under volted and phones not getting hot at all. features are good and very useful. Thanks and keep up the good work
[Samsung Galaxy S 5 Unified Development] KazuDante:
does anyone know the lowest settings for undervolting that the phone still remains stable even under heavy load?
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Thanks... and nice to know that you like my work...

not sure... in an old post, [MENTION=5789770]Thefmaximo[/MENTION] said that he was able to under-volt up to -90. However, I never go beyond -50.
[Samsung Galaxy S 5 Unified Development] KazuDante:
so i can safely offset -40 to -50 on all frequencies safely without any hangups or freezes?
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Yes... I did so... and so far so good...:good:
[Samsung Galaxy S 5 Unified Development] KazuDante:
thank you , i will try it out. also any luck with the kcal portion of the kernel?
[Samsung Galaxy S 5 Unified Development] Legitsu:
camera doesn't work black screen kltevzw
[Samsung Galaxy S 5 Unified Development] KazuDante:
thats weird because mine is also a kltevzw and my camera works.
[Samsung Galaxy S 5 Unified Development] thaidroid:
Sunil,

Dirtyflashed the latest version(Still says V2) 0317 and everything seems fine.
[Samsung Galaxy S 5 Unified Development] Trey n:
Yep

I have a klte and it works flawlessly :) I also have govtuner installed
[Samsung Galaxy S 5 Unified Development] mspector:
Thanks, bud! I'm gonna give it a try.

Cheers!
[Samsung Galaxy S 5 Unified Development] itsclarence63:
I agree on the first part. Battery consumptions seems better.....

Scrolling is for me less smoother with the Linaro toolchain comparing to the Uber build

---------- Post added at 08:19 AM ---------- Previous post was at 08:16 AM ----------

Tried you're profile for a couple of hours now and indeed, it seems to improve the battery life for sure:good:
[Samsung Galaxy S 5 Unified Development] j1gga84:
Where do I find the UKSM sleep idle setting?

Regards

Sent from my SM-G900F with Tapatalk
[Samsung Galaxy S 5 Unified Development] itsclarence63:
Here...
[Samsung Galaxy S 5 Unified Development] Blackburn119:
Not bad battery life, 2014 flagship is still strong with your kernel.

Thank you so much devs.
[Samsung Galaxy S 5 Unified Development] silva_dump:
What

5 hours of SOT ??

R u kidding

Um not even getting a 5 hour with the stock even

What are the tweeks your using ??
[Samsung Galaxy S 5 Unified Development] Blackburn119:
I'm using L speed tweak to battery profile and combine with -50 voltage, intelli thermal, gpu adreno idler, power suspend mode: autosleep that's it.