yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 Android Development (Snapdragon)] sumomogg:
Battery Drain (power off)

Hello - did you ever understand what that cause of your battery drain was ? I have a very similar problem. I have a clean install of lineage-15.1-20180903 and when I switch the phone off at night it will lose around 60 - 70% of the battery power when I switch it back on the next day.

I need to switch this phone off as it is not my daily driver, but will require it to be used 2 - 3 times a week as a biking companion. This means I will have to charge it first, every time. So ideally I would like to fix this problem. Thanks
[Galaxy S 5 Android Development (Snapdragon)] sonwon:
The distance to the mobile tower greatly effects battery life. I suggest you also include your signal strength bars, WiFi on/off, mobile data on/off, etc. For comparison, a stock debloated ROM with data turned off, WiFi on, 1 bar of signal strength looses less than 1% per hour when off and not being used. I also use Greenify and NetGuard to control applications. In my opinion this should be the goal or better for this ROM.
[Galaxy S 5 Android Development (Snapdragon)] oddfellow667:
I guess sumomogg meant the battery drain while the phone is turned off (not the screen, but the phone shutdown)... I also experience this behavior and if the distance to the mobile tower would have an effect on battery drain while the phone is shutdown, I would give up using LineageOS or cell phones at all... (because this would mean the cell phone is still transmitting something even if shut down)... There is some value in phones where the battery can be pulled out easily ;)

Another observation regarding this behavior: If I shut the phone down, reboot to recovery (TWRP 3.2.3) and shut it down again from there, there seems to be no battery drain. I had the phone powered down this way for 8 hours and lost ca. 2 percent battery which could be the usage of the startup process. If I shutdown the phone from LineageOS, the battery drain in 8 hours is between 30 and 40 percent...
[Galaxy S 5 Android Development (Snapdragon)] sonwon:
He did say turn it off versus a shutdown. A shutdown should incur almost zero battery drain. Obviously something is still running when the phone is shutdown if the battery still drains.
[Galaxy S 5 Android Development (Snapdragon)] Oswald Boelcke:
I apologise that I didn't further investigate. Already a week ago I reverted to RR-N-v5.8.5 as neither this LOS 15.1 nor RR-O-v6.0.1 can be my daily driver; personally I'm absolutely dissatisfied with Oreo. Why? Much too often and regularly, suddenly my SIM card was recognised anymore; not only after a reboot but during normal operation. And as I need a functional device and have no additional SIM, no chance to further investigate.

About this extreme battery drainage when the device had been shut down/turned off/switched off I hadn't cared at all as I usually leave it on, just turn off the screen and let it go into deep sleep. My simple unproven assumption is that my G901F simply did not shut down when I turned it off; something heavily must have been running clandestinely. If I still were on Oreo, I might have tried to capture a logcat in this stage; don't know if MatLog had continued to run after the probably pretended "shut down".

But anyhow, back on RR-N-v5.8.5 and I'm absolutely happy even without further patches and its end-o-life.

EDIT (2018-09-14): @sumomogg - Just for completeness in regard to RR-N-v5.8.5, attached a BBS idle dump of last night: 0.5%/h battery drainage.
[Galaxy S 5 Android Development (Snapdragon)] sumomogg:
Thanks for the responses guys - yes it is correct it is when the phone is completely off. I want to shutdown for a few days, then come back to the phone. But in this scenario that is not possible unless I charge up each time before I use it (or remove the battery) - neither are ideal.

Interesting that you mention boot into TWRP then shutdown from there - I will try that. I wonder if TWRP is then running on the background when it is 'off' - but what would it be doing. For so much battery drain to occur when it is 'off' something has to be running ?

I was hoping there might be an easy fix for this, but it seems from other posts that battery drain in general on this version of LOS is a problem.
[Galaxy S 5 Android Development (Snapdragon)] Not-Aus:
?

Today I did a clean install of the latest LineageOS and open GApps for my G901F.

What I notice is that Google Maps is in english instead of german right now and the Instagram App is no more compatible with the device.

Does anybody has an idea for what to do?

How can I switch back Maps to german and how can I install Instagram? :confused:
[Galaxy S 5 Android Development (Snapdragon)] TheFixItMan:
Maps

The language should be the same as your system language (providing translations are within the app)

You can change the voice settings of maps by going to its settings - navigation settings - voice selection

Instagram

No issues here - the app starts fine - provide any errors logs etc - try clearing data of app etc

Note I use mind the gapps & not open gapps
[Galaxy S 5 Android Development (Snapdragon)] Not-Aus:
All those Google Apps are set to german on my phone, except Maps. I don't know why and how to change it.

I can't install the app. When trying to, the Play Store says the device ist not compatible. When trying to install the .apk, it just closes uninstalled. :(

How can I get an error log of this?

Is there an essential difference between these two?

Edit:

I have installed a second G901F the same way right now. Installing Instagram is no problem.

But Google Maps is english, too. ?!?

Edit 2:

On the first device it was possible to install the latest Instagram beta .apk. PlayStore still announces Instagram as to be incompatible. However... the app is working now and I'll update it manually from time to time.

Google Maps is still english.

Edit 3: I believe the wrong language in Google Maps is a fault of open GApps. With the next Maps update it will be german.

Edit 4: I was right, Google Maps is correctly set to german right after its latest update. Maybe I have to wait for a Google Play update to get back Instagram Compatibility.

Anyways, the Instagram App works flawles when installing from alternate sources.
[Galaxy S 5 Android Development (Snapdragon)] Oswald Boelcke:
I don't use any Google therefore no idea - I apologise.

Again, I don't use any of these things like Whatsapp, Facebook, Instagram therefore no experiences. Just a short guess: What does your Google Play Store states in its settings about certification of your device? If it's not certified, maybe this helps? I don't know. Regarding error log? Take a logcat e.g. by the tool I use, MatLog, or Catlog or... some others around. Search for the procedure but could be also in one of the first four posts of this thread.

I didn't know either but here is one of the results of my quick serach in the web! I personally try to search XDA and the web first before I do post.
[Galaxy S 5 Android Development (Snapdragon)] Ostratego:
[deleted]
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
I can't believe my eyes reading this !

You better take class / study programming and fix the issue yourself. How dare you speak in this unpolite rude manner.

Buy a brand-new phone and stop harassing developers like CVXDA who put spare time for FREE in keeping the G901F alive .

The thing you say about you being at risk for fire because you have to charge your phone really make me wonder if you are insane or just an idiot.

If you would read forum wide in lineage 15.x you'd know its a Lineage issue and can't be held up for CVXDA's nose as if she was responsible for your phone getting charged a few times more.

If you would be as smart as you want to look like with your hilarious posting I ask myself if you turn off the phone overnight WHY DONT YOU TAKE OUT THE BATTERY OVERNIGHT since you cry about 15% left over the next time you open your eyes until its fixed.

:cowboy:
[Galaxy S 5 Android Development (Snapdragon)] Ostratego:
Thanks for responding! I'm sorry if I sounded rude; while it may have sounded like that, I sure didn't mean it that way.

I can't seem to find this issue in the lineage OS XDA forum. I'm seeing a lot of people saying that there's "battery draining" while the phone is on, though.

Here, this is the search page for "battery" on XDA lineage forum to show you what I mean:

https://xdaforums.com/search/forum/6082?query=battery
[Galaxy S 5 Android Development (Snapdragon)] DienoX:
Samsung has released new ROM versions for G901F

http://samsung-updates.com/device/?id=SM-G901F
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
Hi DienoX,

Good you posted that here.

Now Ostratego can go back to official ROM from Samsung up to date, and he won't have bad dreams about firefighters and so on....

I have 3 G901F gathered, one as daily driver and 2 for testing and fooling around. One has broken glass screen on top but working model.

One of them is the Nordic model which had update in august (see your link : the NEE update).

I flashed that on the "Nordic build" to have the latest modem....

I flashed the ROM from this thread and so far so good...

Maybe that's a good tip for other users to refresh the modem from their original FW.

I dunno if that's a good idea?

What do you think DienoX?

Or maybe what do you [MENTION=3419717]cvxda[/MENTION] Corinna think?

( I know CVXDA is away for a while but maybe reading here... :svetius: )

:cowboy:
[Galaxy S 5 Android Development (Snapdragon)] sumomogg:
Hi - I have experienced this same issue in that battery drain is actually worse when the device is powered off. When the phone is powered on, my battery performance is actually very good. But then when I power it off overnight, it is drastically drained. I can't understand it. (Like you - I also was not aware that this is an issue with Lineage when powered off (?) and I am unable to find the details of this.)

However, I did read another user with a similar issue, and they said to turn off the phone, then boot into TRWP, then power off from TWRP - and then the battery drain is not so bad. I tried it last night and my battery was not as bad, so I will keep testing.

It is a possible workaround for you - however (and this is purely a guess) but if this works, could it be TWRP that is the problem, and not Lineage ?

I have to say also - I am a new user of the G901F on Lineage and I couldn't be happier - Lineage is absolutely awesome, especially on this device it works so well.
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
Hi sumomogg,

Why not keep the phone ON during night with WiFi and data disabled , and maybe in Settings :

Battery / energy management >> slide the ruler to left position to saving energy?

I have my phone on for days, but at night the only thing I turn off is WiFi & data. This setting only "drains" like 5-7% battery which is almost nothing for 7 hours or is it?

Besides that: powering OFF at night an turn it ON in the morning takes a big more energy than leaving it ON without WiFi and data (and maybe if you like it the save-energy-setting also set up )...

Or make it simple and turn on Airplane modus... :p

Also maybe interesting to install the app BETTERBATTERTSTATS so you can observe for like a week or so where the energy flows to.... It helps to get insight into in that matter too.

Goodluck. :good:
[Galaxy S 5 Android Development (Snapdragon)] sumomogg:
Hi andreoide

Thanks for the reply. My scenario is slightly different to most users in that this is a secondary phone, and I want to switch it off for 2-3 days at a time and then return to it (I;m going to use it for navigation and biking with Viewranger app). I have tried leaving the power on overnight and the battery drain while it is on is better than when I fully power it off. This is what I do not understand it seems illogical - the phone is fully switched off, but the battery performance is actually better with the phone on.. I have left the phone switched on overnight and in Airplane mode, and the battery drain is OK, maybe only 5 - 10 % drain overnight. But, if the phone is powered off, I will lose around 50 - 60% overnight.

Of course, I could just remove the battery each time, but it would be nice to find nice and smooth fix :) Also, it is just very odd - It would be good to understand what is going on here.

Thanks for BBS tip I might try that to give me some clues, though I'm assuming it wont give me any stats when the phone is powered off.

I will also keep trying to power down from TWRP option.
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
Hi sumomogg,

You already said it: illogical. I don't get it either but its a thing that will be solved. Like we had with lineage the simcard all of the sudden was not recignized any more. That issue is solved now too, and so will this battery mysteria. Lol.

Like you maybe already know I have 2 extra G901F phones to fool around with. The only way to keep some juice in them after not have used them for like 3 days (just like you use yours as secondary) is to pull battery and hope or cross fingers the final fix soon arrives.....

Peace :good:
[Galaxy S 5 Android Development (Snapdragon)] bootflop:
As awesome as the AOSP 8.1 base may be, I happen to have issues with various programs such as Note Crypt Pro crashing when trying to write files.

Ghost Commander for example doesn't but says it can't write to the external SD too.

In the PlayStore, a programs and games that should work and can be installed via sideload are grayed out in the store.

Wiped the device, the cache and Dalvik twice and after flashing the ROM again at least Note Crypt Pro worked again.

Now that I updated Lineage via OTA updates however, I receive the same errors as before.

Also CrazyTaxi from the Humble Store mentions compatibility issues with some lib in a toast popup at the beginning, beyond that, I notice rendering hangers not just with this game but the UI overall, every once in a while.

I doubt you guys still have a link to the last Lineage 14.1 ROM for the kccat6 around, right? :(
[Galaxy S 5 Android Development (Snapdragon)] Zubagy:
YO! If you don't like what the developers are doing, stop using there development... Why not just put ur phone in airplane mode and sleep, wake in the morning ull have dropped a few digits... On addition... Put it in power saving mode. STOP STRESSING THE DEVELOPERS AND US. we know the issue exists but you dnt see us whining about t.
[Galaxy S 5 Android Development (Snapdragon)] Ostratego:
I won't, and I've already stopped.
[Galaxy S 5 Android Development (Snapdragon)] sumomogg:
Well I did some more tests, and I can confirm that if I power off the phone, and then boot into TRWP and power off from TWRP, I have no battery drain at all. I tried it last night - I shut off the phone (from TWRP) for almost 24 hours and no battery drain at all. Although this is a slightly messy work around, it does work and saves me having to remove case and back cover each time.

It does make me think that TWRP is possibly the problem and that it soaks up power when the phone is off. Turning the phone off via TWRP perhaps then turns off TWRP properly (?)
[Galaxy S 5 Android Development (Snapdragon)] js-xda:
I can not offer a link to an official source. But if you haven't found any other option, I can offer to share the last 14.1 ROM that I extracted from my phone before upgrading to 15.1. According to filename: lineage-14.1-20180615-nightly-kccat6-signed.zip
[Galaxy S 5 Android Development (Snapdragon)] bootflop:
I'd be very thankful if you could do so because I stupidly expected 15.1 to work just as great and deleted those files :silly:

As far as development goes however, I believe it's smart to create a detailed error log nonetheless, so I can give that to cvxda as I really like his work on this ROM so far.
[Galaxy S 5 Android Development (Snapdragon)] korale:
deleted
[Galaxy S 5 Android Development (Snapdragon)] stanley.tweedle:
No guessing here. LOS simply fails to put the phone to poweroff mode for some reason. When booting TWRP, you start another operating system which is able to do so. I know this phenomenon very well from PCs. Cause is usually something like bad devices drivers or the like - I don't know what it can be in Android.

---------- Post added at 11:36 AM ---------- Previous post was at 11:33 AM ----------

There is a new stock ROM out for G901F with date of September 2018. I tried to install the new modem and had a very hard time to do so, including full wipe, re-install stock, several attempts to re-install LOS etc. etc.

Well, I succeeded in the end and now have Modem CRA1 on my phone. Bad news: VoLTE and WiFi Calling still don't work :crying:

Even worse news: There is still the problem of loosing mobile connection regularly, which is very annoying. It appeared with August 20 release, I believe, and I wasn't able to return to the August 7 release. Does anyone have a solution for this?

Aside from this, thanks again for this great ROM! :good: :angel: It is really fantastic, and I'd hate to be forced to buy a newer phone with a less up-to-date operating system :eek:
[Galaxy S 5 Android Development (Snapdragon)] ali.akbar01:
Any update on LOS 16 for our beloved S5 Prime?
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
For what I have read, cvxda is away for a while and so will her work here be "on hold" .

But what is in the future nu human knows :p

Not even an andreoide. Lol.
[Galaxy S 5 Android Development (Snapdragon)] bootflop:
I'm honest, I couldn't care less for LOS16 on the S5 given 15.1 is still buggy to me.

I think it's better to have a stable ROM (albeit we're talking about nightlies anyhow) than always to be on the cutting edge.

Either way I am optimistic things return to LOS14 levels of stability.

As for me, I have to try the latest nightly now as I just came home and couldn't pull the update at work.

Edit:

Still no dice about my concerns with LinageOS 15.1 for the g901f as far as yesterday's (September 25th, hello from Central Europe) go.

Apps like Note Crypt Pro still crash when trying to write data on exit.

I doubt the rendering issue improved either, so there's just to hope things get better as long as I can't get hands on 14.x ROMs.
[Galaxy S 5 Android Development (Snapdragon)] Gorilla Daddy:
last official 14.1

Could someone please upload this to google drive or somewhere similar:

lineage-14.1-20180615-nightly-lentislte-signed.zip
[Galaxy S 5 Android Development (Snapdragon)] js-xda:
Sorry, I haven't forgotten but I am traveling at the moment. Should be able to upload later this week. As cvxda seems to be away for the moment, I guess the current updates contain only generic updates and nothing specific to our phone. Therefore, best to expect major improvements only when she is back.

Question to all: Can someone confirm that an update extracted from the LineageOS updater (press + hold -> export update) contains solely the update and no personal data?

Anybody still having the mentioned ROM in the list of updates in the LineageOS update (Settings -> System -> About ... -> Lineage Update) should be able to provide as described in the question above if the corresponding answer is positive.
[Galaxy S 5 Android Development (Snapdragon)] Not-Aus:
Since the latest LineageOS update I have a nasty bug which switches off the screen right after I switch it on.

Touchfunctionality is still given so that I'm able to reboot it blind and get back functionality.

It seems to happen when the device lasts a few hours over night.
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
Its not the last build causing that because mine is working flawlessly. Something else is bugging you
[Galaxy S 5 Android Development (Snapdragon)] ZubZeroN00B:
Hi, I'm just wondering if this will work on a Samsung S5 SM-G901F? Another area im wondering about is, if I want to put an older rom, 14,1, can I use a newest gapps? Or would I need a specific version? I'm kind of New to this. Thanks :)
[Galaxy S 5 Android Development (Snapdragon)] TheFixItMan:
The answer to your question is in the thread title and on the first post - please read the first post as questions like will this work on my device are really annoying when it clearly lists the devices this is for

Your device is kccat6

For 15.1 use mind the gapps

http://downloads.codefi.re/jdcteam/javelinanddart/gapps

For 14.1 use opengapps arm 7.1 (I recommend nano)

https://opengapps.org
[Galaxy S 5 Android Development (Snapdragon)] KaKi87:
My problem is that TWRP says : "this device is ." with nothing between "is" and the dot, which means it can't identify my phone's codename, so I must remove the assert at each update...

Thanks
[Galaxy S 5 Android Development (Snapdragon)] ali.akbar01:
The latest LOS 15.1 built is as stable as that of last LOS 14.1.
[Galaxy S 5 Android Development (Snapdragon)] TheFixItMan:
The chances are your twrp is out of date

The latest version is 3.2.3-0
[Galaxy S 5 Android Development (Snapdragon)] yazar rafi:
Why it is not available for sm g900f (klte)?
[Galaxy S 5 Android Development (Snapdragon)] Oswald Boelcke:
Why do you think it isn't?

https://download.lineageos.org/klte
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
After the weekly update from today I also flashed OpenGapps mini Arm, after rebooting the bug No Simcard is back.

What I did was reboot in TWRP, cleared cache and reboot. Now the ROM recognising SimCard again.

Anyone else has this problem also?

Edit

I rebooted several times in different ways like booting from TWRP, booting from power-off state, booting with- and booting without being connected to AC/DC power adapter, rebooting etc but the bug does not appear again, after every boot the SimCard is detected.

My phone is haunted :p

Edit II

Still i wonder if i am the only one experienced this?
[Galaxy S 5 Android Development (Snapdragon)] ZubZeroN00B:
Thanks for your reply, I'm still learning lots on the topic. Just wondering for the 15.1 you advise gapps, but for 14.1 you recommend opengapps, why the difference? I have also read that the 14.1 has better stability? Again thank you kindly for you assistance :)
[Galaxy S 5 Android Development (Snapdragon)] Oswald Boelcke:
The advice for 15.1 was "mind the gapps". A reason can be found in this thread on reddit.com (read completely). Personally, I'm unable to advice on any Gapps version as my devices are always Gapps-free.

And I personally stay with Nougat (currently RR-N-v5.8.5) on my G901F as both, LOS 15.1 and RR-O-v6.0.1, doesn't yet perform to be my daily driver.
[Galaxy S 5 Android Development (Snapdragon)] bootflop:
Don't worry, I'm getting too worried at times when hard- or software behaves differently from what's to expect, however, I am also a patient person :D

Speaking of updates, the latest OTA update made my camera not function until I cleared the cache and data for the app.

No idea if this goes for other users as well, just thought it'd be good to take note of.
[Galaxy S 5 Android Development (Snapdragon)] js-xda:
Interesting ... I was not aware of this recommendation and use Open GApps Pico basically by accident but without any issues. Camera (one of the things listed as giving issues) does work for me but I am using OpenCamera most of the time. I am also not aware that anything was uninstalled when I installed/flashed them (no dialog mentioning and yes, I read dialogs) - but might be due to using Pico.

Good habit. ;) Sorry, I would have uploaded already but I am still stuck with the question whether an update extracted from the LineageOS updater app/dialog is not containing any personal data. Would be great to get some solid information from someone who knows ... no luck so far searching this forum or other websites.
[Galaxy S 5 Android Development (Snapdragon)] ZubZeroN00B:
I managed to put in, twrp, install SuperSU 2.8.2 SR5. Then do an Resurrection remix n 5.8.5. runs smooth. Opengapps 7.1.2 stock. The only thing I had an issue with was the camera app, I set mode to HDR and.. killed the camera app. thanks to everyone for their help and to the developers for their work.