yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 Original Android Development] !crazy:
I usually always increase empty app value to 200, while decreasing foreground to 24-28, visible 36 - 44, leaving rest at their stock values. Anyone can recommend, but it will usually be just a claim based on placebo or whatever. Try experimenting by yourself, and reading more on the subject, so you will get values which work best for your usage.

This is probably stupid to mention, b/c you are almost for sure familiar with it, but just in case... You are aware of options under developer settings 'Don't keep activities' and 'Background process limit'?
[Galaxy S 5 Original Android Development] Putrid Polecat:
Thanks. I'll give your suggestions a shot. I've experimented on previous phones with LMK killer, and with the dev settings many times, but I can never seem to get the results I want.

What happens, as I'm sure it does with everyone, is that after the phone is used for a while and I've used a bunch of apps, it slows down dramatically and I have to kill all apps in the task switcher. With the dev settings, no processes is overkill and 4 process has no discernible effect.

This really should be a solved problem on Google's end. We should be able to specify an algorithm for task killing as we would with say, a squid cache (Least Recently Used, Least Used, Frequently Launched, etc) and perhaps be able to tag specific apps with a sticky hint (stick, always kill, etc, which only the user can set).

It's not that big a deal and it certainly has nothing to do with this kernel, other than it allows us to set LMK values. [emoji41]
[Galaxy S 5 Original Android Development] !crazy:
Do you have swap active? If yes disable it If you can live with apps stating from scratch, but not always, and it happens fast and is stock android setting. Though Samsung started to use swapping heavily...

Also some kernels set value for VFS cache pressure very low. Stock value (which is quite sane) is 100, and I recommend going even higher, to prioritise applications over file system cache. We have quite fast internal memory, and using RAM for file system cache doesn't make sense, particularly because application will suffer consequences. So set VFS cache pressure 100 or higher. Faux kernel default is 115 IIRC.

There is definitely lot of play ground for tweaking here. What you expect from Google, Samsung or anyone else, is partly understandable (especially in case of Samsung. Stock S5 stutters heavily because of high swapping...), but is not easy task to accomplished, actually it is not possible at all to satisfy everyone...
[Galaxy S 5 Original Android Development] andip71:
The main message is: s5 memory of 2gb is already too less for a good user experience. Especially on TouchWiz Roms.

I can say that as my main phone has 3gb ram and my latest phone even has 4gb. The difference is really something that can be felt.

Andi
[Galaxy S 5 Original Android Development] Jul84:
Hey, I just received the message to "uninstall this app immediately" for Boeffla Config App... From my Android system.

Did anybody receive this message? Samsung s5 official TW 5.0 in Switzerland.
[Galaxy S 5 Original Android Development] ZaneZam:
Yes many people as Google choosed to "false classify" the app,but don't worry just ignore this and/or update to latest version of boeffla app ;)
[Galaxy S 5 Original Android Development] galahadUSA:
Didn't realize there was a version for tw.
[Galaxy S 5 Original Android Development] andip71:
Small CM12.1 kernel update

Hi all,

it is Monday, so time for a small update to the CM12.1 kernel.

Version 2.3-beta2

19.10.2015

Support for USB keyboard app (Play store) - note you need to switch SELinux to permissive and (most of the time) use Hacker's keyboard (Play store)

Ramdisk updated to official CM12.1 version of 19.10.15

Enjoy

Andi
[Galaxy S 5 Original Android Development] iamnotkurtcobain:
Google wtf. They should fire their devs.
[Galaxy S 5 Original Android Development] HorstiG:
Who flies high, drops low, thank you Google.
[Galaxy S 5 Original Android Development] Sargos76:
app his not updating! yesterday was
[Galaxy S 5 Original Android Development] andip71:
Can you be more detailed please?

I have no clue what you mean.

Thanks

Andi
[Galaxy S 5 Original Android Development] Sargos76:
this update you launch today the app doesn't update
[Galaxy S 5 Original Android Development] andip71:
As told already via pm - there is no app update.

So of course it doesn't update again.

Andi
[Galaxy S 5 Original Android Development] Sargos76:
right i miss understand, sorry, thanks Andi
[Galaxy S 5 Original Android Development] inuraev:
[MENTION=947981]Lord Boeffla[/MENTION]

Is it possible to add support of dual sim (g900fd) to your kernel?

Thank you!
[Galaxy S 5 Original Android Development] andip71:
Same response as always: if you do it.

I don't have this device and can therefore not develop / test for it.

Faq on homepage [emoji1]

Andi
[Galaxy S 5 Original Android Development] The Peterle:
[MENTION=5172363]HorstiG[/MENTION]

Can you explain how did you solve the BlissPop issue with boeffla-kernel? Is it a test kernel? Do you have a workaround?

I am also very worried about the unfriendly behavior with custom kernels in their rom.

Regards Peterle

PS: let's talk about that here because they get stinky in there unique helpful thread.
[Galaxy S 5 Original Android Development] j1gga84:
I don't know if I asked this before but would it be possible to implement vibration control to kernel?

Compared to stock kernel the vibration strength of boeffla kernel feels "weaker", even if I set it to 100% in ROM settings..

I know from my good old S2 that one of the kernels (Dorimanx) had this vibration control implemented and when I set the strength to 100% also in the kernel settings the vibration strength was very good.

Maybe it is limited by hardware on our S5, that's why I'm asking ;)

Regards

Sent from my SM-G900F using german Tapatalk 4
[Galaxy S 5 Original Android Development] andip71:
The vibration implementation is not changed.

So at least Boeffla kernel should have the same vibration strength than CM stock kernel.

Maybe Samsung kernel has a different implementation.

I would need to check that, but please understand it does not have high priority atm due to my limited personal time.

Andi
[Galaxy S 5 Original Android Development] HorstiG:
I send you a PM
[Galaxy S 5 Original Android Development] slimjimwoods:
Would you mind PMing me too?
[Galaxy S 5 Original Android Development] phoberus:
Which cm12.1 based rom is working good with boeffla?

I used blisspop but with the battery "bug" I can't use it
[Galaxy S 5 Original Android Development] andip71:
Everything else? ;)

Honestly, if you ask me, I would go for plain CM12.1. This is guaranteed to not cause issues on such level.

Andi
[Galaxy S 5 Original Android Development] Sargos76:
Temasek rocks like hell ?
[Galaxy S 5 Original Android Development] HorstiG:
AICP is the best and 100% kompatible with Boeffla.

http://eboye.github.io/AICP-OTA/

---------- Post added at 04:45 ---------- Previous post was at 04:39 ----------

@LordBoeffla

What read my sad eye, S3 Kernel is death. That was the best time for me.

Thanks Andi :crying: :crying: :crying:
[Galaxy S 5 Original Android Development] andip71:
Well, let's be honest: the s3 is development-wise dead. No significant rom updates expected anymore, this is why it is now also obsolete regarding my kernel work.

All works as expected, this is a good and stable basis for at least another year for many.

Andi
[Galaxy S 5 Original Android Development] Schemerlamp:
How about the light delay with this kernel?
[Galaxy S 5 Original Android Development] andip71:
No clue what you are talking about.

With a properly configured and clean system, there is not more delay than with stock kernel.

Andi
[Galaxy S 5 Original Android Development] HorstiG:
Light delay is a ROM thing and has nothing to do with the kernel.

CM has screwed something last week about it, but has not really become better.

---------- Post added at 02:12 ---------- Previous post was at 02:10 ----------

OT

Er meint den Lichtsensor, der die Helligkeit des Displays automatisch anpasst. Das ist schon immer bei CM sehr ruckelig.

Bei Stock ROM Butterweich.
[Galaxy S 5 Original Android Development] Zehlek:
Will this work on CM12.1 for G900W8 variant?
[Galaxy S 5 Original Android Development] andip71:
According to the tech specs, it could work.

But I cannot guarantee as I do not have this specific phone and could never test it.

Worth a try when you do a backup first.

Andi
[Galaxy S 5 Original Android Development] Zehlek:
I'll try downloading when I get home and let you know
[Galaxy S 5 Original Android Development] Pollie81:
Funny thing is I've heard you talking about official CM many times but i actually never gave it a try. Today i did it and i actually like it a lot! Seems like the most clean rom out there with some good additions but not to many. Together with your kernel it's running great so far.

Better too late then never right.. ?
[Galaxy S 5 Original Android Development] iamnotkurtcobain:
Have fun with cm12.1!
[Galaxy S 5 Original Android Development] Zehlek:
It works for w8. Thank you
[Galaxy S 5 Original Android Development] andip71:
cm12.1 kernel update

Hi Folks,

quick update to the CM12.1 kernel.

Version 2.3-beta3

26.10.2015

Entropy levels (random number generator) decreased to be only slightly above of stock values

Internal kernel busybox updated to latest version 1.24.1 (self-compiled from sources, www.busybox.net)

Ramdisk updated to official CM12.1 version of 26.10.15

Enjoy

Andi
[Galaxy S 5 Original Android Development] iamnotkurtcobain:
Thanks Andi!

In stock cm kernel are always 2 cores active.

With your kernel and default setting there is just one core active.

I guess setting it to min cores=2 gives me the same experience ;)
[Galaxy S 5 Original Android Development] andip71:
Yes, exactly.

Although with CM stock kernel it changes from time to time.

Sometimes 2 cores are on, sometimes also 1.

I have not found any pattern thus far.

Andi
[Galaxy S 5 Original Android Development] HorstiG:
Can someone please translated into German, Google Translator cant und ich bin nur eine dummer User :eek:

Entropy levels (random number generator) decreased to be only slightly above of stock values
[Galaxy S 5 Original Android Development] andip71:
Sorry, I think it is impossible to translate that properly.

Es hat mit dem Zufallszahlen Generator zu tun und wann er seinen Pool erneuert.

Andi
[Galaxy S 5 Original Android Development] HorstiG:
Thank you, but ich spiele kein Lotto ;)
[Galaxy S 5 Original Android Development] !crazy:
There was a lot of talk and claims, tutorials and 'tweaks' about how increased entropy improves performance ( people were making scripts for this .although kernel has its own simple way if doing it.)

Anyway, you rarely need something from this pool, but that depends on applications you use. Generally it is a bad idea if pool drops down to zero (used to happen on some devices, like Nexus 4 in sleep IIRC.),snd in this case it is definitely recommend to increase a bit this values.

Regarding performance in general (or when surfing and scrolling in browser. What was allegedly registered improvement by some testers.) It could be that in some cases perceived performance improvement was because CPU uses to stay at higher frequencies, or enters deep sleep more seldom, what can improve responsiveness.
[Galaxy S 5 Original Android Development] HorstiG:
Thank you :good:
[Galaxy S 5 Original Android Development] andip71:
But as already mentioned here... this whole entropy thing is kinda mysterious and not fully explored.

I just realized a too high entropy setting can break things. Recently had that on the OP2 where the device went completely bonkers for some.

And on the S3 I had to remove the frandom stuff as it was breaking wifi.

So this is why I am a bit more careful and not increase it too much anymore.

And yes, it is not scientificly proven it has any good effect at all. There were these apps around called seeder etc. which just kept the device slightly loaded and as a side effect the system felt smoother. Not talking about battery consumption. But in the end it turned out to be the side effect that made the difference instead of the initial idea.

So... I lowered it a bit now to be in a more safe area. Think it is for good.

Andi
[Galaxy S 5 Original Android Development] zrockcool:
Been a fan of CM 12.1 for a long time. Its been my daily driver in my S5. And with Boeffla kernel as its perfect partner, it is a complete performance.

I've been using CM 12.1 nightlies. I do flash CM every 5 new builds and flash Boeffla whenever the latest version is available. I never format, delete cache partition or dalvik in every flashing of rom and kernel. In my count, I've done 26th flashing of CM nightlies and 15th for boeffla.

So just a quick question guys, in my way of flashing and the times I've done it, does it contribute in the decrease of the lifespan of my device hardware like its memory?

Or should I say does "flashing" wears out any hardware in a device?

Thank You in advance!
[Galaxy S 5 Original Android Development] PacketJ:
Edit: Nvm. It was a corrupted download my bad! :D

So far so good, this kernel is the best so far, never had a problem before.
[Galaxy S 5 Original Android Development] andip71:
I know what you mean, the nand memory wear that is everywhere where this memory is being used (SSD, phones etc.).

But you can lean back and relax. Nand memory have typically a few hundred thousand write cycles, also the memory controllers are optimized to reduce wear as much as possible. So in reality (you can compare with low cost SSDs) you reach much more than a few hundred thousand write cycles.

Even if you flash every day, it would take longer than you live to wear the memory out :)

In fact, I flash a new nightly every day, and I do that for more than 3 years on all my devices. Never had any issue, as expected.

In short: As long as the memory of your device is healthy and does not have a manufacturing-caused problem, you should never worry about wear.

Enjoy your phone

Andi
[Galaxy S 5 Original Android Development] zrockcool:
Very well said! That is definitely the exact words I've been wanting to know for a quite sometime now. So thats it, a hundred thousand write cycles definitely take away my worries.

Keep up the great work!

Thank You!
[Galaxy S 5 Original Android Development] Solvin:
Hi Andi.

New modems/basebands and bootloaders for the G900F:

G900FXXU1POI1

G900FXXU1POJ5

G900FXXU1POH1

G900FXXU1BOJ1

G900FXXU1BOJ2

G900FXXU1BOJ4

G900FXXU1BOI3
[Galaxy S 5 Original Android Development] cowgaR:
Hi Andi,

quick question. Will your kernel work for dual sim G900FD? If not, how much to donate to compile it using klteduos kernel branch?

I had switched my worn G900F to FD due to being fed up with carrying 2 phones and seeing CM12.1 being officially there (klteduos). Trouble is, I need such a perfect kernel like yours back to my phone instead of stock one.

Danke :)
[Galaxy S 5 Original Android Development] andip71:
I cannot answer as I do not have that device. So it is up to a test. But I might think the dual sim functionality might be broken when something is required in the kernel.

How much to donate? Nothing, sorry. It is one of my fundamental rules to not develop for devices I do not have personally. This is for good reasons, see FAQ on homepage for it.

I know you will not like to hear that, but it is my principle and I do not make execptions.

Andi
[Galaxy S 5 Original Android Development] justyourimage:
2.2 Beta 3 works stable with zzmove for me - Relax and Gaming 0 Reboots latest nightly - seems like the last issues have been sorted out - yay!

May I make an suggestion (if not already implemented / declined / impossible) ?

1. Add an option to charge only to xx% and automatically reduce the charging amout to keep this level. By default I'd suggest 50% or 80% - helps keeping the battery longer alive while you use your phone at home (eg gaming or watching a movie)

2. I dont know if its already implemented but serveral Stock Roms / Kernels implement an option lsimiliar to this that after 80% the battery charge current gets decreased to charge more safely = increasing the battery life. How about adding that as an option as well. E. G. charging current steps you can add / control yourself (at 50% - 1000mA, at 80% - 500mA and so on).

Just an idea - cheers!
[Galaxy S 5 Original Android Development] andip71:
Nice ideas indeed.

Possible = maybe. This would require multiple hours analysis first.

Do I have the time to code that myself? 99% likely not, as the S5 is not my daily driver phone and my development priorities are shifted a bit.

If you see a kernel where this functions are already implemented, I am happy to check if I could port that over with reasonable effort.

But: As the battery in the S5 can be very easily replaced (and is not expensive too), it is probably not worth putting days of work into that.

It were different when the battery cannot be replaced by user...

Sorry, have to be honest with you.

Andi
[Galaxy S 5 Original Android Development] justyourimage:
I'll keep my eyes open to find a Kernel with those functions being implemented that is Open-Source.

I'm not only speaking about the S5 but more as an general function thats cross compatible with most / all of the devices you're releasing your Kernels for thought :)

I totally understand that for just the S5 the time would be wasted. After all I'm still looking to replace mine since many things dissapoint me with it - mostly the camera even on stock and its ultra slow / bad focus compared to other phones even quite a few years older and cheaper (and yes I've gone leaps and bounds with it).
[Galaxy S 5 Original Android Development] andip71:
Sure. All Android kernels have to comply to GPL license = all source code must be available and free.

The thing about the charging stuff is: There is no generic charging driver, so it needs to be ported again from device to device. Unfortunately the hardware is very different, so my charging drivers for 5 different phones (S3, Tab 10.1, S5, OPO, OP2) resulted in investing that huge time 5x again all over.

So I am afraid, this would be the same for the mentioned ideas.

Just to clarify, it is unfortunately not a trivial thing :(

Andi
[Galaxy S 5 Original Android Development] HorstiG:
I use BOI3, Modem is very good.
[Galaxy S 5 Original Android Development] Solvin:
Currently I use BOJ1 modem and BOJ2 bootloader. I can't decide between BOI3 and BOJ1. I don't know the difference. I only know that BOJ is newer than BOI.
[Galaxy S 5 Original Android Development] The_Voice_70:
Excellent work, Andi. Thanks for Update. Works smooth and stable with brandnew config app ;)
[Galaxy S 5 Original Android Development] f0xy:
I wouldn't mind your job! Jetsetter
[Galaxy S 5 Original Android Development] galahadUSA:
Coming to my home state! Weather has been great here in sw Florida so try to enjoy it if you get some free time.
[Galaxy S 5 Original Android Development] HorstiG:
[MENTION=947981]Lord Boeffla[/MENTION]

OT

Gute Reise und bringe mir bitte das LG V10 mit. ;)
[Galaxy S 5 Original Android Development] F_R_I_T_Z:
It's possible to compile this kernel with the ANT+ kernel drivers?

It's sad tar cyanogen dont do it by default.
[Galaxy S 5 Original Android Development] andip71:
Which kernel for instance (S5 kernel) has that built in?

Andi
[Galaxy S 5 Original Android Development] F_R_I_T_Z:
The stock one? Yes. S5 have ant+ support.
[Galaxy S 5 Original Android Development] aaanonymous:
Where are these available? How to install?

On my SM-G900F, the baseband is .....BOE1.

Thanks
[Galaxy S 5 Original Android Development] Solvin:
Use Odin to flash in download mode: http://xdaforums.com/attachment.php?attachmentid=3446301&d=1440131361

Download Modem/Baseband and Bootloader here: https://www.androidfilehost.com/?w=files&flid=18025

Insert the files in the following: CP for Modem/Baseband and BL for bootloader.
[Galaxy S 5 Original Android Development] aaanonymous:
Thank you for the links.

Are these modules extracted from the Samsung Official ROMs?

Could I safely flash the CP and BL onto my phone which currently has the latest CM12.1 nightly ROM and the latest Boeffla kernel? If so I will try flashing the latest CP and BL.

There is a 'Phone Mod' download. Do you know what it is and any benefit to flash it?

This may be off topic, but let be explain. Perhaps others may be interested.

For a long time I have reviewed many threads on how to add all bands to the SM-G900F, in particular to add the US T-Mobile AWS band 4 to the SM-G900F. These threads seems to have died out a year ago.

Earlier this year, there was this thread:

http://xdaforums.com/galaxy-s5/help/enable-lte-bands-g900f-s5-t3112873

where 'exiledfear' claimed success writing to NV ram adding Band 4 to his SM-G900F running CM12.1 and the Boeffla kernel. Any input from anyone? Thanks in advance.
[Galaxy S 5 Original Android Development] Solvin:
Yes

Yes, but perform a Nandroid backup before you flash and backup your current bootloader and modem.

I don't know what you mean.

Sry I have no idea, maybe another user here?
[Galaxy S 5 Original Android Development] Traace:
Sorry, total OT:

Should still work like a year ago. afaik [MENTION=5370120]exiledfear[/MENTION] just followed this guide http://xdaforums.com/galaxy-s5/general/how-to-add-rf-lte-frequency-bands-to-t2886059

N' after a few tries he had the Band.

It doesn't work on touchwitz Roms(Samsung made a "Band-Lock" there), but it should work on CM, AOSP based Rom/Kernel
[Galaxy S 5 Original Android Development] Solvin:
Hi Andi. You're owing us some pictures from your US business trip :D

I have a request for your kernel:

Tunables for the schedulers. Is this a good idea?
[Galaxy S 5 Original Android Development] !crazy:
Your request is a 'do you think?' question?

Every kernel has tunables for schedulers I think, since the stock kernel also has it.

What app do you use to configure kernel, or you use files directly?
[Galaxy S 5 Original Android Development] Solvin:
I'm using the boeffla config app. It's a request for implementing this feature in the boeffla config app.
[Galaxy S 5 Original Android Development] andip71:
Hi,

yes, you are right. I posted it a while ago in another thread.

Here we go:

http://xdaforums.com/showpost.php?p=63625131&postcount=423

Tunables for schedulers. Hm, good question.

I never heard of people tweaking scheduler settings so far. So never considered this being something really useful.

Are you doing that, or are you just interested in feasibility?

While it might be technically possible, I wonder whether there is really an audience for this. If one one or two people ever so that, I would suggest using init.d scripts to tweak it and make it sticky.

Cheers

Andi
[Galaxy S 5 Original Android Development] Solvin:
Dann nice beach! I hope the beach in Cuba is just like that, because that's my next holiday trip in February.

I don't use tunables at this time for the scheduler, I'm just interested in the feasibility.
[Galaxy S 5 Original Android Development] andip71:
I cross my fingers for your beach in Cuba, of course :)

About the scheduler thing, I never investigated honestly. It seems, the schedulers do indeed have parameter you can set.

However I need to make up my mind whether this is ever a good idea to be configurable.

The reason is: The scheduler controls access to the sd memory. And if something is not properly configured and not playing well, you can have really ugly side effects from data loss to ongoing data corruption. Not something I would like to enforce.

This is all theory, as said, I would need to do some reading first about it.

Cheers

Andi
[Galaxy S 5 Original Android Development] iamnotkurtcobain:
Have fun in Florida :)

Been there in February. Was awesome ;)
[Galaxy S 5 Original Android Development] fbs:
isn't there a way to enable something like "ignore unstable power" or something on S5 ? when I set an ac charger value (like 1500), it always gets down to 750-950 on "overview".. if I disconnect and reconnect many times, sometimes it goes to 1500 like I want