yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] lecorbusier:
Just performed a TB backup in advance to updating LOS18.1 to the current version.

And just like with my Note 10.1 2014 (Los17. 1) the S5 rebooted in the middle of things, but the sd card hadn't been corrupted. There was one other occasion, when the sd became unavailable when using the camera. I had to reboot manually then, the sd contents also remained intact, am i a lucky one.
[Samsung Galaxy S 5 Unified Development] simpson2005:
I have the exactly same problem here. I have an Samsung s5 klteduos too.
[Samsung Galaxy S 5 Unified Development] jenssa:
I'm sorry, but I do not understand the directions. How do I get from mount to the 'addon d' directory? I've no clue as to how to get there, and have searched and searched. Could you please spell it out for an amateur like me? Also, I find it strange that a gapp package remains after a complete factor wipe. Why is that?
[Samsung Galaxy S 5 Unified Development] kurtn:
In twrp after mount system go advanced file manager. Tap system system addon-d

A factory reset only deletes user data. GApps sit in system partition
[Samsung Galaxy S 5 Unified Development] sinkoo1979:
Thank you for the rom first but I'm having battery drain issues. Lost 17% on 10 hour idle standby. Using a new battery. Any info will be greatly appreciated.

Update: I think it was "placeabo" kernel that I was using. Flashed lineage boot and no battery drain so far. Thanks for the rom.
[Samsung Galaxy S 5 Unified Development] kingozilla:
Ooh S5 is still alive! Great that I saw a ROM for it. I doubt how many people are using S5 as their main device!
[Samsung Galaxy S 5 Unified Development] Garry58:
It's still pretty great all things considered. CPU and GPU can still hold their own. Having 2 Gb of RAM is probably the biggest limitation, but it's enough to keep 2-3 apps in the background. Along with only 16 (or 32) Gb internal memory (at least it has microSD slot). Overall, I'd say it's an amazing device for its price (many features you won't find on budget phones, let alone same price category). This is an official ROM which receives OTA updates.
[Samsung Galaxy S 5 Unified Development] zimral.xda:
Yeah, its still a very useful phone. I am "rotating" a S5/klte together with a Pixel2 and a Pixel3 for business, private and spare usage. OK, the Pixels with 4/64 GB have a better performance but my S5 has 2/16 plus 64 SDcard and i 've planned to use it as long as there is a pure LOS ROM for it. (Thx to Mr. haggertk )
[Samsung Galaxy S 5 Unified Development] zigadirasu:
I think last update (lineage-18.1-20210606-nightly-klteduos) has issue with magisk, after i upadate it it gets stuck on the Samsung S5 screen. After made a clean install works normal but when flash magisk, same thing happens.
[Samsung Galaxy S 5 Unified Development] lecorbusier:
This time time the OTA update worked (which in most cases fails with a most generic error), magisk survived and i could perform a TB backup w/o reboot (and sd corruption).

As happening since 17.1, already several times wifi was disabled upon resume from standby or was enabled, but not connected to the ap. I have a wifi mesh at home.
[Samsung Galaxy S 5 Unified Development] Boatshow:
I think it's intended behavior but I've definitely ran into this roaming problem too. The phone's really bad about roaming between alike APs when the screen is off. Try disabling wifi scan throttling in the developer options.

Your mesh system might also have a setting called "roaming assistant."

Some of the stats are bad due to overcounting incidents but as far as actual phones, klte's still up there.

https://stats.lineageos.org/

I like battery phones because from my experiences I go 4-5 years before replacing them. For ~$50 used it's not bad, you get a traditional phone you can hold with one hand sans notches. But if you enjoy a larger phone you can get a used or new LG V20 for $100-$150. I'd never recommend the S5 to anyone but a masochist.

🤣​
[Samsung Galaxy S 5 Unified Development] lecorbusier:
Yes, i enabled wifi scan throttling, might disable it and encounter battery life even worse than already.

There is no such as "roaming assistant", but the only other device losing connection in standby(despite supporting the whole range of 2,4 and 5ghz channels) is an internet radio. I have two others based on the same chipset, but with different firmware version, which behave well.

I tend not to notice the missing wifi immediately, losing part of my mobile data contingent while surfing at home, which is the most sucking aspect....
[Samsung Galaxy S 5 Unified Development] zimral.xda:
Nahhhh, its not that bad man. My only point of critics is the poor camera. See how old it is. replaceable battery is a plus, i changed one a few months ago buyed from Aliexpress for 5-6€. You need to take care of the camera glass, but this is replaceable (very easy for 2-3€/3 pieces). There are still alot of s5 mini avail. i like that either due to its size - love smaller phones... :cool:
[Samsung Galaxy S 5 Unified Development] kingozilla:
Oh thank you for providing the stats! 23K for Lineage OS s5 users isn't a simple number honestly, wow.

I stunned when I knew that the first device herolte is S7, I thought most of the custom roms users are from devices like oneplus - xiaomi or such like phones. S7 Edge honestly is literally the best device from looks to my eyes, it was awesome.

s5 in my opinion is the last string of the old devices, before android marshmallow and the new flat material design. From s6 and higher we're in the new era of phones.
[Samsung Galaxy S 5 Unified Development] Boatshow:
Yeah those numbers aren't right at all. A better comparison for 2021 is probably comparing 18.x installs. klte* is probably in the top 5 of LOS devices if you use that comparison.

bacon (1+1) 6869

klte (S5) 5969

+774 for klte* variants that have 18.x installs​

...

lavender (Redmi N7) 5850

The bacon has similar hardware as klte so the takeaway is a crazy number of people use ancient phones.

Edit: @Raldor I just discovered something obvious that might help prevent your games from stuttering. You're supposed to configure the phone's CPU behavior with Settings > Battery >Battery Saver and Performance > Performance Profile.

The slider works and interfaces with the CPU governor. I had mine set to "Efficiency" the whole time. Faster profiles make the CPU snappier and the profile called "Performance" pegs most CPU cores to 2.4 GHz.

It never occurred to me that the slider actually did anything. I'm sure there's docs about it in the source code somewhere. This also explains why weird things happen if you switch off the interactive governor.

Might have to eat my words about the S5 and V20. My telecom hasn't announced anything yet but 3G support might go away soon. Neither phone supports VOLTE in LOS and calls go through 3G.
[Samsung Galaxy S 5 Unified Development] spamrefuse:
I get a "blue screen of death" when I disable the "Android Accessibility Suite" app. I have tested this against lineage-18.1-20210530-nightly-klte-signed and lineage-18.1-20210606-nightly-klte-signed.

This happens with hours inbetween. It starts with a phantom notification (nothing has actually arrived) and when I check it, I only get this 'half blue' screen with the time and date in it. Nothing else works anymore.....I have to remove the battery or press 'volume-power-home' for a long time in order to enforce a reboot.

To my surprise: I find a screenshot of this 'blue screen of death' in my gallery.

Does anybody have a clue as to how and why this happens?

-R.L.
[Samsung Galaxy S 5 Unified Development] Boatshow:
That happens when you pass a magnet near your phone and it thinks you have a smart cover accessory.

Settings > Connected Devices > Connection Preferences > Smart Cover > Off
[Samsung Galaxy S 5 Unified Development] curiousrom:
Disabling Smart Cover - FlipFlap

That's right.

Might as well recycle some screenshots made for an old S5 LineageOS 16.0 thread.

FYI an other method: if not rooted you can use the adb command method described in How to disable any pre-installed system app bloatware on Android without root using adb.

These tweaks will survive updates.

Just go to > Settings > Apps & notifications > 3-dots > Show System > app's name > Advanced > scroll all the way to the bottom to get the package name to be used in adb. In this case it is FlipFlap:

Windows Command Prompt:

adb shell pm disable-user --user 0 org.lineageos.flipflap

Mac/Linux Terminal:

./adb shell pm disable-user --user 0 org.lineageos.flipflap

***
[Samsung Galaxy S 5 Unified Development] curiousrom:
S5 LineageOS 18.1 Update 2021-06-13 - Lost Settings Widget Shortcuts

Using the built-in Updater I OTA updated S5 G900M LineageOS 18.1 klte build 2021-06-06 + MindTheGapps + Magisk 23.0 + TWRP 3.5.2_9-0 to build 2021-06-13: Magisk survived the update but minor annoyance: some Lineage widget created shortcuts were lost on Home page.

There was no spectacular changes in https://download.lineageos.org/klte/changes/ but updated anyway so I could post about it.

I use the stock LineageOS Trebuchet launcher and these were shortcuts created with the LineageOS Settings widget & stacked to create a Settings folder as seen in the screenshot. Other shortcuts created with a third-party app were also lost.

It's weird because I had that minor issue with update 2021-05-23 but not with the 2 following ones but now it came back.

These bunch of changes were not merged in time for this build so the monthly Android security bump will have to wait for the next build.

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

***
[Samsung Galaxy S 5 Unified Development] EeeK:
Hi, does this support SM-G901 / Galaxy S5 LTE-A, device type kccat6xx
[Samsung Galaxy S 5 Unified Development] Garry58:
You can see a list of supported devices at the original post. G901 isn't one of them.

You can find some builds at Snapdragon subforum. I think Lineage 16.0 is the most recent one (last updated in 2019).
[Samsung Galaxy S 5 Unified Development] EeeK:
Thanks @Garry58 for the confirmation.

@haggertk, may I request this model to be added?
[Samsung Galaxy S 5 Unified Development] kurtn:
You can find unofficial builds in linked Google drive

https://xdaforums.com/m/ripee.6005084/about
[Samsung Galaxy S 5 Unified Development] spambootle:
Does Gapps work with this version 18.1?

Neither Gapps nor NikGapps work on my Galaxy S5 (G900F).

Why release soft on android 11 if there is no Google application for it ??
[Samsung Galaxy S 5 Unified Development] kurtn:
RTFM https://wiki.lineageos.org/gapps.html
[Samsung Galaxy S 5 Unified Development] x2k13:
These are OpenGapps TEST builds for arm 18.1. No support from anyone with this, you are on your own there. I've tested pico & nano, working good so far on my G900F without issues.

OpenGApps - Browse /arm/test/20210130 at SourceForge.net

OpenGApps daily releases

sourceforge.net
[Samsung Galaxy S 5 Unified Development] jenssa:
I understand that it is hard to understand what a non-English speaker doesn't understand, but it is the "mount system". I thought it was the mount button in twrp, but that's what confuses me. Are you talking about some option that emerges during installation of gapps?
[Samsung Galaxy S 5 Unified Development] kurtn:
Sorry for the confusion. Let's start a new conversation on that. You have an S5 with twrp and lineageOS and GApps. You want to remove GApps? Yes or no?
[Samsung Galaxy S 5 Unified Development] jenssa:
I thought I should try that, yes, because my S5 is so slow and laggs a lot. I suspect that I have two packages of gapps. But I hestitate to reinstall the whole thing again, because it takes a lot of time. So I need to understand exactly how to get rid of gapps residue.
[Samsung Galaxy S 5 Unified Development] kurtn:
No one has two packages of GApps. I really suggest re-installation. You wasted too much time in this discussion. Especially with a Google account, installation is not that hard.
[Samsung Galaxy S 5 Unified Development] jenssa:
Sorry to waste your time. However, I think I was able to get rid of any residue there might have been left of gapps or whatever that slowed down the phone and reinstall os and Bitgapps (second to last build) after a thourough wipe. So far the phone appears much quicker.
[Samsung Galaxy S 5 Unified Development] Boatshow:
Wow there's a lot of bluetooth-related changes in the upcoming nightly. o_O

LineageOS Downloads

download.lineageos.org
[Samsung Galaxy S 5 Unified Development] x2k13:
Wondering if the constantly occurring disconnects will be gone eventually.

For the record:

Using BT and BLE dependent apps (like Gadgetbridge) together often results in BT disconnects, e.g. my Soundbar or car BT audio source, which really is a nuisance.
[Samsung Galaxy S 5 Unified Development] Raldor:
I tested them before and concluded they had no effect, but your post convinced me to test them again.

Setting the slider to "Quick" greatly reduces the stutters, and setting it to "Performance" eliminates them completely. So that would be problem solved, except...

These settings don't stick after a reboot! That is, if I set the slider to "Performance" and reboot, the slider remains set to "Performance", but the CPU is no longer locked to 2.4 GHz. Does this happen with your phone too?
[Samsung Galaxy S 5 Unified Development] OldButNotObsolete:
Status Bar Minor Issues x 2

Re: Settings, System, Status Bar, System Icons.

a) I cannot see an option for the Location Icon;

It was there in LOS 16, so I'm assuming it should be there in 18.1.

(I know that to Assume can be dangerous ;-)

b) The Icon for BlueTooth can be Enabled, but does not show when Enbaled, even though it shows as Enabled in the Quick-Drop-Down.

Other Icons are shown correctly.

It occurs with both the Large Font Size, and the Default (smaller) one.

It occurs in Normal Mode and Dark Theme.

It occurs when any / all / none of the other Icons are enabled.

Has any one else experienced this or see this?

My G900F Install route is:

Super Clean Install;

Stock UK BTU ROM Dated Nov-2020, then;

18.1-20210509-nightly, then skipped to;

18.1-20210613-nightly.

I have:

CTK2 BootLoader

CQK3 Modem (Baseband)

Ta

P.S.

I'm grateful for the ScreenShot option being available thru the Power Button. Thank you.
[Samsung Galaxy S 5 Unified Development] spamrefuse:
Super! Thank you, that was indeed the problem.

I had no idea at all about this setting, because I don't have and never had a cover accessory.

It's strange that this setting seems to be enabled by default, causing unexpected trouble for ignorant people like me, whereas people with a cover accessory probably are well aware of how to enable it on their phone.....

Thanks again!

-S.R.
[Samsung Galaxy S 5 Unified Development] curiousrom:
Re: Status Bar Minor Issues x 2 - Trebuchet Crashing

That's a "feature". The Location icon will appear on the Status bar to warn you only if an app is using it if you enabled Location. No way to prevent that in 18.1 & it's a good thing IMO. Edit: the option was added with update 2021-06-20. See this post.

That's also a "feature" since LineageOS 16.0: the Bluetooth icon will appear in the Status bar only if the S5 is connected to a Bluetooth device.

I wish it would be there even if no device are connected to remind me to turn it off but that's how it is @ the present.

FYI in the Location panel you can disable Wi-Fi & Bluetooth scanning.

***

Trebuchet Crashing

I noticed a bug appearing recently: after expanding the Status bar quick tile curtain if you long press the clock the Trebuchet launcher/U.I. crashes (screenshot). Same with shortcuts like Wi-Fi, Location, etc. instead of opening the corresponding settings panel.

That's on Galaxy S5 G900M LineageOS 18.1 klte build 2021-06-13 + MindTheGapps + Magisk 23.0 + TWRP 3.5.2_9-0.

Will create a bug report if the issue is still there after the next update.

***
[Samsung Galaxy S 5 Unified Development] Lordicus21:
There is some bugs on my KLTEDUOS:

- While using 2 SIM card, SIM 2 gets total muted at calls, and only works 2G (EDGE) network (I've also tested with only one sim on both entrances and all works well (4G, calls sound and MIC) this way);

- 90 and 60fps Camera Recording doesn't work at all (at any resolution), it doesn't even have the 120fps option.

Will those bugs be fixed in future? Anyway, thank you very much for all your work.
[Samsung Galaxy S 5 Unified Development] chillipig:
The dual SIM operation is the thing I would most like to see fixed, stock lets you toggle 4G/2G between SIM slots with equal functionality where Lineage designates one SIM for 4G/2G use and toggling gets 2G/no connection, physically swapping them causes one to use 3G and the other never goes above EDGE,

I have the Russian and Arabic versions of the DUOS and it happens on both with the slight difference of it being the opposite SIM slot combination that works properly from one to the other. It's possible your issue is different as its related to the operators you are using.

Dual SIM is probably an area that requires a lot of time to resolve which Haggertk probably cant justify as its unique to just one variant or possibly because it requires Samsung proprietary software to work correctly.

Would be nice to know if it has any chance of getting fixed in the future though.
[Samsung Galaxy S 5 Unified Development] Boatshow:
Works on my end, I set the phone to performance and rebooted it. At least a few of the cores would try to stick on 2.4 GHz.

The cores start downclocking when the phone reaches about 60-65C which can happen right after booting.
[Samsung Galaxy S 5 Unified Development] OldButNotObsolete:
FYI - It worked sucessfully for my Build, 3 times on each of the three Icons you mentioned; flawlessly

P.S. Didn't know you could do that with the Time.

Also, thnx for the Knowledge Share re:
[Samsung Galaxy S 5 Unified Development] curiousrom:
S5 LineageOS 18.1 Update 2021-06-20 - Android Security Bump

Using the built-in Updater I OTA updated S5 G900M LineageOS 18.1 klte build 2021-06-13 + MindTheGapps + Magisk 23.0 + TWRP 3.5.2_9-0 to build 2021-06-20: everything went smoothly & GApps + Magisk survived the update.

There are a bunch of changes as you can see in https://download.lineageos.org/klte/changes/ but of note besides several related to Bluetooth:

After the automatic reboot as seen in the screenshot > Settings > About phone > press on Android version > Android security update: June 5, 2021.

The Vendor security patch level just below it 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.

See Android Security Bulletin - June 2021 for details about the security fixes.

Contrary to update 2021-06-13 as I posted here, shortcuts on Home created with the LineageOS Settings widget & a third-party app survived. 🤷‍♂️

BTW you can create a direct link to Updater & much more with the LineageOS Settings widget. I stacked a few of them on Home to create a LineageOS shortcut folder for quick access as seen in the screenshot.

This issue was fixed for me with this update:

Really happy as I use that curtain Clock shortcut daily & the others quite often also. 👍

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

***

@OldButNotObsolete - With this update the Location icon option was added in > Settings > System > Status bar > System icons. But as posted previously I like to know if an app is using location so won't disable it.

That's the change that did it: SystemUI: Expose location icon to Tuner

BTW thanks for testing the curtain shortcuts on your device & posting about it. 👍

***
[Samsung Galaxy S 5 Unified Development] Boatshow:
No obvious problems with build 20210620.

Not much improvement in bluetooth behavior though. Can still cause BT audio to disconnect/reconnect by scrubbing videos a lot and opening a bunch of stuff on the device.
[Samsung Galaxy S 5 Unified Development] curiousrom:
Re: S5 Bluetooth Crashing?

That's way too many variables & no logs to conclude anything about Bluetooth.

Maybe you are pushing the venerable S5 & it's limited available RAM & something else is causing your issue?

Create a logcat & open it in Notepad++, WordPad or similar & search it with `chatty` or `crash` or `Beginning of crash` or `killing` for example, etc.

You could also create a Bluetooth Manager log. See this post about how to do it & the attachment example: S5 Bluetooth Crashing Bug Report?

Did you notice the Bluetooth settings in Developer options?

***
[Samsung Galaxy S 5 Unified Development] Boatshow:
Got a logcat with a pretty obvious example and a bluetooth manager log. I'll post them later (hopefully lol).

Bluetooth still works well enough it's just mildly annoying when it happens. It's probably just as you suggest, the disconnect/reonnect events coincide with the low memory killer reclaiming resources.

Edit: Whitespaces are junk logs caused by AFWall so I stripped them out for readability. The BT device is a pair of 2nd gen Airpods. I caused BT to fail by constantly scrubbing forwards/backwards 10s on a YT video in NewPipe. The crash of interest is at:

06-21 05:43:28.620 20908 20953 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 20953 (bt_hci_thread), pid 20908 (droid.bluetooth)

I did fiddle with the developer options. Currently using AAC. I have a feeling SBC dual channel mode is more stable but that's hard to test.
[Samsung Galaxy S 5 Unified Development] spamrefuse:
I have June 17 version on my Samsung Galaxy S5, together with the Google stuff.

When I unlock my screen (with a swipe), I see following line sometimes appear on the screen for just a second or so:

"On-Going Notification, Widgets and Alarm data ar..."

This appears SOMETIMES, not always. What is this about? Is it related to some setting?

I don't know what "ar..." is supposed to be...the message appearance is too short for investigating.

Any ideas?

Thanks.

-S.R.
[Samsung Galaxy S 5 Unified Development] Garry58:
Android 11 has notification history, maybe it will tell you which app sending it (and its full text).

Settings - Apps & Notifications - Notifications - Notification history. Pretty sure it's disabled by default
[Samsung Galaxy S 5 Unified Development] ProfEngr:
I'd like to update my G900V / VZW S5 (on safestrap, Android 5.0) to this ROM. Is that possible following the standard flashing process linked from the main post? TIA.
[Samsung Galaxy S 5 Unified Development] yoshkapundrick:
Under the heading it's probably my battery, I am noticing reduced battery life with 6/20 update.
[Samsung Galaxy S 5 Unified Development] zimral.xda:
That one: https://download.lineageos.org/klte

Should be possible as the 900V is the "klte" version either, i have the 900F.

I recommend to go for Samsungs latest version (was this A6 on the 900V either?) to have the latest vendor patchlevel as of August-2017.

And then follow the well written installation instructions.
[Samsung Galaxy S 5 Unified Development] curiousrom:
Galaxy S5 SM-G900V

That's not a good advice because the Galaxy S5 SM-G900V has a locked bootloader thanks to Verizon & it's a pain in the butt to unlock. See [GUIDE] Root, Bootloader Unlocks, and More!.

Flashing stock Samsung OS will relock the G900V.

It's better to do this: S5 Odin Flashable Modem & Bootloader because several S5 klte variants users reported failed to boot on 17.1 & 18.1 with a modem older than Android 6.0.1. Old modems may also cause No Network or No Service issues.

And also update TWRP then backup the EFS partition before flashing LineageOS 18.1: How To Update TWRP Using TWRP Itself.

***
[Samsung Galaxy S 5 Unified Development] ilidan371:
Were there changes in 6/13 update that were rolled back in 6/20? Sd card issues again for me. I'll wait for today's update. G900f