yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] fipsy:
With the latest O3 kernel after about one day of operation only one core is still working (CPU0) while using the tuned profile. Ktmonitor as well as Boeffla Config show only one core working and the phone is quite slow. :crying:

Now I'm using Optimized MPD with this kernel. Let's see how this behaves after one day of operation...
[Samsung Galaxy S 5 Unified Development] fbs:
A simple "start mpdecision" would re-run it. I've already added it.

Look, mpdecision shouldn't even EXIST anymore. It is closed-source, buggy, and sometimes uses 10% of the cpu just to enable or disable cpus. It just don't fit in here.

And the kernel is the kernel, the core, the heart of any operational system, and it will block, rename, format, destroy and KILL anything that is on its way.
[Samsung Galaxy S 5 Unified Development] fbs:
lmk, hotplugger and interactive governor updated... :p

and now it's being compiled by linaro 7.2 instead of 7.1
[Samsung Galaxy S 5 Unified Development] fipsy:
But even the head of a company should not act independently of its employees and should take general requirements into account. ;)

Meanwhile I'm not sure if mpdecision is guilty, because even without mpdecision the problem arises that suddenly three cores don't work anymore (with Tuned profile). See my last message.
[Samsung Galaxy S 5 Unified Development] fbs:
Here it doesn't turn on cpu1 till the load is really high, like if it was trying to save battery (but it uses too much cpu just to do this, so it won't save really anything), and cpu3 is almost always on.
[Samsung Galaxy S 5 Unified Development] fipsy:
What is "really high"? ;) Google Maps loading for nearly half a minute because only one core was available obviously wasn't high enough!? I don't think it saves energy when the device is active for a very long time because the CPU power is too low. As a rule, it is always the most economical way to finish quickly with maximum performance and then go into idle mode (keyword "race to idle").

However... at the moment I have problems with my gravity / orientation sensor, as you can read in the LOS thread and I'm not sure if it is related to the kernel. Therefore I will use the kernel from Andi until the next release.
[Samsung Galaxy S 5 Unified Development] fbs:
That's exactly what mpdecision doesn't do. But this subject is about frequencies, not about turning on or off cpus. Everytime you turn on or off you waste some energy..

I've never modified anything about sensors
[Samsung Galaxy S 5 Unified Development] fipsy:
Yes, that's right, it's about frequencies, but the principle still applies: Not only the CPU consumes power, but also all other components (especially the display). In this respect, it is always a good idea to have the device finished as quickly as possible. Unless switching the CPUs consumes an enormous amount of energy, which I don't think.

I thought so, but there are sometimes side effects that can't be explained. We'll see if the problem will also occur with Andi's kernel. I suppose yes, because I think [MENTION=7978913]fitittome[/MENTION] is right about the built in sensors simply being crap.
[Samsung Galaxy S 5 Unified Development] azooz95:
I'm using the latest O3 and everything is working good , all cores are operational perhaps this problem is from your side only
[Samsung Galaxy S 5 Unified Development] fipsy:
Some other users reported the same problem. But since the versions are changing extremely fast at the moment and the error only occurs every now and then, there is no reliable statement about it. One still has to wait and see if the problem will soon be solved.
[Samsung Galaxy S 5 Unified Development] Prime Evil:
Hi! I use also your latest O3 Kernel, and on RR all works fine!

The Battery consumption is very low!

Perfekt!

Thanks for your work!
[Samsung Galaxy S 5 Unified Development] drewcu:
Can you explain why mpdecision is renamed in system causing Boeffla Config to show an error msg at the start? If we used Tuned hotplugger in BC isn't that sufficient?
[Samsung Galaxy S 5 Unified Development] BadToThePhone:
Did you change any of the settings?
[Samsung Galaxy S 5 Unified Development] Prime Evil:
Hi, not so much.

CPU Voltage: -50mA

CPU-Gov: interactive

Multicore Power saving enable

Furthermore I use Greenify.
[Samsung Galaxy S 5 Unified Development] fbs:
No, it's not. Mpdecision will still be running and changing frequencies when it wants. (it doesn't just plug or unplug cores.) And EVERY single bit of code running on a device is consuming cpu cycles, ram, and consequently battery.
[Samsung Galaxy S 5 Unified Development] fbs:
offtopic: can anyone recommend a "extended" battery for our S5? I bought one (yellow bottom, red top) with a nice bigger cover, but it's worse than the older one..
[Samsung Galaxy S 5 Unified Development] pepe100:
I think that the best option is to buy the original with Samsung directly I also had a extended one and the performance of the original is better
[Samsung Galaxy S 5 Unified Development] PorchSong:
Not extended, but the Anker S5 battery is amazballs. Although it does not have NFC, but I don't use that anyway. It also like 8-9 bones on Amazon. Lasts me all day no sweat with medium use.
[Samsung Galaxy S 5 Unified Development] SB4BBs:
I'm curious when wireguard be available with the kernel
[Samsung Galaxy S 5 Unified Development] fbs:
why can't they really do an "extended" one that works? twice the size, why not really twice the power? and the bigger cover is nice btw. my old "thin" one is broken
[Samsung Galaxy S 5 Unified Development] 10goto10:
Hey [MENTION=516058]fbs[/MENTION], since people are now reporting that the O3 version is stable, you probably can drop the O2 builds to save yourself some compile time. Maybe replace that with a version without the tuned hotplug, keeping MPDecision (I also know how that stuff messes with idle CPU usage and frequency prefs not sticking, but some people still like it?)

And please please please add MD5 checksums! It will save us from erroneous bug reports from people having corrupted downloads.

Thanks!

Oh, and bonus tip for people with NTFS-formatted mSD cards: though it is supported natively by LOS, enabling the NTFS module on Boeffla-Config will greatly increase external storage performance. Otherwise, if you use app that store a bunch of stuff in External storage, it will load slowly (or even fail to load.)
[Samsung Galaxy S 5 Unified Development] Henki98:
I have flash o3 27/11 - 1/12 o3, and both tuned hotplugs give me only active cpu 0

Sometimes browser crash but I don't know whether it is a kernel problem
[Samsung Galaxy S 5 Unified Development] zenaufa:
any chances on support for kltekdi (SCL23)?
[Samsung Galaxy S 5 Unified Development] fbs:
ktmonitor will always shows only cpu0 active if selinux isn't set to "permissive"

Did you notice if O2 gives no crashes with your browser ??

O3 can be faster, but can be unstable, I think.
[Samsung Galaxy S 5 Unified Development] fbs:
mpdecision is still there, you only have to activate it with boeffla config if you really wanna waste battery. (it's not the default anymore)

I don't understand the need for md5 checksums of ZIP files. ZIP files have CRC32 checksums for EVERY file inside them, since they were created back in 1989!! If a single BIT of the whole file is corrupted, the decompressing of the zip file will FAIL and will NOT even begin to install.

TAR files, on the other hand, have md5 checksums because it only concatenate a lot of files, without compressing or error-checking.
[Samsung Galaxy S 5 Unified Development] fitittome:
An md5 just gives assurance that the files within haven't been tampered with by a 3rd party. Not that I'm paranoid or anything....
[Samsung Galaxy S 5 Unified Development] fbs:
That could be a reason for using it, but I doubt xda-developers.com is insecure, and I doubt even more one could put anything useful(for the bad) inside the .zip without breaking CRC32

If someone is "paranoid or anything", they shouldn't even think to run a custom kernel or rom.. LOL! Imagine how many backdoors one could put into a rom?? And nobody wouldn't even notice it.
[Samsung Galaxy S 5 Unified Development] fbs:
I don't know how to do it. I thought just modifying a FLAG at the kernel's config file would be enough but it isn't..

Do you know anyone who could give me a hint about it? I'll need ...
[Samsung Galaxy S 5 Unified Development] Henki98:
O2 I didn't try, but O3 1/12 gave me a single crash since I flashed it.
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Hmm. You need to make a full defconfig for kltekdi. You can use this LOS defconfig as a base (simply compare and add the missing lines from Boeffla_defconfig should be fine).
[Samsung Galaxy S 5 Unified Development] 10goto10:
Yeah, I know, but TWRP will happily flash corrupted /truncated ZIP files. It doesn't do any testing AFAIK. (I know this from experience.) If the script inside doesn't also get corrupted, it will happily flash the image as if everything's peachy and exit happily, returning 0.

Even if you test-extract the file on your computer, for example, then transfer it to your phone and reboot, there is a chance that the file wasn't properly flushed to the phone storage (not fsync'd after shutdown, etc) and thus becomes corrupted.

If you have an MD5 file alongside the zip, TWRP will check it at flash time.

Again, this is not because of paranoia (MD5 are trivially* spoofable, and even SHA-1 is broken now, also.)
[Samsung Galaxy S 5 Unified Development] knojap:
Problems with this kernel with phoneapp. Sometimes my partner can't here me and the gui jumps to the back and can't bring back in the front.

Now using Smartpack Kernel. It has a many options and excellent battery and performance.
[Samsung Galaxy S 5 Unified Development] fbs:
not kernel related, in any way
[Samsung Galaxy S 5 Unified Development] fbs:
I've just tested here. Changed a single byte in a tuned kernel .zip file.

- Windows itself refused to COPY the corrupted ZIP to the mobile phone

- After copying via "adb push", I could TRY to flash it via TWRP, but TWRP refused itself. It promptly said "zip file is corrupt" and aborted the installation.

So, as I have always thought, md5 or any other type of error-checking for compressed DATA files is completely useless.
[Samsung Galaxy S 5 Unified Development] fipsy:
If you can rely on the integrity of your file hoster, you are right. However, if your account should be hacked there or the operator is dubious, a checksum in a different place makes sense. Because anyone can unpack a ZIP archive and repack with infected files.
[Samsung Galaxy S 5 Unified Development] fbs:
Know what? I'm back to a stock rom. Faster, stable and battery friendly.

No one here can do better than Google+Samsung. :cool:
[Samsung Galaxy S 5 Unified Development] vd69:
what stock rom?
[Samsung Galaxy S 5 Unified Development] Henki98:
Are you thinking of develop your kernel into tw rom?
[Samsung Galaxy S 5 Unified Development] fipsy:
Is this a joke?
[Samsung Galaxy S 5 Unified Development] fbs:
I know it sounds like. But why it sounds like?

What this "custom" Android 7 you're using gives you that a stock ROM based on Android 6 won't?
[Samsung Galaxy S 5 Unified Development] fipsy:
Well, if you look at it that way, you can also go back to CyanogenMod 11. This was just as good or even better in terms of functionality than LOS 14.1, but at some point many apps on old OS versions won't run any more and they are also questionable in terms of security. With the same reasoning, you could use Windows XP instead of Windows 10.
[Samsung Galaxy S 5 Unified Development] fbs:
aosp/cm/los based roms will always miss some functionality/quality because they don't have the proper drivers..

if you want to have maximum quality camera, every sensor working and so on, you must be on a stock (or stock-based) rom

what made you install LOS? what did stock rom didn't provide you, apart from the 7 number instead of 6.. ?

also, people tend to believe our "developers" (myself included) are better than samsung/google ones.. and it doesn't make any sense.. people who coded our stock rom got PAID to do so, and they knew what they were doing: they had access to everything

about windows, I was thinking these days.. since windows 7, everything just got faster.. but android seems to be on the opposite way.. the last time google talked about speed, it was while developing ART.. and ART uses a lot of RAM.. so it was and still is a trade-off.. apps open faster but screws your "multitasking" because many of them will eat all your ram
[Samsung Galaxy S 5 Unified Development] fitittome:
What about those Apollo programmers putting man on the moon with 32k of ram. :) https://en.m.wikipedia.org/wiki/Apollo_Guidance_Computer

At the end of the day this is a hobby. The perpetual changes by Google and manufactures are mainly to knock out competition and increase their control on the ecosystem. So they can sell more adverts and manufactures more devices.

Most people just buy into it. They are just like sheep. Hey, this farmers a cool guy. He's kind, feeds us, free healthcare. Not even when they get loaded into the lorry with 8.0 on the side does it dawn on them.
[Samsung Galaxy S 5 Unified Development] griz.droidx:
Easy theming? Just curious because I've been using these kernels with RR for months and most features can be had with xposed. I know one stock based ROM on here has s6 theming and I've heard you can use that theme engine. Any ideas there?

I haven't tried it lately because my SD is set to the one big card mode and everything's encrypted so I'd lose internal and external with the flashing of a stock ROM. Correct? I mean I have to enter a code to get into TWRP which might have to be downgraded. Thanks for the kernels!

Oh I also use micro g but that can be had with xposed too. But then using xposed with several modules will probably drain the ol battery too.
[Samsung Galaxy S 5 Unified Development] fipsy:
I LOVE you for these two great sentences! Marvellous and soooo true! :good::victory:
[Samsung Galaxy S 5 Unified Development] fitittome:
Umm, I sort of cribbed the idea from this brilliant book I read last year. consciousnessofsheep.co.uk

Edit: that's the web site this is the book
[Samsung Galaxy S 5 Unified Development] fipsy:
Very nice! Unfortunately, however, knowledge does not help us if it is not accepted by the majority of people and above all does not lead to concrete action! I see it so often with friends that while they are aware of the interrelationships, they still remain willing sheep and buy the latest Apple phone every year instead of spending their lots of money on useful things or perhaps donating it. No matter how much you talk to them. They would never install LOS. It's "not really cool, more for stupid nerds."
[Samsung Galaxy S 5 Unified Development] Jiimmy97:
There Will be new update beta19 ?
[Samsung Galaxy S 5 Unified Development] fbs:
Nothing was changed, just the version number. I'll follow the change, but don't expect (OBVIOUSLY) any advantage in upgrading...
[Samsung Galaxy S 5 Unified Development] Bosket:
[MENTION=516058]fbs[/MENTION] I don't know how you make and what you put in your kernel,but I must say your kernel is a "beast" :D and you are a great Dev.! Thank you for your hard work and awesome kernel.;)
[Samsung Galaxy S 5 Unified Development] azooz95:
How could you get 6+ hours screen on time ?!!! Im using this kernel and the best o got is around 1 and half hour
[Samsung Galaxy S 5 Unified Development] Bosket:
Every day is getting better and better,the more I use,more battery power I got. ;)
[Samsung Galaxy S 5 Unified Development] azooz95:
Just how ? What rom are you using? Whats your settings?
[Samsung Galaxy S 5 Unified Development] valinor_7:
Not OP, but I'm also seeing 5-6 hours screen time with this kernel.

I had been having some battery/performance issues, so last week I clean-flashed latest LOS, Gapps, and this kernel. Since then, I've been getting 5-6 hours screen time and performance issues are gone. Haven't changed any kernel settings. Just my experience, don't know if it will help anyone else or not.
[Samsung Galaxy S 5 Unified Development] azooz95:
Im on LOS too , ill try to clean flash with this kernel and see. Thanks.

---------- Post added at 01:31 PM ---------- Previous post was at 01:29 PM ----------

Just one more question , do you use magisk su ? Or the su zip file thats provided by LOS team ?
[Samsung Galaxy S 5 Unified Development] valinor_7:
Probably worth noting that a few months ago I replaced my original battery with one of the Anker replacements, helped my battery life a lot. $13 from Amazon:

https://www.amazon.com/Anker-2800mAh-Battery-Samsung-T-Mobile/dp/B01LY08DAA/
[Samsung Galaxy S 5 Unified Development] Bosket:
RR 5.8.5 - 07.12.2017 unofficial by [MENTION=4291752]Furkaan[/MENTION]29 (klte)

Yes magisk.
[Samsung Galaxy S 5 Unified Development] valinor_7:
Using magisk, but I don't have any modules installed
[Samsung Galaxy S 5 Unified Development] azooz95:
I didnt know there was 3rd party batteries !! Thats new

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

Do you have magisk and gapps installed ?
[Samsung Galaxy S 5 Unified Development] fbs:
just uploaded beta19
[Samsung Galaxy S 5 Unified Development] Henki98:
These results are interesting with an intense use of the phone, but I do not think ... I use light or extremely light I get from 6 to 8 hours of screen on. With medium use I get from 4 to 6 hours and with heavy use mainly using the cellular network and the gps, whatsapp, games, youtube, and others; my final result is between 3 and 4 hours. All this is thanks to this fantastic kernel that reminds me of another fantastic kernel that was the ktoonsez kernel !!. (I tried all the kernels for our galaxy s5 and the best ones my opinion are these 2. Over time I also tried different official version of the boeffla kernel, but he never convinced me) This is to say that the hours of the screen on are relative, you can keep the screen always on and get 10 hours of screen and more if you use it little. There are really too many factors that affect battery life, but if you do 6 or more hours of intense use with our galaxy s5 is really incredible.
[Samsung Galaxy S 5 Unified Development] Bosket:
Yes,and Viper4android module.

---------- Post added at 04:34 PM ---------- Previous post was at 04:21 PM ----------

True! What I want to say is to stay longer on this kernel and a good ROM(not flashing ROMs or switch kernels like I do in the past). People flash ROMs+kernels and want best results in one day,must stay longer and important thing is to charge battery in a correct way!;)
[Samsung Galaxy S 5 Unified Development] ponczo:
What do you mean correct way?
[Samsung Galaxy S 5 Unified Development] Bosket:
Some people won't charge full,or charge from 5-10 to 100 without reboot(full discharged dead,then full charge).
[Samsung Galaxy S 5 Unified Development] fbs:
afaik, the less you let it discharge, the better.

discharge dead = every battery cell fully utilized = reduced battery life
[Samsung Galaxy S 5 Unified Development] fipsy:
With lithium batteries this is definitely true! They last longest if you cycle them low. Best between 30 and 80%. But this normally is not possible.
[Samsung Galaxy S 5 Unified Development] Bosket:
Theoretically maybe yes,practically is different in my case.:D
[Samsung Galaxy S 5 Unified Development] LeoJrC:
I'm using the version uploaded in 12/05 and everything is awesome so far but I`m having some problems with RAM. After some time, i lose most of it. I need reboot the phone to get 700~800mb of free ram. After a day or two, even closing everything, I get 300~400mb. I need to constantly reboot my phone.

Oh, I'm using latest CRdroid 3.8.3 but I got that RAM issue after flash this kernel.

Thanks for your hard work.

I'm not complaining about anything. Just reporting what I faced.
[Samsung Galaxy S 5 Unified Development] fbs:
by default, it will kill apps when you have less than 180mb of "free" ram, if you didn't change anything with kernel tunning apps

bottom line is: you can't create more ram, you have to kill/uninstall apps, or prevent them from starting at boot time
[Samsung Galaxy S 5 Unified Development] LeoJrC:
I was thinking about it but I noticed some lag as time passes without reboot. Maybe it's a ROM problem? I'll do some tests here, changing versions, ROM, Kernel and see if it solves. Thanks.
[Samsung Galaxy S 5 Unified Development] fipsy:
This is a known problem that may occur with any kernel on LOS. I noticed it when free swap becomes full. Therefore I recommend to set swappiness to 30.
[Samsung Galaxy S 5 Unified Development] Henki98:
Beta 19 is optimized as O3 beta 17?
[Samsung Galaxy S 5 Unified Development] Bosket:
:silly::p:eek: ???
[Samsung Galaxy S 5 Unified Development] fbs:
This is not a LOS problem, this is a low memory problem.. It happens with android 6 stock too :)
[Samsung Galaxy S 5 Unified Development] fbs:
I dropped the O2 versions
[Samsung Galaxy S 5 Unified Development] fipsy:
I didn't say that it's a LOS problem, just that it occurs on LOS with any kernel. Of course, on every other OS, too. So it's a memory management problem that is probably related to the kernel settings. It shouldn't appear with standard settings, but it does. :-/
[Samsung Galaxy S 5 Unified Development] fbs:
our kernel (3.4) is the same linux kernel that were used in many desktop and servers around 2013 and has been developed till a year ago by linux community..

I work on a company which still has many 2.6-based machines and they never ever need a reboot.. some weeks ago I was compiling a 2.6.32 kernel, and the memory code is almost the same as 3.4.. even the compiling process is almost the same.. the problem is WHAT you have running on top of the kernel..

android framework itself uses too much ram, and all its apps also uses too much ram.. so, when you have too little ram left, the kernel has to get rid of something, either by swapping to internal memory, either by compressing things or either by killing apps.. every option is painful/slow

I have disabled unnecessary code, I have rewrote some code and compiled Tuned kernel with the most recent toolchain to squeeze a bit more of performance. I wonder if any of that was done with our almighty roms :rolleyes:

that's why right now I'm using a stock-based rom and kernel.. it is as slow as any rom may be, BUT everything works! Even the display image seems to be prettier, not to mention the camera options and quality...
[Samsung Galaxy S 5 Unified Development] drewcu:
Like everyone else, I experience the extreme slowdown after some time has passed since a reboot where the phone is practically at a crawl and things like Google Maps are nearly unusable. I tried setting Swappiness to 30; is there something we should do with the Android Low Memory Killer settings in BCv2?

Right now I left it at default:

LMK Stock settings overwrite: ON

Foreground 72 MB

Visible 90 MB

Secondary servers 108 MB

Hidden Apps 126 MB

Content Providers 144 MB

Empty Apps 180 MB

Thanks!
[Samsung Galaxy S 5 Unified Development] fbs:
this is the default swappiness.. are you on the latest version?
[Samsung Galaxy S 5 Unified Development] drewcu:
Yes beta19. You are saying no need to touch the Swappiness value and set it to 30? What about the other default Android Low Memory Killer settings I asked about?

Thanks.
[Samsung Galaxy S 5 Unified Development] fbs:
these are the defaults and they should be ok, but you can raise them all ;)
[Samsung Galaxy S 5 Unified Development] drewcu:
Any suggestions on what to raise them to? There are 6 different values to change and I don't know enough about each to know what I'm doing. Thanks. All I want is for my phone to stop becoming unusable after several hours lol.
[Samsung Galaxy S 5 Unified Development] fbs:
Ahm... beta19 has no swap support, so you're not swapping, then swappiness value won't matter... humm, you can raise ~80mb in each LMK value... but the best solution is to uninstall apps

I've just reinstalled los14.1 again to test.. it is so fast before restoring titanium backup's backups!!