yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] damianiw:
Thanks for releasing updated kernel for nougat I'm interested but as this is my daily driver hopefully justjr's logs help identify the issue

[ROM][Unofficial][7.1.2_r36]Resurrection Remix-N-5.8.5 [KLTEXX][2018-09-05 PSL] by*IKGapirov

SmartPack [Kernel] GCC-8.x for LOS-14.1/LOS-15.1 [kltexxx] by*sunilpaulmathew

Kernel Profiles by justjr
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
I personally run the latest RR build (RR-N-v5.8.5-20181107-kltekor-Unofficial-SPL) by [MENTION=7489422]IKGapirov[/MENTION] + Magisk 17.3 & my latest kernel from last night (nearly 12 hrs) without no reboots or any other issues. Don't know what is happening in your case...
[Samsung Galaxy S 5 Unified Development] justjr:
That's the same setup I use (only for klte). I'll try again later with more time. Did you tested it with my profile too?

Enviado de meu SM-G900M usando o Tapatalk
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Not the latest, but my kernel is now by default running one of your profile with minor modifications. I don't know if it makes a big difference. While you trying again the latest version, can you test the default kernel (without your latest profile)first to narrow down the issues? Also make sure to clear the SP-Kernel Manager data & cache to make sure that everything is fresh.
[Samsung Galaxy S 5 Unified Development] Gargoyles:
Hey Sunilpaulmathew! Huge congrats for your great work! I used your Pie alpha v5 kernel, and screen flickering issue was solved, as you say so. But with latest unified kernel, the problem appeared again. I reflashed alpha version again and screen is fixed. Anyway, this is not a big problem... Cheers!
[Samsung Galaxy S 5 Unified Development] ozzycao:
Hello guys! I'm a Smartpack enthusiast but I stopped using it when I installed the Pie lineage. Now I'm thinking about going back but I have the flikering problem. Can you tell me how to download the alph v5 version? I did not find it on the site. Thank you Very much
[Samsung Galaxy S 5 Unified Development] Gargoyles:
I have a backup of alpha v5 with flashify app. But I do not know how to find it and extract it.
[Samsung Galaxy S 5 Unified Development] damianiw:
Hi in running the October security patch of the same build and flashed kernel this morning, I do use justjr's cpu_perf_LOS-N_111018 profile and a tweak or two just to volume and to use boefla sound

Been OK so far today:)

I looked but missed the klte download for the November security patch - for now will keep as is and see if I get issues

[ROM][Unofficial][7.1.2_r36]Resurrection Remix-N-5.8.5 [KLTEXX][2018-09-05 PSL] by*IKGapirov

SmartPack [Kernel] GCC-8.x for LOS-14.1/LOS-15.1 [kltexxx] by*sunilpaulmathew

Kernel Profiles by justjr
[Samsung Galaxy S 5 Unified Development] justjr:
I just flashed v14r4 again, it's been two hours or so without any problem until now.

I do recommend you to change the profile to the latest one, 101118 smartpack profile, you can get it on the thread linked on my signature, works fine on both N or O, not tested but probably P as well. Of course, you can stay on the one you want to, just let me know why so I can use the information. :)
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Pie alpha v5 and Unified stable-v26 are exactly same unless the installer script which doesn't affect on the screen flickering. If you test both in an exact same situation, it is supposed to behave similarly. As a workaround to remove (or at least reduce) screen flickering, the only possible solution available at this moment is to increase the LED Min brightness a little bit, so that the screen brightness won't be too low.

Welcome back friend... and, please use stable-v26 instead of Pie alpha-v5. Both are exactly the same.
[Samsung Galaxy S 5 Unified Development] damianiw:
Will give it a try, seems like most the audio tweaks I made myself for on boot you’ve got in there so I can remove them :)

Thanks both for the profile and of course for the Kernel
[Samsung Galaxy S 5 Unified Development] ozzycao:
Thank you Gargoyles and thank you Sunilpaulmathew for Thais great job! I'll try this morning.
[Samsung Galaxy S 5 Unified Development] Gargoyles:
Hey! Sounds weird, but there is a difference. I made a short videos to see the differences between latest and alpha v5, related to flickering screen. Please take a look if you have time! https://www.dropbox.com/s/x6opyqxa9nxd46a/20181120_144937_640x360.mp4?dl=0

https://www.dropbox.com/s/u94sbj6rdmwkpxu/20181120_145326_640x360.mp4?dl=0
[Samsung Galaxy S 5 Unified Development] justjr:
I just had a reboot after force closing instagram, trying to upload some instagram stories that was failing to upload. There was no last_ksm on the recovery file manager after the reboot, I got this one after it have booted again, so I'm not sure if this last_ksm is the right log.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
That's really strange. The only thing I can suggest is to make sure that the Min Backlight (in stable-v26) in Display & LED page is not zero (should be 15 if the default kernel script is executed).

dmesg again showing some msm_thermal related issues, and I have no clue about the root cause. By the way, is it happened with the default kernel settings or with your latest profile?
[Samsung Galaxy S 5 Unified Development] justjr:
It happened again, but this time when I see it was rebooting I pressed buttons to go to recovery, and it rebooted directly there, so I'm almost sure this the right last_dmesg this time... lol, attached..

Anyway, I think it's only me, nobody else are having any reboots, right? No reports till now at least. I suspect it must be my new microSD then, and sorry for wasting your time with it if that's the case. It's just weird cause it seems to have started only after flashing new kernel.
[Samsung Galaxy S 5 Unified Development] fubo73:
Hi,

I had some reboot occasionally, but I always discovered them after reboot (I could see notification of SP kernel profile applied). Currently I followed [MENTION=7060205]sunilpaulmathew[/MENTION] suggestion to use kernel default settings (I only applied some led's related). Since then, I did not see any more reboot. I'll keep you both updated if I see any.

Here I have LOS, SP kernel, Magisk 17.3, Xposed, App2SD to remap some folders (one widely used: whatsapp) to external SD.
[Samsung Galaxy S 5 Unified Development] justjr:
[MENTION=1791811]sunilmathew[/MENTION] I just saw that you changed some virtual memory configs, and as I was keeping then on the old default, I was using the new vm configs default on the kernel. They were causing reboots.

I rolled them back to the default default, and having zero reboots. I will have to release a new profile to change this changes back to the old ones along with some minor governor changes I was already cooking.

I believe I made a mistake when I first released the profiles changing this vm settings, and quickly changed it back, and now I politely suggest you to do the same. Keep the same old vm configurations, there's a reason I stop changing them and just let it at default, they can really mess up devices, specially page-cluster on 2 is not good for mobiles, I use 1 with no problems though, and vfs_cache_pressure 50 (among the ones you changed), are my primary suspects on the reboot cases.

For some weird reasons that changes was specially bad for my specific profile and my usage, heavy using it all day with lots of apps and games.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Sure, I'll take ur suggestion and remove/change the vm/other settings once you release new profile...
[Samsung Galaxy S 5 Unified Development] joey118:
Is it normal??my min freq is set to 1881..and i don't even have this freq on my device

My device is kltekdi
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Nope, it should be something specific to you or your device. I wonder, how you got it on Smartpack-Kernel. We are all struggling to change the min freq which always reverted to 268 MHz.
[Samsung Galaxy S 5 Unified Development] justjr:
Probably MPDecision doing its thing when it dictates min max freq.

Enviado de meu SM-G900M usando o Tapatalk
[Samsung Galaxy S 5 Unified Development] Ranniel:
Is good to use the Kernel samepage Merging?
[Samsung Galaxy S 5 Unified Development] Tech0308:
Always caused random reboots for me
[Samsung Galaxy S 5 Unified Development] justjr:
Same here, I tested it few weeks ago while crafting my profile. I would go as far to say that would be better that this kind of feature that nobody uses/does not work properly was taken down from the kernel.
[Samsung Galaxy S 5 Unified Development] openxbmc:
kltechn please

kltechn please
[Samsung Galaxy S 5 Unified Development] jackson_c:
Hi, [MENTION=7060205]sunilpaulmathew[/MENTION]. Thanks for your work, and for accepting my request about the minimum brightness of the screen a while ago. This increased the life of my S5 for a while, but after other problems, I decided to buy another smartphone. Thank you: D
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
It's a stock LOS feature (in fact a part of Stock Samsung Kernel). I don't it will make any issues (in the present or future) if I fully remove it.

Already announced several times. NO. Sorry...

Good luck friend. See you again, one day, somewhere else in the forum (especially if you go for a OnePlus device;))
[Samsung Galaxy S 5 Unified Development] griz.droidx:
Just had a small conversation with the doc and promised I'd share it here. I'd be having trouble getting his app to install his kernel on liquid pie. He thinks the reason is probably because the commands curl or wget aren't in the ROM yet. I figured they'd be in busybox, but according to him busybox may not be there yet. So until then we'll just have to download manually. The v26 kernel is latest as of now, and according to the doc, unless LOS implements major changes, there will be no need to have separate Oreo and Pie kernels, so they're unified just as I'd read on his website. I wondered about the unification so I asked him.

Friends, We have a crown jewel in the doc (SPM), dev's really don't get much better. He listens, is patient, and responds nicely to even seemingly dumb questions. That doesn't mean we should bombard him with messages and what not, but it's just awesome that we have someone of his caliber and with his education working to help our old little phones.

Thanks to the doc again, and the rest of the developers, maintainers, and the community for sharing their work to make my device and me so happy.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Thanks a lot... I enjoyed your comments a lot...
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
SmartPack-Kernel stable-v27 for Oreo/Pie

​

Changes:

Fixed core 2 stick on "Performance" governer.

Disabled Kernel Samepage Merging (KSM).

SmartPack boot script: update default profile (credits: justjr) and some workaround for Pie ROMs (Thanks to [MENTION=6561802]jprimero15[/MENTION])

As usual, you can auto-flash this version of kernel from SmartPack-Kernel Manager or download and manually flash from the link provided. Enjoy...

https://smartpack.github.io/sgs5/
[Samsung Galaxy S 5 Unified Development] Gargoyles:
With latest release, no more screen flickering again! Good work!!!
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
It was because my boot script was failed to execute in the last version (in Pie ROMs). Which is fixed now. So, the issue should be gone...

Anyway, due to some additional changes committed in the LOS kernel repo, I'm forced to build one more kernel. So expects v28 soon, later today, or tomorrow... ;)
[Samsung Galaxy S 5 Unified Development] damianiw:
Thanks will Nougat klte be updated too or are the latest changes only applicable to Oreo and Pie ?

RR-N-v5.8.5-20181003-klte-Unofficial-SPL by*IKGapirov

SmartPack-Kernel-klte-stable-v14_r4-20181116 by*sunilpaulmathew

Kernel Profiles by justjr
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
I shall update the Nougat kernels as well when the situation is necessary, although it is my least preference. However, such situations are NOT existing at this moment since none of the changes has been committed to the cm-14.1 branch of Lineage OS kernel (only LOS-15.1 and 16 branches are update). That means, our latest Nougat kernel is already up-to-date.
[Samsung Galaxy S 5 Unified Development] jprimero15:
Always welcome bro :)
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
SmartPack-Kernel stable-v28 for Oreo/Pie

​

Changes:

Set "ZEN" as the default iosched.

Up-to-date with Linage-OS source code.

As usual, you can auto-flash this version of kernel from SmartPack-Kernel Manager or download and manually flash from the link provided. Enjoy...

https://smartpack.github.io/sgs5/
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
For general information...

Because of the recent changes, the Pie branch of the stock Lineage OS kernel source is now significantly deviated to that of the Oreo branch. Please be aware that my Oreo kernels (both SmartPack & Boeffla) may not work well on Pie ROMs anymore in the near future (probably from the next Lineage OS build) until a new dedicated Pie build from my side arrives. With a new kernel manager update, I'll soon block the auto-flash in Pie ROMs temporarily to avoid issues.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
I hope you all got the latest update notification from SP-Kernel Manager. If not, just open the app to avail auto-update or manually download and install from the usual place, here. The app now shows the information about the latest of SmartPack-Kernel, if available. Of course, it won't work well on some ROMs, just like my auto-flash, since both processes using a similar mechanism. This long boring text will give you more information about the feature. Please read it carefully...

Case 1

In "SmartPack" page, under "Latest Version", if you see "Click here to check the latest version info", please no not hessite to click the menu. The message simply means that the app doesn't initiate any update check yet (and it won't until you click on it).

Case 2

If the message is "Failed to get latest version info! Please check your internet connection" (either if you are on SmartPack/Stock/ another custom kernel), there are three possibilities.

1) You don't have a working internet connection

2) No active kernel support for your device/android version yet.

3) The app somehow failed to get the update information (due to the same reason, which makes the Auto-flash failed on some ROMs).

In either case, please don't do anything except retry to get version information by clicking the "Latest Version" menu again. Kernel downloads should be broken (either technically or intentionally) in that case.

Case 3

The message "~ Congrats! You are up-to-date ~" (only if for are already on SmartPack-Kernel) means you already got the latest version of Kernel. In that case, the only may do is to re-check the version info by clicking the "Latest Menu" again.

Case 4

If the message is either "~ New Update (version tag) Available ~" (Only if you are on SmartPack-Kernel) or "~ SmartPack-Kernel version tag is available ~" (If you are on Stock or another custom kernel), please don't hessitage to go ahead to get the kernel by clicking "Get It!" menu.

That's all... and thanks for your patience...
[Samsung Galaxy S 5 Unified Development] joey118:
I had a problem with this kernel..my phone was laggy when using core control..I didn't have a problem like this when using boeffla kernel..My device is kltekdi

Here last kernel msg
[Samsung Galaxy S 5 Unified Development] justjr:
Sounds like core control is doing it's job correctly. Was the temperature past 70 °C? It's supposed to slow the device down when it's too hot so it can cool down. Monitor the temperature and the clock and you will see it.

Enviado de meu SM-G900M usando o Tapatalk
[Samsung Galaxy S 5 Unified Development] joey118:
That's not the case i think..cause my temp 50-60..and its super laggy :rolleyes:
[Samsung Galaxy S 5 Unified Development] Trey n:
In wake lock manager u can only select a certain number and it won't disable other wake locks can u fix it please? Thx
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
You have to understand few things...

1. A kernel message (like the attached last_kmsg) is mostly useless unless you are debugging an issue like random reboots (I think I already told you that in the telegram, is that you, right).

2. "msm_thermal_get_freq_table error" was there for a while, irrespective of the device, for all of us. So I don't think that it is not the problem.

3. From my side, there are absolutely no special changes has been done for your device (and I'm not planning too). Which means if your device has a special issue, it should be from stock LOS kernel.

4. I (and I think most of the others) are not facing any lag. So, there should be something wrong in your side. Probably, the time to make a full clean flash.

5. Finally, this kernel is not a flash & forgot type kernel like Boeffla (yes, Boeffla is like that if you properly configure Boeffla-Config app). Which means, this kind of issues are expected if you don't know how to tune kernel properly. In other words, it is just a matter of time for you (only you) to find a good profile, that satisfies your own needs.

Edit: anyway, I added a commit to msm_thermal.c, which can probably solve the "https://github.com/SmartPack/SmartPack-Kernel-Project_kltexxx/commit/958f0debbd832f1372ea26401899fc1bd066e405".
[Samsung Galaxy S 5 Unified Development] joey118:
Idk man..that's weirds..i've done everything but still can't solved this probs..:confused:

Only vdd restriction doesn't cause lag

Even when using justjr profile the lag doesn't go away when using core control
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
SmartPack-Kernel alpha-v1 for LineageOS 16 (Android Pie)

​

Hi all,

As you all know, the recent changes in the Pie branch of LOS kernel source forced me to make a separate kernel for Lineage of 16 and other Android 9 (Pie ROMs). So, here it is, alpha-v1. Enjoy...

Please note: This is only for LineageOS 16 and other Android 9 (Pie) ROMs. Please do not flash this over LineageOS-15.1 or any other Oreo ROMs.

You can auto-flash this version of kernel from SmartPack-Kernel Manager or download and manually flash from the link provided. Enjoy...

https://smartpack.github.io/sgs5/
[Samsung Galaxy S 5 Unified Development] michaelcrossland:
I can't for the life of me to get VDD to stop turning on. if I use core control it well turn back on after a reboot and if I use the SoC it does the same thing? It never did that before when I was on nugget. Yes I'm on LOS 9.0 on a Klte SM-T900. I use madick module that stops the ZRAM from being made because I use my own Swap program for that to free the RAM up for programs not swap. If that's casing this to happen please let me know and I'll stop using it.

Thanks for all your hard work on are old devices.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Sorry for the too delayed reply.

Have you tried to disable VDD restrictions in the stock lineage kernel? I believe that the situation is exactly the same in the stock kernel as well. If so, we have to wait for lineage team to fix it...
[Samsung Galaxy S 5 Unified Development] justjr:
edit: by the way, using my latest profile with your Pie kernel and is all running butter smooth fine!

This only happens on LOS 16 right? Cause it used to happen on 15 and 14 but was fixed, now I just installed Pie and it's there again.

Better to keep core control off while it's not fixed, don't use both.
[Samsung Galaxy S 5 Unified Development] forziere:
the smart pack kernel app doesn't work!!
[Samsung Galaxy S 5 Unified Development] michaelcrossland:
Yes I have turned it of in the stock LOS and it well stay off are at it looks like it does.
[Samsung Galaxy S 5 Unified Development] Drhedphuk:
It does.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
I'm not a magician to help if you simply say like this, even without telling what is really not working, and what is your current set-up.

Are you on Lineage-OS 15.1 or 16 :confused:
[Samsung Galaxy S 5 Unified Development] michaelcrossland:
I hope this screenshot helps clear up any confusion you're having.
[Samsung Galaxy S 5 Unified Development] forziere:
On 16

.bit aftet install your app it doesn't start
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Thanks. Everything is now clear, also found the fix, and a new version of Kernel will be released later today as a Christmas present to everyone :highfive:

Myself, and a lot of users are using this app on Lineage OS 16.0. See the attached screenshot from the Device page of SmartPack-Kernel Manager, which clearly says I'm running Lineage OS Android 9. There should be something wrong in your case. By the way, make sure that you have root access. Otherwise, app will simply fail to load.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
SmartPack-Kernel alpha-v2 for Lineage OS-16 (android Pie)

​

Changes:

Reverted msm_thermal to stock settings (Please note: it will fix VDD restrictions not turning off).

Please note: This is only for LineageOS 16 and other Android 9 (Pie) ROMs. Please do not flash this over LineageOS-15.1 or any other Oreo ROMs.

You can auto-flash this version of kernel from SmartPack-Kernel Manager or download and manually flash from the link provided. Enjoy...

https://smartpack.github.io/sgs5/

and finally,

Christmas wishes to my dear friends in xda​
[Samsung Galaxy S 5 Unified Development] Triviox:
I try use Spectrum to change de profile (because in shotcut said need Spectrum); but Spectrum app said "Spectrum not soported Please contact your kernel dev..." Im using your kernel in my S5 over LOS 15.1 downloaded/installed with SmartPack.

Whats need i make/set to use Spectrum with this kernel?

Thanks!

Edit :Fixed! The problem was need reboot the phone.
[Samsung Galaxy S 5 Unified Development] Edgus:
Hi, how I can use o install spectrum I use LOS 16 anda smartpack APK and kernel
[Samsung Galaxy S 5 Unified Development] Triviox:
You can find Spectrum at PlayStore, and to use you need active the shotcut. Here i use in Balance
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Guys, spectrum support is intentionally removed by me from the kernel. That's why, the page "Performance Tweaks" is no more visible in SP-Kernel Manager.
[Samsung Galaxy S 5 Unified Development] Triviox:
Thanks master, a little question, then this "change way" (see attatch) is a fake? Or there are any way to make "shortcuts profile change"? Thanks again!
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Announcement

***Announcement***

Finally, time to share some bad news...

With a heavy heart, I decided to donate my s5 to one of my friends. Which means, I do not own my favorite phone anymore, which I used for the last 3+ years. As a result, I have no way to continue none of my remaining kernel projects (including SmartPack & Boeffla) for this device.

It was a long journey of nearly 2 years, where I learned a lot about Kernel (and Android in general) development, met many good people, and our friendship with some of them grows even beyond the borders of xda. I enjoyed your company a lot. I hope I am able to satisfy many of you during this time. Also, please accept my sincere apologies, if I hurt some of your feelings in any stage of this journey,

If anyone like to continue my projects (both Smartpack & Boeffla), feel free to contact me. Further, If someone takes the maintenance of SmartPack-kernel, and who is ready to follow a similar release strategy of mine, I'm happy to continue auto-flash support from SP-Kernel Manager (Otherwise, I'll remove it in the near future).

Finally, Thank you very much to all of you for supporting my projects throughout the long period.

Hope to see you all, one day, somewhere else in the forum, or in real life (who knows):highfive:
[Samsung Galaxy S 5 Unified Development] Drhedphuk:
Thank you for all that you have done my friend, I will miss you very much. That said, I sincerely wish you all the very best for the future. Thank you once again.