yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] devilhopper:
Indeed. That gives me the vague hope you might know which tree to bark up at? Because I've done pretty much everything I could imagine, even disabling all location modules had no effect.
[Samsung Galaxy S 5 Unified Development] kurtn:
Wrong microG location are usually caused by Mozilla WiFi database. Disable that. If still on microG 0.2.27 install apple backend. And/or go for a walk with a navigation app running that should get real sattelite based location and store that in a "wifi remember" database.
[Samsung Galaxy S 5 Unified Development] devilhopper:
Thanks a ton. Unstinstalled microG 0.2.30, installed 0.2.27, deactivated Mozilla, activated Apple backend, works like a charm now.

Who would have thought I'd ever use an Apple product...
[Samsung Galaxy S 5 Unified Development] curiousrom:
FYI see the LineageOS blog post: Sunsetting LineageOS 18.1.

Meanwhile check S5 klte* - Unofficial LineageOS 21.0 Android 14.

***
[Samsung Galaxy S 5 Unified Development] Johannesq:
First of all big thanks to all the devs that have kept this phone alive with continuous updates :)

I've been using this rom without root and gapps for quite a long time at least 2 years.

Somewhere during the last year I encountered the first issues.

Whenever I connect a charger to my phone, the phone slows down for a minute or more to a point where it is almost unusable. After this it works fine like always.

Second issue I have started with the February update. Occasionally the phone just reboots while using it.

It happens very rarely. Last month one time. This month 2 times and one reboot resulted in a never ending boot until I pulled out the battery.

Did anybody experience something similar or is it just me?
[Samsung Galaxy S 5 Unified Development] io2345:
Please, would one of the s5 KLTE owners be so kind to upload a build.prop file from /system (if possible with enabled USB debugging option).

This file on my phone got lost, which is quite a problem if your phone was (like mine) without display
[Samsung Galaxy S 5 Unified Development] devilhopper:
I installed the final nightly yesterday, and my phone crashed twice today. Anyone else having issues, or do I need to look into other possible reasons?
[Samsung Galaxy S 5 Unified Development] JoeDoe0:
I installed the final release straight away upon availability on a klte and klteduos without any issues so far.
[Samsung Galaxy S 5 Unified Development] devilhopper:
Yeah, I confirm it must have been a statistical abnormality - didn't have any issues since (crossing my fingers). I do have the same problems with the camera though that have been reported repeatedly during this thread (camera suddenly claims connection issues until the phone is restarted). Is my research correct that this is an unfixed issue that we now need to live with?
[Samsung Galaxy S 5 Unified Development] mostafa3bdou:
As long as the device will no longer receive future updates due to old kernel version with iptables which is replaced with the new ebpf, just an idea came to my mind... can the contributors provide only the bug fixes and improvements without security updates?
[Samsung Galaxy S 5 Unified Development] klaus-hamburg:
The folders for S5 builds on https://download.lineage.microg.org are gone.

Does anyone know the reason and where I can get the last Los-Microg build for klte?

ooooooh just found:

archive
[Samsung Galaxy S 5 Unified Development] arm_chair:
problem resolved but don't know how to delete this message
[Samsung Galaxy S 5 Unified Development] Bifidusse:
Thanks for supporting this device so long. I bought a second-hand S5 3 years ago to install LOS. Worked pretty well until know. Just bought a XZ2c (now on LOS 21) to replace my S5 (way faster, still maintained).

Thanks again !! (y)
[Samsung Galaxy S 5 Unified Development] fakezorlend:
After flashing, still on twrp Wipe > Data type YES to confirm when asked. This fix this problem on most of ROMs with that issue.
[Samsung Galaxy S 5 Unified Development] mrdevil786:
Hello guys i know haw to fix charging problem its simple just change boot.img
[Samsung Galaxy S 5 Unified Development] Johannesq:
Does anybody have the latest build of LineageOS 18.1 for klte G900F or knows where I can download it?

It should be from March or April I think.

Ah never mind I found it: https://lineage-archive.timschumi.net/
[Samsung Galaxy S 5 Unified Development] Hamza Shahbaz:
Thanks for your response…..I am using the correct power adapter as rated by you 5v 2A, and the device doesn’t charge when turned off….It charges perfectly fine in TWRP …..On lineage Os 18.1 i noticed that when i keep my device connected to the charger the device won’t show any charging activity or notification but after the removal of the usb cable after sometime and a system reboot, the battery level is changed…For instance if its 20% it would be 35% etc after reboot….That means the device is charging in background but not showing any response to the charger… The data transfer process works fine in lineage OS 18.1 but no charging activity while on TWRP it shows charging activity with data transfer when connected to a computer….
[Samsung Galaxy S 5 Unified Development] curiousrom:
Re: S5 kltekdi Charging Issues - Battery % After Reboot

That's good because it rules out hardware, USB cable or power adapter issues.

In TWRP with the power adapter, if you charge to 100% + leave it connected for an additional 30 minutes then disconnect & reboot to system, what battery % does it show on the status bar?

After connecting the S5 to the power adapter for at least 2 hours & rebooting to system what battery % does it show on the status bar?

I am asking these battery % after reboot because of what I posted here in the S5 16.0 thread but still remains valid: S5 Battery Charging - Fake 100%.

Does a third-party app like the excellent GSam Battery Monitor, for example, show your S5 charging & mA current like the attached screenshot I just took of my S5 G900M klte build 2021-05-02 connected to a power adapter with a 5V @ 2A output?

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

Did you install or OTA updated the most recent build 2021-05-07 @ the present for your S5 kltekdi & test charging again?

***
[Samsung Galaxy S 5 Unified Development] Boatshow:
I modified the min/max SoC speeds (CPU min to 268 MHz and max to 2.5 GHz, GPU max to 600 MHz) in cpufreq_limit.h and edited msm8974/msm8974pro freqs and voltages with the *.dtsi files. I compiled the kernel, packed it into boot.img and flashed it.

I can tell the kernel swap was successful with "uname -r" but I see zero changes in the clock freq readouts. Are clock/volt settings controlled elsewhere? 🤔

Edit: I merged some changes from here

I seem to have voltage controls now. Will test it out and try to remember to keep my promises.

Edit2: I noticed my phone started cooling off as soon as I tweaked the voltages. Could be placebo. I have no way of properly verifying if the hack is working properly. Yeah it works, undervolting too much crashes my OS. :P

Edit3: Made a separate thread so I'm not taking up too much discussion space
[Samsung Galaxy S 5 Unified Development] Garry58:
Any way to change Charging sound on 18.1 (without messing with system files)? There was an option on 17.1, but 18.1 simply has a toggle.

Low battery is set to Default notification sound for some reason, which is quite silly. Found that you can change it just like any other app by holding the notification and going to App info. Or by going to Apps - Show system - System UI - Notifications - Battery and changing it manually (in that case, you need the sound in your Notifications folder).

So I was thinking if charging sound is tied to some app as well, though I'm assuming it's unlikely, since it's not a notification.
[Samsung Galaxy S 5 Unified Development] Hamza Shahbaz:
Well to be honest…I think the phone is eating too much battery power ….I have a month old RAV power battery in this phone and it gives me nearly 24 hours on the stock touchwiz software on a single charge…When it is fully charged on twrp and rebooted to the OS the battery would stay 100% for like 3 minutes and it will go down to 99%…. at the same time if the system is rebooted back to twrp without connecting charger it shows 100%…….After connecting the Power adapter to S5 for like 2 hours there is a considerable difference in battery % for instance if the battery is at 35% before charging it will go straight upto around 67% after 2 hours and a reboot…..Yes i upgraded to the latest OTA but the results are the same….i will test out Gsam battery monitor and will let you know….Thanks

Update: I tested Gsam Battery Monitor its showing the same percentage of battery as the OS itself and doesn’t show any activity when charger is connected or disconnected

There are the image attachments of s5’s screen and the adapter i am using….This adapter is perfectly fine as it is charging my ipad perfectly and the shown motorola device as well….
[Samsung Galaxy S 5 Unified Development] ludwig83:
Hey Guys! As mentioned before I opened an Issue on gitlab because of the "No Sim Card" thing on my klteactivexx

No Sim Card - Service not available / but only after losing Telephone Provider Signal (#3419) · Issues · LineageOS / issues / android · GitLab

Klteactivexx clean flash - Lineage Recovery with LineageOS 18.1 and MindTheGapps. Everytime I lose my Telephone Provider Signal - either in the coutryside or in a garage -...

gitlab.com

I think this week I found out were the problem is from...when I got to Setting -> Network and Internet -> Mobile Network -> Advanced -> and there I disable "Automatically select network" --> My device gets stuck into "choose Network" by searching for connected Networks :/

How does your Klte behave when you try to find other Phone Providers? Maybe Mr @haggertk could try it out with his klteactivexx. I would really apprechiate his help. Or someone else has a good idea ...maybe a workaround .....
[Samsung Galaxy S 5 Unified Development] kurtn:
It needed a really long time and a second approach but now I see alternative providers. Next I got a timeout of settings app.
[Samsung Galaxy S 5 Unified Development] ludwig83:
Thx for trying....you are right! In the 3rd attempt it works on my device too...

aaaaaaarrr ....so im back were I started ...

But I choosed Magenta now manually. Maybe this has an influence to my "No Sim Card" problem...we will see :)

Edit 2021-05-08 21:00

Error occurred in in the evening again when I was in the garage :/ ... so I set back the provider network to automatic
[Samsung Galaxy S 5 Unified Development] Eadn33:
Upgraded my G-900V from 17.1 to 18.1 using the 2021-04-25 build with lineage recovery and a "super-clean" install with MindtheGapps. All went well with one oddity that was resolved. On first boot, the setup wizard hung on "no service provider". Eventually skipped and finished google and lineage setup and found had no mobile data. Thinking this was likely the common (for 900V) corrupted EFS partition, I went back, installed TWRP and restored EFS partition and rebooted only to still have no service.

Then looked a little closer and found mobile data was off in settings. Turned on and everything worked.

In case others face similar, one other thing is recently on the 2021-05-02 build, pressed power button to find display showing time and blue background on partial screen and could not unlock/use phone. This triggered memory from previous issue a year or two ago, so I found a magnet and moved it around until triggered the Smart Cover sensor and the phone unlocked. Went into settings, disabled Smart Cover and should be good now.

Finally, purely cosmetic, but I note that the sideways arrow in the volume settings that allows for expanding to see all the volume settings appears to be backwards for expanding and then collapsing those volume sliders.

Overall, working great and very happy with my phone running 18.1. Thanks
[Samsung Galaxy S 5 Unified Development] haggertk:
I've been asking people to test a bootimage for ages and they always flake out and disappear. I'll DM you a link to a boot image.
[Samsung Galaxy S 5 Unified Development] cexcells:
I have 2 klte S5s. One at anytime is for daily use, the other is used for testing I dirty flashed the official release of lineage 18.1 over haggerts unofficial with just clearing dalvik/etc and cache. No magisk or encryption. All working fine so far.

I want to disable Smart Cover too but can't find it in settings. Searching settings for it doesn't show it. Where is it located?
[Samsung Galaxy S 5 Unified Development] aaanonymous:
Settings -> Connected Devices (Bluetooth, NFC) -> Connection Preferences (Bluetooth, NFC) -> Smart Cover (Control your accessory behaviour) -> Off

Enjoy....
[Samsung Galaxy S 5 Unified Development] cexcells:
Ha, after doing my upgrade with wiping cache and dalvik the smart cover setting wasn't there. I moved my phone over the magnet in my tablet's cover and smart cover detected notification showed. Then the setting to disable it appeared in that location.
[Samsung Galaxy S 5 Unified Development] zimral.xda:
Might be a silly question, but has the "Smart lock" function gone away?
[Samsung Galaxy S 5 Unified Development] yoshkapundrick:
Smart Lock works well for me with bluetooth portion of trusted devices but the trusted places doesn't work for me although it may be my fault.
[Samsung Galaxy S 5 Unified Development] zimral.xda:
Hmm, never used these, i used the "carry with me" function instead. Just checked this on 17.1. You need to unlock twice and then its unlocked as long as you have it in your pocket and move. Its a nice feature and useful if you walk with the dog or in public transport. Same thing with 18.1 for the Pixel2. There this feature has been gone either
[Samsung Galaxy S 5 Unified Development] curiousrom:
S5 LineageOS 18.1 Update 2021-05-09 - Security Bump, Camera U.I. Fix & Kill App Option

Using the built-in Updater I OTA updated S5 G900M LineageOS 18.1 klte build 2021-05-02 + MindTheGapps + Magisk 22.1 + TWRP 3.5.2_9-0 to build 2021-05-09: 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:

After the automatic reboot as seen in the screenshot > Settings > About phone > press on Android version > Android security update: May 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 - May 2021 for details about the security fixes.

With the change Snap: use translucent control background on 16:9 the stock camera is showing the full frame preview again (screenshot). There are other minor Camera changes.

Interesting also there is a new Kill foreground app option in > Settings > System > Buttons > for Home, Back & Recents buttons which is useful when an app is frozen or you want to prevent it from using some RAM in the background (screenshot). Note that it may make it slower to open that killed app the next time you want to use it.

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.

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

***
[Samsung Galaxy S 5 Unified Development] Boatshow:
That used to be in the developer options for the back button. Happy it's back. :P
[Samsung Galaxy S 5 Unified Development] Paul_Leger:
First of all: Thanks for keeping my phone alive and vivid.

What I use:

SM-G900F with LineageOS 17.1 and LineageOS Recovery (17.1).

What happened:

I was upgrading from 17.1 to 18.1 as described in the lineage wiki (https://wiki.lineageos.org/devices/klte/upgrade) using the Lineage recovery. After rebooting and entering my the pin the screen shut off and back was I at a locked screen. I sideloaded the remov_lock.zip (https://xdaforums.com/t/tool-tested-remove-lockscreen-password-pin.3692411/) but it showed no effect. Then I flashed TWRP, rebooted into recovery and deleted three files ( /data/system/locksettings.db* ) via TWRP file manager (accessible under "advanced" options). I rebooted the phone. The lock was lifted and I set a screen lock afterwards again.

Big Thanks to @curiousrom who picked me up at the lineage subreddit.
[Samsung Galaxy S 5 Unified Development] VBBoston:
Hi!

My device is not recognized by PC, tried on 2 computers, different cables, USB debugging enabled, etc. Latest Samsung USB drivers installed. Not even "unknown" device shown on PC device manager. It worked fine before. What can be the problem?
[Samsung Galaxy S 5 Unified Development] ludwig83:
Data transfer is allowed? I sometimes forget to disable USB charging only ;)
[Samsung Galaxy S 5 Unified Development] VBBoston:
Yes it is allowed, I checked in developer USB options. Unless this function broke when I installed this ROM?
[Samsung Galaxy S 5 Unified Development] ludwig83:
Data transfer is allowed? I sometimes forget to disable USB charging only

Did you try connection in Downloadmode to Odin or Heimdall also?

(Heimdall of course only if you have prepared it in the past and usually not on the PC were you use Odin and Samsung USB drivers)
[Samsung Galaxy S 5 Unified Development] curiousrom:
Magisk 23.0 Update on Galaxy S5 LineageOS 18.1 - Magisk Installation

I used the installed Magisk 22.1 app on my S5 G900M klte 18.1 to update it to Magisk 23.0 app, then the Direct install method to update Magisk itself to 23.0 & all went well. (screenshots)

You can see the changelog in the app or: https://github.com/topjohnwu/Magisk/releases

Of note in that Magisk page it says this but it was not my case: "RESTORE THE EXISTING MAGISK MANAGER BACK TO NORMAL BEFORE UPGRADING IF HIDDEN!".

If you did not receive a Magisk update notification: Magisk app > Settings > Check Updates.

As you can see in the screenshot the SafetyNet test API was fixed in Magisk 23.0.

You can test also with apps like SafetyNet Test or SafetyNet Helper Sample for example.

If you want to try Magisk get the most recent stable version in https://github.com/topjohnwu/Magisk/releases

And follow the Custom Recovery method: https://topjohnwu.github.io/Magisk/install.html#custom-recovery :

Spoiler content hidden.

Make sure to enable Magisk app > Settings > MagiskHide afterwards.

I made 2 extra copies of Magisk-v23.0.apk.

One renamed Magisk-v23.0.zip & the other one uninstall.zip as per https://topjohnwu.github.io/Magisk/install.html#uninstallation and copied all 3 to the external SD Card :

Spoiler content hidden.

***
[Samsung Galaxy S 5 Unified Development] jdrch:
Is anyone else getting System UI crashing so hard that the phone locks itself immediately on unlock?

Also, what are folks doing for Google Apps given that OpenGApps still doesn't have an official Android 11 release?
[Samsung Galaxy S 5 Unified Development] kurtn:
Wiki.lineageos.org recommends mindthegapps. I recommend no GApps at all or Lineage.microg.org
[Samsung Galaxy S 5 Unified Development] x2k13:
If you

Running OpenGapps pico test without noticable issues so far.
[Samsung Galaxy S 5 Unified Development] bgatos:
Hi,

In Settings/Location: Bluetooth scanning toggle works but the Wifi scanning toggle always kicks back to inactive. Any help much appreciated!

Edit:

Partly solved. Wifi location scanning works but only if airplane mode is off.

Gps works fine.

But still some apps think location service is off on device...
[Samsung Galaxy S 5 Unified Development] Massedil:
Yes, it looks like this :

https://xdaforums.com/t/rom-officia...-samsung-galaxy-s5-klte.4267517/post-84903085

https://xdaforums.com/t/rom-officia...-samsung-galaxy-s5-klte.4267517/post-84903169
[Samsung Galaxy S 5 Unified Development] kurtn:
Anny GApps installed? MicroG variant works with WiFi scanning
[Samsung Galaxy S 5 Unified Development] jdrch:
Thanks! Since I'm coming from OpenGApps, can I just dirty flash LOS 18.1 + mindthegapps, or will I need to clean flash them?
[Samsung Galaxy S 5 Unified Development] kurtn:
Dirty flash should do
[Samsung Galaxy S 5 Unified Development] jdrch:
Awesome, thanks. I'll get on with that then.
[Samsung Galaxy S 5 Unified Development] curiousrom:
See Galaxy S5 LineageOS 17.1 Upgrade to 18.1 + OTA Update Success Using TWRP

***
[Samsung Galaxy S 5 Unified Development] bgatos:
Yes, I have the latest klte LOS 18.1 + mindthegapps + latest magisc v.23 (canary). device:900f
[Samsung Galaxy S 5 Unified Development] jdrch:
I tried both OpenGApps and mindthegapps and System UI is still crashing on unlock. Trying a clean flash to see what happens there.
[Samsung Galaxy S 5 Unified Development] Eagle_Droid:
Really want to use this but I have a G900H

Can you please make this version compatible?
[Samsung Galaxy S 5 Unified Development] curiousrom:
The S5 SM-G900H 3G Exynos is not part of the S5 klte Snapdragon family & with many hardware differences (chipset, CPU, GPU, etc.) so it cannot run the same ROM. See this specs comparison: https://www.gsmarena.com/compare.php3?idPhone1=6033&idPhone2=6237#diff-*,*,*

Try site:xdaforums.com/ SM-G900H lineageos for alternatives and change keywords to taste.

Good luck!

***
[Samsung Galaxy S 5 Unified Development] jdrch:
Are these the latest official superuser apps? The version numbers are pretty old ...
[Samsung Galaxy S 5 Unified Development] mangokm40:
Only Magisk for 18.1

https://topjohnwu.github.io/Magisk/install.html
[Samsung Galaxy S 5 Unified Development] jdrch:
Ah, no wonder my System UI was crashing when I dirty flashed from 17.1. Anyway I clean flashed (luckily my S5 is not my main device, I use it for watching streaming video only, so setup is minimal) and fixed that problem. Gonna install Magisk soon. Thanks!
[Samsung Galaxy S 5 Unified Development] dcarvil:
su was discontinued as of LineageOS 17.1. If you are on 17.1 or later use Magisk. If still on 16, those are the latest.

GitHub - topjohnwu/Magisk: The Magic Mask for Android

The Magic Mask for Android. Contribute to topjohnwu/Magisk development by creating an account on GitHub.

github.com
[Samsung Galaxy S 5 Unified Development] kurtn:
I don't see how magisk should be part of a minimal installation
[Samsung Galaxy S 5 Unified Development] jdrch:
Semantics. By "minimal" I meant "very few apps installed", not "limited capability." I previously used root for the Secure Settings app, but there may be a way around that.
[Samsung Galaxy S 5 Unified Development] SGS5Korea:
Good news for kltekor :)

Successfully dirty flash lineage-18.1-20210513 over lineage-18.1-20210506 and magisk v23.0 survive the update.
[Samsung Galaxy S 5 Unified Development] MilkyWay20:
Hi,

I made a dirty flash from 17.1 to 18.1. But now I'm not able to unlock the phone. After entering the PIN the screen become black. After a second it shows me that the phone is locked.

Any solution to unlock the phone?
[Samsung Galaxy S 5 Unified Development] MilkyWay20:
Just found the solution on

https://www.reddit.com/r/LineageOS/comments/mhs8wp

For dirty upgrade remove your PIN before upgrade. If you have already upgraded go back to TWRP and delete that file: /data/system/locksettings.db
[Samsung Galaxy S 5 Unified Development] ludwig83:
Read a lot about Magisk the last days...so I tried it out yesterday! Magisk v23.apk renamed to .zip and sideloaded through Lineage Recovery (aply update). No problems at all. works fine. After that I made the OTA update through auto updater...Magisk is still there. the only thing I recognized is that Lineage Recovery did not update. maybe I have to do the uninstall workaround (uninstall but no reboot and after ota install in Magisk Manager again) ...what do you think?
[Samsung Galaxy S 5 Unified Development] ludwig83:
@MilkyWay20 ...when you read a little bit before you post something ...

https://xdaforums.com/t/rom-officia...-samsung-galaxy-s5-klte.4267517/post-84903085

its not really hidden ...it happend on the 1 Side....