yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
SmartPack-Kernel stable-v14_r3 for Nougat

​

Hi friends,

Finally, after exactly 2 months, here is a new update (stable-v14_r3) for Nougat ROMs. Since [MENTION=4699854]j1gga84[/MENTION] [MENTION=5188092]justjr[/MENTION] and probably many other people still using Nougat, I removed the final tag for Nougat Kernel. That means I will provide updates (not as frequent as Oreo and Pie in the near future) if the situation really demands.

Please note: This is a major update. Everything seems fine and smooth in my end. If something went wrong, please let me know.

Changes:

1. Toolchain: switch to GCC 8.2.1 (latest).

2. Display: Added control over Min Backlight/Brightness.

3. Thermal: Removed Intelli-thermal.

4. Thermal: MSM Thermal: Exposed advanced parameters (need latest SP-Kernel Manager to access many). Please note: It doesn't mean that you can freely play with the thermal settings. Please leave it as such unless you are an expert. To know more about the newly added parameters, please read the official documentation from here.

5. CPU: Overclocked to 2.84 GHz.

6. Ramdisk: re-import SmartPack boot script with a lot of parameters suggested by justjr @ xda-developers.com.

7. Anykernel: Added android version check so that it will abort on unsupported Android versions (anything except Android 7.1.2).

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

As usual, the download links for all the supported variants can be found below. Sorry, NO Auto-flash available for Nougat Kernels in SmartPack-Kernel Manager. Enjoy...

https://sunilpaulmathew.github.io/sgs5/
[Samsung Galaxy S 5 Unified Development] swiftbones74:
Wow this is amazing, thank you friend. I personally find N to be the most stable version of android (on s5) from L to P, (so far). Thank you and [MENTION=7489422]IKGapirov[/MENTION] for continuing to support Nougat on our great old phone.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Video Guide: How-to Auto-flash from SmartPack-Kernel Manager

[YOUTUBE]qk8Uez9ftms[/YOUTUBE]
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
SmartPack-Kernel alpha-v1 for android 9 (Pie)

​

Some good news for Pie users (if any).

I just released the first alpha (v1) kernel for Android 9.0. The features are exactly the same as the latest Oreo release.

Please note:

1. Please do not spam LOS thread with my Kernel stuff if you flash this Kernel.

2. Since it is an alpha release mainly for internal testing, I do NOT want to provide the links in this thread. To get the kernel, please install latest SmartPack-Kernel Manager ---> got to "SmartPack" page ---> click "Download and Flash".

For more information, watch this youtube video provided in my last post.

I am looking forward to your comments, either here or in Telegram...

Enjoy...
[Samsung Galaxy S 5 Unified Development] justjr:
Using the newest Nougat kernel and it's awesome man. After trying many ROMs I also found out the hard way Nougat is the way to go for now on our device. Unfortunately, because Oreo works great on my other devices, falcon and osprey.
[Samsung Galaxy S 5 Unified Development] fubo73:
I never tried Nougat, I moved to Oreo from SkiesUX, and it is a real good daily driver for my needs, also thanks to [MENTION=7060205]sunilpaulmathew[/MENTION] kernel and your settings (and a new battery! :D): reactive, battery friendly (at the end of the day I have always more than 30%), stable, up-to-date. Thanks again for your hard work!
[Samsung Galaxy S 5 Unified Development] pmduper:
Thank you [MENTION=7060205]sunilpaulmathew[/MENTION] for your outstanding work.

SM-G900I LOS16

Installed latest manager and followed you tube steps for kernel install. Very simple and smooth install.

Now to give it test run :good:
[Samsung Galaxy S 5 Unified Development] Trey n:
I've been running los 16 and flashed ur kernel and been testing it for a day and no reboots Undervolted - 50 and for battery got 3:45 sot running great! Thanks devs
[Samsung Galaxy S 5 Unified Development] pmduper:
Noob question, how do I undervolt? Thanks
[Samsung Galaxy S 5 Unified Development] Trey n:
Go to smartpack kernel manager and swipe from the left and tap cpu voltage then u will see 0 ma on the top and plus and minus
[Samsung Galaxy S 5 Unified Development] pmduper:
Ok, thanks for your help
[Samsung Galaxy S 5 Unified Development] damianiw:
Agree thanks for continuing to support Nougat on the S5 I’ve flashed and look forward to giving this a run through over the next few days
[Samsung Galaxy S 5 Unified Development] blikkk:
Pie

Hi!

Sorry, i not speak english.

Bug1: core3 max freq always

Bug2: core1-core4 not offline

Great works. Thanks!
[Samsung Galaxy S 5 Unified Development] justjr:
Bug1 choose interactive governor on smartpack manager.

Bug2 is not a bug. Search the topic and look for my profiles, or change hotplug to lazyplug and you will get all 4 cores on all the time, which is arguably the best way to go.
[Samsung Galaxy S 5 Unified Development] blikkk:
THX!

Fine work!
[Samsung Galaxy S 5 Unified Development] damianiw:
Im experiencing really slow charging on this kernel wondering if I should tweak the charge voltage ?

Klte running revolution remix
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Install SmartPack-Kernel Manager and check the real-time charging status in Battery page. It should be 1800 mA for AC & 700 mA for USB. If not, please check with a new charger.
[Samsung Galaxy S 5 Unified Development] valinor_7:
Starting today, I'm noticing a "static" noise (hiss/crackle/pop, etc) coming from my rear speaker after flashing this kernel. With a clean install of Lineage everything is good, but as soon as I flash this kernel, I start hearing the noise. It's not constant, but it seems to be at least 50% of the time. I haven't changed any settings in the "sound" section of the smartpack manager, and for the rest of the settings, it doesn't seem to make a difference what settings I use. Any ideas?
[Samsung Galaxy S 5 Unified Development] Trey n:
did u try disabling speaker leakage in sound settings?
[Samsung Galaxy S 5 Unified Development] damianiw:
Thanks I changed charger last night did this and the new one shows 1800ma think I must have a faulty charger as got a full charge last night.

Could you advise if I need to find the boefla sound control apk or are gain and speaker leakage options which are under the sound settings on the smart pack kernel manager all it supports ? I’m not familiar with it but having used Dolby Atmos And Viper it sounded more efficient as it uses hardware ?
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Absolutely no idea. Maybe try following the suggestion of Trey n?

Boeffla sound is fully controllable in SP-Kernel Manager, means you don't need any other app. However, I'm not familiar with Dolby Atmos And V4A, so no comments.
[Samsung Galaxy S 5 Unified Development] Gargoyles:
Hey! I have that static noise too. But I don't think it's related to the kernel, because, now I am on lineage kernel, and before I was on boeffla. But now, after yesterday rom update, all appear to be fine.
[Samsung Galaxy S 5 Unified Development] damianiw:
Thanks for the reply re boeffla sound, I was wondering if there’s a graphic equaliser control ?
[Samsung Galaxy S 5 Unified Development] Saber:
[MENTION=7060205]sunilpaulmathew[/MENTION]

Good to see that you're still building for the S5 :) Only thing missing is your RD tag :)

Cheers from a former S5 user
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Unfortunately, NO. Only Speaker and headphone gains are available.

Hi, really nice to see you again here. Although I got a new (OP5T) device, I'm keeping my S5 only to provide kernel updates to the community :)

Just for the information of all, I opened a new thread in the app section for SmartPack-Kernel Manager, to make all the app related issues seperate from Kernel. Looking forward to your active support & participation...

https://xdaforums.com/android/apps-games/app-smartpack-kernel-manager-t3854717
[Samsung Galaxy S 5 Unified Development] Sincci:
That static hiss/crackle/pop noise is definitely related to something that this kernel is doing since it doesn't happen with stock LOS 15.1/16 kernel. Also, changing those sound related settings in the SmartPack-Kernel Manager doesn't seem to do anything.
[Samsung Galaxy S 5 Unified Development] valinor_7:
I assumed it was off by default so I never checked it, but I just looked and it was turned on. I turned it off and that seems to fix the problem, thanks!
[Samsung Galaxy S 5 Unified Development] justjr:
The 'fix leakage' actually is the problem. I've had it since day one of this release, and was only a matter of disabling the fix leakage option on the manager.

When my phone reboots it always start hissing cause of the kernel boot script turn that on. Then when smart manager applies my profile it goes immediately away.
[Samsung Galaxy S 5 Unified Development] NeedToLearnMore:
I've been using AOSP Extended 8.1 rom and the latest smartpack kernel which I assume is defaulted with justjr's profiles. I appreciate them because they work really well on nougat but I'm getting huge battery drains on oreo. It lasts under 2 hours of use without location on and just me playing clash royale. I feel like the rom is too fast so I would be happy undervolt. Can anyone please give their voltage settings? I've tried justjr's link to the PSV voltages but they are still not right for me. I still experience battery drains. Also, is interactive better for battery use or nightmare? I've tried both and don't seem to notice the difference since all my phone does is drain even when I'm using light apps such as playing stack or wtv. :(
[Samsung Galaxy S 5 Unified Development] Gargoyles:
I heard that nightmare is more battery friendly. Maybe a new battery will do the trick!
[Samsung Galaxy S 5 Unified Development] justjr:
I also need a new battery. :)

Interactive is the best governor cause you can tweak it to do what you want. Look at some pages ago and try the battery profile I posted around day 12/10.

Enviado de meu SM-G900M usando o Tapatalk
[Samsung Galaxy S 5 Unified Development] justjr:
Try this profile. I made it more battery friendly yet not that much laggy.
[Samsung Galaxy S 5 Unified Development] Tech0308:
Does anyone know why the Ondemandplus governor refuses to use 268mhz?
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
SmartPack-Kernel Manager v6.2

​

A new version of SmartPack-Kernel Manager (v6.2) is now available.

Changes:

1. Performance Tweaks: added Gaming profile.

2. Performance Tweaks: Fixed battery quick tile's not working properly.

3. Build tools: Updated Android Studio and gradle tools (v3.2.1).​

If you are on an old version, simply open the app and follow on-screen instructions. If not, download and manually install from my GitHub release page. Enjoy...

Please note: The Gaming profile is not implemented into the Kernel yet. Hence, please avoid the Gaming profile shown in the "Performance Tweak" page. It won't change anything until I add proper settings into the kernel side...
[Samsung Galaxy S 5 Unified Development] Trey n:
Would arch power implementation have any effect on battery life? (my old lg g3 ((which is no longer usable cuz of the chip has an open soder joint, took it apart and heated the chip with a hair dryer and only showed life for 10 seconds and back to the blue screen and dead again lol)) has this in a custom kernel). Would it be possible to impament this or is the s5 incomplete?
[Samsung Galaxy S 5 Unified Development] justjr:
Hey [MENTION=7060205]sunilpaulmathew[/MENTION]

After some research I'm using this settings for VM settings on the KLTE, they look good.

I'm appending it here as a smartpack manager profile, as well as a new cpu profile slightly modified from last version, should keep the same battery/performance in low demanding and deliver a little more power and less lag on high demanding loads. Clash Royale, Force Arena and Arena of Valor all play very good, with no lags and the device feels very cool compared to default settings or the performance profile I posted before.

Those who want to try and share the results are very welcome.

drop_caches '0' (I know is not a sticky value, but a command, but it doesn't see to stick to 0, makes no sense to use this command and tell to drop all caches at the startup, it must be just slowing down the startup and using more battery)

laptop_mode '1' (I don't remember the default, I thought it was 24000+ but then I see it was the bug I reported on the manager thread, it changes dirty writeback times so the device should feel faster and use less battery, but may introduce data loosing on crashing/rebooting scenarios, should be more dangerous going higher then 1)

swappiness '40' (use less zram, and therefore less cpu, but kills more apps in the background)

dirty_ratio '20' (higher equals more clean memory available to use, or less dirty data bloating it, and uses more cpu to do that job, dirty flushing at 20% of vm seems ok, the linux default according to the documentation, don't know if exactly same things applies to android)

dirty_background_ratio '10' (same as above but for process on the foreground, you don't really need them to be snappier then the foreground jobs).

vfs_cache_pressure '20' (still experimenting with this one, it chooses userspace apps to free their cache instead of the kernel cache, which should be needed more often then the apps ones)

The 2 dirty ratio values may be too high still for 2 GB of RAM.

:good:
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
I'm not sure. Maybe or may not be. But I remember to find some kernels with arch power enabled (mainly a tw kernel, if I remember correctly)

Thank you very much for constantly providing improved profiles to the community. Can I ask you a request, since you are an expert in this field ;)

Can you provide different profiles (ideally four, battery, balanced, performance and gaming) on the basis of your findings? If so, I'll base the spectrum profiles on the top of it.
[Samsung Galaxy S 5 Unified Development] zihar:
Differences between VM and cpu profile?
[Samsung Galaxy S 5 Unified Development] justjr:
Yeah. The main thing is, to be really effective on their goal, they have to be device specific. Otherwise I don't see how it can really have nice performance in games and stuff, without being specific to KLTE or Osprey for example. I could also do it for Osprey, but I don't think my old tunables I use there are good enough, I haven't studied too much about this at that time, and now my screen is broken.

Yes, they change totally different settings. Vm profile changes only the virtual memory settings I quoted above, it should give both more power and battery savings, mainly with many apps on on the background, try to open lots of apps, go back to home and see if they change between then faster, and if they behave as they should.

CPU is a slightly modified version from the last CPU profile you can test to see if you like. Try to see the change in time to load games and heavy apps, it should load a little faster then race back to idle again.
[Samsung Galaxy S 5 Unified Development] TureX:
Hi guys, How can I "add" user zip profile?

Edit : done ?
[Samsung Galaxy S 5 Unified Development] leonesta:
What's wrong with sound in the last build v 23???
[Samsung Galaxy S 5 Unified Development] justjr:
Hey guys, I've found very nice numbers to put on vm settings, lol.

Actually, turning the flush higher use lots of less cpu, and power. The device feels snappier and my temperature doesn't go past 70ºC anymore while playing most games. Counterpart is that we have more risks of losing data if a reboot occur. I ain't having no reboots. :)

Also, I think laptop_mode is better to be off on any android, so the kernel doesn't flush data to the disk every time any i/o occur, and wait until dirty write times and ratio tells it to do so.

There's still lots of ground to cover, but is way better then yesterday and default settings, I feel.

I'm sharing one profile with all my settings, expect under voltage, so it doesn't crash to you guys. And other profiles with the settings separated if you guys wanna experiment.

Please give me feedback if you try it!

[MENTION=7060205]sunilpaulmathew[/MENTION] most of the settings that improves performance and power efficiency on virtual memory also decreases data security (increasing write times), but if the device is stable enough, this rarely should be an issue.

I think that maybe you should release a new kernel just to turn that leakage thing off xD

Also if you wanna implement current cpu tunables, they are almost the same from a week ago or so, same from yesterday except 1 number, very efficient and stable right now. Maybe even VM and I/O settings.

Turn Speaker Driver Leakage off under sound tab on the kernel manager.
[Samsung Galaxy S 5 Unified Development] leonesta:
Oky I've done it before but it turns back on again after restart why.?
[Samsung Galaxy S 5 Unified Development] justjr:
Because you didn't check the apply at startup thing there. If you had checked, increase the time to apply them after boot on the manager settings to 20 seconds.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
I'm waiting for LOS team to merge some important commits from Samsung's latest OSCR before making a Kernel update. However, it seems like their code review process is delaying. I'll try to make a new build with the speaker leakage stuff disabled. I'll test your new profile (241018-all-settings-no-undervolt.zip) later today. I'm also thinking about disabling Spectrum until I manage to find efficient profiles for Battery, Balanced, Performance and Gaming. And, I'll test your VM settings as well...
[Samsung Galaxy S 5 Unified Development] Drhedphuk:
Have I got this right? Or have I misunderstood? Smartpack 15.1 kernel can be flashed running a pie ROM? Thank you in advance for your help.

Kind regards.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
No, you can't. The Android version check in the anykernel script will prevent you from flashing 15.1 kernels on 16. However, as an early testing, you can auto flash pie kernel from SP-Kernel Manager directly. See release post here and a demo video on YouTube... Enjoy...
[Samsung Galaxy S 5 Unified Development] Drhedphuk:
Thank you Sunil. As I thought, I completely misunderstood.
[Samsung Galaxy S 5 Unified Development] damianiw:
Hi [MENTION=5188092]justjr[/MENTION] trying your 241018 no undervolt profile on my s5 running RR Nougat and have got to the end of the day with over 50% battery left which is a big improvement my daily usage is never heavy but Ive made a few calls today and t definitely feels snappy - look forward to giving it a proper run over the weekend.

One issue I always have is when I plug my phone into my charger it seems to really drag down the performance - will try this later but wondering if there's any real reason or perhaps apps are kicking in as there's wifi and power ? If so how could I investigate the offending app ?

Really loving the kernel and smartpack manager thanks [MENTION=7060205]sunilpaulmathew[/MENTION]
[Samsung Galaxy S 5 Unified Development] justjr:
It doesn't happens here. What rom are you using? Must have some option to open apps when you plug the phone or something.

Plugging the phone here doesn't make the clock change at all, it stays at idle min freq.

What sir. Oh, you mean the charger lol. Yeah, it happens because lots of apps have alarms and wakelocks that goes off when you plug or unplug the phone. It's app dependent, something like Facebook would hog you down I think.

It happens here but to a very low degree, I can plug while playing a game and continue playing no slowdown.

Enviado de meu SM-G900M usando o Tapatalk
[Samsung Galaxy S 5 Unified Development] damianiw:
That sounds like what I was describing badly, it seems to go away after a little while - I have Facebook and the other usual social media suspects so guess they’re why I’m noticing it say if I set my alarm as I plug in
[Samsung Galaxy S 5 Unified Development] justjr:
Nah, I've had confused phone for headphones.

I recommend facebook lite, I use it and it have way better behavior the facebook normal app.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
SmartPack-Kernel stable-v24

​

Hi friends,

A minor update of SmartPack-Kernel (stable-v24) for Oreo ROMs are now available.

As usual, the download links for all the supported variants along with change-logs can be found below. Alternately, you can Auto-flash the latest build for your device from SmartPack-Kernel Manager within a few clicks (more convenient). Enjoy...

https://sunilpaulmathew.github.io/sgs5/
[Samsung Galaxy S 5 Unified Development] adzz37:
will this work on lineage pie just like boeffla?
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Nope. But you can still test an alpha version of this kernel on Lineage Pie. Read the release notes or watch this YouTube video...
[Samsung Galaxy S 5 Unified Development] j1gga84:
[MENTION=7060205]sunilpaulmathew[/MENTION]

by the way, congrats for "recognized developer" :fingers-crossed:

I guess some days ago you wasn't a RD yet or did I miss something? :D

regards
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Thank you... ;)

You are correct. I got the RD title last week, Friday or Saturday...
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
SmartPack-Kernel alpha-v2 for android 9 (Pie)

​

I just updated the kernel for Android 9.0 (alpha-v2). For change-logs, plz visit here.

Please note:

1. Please do not spam LOS thread with my Kernel stuff if you flash this Kernel.

2. Since it is an alpha release mainly for internal testing, I do NOT want to provide the links in this thread. To get the kernel, please install latest SmartPack-Kernel Manager ---> got to "SmartPack" page ---> click "Download and Flash".

For more information, watch this youtube video.

I am looking forward to your comments, either here or in Telegram...

Enjoy...
[Samsung Galaxy S 5 Unified Development] Drhedphuk:
I have been running V2 of the Pie kernel with Haggertk latest Lineage 16 ROM and finding battery life has significantly improved.
[Samsung Galaxy S 5 Unified Development] zihar:
On android pie rom can we install gaps?
[Samsung Galaxy S 5 Unified Development] Drhedphuk:
Yes. I flashed Open Gapps 9.0 Pico.
[Samsung Galaxy S 5 Unified Development] griz.droidx:
Hey doc this is a chicken and egg issue I believe. I have never been able to use your app without your kernel (maybe I had your boeffla installed). So if one doesn't have the kernel...

I have your first release so it shouldn't be an issue for me, just thinking out loud.

Oh one more thing. Thanks for all that you do and have done for this device. From your kernel to even continuing the boeffla. Now that's a nice Dev.

Couldn't get it using the app.

Don't laugh too hard I can't even insert the screen shot into the xda app using swift key. It'll be in the Dev channel.

Okay I did some searching hoping to find a link in the group but did see that you asked about the bootloader version. I'm on qb2 of vzw device
[Samsung Galaxy S 5 Unified Development] adzz37:
thanks. gonna try later. ill report back if it works...

thank you for all the hardwork for our s5.. godspeed.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
I don't understand the "chicken and egg issue" exactly. Do you mean the "Download and Flash" option is not visible in your phone? If so, it should be because of a different bootloader id, which is not added to my app yet. So, give me your full bootloader name, not the short name like qb2. You can find it from the device page of the app (or by sending "getprop ro.bootloader" from adb/terminal). By the way, which Pie are you using? Someone already reported issues in Liquid Remix Pie.