yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] liquidraver:
I've been following this bug too (https://gitlab.com/LineageOS/issues/android/issues/1417) because the bluetooth errors are the only thing making my S5 a pain in the....

Sometimes it disconnects the bt earphone when I start the music/radio, sometimes if I have a call and disconnect happens in-call, the voice is routed to my smartwatch...

One workaround was force stop bluetooth, clear bluetooth storage, then I can re-enable bluetooth without restarting the phone. It seems the disconnects stopped, but I've been testing this workaround about 2 days, so it's not enough to state it's the ultimate solution.

UPDATE: nah, disconnected again, and couldn't start bluetooth...
[Samsung Galaxy S 5 Unified Development] reza_khof:
I installed last versions LOS 16 for klteduos but i don't have any voice for calling both in ear and mic. Any solution please ?
[Samsung Galaxy S 5 Unified Development] curiousrom:
klteduos No Sound During Calls

Not enough setup description to troubleshoot: exact S5 model, Magisk & sound related modules if any, GApps package name & build date, etc.

Do you have the most recent baseband/modem/radio for your device?

Install the most recent stock Samsung OS for your device as it will update bootloader/modem & other firmwares which are not included in LineageOS for S5.

Test thoroughly on stock Samsung which is the best troubleshooting step to confirm or rule out a hardware problem.

Then make an EFS partition backup before installing LineageOS or LineageOS + GApps only as described in S5 super clean install.

BTW "last" or "latest" or "most recent" or "today's" will not mean a thing for future readers after the next update so taking 2-3 seconds to type the exact build date that you are talking about is good practice IMO.

Bugs may be created by a merged patch in a given build date for a given device & solved in an other build so that's why the build date is an important troubleshooting info.

Please report back if you solved your problem or not. :cool:

***
[Samsung Galaxy S 5 Unified Development] reza_khof:
I don't have any problem with other pie roms like havoc os.

From my original firmware:

PDA : g900fdxxs1cqd2 CSC: g900fdojv1cqb1

2017.05.01

I am on NEMESIS_REBORN ROM now.

Baseband is g965fxxu1arcc .
[Samsung Galaxy S 5 Unified Development] curiousrom:
Re: klteduos No Sound During Calls

If you have an S5 SM-G900FD, the baseband should be something like G900FDXXU1CQA4 for example.

The only way to know the truth about what is your S5 exact model is to turn off the phone & boot in Odin Mode (aka Download mode): press and hold Home + Power + Volume Down buttons and confirm with Volume up to Continue.

The PRODUCT NAME that you can see after you accept the disclamer is the real model number.

I saw several cases on XDA of S5 users scammed with a S5 made for the Chinese market labeled SM-G900F under the battery & in About phone which is for the European market.

On updato.com they call the baseband/modem/radio "Phone".

Check https://updato.com/firmware-archive-select-model/?q=SM-G900FD&rpp=15&order=date&dir=desc&exact=1

If other ROMs work on your S5 then good for you.

***
[Samsung Galaxy S 5 Unified Development] reza_khof:
Well i have them.

I checked them, g900fdxxU1CQA4 for baseband and G900FDXXS1CQD2 for bootloader as chinese market has said.
[Samsung Galaxy S 5 Unified Development] curiousrom:
Android Bump Security String to 2020-02-05

FYI the monthly Android security patch Bump Security String to 2020-02-05 for 16.0 was merged & is included in LineageOS 16.0 for the S5 klte + variants build 2020-02-11 or newer as you can see in the klte changelog: https://download.lineageos.org/klte/changes/

See Android Security Bulletin—February 2020 for details about the security fixes.

I updated to LineageOS 2020-02-11 via the built-in LineageOS OTA Updater a Galaxy S5 G900M LineageOS 16.0 klte running build 2020-02-06 + Open GApps Pico + LineageOS AddonSU, no custom kernel or system mods of any kind & everything went smoothly as usual.

This varies depending on your setup but from the moment I hit OK in the Apply update panel to the automatic full reboot to System it took 7 minutes.

After the automatic reboot as seen in the screenshot: > Settings > About phone > press on Android version 9 > Android security patch level: February 5, 2020.

View attachment 4947975 View attachment 4947977

The Vendor security patch level remains @ August 1, 2017 because the vendor is Samsung & it is not publishing security patches for it's S5 proprietary hardware related blobs anymore since August 2017.

Thank you to the Lineage Team & Mr. haggertk for keeping our old S5 up to date. :good::cool:

***

When To Update?

Just because the LineageOS automated builder is churning out nightly builds for 16.0 @ the present it's not a reason to update daily. Look in the changelog for your device to see if updating is worth the trouble.

Especially with many LineageOS devs working on the upcoming 17.1 the number of changes applicable to 16.0 have dropped dramatically.

LineageOS Updater > 3-dots > Preferences where you can set the Auto updates check to Never, Once a day, Once a week or Once a month.

You could choose Never & check manually once in a while.

BTW you can create a direct link to Updater & much more like to Privacy Guard Advanced for example with the LineageOS Settings widget.

After the upcoming LineageOS 17.1 is launched (don't ask for an ETA please), the 16.0 automated build schedule will be changed to once a week only and 17.1 set to daily builds because new LineageOS versions often have bugs or new devices being added to the roster so several patches may be merged daily like it was the case when 16.0 got launched.

***
[Samsung Galaxy S 5 Unified Development] mingi20613:
From LOS 15.1, this bug has happened...

I think it would not be fixed in near future due to it is already known but no devs fixed this...

You can go back to LOS 14.1 if you want to feel free from it...

:eek:

But don't ask too much about it since it is a known issue lol... :good:
[Samsung Galaxy S 5 Unified Development] g-wh122:
Hi, possibly a daft question - apologies if so but a search didn't reveal anything...

I have Lineage 16 happily installed on my Samsung S5 klte. Everything seems to work as it should. Except I encrypted the phone and now when it boots the boot animation occurs 7 times, then I'm asked for my Pin, then the boot animation occurs again 20 times. All I want to know is, is this the normal behaviour after encryption? Cheers for any replies.
[Samsung Galaxy S 5 Unified Development] stts44444:
Bootloop on g900p.

Hello. Im not having any luck getting this ROM to run on both of my SMG900p phones. Long ago they had marshmello, then I loaded RevolutionRemix Pie and they both run OK like that. But I wanted to try out this ROM since it still being updated and it can be updated OTA style. I figured it would potentially run better than the RR ROM. But it just Boot loops on both phones. I have the latest TWRP flashed, and root with Magisk since SuperSU seemes to have died. I wiped and formatted all that could be wiped and formated to no avail. I tried all the nightly ROMs around lineage-16.0-20200212-nightly-kltedv-signed but couldnt find a significantly older stable version to try out from a trusted source. I use this apps package open_gapps-arm-9.0-mini-20200214 and even used this patch, Disable_Dm-Verity_ForceEncrypt_02.02.2020, to see if it made any difference. Nada. After a long wait of the frown face graphic, it starts over and boots back into TWRP recovery. Anybody have any ideas what I might be doing wrong? thanks.:confused:
[Samsung Galaxy S 5 Unified Development] curiousrom:
Re: Bootloop on g900p.

See TWRP App Causing Bootloop or Fail To Boot and try a S5 super clean install.

***
[Samsung Galaxy S 5 Unified Development] godofsalt:
You had mentioned many different things and ways you modded your S5.

As Curiosrom had suggested, do the Clean Way.

Had to chime in.... have Same phone. Honestly, I have really have not had too many issues. When I did run into a major brick problem, going back to Stock helped. It may be a pain, and does require latest Firmware, but, in the end, it WILL and can, turn a brick , into a Phone.....
[Samsung Galaxy S 5 Unified Development] stts44444:
Bootloop on g900p.

Woohoo. Thanks for the tips. I got it to run this ROM. It was the clean method that got it going. I did all this before, but the exact order of things must have been it. I did not yet flash over the bootloader. I didnt know where to look to see what version I had and I was not wanting to just flash over it willy nilly till I was convinced it had to be done. Since it now boots, Ill leave the boot ROM alone and back up this install to flash over my other phone with. I really appreciate the help and will now work on the apps and settings to make my phones familiar again.
[Samsung Galaxy S 5 Unified Development] curiousrom:
Re: Bootloop on g900p Fix

Glad it worked for you & thanks for reporting back. :good::cool:

Using a TWRP backup from one S5 works for an other identical S5 model but restore only boot (which is the kernel actually) System & Data.

Warning: DO NOT restore the Modem (missing other related firmwares not backed up by TWRP) & the EFS partition which unique to each phone as it contains IMEI info, etc.

***
[Samsung Galaxy S 5 Unified Development] stts44444:
Bootloop on g900p.

Thanks again for the restore tips. Ill leave modem and efs alone to stay away from trouble. :)
[Samsung Galaxy S 5 Unified Development] curiousrom:
Re: Restoring a TWRP Backup on an other S5

I forgot to mention that on the S5 #2 clone you may have to create a backup first in TWRP to the external Micro SD card which will create a folder with the serial number of #2 in /external sdcard I.D./TWRP/Backups/serial_number/ then copy the backup of S5 #1 found in it's /serial_number/ folder to it.

You could do the very important EFS backup only on #2 for example. That standalone EFS backup is very small (10MB) as seen in the screenshot & everybody should make one IMO.

See S5 - No Network, No IMEI, No SIM & EFS Partition Restore Fix.

***
[Samsung Galaxy S 5 Unified Development] stts44444:
Will do. I saved the serial number folder on all the backups. So I can swap the contents around. Its going to be great getting new life out of these Marshmellow phones. I dont want to buy anything till they got a ton of well debugged 5G phones to choose from.
[Samsung Galaxy S 5 Unified Development] stts44444:
Copying the OS image to my second S5 worked out well but there was one more detail I ran into. I had to turn off the lock screen password and fingerprint before I did a TWRP backup. When I did a restore onto the second phone with a backup that had a password lockscreen, it was locked out on power up and password wouldnt work. It was a simple matter to redo the password and fingerprint after the phone OS was cloned. :)
[Samsung Galaxy S 5 Unified Development] reza_khof:
After a few tests finally I found the voice call issue in g900fd klteduos !!!

Only sim1 must be set on lte/wcdma/gsm and sim2 must be on gsm only.

It means I have to use data from sim1 to having voice call and if change settings for sim1 and 2, I loose voice.

Can you fix it?
[Samsung Galaxy S 5 Unified Development] curiousrom:
S5 klteduos G900FD - SIM Settings

AFAIK there is nothing to fix & that's how the S5 klteduos G900FD works: only 1 SIM at the time can have data & be set to GSM/WCDMA/LTE and there other one must be set to GSM only.

Are you able to chose SIM 1 GSM/WCDMA/LTE & SIM 2 GSM or SIM 2 GSM/WCDMA/LTE & SIM 1 GSM?

If you want your head to spin Search Opinions here with "SIM" or "SIM 1" or "SIM1" https://www.gsmarena.com/samsung_galaxy_s5_duos-reviews-6272.php

***
[Samsung Galaxy S 5 Unified Development] RuKaDa:
Hi All, I wonder if someone could give me some help.

I am using my G900F with 20200213 Build+pico gapps 20200213, clean install from scratch with no root.

I have my phone connected to the same wireless network as well as my smartTV, I am trying to cast or miracast or whatever, in other words, I am trying to watch my phone´s screen on my TV, no matter what i can´t do it, it seems not to be working...

With other phone (GT-I9505) running @side Lineage ROM, cast works pretty well on the same SmartTV.

Already tried to turn ON, under developer settings, the option wireless display certification. One other thing that i noticed is that there´s no 3 dot option under the cast settings... :confused:

Does anyone manage to make cast work?

Thank you all. Cheers.
[Samsung Galaxy S 5 Unified Development] reza_khof:
Just when I set sim1 GSM/WCDMA/LTE and sim2 GSM can make voice for calls
[Samsung Galaxy S 5 Unified Development] curiousrom:
S5 Miracast, Cast or WiFi Display Not Working

Google disabled Cast a.k.a. Miracast or WiFi Display in Android 9.0. Maybe because they want to push their Chromecast products? :(

Some LineageOS devs implemented some solutions & others disabled Cast for the devices they maintain. I guess it's because it's easier to enable it on some devices & more difficult on others.

S5 klte + variants maintainer [MENTION=2693412]haggertk[/MENTION] disabled it as you can see in this merged commit: klte-common: Nuke deprecated WiFi Display overlay

Because they use different keywords check these searches in the LineageOS Gerrit:

branch:lineage-16.0 (status: open OR status:merged) miracast

branch:lineage-16.0 (status: open OR status:merged) wifi display

branch:lineage-16.0 (status: open OR status:merged) wfd

***

As an alternative scrcpy on GitHub works on my S5 G900M LineageOS 16.0 when connected to my PC via adb over network or USB:

Attached is a screenshot made on my laptop of the S5's screen connected via adb over network. I wrote a little description in the S5 Screen Mirroring Wirelessly Using scrcpy chapter of this post.

BTW there is a ADB over network quick tile in 16.0.

***

S5 klteduos G900FD

That could be by design from haggertk.

See these merged commits & expand the changed files: klte-common: Update duos-related Telecomm props and Telecomm: Update MSIM audio params logic again.

I don't know if it makes any difference but this was merged yesterday & is included in lineage-16.0-20200219-nightly-klteduos-signed.zip or newer; Set radio props via system.prop: "klteduos: Set radio props via system.prop".

***
[Samsung Galaxy S 5 Unified Development] RuKaDa:
@curiousrom

Thank you for your time writing this info, really appreciate that.

Regarding WiFi Display, for me, and I believe for many other users is really a usefull feature and that´s the only detail missing in LOS16 for S5 :)

Thanks to all developers for this amazing work.
[Samsung Galaxy S 5 Unified Development] reza_khof:
I tried it but doesn't affect. Even I lost the calling voice.
[Samsung Galaxy S 5 Unified Development] reza_khof:
Please add an option to ON/OFF SIM1 or 2
[Samsung Galaxy S 5 Unified Development] dtr.:
I have a stupid question so bear with me I flashed successfully via Odin Android 9 stock ROM on a Samsung device _ I then flashed twrp via Odin onto the stock ROM ended up with a never ending boot loop _ my question is is it possible to flash twrp onto an official stock ROM , I thought it was as I am only changing my recovery partition and nothing else please can someone enlighten me thank you for your time and patience . . .
[Samsung Galaxy S 5 Unified Development] kurtn:
Wrong twrp for your device? And why ask that question in galaxy s5 lineageOS thread?
[Samsung Galaxy S 5 Unified Development] dtr.:
Pardon ??? What's your problem it is just a question thanks for your pleasant reply
[Samsung Galaxy S 5 Unified Development] curiousrom:
Flashing TWRP On Stock ROM

Yes.

See S5 super clean install >>> Flashing TWRP Recovery on S5 with Stock Samsung Firmware chapter.

See also TWRP App Causing Bootloop or Fail To Boot.

***
[Samsung Galaxy S 5 Unified Development] Reverse-anastomosis:
I'm not the person that you're responding to, but... Many devices have specific nuances, so it is important to ask your question in the appropriate forum for your device. It also clutters this thread.

And we know that this is not for the s5 because the last Samsung firmware for these devices was android 6.0.1.
[Samsung Galaxy S 5 Unified Development] portsample:
I had the same problem. Doing the above resolved it for me. Seems new security features in recent 16.0 builds interact negatively w/TWRP. Easy fix. Good luck.
[Samsung Galaxy S 5 Unified Development] dtr.:
I am sorry if I have upset somebody it was never my intention I am a novice with a little experience and not good English thank you all for time and help
[Samsung Galaxy S 5 Unified Development] portsample:
Never get upset over a phone. Life is too short for that. Did you get Lineage installed?
[Samsung Galaxy S 5 Unified Development] curiousrom:
Re: TWRP App Bootloop

There is no problems between TWRP itself & LineageOS 16.0.

It's only with the TWRP app if installed as system app that requires permissions that are denied by LineageOS & causes a bootloop.

See TWRP App Causing Bootloop or Fail To Boot.

***
[Samsung Galaxy S 5 Unified Development] migadeath:
Hi, can anybody help me with background wifi disconnect on klte? I'm streaming music from klte to BT headphones with Tidal app, when screen goes off music stop to play after some time (few minutes) an app show network disconnect error - wifi was disconeced. Wifi connection will go back after I wake my device with power button. Only workaround I found so far is to let screen on all time :( which is not so good for oled display.

Is there any other way to force wifi always ON? I've turned off battery optimization, background data restrictions and so on... nothing helps either.

This is known bug: https://gitlab.com/LineageOS/issues/android/issues/517

Thank you!
[Samsung Galaxy S 5 Unified Development] kurtn:
I use radiodroid from f-droid. No issue
[Samsung Galaxy S 5 Unified Development] androiddude7899:
Battery life

How is battery life on this OS I'm getting 4hrs average

Using tuned kernel too

Here is the latest one

https://xdaforums.com/galaxy-s5/uni...-s5-performance-battery-t3893954/post81781631

:

Use this to tweak it if u want more config

https://drive.google.com/file/d/1fnZM1a4WkbfzXL8uMiN645LpVhtHSEDM/view?usp=drivesdk
[Samsung Galaxy S 5 Unified Development] migadeath:
Radio Paradise app works fine too, but radioitalia not it is app dependent. It is interesting, when not playing wifi si connected every time I power on screen, but when I start playback it disconnects after few minutes. Tidal transfers lot of data, maybe it triggers some protection? On data it works fine, only wifi has this issues.

Any suggestions?
[Samsung Galaxy S 5 Unified Development] kurtn:
Restart your WiFi router?
[Samsung Galaxy S 5 Unified Development] xyz_969:
System -> Advanced -> Updater
[Samsung Galaxy S 5 Unified Development] migadeath:
Done several times before... I found better workaround, I'm running connectbot app, connect to localhost and ping one of my servers. It keeps wifi alive and I can turn off the screen... not perfect, but usable.

It seems that Tidal is affected more when playing Master quality files, that are larger. When playing HIFI quality it plays longer before it disconnects on network error.
[Samsung Galaxy S 5 Unified Development] reza_khof:
Why phone radio uses too much battery?

And still hasn't solved sim2 call voice for selecting GSM/WCDMA/LTE on g900fd klteduos in last built
[Samsung Galaxy S 5 Unified Development] curiousrom:
Phone Radio Power Usage - SOT

Everything is relative. ;)

The Phone Radio battery power usage depends on what you are doing on your phone: using cellular data or WiFi, strength of cellular signal, moving or static which fluctuates the signal strength & towers connections and may force the S5 switch bands from LTE to H+ or 3G, making & receiving calls, etc.

As you can see in the first side-by-side screenshots of GSam Battery Monitor made while staying @ home:

Since last full charge, WiFi always on, Used 95% of the battery in 1d 11h.

Screen: 08:37 38%

Phone Radio: 8%

So the Phone Radio used 8% of 95% of the battery.

In the second side-by-side screenshots it was a test of power usage @ idle as described in the screenshots:

Since Now reference point I created, WiFi always on, Used 2% of the battery in 8h 56m with a low -0.2%/h.

Screen: 00.00:16 0% (I took the screenshot as soon as I turned on the screen so not to skew the test result).

Phone Radio: 49%

You could say OMG! 49%!!! :eek:

But the Phone Radio used only 49% of 2% of the battery.

Now your S5 G900FD klteduos is a dual SIM so if you use 2 SIMs, I would guess that the Phone Radio has a higher power usage.

The last screenshots are of GSam > Charts > Phone Signal & Phone Radio > Usage Details.

See GSam user guide which is a little bit dated but informative.

Having the most recent radio/modem/baseband on your S5 may help phone but also WiFi, Bluetooth & GPS performance & battery usage. See S5 Odin Flashable Modem & Bootloader.

There are no S5 G900FD klteduos bootloader/modem package in that page but if you flashed the most recent Samsung stock OS on it before installing LineageOS then it updated them automatically.

My Galaxy S5 G900M LineageOS 16.0 klte build 2020-02-23 + Open GApps Pico + LineageOS AddonSU, stock LineageOS kernel is optimized as described in Remove Animations UI Speedup Test - Taming Google & Apps.

***

People often ask about SOT (Screen On Time) but as you can see in the first side-by-side screenshot, same S5 G900M & taken a few days apart:

Screen: 08:37 on the left & only 5:37 on the right. That's because I took a lot of photos w/ the screen at maximum brightness.

So SOT is also relative & depends on your screen brightness settings, using the S5 outdoor or indoor, etc.

***
[Samsung Galaxy S 5 Unified Development] reza_khof:
Tanks for reply

But I have GSam and have checked it.

When I leave the phone for about 6 hours, it drains the battery close to 10 present!

However in stock rom it's about 2 present

And other issue is when I set phone on flight mode, still phone radio can drain battery! Why? It doesn't happen in stock rom
[Samsung Galaxy S 5 Unified Development] curiousrom:
Battery Usage at Idle

Something is wrong with your setup and/or you have some apps misbehaving.

Or your battery is old & needs replacement.

Follow the links in the post above that you quoted including the GSam user guide.

Check in Developer options > Running services > and also it's 3-dots > Show cached processes.

Try booting in Safe Mode which disables all your installed app & if the battery usage @ idle problem is solved then the problem is caused by something you installed so not LineageOS' fault.

In the Power menu you can long press either Power off or Restart & select boot in Safe Mode.

Safe Mode will disable GSam also so check and make screen shots of Settings > Battery > 3-dots panels before and after not touching the device for 6 hours.

If you move the device that will be detected and it will get out of deep-idle (deep sleep).

You can see your device's idle settings & also the idling history with this command in adb:

adb shell dumpsys deviceidle > deviceidle.txt

I attached a deviceidle.txt example that I just captured & also 2 GSam screenshots made today where you can see on the status bar that I received Gmail, Reddit & WhatsApp notifications but still extremely low battery usage:

Used 0% in 4h 14m, -0.0%/h.

I'm pretty sure is not really 0% discharge as there are no decimals for the battery % except for the %/hour calculation so maybe it's a real battery discharge from 56.9 to 56.1% for example but still it's less than 1% of battery usage in 4h 14m of idle time.

***
[Samsung Galaxy S 5 Unified Development] Sobhan Mazaheri:
Google Chrome crashes in settings

LineageOS 16 build 2020.02.23 installed

Opengapps arm pico 2020.02.23 installed
[Samsung Galaxy S 5 Unified Development] Noob9496:
Try install Chrome from apkmirror.
[Samsung Galaxy S 5 Unified Development] Sobhan Mazaheri:
Problem persists I installed the latest version

I did a super clean install but there is still a problem