yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 Original Android Development] j1gga84:
interactive seems to be better but does drain more battery than the other ones..

No I do not OC

I also disabled ext4 optimizations but I don't know if this is useful - could disabled ext4 optimizations cause a higher battery drain?

Last night I installed an update via Google Play store and while installing phone reboots, very strange behaviour :confused:

In such cases, after a soft reboot, is there a way to fetch a logcat or anything helpful?

regards
[Galaxy S 5 Original Android Development] andip71:
ext4 optimisations have zero impact on battery life. They just make the commit rate longer = less often write operations to sd memory.

If you do not undervolt, not overclock, and have reboots with interactive governor, something is not right in the basic setup. Refrain from using vnswap if not required.

Logs are surprisingly useless on S5, do not ask me why.

You can switch on kernel logger and after a hard reboot you can create a debug info file for me.

But hey - when you talk about a soft reboot (i.e. only the rom starts), it means the rom had an issue and not the kernel was having a panic.

I think you will likely not find the reason with normal effort, I would go for a fresh install (had that as well myself a few weeks on the OnePlus One and did not find the culprit, so I did a fresh install and all is fine since then again).

Andi
[Galaxy S 5 Original Android Development] Jatinder Tiwana:
My phone's screen flickers whenever I lower the brightness to zero

Is there any solution?
[Galaxy S 5 Original Android Development] :
New updates coming soon? It's been a while.
[Galaxy S 5 Original Android Development] andip71:
Maybe next week.

When you follow the thread, you see I am rarely at home. So, almost no time to do anything here.

Andi
[Galaxy S 5 Original Android Development] HorstiG:
Why constantly updates? The kernel runs great. Or are exchanged every week the engine of your car? Or you have no car? :D ;)
[Galaxy S 5 Original Android Development] Jatinder Tiwana:
The new nightlies (11-9-15) need kernel update

The boeffla kernel is not doing well with them

Random reboots,freezes are happening every hour
[Galaxy S 5 Original Android Development] iamnotkurtcobain:
I'm guessing you aren't using cm12.1 right? Other roms are slightly behind cm and doesn't have all the new stuff from cm. So it is clearly why you have no problem with beta 2 ;D
[Galaxy S 5 Original Android Development] migz012788:
Hi [MENTION=947981]Lord Boeffla[/MENTION]! Good to see you here. been using your wonderful kernel since my galaxy s3 days. looking forward to use it again on my s5 :) more power!
[Galaxy S 5 Original Android Development] HorstiG:
This is the ROM on my 2nd phone. I have 0 problems.

I think the problem is exactly the opposite, old ROM with a new kernel makes more problems than new ROM with old kernel.

HGT - S5 G900F - TESLA TTL7
[Galaxy S 5 Original Android Development] j1gga84:
And my reboots, just for info, seemed to be Xposed related. After the official update to v74 no more problems until now :)

Regards

Sent from my GT-I9100 using german Tapatalk 4
[Galaxy S 5 Original Android Development] ScratMan38:
I'm using nightly 11/09 with the beta 2 kernel, and it's working perfectly well. No reboot, no freeze.
[Galaxy S 5 Original Android Development] andip71:
CM12.1 kernel maintenance update

Hi all,

quick maintenance update for the cm12.1 kernel.

Version 2.2-beta3

14.09.2015

Ramdisk updated to official CM12.1 version of 14.09.15

Enjoy

Andi
[Galaxy S 5 Original Android Development] Ozzy2403:
Hi Andi

1. im Normalfall würde ich nicht fragen aber du hast in deinen Bacon-Kernel F2FS eingeführt. Besteht da die Möglichkeit, dass dieses Feature auch hier beim S5 eingeführt wird?

2. die BFQ-v7r8 von hier wären auch ganz interessant: https://github.com/CyanogenMod/android_kernel_samsung_jf/commits/cm-12.1

lg
[Galaxy S 5 Original Android Development] j1gga84:
english? ;) We are on XDA here, not Android-Hilfe ;)

regards
[Galaxy S 5 Original Android Development] andip71:
Hi!

Only English language allowed, sorry.

1) I did not introduce F2FS, it was the CM team doing it. So I just followed their official patches.

And no, as long as CM team will not do that on the S5 too, I will not do that. I am known to be a big F2FS-hater... (see OP - what I will never implement).

2) This BFQ version is in my kernel already since it came out.

Andi
[Galaxy S 5 Original Android Development] Ozzy2403:
reading and wrinting english normally only at work. thats enough for one day :P

and sry for not being able to look properly at github...
[Galaxy S 5 Original Android Development] galahadUSA:
Yeah but German sounds so bad ass!
[Galaxy S 5 Original Android Development] The_Voice_70:
Nightly 15.09. with Boeffla 2.2 beta3 works like a charm. Settings: zzmove - zzmove battery extreme yank 2457/300, hotplug: default, no reboots. Great :good::D:D
[Galaxy S 5 Original Android Development] Putrid Polecat:
Working great for me too, more or less stock settings with oc, sgs5.
[Galaxy S 5 Original Android Development] j1gga84:
Have a nice time "auf der Wiesn" Andy :good::)

I don't know but for me beta2 was much more stable than beta3 :confused:

With beta3 the system freezes are back, not as much as before xposed get the official update to V74 but with beta2 and the new xposed I had absolutely no freezes and reboots, with beta3 they are back, not much but they are back..

It is mainly while scrolling for example on a webpage or in instagram, when opening a drop-down menu or while typing a text..

Just for info, I don't know how to provide any helpful logs after the freeze and reboot, I already disabled gravitybox but it seems that it has nothing to do with that..

I will remain on beta2 for a while and see if I have freezes and reboots there..

EDIT:

Ok, had another freeze even with beta2 after the device was a longer time in DS, I entered my PIN code and after 2 numbers freeze and reboot :(

regards
[Galaxy S 5 Original Android Development] Solvin:
Same by me!
[Galaxy S 5 Original Android Development] andip71:
No issues for me with beta3.

However you did not state which rom you use, so we cannot say a lot.

I am for instance always on latest nightly, no uv and no oc = zero issues here.

Andi
[Galaxy S 5 Original Android Development] Phk:
Hello all,

Going to flash nightly KLTE CM12.1 build and then try this Kernel.

Can you help on how to backup the current kernel? This applies to any setup, actually. I don't want to take a full nandroid backup, just back up the kernel to be able to rollback.

Thanks
[Galaxy S 5 Original Android Development] !crazy:
You just dirty flash ROM again, or you back up just the kernel with recovery and reflash only kernel, but flashing ROM will give you the same result.

You can eventually run Boeffla cleaning script (also a flashable zip for recovery.) before flashing CM but I'm not sure it is necessary.
[Galaxy S 5 Original Android Development] Phk:
And how do you backup just the kernel from recovery? (i use latest TWRP)
[Galaxy S 5 Original Android Development] andip71:
You cannot, as you have been told already.

The kernel also is putting modules into system folder, so it can't be done just in recovery.

Flash rom dirty over, that is the simplest way.

Andi
[Galaxy S 5 Original Android Development] Phk:
Ahh, damn.. I was hoping that Android had modules split in dirs like /lib/modules/`uname -a` , so changing the bzimage only wouldn't be a problem.

Andi, you're the right person to ask: Do you know a good reference to read on Android OS architecture? FS structure and high level designs would be great.

Cheers
[Galaxy S 5 Original Android Development] Putrid Polecat:
CM 9/19 has a lot of kernel changes. Is it safe to flash Boeffla over it?
[Galaxy S 5 Original Android Development] Solvin:
I have no issues detected since yesterday.
[Galaxy S 5 Original Android Development] !crazy:
As you can see there are only few scheduler updates, mainly BFQ related stuff. Boeffla works just fine,as already confirmed.
[Galaxy S 5 Original Android Development] yanis488:
Hi all i Installed this kernel on cm12.1 no problem

But download link of boeffla config v2.apk dont works on

all versions absolete , new ....... No one

I get this notification " download fail "

Nice day to all :good:

++++++++++++++++++++++++++++++++++++++++

Resolved : boeffla config v2 apk works well

it's download browser probleme

Network browser of cm12.1 : his download stops after 2s starting...like download fc

nowadays i use firefox browser no problemo

I ll update cm12.1 rom
[Galaxy S 5 Original Android Development] j1gga84:
I found the reason of my FC and reboot issues on my device.. it was the PegasusQ governor, I don't know why but it is not 100% stable on my phone.. Maybe you could have a look at [MENTION=947981]Lord Boeffla[/MENTION]

Now I'm using interactive/sio combination (after reading this very interesting article that everybody should read: http://xdaforums.com/general/general/ref-to-date-guide-cpu-governors-o-t3048957) and this is awesome :good:

no more lags and reboots, the system is ultra smooth and I get a SOT of nearly 7h at something over 1 day uptime :good:

I set internal memory to 512 and external to 2048 (because I have a 64GB SDCard) - hope these values are correct.

Hotplug optimized and no UV/OC

EDIT:

Andi, did you consider adding alucard or intelliplug hotplug driver to your kernel because this driver seems to be good for battery lifetime - know this from my good old S2 ;)

regards
[Galaxy S 5 Original Android Development] iamnotkurtcobain:
Are you serious?? You used the old/dusty/shi*** pegasusq gov on a modern smartphone??? Why??
[Galaxy S 5 Original Android Development] j1gga84:
[MENTION=3117242]iamnotkurtcobain[/MENTION]

calm down :D

I was not aware that this governor is old and not usable on a newer device ;)

It worked great on my S2 so I used it also on my S5 but no longer after reading the mentioned article ;)

regards
[Galaxy S 5 Original Android Development] iamnotkurtcobain:
I used it too on my S2 and it was good in 2011/2012 ;)

But it's a completely different hardware now. Best governor for battery life/performance is still interactive.
[Galaxy S 5 Original Android Development] j1gga84:
maybe I will try this combo also on my S2 because battery drain was a bit higher but that is OT ;)

Something different:

When I play a video the phone gets hot and battery drain is quite very high.. Is that normal and/or ROM related?

regards
[Galaxy S 5 Original Android Development] TheNML:
Can someone help me? Im new to boeffla kernel, i have just used ktoonsez kernel, can someone tell me what is the best balanced profile?
[Galaxy S 5 Original Android Development] htb2050:
The best balanced profile is the default one which comes with boeffla when you install it for the very first time.
[Galaxy S 5 Original Android Development] The Peterle:
You can also try the presets to get a feeling for the kernel config.
[Galaxy S 5 Original Android Development] andip71:
Bfq is in my kernel already since first version.

So yes, nothing that is missing and safe to be used.

I do recommend interactive only when you need 100% stability.

All other govs are more or less stable and should only be used when you have good reasons for it.

Any other hotplugging implementation = no plans, goes too far away from my close to stock objective.

Alucard gov... No plans as well atm, I think there are enough governors already available. And I mainly recommend interactive only on the s5.

Andi
[Galaxy S 5 Original Android Development] zrockcool:
sudden reboots

Good Day!

My device is SM-G900F running CM 12.1 nightly(9.20.15) and Boeffla pro 2.1 stable version kernel. Installed it through cwm recovery, wipe dalvik and cache partition before and after zip installation. Its my 15th 5day max update since i use cm 12.1 nightly and boeffla kernel for 3 months already. I stary with boeffla betas then the 2.1 stable version. My governor is interactive and its profile is interactive-performance, scheduler is FIOPS both internal and external,readahead buffer is 1024 both internal and external, swappiness is 10, ext4 tweaks is enabled, no OC and UC and others are in default values.

I'm using nova prime launcher, 0.00x animation scale on dev options, blackout cm 12.1 theme and black wallpaper both home and lockscreen, google apps installed, some system apps are disabled those which I rarely use, greenify of course, I do a lot of spotify streaming, youtube also, mx player for my movies, social medias, and couple of high end games both online and offline, and couple of calls and texts. I was amazed when the score of my device reach 49565 on antutu for the first time. I run again the benchmark and its just stays there at 49k.

In my experience in usage of my device, this cm 12.1 rom nightly partnered with boeffla kernel is very close to a stable and very performing well. But there is only one problem I have encountered so far which is REBOOTS but only once in a 24 hour use like when I'm watching movies using mx player it suddenly hangs and boomm!! there I see the samsung s5 logo its restarting. Then when Im using spotify and a play some songs it also hangs and reboots.

First time reboots in my device since cm nigthlies, no reboots in my stock.

I don't have any idea which causes this if the rom itself or the boeffla kernel configuration or other wrong settings I had made.

Really appreciate for any suggestions and advice.

Thank You!
[Galaxy S 5 Original Android Development] andip71:
Suggestion #1: Use latest beta kernel. You should always keep your kernel updated on cm12.1 as the stable kernel is always outdated very quickly.

Andi
[Galaxy S 5 Original Android Development] j1gga84:
Many thanks for your answer :)

So if you recommend interactive only for 100% stability - which indeed everybody wants I guess ;) - what governor/scheduler are you using as daily driver?

and concerning GPU governor, what do you recommend for good battery and still a good performance? I switched from msm-adreno-tz to simple_ondemand but I think this governor causes a little stuttering while scrolling!?

[MENTION=5811506]gsstudios[/MENTION] wants to add all governors/schedulers in his brilliant article mentioned above but he cannot find IO scheduler "iosched" - which is in boeffla kernel - in kernel source code, can you say something about that scheduler?

many thanks & regards

P.S. I hope you enjoyed "Die Wiesn" ;)
[Galaxy S 5 Original Android Development] andip71:
New beta

Hi all,

after I am now back home for a few days (have to go to Prague again Sunday night for 4 days, phew)... maintenance update for you:

Version 2.2-beta4

24.09.2015

zzmoove governor: various stability and bugfix patches (credits to ZaneZam)

Updated with latest official CM kernel commits as of 24.09.15

Ramdisk updated to official CM12.1 version of 24.09.15

Enjoy

Andi
[Galaxy S 5 Original Android Development] The_Voice_70:
Many thanks to this great update. Rocks radical with extremly "High Power". Also a great thank to zanezam for his "zzmove - zzmove battery extreme yank". No reboots ... no problems ... Great Work. Really "Boom Sound" ;)))
[Galaxy S 5 Original Android Development] :
How do you get 7 hours of screen on time? Do you have an extended battery? I went back to TouchWiz because the screen on time was getting worse and worse (5 hours at best).
[Galaxy S 5 Original Android Development] The_Voice_70:
My settings in Boeffla Config are as followed:

zzmove - zzmove battery extreme yank 2457 /300, Hotplug: default, CPU default. Only changed Boeffla Sound +10. Everything greenified. No crappy **** like xposed. (nobody needs this), Deepsleep finest at 99%. No battery drain or something else. No Reboots. (since a lot of weeks) Last BTU BOI3. Before using .... READ THE CHANGELOG EVERYTIME GUYS ;))))

Excellent Work by our Lord and ZaneZam ... Boeffla rules ;)))
[Galaxy S 5 Original Android Development] :
Well yeah, but you have an extended battery. It's still impressive though.
[Galaxy S 5 Original Android Development] iamnotkurtcobain:
A 3500 one.

And that with the network/wifi drain bugs...
[Galaxy S 5 Original Android Development] Saber:
And because of this, I've updated my guide. Such governors shouldn't be used on new devices like you said ;)

gsstudios.
[Galaxy S 5 Original Android Development] Putrid Polecat:
Latest build is responsive and rock solid with my configuration:
[Galaxy S 5 Original Android Development] mavambu:
Hey I got a little questions... Is it normal that only the first and the last kernel are online on Zzmove and the other to still offline the most of the time... I mean very often?
[Galaxy S 5 Original Android Development] Solvin:
That depends on the zzmoove profile. You are using which one?
[Galaxy S 5 Original Android Development] ZaneZam:
more precise it depends on the used hotplug profile...

I guess u are using "default" hotplug as this is how it looks like with stock hotplugging, so it's normal. if u switch to optimal or zzmoove native hotplug profile then most of the time only one core is online ;)
[Galaxy S 5 Original Android Development] mavambu:
Okay ? and I use default hotplug Zzmove battery-Yank... And what is the more battery friendly for listening to spotify offline mode because is draining my battery so fast :o and I often get only 2h of screen on time by online using spotify, what's app, Instagram and Textra :/
[Galaxy S 5 Original Android Development] ZaneZam:
the gov and hotplugging has here only a very little impact radio/WiFi/wakelocks/services/apps on the system are the usual culprits when it comes to low "bat performance" so I would start to search in that area.
[Galaxy S 5 Original Android Development] mavambu:
Thank you for the reply and... How can I determined those culprits :s?
[Galaxy S 5 Original Android Development] ZaneZam:
for example with apps like wakelock detector or better battery stats. ;)
[Galaxy S 5 Original Android Development] mavambu:
Thank you!! ??can I post my results in this thread?
[Galaxy S 5 Original Android Development] ZaneZam:
I think there are better places to post search for this as this is a kernel only thread ;)
[Galaxy S 5 Original Android Development] TheNML:
How much is it safe for me to get in AC and USB charge current?
[Galaxy S 5 Original Android Development] Solvin:
It's safe when you use a original charger or a high quality charger. Don't use no name chargers from asia.

I have no problems with maximum charging rate via AC, USB or Wireless.
[Galaxy S 5 Original Android Development] The Peterle:
[MENTION=3279788]ZaneZam[/MENTION]

I also noticed some delay wakeup for incoming calls. I know it's an old zzmoove issue, but are there any tuneable tweaks to avoid it.

Edit: Another question, does anyone know the thread to share Boeffla profiles. I have an awesome zzmoove tuneable profile, which I want to share. A mix of zzmoove power, battery extreme and moderate.

Regards Peterle
[Galaxy S 5 Original Android Development] Solvin:
Try to set the tunable "sampling_rate_sleep_multiplier" from 4 to 2.
[Galaxy S 5 Original Android Development] ZaneZam:
ehm actually with newest version there is no need to change anything regarding sleep as sleep mode is completely disabled so there should not be any wakeup issues anymore (at least the ones caused by the sleep restrictions of zzmoove)

about the profile sharing thread there are two If I'm not wrong one for the i9300 and one for the OPO. which would be the right place for your snapdragon profile, unfortunately I got no links by the hand atm. but search for boeffla profile sharing in the OPO area, I think it was slayer666 who started this thread ;)

EDIT: after scrolling a bit in Tapatalk I found the Opo one :http://xdaforums.com/showthread.php?t=2998145
[Galaxy S 5 Original Android Development] zrockcool:
Did what you suggest.

Going to test for now.

Thank you for the great work.

More coffee and power..
[Galaxy S 5 Original Android Development] Traace:
beta4 isn't that stable for me as beta3 was

Following tunables gives me like 2-3 reboots a day(2457mhz @ -75mV undervolt):

-zzmove battery plus

-zzmoove battery yank

-zzmove battery extreme yank

meanwhile

-zzmove battery seems stable for now(more testing needed)

Always running new nightly
[Galaxy S 5 Original Android Development] andip71:
Undervolting... What should I say more...

I am pretty sure my next kernels will have undervolting removed one day.

Andi
[Galaxy S 5 Original Android Development] Christiancs1969:
Will wipe out 99 percent of reboot . freeze posts[emoji6]
[Galaxy S 5 Original Android Development] andip71:
So true.

I should really consider that.

Andi
[Galaxy S 5 Original Android Development] j1gga84:
Could it be possible that "no undervolting" isn't standard after installing the kernel but "custom"?

I changed it to" no undervolting" and no more freezes or reboots since then. Battery lifetime is equal or even better! I am on Team Exodus ROM.

What I think you could consider instead of UV CPU is UV GPU?

I don't know if there is a problem with GPU governors!?

I am on simple_ondemand but when I change it to cpubw_hwmon system stucks immediately and reboots. After rebooting and applying kernel settings system stucks and reboots again and I have to erase the kernel settings via recovery.. Anybody else?

But when not UV (I think our device don't like UV) and not using the GPU governor mentioned above the kernel is running great and gives me 6-7h SOT at 24h uptime :)

Regards

Sent from my SM-G900F using german Tapatalk 4
[Galaxy S 5 Original Android Development] andip71:
Yes, Custom is the standard after a fresh install. However without undervolting applied.

GPU undervolting: I think I will not make situation worse by implementing yet another uv possibility. Apart from that, I have not seen anyone having GPU volting implemented in a msm8974 kernel (so far). So I would need to code that from scratch and I am sure I am not willing to do that :)

All other GPU governors apart from msm-adreno-tz and simple_ondemand are rubbish. They are included in the source, but they do not work properly.

This is known, same on other devices like the OnePlus One.

I did not want to remove them yet, as I am not sure whether someone has usage for it. And I think I removed it once and then the system showed other instabilities, so there is some dependency still.

Andi
[Galaxy S 5 Original Android Development] j1gga84:
OK I understand that :)

What about vibration control? For me vibration is very weak, even if I set it to 100% in ROM settings.

I know from old kernels of my S2, where vibration control was implemented, that vibration worked very well. Or is it normal that vibration of S5 is quite low compared to other devices?

Regards

Sent from my SM-G900F using german Tapatalk 4
[Galaxy S 5 Original Android Development] andip71:
Need to rely on comments of others. I do not use the S5 a lot as it is not my daily driver.

Currently I am not planning bigger developments for any phone before the first real kernel for the OnePlus 2 is out.

Andi
[Galaxy S 5 Original Android Development] sgace2:
yes i can confirm this. on stock the vibration is very strong, i don't think it's an hardware issue.
[Galaxy S 5 Original Android Development] milestone97:
Hey guys,

I'm wondering which CM12.1 ROM I should use, since the official one is updated...

Which one is used by Lord boeffla?

Also I heard that the stable kernel get's outdatet pretty quicky at least in combination with a nighly rom, but what about using a stable Kernel and ROM in combination?

Would that be recommended for someone who want's good battery life, stability and smoothness?
[Galaxy S 5 Original Android Development] andip71:
My phone always latest nightly.

It is that easy.

Andi
[Galaxy S 5 Original Android Development] milestone97:
Soory my fault, haven't seen that the XDA thread is just not updated reguraly
[Galaxy S 5 Original Android Development] mfractal:
Not completely kernel related, but is there a way to turn off the hardware keys lights?

Tapatalkin!
[Galaxy S 5 Original Android Development] andip71:
Yes, in Boeffla Config this can be configured.

Andi
[Galaxy S 5 Original Android Development] mfractal:
Found it. Many thanks!

Tapatalkin!