yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] j1gga84:
XDA is definetly not working correct right now.. :(

[MENTION=7060205]sunilpaulmathew[/MENTION]

First of all I wish you a nice vacation, enjoy it :)

Is it safe to use the latest test kernel with KSM disabled as daily driver until you are back?

with the latest final build also the random reboots seem to be gone :good:

The camera staying black issue is also gone I guess and the system is much more snappier now :)

the only "negative" point is, that with nightmare governor and LazyPlug hotplugger the battery drain when I use

the phone is still quite high..

for scheduler I use noop for internal and external but I guess this has not that much impact to the battery.

Any ideas?

regards
[Samsung Galaxy S 5 Unified Development] Saber:
I think our device doesn't need anything more than ALMK in terms of memory management. Hence I didn't enable by default in my fork :)

---------- Post added at 10:48 AM ---------- Previous post was at 10:45 AM ----------

As already mentioned by another user, almost all of my changes were merged other than some specific ones (and some governors).

I personally don't like Lazyplug (this kernel), but that's just my opinion :)
[Samsung Galaxy S 5 Unified Development] GeTex:
I'm not sharing settings publicly right now, it's very expeirmental, if you want to try my settings PM me and I'll share with you, please don't share them yet till i finish tuning the governor and minfree and virtual memory

[MENTION=5811506]Saber[/MENTION] honestl I trust you to help if you can for temporarily helping maintain the kernel, You are by far the best suited Kernel Developer here, I would do it if you won't but I guarantee a nightmare waiting for us if I build it, I had a history of kernel flops. Anyone here remember when my kernel failed to properly thermal throttle and I burned my leg due to it reaching 90C? Also phone didn't work for hours after till i played with it again and it started working.

You should never change kernel settings before flashing the kernel, thats asking for problems, make sure you did everything correct, also LOS nightlies are sometimes buggy, it very likely could be an issue with the play services framework.
[Samsung Galaxy S 5 Unified Development] j1gga84:
delete (doublepost) due to XDA isues
[Samsung Galaxy S 5 Unified Development] aSadArtist:
I was actually using Kernel Adiutor for some time before I found this, but the problem's still there even if I revert to default kernel settings. I'll try again tomorrow with the new nightly that just came out, thanks.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Thanks [MENTION=6068529]Keller0088[/MENTION] [MENTION=8176555]Jason The Greek[/MENTION] and [MENTION=4699854]j1gga84[/MENTION] and all others for the kind words...

and yes, I'm not expecting any important changes in the los-14.1 kernel source code since all the attention is now on los-15.1. So, you guys can safely use the latest release or test builds for a long (till I'm back) unless there are some big changes happens...

By the way, I forget to share, now we have a webpage for this project. Although it is not a big thing, and I'll always give preference to update xda than anything else, just sharing here... ;)

https://sunilpaulmathew.github.io/announcements/
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
yes... xda has some serious issues... :p
[Samsung Galaxy S 5 Unified Development] Keller0088:
GREAAAAT!
[Samsung Galaxy S 5 Unified Development] drewcu:
Am new to SmartPack kernel as I have been using a Boeffla variant called Tuned with many instability issues. Really like this kernel and so far I like the offshoot by [MENTION=5811506]Saber[/MENTION] even more -- LOS Plus -- because it has Intelliplug CPU hotplug and some other features not found in this kernel. He isn't developing LOS Plus for 14.1 any longer so is there any way to merge his work into this kernel so we have the best of both worlds -- more kernel options and a kernel that will continue to be updated?

Thanks so much!
[Samsung Galaxy S 5 Unified Development] Saber:
I'll see if there are any changes from LOS. If there are any, I might build some maintenance releases (if Sunil is fine with that).

I don't think I'm the "best" kernel dev here :)
[Samsung Galaxy S 5 Unified Development] GeTex:
You are the best Kernel dev in this thread to do maintains, he said it would be K, he posted the instructions xD

---------- Post added at 03:08 PM ---------- Previous post was at 03:05 PM ----------

Recently this kernel removed Intelliplug for lazyplug most of sabers changes were merged
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
That would be great Saber... :)
[Samsung Galaxy S 5 Unified Development] BadToThePhone:
It seems like my battery life was the best with your final kernal
[Samsung Galaxy S 5 Unified Development] Jason The Greek:
Has anyone tried the last one beta kernel for Oreo 15.1 unoficial?If battery is better? and share config for kenel manager?Thanks.
[Samsung Galaxy S 5 Unified Development] kenedielh:
My phone is getting very hot please help iam on los 15.1 kltedv with the latest smartpack kernel
[Samsung Galaxy S 5 Unified Development] j1gga84:
Just had a random reboot on latest RR 5.8.5 unofficial while streaming Spotify to my BT speaker, the screen was turned off as the reboot happens.

The difference to the last crashes where the system did not boot anymore is that on this reboot the system booted..

Attached you find last ksmg, maybe you have an idea or find the error..
[MENTION=7060205]sunilpaulmathew[/MENTION] [MENTION=5811506]Saber[/MENTION] [MENTION=5414005]GeTex[/MENTION]

Regards
[Samsung Galaxy S 5 Unified Development] GeTex:
Hmmm... thats alot of BT statues, I have issues with the unoffical RR as well, I'm really becoming disappointed at the lack of stability for my S5, my Galaxy S3 and nexus 4 are more stable phones
[Samsung Galaxy S 5 Unified Development] Blackburn119:
This kernel only compatible with LOS no guarantee in other ASOP roms.
[Samsung Galaxy S 5 Unified Development] GeTex:
This kernel has support for RR
[Samsung Galaxy S 5 Unified Development] Blackburn119:
Try to disable lazyplug and enable mpdecision hotplug in KA app, always running 4 cpu cores like lazyplug can cause overheating.
[Samsung Galaxy S 5 Unified Development] GeTex:
Also not true, the cores will enter deep sleep when not in use, many phones abandoned hotplugging and don't run this hot.
[Samsung Galaxy S 5 Unified Development] kenedielh:
I don't know why mine run this hot even in my pockets may be i need to change my battery
[Samsung Galaxy S 5 Unified Development] GeTex:
maybe but unlikely, you probably need to either tune the kernel or look into sabers kernel, much more refined
[Samsung Galaxy S 5 Unified Development] kenedielh:
Thanks bro i will try to tune the kernel
[Samsung Galaxy S 5 Unified Development] GeTex:
change governors, try mako hotplug maybe, and change thermal throttles
[Samsung Galaxy S 5 Unified Development] mgp53:
Try crdroid, no issues on my smg900t.

Sent from my SM-G900T
[Samsung Galaxy S 5 Unified Development] taylorhmatos:
The version of February 1st can be installed in the lineage that left day 04 of haggertk?
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Yes, it should work since there is no change in the kernel source code...
[Samsung Galaxy S 5 Unified Development] taylorhmatos:
Okay, thank you.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
MIUI Camera magisk module

Hi friends,

Greetings from India

Got some free time and made this magisk module (MIUI Camera) exclusively using mobile, that is our beloved S5 (since I do not have access to my computer). All the credits to [MENTION=8302434]fxsheep[/MENTION] who ported this app and extended to other aosp ROMs. The camera seems much better than snap camera in many aspects although it has some bugs. If anyone interested, feel free to test and give feedbacks to the original dev (not me because I'll again disappear from here soon,) :p

Please note: in order to get the camera work, you guys need to give all the permissions manually (one time process)...

Download links are here... Enjoy...

MIUI Camera Magisk module

Screenshot
[Samsung Galaxy S 5 Unified Development] j1gga84:
Sounds nice but I ask myself why every cool app/tweak or improvement needs magisk to run :(

I don't like it and want to have it on my device so it is nothing for me at the moment ;)

regards
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
I like the idea of modules in Magisk which never touch system partition directly. It's also easy to add and remove while flashing a new ROM (only my opinion).

But you really don't need Magisk to run this app.

Download and extract the zip ---> find MIUICamera.apk (inside system/priv-app/MIUICamera/) ---> install as normal apk...

Done...
[Samsung Galaxy S 5 Unified Development] Blackburn119:
I thought you would work in Korea for long, too early to return to India you miss the winter Olympic.
[Samsung Galaxy S 5 Unified Development] Blackburn119:
Doesn't work.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Yes I'm living in Korea for the past 4 yrs. Now in vacation, and no plans to attend winter Olympics...

You should read the post fully :p

[COLOR="blue"]Please note: in order to get the camera work, you guys need to give all the permissions manually (one time process)...[/COLOR]
[Samsung Galaxy S 5 Unified Development] Blackburn119:
ok can u make a separate build for kltekor to remove lazyplug and put intelliplug back because lazyplug made my phone hot and mpdecision drain the battery.
[Samsung Galaxy S 5 Unified Development] Saber:
I can spin builds of my kernel for other variants, since I've only been doing klte and kltespr since initial release. Only reason why I didn't support in the first place is because I have a device that supports kltedv/kltespr, so it is easier for me to diagnose problems on similar variants.
[Samsung Galaxy S 5 Unified Development] Blackburn119:
Ok I would like to try your kernel since both kernel got similar features
[Samsung Galaxy S 5 Unified Development] Saber:
Just released builds for kltekor and klteduos. Check AFH. Let me know if it fixes the temp issues.

Regards, Saber
[Samsung Galaxy S 5 Unified Development] Blackburn119:
Thanks now my phone temperature is cool again.
[Samsung Galaxy S 5 Unified Development] kenedielh:
Is this only for nougat ?
[Samsung Galaxy S 5 Unified Development] Sickyman678:
Can somebody hook me up up with the original kernal that came with linage.Everytime I try to reflash my rom it just has that line animation loading thingy in twrp.

It is just that this kernal is quite laggy.Is there a fix?
[Samsung Galaxy S 5 Unified Development] Saber:
Yes, and officially supports LOS 14.1 and RR.
[Samsung Galaxy S 5 Unified Development] Saber:
Laggy kernel? Play around with the settings. Look around for profiles posted by other users.

Regards, Saber
[Samsung Galaxy S 5 Unified Development] Drhedphuk:
There is nothing wrong with the kernel at all. As already answered do some research, but if you really want the stock kernel just dirty flash the ROM again.
[Samsung Galaxy S 5 Unified Development] OfficialJohnGL4:
Does this support Resurrection Remix? (Based on lineage)
[Samsung Galaxy S 5 Unified Development] ozzycao:
Yes!

I love the smartpack. I used it with RessurrectionRemix and CrDroid (it was even better with crdroid). Now I'm using LineageOS 15.1 and Smartpack devs already created beTA version for us..
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Hi all

I'm back...

and hope you all fine...

I'll soon update Oreo kernel as well as the kernel manager...

Seems like the development of Nougat ended from the LOS side (no update for at least a month)
[Samsung Galaxy S 5 Unified Development] gerraourl33t:
glad to have u back :)
[Samsung Galaxy S 5 Unified Development] Blackburn119:
On Oreo kernel I enabled touch boost on KA but it didn't activate, does it work on your device?
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Don't know. Probably because CPU_input_boost is pre-activated while booting. Try to disable it (either use my modified app or search in this thread to do the same job in KA) and try again.
[Samsung Galaxy S 5 Unified Development] Blackburn119:
I used your modified app smart pack manager on LOS 15.1 16022018 build to enable touch boost but when I touched the screen it still lag. Usually CPU will run at 1190 mhz whenever you touch but this time it doesn't.
[Samsung Galaxy S 5 Unified Development] jprimero15:
Can u support HLTE sir??
[Samsung Galaxy S 5 Unified Development] Saber:
Input boost is enabled by default on boot. It's best not to use "touch boost" while there's already input boost enabled since they do the same (although the actual input boost driver is arguably better).

[MENTION=7060205]sunilpaulmathew[/MENTION]

I believe the option to enable the hotplug touch boost should be removed to prevent conflicts.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Sorry, it will be difficult maintain a kernel without device.

mm. I'm seriously thinking about that since some of the users are too lazy to read the comments fully (see, I asked [MENTION=7860020]Blackburn119[/MENTION] to disable cpu input boost first and he keep talking about touch boost):p
[Samsung Galaxy S 5 Unified Development] jprimero15:
Deleted
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
SmartPack-Kernel Manager v3.0

Hi all,

A new version of SmartPack-Kernel Manager (v3.0) is available.

Please note: Some recent changes from the official KA forced me to rebuild the app entirely from source. Sadly, I'm also forced to remove charge level control, which has been introduced in one of the recent version, due to several issues (hopefully added back soon). Download links can be found on the GitHub release page. Enjoy.
[Samsung Galaxy S 5 Unified Development] KirigayaKuritto:
kernel seems laggy on LOS 15.1 its my first time using it care to share profile using G900F ty
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
No surprise. The current kernel version is bit old since I was out of station for the last 3 weeks.

plz wait for my next update (very soon).
[Samsung Galaxy S 5 Unified Development] KirigayaKuritto:
NP. i just dont want to root my device though the lag really bugs me so no choice but to use kernel manager and change it to conservative games like Impact Honkai and VG now runs smooth with little less lag then i use smartmax the phone now runs smooth which is great :D now im gonna be excited for your new one XD

---------- Post added at 01:34 PM ---------- Previous post was at 01:30 PM ----------

THNK GOD for your kernel, now using Haggerts latest build with your kernel and some little twitching, games and phone RUNS SMOOTH! <3 <3 keep up the good work bruh now testing it for battery :D
[Samsung Galaxy S 5 Unified Development] Blackburn119:
Gaming lag been around for a while since cm 13 even on stock kernel, the only solution is to change governor to conservative.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
New (Oreo-beta-v1.5) builds...

Hi all,

New test builds (beta-v1.5) for Oreo ROMs are now uploaded. For change-logs, please visit this page. Download links for all the variants can be found at the below links as well as in Smartpack-Kernel Manager (latest version). enjoy.

GitHub

Mirror

AFH

Please note: If you opt AFH, make sure to download proper build (should contain Oreo-beta-v1.5-20180218) for your device.
[Samsung Galaxy S 5 Unified Development] Keller0088:
Woow thank you! Another version of your amazing kernel :o

---------- Post added at 04:12 PM ---------- Previous post was at 04:09 PM ----------

Woow thank you! Another version of your amazing kernel :o :D
[Samsung Galaxy S 5 Unified Development] Blackburn119:
What are those json files in GitHub?
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Enjoy... ;)

Some file used to enable kernel auto-update in Kernel Manager. Mostly, not useful for you guys...
[Samsung Galaxy S 5 Unified Development] gerraourl33t:
I can't install this version on kltekdi. It leads me to odin mode normal boot error. Maybe because I used klte build and flashed kltekdi kernel. But this trick works with your previous build (1.4). I can't use the kltekdi haggertk build because I can't get the cellular data working. Klte build works fine so I had to do that. Hmm
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Sorry. I accidentally uploaded the wrong kernel. Now it is fixed...

Can you try again? Thanks...
[Samsung Galaxy S 5 Unified Development] gerraourl33t:
Its working now. Thanks :)
[Samsung Galaxy S 5 Unified Development] klteuser010:
Setting microphone gain to something else makes mic/front speaker (earpiece)/speaker unusable till the next reboot. It would be awesome if I could set the mic gain!
[Samsung Galaxy S 5 Unified Development] KirigayaKuritto:
care to share profile for G900F? with good battery and no lag
[Samsung Galaxy S 5 Unified Development] GeTex:
EDIT: DO NOT FOLLOW THIS POSTS INSTRUCTIONS, INTELLI THERMAL DOESNT WORK, YOU WILL OVERHEAT!!!

Only those who are comfortable with Android and know what they are doing should read this, you can serious damage your phone if you don't

Hi all, I've been reluctant to share but I have a major battery optimization that works even with Sabers kernel

If under thermal control, you disable core control and vdd restriction, and enable intelli thermal, you can navigate to

/system/vendor/bin and take thermal_engine and name it thermal_engine.lock

this will disable thermal engine which is what operates Core Control

it wastes HUGE amounts of battery but if you use intelli thermal theres no advantage to having thermal engine run since it no longer has core control since you disabled it

it might get hot during boot but after settings are applied it will run fine

I recommend [MENTION=5811506]Saber[/MENTION] and [MENTION=7060205]sunilpaulmathew[/MENTION] setting intelli thermal default on and vdd and core control default off to make boot safe with such a config, I got a full HOUR extra screen time and standby is 2.3 days now!!!!
[Samsung Galaxy S 5 Unified Development] jprimero15:
How about stock kernel????
[Samsung Galaxy S 5 Unified Development] GeTex:
What about it
[Samsung Galaxy S 5 Unified Development] culiacanazo:
Ok, disregard that other question, i caught up sooner than i thought i would
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Microphone gain never worked well in our device in kernel level. I suggest you to simply leave it as such to avoid this kind of issues.

Thanks for the detailed write-up...

I already included some scripts to enable intelli_thermal while booting (also disable the other two stuff) in both Nougat/oreo Kernels. Plz see this. Don't know it working well for all...

and welcome back friend... [MENTION=7182553]culiacanazo[/MENTION]
[Samsung Galaxy S 5 Unified Development] Saber:
On my top priority list before I release my Oreo kernel :)

---------- Post added at 05:22 PM ---------- Previous post was at 05:18 PM ----------

I guess that's just how it is. Faux sound is kinda hard to work with (various levels of success), and franco sound has issues when changing levels. I think this is something I can have a look at again.
[Samsung Galaxy S 5 Unified Development] klteuser010:
No problem, i'm a new "klteuser", didn't know that mic gain never worked well in our device :D Thanks!
[Samsung Galaxy S 5 Unified Development] GeTex:
awesome, thermal engine off is just... noticeably faster and battery is better
[Samsung Galaxy S 5 Unified Development] Gargoyles:
Sorry for by dumb question. To modify thermal engine do I need some text editor, right?
[Samsung Galaxy S 5 Unified Development] GeTex:
no, do it in TWRP

as i said you just rename the file and add .lock at the end to disable it

One more time you MUST have Intelli thermal enabled or your phone will seriously overheat, possibly burn you, or damage the phone and or battery.

Most marshmallow + OS/es have a option in the developer options to enable cpu info overlay, turn it on and make sure that it doesn't pass 75-80C when running, i f'ed up and my phone hit 100C which is way too hot
[Samsung Galaxy S 5 Unified Development] Gargoyles:
Thank you! Solve it. Any idea why VDD restriction is auto check after I uncheck it ?
[Samsung Galaxy S 5 Unified Development] j1gga84:
[MENTION=7060205]sunilpaulmathew[/MENTION] [MENTION=5811506]Saber[/MENTION]

look at that, I guess LOS team heard you saying "there were no kernel changes since about a month",

so here they are: https://www.cmxlog.com/14.1/klte/ ;)

Maybe there will be more until next weekly this thursday :good:

regards
[Samsung Galaxy S 5 Unified Development] GeTex:
intresting, same behavior here

It's possible it's because it's a value of thermal engine, when i enable thermal engine it works, so it's possibly not even an existent value anymore
[Samsung Galaxy S 5 Unified Development] GeTex:
Okay, DO NOT disable thermal_engine

[MENTION=5811506]Saber[/MENTION] it appears intelli thermal DOES NOT WORK

I tested multiple times, it doesn't work I can get the CPU to 100c under load in any config

Instead I will shortly offer everyone a modified config for thermal engine which will improve performance as intelli thermal should have

In thermal tab disable intelli thermal, I'm working on this

[MENTION=5811506]Saber[/MENTION] and OP I suggest stripping intellithermal from the kernel, I tested by setting temps to 50c and it didn't throttle, core keeps rising
[Samsung Galaxy S 5 Unified Development] Henrea4:
:confused:

So, is this mod safe or not?
[Samsung Galaxy S 5 Unified Development] Saber:
Nah, it would be because they haven't released LOS 15.1 yet. That and because they usually patch older releases until it is " officially dead".
[Samsung Galaxy S 5 Unified Development] Saber:
Nope. Disabling thermal engine is not a good idea.
[Samsung Galaxy S 5 Unified Development] GeTex:
Yeah. I didn't know intellithermal didn't work right. This entire time thermal Engine has done the throttling. Should intelli thermal be stripped out?

Good news I have an alternate option that reduces thermal engines effect, I'm testing for the remainder of the week and then I'll post it here

Everyone leave core control and vdd restriction on, disable intelli thermal
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Those changes were already merged yesterday... Thanks :good:

Is it? I always disable vdd restriction & core control and use intellithermal alone. and the temperature of my device is mostly under 40. See the screenshots...

by the way, I'm on LOS-15.1...
[Samsung Galaxy S 5 Unified Development] GeTex:
Yes, if you disable thermal engine, it doesn't throttle. if you lower intellithermal to 50c while the device is at 70c it does nothing even with thermal engine on
[Samsung Galaxy S 5 Unified Development] Saber:
Could be because we are actually using Intellithermal (first version) rather than Intellithermalv2 where there should be a directory at /sys/module/msm_thermal_v2/ instead of /sys/module/msm_thermal/. I'm currently investigating this...

TL;DR: The kernel is using the V1 rather than V2 which was supposed to be designed for SOCs like ours.

Edit: I could have misunderstood the code...
[Samsung Galaxy S 5 Unified Development] GeTex:
That makes perfect sense, are you able to compile a test kernel for me so i can verify this?
[Samsung Galaxy S 5 Unified Development] Saber:
Actually, I can't really figure out how to get it working. The kernel config has it enabled, yet it is not used. Maybe I'm doing something wrong.

Anyway, I will be removing Intellithermal from my kernel as I think it's not really necessary.

Edit: From my understanding, intelli thermal v2 could have been enabled all that time (I did research without many answers), but is using just the msm_thermal/ directory for all of the tuning. Either way, I see no benefit on enabling it for our device.
[Samsung Galaxy S 5 Unified Development] GeTex:
Okay, I have a modified config for thermal_engine to produce the same effect