yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] fipsy:
I noticed exactly the same thing. Although the device is only 6-10% awake, there are sometimes (but not always!) battery drains. They usually disappear when you wake up the device from deep sleep and let it fall asleep again. I also use the Wakelock Detector and BetterBatteryStats. Both apps give no indication of what caused the battery drain. It's all looking normal. The drain is obviously not caused by an app, but rather by the operating system.

I think a swappiness of 100 is completely stupid! Such a value MUST simply cause the system to swap like crazy! I've set the swappiness to 30 and everything is going great. Set it either with the Kernel Adiutor App or with the Boeffla Config App for the Boeffla Kernel.
[Samsung Galaxy S 5 Unified Development] fitittome:
I have seen similar. My test S5 without GAPPS was there on standby yesterday. It had been running for 4 days with 4 days to go, estimated. Just grabbed it and it was completely flat! I just cannot remember what I last did with it...... :(
[Samsung Galaxy S 5 Unified Development] finotti:
I don't know if it matters to the developers, but a recent change in the kernel broke UMS mode. I use Boeffla's kernel, but when he looked into it, he found out it was a commit to the LOS kernel. He said:

(See the full post here: https://xdaforums.com/showpost.php?p=73760853&postcount=3610)

On a side note, I recently updated my GM-900T from 2017.07.19 to 2017.09.06 (with the corresponding boeffla kernels for the releases), and the difference is staggering. (I am on the latest T-Mobile firmware.) As many, I've noticed a huge difference with the recent release. I will wait for this week's update, and if not working better, I will go back to 2017.07.19. On the other hand, the new release does fix the GPS issues I was having, in which it would drop every few minutes and quickly reconnect. (Please, do not consider this comment a complain, but a report. I love the ROM and can always use an older version when I have trouble with the new weekly version.)
[Samsung Galaxy S 5 Unified Development] jdrch:
Short story: not by default, but you can get it to work by temporarily disabling SELinux. I'll post a link to instructions later (I can't access them right now.)

---------- Post added at 11:44 ---------- Previous post was at 11:37 ----------

Per the dev, you're correct.

For everyone else having performance issues since mid-/early August: there's an explanation and fix in place at the JIRA regression report thread.

I'm deliberately not posting details of the fix in this thread to encourage folks to participate in the LOS JIRA, where the serious regression fixing and development take place. Remember: XDA threads are for user discussion; bugs and issues that need dev attention are best addressed through official medium for that, which is JIRA.

---------- Post added at 11:47 ---------- Previous post was at 11:44 ----------

*scratches head* I thought this bug was fixable in the baseband/firmware only, and not in the OS? Or am I totally wrong?

---------- Post added at 11:50 ---------- Previous post was at 11:47 ----------

Could you kindly link to GPS Test in the Play Store, please? I use GPS Status & Toolbox.
[Samsung Galaxy S 5 Unified Development] haggertk:
I'm not saying that TheMuppets is at all related to LineageOS, but... https://github.com/TheMuppets/propr...mmit/7a070e9f862e4d7a4be0e1b708bb87ae2b0c1622
[Samsung Galaxy S 5 Unified Development] jaholm:
100% agree!

Yes it's horrible. Some guys here said, that the cause of this lies in gapps but I doubt it. I have a Samsung 2014 Tablet (n1awifi) with gapps and newest LOS installed, wifi always on and connected:

Battery drain: 0.3%/hour

On the S3LTE of my wife same as on S5 (~1.6%/hour in deep sleep). So the case may be in network code of LOS or in a bad interface to the modem. Maybe this is only a samsung problem.

Is there a LOS version of S5 prior August which did'nt had this problem?

Did anyone making experience with other phones?

I suspect strongly this problem isn't solvable with amplify/greenify. The next release shouldn't be named final with this problem, because this suggest "this is the best LOS for S5".
[Samsung Galaxy S 5 Unified Development] jdrch:
Instructions. Hope that helps.
[Samsung Galaxy S 5 Unified Development] fipsy:
Perhaps I can also be of assistance: https://play.google.com/store/apps/details?id=com.chartcross.gpstest or https://play.google.com/store/apps/details?id=com.chartcross.gpstestplus for Plus Version.

Both tools are very good!
[Samsung Galaxy S 5 Unified Development] Ibuprophen:
~~~DELETED~~~

I saw that you noticed the issue and corrected it.

:D

~~~~~~~~~~~~~~~

I Am The Egg Man,

They Are The Egg Men.

I Am The Walrus!

Coo Coo Cachoo!

I DO NOT PROVIDE SUPPORT VIA PM UNLESS ASKED/REQUESTED BY MYSELF.

PLEASE KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
[Samsung Galaxy S 5 Unified Development] jdrch:
I bought the Pro version. Seeing the same thing in the app on this end using SM-G900V.
[Samsung Galaxy S 5 Unified Development] fipsy:
I think I remember that the versions 2017-07-26 and 2017-08-02 did not have the problem yet. But I'm not 100% sure.

Definitely not! I use Greenify and the problem is definitely not solvable. I deleted Amplify during the installation of LOS because there was no Xposed Framework at that time. But I don't think that's gonna help either.
[Samsung Galaxy S 5 Unified Development] Hawaiihemd:
Uhm... But you do realize that your tablet's battery has a much higher capacity do you?! Thus, you can't compare the percentages.
[Samsung Galaxy S 5 Unified Development] jaholm:
Ahh, yes you are right. Battery of Samsung 2014 Tab is 2.9 (=8220 / 2800) times bigger. So this battery problem affect's all LOS on all devices!? Worse than I thought.
[Samsung Galaxy S 5 Unified Development] Blackburn119:
Devs have shifted to focus on Oreo, that's why there is no change log for this week.

https://www.cmxlog.com/14.1/klte/
[Samsung Galaxy S 5 Unified Development] Randol_8o8:
What build can I use for GM-900A?
[Samsung Galaxy S 5 Unified Development] heshan_1010:
AFAIK you can't install any AOSP based custom firmware on your model because of the locked bootloader.
[Samsung Galaxy S 5 Unified Development] fitittome:
I think you might find that there are quite a few changes that just don't reflect in the changelogs, like the firmware security fixes etc. Apparently there will be new boot images in the next nightly that should fix the performance issues seen over August by some users of klte, kltechn, kltechnduo, klteduos, kltedv, kltekdi, klteor & kltespr, for example (if he's had time to do it all). That on its own seems like quite a lot of work to me!
[Samsung Galaxy S 5 Unified Development] systemcrash:
Such changes should reflect.

But if not, devs provided this for boot.img including adaptive low memory killer (almk), which they report will be merged separately in the ROM. It probably won't make this week's build.
[Samsung Galaxy S 5 Unified Development] fitittome:
I think he just managed to sneak it in before the build started! Visions of an F1 pit stop! :highfive: :cool:
[Samsung Galaxy S 5 Unified Development] tdallagnol:
I've been doing some other simple tests.

Running with flight mode activated (offline mode) but with wi-fi manually turned on, my device spent the same 10% of battery in 6h during the night.

Running in flight mode without anything enabled spent 1% in the same 6h. I didn't try to run it without any internet connections but just the regular cellphone standby yet.
[Samsung Galaxy S 5 Unified Development] GalaxyManS:
I've tried the latest version (September 6) but this issue remains => Post: 7852

This issue seems be present also in Nexus with official update at Android 7.1.1 (also in thie Lineage OS 7.1.2)

What can I do?
[Samsung Galaxy S 5 Unified Development] fitittome:
It's me that mentioned gapps. ;) My test S5 without gapps installed will sit quite happily on the shelf next to my desk and run for about 2 weeks before the battery dies. :) Admittedly, it is just dozing and not doing anything, but wi-fi and cellphone standby are running.

What you need to do is get the very latest basebase and bootloader etc. Then just do a complete fresh install and try it out, it will be the same for you. I promise.

If you load gapps this will reduce to about four days of battery, just sitting there. Then you start adding the apps you need and they all take a slice of the pie and you will probably be able to get to about 2 days of light usage. Once you are happy, add Greenify and stuff like that to improve what you have. None of those apps will fix the underlying problem.

But even my phone loaded with gapps and everything else does not use 10% overnight. I guess that one of your apps is misbehaving.
[Samsung Galaxy S 5 Unified Development] thaijunk:
New 9/13 update is ready! Can't wait to see if it fixes the performance issue. Will report back once updated.

Performance seems to be better than previous builds for sure. It usually slows down after a few hours but so far so good.
[Samsung Galaxy S 5 Unified Development] Couchy:
Almost nothing new in the 9/13 build - looks like all the work is going into LOS 15.

https://download.lineageos.org/klte/changes/
[Samsung Galaxy S 5 Unified Development] Saber:
Check on the lineage code review site ;)

https://review.lineageos.org/#/q/LineageOS/android_kernel_samsung_msm8974

Lots of LMK fixes and changes which will help with system performance :)
[Samsung Galaxy S 5 Unified Development] Amirk365:
Guess battery life on S5 is gonna suck from here on out huh?
[Samsung Galaxy S 5 Unified Development] marty_s13:
I seem to have improved performance on kltedv. Could be better but definitely improved. Used to lag and lock up a hell of a lot using Facebook Messenger. Not as bad now.
[Samsung Galaxy S 5 Unified Development] Efraimjb:
I wonder if someone can help me identify this speech bubble that suddenly appeared on my Galaxy S5 lineage os phone.

It seems to turn selected text into speech.

What is it?

Where is it coming from

And how do I get rid of it.

It's on the top half of the screen shot Bellow

Thanks
[Samsung Galaxy S 5 Unified Development] fitittome:
OK, pls help this goldfish. I stumble around and bump into these things and five minutes later I forget!

jenkins.lineageos.org seems to co-ordinate the compilation and production the nightly. I have watched the console output!

The project /android_kernel_samsung_msm8974 must, it seems, end up in boot.img which gets wrapped up in the nightly. Boot.img being the kernel and minimal filesystem, which gets used to load the rest.

And I guess /android_device_samsung_klte-common and probably many others end up in the nightly img.

Where are the higher level 'files' that jenkins must use to co-ordinate all of this?
[Samsung Galaxy S 5 Unified Development] Saber:
Unfortunately, I am not familiar with the ROM building process. I mainly just work with kernels :)
[Samsung Galaxy S 5 Unified Development] omgbossis21:
Theirs a lineage klte and klte common branch used as well. I have been unable to successfully compile lineage for a bit now. Every time I resolve something its something else. First it was kernel modules not enabled and so on. Finally wiped all device files and resynced up but I can't compile vanilla with lineageOMS . currently its some error about a sound file even though I see in the updates builds were fixed and new sound files were pushed. Getting frustrated so I'll leave it alone again. I have blobs and a environment I've been compiling on successfully as well.
[Samsung Galaxy S 5 Unified Development] fitittome:
I have figured out the branches, but not sure if I have them all. But the doing my own compilation and builds is beyond my ability. I was just trying to track down the 'scripts' that jenkins must use to co-ordinate building the rom (to help me understand the processes). I guess the answer would help you too? I'll ask on the dev channel.
[Samsung Galaxy S 5 Unified Development] omgbossis21:
I was actually digging through stuff looking in my issues files earlier. It seems it pulls from 2 main branches (the android Samsung XXX and android kernel xx I think it was?) that are possibly tagged to the smaller branches or the smaller branches are grabbled from other areas configs file. Doesn't help me much to know exactly which branches its pulling from but I'll probably post my error log if I can't resolve it soon. I'll make a new work folder w a fresh sync and try again later.
[Samsung Galaxy S 5 Unified Development] Blackburn119:
The latest build make RAM management even worst, everything force close even the pixel launcher.
[Samsung Galaxy S 5 Unified Development] Rickmaster:
In the latest build does the video recording on external sd-card not, on internal memory it works.

Gesendet von meinem SM-G900FD mit Tapatalk
[Samsung Galaxy S 5 Unified Development] Blackburn119:
It's working on Snapdragon camera
[Samsung Galaxy S 5 Unified Development] Rickmaster:
[MENTION=7860020]Blackburn119[/MENTION]

the SM-G900FD has an snapdragon 801 cpu.

Gesendet von meinem SM-G900FD mit Tapatalk
[Samsung Galaxy S 5 Unified Development] Blackburn119:
I know but what I mean was this stock camera from lineage is using, it's called snap camera from Qualcomm and it can save video recording on my SD kltekor device.
[Samsung Galaxy S 5 Unified Development] systemcrash:
NO, it doens't. G900F. klte.
[Samsung Galaxy S 5 Unified Development] fitittome:
Oh yes it does! :) TWRP shows it formatted vfat and mounted with sdcardfs. Tested with the Lineage stock camera and SNAP Camera HDR.

---------- Post added at 12:18 PM ---------- Previous post was at 12:04 PM ----------

Gosh, you really have to ask the right question to get the right answer on the dev channel! You just don't know what you don't know. :( This is the important file. You need to look at the dependencies here for klte:- https://github.com/LineageOS/android_device_samsung_klte/blob/cm-14.1/lineage.dependencies

then with the information gleaned from there you can look at the dependencies here:-

https://github.com/LineageOS/android_device_samsung_klte-common/blob/cm-14.1/lineage.dependencies

and so on......

This seems to be the only way to establish with certainty which changelogs to look at. It looks like the LOS web site only displays changes at the top level? Not sure. For sure it doesn't show the processor changes.
[Samsung Galaxy S 5 Unified Development] cdrivex4:
are you on 0913 ? from cmxlog.com it won't let me download as usual using ADM, just stops at requesting information.. last time that happened got a build from https://download.lineageos.org/ and ended up in a similar situation with force closing all over the place.
[Samsung Galaxy S 5 Unified Development] Mike7x:
Can't flash modem/baseband

Hi everyone!

I can't flash a new modem/baseband version. I've tried 2-3 different versions but when I check after flash and boot what the version is, it is still the same old stock version.

I've used Odin 3.12.3, chosed the Modem tar-file through the CP-button, checked that "Auto Reboot" and "F. Reset Time" is the only options that is checked. The Odin-log says that everything is fine and successful, but it is still the old version when I boot to the system and check in the Settings - About.

I've tried to uncheck "Auto Reboot", and rebooted to Recovery after flash and wiped the cache. That didn't either do it.

I've tried to do the above, reboot to Download-mode again and flash the same Modem-version a second time before System-boot. That didn't either do it.

What am I doing wrong!? Is the Modem locked or something? I've searched in the forums but I can't find anything about something like "locked modem".
[Samsung Galaxy S 5 Unified Development] fitittome:
Good. Once flashed with a Green PASS pull the battery. I don't know why, but that works. :)
[Samsung Galaxy S 5 Unified Development] fipsy:
I totally agree with you! The memory management of 20170913 is a disaster! I use the app "FolderSync" to make numerous backups to Dropbox and to my NAS via FTP at night. After the installation of 20170913 this doesn't work anymore, because FolderSync will be thrown out of memory after a few seconds, if it doesn't run in the foreground. It always ends up with the message "Synchronization terminated unexpectedly due to unknown reasons". It's exactly the same with the launcher! It is reloaded each time an app is running for a few seconds in the foreground. Now I reinstalled 20170906 and everything works again.

Please note that there are different bootloaders and modems for each country! So this advice is not always helpful. For example, I have installed the latest unbranded bootloader from May 4th, 2017 for Germany (DBT) and since then I have had spontaneous hot reboots nearly every day. With the bootloader from March 6th however everything is ok.

I don't think so, because I have the same problem and BetterBatteryStats doesn't display apps that could be responsible. Furthermore, this doesn't explain why just waking up the phone from deep sleep and turning it off immediately afterwards solves the battery drain problem!

I'm afraid that if LOS16 comes soon (Andoid P is about to be released), LOS15 will be abandoned as well as LOS14, so we'll end up with 3 LOS versions, all of which don't work properly and are full of bugs. Developers should not concentrate on releasing as many LOS versions as possible, but ONE well-functioning version! It's no problem to simply omit a version in between! Otherwise I won't give LOS a long life.
[Samsung Galaxy S 5 Unified Development] fitittome:
I don't think that's quite right. The SM-900F is international and not specific to a certain carrier or region etc. According to the dev it is best to use the latest version. The complete Samsung Stock is also released by carrier with their bloatware and also by country to cater for different languages etc. but the bootloader and modem are generic and the same. We had a similar conversation with the dev about this the other day.

https://jira.lineageos.org/browse/REGRESSION-1076
[Samsung Galaxy S 5 Unified Development] snikerfreak:
Android just released the Android Oreo. They are not going to release Android P until next year. Yeah sure they pulled out an AOSP with P manifest, but it doesn't mean anything. I truly hope that haggertk are working on LOS15 kernel.

Since last week, there aren't any updates regarding LOS, not even updating the security packages, that is a sign of something.
[Samsung Galaxy S 5 Unified Development] fipsy:
Then the question arises why bootloaders for different countries and carriers all have different release numbers! For Germany (unbranded DBT) the current bootloader / modem versions are e. g. G900FXXS1CQD4 and G900FXXU1CQA3.
[Samsung Galaxy S 5 Unified Development] Mike7x:
Didn't work :(

The green PASS appeared in Odin, pulled the USB-cable and then pulled the battery. Put the battery in after about a minute and booted, still the same basebandversion.
[Samsung Galaxy S 5 Unified Development] fipsy:
But in my opinion this is not a good sign! At least not as long as there are so many bugs in the current LOS version 14!
[Samsung Galaxy S 5 Unified Development] fitittome:
Do not give up. It can be a pain.

Power off your phone completely. Pull the battery.

Then fit the battery and boot directly into download mode using Volume down, Home, Power.

Untick Auto-Reboot, Flash in the AP/PDA slot of Odin.

Wait for Green Pass. Pull the battery.

If it doesn't work try again.

If it still doesn't work find a new USB cable and repeat.
[Samsung Galaxy S 5 Unified Development] Couchy:
lol wut?
[Samsung Galaxy S 5 Unified Development] snikerfreak:
It will be a sign of Android O coming to this device. Yeah a bit buggy, but at least up-to-date. I find these builds good enough to use daily. I'm running the latest one and I haven't experienced MAJOR issues. (Yeah small ones like when I'm using an external sound card, and remove it the phone reboots)
[Samsung Galaxy S 5 Unified Development] Blackburn119:
I downloaded normally with chrome or other browsers.
[Samsung Galaxy S 5 Unified Development] fipsy:
For me it is a MAJOR issue if no background apps run anymore as of 20170913 (https://xdaforums.com/showpost.php?p=73789165&postcount=8137) and if sdcardfs has bugs that that cause writing to the SD card to be impossible under certain circumstances.

---------- Post added at 03:42 PM ---------- Previous post was at 03:37 PM ----------

Have you ever reinstalled the 20170906? Then the problems should go away.
[Samsung Galaxy S 5 Unified Development] fitittome:
What does the logcat say? Download manager works very well (13SEP) downloading in background and I was having trouble with that downloading the nightly with the previous version. Is that foldersync program available somewhere other than Google Play Store?
[Samsung Galaxy S 5 Unified Development] Mike7x:
It worked! Thanks alot! :D

Really weird bug :)
[Samsung Galaxy S 5 Unified Development] fipsy:
I didn't look into the logcat. For me it was sufficient that the error occurred immediately after flashing the new version and was reproducible. And that it disappeared immediately after I flashed the old version again. I don't want to flash 20170913 again just to have a look at the Logcat. :eek:

Hmmm! It's strange that [MENTION=7860020]Blackburn119[/MENTION] has exactly the same problem with the latest version as I do. I don't know if the FolderSync app is available anywhere else. I also use the Pro version - already for some years and there have never been any problems. I love this app.
[Samsung Galaxy S 5 Unified Development] fitittome:
Just fiddling looking at Kernel Adiutor. I see that two of the cores seem to be off most of the time. With that filesync program going and other stuff like matlog, I would have thought there would be more core activity. Nothing to compare against though. Maybe a red herring.
[Samsung Galaxy S 5 Unified Development] jaholm:
Wir 0913 clean install nano gapps and some apps (must have on every android version) I got 1.3%/h over nite. OK that's less then 10% in 6 hours.

Anyone has a recommendation for an android with less bugs then this LOS? I'm searching for a daily use Android and also willing to downgrade to MM if there are newest security patches included.
[Samsung Galaxy S 5 Unified Development] systemcrash:
*THEN* flash again
[Samsung Galaxy S 5 Unified Development] Saber:
Try the unofficial LOS 13 found in the old CM13 thread. It at least has a more recent security patch level than any other MM release (other than Stock). Anything before LOS14.1 is not supported anymore and so I won't expect anybody to be updating them anytime soon (if not at all).
[Samsung Galaxy S 5 Unified Development] jdrch:
Which bugs are you referring to?
[Samsung Galaxy S 5 Unified Development] jaholm:
Standby battery drain 1.3%/h I saw also: 2.3%/h via night (yes I need gapps)

sdcardfs: exfat probs. I had to refomat my card to vfat :( to fix this (alternative: ro.sys.sdcardfs=false on every update)
[Samsung Galaxy S 5 Unified Development] fipsy:
These are exactly the same bugs I would have mentioned. And I'd like to add: Since September 13th: Forced close of apps running in the background.
[Samsung Galaxy S 5 Unified Development] heshan_1010:
I use the app naptime and turn off my wifi to help with the battery drain.
[Samsung Galaxy S 5 Unified Development] Blackburn119:
Still using the latest build, I just changed the swap value from 100 to 70 and disabled adaptive LMK.
[Samsung Galaxy S 5 Unified Development] kemdroid:
anyone have any idea why WiFi is not available during setup if I choose restore settings etc from google account?

No WiFi available unless I choose to not restore from apps and settings...
[Samsung Galaxy S 5 Unified Development] jaholm:
Did you tried boefla beta10 (0913)?