yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 Android Development (Snapdragon)] js-xda:
See previously posted explanation quoted below - it's only due to different scheme of building of LineageOS. Nothing related to our current issue.

At least for kccat6, there are changes included in 20181115 build. But I doubt that they are linked to the battery level indicator / charging issue.
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
Hi

You do not even have to travel to loose connection.

Strangely enough last few days I suffer no more from this bug.

Its random, like it is random to everybody....

Added:

In addition I want to say I have this ROM as daily driver and I'm more than satisfied, I keep an eye in this forum so I can have a sharper eye to the ROM :D. It works for me more than throwing my beloved S5 in a drawer and have to buy some "flagship" that has not even removable battery!
[Galaxy S 5 Android Development (Snapdragon)] stirrer17:
I totally agree with you. I'm using it as my daily driver as well. I am happy too!

Anyway, I can reproduce the " no sim" problem at any time, whem I'm changing my area. So for me, right now this is not occuring by random! Maybe this info will help someone?
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
Salem fellow happy friend, thanx for replying.

Question: I travel for work between 2 cities almost daily, but the connection stays on when moving from one to other area's....

If the no-sim-bug hits me, its mostly right after reboot, or in rare cases random during the day...

The last one (occurring random) has nothing to do (for me in my situation) with changed area's. (It happens too if I work [MENTION=313982]home[/MENTION] that day).

But sharing things is always a good idea, maybe you help someone else in similar circumstance :good:
[Galaxy S 5 Android Development (Snapdragon)] Nerva:
Does anyone know if someone is working on a crDroid (derived from LineageOS) for the G901F? I like the extra features in crDroid...
[Galaxy S 5 Android Development (Snapdragon)] revoltella:
Hi there,thank you for this great ROM. Except for the poor camera and some bugs with the genuine music player all running very smoothly. Had some connectivity issues being on the road but changed modem to latest version (CQC1) afterwards perfect:) with latest updates WiFi doesn’t work with 300 MBits standard, had to manually switch router to 54 MBits then ok. Any other with that problem? One question: genuine browser always open new tabs pressing browser button or opening link. I don’t see options to change settings...:eek:
[Galaxy S 5 Android Development (Snapdragon)] Zubagy:
For now... Your best option is to do as I told you.... Reboot the phone into recovery.... Then charge it from there. At that point, it will hit 100%...with that, just reboot back to system for usage. Yes there are pros n cons..... You won't be able to use ur phone much in recovery, but hey.... You get 100% at the end of the day.

About the bug I have.... Am thinking of resetting my phone.... Am just to lazy to do so because it's a long shot.... Reinstalling all my apps.... You know what I mean.

---------- Post added at 03:32 PM ---------- Previous post was at 03:27 PM ----------

As a daily driver?

I use mine too as a daily driver.... It awesome.... Am sure if the dev of lineage for this phone wasn't in production and we were stuck with mashmellow..... I wud have benched this device.
[Galaxy S 5 Android Development (Snapdragon)] liverhook:
Hello,

I'm still running LineageOS 14.1 on my S5+ (without gapps) and now want to use the 'new install' way for 15.1.

In the beginning of this thread you mention to always use the latest modem and bootloader. So I produced a tar file with the new corresponding files you mentioned. But if I wanted to go back to 14.1 with twrp: is it because then - after flashing the new modem and bootloader files - the twrp image doesn't have these includes as this image includes the older ones? What should I wipe before going back to 14.1 or is it not problematically and I can let it as it is?

And: what is still sticky with the new 15.1 for this phone after the several updates so far? Something important things?
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
Put phone on charge until its 94, than power down and load the 6% left...

That's how I do it until the bug is fixed.

Resetting is an awfull load of boring work, I know what you mean. Goodluck when you're up to it.

:good:

For almost sure if cvxda had not build all this beautiful ROM, I'd be on some new phone but dunno which one :confused: I'm found of the S5 in all ways.... Lineage, but also the looks and weight and don't forget the removable battery.
[Galaxy S 5 Android Development (Snapdragon)] ali.akbar01:
Any update about LOS 16?
[Galaxy S 5 Android Development (Snapdragon)] Zubagy:
Not yet bro....sit down, be humble:fingers-crossed:
[Galaxy S 5 Android Development (Snapdragon)] liverhook:
where to find 14.1 roms monthly updated now

where to find 14.1 roms monthly updated now?
[Galaxy S 5 Android Development (Snapdragon)] TheFixItMan:
Only legacy devices (those that do not have lineage 15) may be updated

The last official lineage 14.1 for this device I uploaded here

https://www.androidfilehost.com/?fid=1322778262904022506
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
Hi Ali

Dunno, as cvxda is the only maintainer for our S5, and the last I know she was busy private, I don't expect 16.x any time soon....

But hey.... We got this 15.x almost 100% perfect running so why bother :cowboy:
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
From last 2days charging until 93% and nothing more :confused:
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Charger changes

Friends,

many of you already observed and reported the curious fact that the charger apparently only charges up to 93% or 94% but never to 100%. The cause is a code change by Samsung:

The latest Samsung CRH1 kernel contained a pretty massive change in the charger code. Under the assumption that Samsung knows what it's doing, I pulled in this change. I didn't observe any negative side-effects, so I pushed the code. Incidentlally I never wait for the battery to be loaded up to 100% given this isn't healthy for LiIon batteries. So I didn't notice this new behaviour until after I already had pushed.

I don't know what Samsung is up to with this change, but the code looks very much like they tried to improve battery health/lifetime.

Edit: In particular the new code appears to focus on avoiding battery swelling.

Maybe the stock firmware has a tweaked UI which claims the battery is fully loaded at 93 or 94%. Alas, nobody will tell us.

The bottom line is this: While I can revert this change, I'm not really sure this is a good idea...

Corinna
[Galaxy S 5 Android Development (Snapdragon)] rollinrollinrollin:
[MENTION=3419717]cvxda[/MENTION] Sounds reasonable....thought by myself that it would be prefarable not to stress the battery to 100%...a chooseable option would be perfect.
[Galaxy S 5 Android Development (Snapdragon)] manulolo:
:crying::crying: I bought a new battery thinking it had broken after trying to calibrate it! About reversing the change, I have to say that changing the battery in this mobile is easy and cheap (even with NFC). Taking into account the short duration of the battery, that extra 6% -7% is very appreciated, although it shortens the life of the battery appreciably. I take this opportunity to thank cvxda for all the work, we have a new mobile!

A lot of thanks!
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
There's no way to create a choosable option here. Either the kernel uses the old or the new charger code, one replaces the other.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] Samsung_S5_Plus:
Report as a Daily user - General thanks to Corinna

Dear Corinna,

as you are German, underneath I will write you some of my experiences in German, you can also answer in English for our community :).

1. Known problems with connectivity.

2. Problem with storage /SD-Card

3. Payback-Pay doesn't work.

Liebe Corinna,

zunächst einmal herzlichen Dank für deine Mühe hier! Ich finde das LineageOS-Projekt super, gerade zur Müllvermeidung.

Das S5 LTE+ nutze ich als mein normales Handy (daily driver), daher möchte ich dir meine Erfahrungen schildern:

1. Das altbekannte Connection-Problem

Ich weiß, dass das Problem bekannt ist, allerdings ist dieses Problem das für mich fundamentalste. Sehr sehr oft verliert mein S5 sein Netz, sobald ich unterwegs bin. Am meisten fällt mir das in der U-Bahn auf, dort ist es quasi sicher, dass ich das Handy wieder neu starten muss.

Glaubst du, dass sich hier eine Lösung finden lässt? Bis auf dieses (für mich sehr ernsthafte) Problem funktioniert diese ROM nämlich super! Planst du, dich am LineageOS 16 Projekt mit diesem S5 LTE+ zu beteiligten bzw. ist es möglich, dass die Netzverlustprobleme mit dem neuen Projekt gelöst werden könnten?

2. Speicherproblem

Mit einer 64 GB SD-Karte habe ich meinen Speicher erweitert. Die Karte ist als intern formatiert. Leider gerate ich nun an die Grenzen des "Internen gemeinsamen Speichers" (16 GB), auf der SD-Karte ist allerdings noch genügend Platz. Gibt es hier eine Möglichkeit, dass die SD-Karte als "richtiger" interner Speicher verwendet wird, dass es quasi nur noch einen gemeinsamen Speicher gibt? Ich kann bisher nur einige Apps über "App-Details" -> "Speicher" auf die SD-Karte verschieben und so Platz schaffen.

3. Apps verweigern Funktion

Die Payback-App verweigert leider die Bezahlfunktion mit folgendem Hinweis: "Unsicheres Gerät festgestellt. Die Nutzung von PAY ist mit diesem Gerät aus Sicherheitsgründen nicht möglich." Sollte eher eine Feststellung sein als ein Problem. Das LineageOS-Projekt verbessert ja eigentlich die Sicherheit... naja.

Im Großen und Ganzen funktioniert das Handy super - eben bis auf das sehr sehr leidige Problem des Netzverlustes.

Viele Grüße!

DP
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
All communication in English please!

If you want to communicate in native language you can sent PM, but here in forum English is the language in which we post and repost.
[Galaxy S 5 Android Development (Snapdragon)] Zubagy:
Wow.... I thought I was the only 1 receiving 93%...and I have updated the phone daily... Everytime the update rolls up, I download

---------- Post added at 12:27 AM ---------- Previous post was at 12:21 AM ----------

Hey Corinna.... Not only have I noticed the 93/94% change... But my battery Seems to be depleting quicker than before, I can hardly use the phone for a day which was unlike back in the day. I do not know if am the only one having this issue?

---------- Post added at 12:31 AM ---------- Previous post was at 12:27 AM ----------

It's funny how he started with English.... Then switched to Germany... I personally think he wrote the whole thing in English... Then copied most of the text to Google translate to test the app... N brought it back converted to germany??????

---------- Post added at 12:37 AM ---------- Previous post was at 12:31 AM ----------

What is the importance of updating the modem (csc) of the phone.... And, what happens say... I take a diff csc from another device and flash it on another. Like right now I have the lentislte, but then I flash one that isn't of the lentislte on it.

Reason I have asked that is that... In my country, it's only when I insert an airtel network simcard that my phone will display lte above the network.... Any other simcard... Am stack on H+.... However much it's locked on lte as recommended.
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
If cvxda Corinna would bring it back to what it was (charging up to 100% just as it was before) I would be more than happy too. [MENTION=3419717]cvxda[/MENTION] :

I think Samsung implemented the new code for newer phones but our S5's have proven many years now to be able to handle the 100% Max load....

So from that point of view it would be nice to get the 100% charge back...

Nah he's German alright, I am Dutch and live near German border and his German is perfect but I think its not a good idea to have conversations in other languages than English here.

We would create the same situation in the Xposed updates, I see many Chinese and Russian languages there and only those understand what's been said. Therefore its kinda impolite too to start conversations in German while he's totally able to write in English too....

Posting in XDA must be accessible for all readers, and all we do is in English here.

Damn my English gets worse every week :cowboy:
[Galaxy S 5 Android Development (Snapdragon)] Zubagy:
I know the 94% z annoying.... But t maybe the best thing for our devices.... Think about it... Yes we could handle the 100% perfectly well.... But if Samsung has implemented this new charging policy to help with battery issues, then I think they know what they are doing.

---------- Post added at 01:01 AM ---------- Previous post was at 12:59 AM ----------

I was joking about the Google translate ??*♂️... About your English... Ull get the hang of it... Wink wink
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
I'm sure Samsung knows what they're doing like the famous flammable device which was called back to Samsung than. :D

But what I mean is they might have coded now the 94% charge for the NEW phones.

Our good old S5 is from other generation with removable battery. Newer phones r build different so therefore maybe the new code is just right for new phones

All the years I have the S5 I never have had trouble with charging whatsoever. In that light I think its safe to asume decoding back to 100% charge for the S5 will not harm anyone.

About the modem I don't know if you can do what you wrote. I'm not technical enough but I think you'll brick your phone flashing modem from other model :cowboy:
[Galaxy S 5 Android Development (Snapdragon)] olauer:
As usually no battery is really loaded to 100% of their real capacity (as a smartphone never deep discharges a battery) I also would vote for the old charging code. I am quite sure there are some reserves left in the battery.

On the other hand it would be interesting how the original Samsung UI handles this behaviour.

Best regards and thanks for your work

Oliver
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Must be something else. The charger is *only* responsible for loading the battery, not for unloading it. I'm running the same charger code on my daily driver with the usual 0.5%/h in sleep mode and with an impressive battery profile under heavy usage condition (during a conference week) and I have nothing at all to complain there. I always got over the day with some battery to spare.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Anybody wants to test this? Just use one of the CRH1 FWs from here:

https://www.sammobile.com/firmwares/galaxy-s5/SM-G901F/

Corinna
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Good point :)

Nope. Keep in mind that the Samsung kernel code is not shared between devices. It's not even entirely shared between sister devices using the same SoC. kccat6, lentislte, trlte (Note 4), and tblte (Note 4 Edge) all get their own kernel differing by the devices (e.g., different Wifi chips, different charger chips, etc.) and slightly different CONFIG options.

While lentislte/tblte kernels are not updated anymore, trlte is still updated, too. The new charger code was added to the trlte kernel as well, so at least this isn't some half-baked idea of a single group of developers apparently.

And having said that, our kernels are not shared with any new Samsung device. So the charger code change is for our devices and not for some newer one.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] js-xda:
Thank you for elaborating on the changes - very helpful!

Additionally to the 93/94 % limit, I am observing on somewhat random basis that the maximum charging level isn't maintained until disconnecting the charger. Meaning, I am starting off with somewhat less than 90 % in the morning when charging over night. This wasn't the case in the past. Anybody else observing this behavior? Is this also related to the charger code change?
[Galaxy S 5 Android Development (Snapdragon)] Samsung_S5_Plus:
Sorry dude.

I just thought it is easier for the solution of the problem as Corinna is from Germany - but you are right, English is more polite (that's why I also wrote in English at first).

So for all of you: My main problem is, that my S5 LTE+ really often looses connection (which is a known problem). Especially when I travel by subway it looses connection for sure. I wonder if there can anytime be a solution or if a solution can come with LineageOS 16.

The rest is not really relevant. The Payback-Pay-App doesn't work and also I have some problems with SD-Card /internal storage.

Sorry again dudes.
[Galaxy S 5 Android Development (Snapdragon)] revoltella:
Have you tried to change the modem? Which one are you using? See page 1 for requirements. I have installed baseband version G901FXXU1CQC1 (firmware) - found here on page 152, 153. Maybe that helps.

My connectivity problems are gone.
[Galaxy S 5 Android Development (Snapdragon)] olauer:
Honestly I am not an expert, but if I have a short look on some of the changes in battery code

(unfortunately I am not allowed to post the link but you can find it on github in directory LineageOS/android_kernel_samsung_apq8084/tree/lineage-15.1/drivers/battery )

there are some lines of code which could explain this behaviour which I also experienced.

If the maximum voltage during charging is now reduced (it seems to be reduced from 4350mV to 4200mV) this should be told to the kernel (wherever it is in the sources).

Best regards

Oliver
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
Uhmmmm

After recording calls (module xposed) the volume is very low from the caller when playing it back.

I can't find where the problem lies.

Any suggestion welcome, maybe I overlook something idk...

Half a year ago all calls were recorded good...

Anyone?

:cowboy:
[Galaxy S 5 Android Development (Snapdragon)] ali.akbar01:
Has anyone noticed that sometimes SMS fail to send and airplane mode needs to be activated for a short while and then sending messages doesn't fail?
[Galaxy S 5 Android Development (Snapdragon)] Zubagy:
So...I reset my phone....but not just hitting the reset button, I downloaded the latest update, exported the file for later installation, downloaded the latest twrp for the lentislte, and changed the modem.... I still experience errors with the sensors Nxt to the front speaker...during phone calls they go off If the phone is placed on the ear, once you remove it off the ear...the screen stays off....so am sure its with the operating system...not hardware....in order to get the screen back on...I pass my finger again over the sensors and that does the trick.

And I think Corinna should reverse the battery thing....it doesn't help much having it to 93% if t will drop to 80 in just minutes.... And besides....we have been doing good at the 100%

---------- Post added at 11:11 AM ---------- Previous post was at 11:10 AM ----------

I am not experiencing this
[Galaxy S 5 Android Development (Snapdragon)] olauer:
I did some tests during the weekend.

With 20181029-nightly my kccat6 has maximum 4385mV (according to Battery Monitor Widget). After changing the charger code we reach maximum 4283mV (100mV less) which corresponds to 94% based on the old battery capacity.

As I anyway switched my mobile during last week I took the chance and installed latest stock rom (BTW there is a new modem software crk1 since begin of November) on kccat6.

Battery Monitor Widget shows max. 4283mV after loading to 100%, so Samsung also adapted the battery definition somewhere in the kernel.

So for me there are two possibilities, either revert the charger changes (perhaps there is a possibility to get the real intention of Samsung engineers) or at least change the battery specification (wherever it is needed) so that the phone shows again 100% :)

Best regards

Oliver

---------- Post added at 11:44 AM ---------- Previous post was at 11:31 AM ----------

Another question:

is there somewhere an archive of old lineage versions? Unfortunately I deleted lineage-15.1-20181029-nightly-kccat6-signed.zip when reflashing the device.

Or is the only possibility to take the sources and to compile myself?

BTW: For me it makes no sense to compile daily new nightly versions if nothing has changed compared to last version. This is just confusing.
[Galaxy S 5 Android Development (Snapdragon)] js-xda:
I would support also to implement a rule to compile only when changes are available. For now, I deactivated the automatic lookup and notification for updates as it is somewhat annoying. Please don't see this as criticism - only an idea how to make it even a bit more user-friendly.
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Thanks for testing, this is very helpful. So Samsung themselves only charge up to 94% and just call it 100% in the UI.

As for the CRK1, I don't see this. The latest FW is CRH1 from 2018-11-20.

Not my say. This is a decision of the Lineage core maintainers team.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] olauer:
Correct.

You are right, but there are two versions of CRH1 FW, one from 2018-09-16 which has modem CRA1 and the one from 2018-11-20 with modem CRK1.

For some reason I installed the first one and at once was noted that there is an update available.

The complete name of content of the second zip file is

G901FXXU1CRH1_G901FDBT1CRH1_G901FXXU1CRK1_HOME.tar.md5

Generally I like this idea, but perhaps there could be some switch checking whether there was any change and compile a new version only then.

Oliver
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
I am not experiencing your sensor-thing :rolleyes:

If cvxda Corinna already not already have done reverse the batterything as you call it, i agree. Samsung may have their reasons in the dark but i roamed the web and did not find anything dangerous or whatever justifying this set back. (Charging till 93%)

As you say indeed from 93 it drops fassssttt to around 80, and before this patch my battery had nothing like that behaviour.....

Having said all that, I flashed the nightly from 25 Nov and the gapps 25 Nov and guess what?

Charging to 100% again, I dunno why but I'm happy.

:cowboy:
[Galaxy S 5 Android Development (Snapdragon)] Zubagy:
Glitch:laugh:
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
[MENTION=3419717]cvxda[/MENTION]

Dear Corinna,

I would like you to reprogram our beloved rom which you build and maintain thankfully for such long time, back to as it was before Samsung's ridicule 94-93% thing.

Samsung is no longer boss over S5 since we installed your piece of beauty called Lineage 15.x ;)

Ever since the update where my S5 only powers up to 93-94% it feels like I own a crippled phone, which unload in my daily 6 hours sleep from 93 to 81% doing nothing just lie around. Such behaviour was not the case before that update, than it was from 100 to 97 or 96%.....

So now Samsung has found a way again into my ownership of the S5 again, implementing something totally unnessesary which is proven as being just that because from lineage 14.x of which you build to the 15.x, all time my battery behaviour was steady and no overheating or putting me into any danger whatsoever.

So please please please dear Corinna, make things right again

:good:
[Galaxy S 5 Android Development (Snapdragon)] rollinrollinrollin:
[MENTION=5156684]andreoide[/MENTION]

I vote against and prefer extended overall battery lifetime. Not as it matters ;- )
[Galaxy S 5 Android Development (Snapdragon)] Nerva:
Anyone tried using this with Google Fi? I'm not impressed with T-Mobile's coverage, and since Google Fi uses their network plus two others, I'm wondering if it works and would have better coverage...