yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] griz.droidx:
I don't use gapps and use nanodroid. For myself 2.0 unofficial from Bruno has been better than 2.1. Many in the telegram Dev channel claim battery life is worse for them than 2.0. I couldn't get spoofing working on 2.1 and didn't see app-ops/privacy manager so I didn't stay on there long.

Sorry for the off topic.
[Samsung Galaxy S 5 Unified Development] TarzanSUD:
Every time I use this kernel on BooleggersRom 4.0-Stable the system changes to Black and White. The screenshot shows it in color. But in the smartphone it's gray.

Updating: Smartpack was configured to gray scale. Solved the problem. Sorry for bottering you.
[Samsung Galaxy S 5 Unified Development] J-Lindo:
All I can think is try reflashing the EFS again if it doesn't work the first time. Maybe second time's the charm?
[Samsung Galaxy S 5 Unified Development] smokeybro1:
I've tried it multiple times, but no success. I'm just going to stick with the stock LOS kernel because this is too much of a hassle to get to work. Thank you for all of your help, J-Lindo and fbs.
[Samsung Galaxy S 5 Unified Development] Username Aron:
Really impressed by this kernel, im able to reach 2h30 SOT with it on Lineage Pie (i didnt do any tweaking), which is great since i was doing about 3h SOT with stock Lollipop. Now talking about the flickering, in my case it wasnt fully fixed but its definetly better and less annoying than before.

In summary, thanks for this amazing work
[Samsung Galaxy S 5 Unified Development] deli5:
I like this kernel. so snappy and efficient!

However, I'm having an issue with the Bluetooth with RR 7, also same problem on LOS16. The bluetooth fails to start up entirely as others have mentioned. Has anyone found a work around?
[Samsung Galaxy S 5 Unified Development] mkdante381:
Disable scanning Bluetooth (this scan for Bluetooth devices, also if BT is turn off) > Clear Cache and Data for system app Bluetooth> restart to twrp, delete cache and dalvik>enable scanning Bluetooth>turn on Bluetooth

This help for me.
[Samsung Galaxy S 5 Unified Development] MissNurseXochi:
What do you need to get this kernel working on the G860P?

I might be able to provide files. I would like to help test, but I don't know how to code. I'm just a nurse who still uses this old phone as my daily driver.
[Samsung Galaxy S 5 Unified Development] Noob9496:
Best kernel ever, no screen flickering, >80000 Antutu, Safety net True, >4-5h SOT. All works.
[Samsung Galaxy S 5 Unified Development] MissNurseXochi:
Well I just tried the variant for the S5 Active and the G900P on my G860P.

It kinda works! But I have a problem with the Lineage OS 14.1 root addon. It works for like a minute and then stops working. By working I mean apps detect root access and function right, except for root access disappears. I would prefer to use it instead of Magisk but IDK how to fix this.

I don't get flickering anymore, even at the lowest brightness! I just want root to work. :eek:

I'm kinda disappointed that the G960P doesn't get much developmental love compared to the other S5 variants. I like this phone, even if it's very old. It still works and doesn't compromise much for daily general use.

Edit: This kernel seems to cause freezes and reboots on my G860P, but it might be tied to the overclock. My phone isn't warm either so maybe as soon as it tries to overclock then maybe it forces a reboot. As for root, Magisk works. Still no flickering!

If you want to use this kernel on a G860P, use the kltedv or klteactive version. Magisk for root, and don't overclock.
[Samsung Galaxy S 5 Unified Development] MissNurseXochi:
Well I left my phone on last night and I got up and my battery was dead.

Charged it a little bit just enough to turn it on and I went to battery stats.

Over 7 hours of screen on time! Wow!
[Samsung Galaxy S 5 Unified Development] zfk110:
after flasthing this tuned-kernel-201119-klte on G900t my Magisk failing both ctsprofile and basic integrity check, I downgrade Magisk to 19.3 still the same when I went to [KERNEL][N/O/P][All Variants] Intelli-Kernel it start to pass any idea?
[Samsung Galaxy S 5 Unified Development] Noob9496:
If You use EdXposed, install this module.

No+Device+Check+1.1_fakeSign
[Samsung Galaxy S 5 Unified Development] zfk110:
I just used bare Hovac Pie rom, Gapps, and this kernel that module only show its passing safetynet passing, but originally its not passing safetynet
[Samsung Galaxy S 5 Unified Development] ttesty:
Periodic Error:

15:28:38.069 system_server E KernelUidCpuTimeReader: failed to remove uids 99006 - 99006 from uid_cputime module

15:28:38.069 system_server E KernelUidCpuTimeReader: java.io.FileNotFoundException: /proc/uid_cputime/remove_uid_range (No such file or directory)

15:28:38.069 system_server E KernelUidCpuTimeReader:	at java.io.FileOutputStream.open0(Native Method)

15:28:38.069 system_server E KernelUidCpuTimeReader:	at java.io.FileOutputStream.open(FileOutputStream.java:308)

15:28:38.069 system_server E KernelUidCpuTimeReader:	at java.io.FileOutputStream.<init>(FileOutputStream.java:238)

15:28:38.069 system_server E KernelUidCpuTimeReader:	at java.io.FileOutputStream.<init>(FileOutputStream.java:119)

15:28:38.069 system_server E KernelUidCpuTimeReader:	at java.io.FileWriter.<init>(FileWriter.java:63)

15:28:38.069 system_server E KernelUidCpuTimeReader:	at com.android.internal.os.KernelUidCpuTimeReader.removeUidsFromKernelModule(KernelUidCpuTimeReader.java:203)

15:28:38.069 system_server E KernelUidCpuTimeReader:	at com.android.internal.os.KernelUidCpuTimeReader.removeUid(KernelUidCpuTimeReader.java:174)

15:28:38.069 system_server E KernelUidCpuTimeReader:	at com.android.internal.os.BatteryStatsImpl.remove(BatteryStatsImpl.java:300)

15:28:38.069 system_server E KernelUidCpuTimeReader:	at com.android.internal.os.BatteryStatsImpl.clearPendingRemovedUids(BatteryStatsImpl.java:466)

15:28:38.069 system_server E KernelUidCpuTimeReader:	at com.android.server.am.BatteryExternalStatsWorker.run(BatteryExternalStatsWorker.java:372)

15:28:38.069 system_server E KernelUidCpuTimeReader:	at java.util.concurrent.Executors.call(Executors.java:458)

15:28:38.069 system_server E KernelUidCpuTimeReader:	at java.util.concurrent.FutureTask.run(FutureTask.java:266)

15:28:38.069 system_server E KernelUidCpuTimeReader:	at java.util.concurrent.ScheduledThreadPoolExecutor.run(ScheduledThreadPoolExecutor.java:301)

15:28:38.069 system_server E KernelUidCpuTimeReader:	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)

15:28:38.069 system_server E KernelUidCpuTimeReader:	at java.util.concurrent.ThreadPoolExecutor.run(ThreadPoolExecutor.java:641)

15:28:38.069 system_server E KernelUidCpuTimeReader:	at java.lang.Thread.run(Thread.java:764)

15:29:21.703 system_server E KernelUidCpuTimeReader: Failed to read uid_cputime: /proc/uid_cputime/show_uid_stat (No such file or directory)
[Samsung Galaxy S 5 Unified Development] dachs1:
Hi there,

I wanted to use the kernel with the NEMESIS REBORN V 5.6 2019, but it is not installed. Is the kernel not suitable for Rome? I have the 900f.
[Samsung Galaxy S 5 Unified Development] mkgrage:
AFAIK this kernel is AOSP based. Meanwhile Nemesis Reborn is TW base. So I doubt it would be work each other.
[Samsung Galaxy S 5 Unified Development] fbs:
no support for samsung-based roms
[Samsung Galaxy S 5 Unified Development] Hellisonearth:
Sounds great, can you make it for 901F? thanks
[Samsung Galaxy S 5 Unified Development] Noob9496:
What kernel configuration are you using?
[Samsung Galaxy S 5 Unified Development] MissNurseXochi:
I ended up ditching this kernel on my G860P. It was causing instability and other problems and I had to wipe my phone.

Basically just lower the speed to the minimum it can go to and use power saving options. I think I used it with performance governor as well, but I had Discord open. That's about it, no extra heavy use.

I don't use apps like Facebook either which is notorious for eating battery.

I may of used Greenify too.

I hope someone can work on the G860P variant, as these can be found pretty cheap and they're still decent. We don't really have much for ROM options. I don't want to upgrade my phone, as this one has so many good features that aren't present in many newer $1000+ dollar phones.
[Samsung Galaxy S 5 Unified Development] mkgrage:
[MENTION=516058]fbs[/MENTION] I've found a strange thing. When I installed tuned-kltekdi version performance is like a beast, but charging process would be stopped at 60-70 percent of battery, no matter how long you charge it.

Is that any explanation or troubleshoot regarding this matter?
[Samsung Galaxy S 5 Unified Development] fbs:
your battery is probably dying and can't output the current the kernel wants to show 100%

you can try switching it or just ignoring the non-100% text at your status bar
[Samsung Galaxy S 5 Unified Development] fbs:
there's a "kltespr" config file here.. humm let's see
[Samsung Galaxy S 5 Unified Development] fbs:
if someone using kltespr wants to test...
[Samsung Galaxy S 5 Unified Development] Nerva:
I'm running tuned-kernel-201119-klte on my Verizon S5, and when I run Google Maps (a RAM hog, obviously) it frequently "forgets" my live wallpaper -- it reverts to the stock wallpaper and I have to go to the home screen settings and re-select it, over and over.
[Samsung Galaxy S 5 Unified Development] fbs:
it doesn't seem like a kernel bug, really...
[Samsung Galaxy S 5 Unified Development] Nerva:
Doesn't the kernel manage memory? It comes across like when there's a sudden/severe RAM shortage (from GM doing what it does) the live wallpaper is not "protected" or whatever and gets killed.
[Samsung Galaxy S 5 Unified Development] fbs:
there's an order to this killing and I think the live wallpaper shouldn't be the first one, but it's up to the android rom itself to set priorities, or even the app itself
[Samsung Galaxy S 5 Unified Development] fbs:
new version is up
[Samsung Galaxy S 5 Unified Development] vlad3647:
Thanks Voilaaaaaa new phone!!!!!
[Samsung Galaxy S 5 Unified Development] Nerva:
Thanks for the updated version!

May I suggest naming the files with the suffix YYYY-MM-DD -- that way it sorts nicely.
[Samsung Galaxy S 5 Unified Development] Noob9496:
Why don't I have all the options in the Boeffla Config V2 application? After flashing the latest version of the tuned kernel, several options have disappeared, for example, screen brightness management. I'm using LineageOS 16.
[Samsung Galaxy S 5 Unified Development] mingi20613:
deleted
[Samsung Galaxy S 5 Unified Development] mingi20613:
+Logs
[Samsung Galaxy S 5 Unified Development] fbs:
I couldn't notice anything missing on your screen shots.. Can you be more specific? Did u have a before/after comparison?
[Samsung Galaxy S 5 Unified Development] Noob9496:
In the display + led tab you could set the lowest brightness of the screen, after updating this option disappeared. I'm using application version 2.5.20. And can I have a list of processor governors? I would like to set the zzmove management, but I don't have it on the list.
[Samsung Galaxy S 5 Unified Development] fbs:
this specifically brightness control may be off because the flicker-free fix, I'll take a look

the zzmoove governor was long ago removed and it won't be back
[Samsung Galaxy S 5 Unified Development] fbs:
I think next build will fix this, tomorrow
[Samsung Galaxy S 5 Unified Development] Nerva:
Thank you so much for this update -- you've noticeably increased the speed of my phone. That, combined with me reverting to Google Maps 10.14.2 (the last version before they larded it up with more tracking overhead), has turned it into a new phone.

As an example, I was driving in my car yesterday listening to Google Music from my phone, when I held down the home button, Google Assistant quickly popped up (pausing Google Music) and was ready to listen, I said "Navigate to" suchandsuch, it immediately launched Google Maps, unpaused Google Music, and it was navigating just a few seconds later. I was stunned.

For comparison, before I upgrade to the latest kernel version and reverted Google Maps, there was one incident that really stuck in my head, when I was walking out to my car to drive somewhere not that far away, where I'd have to drive to the freeway, drive on it a mile or two, and then take an exit, but I couldn't remember which exit or where the place was exactly. So when I was still 20-30 feet away from getting in my car I held down the Home button to launch Assistant. It didn't load until I was getting in my car. Inside my car, I told it to navigate to suchandsuch, then I started the car and started driving while it started loading Google Maps. I got to the freeway but Google Maps was still spinning a circle where my profile icon would be. Then it was searching for the route.... Then it was loading Navigation.... Then it was searching for location.... Finally it showed my current location, with the directions telling me to turn around at the next exit, because I'd ALREADY PASSED the exit I was supposed to take. I later went back and had Google Maps tell me how long it would take to drive from my place to the point where it told me I needed to turn around, and it was a FIVE MINUTE drive. It took FIVE MINUTES to go from being given a navigation request to actually showing my location on the map.
[Samsung Galaxy S 5 Unified Development] Noob9496:
What is the best kernel configuration for longer battery life?
[Samsung Galaxy S 5 Unified Development] kanone64:
Thank You !! :)

little Question:

For the LMK Algorithm do we have to edit/do something? like in Boeffla Config or should we leave the Boeffla Options Empty ?

best regards
[Samsung Galaxy S 5 Unified Development] fbs:
Glad to know. I've noticed this huge slow down while showing maps and was even thinking in use anything alternative to google apps. They're really bloated.. even the Search (Named simply as "Google" on app list) was making my phone miserable even while not using it.

And I think there's a memory leak somewhere (mostly on Pie roms) making the phone slower and slower as the time passes. Rebooting fixes it.
[Samsung Galaxy S 5 Unified Development] fbs:
boeffla app should show the default values and you can tweak it if you like.. just dont lower it or else performance will suffer.. but the defaults are always good, at least on tuned kernel
[Samsung Galaxy S 5 Unified Development] Nerva:
May I suggest naming your files with a YYYYMMDD suffix rather than DDMMYY? Makes it much easier to sort.

---------- Post added at 12:25 PM ---------- Previous post was at 12:20 PM ----------

I'm new to this boeffla app thing -- I see on android-apk.org there's a newer version (Boeffla-Config V2 2.6.02). Any reason to run that vs version 2.5.20?
[Samsung Galaxy S 5 Unified Development] kanone64:
try it :) e believe it wont work with this Kernel :)
[Samsung Galaxy S 5 Unified Development] fbs:
profile "tuned - battery extreme" at the CPU tab (boeffla app)
[Samsung Galaxy S 5 Unified Development] fbs:
humm are you trying to make a collection of tuned kernel releases? lol because here at the post there's no need to sort anything

and 2.5.20 was the last "boeffla app config" to support this "type" of kernel
[Samsung Galaxy S 5 Unified Development] mingi20613:
Original Boeffla Kernels that are already EOL don't support newer version too.
[Samsung Galaxy S 5 Unified Development] Noob9496:
Is there any point in using fde.ai, nfs injector or L speed together with Tuned kernel?
[Samsung Galaxy S 5 Unified Development] celeb90210:
Would be awesome having a Q version
[Samsung Galaxy S 5 Unified Development] fbs:
Nope. I know them. Completely scam. It will only hurt.
[Samsung Galaxy S 5 Unified Development] Brasscat82:
When my system (official LOS 16) boots, I get the warning that my SELinux is not enforcing, but when I check Trust, it is enforcing. Is this something to be concerned about, or is this just a bug?

KLTE Kernel on my SM-G900T
[Samsung Galaxy S 5 Unified Development] Termi93:
Great kernel, it fixed my issue with RR 7.0.2 of screen flickering and the phone boots up blazing fast too.

Thx 4 the work.
[Samsung Galaxy S 5 Unified Development] Termi93:
So in conclusion, is there any recommended setting we should use on this kernel or just leave it as it comes?

If i got it right, the max. CPU frequency is sitting at ~1,5ghz instead of the stock 2.5ghz.

And i didn't really get what the system tweaks are doing...

Tomorrow i'll have my first day on the go with this kernel on it's stock settings without using the boeffla app.

If there's anything to improve the experience beyond the stock settings i'd be happy to try it out.
[Samsung Galaxy S 5 Unified Development] fbs:
The defaults are the defaults for a reason.. and default max frequency on tuned is 2.66ghz

Install KTmonitor (second first post) to monitor it
[Samsung Galaxy S 5 Unified Development] Termi93:
Damnit... ofc you are right, just used KTmonitor... idk what i did wrong when i got the BoefflaV2 app and saw the 1.5ghz max... maybe changed it accidentaly or whatever :rolleyes:

I just uninstalled the Boeffla App and reflashed your kernel to get your settings back.

So i wont even bother touching the settings again and keep it as it is :good:

Btw. i'm really impressed by how fast the smartphone boots up now.
[Samsung Galaxy S 5 Unified Development] __Alchemist__:
Oh why didnt i discovered this kernel before. Thanks!
[Samsung Galaxy S 5 Unified Development] Brasscat82:
? Love the boot time, but Breaks my Bluetooth and subsequently, my mobile data (connected but no net access).

I need to turn on and off airplane mode for mobile data to pick back up. Went back to stock LOS16 kernel. ?
[Samsung Galaxy S 5 Unified Development] pslag01:
My device: SM-G900P (Sprint)

Baseband: G900PVPS3CQD1

OS: 16.0-20200118-NIGHTLY-kltedv (to get most recent Android security patch: 2020-01-05).

Current kernel: 20191120-kltedv

Kernel 20200117-kltespr: 'recent apps' and 'back' buttons did not work so I abandoned any more testing.

Kernel 20200117-kltedv: battery usage significantly worse compared to 20191120-kltedv via unscientific test:

o Wifi OFF, Data OFF, only Phone radio on (i.e., not in airplane mode).

o Boeffla: Tuned / Tuned - battery extreme.

o Two nights starting w/full charge. After seven hours idle, battery at 83% with 20200117. But 94% with 20191120.

Bluetooth: leaving it ON all the time has prevented loss of 'previously connected devices'. So I don't have to recover via 'Settings / Apps / See all / Show system / Storage / Clear Storage' and then boot to Recovery and wipe Cache/Dalvik.

So no real questions, other than perhaps any suggestion(s) for something I may have done wrong with the 20200117 kernels (spr and dv)?

THANX for the great/continued work!
[Samsung Galaxy S 5 Unified Development] Termi93:
Seems as i praised this "fix" too early.

Idk what i'm doing wrong but the flickering is back again :rolleyes:

When turning off the phone or it's locking itself on timeout and whenever i want to unlock it the screen flickers.

Additionally the SystemUI is rebooting once in i while...
[Samsung Galaxy S 5 Unified Development] Noob9496:
Just use autobrightness.
[Samsung Galaxy S 5 Unified Development] Termi93:
Sadly it's not that esay... didn't work.

Additional Info:

Before the screen shuts off / goes to AOD (depending on whats set), the brightness is lowered and just in the moment before the phone locks, it flashes up with set or max brightnes for a split second.

Sometimes the screen stays completely off, by randomly pressing HW buttons and tapping on the screen it may come back to life again or... in worse case ends up shutting down (still having the black screen) and rebooting into download mode :rolleyes::confused:
[Samsung Galaxy S 5 Unified Development] Noob9496:
Try to turn off Always on display. I do not have this option enabled. I have no problem with screen flickering.
[Samsung Galaxy S 5 Unified Development] fbs:
Man your display is really bad. Mine was like this before, sometimes it didn't even turn on!

In my case I think it was the display flat cable that connects the display to the mainboard, because after pushing it very hard, this seldom happens.

If you have the skills to disassembly your S5, you could check the flat cable.. it may be rusty!

This flicker-fix lowers the brightness without lowering the frequency of the refreshes. (but only when brightness is 30% or lower). Thus more energy goes to it and it doesn't flicker because the display's tiny-invisible-old-capacitors are stabler when there's more energy passing through them.
[Samsung Galaxy S 5 Unified Development] Termi93:
[MENTION=615945]noo[/MENTION]b: I tried with inactive display, without, with AOD, without and the combinations of them, still have the problem...

[MENTION=516058]fbs[/MENTION]:

Thx for your effort.

I'm wondering...

My display really shouldn't be in such a bad shape, i take good care of it usually. It held up from 2014 to 2019 with even the factory screen protector in place until some stupid kid thought it's funny stepping on it :rolleyes:

Well at least his dad's insurance paid most of the replacement cost. (time value would have been a joke)

And this was at end of September 2019.

Now i'm literally having a new one in it and even a glass screen protector on it.

So in my case it might be the cable not being plugged in properly maybe?

Guess i should send it back in and ask for warranty on the repair...

The weird thing is, after being rebootet it works for a few times and over night being on the charger it worked from last night til this Morning.
[Samsung Galaxy S 5 Unified Development] kanone64:
Hey

Is youre Display affected by temperatur ? like mine very similar "Problems". Even more if its cold ;)

In my Case its the Display... Connector, Flatcable whatever. i would check it if its really necessary but for the Moment i can help myself with some tricks using GreyScreens to lower the Visuals without lowering the Display Input Signal. This costs Energy but i dont care, the Original old Akku is still on an Average Time 1 Day 11h ~ thats enough :)
[Samsung Galaxy S 5 Unified Development] J-Lindo:
Can confirm, my screen acts up more when it's been left in the cold for a while.
[Samsung Galaxy S 5 Unified Development] fbs:
Display temperature affect this for sure!

And this kernel does what GreyScreens would do.
[Samsung Galaxy S 5 Unified Development] Termi93:
Thx folks for your ideas.

But in my case i dont think its the temperature. The displays flickers indoors, outdoors adwell when taking it out of the pocket, when its warm.

Slowly i think i can't get it fixed by software... so i'll have to try to get it fixed - again...
[Samsung Galaxy S 5 Unified Development] Termi93:
A little update for you out here:

I got in contact with the repairshop which replaced my display last September and i'll send my phone in for another screen replacement.

So far i'm impressed, because of the flickering issues i didn't turn of the screen for 4 hours and i'm still sitting at 51% battery :)

I'll do an update here after i get it back and ofc i will continue with this kernel. The failing display isn't it's fault obviously.
[Samsung Galaxy S 5 Unified Development] fbs:
Good luck!
[Samsung Galaxy S 5 Unified Development] fbs:
new version up tomorrow, lol
[Samsung Galaxy S 5 Unified Development] SmgKhOaRn:
Deleted
[Samsung Galaxy S 5 Unified Development] drkdefender:
- Charging till your battery gives 4.4v, or explodes

What is the default charge voltage?
[Samsung Galaxy S 5 Unified Development] Noob9496:
4.2v?
[Samsung Galaxy S 5 Unified Development] Nimrod-002:
i cant get the ir blaster to work. is that normal? also home button doesn't wake phone
[Samsung Galaxy S 5 Unified Development] J-Lindo:
Try Mi Remote. Best IR app I've come across, works great on my kltevzw with Tuned.
[Samsung Galaxy S 5 Unified Development] vlad3647:
exelent job,working great on 7.1
[Samsung Galaxy S 5 Unified Development] drkdefender:
I did a fresh flash of the latest LOS 16, and then flashed this kernel.

Bluetooth is not working for me. It's impossible to turn it on, anyone else facing this problem?
[Samsung Galaxy S 5 Unified Development] fbs:
When our battery is fully charged, IT should give 4.4v

It's not the voltage going IN the battery, just the opposite