yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] devilhopper:
So after spending all afternoon trying to force file based encryption, but being unable to do so - is my hunch correct that FBE is impossible on the S5 due to limitations with the kernel or hardware? Because if Lineage 18.1 goes for FDE instead of FBE on a wiped phone, it only does that if it absolutely has to?
[Samsung Galaxy S 5 Unified Development] r3actor:
I just bought a new battery for G900F model. Does anyone know what would be the propper way to calibrate it?

And... should I discarge it to 0% and charge it back to 100% three times in a row?
[Samsung Galaxy S 5 Unified Development] hk133hk:
Don't do that, overdischarge may hurt the battery, just use it as normal.
[Samsung Galaxy S 5 Unified Development] bmwdroid:
Discharging to 0% is a bad idea.

Afaik the battery gets calibrated during usage after a while.

But somewhere on XDA I've found a battery test app for Samsung devices made by vndnguyen who made the PhoneInfoSAM as well.

I've found that 100% on device are shown although test app was still loading quite a while.

Btw it's not in the Playstore.

If you don't find it, tell me and I'll upload it to my Dropbox.
[Samsung Galaxy S 5 Unified Development] Tomek0000:
What is a charging issue ? Could you describe a problem ?
[Samsung Galaxy S 5 Unified Development] Hamza Shahbaz:
The device is charging in the background but it doesn’t show any response to the charger connectivity while booted into lineage os 18.1 and also on offline charging the device does the same…charging on twrp works fine….This issue is present since the release of lineage os 17 on this specific variant of galaxy s5 snapdragon ”kltekdi” aka ntt docomo s5 (Sc-04f / G900D). On lineage os 16 everything works perfectly normal. Although there is some progress related to solution of this problem on unofficial lineage os 19 aka android 12L. The developer has been able to solve this problem partially, the device now recognizes the charger connectivity but after sometime disconnects and keeps on connecting and disconnecting simultaneously. So there’s some hope that this problem will be solved in the future builds of lineage os 19.
[Samsung Galaxy S 5 Unified Development] r3actor:
Ok, thanks for the answer... but... since I still didn't removed the plastic envelope from the new battery (I still didn't started using the new battery)... what if...when I put the new battery, it shows 66% charged? Should I charge it to 100% or discharge it (to... I don't know... 5%, or 15%) first? Also, an app (AccuBattery) that I have installed on my tablet, suggest (it actually warn me) everytime I reach 85% while charging. It sais 'charging limit reached'. I don't know if 85% is considered 'good' percentage tor extensing the life of battery or its a non sense?
[Samsung Galaxy S 5 Unified Development] r3actor:
What do you mean by 'battery gets calibrated during usage' ? Also I heard that there might be some file on the phone that collect some battery data, so I'm concerned if the phone would continue to use old battery stats with new freshly inserted battery?

As for PhoneInfoSAM... its really strange that google play removed it from its site? Why would they do that if there were no shady things regarding that app?

Btw. topic is here: https://xdaforums.com/t/app-2-1-phone-info-samsung-refurbishment-check-csc-changer-and-more.2609045/
[Samsung Galaxy S 5 Unified Development] youphyun:
I am having issues with missed calls not being counted right / reset with the latest LineageOS - lineage_klte on my device. I am using LineageOS without Google services. I am using the Simple Dialer app from F-Droid instead of the default Phone app. The issue was also reported here: https://github.com/SimpleMobileTools/Simple-Dialer/issues/256 but according to other information on the internet I found that you can't clear missing call notification and that Google disabled access to this functionality to third party apps? Is this the right place to report it or should I log a ticket somewhere else?

Also this is the result after just 4 missed calls from the same phone number. It is very weird, the missed calls are somehow duplicated. Going into the Call details history seems to reset the counter for the missed call notification. What could be the issue?
[Samsung Galaxy S 5 Unified Development] bmwdroid:
That while using for some days with several chargings in the meantime it finds out by itself. But I may be wrong therefore afaik.

Search for .db files in /. I've found a battery_settings.db on another device with LOS. Don't have the S5 by my hand.

Because they didn't earn enough with it?

Do you really believe in Google protecting us?

I don't, therefore I use Netguard no Root by @M66B (brilliant app btw.) and block those which I think don't have to be connected.
[Samsung Galaxy S 5 Unified Development] x2k13:
These are statistics about what app used how much battery and such. It has nothing to do with the battery itself. So, deleting that file will just wipe your statistics, nothing more.
[Samsung Galaxy S 5 Unified Development] hk133hk:
Just use it as normal, and if you really worry about battery life, avoid overdischarge(avoid battery level lower than 20%) and overcharge(plug off the charger when the battery is 100% charged).

Also a good quality charger could extend your battery life, charger that comes with your phone is good enough.
[Samsung Galaxy S 5 Unified Development] curiousrom:
S5 Charging

That's not necessary.

I ran some charging tests on my S5 G900M using an inline USB multimeter and made this post: S5 Battery Charging - Fake 100%.

Amps goes automatically down when nearing 100% & eventually goes to 0 with just a trickle once in a while.

Check the screenshots in the post.

***
[Samsung Galaxy S 5 Unified Development] hk133hk:
In terms of self-comfort, this method does work.
[Samsung Galaxy S 5 Unified Development] wuko:
Hallo,

klte,buid 20220529,Magisk 24.3,no gapps, adopted sdcard: no problems

I always edit mixer_paths.xml to increase the speaker volume.

I am 78y old :-)

when I tried this with the the last two nighlty builds after OTA update

I get when i try to save the file a java.IOExeption error.

Any advice ?
[Samsung Galaxy S 5 Unified Development] kurtn:
System partition is read only when booted. I don't know how you came so far. If I change files, I usually copy them to internal storage. Edit that. Boot into twrp. Mount system. Rename the original file. Copy the edited file to original system folder. Reboot.
[Samsung Galaxy S 5 Unified Development] curiousrom:
S5 Magisk Persistent mixer_paths.xml mods

You can use this Magisk module I made myself, modify the mixer_paths.xml in it & it will survive updates: S5 Mic Boost Magisk Module - Stereo Recordings.

***
[Samsung Galaxy S 5 Unified Development] wuko:
Thanks a lot, it worked perfect
[Samsung Galaxy S 5 Unified Development] curiousrom:
S5 LineageOS 18.1 Update 2022-06-19 - Android Security Bump

Using the built-in Updater I OTA updated S5 G900M LineageOS 18.1 klte build 2022-05-15 + MindTheGapps + Magisk 23.0 + TWRP 3.6.1_9-0 to build 2022-06-19: everything went smoothly as usual & GApps + Magisk survived the update.

There are several changes listed in https://download.lineageos.org/klte/changes/ but most importantly it includes the monthly Android security bump: Bump Security String to 2022-06-05.

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

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 2022 for details about the security fixes.

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

***
[Samsung Galaxy S 5 Unified Development] minoo14534:
Hi

Thank you for your help.

I changed the values for microphone volume according to your instructions and now I'm very happy with it. Finally, people can understand me better when I'm on the phone.

My second problem is the volume of the earpiece speaker, I don't mean the main speaker, unfortunately it's too quiet when making calls. Can you please write me which values I can change in the (mixer_paths.xml file ).

I could use a little more volume when making calls.

That would be great
[Samsung Galaxy S 5 Unified Development] Massedil:
Hello ! Do you have Wifi Direct sharing working on this ROM ? If no, do you know why ? (For me, it is greyed out) Thanks !
[Samsung Galaxy S 5 Unified Development] curiousrom:
Fix S5 Low Earpiece Volume During Calls

You are welcome & thanks for the feedback.

Because your S5 is at least 6 years old & I don't remember anybody having this issue I would suggest to first clean the tiny holes of the earpiece with a vacuum cleaner, toothbrush or small needle without going too deep.

If it's still too low, in the section below I changed the value="82" to "86" in my S5's mixer_paths.xml Magisk module, rebooted & it is a tad too loud for me at max volume.

Go gradually if you need it even louder and don't go over 92 so not to damage the earpiece.

<!-- Voice call Scenario -->

<!-- RX part -->

<path name="voice-call-handset">

<ctl name="ES705 RX1 Enable" value="1" />

<path name="rcv" />

<ctl name="EAR PA Gain" value="POS_6_DB" />

<ctl name="RX1 Digital Volume" value="82" />

</path>

***
[Samsung Galaxy S 5 Unified Development] minoo14534:
Hello curiousrom

Thank you for your saving hint.

I've had volume issues for years.

I found that changing the earpiece speaker values to 93 got it really optimal volume.

<!-- Play Scenario -->

<path name="handset">

<path name="rcv" />

<ctl name="EAR PA Gain" value="POS_3_DB" />

<ctl name="RX1 Digital Volume" value="93" />

</path>

And for the volume of the main microphone and handset microphones to 114.

<!-- Recording Scenario -->

<path name="rec-main-mic">

<path name="main-mic" />

<ctl name="DEC2 Volume" value="114" />

</path>

<path name="rec-sub-mic">

<path name="sub-mic" />

<ctl name="DEC4 Volume" value="114" />

</path>

For this I use the App Mixplorer as root.

Thank you very much again
[Samsung Galaxy S 5 Unified Development] minoo14534:
I mean this speaker earpiece speaker.!

View attachment mediapoint_hörer-2.webp

curiousrom

I've had the same problem for years with a Galaxy S5 Neo with Lineageos 17.1

I've raised the issue before but haven't found a solution yet.

I don't know where to change the values.

Main microphone and sub microphone are much too quiet and handset microphones too quiet.

Maybe you know where I can change something in mixer_paths.xml

This is the Lineageos 17.1 mixer_paths.xml file for Samsung Galaxy S5 Neo.
[Samsung Galaxy S 5 Unified Development] curiousrom:
S5 LineageOS 18.1 Update 2022-07-17 - Android Security Bump

Using the built-in Updater I OTA updated S5 G900M LineageOS 18.1 klte build 2022-07-10 + MindTheGapps + Magisk 23.0 + TWRP 3.6.1_9-0 to build 2022-07-17: everything went smoothly as usual & GApps + Magisk survived the update.

There are several changes listed in https://download.lineageos.org/klte/changes/ but most importantly it includes the monthly Android security bump: Bump Security String to 2022-07-05.

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

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 - July 2022 for details about the security fixes.

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

***
[Samsung Galaxy S 5 Unified Development] briciola65:
good evening

today having nothing to do I tried to put the lineageOS 18.1 and the gapps 10.0.0 arm on the samsung s5, the lineageOS is loaded all perfect the problem and that the gapps do not and consequently I can not download applications because you do not see the playstore, someone is so kind to help me thanks
[Samsung Galaxy S 5 Unified Development] kurtn:
LineageOS 18.1 is android 11. Select GApps accordingly. Or use more privacy friendly app stores. F-droid and aurora store.
[Samsung Galaxy S 5 Unified Development] briciola65:
thanks everything works with both apps(y)
[Samsung Galaxy S 5 Unified Development] Boatshow:
T-Mobile shut down 3G on July 1? I didn't even notice, I still have service.
[Samsung Galaxy S 5 Unified Development] x2k13:
2G and 4G are still operational, that's why you still have service.
[Samsung Galaxy S 5 Unified Development] yoshkapundrick:
How without VoLTE?
[Samsung Galaxy S 5 Unified Development] kurtn:
Voice service is 2G
[Samsung Galaxy S 5 Unified Development] yoshkapundrick:
In US ?
[Samsung Galaxy S 5 Unified Development] Boatshow:
Maybe they haven't shut down HSPA(+) in major cities yet. 🤔

I'm gonna miss this phone when it's finally time to retire it. It's been an adventurous couple of years since I bought it for $50 in 2019.
[Samsung Galaxy S 5 Unified Development] rena_:
Every time i update the rom i have to reinstall magisk and change some properties in build.prop for the samsung watch to work.

How can i get both of them to survive OTA updates?
[Samsung Galaxy S 5 Unified Development] kurtn:
Magisk should survive, if you flash the apk in recovery. No idea with build prop. I only use gadgetbridge.
[Samsung Galaxy S 5 Unified Development] Gavin Capacitor:
I realize this was awhile ago, but do you still have a copy of this or know where I could find it?

Also I still have HSPA(+) service as well and I am in the US.
[Samsung Galaxy S 5 Unified Development] Boatshow:
I never ended up flashing whatever I downloaded (if it ain't broke break it later) but there's a firmware repository in the first post of this threadand it has a G900TUVS1GPK3_G900TUVS1GPK3_baseband_firmware.tar.md5. Not sure what that corresponds to and T-Mobile's removed the software update log. 🤷‍♀️
[Samsung Galaxy S 5 Unified Development] Gavin Capacitor:
So I downloaded that and flashed it - it gives me the baseband G900TUVS1GPK3 (December 15, 2016). I had (and re-flashed back to) baseband G900TUVU1GQC2 (April 2, 2017). I managed to find an archive of the t-mobile support page which is where I'm getting the dates from: T-Mobile S5 Firmware

The one you mentioned in the original post - G900TUVU1GRJ1 (December 6, 2018) - is afaik the latest one so I was hoping you had it. My calls are kinda garbled if they aren't over HSPA and I thought that baseband might help because it mentions a DTMF fix. If anyone has it I would appreciate it.

Incidentally I have the full stock firmware for G900TUVU1GQC2 if anyone wants it.
[Samsung Galaxy S 5 Unified Development] millenixGER:
Hello guys,

first thanks for supporting the klte. Thanks to this fantastic ROM my girlfriend could use her old S5 for several more years before switching to a new S20FE.

Now my primary phone broke and I installed the latest LineageOS.

All working really smooth so far apart from the fingerprint reader.

It wouldn't react when I swipe down the home button when trying to setup fingerprint unlock.

The fingerprint reader was working before, just don't remember whether it was in an earlier LineageOS version or with stock since she preferred to use the pattern unlock method and it was too long ago I tried out the fingerprint reader.

I verified installed firmware as requested in the first post. Baseband version is reported as G900FXXU1CQK3, so I guess it should be fine?

Earlier on the phone was running LineageOS 16.0 and I wiped all partitions before installing lineage-18.1-20220731-nightly-klte-signed through TWRP.

Would it still make sense to update using G900FXXU1CSA1_G900FXXS1CQA4_baseband_firmware.tar.md5 from the downloads?

If so what's the correct procedure to do this with Odin without losing all data? Looking at the contents of the archive I only see smaller sized partitions but just want to be sure I don't wipe any userdata by ticking the wrong checkboxes.

Unfortunately the URL (https://jira.lineageos.org/browse/BUGBASH-257) which explains the process that I found after some research is not accessable anymore (also no archived version on archive.org), so sorry for asking this question.

Any help appreciated!

Edit: I was brave and flashed G900FXXU1CSA1_G900FXXS1CQA4_baseband_firmware.tar.md5 with CP option in Odin. Now baseband version reported is G900FXXS1CQA4.

Unfortunately fingerprint reader is still not working.
[Samsung Galaxy S 5 Unified Development] rena_:
Since i configured the fingerprint reader, my battery very very often is empty. Removing the configured fingerprint or dirty flash doesn't help, so i have to flash it again with formatting data. I had read about this problem before but i had the impression the problem had be gone.
[Samsung Galaxy S 5 Unified Development] curiousrom:
S5 LineageOS 18.1 Update 2022-08-14 - Android Security Bump

Using the built-in Updater I OTA updated S5 G900M LineageOS 18.1 klte build 2022-07-17 + MindTheGapps + Magisk 23.0 + TWRP 3.6.2_9-0 to build 2022-08-14: everything went smoothly as usual & GApps + Magisk survived the update.

There are several changes listed in https://download.lineageos.org/klte/changes/ but most importantly it includes the monthly Android security bump: Bump Security String to 2022-08-05 and if you click on the left side of that page on Topic R_asb_2022-08 you will see that they are all related to that security bump and all made by Mr. haggertk.

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

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 - August 2022 for details about the security fixes.

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

***
[Samsung Galaxy S 5 Unified Development] curiousrom:
S5 Screen Lock Fingerprint Battery Usage

Several S5 users including myself reported excessive battery usage after registering some fingerprints.

Check this test I made on 17.1, did not try on 18.1 but it's the same I presume: S5 Screen Lock Fingerprint Battery Tests @ Idle - BetterBatteryStats

Maybe you had something else also eating the battery because I follow the S5 threads since 15.1 & did not see an other user saying that he needed to format after removing the registered fingerprints.

Besides using BBS as described in the test linked above check this post for more battery usage analysis using GSam: S5 klte LineageOS 18.1 Battery Usage @ Idle Test - Sleeps Like a Rock

***

You installed a recent vendor's firmware so it's probably a hardware issue as our S5s are getting older.

The best way to confirm or rule out a hardware issue is to flash the most recent Samsung's OS for your device but why bother because as you can read above the fingerprint reader may eat the battery on LineageOS.

"If so what's the correct procedure to do this with Odin without losing all data?" - You did it successfully but for other users wondering see S5 Odin Flashable Modem & Bootloader.

***
[Samsung Galaxy S 5 Unified Development] Zytrel:
When coming from a non-Lineage version you need to format data in twrp instead of just wiping it. Otherwise you'll have those issues with the fingerprint scanner.

Regards,

Zy.
[Samsung Galaxy S 5 Unified Development] Ben Garp:
where can i find twrp for sm-g870a?
[Samsung Galaxy S 5 Unified Development] Slim2none4u:
This is what i found with a quick search https://xdaforums.com/t/recovery-locked-nd3-safestrap-recovery-v3-75-2014-06-26-b03.2794087/

I suggest you learn to use the search function and or google.

Also, this is off topic for this thread.
[Samsung Galaxy S 5 Unified Development] Ben Garp:
and i hope you learn reading or thinking, but i dont trust in both. Search TWRP S5 active SM-G870A *.tar.
[Samsung Galaxy S 5 Unified Development] bmwdroid:
With a locked bootloader there's imho no other possility.

Didn't you see that post by @curiousrom ?

https://xdaforums.com/t/bypass-lock-screen-on-samsung-galaxy-s5-active.4092223/post-82470975
[Samsung Galaxy S 5 Unified Development] Slim2none4u:
And i also hope you find a short pier to take a long walk off
[Samsung Galaxy S 5 Unified Development] Boatshow:
Just lost 3G reception yesterday on the east coast with T-Mobile, it's just 4G and 2G now. My phone is still usable but this sucks I have terrible reception in huge buildings and tunnels now. The S5 isn't very good at picking up LTE to begin with so whenever it fails over to 2G it's so slow it's like having no internet at all.
[Samsung Galaxy S 5 Unified Development] kurtn:
I'm writing this with 64 kBit per second. You just have to avoid advertising and background sync
[Samsung Galaxy S 5 Unified Development] jdrch:
Is anyone else having trouble with Wi-Fi connectivity? My S5 says "No internet" pretty much all the time now.
[Samsung Galaxy S 5 Unified Development] Boatshow:
I already do those things but it's not a matter of coping. I literally have zero reception in many places where I had decent 3G reception before. I visited an industrial area this weekend and I had zero signal for most of my stay there. That's beyond what coping can help with, that's a productivity and safety risk.

Train rides are horrible now. Most of my ride is 2G and 2G inside a train is ridiculous. There's huge packet loss and the ping times are in the magnitude of seconds making it hard to even do anything over ssh. Sometimes I can latch onto LTE when the train runs through a clearing but that's not often.

Hopefully it's just some growing pains and the service improves for me but I'm not holding my breath.

Check your firewall rules, Android tries to reach certain hosts to see if the internet is up.
[Samsung Galaxy S 5 Unified Development] jdrch:
I actually retired my S5 after this post. The Wi-Fi connectivity problem has been happening for over a year; it's just been getting worse recently. None of my other Android clients have that problem. Besides that, it was starting to eat microSD cards. The tiny internal storage renders the phone useless without an adopted card, so it was the end of the road.

I'd like to thank this enthusiastic community for supporting this device for as long as they have, LOS developers for extending my phone's life by a factor of 4, as well as Samsung for the excellent durable hardware that lasted so far beyond its extended life.

As to whether I'd run LOS again ... I have a Pixel 3 XL that just got its last feature update. It's the most likely candidate, but that'll likely happen much further down the road when it can no longer run new apps.
[Samsung Galaxy S 5 Unified Development] Dion777:
I have no problems with LineageOS 18.1 on my phone.

Thanks for the updates and for the time and work on this great phone.

Here in South Africa, you need a heap of money to purchase a good new phone.

Thanks
[Samsung Galaxy S 5 Unified Development] brt4722:
Lineageos 18 on s5. Works well.

Opengapps etc didn't worked. So I installed bitgapps. Works.

S5 is faster then before. Only issue is the battery.
[Samsung Galaxy S 5 Unified Development] Sldid:
Hello,

i recently activated my old S5 LTE+/kccat6 since my new phone broke. Are any of those builds worth trying since it isn't listed?

Thanks and cheers
[Samsung Galaxy S 5 Unified Development] kurtn:
This is not compatible. Get latest official from lineageosroms.com - or lineage.microg.org
[Samsung Galaxy S 5 Unified Development] curiousrom:
Check this post for battery usage analysis using GSam: S5 klte LineageOS 18.1 Battery Usage @ Idle Test - Sleeps Like a Rock.

***
[Samsung Galaxy S 5 Unified Development] brt4722:
Thanks. I will look at it. The mobile also gets really hot.
[Samsung Galaxy S 5 Unified Development] brt4722:
Whatsapp videocall is not working. I can call but no videochat.

Is there a solution?