yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 Original Android Development] andip71:
Slumber is kind of deep sleep which we also have for the cpu.

Just in Code it was called slumber, so I took this over.

When screen is off, the GPU should go to slumber usually. To save battery.

Andi
[Galaxy S 5 Original Android Development] iamnotkurtcobain:
I'm using now interactive, row and 4 cores min on. Default hotplug has just one core online (cm12.1 stock kernel has 2 cores online) and it's janky.

Do you think it takes much more battery this way?
[Galaxy S 5 Original Android Development] andip71:
Hm, CM12.1 stock kernel for me sometimes has 1, sometimes 2 cores always online. This depends on the nightly version.

But why don't you then go for 2 cores min on?

I personally prefer having only one core plugged in when idle.

Never tried 4 cores min on myself for longer, as I am not a performance junkie. I rather prefer to go to 2 cores max even :)

But... test it and let us know. Would be an interesting additional information for all.

Andi
[Galaxy S 5 Original Android Development] iamnotkurtcobain:
I'm now on 2 cores min and 1.7 ghz touch boost. Try following with your settings:

-go to the dialer.

-press the keypad icon

-wait a few seconds

-press back

The animation lags (and on some other apps).

:)
[Galaxy S 5 Original Android Development] andip71:
Well, in my opinion it does not lag. But I have to admit, I am not sensitive for micro lags myself. Coming from the Galaxy S1 days, you learn to overlook them.

But really, for me it is pretty smooth.

But what is your point? Do you want to generally optimize, or is that a new "dis-improvement" of the new kernel?

Please let us know the context of it too.

Thanks

Andi
[Galaxy S 5 Original Android Development] iamnotkurtcobain:
The new beta is great! But I don't know how to tune the interactive governor ;)
[Galaxy S 5 Original Android Development] !crazy:
Yeah new version introduced some new tunables. Usually I would check for these in the source code (comments), but until now I didn't have enough time to look better. At first look didn't find any description of these.

Then, even some old ones, like sampling down factor are giving me headache, because this one for example has totally crazy default value like 100000 IIRC... Don't get it...
[Galaxy S 5 Original Android Development] andip71:
Well - interactive governor is 100% original taken from Samsungs / CM official code. So whatever you find there, it is fully stock.

Andi
[Galaxy S 5 Original Android Development] FlemishDroid:
I was trying another gpu governer normally I use the adreno governor...now I'm back on interactive with adreno gpu governor and no undervolt so no reboots anymore. [emoji106]

Verstuurd vanaf mijn SM-G900F met Tapatalk
[Galaxy S 5 Original Android Development] Jatinder Tiwana:
Whenever I flash this kernel my phone reboots evey time because I messed up with GPU governor

So is there any way to get back?
[Galaxy S 5 Original Android Development] andip71:
Sure, I can again only point out - everything is described on the homepage!

Easiest way:

Flash the reset.zip file in recovery, which the kernel placed into your /boeffla-kernel-data folder.

This will reset everything back to stock settings.

Andi
[Galaxy S 5 Original Android Development] !crazy:
I knew that...

I always first try CM stock kernel, and check how things work there, before going to the custom kernel route. They mostly had interesting default settings for interactive. This is first time I am a bit baffled with some of their values.

Regarding CM kernel, I presume that is how/why you noticed 320 as idle frequency, you probably forgot to flash your own kernel when you were checking GPU frequencies ☺.
[Galaxy S 5 Original Android Development] HorstiG:
Thanks for your Answer and Update.

Works indescribably excellent good as always.

I'm not a fan of battery analysis, but ..... I can clearly see an extension of the Battery Service life.

Great work Master Joda, ähh Andi :D :good:
[Galaxy S 5 Original Android Development] jch8828:
Used this kernel on my sprint phone, overall, I really like it, it does a better job when receiving a call, I got screen delay using other kernel. But my problem is my APN setting is messed up since sprint using CDMA vs GSM everyone else, so sometime, I don't get data, does anyone know how to fix this?

Don't flame me, I know this kernel doesn't support spring version officially.[emoji2] , but I want to give a shot.
[Galaxy S 5 Original Android Development] Pangadaywalker:
Just out of curiosity, moved back to zzmoove with zzmoove hotplug and I got the 3 second delay to wake up the phone. I thought the phone had freezed for instance.

Returned to conservative no more issues.
[Galaxy S 5 Original Android Development] andip71:
This is not a bug, it is a feature of zzmoove to cap the CPU frequencies during screen off.

ZaneZam can give you some advice for sure how you could optimize this better for your taste.

Andi
[Galaxy S 5 Original Android Development] ZaneZam:
Yes I can :) as lord boeffla already stated it's due to the pretty restrictive sleep settings of zzmoove. it should save bat but can make wake up problems. if u want u can change the tuneable sampling_rate_sleep_multiplier

from 6 to 4 that should make things better. I'm working on the next zzmoove version and there will be this value the default in all settings. bat saving is good but I think I was overdoing it here a bit :)
[Galaxy S 5 Original Android Development] andip71:
New beta

Hi all,

new beta for you to test.

Note: There is a zzmoove stability fix included, so far looking very promising, test users had no reboot anymore. So, time will tell :)

Version 2.1-beta5

Note: Only for CM nightlies of 14.05. or newer (and custom roms having these new changes in)

18.06.2015

zzmoove governor stability fix

impulse governor added (Click here for more info)

Updated with latest official CM kernel commit as of 17.06.15

Ramdisk updated to first official CM12.1 nightly of 18.06.15

Enjoy

Andi
[Galaxy S 5 Original Android Development] theelle:
[MENTION=947981]Lord Boeffla[/MENTION], any suggestion on best profile for medium use/battery consumption?
[Galaxy S 5 Original Android Development] Vampirøs:
i have a problem with downloading the kernels , when i click on (stable kernels) chrome says (this webpage has a redirect loop) : ERR_TOO_MANY_REDIRECTS

why is this happens to me?

any solution?

---------- Post added at 08:42 PM ---------- Previous post was at 08:38 PM ----------

this happens too when i try to download :(
[Galaxy S 5 Original Android Development] andip71:
All working fine here, no problems.

Have you tried to load a test kernel instead of stable? (I would anyways recommend last beta kernel, not stable)

Have you tried with another browser than Chrome?

Have you tried on a PC?

Andi
[Galaxy S 5 Original Android Development] andip71:
Well, no. I am sorry.

I am not regularly using my S5. It is a pure development phone. My main phone is something else.

So I am really the probably worst to ask. But others here can for sure come up with some good recommendations.

I am currently on zzmoove, battery yank profile, and I always underclock CPU to 1954 MHz. Touchboost on 960 and tripndroid scheduler. No unvervolting. GPU max freq put to 320 only. Rest is pretty much default values. Works fine for me.

Andi
[Galaxy S 5 Original Android Development] Vampirøs:
i solved the problem , it turned to be a proxy problem ,so after running a proxy app it works, but i dont know why i needed a proxy ,maybe because im in Syria
[Galaxy S 5 Original Android Development] andip71:
Interesting. At least nothing is blocked on my hosters configuration, I verified that.

Because I would never block anyone from specific countries.

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

Update 2.1 beta5, is once again a highlight.

_

I use my own Governor Šišmiš My S5 feels as if it had wings.

Thank you Andi

HGT - S5 G900F - Oneplus One - Tesla TTL7
[Galaxy S 5 Original Android Development] andip71:
Thanks a lot, my friend. Glad all works fine for you.

Andi
[Galaxy S 5 Original Android Development] Tak3r07:
Hey there,

Recently my device started lagging a lot from time to time so I had a look at the memory, and saw only around 21 mb free. After I've rebooted the device, the memory was already almost filled up. Is that normal behavior?

See attachments

Best regards,

Tak3r07
[Galaxy S 5 Original Android Development] !crazy:
I have to excuse me, and take back what I said about swipe to wake implementation included with this kernel. It is not good solution for fast screen wake ups/reading purposes, but it is a great way to save hardware power button a bit, and it works reliable.

Double touch to wake, is, as usual, not reliable, and in such situations people usually implement an option with wakelock. This works again only for reading, because if the process holds wakelock only for few seconds after screen goes dark, not a big deal, but you cannot leave it permanently on (I mean it doesn't make sense, b/c of battery.).

Thank for including this into your kernel Andy, it really works well. I never had a situation where I had to swipe twice or such, one only needs to do it slowly, and real from end to end (notice for people with cases, sometimes they prevent you to access the screen edges.).
[Galaxy S 5 Original Android Development] !crazy:
What is the output of /proc/sys/vm/vfs_cache_pressure? If it is low, set it back to 100 (default Linux value) or over, maybe up to 150.

Further dirty_ratio, dirty_background_ratio (all files are in the same directory.).

I would recommend 20 and 5 (percent) for these variables.

If you have any app like System Tuner Pro, I think faux clock also has these under memory management section, Trickster Mod, but it is a PITA to scroll down in Trickster Mod (second page Sysctl editor.), (and bunch of other apps support edition of these Sysctl values.) it will be easier for you to edit these.

Ah yes, also check your RAM minfree controller (Trickster terminology, or since we are using Boeffla, Android Low memory killer under misc section.).

I think first three mentioned values are responsible, and probably give to much RAM to the file system cache.
[Galaxy S 5 Original Android Development] andip71:
Generally: Yes, this is how Android works. Used ram = good ram.

What you see in Boeffla-Config is the kernel view. And it shows, the rom uses almost all memory of the system it can get.

Then the rom uses and maintains the memory and uses as much as possible as "cache" so apps that are inactive can stay in memory for fast re-opening.

So, all is normal. The memory should be used as much as possible.

It is completely different to how a Windows PC works, and therefore many people are confused.

About your lagging thing, I cannot say a lot. It can have hundreds of reasons and most probably they are even outside of the kernel.

Andi
[Galaxy S 5 Original Android Development] !crazy:
The problem is that free command doesn't repot almost any buffer cache being used. I am quite familiar with how Linux manages memory, but I'm not sure about android, because dalvik, now art is involved.

We would need to look at some dalvik values to say if he actually has memory issue or not.

Why have I written all that, because I know from experience that lot of tweakers use totally insane values for kernel memory management. Values which made sense with slow ata disks. Instead of leaving stock, or reading a bit about it, they all took they numbers from someone who read an 15 years old article. So one can find configurations which give whole RAM to the file system cache, and to make the things worse configuration which would hinder this same file system cache flushing until 80 percent of RAM has been filled with it, or until half an hour would pass.

Not saying has is using such configuration, that is only why I had this on my mind. It is possible he moved a specific slider unintentionally and changed vfs or something.

This would cause lags because all RAM has gone to the file system, and pony very little of it remained to the application cache (which should be preferred here actually.).
[Galaxy S 5 Original Android Development] Tak3r07:
Okay I didn't know that there is a "kernel view". I thought "free" should show me similar results as top/htop in linux does.

I've never been into fine-tuning any of these values yet, since I trust Andi to set good stock values ?

Output has shown stock values tho (except for LMK which where slightly offset).

But yeah as Andi has shown I just got confused about the memory which is reserved by the system for caching.
[Galaxy S 5 Original Android Development] andip71:
We are not in Linux, we are in Android.

And here we have everything running in a virtual machine - art or dalvik.

That's why it is significantly different.

Andi
[Galaxy S 5 Original Android Development] k4bbe:
Hello folks ?

Quick question regarding Bluetooth... Is it kernel controlled or not? ??

If it is... What can you do to improve performance? I've just bought a really expensive pair of Bluetooth headphones... And it stutters and crackles like a b*tch! ? ? ?

Tried changing govs etc and it's great for a while... Then it comes back sadly ?

Hoping that it's something I can tweak... If not ?

Andi.

How do we go about donating these days since the Playstore exile? ?
[Galaxy S 5 Original Android Development] HorstiG:
Wow, wow, wow Andi [MENTION=947981]Lord Boeffla[/MENTION]

Your Kernel t1 is sau good. zzmoove (optimal) works also super great.

And phoning fun is back. ;) :D

Thanks Master

Transaction ID: 9N057561G8743514J
[Galaxy S 5 Original Android Development] gogvogo:
Using the new impulse Governor great battery life and sooth like butter 30 hours and still going strong. You're latest is the greatest ;>}
[Galaxy S 5 Original Android Development] gogvogo:
Oops missed 1
[Galaxy S 5 Original Android Development] gogvogo:
Here we go
[Galaxy S 5 Original Android Development] andip71:
Thanks, looking really good! ☺
[Galaxy S 5 Original Android Development] andip71:
New beta

Hi all,

a new beta arrived.

Main changes: Color control v2 is now implemented (credits to Savoca), note you need latest Boeffla-Config App in version 2.1.86!

Also the proximity sensor when you move your S5 to the ear during a call works now when you have wake gestures enabled.

Version 2.1-beta6

Note: Only for CM nightlies of 14.05. or newer (and custom roms having these new changes in)

22.06.2015

Color control V2 implemented (you need Boeffla Config App 2.1.86 or higher) - credits to savoca

Fixed issue with proximity sensor not working during calls when wake gestures are enabled

Ramdisk updated to first official CM12.1 nightly of 21.06.15

Enjoy

Andi
[Galaxy S 5 Original Android Development] iamnotkurtcobain:
Working great! Thanks! :)
[Galaxy S 5 Original Android Development] andip71:
Really? I just pulled the kernel for a minute as I cannot get it running myself anymore at the moment. Hehe. WTF.

Andi
[Galaxy S 5 Original Android Development] HorstiG:
Great Update, thank you.
[Galaxy S 5 Original Android Development] iamnotkurtcobain:
Nightly 21.6. here. Official cm12.1

---------- Post added at 09:14 PM ---------- Previous post was at 09:13 PM ----------

Do you have hangouts?
[Galaxy S 5 Original Android Development] andip71:
Kernel is back. Fresh compiled, something was not quite right at my end it seems.

Have Hangouts, yes.

Andi
[Galaxy S 5 Original Android Development] ibosilj:
(noob question) is it necessary to wipe cache and dalvik after flashing new beta? great kernel btw and awesome battery life
[Galaxy S 5 Original Android Development] andip71:
No, it is not required (it is a fairytale this would help).

Of course it is also not wrong to do it, rebuilds the ART cache which sometimes helps to iron out weird issues.

Andi
[Galaxy S 5 Original Android Development] HorstiG:
No Problems here, Reboot is OK and fast.

AICP CM12.1, 20.06.
[Galaxy S 5 Original Android Development] Christiancs1969:
First time user. Very impressive...

Getting to grips with settings...

No issues...
[Galaxy S 5 Original Android Development] andip71:
Although no 100% up to date, but check out the documentation on settings on the kernel homepage.

Andi
[Galaxy S 5 Original Android Development] Christiancs1969:
Will do. Thanks
[Galaxy S 5 Original Android Development] andip71:
Ok - warning deleted.

After a full fresh install all seems to be ok again. Still interesting what caused exactly the same issue for me on both OPO and S5. Anyways :)

Andi
[Galaxy S 5 Original Android Development] djdana:
[MENTION=947981]Lord Boeffla[/MENTION]

After the latest update of cm 23 build swipe and tap to wake stopped working?

Is the problem on my side?? Flashed ROM with survive ROM update on with your app BTW.

Update if I switch off ambient display it works again?

Verstuurd vanaf mijn SM-G900F met Tapatalk
[Galaxy S 5 Original Android Development] andip71:
Thanks. Was just about to say, it is working fine for me.

However, ambient display is something which is always switched off on my side, yes.

Just switched ambient display on for a quick test, no issues with dt2w. Strange.

Andi
[Galaxy S 5 Original Android Development] djdana:
Maybe a clean install is neccesary then??did a run with the cleaning file and reinstalled your kernal no effect.

If I turn off ambient display slide and dubbele tap works.

With ambient display on none works.

Verstuurd vanaf mijn SM-G900F met Tapatalk
[Galaxy S 5 Original Android Development] andip71:
It is likely it conflicts. So I would not do a clean installation. Seems you have to decide... either ambient display, or wake up gestures.

For me the decision was always pretty simple: Ambient mode is nothing I ever use.

Andi
[Galaxy S 5 Original Android Development] andip71:
Small compatibility update

Hi all,

just a small update to ensure compatibility with some latest custom roms.

If all runs fine for you, no real need to flash.

Version 2.1-beta7

Note: Only for CM nightlies of 14.05. or newer (and custom roms having these new changes in)

23.06.2015

Ramdisk updated to first official CM12.1 nightly of 23.06.15 (better compatibility to some latest custom rom versions)

Enjoy

Andi
[Galaxy S 5 Original Android Development] HorstiG:
So what can I say. Just thank you.

Is outstanding.

AICP V9

HGT - S5 G900F - Oneplus One - Tesla TTL7
[Galaxy S 5 Original Android Development] HorstiG:
Reise, Reise Rammstein:- https://www.youtube.com/watch?v=eEqpNawBCVE
[Galaxy S 5 Original Android Development] !crazy:
Since the last build I have the same issue. Not really an issue since ambient display (proximity wake nor wave for notifications) never really worked.

Anyone has a clue what could be the problem that breaks ambient display?
[Galaxy S 5 Original Android Development] andip71:
Yes. I fixed the issue with proximity not working during calls. This apparently broke ambient display.

And I am afraid I will likely not be able to fix that. When I chose, the call issue was more important to me than ambient that is quite useless to me...

Andi
[Galaxy S 5 Original Android Development] phoberus:
Can you add a profile for impulse like the "battery extreme" profile for the interactive governor?

and thank you for the kernel. I use it since the galaxy s3. best kernel ever :)
[Galaxy S 5 Original Android Development] andip71:
Sure can be done.

Any suggestions already for the tunables of such a governor?

If not, I will need to dig into the governor myself. I.e. will take some time as I a rarely around the next 2,5 weeks.

Andi
[Galaxy S 5 Original Android Development] Pollie81:
Did someone try to flash this on dirty unicorns? I tried twice but it keeps boot looping. I don't understand..
[Galaxy S 5 Original Android Development] Pangadaywalker:
Have you tried to use the cleaner first?
[Galaxy S 5 Original Android Development] Pollie81:
Yes, i always use the cleaner.
[Galaxy S 5 Original Android Development] iamnotkurtcobain:
[MENTION=947981]Lord Boeffla[/MENTION]

I tried some new settings...

Default governor (interactive) BUT with exact 2 cores all the time and touchboost set to 1.7 ghz.

Advantages?

-seems smoother in UI

-device stays cooler (only 2 cores active/used)

-better battery

-same performance and the apps/games I tested

Cons?

-you tell me.. Lol just kidding ;)
[Galaxy S 5 Original Android Development] Jatinder Tiwana:
My settings are quite same as you

Governor - Interactive

Cpu-1.9ghz

Default hotplug

GPU governor simple on demand

389 max 27 min

Advantages

Smooth ui

Better battery life

Cons

Not that great in games
[Galaxy S 5 Original Android Development] iamnotkurtcobain:
Your settings and mine are completely different...

I have cpu max 2.5 ghz (touchboost 1.7. ghz)

Hotplug = 2 cores exact all the time

Gpu min 320 max 587
[Galaxy S 5 Original Android Development] !crazy:
Third and fourth core are anyway offline for 99% of time, so I doubt that (turning them completely off) has any significant influence on battery life.
[Galaxy S 5 Original Android Development] MaLiXs:
That sounds pretty good.. I'll try this but with battery governor preset

Envoyé de mon klte en utilisant Tapatalk
[Galaxy S 5 Original Android Development] Pangadaywalker:
For me battery life improves with ondemand for GPU and CPU.

Max CPU - 1.9ghz

Max GPU - 200mhz

Using the option to try not turning CPU on (aglomerate all cpu in one if possible).

That is all. Best battery life. Get home with little less than 50% and some times little more depending on usage.

All other options are default.
[Galaxy S 5 Original Android Development] Jatinder Tiwana:
Read it from the beginning
[Galaxy S 5 Original Android Development] andip71:
new beta

Hi all,

I am still on 2 weeks holidays, but in order to hopefully make zzmoove governor a bit more stable for you, a slightly tweaked version is included in this new kernel. ZaneZam and myself are curious how this changes stability for you.

Version 2.1-beta8

Note: Only for CM nightlies of 14.05. or newer (and custom roms having these new changes in)

01.07.2015

zzmoove governor - all profiles now working with scaling_proportional set to 2 (test if this fixes the stability issues for some of you - credits to ZaneZam)

Ramdisk updated to official CM12.1 nightly of 01.07.15

Enjoy

Andi
[Galaxy S 5 Original Android Development] UpGrad3:
Thanks for the update this kernel is by far the best for me! i have a problem though since version 5.4.8 of Resurrection remix rom i cant use it :( for some reason your kernel causes too much over heating and the logcat shows so many weird erros its never stops too, can you please look into this and fix it when you have time ? i can upload the logcat somewhere if you wish ?

I have had to revert to the stock kernel and it works fine and also i used ACIP rom and your kernel worked great so it seems to be an issue just with Resurrection remix rom.
[Galaxy S 5 Original Android Development] iamnotkurtcobain:
Thanks! Enjoy your holidays! :)
[Galaxy S 5 Original Android Development] andip71:
Sorry, but I will not look into that.

The kernel runs fine against official cm (and other roms). And I never use these custom roms myself for reasons like this.

Sorry, but cannot ensure compatibility with all roms around, I am dead when even trying that. Not enough time.

Thanks for understanding

Andi
[Galaxy S 5 Original Android Development] UpGrad3:
Thats fair enough i understand ! keep up the good work
[Galaxy S 5 Original Android Development] The Peterle:
I am on RR 5.4.9 with beta 8 without any heating issues. My phone only heats up when the ART caches is loading,but that's normal.

I think u have some other thing which causes that problem. Try to use the beoffla cleaning script. Perhaps there is something in the background.

For me the kernel working absolutely stable except of some zzmoove issues.

Regards Peterle
[Galaxy S 5 Original Android Development] UpGrad3:
i did a fresh clean wipe and install and then flashed boeffla and still i get the issue but i also get it with kt kernel and stock its deffo something to do with my phone i need some one who understands the logcat
[Galaxy S 5 Original Android Development] The Peterle:
Ahh u have used kt! Then you must delete all kt folders and then use the cleaning script. Or u can also try official cm to compare this issue to RR.