yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] fbs:
of course, that's what I've said...
[Samsung Galaxy S 5 Unified Development] fipsy:
But not what you've written. :p ;)
[Samsung Galaxy S 5 Unified Development] The~Skater~187:
How does one go about disabling zcache? I tried disabling it from my defconfig file before compiling, but end up with compiler errors.
[Samsung Galaxy S 5 Unified Development] gavilan2010:
Awsome work man... My phone is snappier
[Samsung Galaxy S 5 Unified Development] fbs:
you have to change those IS_ENABLED lines for #macros ...

like #ifdef CONFIG_ZCACHE

or something like that

I don't know why they used "is_enabled" in those two sections where it failed compiling. This code isn't perfect.. full of experimental stuff
[Samsung Galaxy S 5 Unified Development] Sithhy™:
Can I install this kernel on CrDroid 3.6? Been running its stock kernel all the time
[Samsung Galaxy S 5 Unified Development] DeKiesel:
Thank you so much! My free RAM went up from 140MB to 400 and I didn't notice any more lagging since I installed the kernel!!! Thank you!
[Samsung Galaxy S 5 Unified Development] Drhedphuk:
Yes you can mate.
[Samsung Galaxy S 5 Unified Development] craP_cillA:
boeffla beta 14 released! :) hoping for an update here too, cause this unofficial version of boeffla is awesome! thank you!! :D
[Samsung Galaxy S 5 Unified Development] airidosas252:
Regarding read-ahead thing, it's more a placebo effect than anything else. At first you might find your phone quick, but after that it clearly starts to bog down. That was the case always for me.

Imagine you have a huge storage for storing stuff and you are bringing there everything that you were planed. It's not that you will bring more stuff to the storage, you simply would become exhausted sooner rather than later, because you know, how much space is there left.

In the earlier days I saw some benefit from this, but now, when NAND memory (emmc in this case) is so much faster, I see absolutely zero sense in altering this setting.

P.S This might be a crude example, but this is the best I can come up with.
[Samsung Galaxy S 5 Unified Development] fipsy:
I think you confused the cluster size here with the read-ahead. The read ahead doesn't change the cluster size at all. But I could imagine that a read ahead, which corresponds to the cluster size, can be useful. Because no matter how big the read ahead is, you always have to read a cluster. A smaller read-ahead than the cluster size should therefore not be an advantage, because the data that is read too much is simply thrown away.
[Samsung Galaxy S 5 Unified Development] airidosas252:
Yeah, maybe I mixed those two things up.

But in practical way, increasing readahead value does not add any benefits at all. I started leaving it as it is, because when modifying it, UI usually goes haywire, games freak out frequently. And the most prominent thing to me - how inconsistently apps launch.

Those are my two cents. If someone is happy with bigger readahead - it's fine. Maybe if you're ocd and you notice everything, then customization is never going to end. That's what Android is all about. Cheers.
[Samsung Galaxy S 5 Unified Development] Atento:
If I get it, do you mean that read-ahead and cluster size should be almost the same?
[Samsung Galaxy S 5 Unified Development] fipsy:
I would not want to make a recommendation, because I do not know this issue well enough. So far, I have always followed the trial and error procedure. But I think that if the read-ahead is 2-4 times the cluster size, this might make sense. Then some clusters are still read in advance, but not too many.

---------- Post added at 06:46 PM ---------- Previous post was at 06:36 PM ----------

Another thing: The read ahead is supposedly only for reading data from the storage medium. Consequently, it would not have to have a big impact on the writing speed. Can anyone explain why a larger read ahead then has such an enormous impact on the speed when writing data?
[Samsung Galaxy S 5 Unified Development] drewcu:
Am on the Dec 30 version. Anyone else have issues with apps closing randomly on them? I listen to music on Google Play Music and randomly the music will stop and I need to restart the app to listen again. Also, I notice my Home screen's app, Nova Prime, seems to reload my widgets slowly when switching apps and going back to the home screen. Not sure if this is kernel related also.

Have tried increasing LMK in Boeffla Config and turning it off entirely.
[Samsung Galaxy S 5 Unified Development] Henki98:
I've been using this version for a month and the music went out randomly only a couple of times in one day, while I was opening more than 50 pages on Chrome.
[Samsung Galaxy S 5 Unified Development] craP_cillA:
hm...is developement on hold?! cause boeffla beta 21 is out since 10? days i think.
[Samsung Galaxy S 5 Unified Development] aCIDsLAM:
I have the same problems. It seems the launcher and other apps get killed in the background. Twighlight for example is always restarting. It dissapears with stock Boeffla Kernel.
[Samsung Galaxy S 5 Unified Development] fipsy:
But this behavior seems to be logical, because with this kernel zram and swapping are deactivated, if I understood it correctly. This means that only the task killer remains as a solution in case of low memory.
[Samsung Galaxy S 5 Unified Development] aCIDsLAM:
Yes. That makes sense. But than on the other hand, maybe a kernel should use zram and swapping on the g5. Or atleast optional, for those who dont wont it.
[Samsung Galaxy S 5 Unified Development] fipsy:
The Boeffla Kernel offers zram and swapping. But with Boeffla I had a lot of spontaneous reboots since beginning of January. So I returned to LOS Kernel two weeks ago and haven't had any reboots since then.
[Samsung Galaxy S 5 Unified Development] fbs:
With no improvements for S5
[Samsung Galaxy S 5 Unified Development] fbs:
I've just uploaded a new version with a LMK less blood-hungry.. but if you had problems with background apps closing, you're just using too much ram anyway.. so don't expect exceptional performance..
[Samsung Galaxy S 5 Unified Development] Henki98:
In the new version changes only aggression of the lmk?
[Samsung Galaxy S 5 Unified Development] aCIDsLAM:
Much better. Thank you :)
[Samsung Galaxy S 5 Unified Development] fbs:
it's based on boeffla beta21, I changed some compilation flags, interactive governor tweaked a bit, tuned hotplugger tweaked a bit ..

nothing big

the kernel is already as good as it could be.. there isn't much left to be done at the kernel level I think
[Samsung Galaxy S 5 Unified Development] gerraourl33t:
Hello , can you port this kernel for kltekdi?
[Samsung Galaxy S 5 Unified Development] Harry99710:
Noticeable improvement

installed this earlier today and my S5 does already feel a bit more snappier compared to stock lineage and stock boeffla, using it with adopted storage on a 128gb card and 2.2ghz underclock + "undervolt heavy" voltage preset
[Samsung Galaxy S 5 Unified Development] Davidgostbo:
Hi I’ve noticed that some kernels breaks android auto as in my car cannot recognize my phone anymore. However some kernels work, this kernel doesn’t work for me but battery life is awesome. I was wondering do you by any chance know which setting is causing this, that causes my car not to recognize my phone anymore?
[Samsung Galaxy S 5 Unified Development] fbs:
hum.. by "recognize", you mean what? and via what? bluetooth?
[Samsung Galaxy S 5 Unified Development] kal4metal:
Can you post a link of your settings profile?
[Samsung Galaxy S 5 Unified Development] Davidgostbo:
As in usually how android auto works is once you plug phone into car, the app automatically starts up and somewhat mirrors the phone. I’m not 100% sure but I read around that a setting in the kernal has to be enabled to allow data transfer while charging. I’m just not sure where to find that. Thank you for taking the time to help me!
[Samsung Galaxy S 5 Unified Development] Harry99710:
here
[Samsung Galaxy S 5 Unified Development] j1t:
Flashed it yesterday and immediately noticed a big difference. Made my S5 feel like a new phone (even better actually).

Thanks!

Are you planning to make it also for 15.1?
[Samsung Galaxy S 5 Unified Development] fbs:
test this
[Samsung Galaxy S 5 Unified Development] Atento:
Somehow I felt (maybe it's a placebo effect) the previous one a bit snappier than the latest one. Lmk maybe?
[Samsung Galaxy S 5 Unified Development] fbs:
today I installed cm12 and cm13 to test with my kernel

cm12 is incredible FAST. but my cam didn't work

cm13 is almost as slow as cm14. and the cam didn't work either (I don't know why)
[Samsung Galaxy S 5 Unified Development] fbs:
maybe. I'm still working on it
[Samsung Galaxy S 5 Unified Development] Henki98:
Have you changed your modem and bootloader or use latest on cm 12 and 13?
[Samsung Galaxy S 5 Unified Development] Atento:
Yes, definitely beta20 is better than beta21. Beta21 has micro freezes from time to time and is less responsive than beta20.

I'll stick with beta20 for now.
[Samsung Galaxy S 5 Unified Development] fbs:
the latest.. didn't flash anything via odin.. only recovery's zips
[Samsung Galaxy S 5 Unified Development] BrunoFox:
I already used your kernel in CM13 and it worked very well, in 14.1 it worked better, but I had no problems in CM13, thanks for this good kernel !!!

G900M :D
[Samsung Galaxy S 5 Unified Development] sak0071:
Cm13 Link?

Oh Please!
[Samsung Galaxy S 5 Unified Development] Atento:
Is it difficult to just click once on the search button? It took me less than a minute to find the link.
[Samsung Galaxy S 5 Unified Development] fbs:
new build is up..
[Samsung Galaxy S 5 Unified Development] iPAQ 6515a User:
Beta 21 on RR on 900M

Unfortunately, my phone started to stutter, freeze occasionally, and act weirdly. Reflashed RR and the phone works OK, therefore your latest build does not fully work on 900M
[Samsung Galaxy S 5 Unified Development] BrunoFox:
https://mega.nz/#!wYcThJyS!bCzD62pGFUVEQuoRhe5idg6uH5v-5OaJn2YO1gt1Ryg
[Samsung Galaxy S 5 Unified Development] Atento:
Weird, mine is much better than previous beta21. I'm using LOS 14.1 though.

---------- Post added at 11:18 PM ---------- Previous post was at 11:17 PM ----------

Much better now. Thank you.
[Samsung Galaxy S 5 Unified Development] iPAQ 6515a User:
Forgot to say RR LOS 14.1
[Samsung Galaxy S 5 Unified Development] gerraourl33t:
okay i tried it kernel is good so far on kltekdi.
[Samsung Galaxy S 5 Unified Development] iPAQ 6515a User:
Which release of the kernel are you using?
[Samsung Galaxy S 5 Unified Development] iPAQ 6515a User:
I did not realise there were more releases of that beta.
[Samsung Galaxy S 5 Unified Development] Atento:
Reverting back to beta20 which is awesome. I started to get something similar to last beta21. Specially when I was watching YouTube videos.

I suggest you try beta20.
[Samsung Galaxy S 5 Unified Development] iPAQ 6515a User:
Uff, beta 20 is perfect. The 2nd version of beta 21 started to hiccup after awhile
[Samsung Galaxy S 5 Unified Development] fbs:
new build is up. super smooth here
[Samsung Galaxy S 5 Unified Development] gerraourl33t:
are you going to continue develop this kernel for oreo?

---------- Post added at 05:08 AM ---------- Previous post was at 04:18 AM ----------

cant update to your newest build on kltekdi.. new build leads me to download mode
[Samsung Galaxy S 5 Unified Development] fbs:
kdi needs a specific version, which I made some weeks ago just for you .. lol

and I'll probably build for Oreo too, just need to download its sources and try
[Samsung Galaxy S 5 Unified Development] Atento:
I'll try it out. Hopefully, it's better than beta20 which is awesome.
[Samsung Galaxy S 5 Unified Development] iPAQ 6515a User:
Unfortunately, even this version started to stutter after 12h.

Reverted to beta 20. This one is really perfect on 900M
[Samsung Galaxy S 5 Unified Development] 10goto10:
New version works great, except for the (from LOS, since beta21) bug where charging percentage is not properly updated for the first charge after reboot.

Also did some benchmark, just 'cause :silly: Highest scores I've ever seen for my phone when not overclocked (especially Geekbench. OC adds like 3% to the scores, obviously not worth it.)

Only tweak I did was to disable core hotplugging. With normal settings I get 6hrs SOT with 20% remaining, mostly on WiFi though.
[Samsung Galaxy S 5 Unified Development] AqCwW:
Hi there, is there any support for kltechn model? it's also a model of snapdragon 801. thanks!
[Samsung Galaxy S 5 Unified Development] illbegood:
Warning Message

Get Warning

"It seems, mpdecision process is not running on your system. However, this process is required by Boeffla-Kernel to

control CPU core hot plugging.

Check if mpdecision binary exists (it does) in /system/bin, if not, dirty flash your rom again" (did it anyway).

Reset the Boeffla-Config app (no change). Reinstalled kernel (and renamed mpdecision.bkp to default), no change, dirty flashed rom and reinstalled kernel, no change.

Running 2.5.11 for the config app and your latest kernel (021618, beta 21), Official RR 5.8.5 123117 Final.

Any suggestions? I can work around this but it will revert back on any reboot/shutdown.
[Samsung Galaxy S 5 Unified Development] Atento:
I agree with you. Beta20 is still better than beta21.
[Samsung Galaxy S 5 Unified Development] Deranox:
Does this work on Klteduos ?
[Samsung Galaxy S 5 Unified Development] fbs:
You can just ignore it. It WILL control hotplugging.
[Samsung Galaxy S 5 Unified Development] fbs:
What exactly happens to you?

Pode responder em português, com bastante detalhe hehe ;)
[Samsung Galaxy S 5 Unified Development] jeremywh7:
Hey [MENTION=516058]fbs[/MENTION]; my wife had been complaining for weeks about her G900T being slow (she shops on it a lot), so I put your latest beta21-build160218on it last Sunday and she said it does seem better. She just now mentioned that she has been getting doubled texts since I changed the kernel. Perhaps its a coincidence; anyone else seen that?
[Samsung Galaxy S 5 Unified Development] CobalTitan:
Hi fbs do you update, boeffla beta 22 is out.

please :)
[Samsung Galaxy S 5 Unified Development] sk1887:
Could it require an old bootloader? I tested cm 12 and camera didn't work for me either. It was the last snapshot.

yes lollipop was faster...

edit: I flashed old 5.0 samsung firmware with odin and flashed cm-12.1-20151007-SNAPSHOT-YOG4PAO333-klte.zip

Camera works. Good luck [MENTION=516058]fbs[/MENTION]
[Samsung Galaxy S 5 Unified Development] fbs:
hum I can't imagine how a kernel could do that.. :P
[Samsung Galaxy S 5 Unified Development] fbs:
new build is up
[Samsung Galaxy S 5 Unified Development] gerraourl33t:
Can you port the new build to kltekdi?
[Samsung Galaxy S 5 Unified Development] iPAQ 6515a User:
Almost all 20hrs passed on the new kernel and no probs on 900M
[Samsung Galaxy S 5 Unified Development] fbs:
KDI build is up
[Samsung Galaxy S 5 Unified Development] jeremywh7:
Hey fbs, with the new beta22 klte kernel, my wife's G900T booted up to:

Android System
Corrupted Lexar SD Card

Which we've never seen before on her phone. Were any changes made that would affect it?

Update: I just replicated this.

1. Boot to recovery and revert to beta21 klte

2. Boot to system, still shows corrupted

3. Format the SD card as portable

4. Boot to recovery, reinstalled beta22 klte

5. Rebooted and it showed the SD corrupted again

6. Reformatted (now under beta22) and rebooted again as another test, and that did not corrupt it.
[Samsung Galaxy S 5 Unified Development] fbs:
most probably the sd is failing already? but I'll check if there were any changes in filesystem/sd handling
[Samsung Galaxy S 5 Unified Development] iPAQ 6515a User:
Bad news latest kernel became unstable/unbearable.

The phone got to slow to wake up and resume its activities (WhatsApp, Bromite, Camera, News got sluggy)

Back to kernel 20
[Samsung Galaxy S 5 Unified Development] pipapaule:
I have been using the latest kernel for ~3 days and had zero problems so far.
[Samsung Galaxy S 5 Unified Development] craP_cillA:
dito! absolutely no problems here. :)
[Samsung Galaxy S 5 Unified Development] enrico.ta:
Hi

Your work is a lot appreciated here.

I hope you want switch to Oreo 15.x too.

Thanks
[Samsung Galaxy S 5 Unified Development] iPAQ 6515a User:
Happy for you, that was my experience from almost the very minute build 22 was released, but just yesterday it became a nightmare. Let's hope it won't be a case for you.
[Samsung Galaxy S 5 Unified Development] drewcu:
Probably don't have the same lag issue as me, but I just solved mine yesterday... Caused by AdAway (crDroid) and Google Play Music.

Been plagued by it for years and didn't know why my S5 would start out fast and then all of a sudden get really slow where only a reboot could solve it. Figured it was just a crappy S5 I was cursed with or just because it's an old phone.

Downloaded Simple System Monitor and looked at Active Processes and noticed GPM would be at 12-15% CPU even after the music stopped. Googled the problem and easily found: https://www.xda-developers.com/psa-...ogle-play-music-may-be-draining-your-battery/. Downloaded MatLog and sure enough had the same: GoogleTagManager: Exception sending hit: ConnectException repeatedly. Once I whitelisted *googletagmanager.com* and reloaded the AdAway lists, the CPU drain disappeared!

Can't believe I lived with the CPU drain for so long (and on other devices too) and the solution was so simple! Hope this helps someone else too. :)
[Samsung Galaxy S 5 Unified Development] joey118:
No more scrolling lag on youtube comment section while watching video..And your kernel are much better than the rest..so far no problem using latest build for kltekdi ;)
[Samsung Galaxy S 5 Unified Development] Ipnosomar:
Hi!

I'm using RR 5.8.5 (G900v) and I daily play like 2/3 hours videogames that need some graphical power (World of Tanks Blitz, PUBG, etc) and another part of the day the phone I have it active with 4G.

Do you recommend this kernel a lot?

Additionally, in case I want to revert the process, what do I need to do to uninstall the kernel?

Thanks for aswering me! :)
[Samsung Galaxy S 5 Unified Development] j1gga84:
[MENTION=8368466]Ipnosomar[/MENTION]

just dirty flash your ROM and stock kernel will be back ;)

concerning performance.

I would try it with performance governor while playing games and report how it works for you :good:

regards
[Samsung Galaxy S 5 Unified Development] Ipnosomar:
[MENTION=4699854]j1gga84[/MENTION] I will do that, thanks!

Just one more noob question, a dirty flash it's justo reflashed the ROM without any wype?

Thanks for aswering me. :)

---------- Post added at 07:16 PM ---------- Previous post was at 07:16 PM ----------

[/COLOR [MENTION=4699854]j1gga84[/MENTION] I will do that, thanks!

Just one more noob question, a dirty flash it's justo reflashed the ROM without any wype?

Thanks for aswering me. :)
[Samsung Galaxy S 5 Unified Development] Bosket:
Yes
[Samsung Galaxy S 5 Unified Development] Ranniel:
Does this kernel reduce the battery fast?
[Samsung Galaxy S 5 Unified Development] j1gga84:
I make a nandroid backup before dirty flashing and wipe cache and dalvik, just in case ;)

regards
[Samsung Galaxy S 5 Unified Development] invisiblewave:
So far, so good. I installed this kernel after reading the OP, which spoke to my developer mindset! The reason for the switch was the god-awful multi-tasking performance on all GS5 kernels I've tried since 7.x arrived. Without tinkering with any of the CPU parameters, multi-tasking is much improved, I can now listen to the radio, with Viper active, while browsing/CandyCrushing and using the giant memory hog which is the Google app. Previously, Viper would go in and out frequently, and, less frequently, the radio app would be killed. In the gym last night, I had one Viper drop and no other problems. This morning, I noticed battery is better. I listen to the radio in the gym in the morning and when I leave the battery is always at 91%, this morning it was 94%, on the stock ROMs the best I ever saw was about 89%. The only hiccup I see is occasional lag/jitter that quickly resolves itself, which also happens on other kernels but perhaps less frequently. I believe our device is reaching its limit now as the apps get much larger than they used to be, but it looks as if this kernel will keep me going for a bit longer yet, hopefully until I can buy another device with infra-red, wireless charging (retrofitted of course), changeable battery (haha), expandable memory, and that costs <$300 (paid $249 for my refurb GS5).

My ROM is Resurrection Remix, the 3/12/17 build (prior to the upstream changes which caused battery drain).
[Samsung Galaxy S 5 Unified Development] RobDC:
Just installed this kernel, but I think something went wrong..... Flashed it twice...
[Samsung Galaxy S 5 Unified Development] Drhedphuk:
That isn't the kernel you have tried to flash. Judging by that image you have tried to flash the config app.

You should be flashing Tuned-kernel. You didn't scroll down far enough.
[Samsung Galaxy S 5 Unified Development] RobDC:
I flashed the kernel and installed the app. No errors in twrp, it only seems not to flash something. Used the 280218 zip for klte. Could it be Magisk is blocking it? I am on RR 585
[Samsung Galaxy S 5 Unified Development] invisiblewave:
Did you reboot? The app didn't work for me the first time either, rebooted, waited for the icon to stop turning, and then it worked.
[Samsung Galaxy S 5 Unified Development] Drhedphuk:
It's possible I guess. Uninstall Magisk and then flash the kernel I guess is the next option. Are you using the latest Twrp recovery?
[Samsung Galaxy S 5 Unified Development] RobDC:
I rebooted.in settings I see the sane kernel.

I use twrp 3.0.0
[Samsung Galaxy S 5 Unified Development] invisiblewave:
You might want to upgrade. I'm on 3.0.2-2. If I remember correctly, the TWRP versions immediately prior to mine don't restore backups correctly!
[Samsung Galaxy S 5 Unified Development] Drhedphuk:
Yes, I would say that is the issue. Update to the latest, either by using Odin or with the Twrp app.
[Samsung Galaxy S 5 Unified Development] RobDC:
Upgraded to the latest, 3.2.1.0, installed the kernel, the same. Just says "simulating actions", then " update partitions " "done" It takes about 5 seconds.

Do I also need to flash the zip file without the klte extension?

Edit, flashed the latest zip, kltekdi, but still the same. Kernel Is not installed.

Must be doing something wrong......
[Samsung Galaxy S 5 Unified Development] invisiblewave:
I don't know. On mine, I remember it logging the compatibility check, I don't know what else it said. Kernels don't take long to flash, 5 seconds sounds roughly correct, maybe a little short but not much. My rom is 7.1.1, not 7.1.2, but I'd be surprised if that's the issue.
[Samsung Galaxy S 5 Unified Development] RobDC:
OK, I feel a real noobie now......

Just had to uncheck "simulate actions for theme testing".. ….. :eek:

Its running now :laugh:

Thank you all for your support :svetius:
[Samsung Galaxy S 5 Unified Development] RobDC:
GPS is not working, its turned on but no location
[Samsung Galaxy S 5 Unified Development] knojap:
For me it's working. I'm using my phone as a navi!!! G900T3
[Samsung Galaxy S 5 Unified Development] RobDC:
I feel like the biggest noob on XDA now..... Turned out my new cover has a metallic inside, that blocks GPS signal....... :crying:
[Samsung Galaxy S 5 Unified Development] knojap:
LOL :silly:
[Samsung Galaxy S 5 Unified Development] fipsy:
And probably also Bluetooth and NFC. I wonder that WiFi is working!
[Samsung Galaxy S 5 Unified Development] RobDC:
Bluetooth is working fine, don't use NFC, and WiFi is a bit less as usual. GPS is completely blocked...... But it looks awesome :laugh:
[Samsung Galaxy S 5 Unified Development] invisiblewave:
Well, I spoke a little too soon. Had to get off this kernel, I couldn't live with the occasional lagginess. It rendered GA virtually unusable, amongst other things. Currently running on the Smartpack kernel which is so far performing well.