yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 Original Android Development] andip71:
Thanks. Thread title corrected, you were of course right.

There was indeed a device by OnePlus with a SD card slot - the OnePlus X. However, not available anymore.

I do not believe they will add a slot again one day, as the memory goes up to 128 GB already and for sure 256 GB very soon. This makes a sd card for 95% of the users obsolete.

Personally this was a big con as well in the beginning, but I realized I have trouble filling my 64 or 128 GB memory at all. And if so, when travelling etc, I have a USB stick with usb-c connector with me (Kingston provides that).... I do not regret the missing sd card slot at all anymore. I got easily used to it.

Andi
[Galaxy S 5 Original Android Development] txordi:
It's sad to see how all my S5 developer idols are getting off the train one after the other... Life is life. See you soon Lord Boeffla :')
[Galaxy S 5 Original Android Development] Cuzeg Spiked:
Thanks for being awesome :D [MENTION=947981]Lord Boeffla[/MENTION].

Question: Is the ext4 tweaks in boeffla config app meant to do ext4 journalling off or some other tweak that makes ext4 feel faster in read and writes. Also the ext4 tweaks keep turning on by default even if i turn it off which worries me if i cared about data integrity even on latest boeffla config version.
[Galaxy S 5 Original Android Development] Dieexe:
Finally the day arrived...

Thanks for everything
[Galaxy S 5 Original Android Development] andip71:
But that is very normal. When devices get older, devs have to move on to new challenges.

Thanks for the kind words.

What the ext4 tweaks do is explained in the wiki - they add a commit time of 20 seconds to /data and /cache volumes.

If they keep on coming back, you might have another script or app that remounts with a commit time again. Not much more I can say...

Thanks, it was my pleasure to go on that journey with all of you.

Andi
[Galaxy S 5 Original Android Development] AshraafAzhar:
Regarding system tweaks, what does lineage stock power settings(efficiency/balanced/quick etc..) affect our custom kernel?.

In this thread, https://xdaforums.com/lineage/help/lineage-os-performance-options-conflict-t3695262 , that guy said its conflict with his custom settings(gpu max speed changed on different power settings used)

Ouh, will you support the upcoming oneplus 6?:confused:, its time for me to finally upgrade my phone after 4 years and probally will follow you, haha :o, and thank you so much for all your work and support for this phone:good:
[Galaxy S 5 Original Android Development] andip71:
Yep, it is very likely this leads to conflicts. I mean, I cannot say this in very much detail as I have no knowledge of what LineageOS changes with the different modes.

But I can confirm, my kernel app locks cpu and gpu frequencies as well as governors and schedulers. So these settings cannot be changed by LineageOS modes anymore. Anything else it does, it still can do.

So yes, there are likely conflicts and I never recommended to use these modes anyways therefore (instead create a few profiles in Boeffla-Config with the settings mentioned above for different modes...).

OnePlus 6 - no idea to be honest. Maybe, maybe not. Depends on a couple of factors I cannot answer today.

But in general my plans are to slowly retire from kernel business, just have not decided how fast I do that.

Andi
[Galaxy S 5 Original Android Development] carmelosaldy:
This morning about 4 am i received update from lineage .after that i follow the instructions correctly and booted properly...after a few minutes theres a notification ssying !LineageOS Setting You might be a victim of software counterfeiting..and this cannot be deleted or hide..i am 100% sure that i downloaded the rom from lineage website...

And gapps from its own website...
[Galaxy S 5 Original Android Development] sunilpaulmathew:
Don't worry, it is just an April Fool joke by the LOS team :p
[Galaxy S 5 Original Android Development] carmelosaldy:
But it cannot be deleted sir cannot be remove how can i remove it from from notification bar
[Galaxy S 5 Original Android Development] andip71:
Flash nightly of previous week.

They overdid the joke and many people got really angry...

Andi
[Galaxy S 5 Original Android Development] carmelosaldy:
So need to flash again ok thank you
[Galaxy S 5 Original Android Development] LazyGuy1:
Boot into TWRP

Go to Advanced, then select terminal

In terminal, write "setprop persist.lineage.nofool true"

Then reboot.

This annoying thing should be gone.
[Galaxy S 5 Original Android Development] carmelosaldy:
thank you this works...
[Galaxy S 5 Original Android Development] LazyGuy1:
No problem :)
[Galaxy S 5 Original Android Development] carmelosaldy:
how about the battery issue sir...the juice of my battery average about 5 hrs only

to 7 hours... with light usage even im observing this for almost a week now maybe everything works fine except the battery consumption..sometimes i leave it overnight without using it still decreases battery for almost 50%
[Galaxy S 5 Original Android Development] LazyGuy1:
Hmm.. I point to a failing battery. I mean, if it is draining when it's deepsleeping, it's surely gonna die as soon as possible. I'd recommend buying a new battery, if you are not able to afford a new battery > use ForceDoze. You can grab it from the Play Store.
[Galaxy S 5 Original Android Development] carmelosaldy:
Now im compairing the usage of the old battery and the new ones

Almost the same maybe 2 hrs difference from the new battery

If the old battery average 5 to 7 hrs

The new ones average is 8 to 10 hrs
[Galaxy S 5 Original Android Development] fipsy:
Obsolete posting. Sorry! Sometimes one should read the complete thread before posting your answer... :p
[Galaxy S 5 Original Android Development] LazyGuy1:
I'm using the unofficial Oreo boeffla kernel by [MENTION=7060205]sunilpaulmathew[/MENTION], it is working absolutely fine with amazing battery life :) i'm very impressed, I have replaced almost everything on my S5, now it is even better than some new phones out there, I'll never switch to another phone. I get around 6-7h SoT on minimal usage, with heavy gaming I get around 3-5h SoT (depends on the game).
[Galaxy S 5 Original Android Development] jjkrause1:
They released an apology today:

https://lineageos.org/An-April-Apology/

On another note, my phone is running better on this April Fools' nightly than it has in a long time . The last nightly was running so poorly I almost started shopping for a new phone!
[Galaxy S 5 Original Android Development] andip71:
I would still recommend you should shop a more modern phone, it is like day and night really. Completely difference experience to have a phone in the OnePlus 5 class...

Andi
[Galaxy S 5 Original Android Development] jizzy001:
Is this a good SOT or not, I am using LOS14.1 (build 20180406-NIGHTLY) with Boeffla Kernel 4.1 (20180327)

Magisk 16.3 + Xposed

Boeffla settings:

Governor zzmoove - zzmoove battery+

CPU min300MHz max2534MHz with zzmoove native 2 cores min hotplug

Multicore powersave ON and -50mV global undervolt

GPU min27MHz max578MHz and simple_ondemand governor

Input boost is at 300MHz status OFF and duration 40ms

everything else has the default values

Settings:

GPS device only NFC off Mobile data always on

Screen brightness is auto but like 50%

The battery has a date on it, it's from 2015.03.04 not blown up or anything (NFC version)

Can I tweak this out a little bit more to get more SOT without degrading much perfomance

down below I attached some screenshots of all info needed i think
[Galaxy S 5 Original Android Development] fipsy:
If I remember correctly, no other governor is to be recommended than "Interactive". Also do not undervolt. It may cause battery drain. I have always used Interactive and have a consumption of 1.6 - 2.2 %/h with display switched off and approx. 16-22 %/h with display switched on. Full Gapps installed. The battery is about 2 years old.

---------- Post added at 07:48 PM ---------- Previous post was at 07:37 PM ----------

I can't understand what everyone is grumbling about the S5! Mine has been running absolutely clean, fast and fluid for months. Even after several days of continuous operation. Completely loading Google Maps (previously removed from memory) takes 3-4 seconds. This is also not much faster with current phones.

Decisive for this was that I reduced the read buffer for the internal / external memory to 128 respectively 512 KB. Since then everything has been running sensationally well and smoothly.
[Galaxy S 5 Original Android Development] jizzy001:
I will try that tomorrow,any more advices like hotplugs,cpu tuneables,entropy?
[Galaxy S 5 Original Android Development] fipsy:
I didn't change any other parameters in Boeffla. Except read buffer as described above, governor "interactive - battery", hotplug profile optimized, multicore powersaving on and swappiness 30.
[Galaxy S 5 Original Android Development] CStadler:
How does undervolt cause battery drain? Doesn't make sense

Is there a bug causing it?
[Galaxy S 5 Original Android Development] fipsy:
Some hardware specialist once wrote here in the forum that if undervolting leads to frequent errors in the CPU, the CPU probably goes into a kind of error correction mode that consumes a lot of power.
[Galaxy S 5 Original Android Development] jizzy001:
[MENTION=5110154]fipsy[/MENTION] i did what you said but there is no real improvement
[Galaxy S 5 Original Android Development] andip71:
Maybe time to do a reality check and reset expectations?

(in short: you will not gain dramatic different battery life my changing kernel settings)

http://elementalx.org/the-truth-about-kernels-and-battery-life

https://wiki.boeffla.de/index.php?title=FAQ#I_have_battery_drain_since_installed_Boeffla-Kernel

Andi
[Galaxy S 5 Original Android Development] fipsy:
I'm sorry to hear that! Have you ever tried using BetterBatteryStats to find the apps that keep the phone awake and suspend them with Greenify? Another recommendation could be to buy a new (original) battery after such a long time. They're still for sale and they're not expensive.
[Galaxy S 5 Original Android Development] jizzy001:
Yeah i think...

I will try greenify for a couple of days and I should consider buying a new battery..anyway thanks for supporting [emoji16]
[Galaxy S 5 Original Android Development] carmelosaldy:
Hi i found something unusual is this bug
[Galaxy S 5 Original Android Development] andip71:
Disappearing icons? This is completely unrelated to kernel (the kernel does not even know what an icon is, it is several levels lower in the stack)

Andi
[Galaxy S 5 Original Android Development] carmelosaldy:
Im sorry..
[Galaxy S 5 Original Android Development] andip71:
No problem.

Was just explaining it.

Andi
[Galaxy S 5 Original Android Development] Matteo_666:
Something Strange happened today, after a Long Time, i updated my s5 to current LOS (20180420), Installation as usual, but after flashing 4.1 stable, the Phone Just booted Up to Recovery. I tried several Times but failed. Just flashing LOS without Kernel boots Up properly...

Gesendet von meinem ONEPLUS A5010 mit Tapatalk
[Galaxy S 5 Original Android Development] andip71:
No issues like that reported so far by anyone else.

Andi
[Galaxy S 5 Original Android Development] Matteo_666:
Most likely a messed up Installation, time for a clean flash....

Gesendet von meinem ONEPLUS A5010 mit Tapatalk
[Galaxy S 5 Original Android Development] andrew2432:
900f vs p compatibility? I saw earlier it was mentioned hardware may be different. The "other devices" link 404d. Some i thibk said they used in on kltespr. I'm leaving my s5 as the daily phone, not worried about radio frequencies as long as WiFi works. Will this work on a sprint variant? Can I flash it and try without thermonuclear war and return to stock/whatever in running now?
[Galaxy S 5 Original Android Development] fipsy:
There have been five changes to the LOS kernel so far for the next LOS release. Will they still also be merged into the Boeffla kernel?
[Galaxy S 5 Original Android Development] andip71:
Only one of them is for the 900f,rest for a different variant.

As I wrote in my last release: only if something breaks the kernel, I will include it. So far this is not the case.

Andi
[Galaxy S 5 Original Android Development] j1gga84:
Is there really a new commit for G900F ?

if you mean this one:

https://review.lineageos.org/#/c/LineageOS/android_kernel_samsung_msm8974/+/213464/

It says in the description:

* KACTIVE is a variant of K

so it is for klteactivexx and this isn't G900F ;)

regards
[Galaxy S 5 Original Android Development] andip71:
Yep, did not look into the commits so far. As I said - as long as nobody reports the kernel is broken, I have suspended my work on S5 and I am not looking into it anymore.

But now I checked the commits and can confirm, none of them are for the 900f.

Andi
[Galaxy S 5 Original Android Development] fipsy:
Well, that's all good for now. I only had a brief look at it, sorry! I would hate to do without this kernel. :)
[Galaxy S 5 Original Android Development] jonny789:
[MENTION=947981]Lord Boeffla[/MENTION] How did you disable module sign verification ?

I have successfully compiled stock kernel from samsung sources for my galaxy S5 G900H on kali linux.

I am trying to compile some modules. For that I have starred these ::

[*] Enable loadable module support
[CENTER] [*] Forced module loading [/CENTER]
[CENTER] [*] Module unloading [/CENTER]
[CENTER] [*] Forced module unloading [/CENTER]

I have rooted my phone and set selinux permissive mode. But trying to load these modules gives Exec format errors .

/system/bin/insmod asix.ko
insmod: failed to load asix.ko: Exec format error

In dmesg, it is showing ::

[ 5378.629376] [c3] TIMA: lkmauth--launch the tl to check kernel module; module len is 279631
[ 5378.630154] [c3] TIMA: lkmauth--cannot open mobicore session from kernel. 15
[ 5378.630296] [c3] TIMA: lkmauth--unable to load kernel module; module len is 279631.
[Galaxy S 5 Original Android Development] andip71:
I am currently traveling without access to my code for next 3 weeks . I also cannot remember from top of my head anymore, sorry.

Best is you compare boeffla_defconfig from my repo with yours.

Andi
[Galaxy S 5 Original Android Development] reaperlinkz:
Hey do you plan on porting this to the g930f/s7?
[Galaxy S 5 Original Android Development] The~Skater~187:
As far as I know Lord Boeffla has stopped developing for Samsung devices
[Galaxy S 5 Original Android Development] reaperlinkz:
I see, thanks bro.
[Galaxy S 5 Original Android Development] andip71:
No. Sorry, no Samsung anymore.

Andi
[Galaxy S 5 Original Android Development] andip71:
Thanks to all supporting the Galaxy S5 over the years in this thread.

As the last kernel release in this thread is very long ago, I take the liberty and close the thread for good.

CU again, one day, somewhere...

Andi
[Galaxy S 5 Original Android Development] Pollie81:
It's always great to have new kernels/options. I just started a week ago flashing cm based roms on my s5 and I'd love to try this kernel but I will try tomorrow together with a clean flash. It's great to see such a detailed topic with information and instructions regarding your kernel!
[Galaxy S 5 Original Android Development] superleeds27:
First full run.
[Galaxy S 5 Original Android Development] andip71:
How does it compare to what you had before?

Andi
[Galaxy S 5 Original Android Development] superleeds27:
Probably a little better. Haven't had good battery life on CM for a while, was plagued with the Google play services deep sleep issue! (System update service)

Still trying to tinker, and figure out what will give the best battery life! All rather new to me your stuff, so I'm still learning!
[Galaxy S 5 Original Android Development] gravis_jg:
Ive did as u said... clean dalvic, system and cache install rom again (new ver.9.1) but this time without KT kernel. Reboot and install Boeffla Kernel CM12 it works fine - now testing...
[Galaxy S 5 Original Android Development] andip71:
Feels like I should provide a cleaner zip for other kernels, hehe.

Thinking about it.

Andi
[Galaxy S 5 Original Android Development] ScratMan38:
:good: downloading...

[MENTION=947981]Lord Boeffla[/MENTION], do you plan to work on a "NG" version using Samsung kernel sources like on i9300 ?
[Galaxy S 5 Original Android Development] Gassity:
Runs good on Temase CM12 so far.

And the classic question: what are the best settings for the kernel?
[Galaxy S 5 Original Android Development] andip71:
Not now. The NG version was done as there was (and is) lots of suspicion, the upstream the CM team has done from 3.0.10 to 3.0.64 was buggy. But this only applies to this kernel version on the S3.

On the S5, CM team has not done an upstream so it stays close to Samsung sources.

Hence, I do not see a reason for a NG kernel here at the moment.

And the classic answer: There is no "best settings".

It always depends what you want to achieve and what your focus is :)

Andi
[Galaxy S 5 Original Android Development] Gassity:
I've expected that) I mean could you give us your preferences? I haven't been using any custom kernels for a while, and I see there's some new governors and schedulers. Getting confused)

But, thank you. Runs smooth.
[Galaxy S 5 Original Android Development] andip71:
Well, personally I am a battery junkie, not so much performance.

So I keep interactive at the moment, schedulers to noop.

I reduced CPU max to 1958 MHz, no undervolting.

I reduced GPU max to 320 MHz.

Touchboost reduced to 883 MHz.

Have activated 800 MB vnswap.

Both loggers (kernel and android) switched to off.

Nothing really spectacular as you can see...

Andi
[Galaxy S 5 Original Android Development] superleeds27:
Im betting with that config you could achieve 6hours SOT.

What about Governors/Profiles/Hotplug?
[Galaxy S 5 Original Android Development] Gassity:
Find out that Boefflaernel doesnt wor with Viper4Android because of the BoefflaSound mod( Or am I doing smth wrong? That's so disappointing.
[Galaxy S 5 Original Android Development] andip71:
I do not know, the S5 is not my daily-usage phone. So I have no real numbers so far.

Governor I keep on interactive as I said, with default profile and I also did not change hotplug strategy in my settings.

Quite obvious. Viper4Android comes with its own audio driver. So in the end you need to decide.

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

What is your setting at swappiness in your Profile.

Matthias

Sorry for my english.
[Galaxy S 5 Original Android Development] andip71:
vnswap standard of 130.

This will automatically be configured if you activate vnswap in my app.

Andi
[Galaxy S 5 Original Android Development] ScratMan38:
I tried the Double Tap to Wake feature, and it's nice, except that it accepts very slow double tap (almost 1 second between taps still wakes the phone).

But is it good for battery life ? I mean, on S3 the "gesture to wake" features required to keep a wakelock in order to be able to detect gestures on screen, as there was no hardware for this in i9300.

So what about SM-G900F ? is there such hardware inside allowing for wake gestures without draining battery ?

Also, is it possible to add the "touch to wake" feature with timeout as in your i9300 kernel to allow for fast wake up of the screen with just one tap when it is switching off by himself ?
[Galaxy S 5 Original Android Development] andip71:
Hi,

the double-tap-to-wake gesture FORTUNTELY does not work with wake locks on the S5. The implemented is done by using interrupts, so it does not drain battery at all.

That was also the reason why there is no need for a time limitation of touch wake being active. Just like the other "modern" devices like the LG or OnePlus do.

Regarding the double tap time sensivity, this is something I might look into one day. However, it is also not configurable on other devices, and people get along with it very well. So I do not treat that as a priority.

Andi
[Galaxy S 5 Original Android Development] ASHLEY117:
Installed your CM12 kernel a few hours ago on temasek unofficial and all I can say is brilliant work! No issues at all as up to now. Heavy youtube use and battery is refusing to die quickly as iv noticed in other kernels. Thank you for your time and expertise! Used your kernel on my S3 too.

---------- Post added at 04:36 PM ---------- Previous post was at 04:03 PM ----------

Iv used the same trick I did on my S3 to use Viper4Android with your kernel.

Activate then deactivate your sound mod and viper works fine. Don't know if this is a widely known trick but thought I'd post it just in case.
[Galaxy S 5 Original Android Development] superleeds27:
Latest test results!
[Galaxy S 5 Original Android Development] Gassity:
Great update for all Zmoove governor users! I see there's version 1 beta 7 is available already, would you be merging it to the kernel? And could you tell more about "relaxe" profile? I've tried it for 5 mins and got two reboots on my setup.
[Galaxy S 5 Original Android Development] andip71:
Hi, sorry, that was a type. It is indeed 1.0-beta7, so the latest zzmoove available.

And regarding relax profile, it makes sure it keeps 2 CPU cores active during sleep as well. But more detailed, [MENTION=3279788]ZaneZam[/MENTION] can give you additional info.

Andi
[Galaxy S 5 Original Android Development] Gassity:
So, that's great! Thank you! San a know if it's any better then "native 2 cores min" which works flawless for me with zero music stutters.
[Galaxy S 5 Original Android Development] andip71:
Give ZaneZam a few minutes, I am sure he will explain a bit more in detail.

Till then, look at the big change log here:

http://xdaforums.com/showpost.php?p=61096962&postcount=613

Andi
[Galaxy S 5 Original Android Development] iamnotkurtcobain:
Are you still using interactive with row on your OPO? :)
[Galaxy S 5 Original Android Development] andip71:
Currently on tripndroid scheduler and for a test nightmare governor.

Andi
[Galaxy S 5 Original Android Development] iamnotkurtcobain:
With default interactive and row, performance seems worse than on stock cm kernel :/. More janky and slower. All default settings.
[Galaxy S 5 Original Android Development] andip71:
As both interactive and row are unchanged and 100% same as in CM code, I can hardly believe that personally :)

Andi
[Galaxy S 5 Original Android Development] iamnotkurtcobain:
Still feels so :/. I'll try with beta14.
[Galaxy S 5 Original Android Development] andip71:
I guess you have all other settings also put to stock, yes?

Hotplug on default, no underclocking, no undervolting, loggers on, readahead reduced back to 128, ext4 tweaks switched off, dynamic fsync switched off.

Etc etc...

Andi
[Galaxy S 5 Original Android Development] iamnotkurtcobain:
I'll do this ;)

But when I switch all these off I could stay on stock kernel too lol ;)

Trying beta14 :)
[Galaxy S 5 Original Android Development] andip71:
Yep. It is not recommended at all to revert the default config.

But up to you of course.

Andi
[Galaxy S 5 Original Android Development] iamnotkurtcobain:
On beta14 now. Thanks for all the updates!
[Galaxy S 5 Original Android Development] Gassity:
What's with ext4 tweaks and dynamic fsync btw? Do you leave them off or on?
[Galaxy S 5 Original Android Development] andip71:
Yes, I leave both on (and default is on) as this is the Boeffla-Default setting.

ext4 tweaks:

This tweak remounts /data and /cache directories with a commit time of 20 seconds (stock is without commit time).

Potential battery savings and improved smoothness by less (or better bundled) write access to your sd card memory.

dynamic fsync:

Only write back data to SD card when screen is off or phone is forced to shut down (planned or kernel panic). This should give slightly more smoothness during screen on.

First one is even described on kernel homepage:

http://www.boeffla-kernel.de/index.php/kernel-settings

Andi