yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 Original Android Development] andip71:
But it does also not fully work on non g900f variants, even if they are snapdragon based.

Some things like NFC, modem bands etc. are likely to not work fine if phone is not 900f. Other phones have their own kernel code.

Andi
[Galaxy S 5 Original Android Development] Legitsu:
the nfc not working is just a LOS regression that keeps popping up its also broken across the board NOT just the 900f it doesn't work on my kltevzw on non-los roms e

and caf roms that follow the los kernel guide lines are fine

not compatible = doesn't boot if it boots its compatible whether or not its feature complete is anouther matter
[Galaxy S 5 Original Android Development] andip71:
Hi all,

small maintenance update for the LineageOS 14.1 kernel is out.

Version

4.0-beta23

29.03.2017

Update: Updated with latest official LineageOS kernel commits as of 29.03.17, 06.00 CET

Enjoy

Andi
[Galaxy S 5 Original Android Development] Kenny13554:
minimum CPU Frequency

Hi everyone,

I had a lot of wake up lag with this kernel and lineage 14. After a lot of testing I found out that raising the minimum CPU frequency from 300 to 422 MHz pretty much solves the problem. What gives a little more speed when waking up the device is to keep at least two cores always active.

Does anyone else have the same experience? [MENTION=947981]Lord Boeffla[/MENTION]: what are your thoughts? Do you think this will affect battery life?

Best,

Kenny
[Galaxy S 5 Original Android Development] andip71:
Never saw any wakeup lag myself, and I always use 300 MHz min cpu freq.

The question is - which governor are you using? I use interactive and there it should be fine. If you use other governors, there might be some wakeup lag due to some governors capping max frequencies during screen off. This could in fact cause those lags.

And I think it would only slightly impact battery life, maybe not even measurable.

Andi
[Galaxy S 5 Original Android Development] Kenny13554:
I was using Interactive Governor. After some more research, I found out the problem was the SD card. I formatted about 10 GB of my 64 GB as adoptable storage and installed some apps on it. This apparently caused the wake up lag, as after removal, all works fine even with 300 MHz.
[Galaxy S 5 Original Android Development] andip71:
Oh yes, adoptable storage is just a piece of crap. One of the worst ideas Google had.

External storage is too slow to work fine, especially with the old storage controller of the S5.

Then it is super unsafe. I tested it once, and after I simulated the sd card to be defect by removing it, I lost also all data in internal memory.

I have no idea what Google thought when they introduced this crappy concept.

Andi
[Galaxy S 5 Original Android Development] Dieexe:
In my opinion, this isn't required and/or made for devices with 16GB+ storage, it's for really low low end phones with 8GB or even 4GB, if you use a relatively speedy SD Card it's just ok
[Galaxy S 5 Original Android Development] skinza:
I'm using the latest beta on g900i (kltedv) with latest lineageos and it works perfectly phone is super smooth and battery life is great
[Galaxy S 5 Original Android Development] skinza:
I have read on numerous web pages that using all cores at lower MHz is more efficient and battery friendly

If this is true can some please explain to me how to set up the hotplugging to do so?
[Galaxy S 5 Original Android Development] GanzoManko:
This kernel is compatible with Resurrection Remix 5.8.2 in a S5 G900T?
[Galaxy S 5 Original Android Development] skinza:
If your device is supported by the kernel then it should work no problem
[Galaxy S 5 Original Android Development] dawid0089:
For me on latest boeffla beta v23 acceleration sensor and rotadion,gyroskope sensor didnt work
[Galaxy S 5 Original Android Development] hrh_fourtyseven:
Is it possible to add interactiveX governor to your kernel ? its same as interactive plus more power saving in off screen.

Thanks for your Great work
[Galaxy S 5 Original Android Development] andip71:
You need to put the hotplugging profile to max=4, min=0 or so.

Nobody can help as you did not mention any more relevant information (on rom etc.).

It is technically possible, but will not do that anymore.

I am not adding new features to my S5 kernels anymore as you can see here: http://boeffla.de/index.php/info/kernel-status-roadmap

But anyways, do not expect any major difference by those governor tweaks. Reality shows it is not really worth it.

Sorry

Andi
[Galaxy S 5 Original Android Development] vd69:
How do I change hotplugging profile max and min

Νους
[Galaxy S 5 Original Android Development] andip71:
In Boeffla-Config, you switch to the CPU tab.

There you have a headline "Hotplug settings", in the dropdown list select "4 cores min".

Andi
[Galaxy S 5 Original Android Development] Atrate:
[MENTION=5894676]skinza[/MENTION]

[MENTION=1462294]vd69[/MENTION]

Could you confirm whether that works?

Also, sorry for bothering [MENTION=947981]Lord Boeffla[/MENTION] , but is extreme battery drain by "Miscellaneous" a known issue with the kernel or is it just me?
[Galaxy S 5 Original Android Development] 10goto10:
I'm not them, but I can confirm that tweaking hotplug settings works as intended.

Haven't seen 'miscellaneous' battery drain since the official Lineage nightlies--make sure you're on a recent build and if all else fails, backup all your apps and data and clean flash. That miscellaneous stat is usually just a reporting glitch anyways, it doesn't indicate actual battery drain. If you're curious about what's using your battery you could always install BetterBatteryStats or GSAM.
[Galaxy S 5 Original Android Development] Atrate:
Hmm... tried GSAM before, it showed just Android System drain as about 60 percent, and BetterBatteryStats has lead me to believing that something might be wrong with the radios of my phone, cause the things that are consuming the most battery are bam_dmux (mobile data) and that wi-fi one, whose name I forgot.

I'm after a clean flash, but what might be causing that is that I am on an unofficial Lineage 13 nightly. Did CM13s have the same problem?

And sorry for flooding the thread a bit offtopic.
[Galaxy S 5 Original Android Development] andip71:
Hi all,

maintenance update for Laos 14.1 is out:

Version

4.0-beta24

19.04.2017

Update: Updated with latest official LineageOS kernel commits as of 19.04.17, 12.00 CET

Enjoy

Andi
[Galaxy S 5 Original Android Development] clarionero:
Hi Andi. Thank you for your great work. Last version 24 give me errors about external SD card. It say ever the SD card is corrupted. I formated again the card but it say error ever. I return to version 23 and all is right again. No errors. I will try again when AICP release a new ROM version (current is from April first days).

Rubén
[Galaxy S 5 Original Android Development] andip71:
Likely an inconsistency of your rom with latest kernel code (yes, there were a quite high number of sdcardfs related commits in latest LineageOS kernel code). I guess you need to wait for a rom update and use beta23 for the time being.

Andi
[Galaxy S 5 Original Android Development] skinza:
Confirming setting Hot plug to 4 cores min keeps all cores on

I did that and used the battery saving profile and phone still seemed pretty smooth, battery drain was slightly higher though
[Galaxy S 5 Original Android Development] andip71:
. build_kernel.sh is not the build script that I use.

And you need to use my defconfig, as there are some settings added which are referenced in code.

But you figured it out as I saw.

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

do you know any threads with good profiles to see as example? anyway, good job lord, i'm follow u from gs3's kernel
[Galaxy S 5 Original Android Development] andip71:
Only the one I link to in the download section on www.boeffla.de

But the S5 thread is not frequently maintained anymore, the device is getting old really...

Andi
[Galaxy S 5 Original Android Development] Ragnar Eldur:
Could you add an I/O stats option to enable monitor apps to monitor activities on the storages?

If found that option in the I/I section in the Kernel Adiutor app and by default it is always disabled for me so I always have to enable it after every boot so the System Monitor can see the activity.
[Galaxy S 5 Original Android Development] Ragnar Eldur:
Screenshots
[Galaxy S 5 Original Android Development] andip71:
Hm, not very likely in the next future (honestly).

I do not like to implement things that already exist in other apps and are not kernel specific in any way.

Maybe when I do a rewrite of the app in future, it would make sense to add it. For now, at least not in the short-term future plans.

Sorry

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

maintenance update of Boeffla kernel for LineageOS 14 is out:

Version

4.0-beta25

03.05.2017

Update: Updated with latest official LineageOS kernel commits as of 03.05.17, 08.00 CET

Enjoy

Andi
[Galaxy S 5 Original Android Development] fbs:
is it just me with really frequent reboots while using "pegasusq" governor? could anyone test it please? :P
[Galaxy S 5 Original Android Development] heshan_1010:
I never used pegasusq because it always sticks to the highest frequencies for me. I prefer nightmare instead. :)
[Galaxy S 5 Original Android Development] andip71:
Every governor except interactive is subject to certain instability.

PegasusQ for instance is an old governor coming from the Galaxy S3 Exynos times. Use it on own risk.

But I stated many times about other governors here as well... If you want 100% stability = interactive is what you need.

Andi
[Galaxy S 5 Original Android Development] fbs:
This is kinda odd to me. A governor is a rather simple piece of code which scales up and down cpu frequencies using android's API itself, isn't it? Apart from loops or buffer overflows in its code (which would have affected ALL mobile models, obviously), I can't understand how it could cause a kernel crash.

Oh, and how is touchboost being tweaked now? Couldn't find any mention to it on your config app! Is it on by default?
[Galaxy S 5 Original Android Development] Ragnar Eldur:
Just got my new 7000 mAh battery replacement for my old Galaxy S5 and ran for the first test run today. Been using it nonstop since 6 AM at work and now it's 15 PM, still at 70% and I'm a seriously heavy user so I'm certainly happy that the phone finally lasts the day again. ?
[Galaxy S 5 Original Android Development] andip71:
Well, this is the theory. The reality is always a bit different.

Especially pegausq, which in the Exynos world had still CPU hotplugging code in, is stripped off that code as hotplugging is handled differently (mpdecision binary) on the S5. Not sure if the one modifying pegasusq governor for S5 built some bugs in.

And no, a governor is not simple code at all anymore. You should tell that to people like ZaneZam that maintain governors like zzmoove. It is highly complex code, every smallest flaw can cause freezes and reboots.

But it is just a fact - interactive is by far the most stable governor.

Touchboost has been removed months ago completely by CM/LineageOS team. This is the reason you cannot see it anymore in the app - it just does not exist anymore.

Andi
[Galaxy S 5 Original Android Development] Blackburn119:
Where did you get that 7000 mAh?
[Galaxy S 5 Original Android Development] iamnotkurtcobain:
I always make an advanced wipe in twrp to format system to be sure all is perfect for a fresh rom install.

Anybody tested beta11 on nightly 27.5.?

Some new kernel changes...
[Galaxy S 5 Original Android Development] andip71:
Well, I can just say: On the OPO the 27/05 nightly causes hot reboots, regardless if on stock or Boeffla kernel.

So something is really fishy there with latest nightly.

Would not be surprised to see the same on the S5... I skipped todays nightly due to that.

Andi
[Galaxy S 5 Original Android Development] iamnotkurtcobain:
Running 27.5. for a few hours now. No problems and good performance.
[Galaxy S 5 Original Android Development] andip71:
Good. Then it was maybe an OPO specific issue with last nightly.

Andi
[Galaxy S 5 Original Android Development] iamnotkurtcobain:
I guess one of those msm8974 commits did it on your OPO
[Galaxy S 5 Original Android Development] andip71:
Yep, the wifi and gps ones are the suspicion so far.

Andi
[Galaxy S 5 Original Android Development] iamnotkurtcobain:
I hope they revert those commits for the next nightly ?
[Galaxy S 5 Original Android Development] paintball23456:
how do i flash the kernel on cm12.1? when i do i get never ending boot up..
[Galaxy S 5 Original Android Development] andip71:
What rom are you using?

Andi
[Galaxy S 5 Original Android Development] andip71:
Break-through...

Hi all,

I think I have achieved a break-through today.

One of my biggest nightmare on the S5 was so far, Samsung or whoever removed completely the ram_console function in the S5 kernels. This means, last_kmsg kernel logging was not giving any results. And this means, hard or soft reboots could not be analyzed so far with help of last_kmsg (or the Boeffla-Config App Debug file).

Now I think I managed to completely re-implement the ram_console, and it looks like I have a working last_kmsg.

So in future, debugging is much more effective. Especially when it comes to ugly reboots which need analysis :D

Yeah, quite happy so far. But I do more testing first.

Cheers

Andi
[Galaxy S 5 Original Android Development] XDAMaxe:
That'll be perfect, cos I thought I was too dumb to find the log so far - but I must admit that I'm no expert reading/understanding and - concerning kmsg - finding logs ;)

Anyway, thanks for giving me some hope that I'm not lost :)
[Galaxy S 5 Original Android Development] andip71:
No, you are not.

Samsung removed the complete foundation for it (the last_kmsg is a buffer that is kept in a defined memory area, the ram_console).

It was a lot of fiddling to get this back in again...

Andi
[Galaxy S 5 Original Android Development] MaLiXs:
Hey Good work Andi !!!!
[Galaxy S 5 Original Android Development] HorstiG:
Great Jop

HGT - S5 G900F - Oneplus One - Tesla TTL7
[Galaxy S 5 Original Android Development] The Peterle:
Nice Andi!

Thanks for reviving our best feedback tool. For me it shows again that you're (one of) the best kernel developer.
[Galaxy S 5 Original Android Development] Gassity:
Many thanks! You're the man!
[Galaxy S 5 Original Android Development] andip71:
New beta kernel

Hi guys,

okies, new CM12.1 Boeffla kernel beta for you, as already teased a little bit yesterday.

Here we go:

CM12.1 -- Version 2.0-beta12

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

29.05.2015

Implemented missing ram console = we have last_kmsg again for analysis and bug fixing (make sure you have kernel logger switched to on if you plan/need to use last_kmsg)

Included busybox extended by fstrim applet

Android logger not configurable anymore but always on (Android L does not allow that)

Updated with latest official CM kernel commits as of 26.05.15

Ramdisk updated to first official CM12.1 nightly of 27.05.15

Enjoy

Andi
[Galaxy S 5 Original Android Development] k4bbe:
Excellent work ??

I'm still suffering from random reboots even after completely clean installs so sadly I will probably be making use of this fantastic addition soon ???

Is the kmsg output still in the proc folder?

Thanks

K4bbe
[Galaxy S 5 Original Android Development] andip71:
Yep, it is under /proc/last_kmsg, as per normal standards.

If you want me to help, please do not send me the last_kmsg log ever but create a "debug info file" in Boeffla-Config instead (last item in the Action-Menu). This provides much more information along with last_kmsg to me.

Andi
[Galaxy S 5 Original Android Development] The Peterle:
Ahh with beta 12 the Linux kernel version is reverted back to 3.4.0.

I also think it is a safer way.

OT "Schuster bleib..."

Regards Peterle
[Galaxy S 5 Original Android Development] Ragnar Eldur:
I got it from this website: https://m.aliexpress.com/s/item/1873419989.html

Very cheap but nice quality, a back replacement is included so the larger battery will fit, nice soft rubber grip surface on it.
[Galaxy S 5 Original Android Development] Atrate:
Do you know any good s5 batteries >4000mAh that don't need to be bigger? I know it's near impossible, but just maybe?
[Galaxy S 5 Original Android Development] Ragnar Eldur:
Not sure but I'm actually pretty surprised how compact this battery replacement is that I bought and the back is even of higher quality than the original one.
[Galaxy S 5 Original Android Development] Dieexe:
Wish they send to my country :(
[Galaxy S 5 Original Android Development] raylogic:
I've had this battery for around 2 months, no problems and i get 2 days without thinking about usuage. R
[Galaxy S 5 Original Android Development] Ragnar Eldur:
Hey guys, as you know, Lineage OS with Nougat doesn't have a theme engine yet but I managed to do a complete pitch black makeover with Substratum and Swift Black. I attached screenshots​ with the results! ?

I realise this is not kernel related but at least it is Lineage related and this is the only forum that links me to that system so if you guys have a nice Amoled display and want the pretty colours to pop at ya with the pitch black void in the background, go check out that thing.
[Galaxy S 5 Original Android Development] raylogic:
Uhmm or just install arrow launcher (awesome BTW)
[Galaxy S 5 Original Android Development] Atrate:
Can a launcher theme all the other apps?
[Galaxy S 5 Original Android Development] Ragnar Eldur:
Does a launcher theme the entire android system and all other apps?
[Galaxy S 5 Original Android Development] Ragnar Eldur:
Even the Boeffla app got a total black makeover ?
[Galaxy S 5 Original Android Development] raylogic:
OIC (ass of the week award goes to me & yes i know its only Wednesday).

It turns out that I've been blissfully unaware due to it just being google play & google maps that I don't have with a black background.

R.
[Galaxy S 5 Original Android Development] andip71:
Hehehe. Nothing happened. All good.

We are here to discuss things, and also object when we do not concur.

Have a nice day

Andi
[Galaxy S 5 Original Android Development] Blackburn119:
That also means you have to sacrifice IP67 feature for that right?
[Galaxy S 5 Original Android Development] Ragnar Eldur:
That isn't much of a feature with that flimsy ass back...

The replacement back is actually of a higher quality
[Galaxy S 5 Original Android Development] andip71:
Guys,

maintenance update for the Boeffla LineageOS 14.1 kernel:

Version

4.0-beta26

10.05.2017

Update: Updated with latest official LineageOS kernel commits as of 10.05.17, 08.00 CET

Enjoy

Andi
[Galaxy S 5 Original Android Development] Ragnar Eldur:
Also noticed the sound from the speaker is sightly better because of the extra room.
[Galaxy S 5 Original Android Development] Ragnar Eldur:
Oooo and the keyboard looks just gorgeous so pitch black and clear on an AMOLED screen.
[Galaxy S 5 Original Android Development] Ragnar Eldur:
Finally got the annoying bright white notifications to become clear black with blue accent, looks pretty cool and spares the eyes at night, this will be my last babbling about themes though, over and out. ?
[Galaxy S 5 Original Android Development] Blackburn119:
Ok then how long it takes to charge your large battery ?
[Galaxy S 5 Original Android Development] Atrate:
[removed]
[Galaxy S 5 Original Android Development] Ragnar Eldur:
About two hours
[Galaxy S 5 Original Android Development] Blackburn119:
So fast It is really 7000mAh?
[Galaxy S 5 Original Android Development] Atrate:
Damn. What's the charge current? 3500mA? Wouldn't it be dangerous?
[Galaxy S 5 Original Android Development] Ragnar Eldur:
Yes I use a 2.4 amp quick charger

---------- Post added at 03:21 PM ---------- Previous post was at 03:20 PM ----------

I use a 2400 mAh quick charger
[Galaxy S 5 Original Android Development] Blackburn119:
Never thought S5 support Qualcomm quick charge and Samsung adaptive fast charge before, what type of charger are you using?
[Galaxy S 5 Original Android Development] Ragnar Eldur:
Puro Fast Charger 2.4 amps

Attached screenshot of it, didn't cost much at all
[Galaxy S 5 Original Android Development] andip71:
S5 does indeed not support quick charge.

Quick charge is a Qualcomm proprietory technology, and Samsung uses a third-party Maxxim chip for charging, which is not capable of quick charging.

Andi
[Galaxy S 5 Original Android Development] Ragnar Eldur:
It charges at 1800 mAh and gets rather warm but that hasn't caused any problems those years I used this phone.
[Galaxy S 5 Original Android Development] andip71:
Yes, 1800 mAh is a normal rate without quick charge.

And it gets warm due to the voltage regulators in the S5.

This is why OnePlus e.g. for their Dash Charge concept moved the voltage regulators into the wall charger. An OP3 does not get significantly warm during charging therefore and still is charged in speed of light.

So - what you say is perfectly normal. All good.

Andi
[Galaxy S 5 Original Android Development] Ragnar Eldur:
Now we just need Thor the God of Thunder to bring us to the next level of charging, ZAP!

Hey you seen the new Budget Beast from Umi? Umi Crystal Plus with unbelievable Snapdragon 835, 6GB RAM DDR4, 128GB UFS, Dual Cameras and 3800 mAh battery with the ridiculous 300$ pricetag. I kinda starting to really like this company because they put a lot of effort in quality, even all the packaging is metal.
[Galaxy S 5 Original Android Development] KazuDante:
off subject here but is it possible for the kernel to control the tx and rx power of the device both on the wifi and cellular side? i think i seen a kali or backtrack port for the s5 that included that in the kernel (im not sure since i cant find the thread) so i wanted to ask you directly if thats even possible and if it is , do you think adding such a feature would help those with poor lte(4g) coverage ? [MENTION=947981]Lord Boeffla[/MENTION]
[Galaxy S 5 Original Android Development] Atrate:
Removable battery? If so, could you provide a link to the specs?

(Sorry for offtopic)
[Galaxy S 5 Original Android Development] andip71:
Nope, have not seen that phone so far. Did not come on my radar. But I assume it is a very small new player on the market. And the question is how long they will survive as the market is hard. In recent years, only a few were able to make it.

tx and rx power can be, in hardware limitations, controlled by the wifi driver in the kernel. However I do not believe there is much headroom which can be used. Wifi drivers are usually a complex own package provided by the manufacturers of the wifi hardware, so changing parts of it must be done with quite lots of testing. I would personally not like to touch it.

Mobile connection is purely controlled by the modem firmware. This is closed source, we cannot influence that.

But anyways, as per www.boeffla.de, the S5 kernel does not receive active development with new features anymore. So it is a purely hypothetical question (at least here in this thread).

Thanks

Andi
[Galaxy S 5 Original Android Development] Ragnar Eldur:
No their phones are always sealed and most often with a metal unibody
[Galaxy S 5 Original Android Development] andip71:
Hi guys,

maintenance update to LineageOS 14.1 kernel before I go on holidays for the next almost 2 weeks.

I will come back by the end of the month.

This means obviously: No kernel updates in the next 2 weeks, I am travelling and have no access to my development landscape.

Version

4.0-beta27

17.05.2017

Update: Updated with latest official LineageOS kernel commits as of 17.05.17, 08.00 CET

Enjoy

Andi
[Galaxy S 5 Original Android Development] ettore88:
Hi.I installed Lineage14.1 on my S5 KLTE.Id like to install Boeffla Kernel.What would be the procedure?Do I Need to Use the Cleaning Script?THX in advance.
[Galaxy S 5 Original Android Development] barankas:
Is there any mic gain feature in this kernel?
[Galaxy S 5 Original Android Development] raylogic:
Just download the kernel and flash. Download the app too.