yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] pslag01:
SDcard issue RESOLVED... all a case of MY BAD! :-(

Sorry (and thank you) to those who spent time looking at it!

Principle error: I neglected to mention my use of Magisk and a backup/restore app called Migrate-GPE (v4.0).

For the curious, what I did:

1) clean flash of LOS 18.1 and MindTheGapps. ==> All good.

2) flash of Magisk v22.1. ==> All good.

3) flash of backup zip files for Migrate-GPE (in order to restore apps/data). ==> All good.

4) restore using Migrate-GPE. ==> All good (as it requires SDcard where the zips are stored)

But, in step 4, I inadvertently restored the Magisk app. ==> This is where I'm pretty sure access to the SDcard was lost.

On my last iteration of above, I did not restore any Magisk component.

And so far, so good w/LOS 18.1 on my G900P (Sprint).

Again, sorry for the 'false alarm' and not being 'more complete' with data I presented.
[Samsung Galaxy S 5 Unified Development] Andresine:
I have a 5% consumption during the night in 6 hours with the mobile at rest. Is it good consumption at rest? Could consumption be adjusted further? otherwise the rom works great. Thanks in advance
[Samsung Galaxy S 5 Unified Development] ludwig83:
Hey! Today....somewere between 10:00 and 11:00 o'clock it happend again. This time I took a Logcat. I hope it helps somehow...I'm unfortunately not skilled enough to read somthing in it :/

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

Edit: I opened a issue on GitLab today!

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 would appreciate every help ...it's not a big deal to restart my klteactivexx after the problem appears but a little bit annoying

Special THX to Mr haggertk for his effort
[Samsung Galaxy S 5 Unified Development] Sobhan Mazaheri:
Mr haggertk

In the light theme, status bar is hidden ( Images attached )

Thanks for your efforts and the lineageOS team
[Samsung Galaxy S 5 Unified Development] 4Privacy:
I clean installed LOS18.1 and cannot confirm that on my device
[Samsung Galaxy S 5 Unified Development] joam280:
good afternoon, first of all thank the developer for the work done is magnificent. I have two problems, sometimes I suffer interface freezing using any application and when I open Spotify my phone restarts. Anyone else with these problems?
[Samsung Galaxy S 5 Unified Development] Garry58:
My camera app crashed when I turned on HDR, then it stopped working saying "Can't connect to camera", clearing its data didn't help. After restarting and unlocking the phone, the system crashed and that was the end of it. The ROM got stuck on boot animation forever (the phone itself was hot, so I'm assuming CPU was doing something entire time).

I had to make a backup and factory reset to solve this (I restored some of my apps data using Magisk and Titanium Backup, premium version of which can pull data from TWRP backups).

I couldn't replicate the issue, since HDR mode works fine after factory reset. I'm only assuming, the problems like these (and the ones reported above) occur because of dirty flash.
[Samsung Galaxy S 5 Unified Development] ludwig83:
In my opinion, nobody should post a problem or an issue after a dirty flash...its simply not recommended to do it that way! Also pictures of screens when you even dont write what Device it is and what you flashed on it?? Thats useless for people who want to help...
[Samsung Galaxy S 5 Unified Development] yoshkapundrick:
I had to dirty flash as I cannot issue a Domain name on my WPA3 enterprise which 18.1 requires. I'm lucky as I only have minor issues which are probably due to me and not the ROM. I was also lucky as I flashed over a clean 17.
[Samsung Galaxy S 5 Unified Development] NeuesS5:
how do i just update from

lineage-17.1-20201011-recovery-klte.img on

lineage-18.1-20210425-recovery-klte.img?

I have lineagos 17.1.
[Samsung Galaxy S 5 Unified Development] Myhand:
fastboot flash recovery ./lineage-18.1-20210425-recovery-klte.img
[Samsung Galaxy S 5 Unified Development] ludwig83:
I use heimdall...

Install LineageOS on klte | LineageOS Wiki

wiki.lineageos.org
[Samsung Galaxy S 5 Unified Development] Nobby1960:
Is it possible to pack this image file with * .tar and then flash it with Odin?
[Samsung Galaxy S 5 Unified Development] bmwdroid:
Afaik no

fastboot will do better
[Samsung Galaxy S 5 Unified Development] bmwdroid:
And why not flash TWRP.... tar with Odin and then carry on from there?
[Samsung Galaxy S 5 Unified Development] tayfundokuyucu:
Hi, I am not an expert. I just want to share my way to install 18.1 over 17.1 using TWRP.

Hope this is the clean way?

Backup(just in case): Boot, System, Data

Wipe>Advanced Wipe: Dalvik, System, Data, Cache

Install: lineage...18.1...zip then without reboot install MindTheGapps
[Samsung Galaxy S 5 Unified Development] Nobby1960:
That's how I'll do it, the simplest solution.
[Samsung Galaxy S 5 Unified Development] bmwdroid:
I always do a "Format Data" additionally.

That's what I'd call ultra clean ;)
[Samsung Galaxy S 5 Unified Development] zimral.xda:
Yes Sir, this is the clean way.

On the other hand, the "dirty" way is: Wipe>Advanced Wipe: Dalvik, Cache # ( only these not /data and /system)
[Samsung Galaxy S 5 Unified Development] haggertk:
Yes, you absolutely can rename as recovery.img and then stuff it in a tarball to flash via odin.

And there is no fastboot mode on Samsung devices.
[Samsung Galaxy S 5 Unified Development] curiousrom:
EFS Partition & Restoring a TWRP Backup

See the text + attachments in S5 - EFS Partition Backup - No Service, No IMEI & No SIM Card Fix].

In TWRP you need to restore only System, Data & Boot partitions. Boot is in fact the kernel on the S5.

The EFS Partition Backup created on a specific S5 device can be restored on that device only if for example it lost it's IMEI or has no service even with a known good SIM card & proper network provider's APN settings.

***
[Samsung Galaxy S 5 Unified Development] jenssa:
Thanks, I will remember to backup the efs partition when I get the other phone. (I have tried in vain to flash the files you list up as the content in the efs folder (efs.ext4.win, efs.ext4.win.sha2, efs.info & recovery.log files) after first converting them into .tar-files by 7-zip. Odin says Fail! any way I try to flash them. I thought this might revive my soft bricked phone.)

Edit 16/9: Before I transfer Nandroid from the old phone, is there any way to salvage more of the original User Interface and apps? I must confess that the firmware runs a lot more smoothly than the lineageos + gapps, so it would have been great to be able to rip off some of the Samsung Telenor set up and transfer it to the new build. The internet app, for instance, has both a return and a forward button, the camera is better, indeed the whole set up runs a lot smoother. Yet, I need to upgrade from Marshmallow to use certain apps.

Edit 26/9: I finally decided to test restoring the NANDROID backup of the old (soft bricked) S5 on my "new" S5. It worked, though I experienced a freeze that I think was to to finger print scanner problems. I completely wiped and restored once more, and the phone seems to work. (For some reason I was not able to restore the NANDROID that I made of the new phone, though, so there was no way going back). Now I have even installed today's update of Lineageos 18.1, and it seems to be working fine. (Had to sideload magisk in TWRP, though, but that doesn't have any connection with the restoring of the old phone upon the new.) I'll come back with a report if I experience problems. But at least for now it think I can conclude that it is possible to transfer one NANDROID backup from one phone to another of the exact same make. Thanks for all the good help!
[Samsung Galaxy S 5 Unified Development] bersem:
hi there,

someone noticed low microphone volume on third party apps like messenger, whatsapp ( calls ) ( doesn't hear me well ) ?

@haggertk possible to increase this volumes in the future ( next nightly ? ) or stock values will continue to be used to avoid damages and not to degrade the sound quality ?

@curiousrom cleaned already the mic hole and dont want to tweak mixer file.. :D

Regards !
[Samsung Galaxy S 5 Unified Development] curiousrom:
S5 Low Mic in Third-party Apps Workaround

Good luck getting haggertk to modify that mixer_paths.xml system file as that low mic issue was reported by S5 users way back in LineageOS 15.1, 16.0, 17.1 & now 18.1 threads.

Meanwhile this works in LineageOS 18.1 for klte* & survives updates: S5 Mic Boost Magisk Module - Stereo Recordings

***
[Samsung Galaxy S 5 Unified Development] bersem:
Pray for it.. lol :D Im running LOS 18.1 ( non rooted ) on a SM-G900F KLTE :P

Regards !
[Samsung Galaxy S 5 Unified Development] x2k13:
Try this:

https://xdaforums.com/t/los14-15-16...c-gain-and-a-little-speaker-gain-too.3491483/

Works on 18.1 as well, tested by me on my G900F. No Magisk needed. You might want to delete the addon.d survival script 60-mixer.sh in /system (mount the partition first, of course) before you flash the lineage update, because it somehow seems to be faulty (at least on my phone) leading your klte to have no sound at all if you didn't delete it beforehand.

Long story short

1. Delete 60-mixer.sh

2. Flash lineage update .zip

3. Flash micgain .zip

4. Flash whatever additional.zip you need

5. Reboot, have boosted mic and speaker

6. Enjoy
[Samsung Galaxy S 5 Unified Development] curiousrom:
That zip file modifies many things without any explanation nor justification.

It's like using a shotgun to kill a fly if one only needs to modify 2 values in mixer_paths.xml to fix the low mic issue.

***
[Samsung Galaxy S 5 Unified Development] x2k13:
I tried the "2 values" method myself, ended up with no sound at all.

What is it exactly you're critizising?
[Samsung Galaxy S 5 Unified Development] curiousrom:
You did not say how you did it exactly so difficult to troubleshoot.

Maybe because not giving permissions rw- r-- r-- 644 to the modified mixer_paths.xml after putting it in /system/vendor/etc/.

Anyway if rooted with Magisk the module is much easier & carefree.

***
[Samsung Galaxy S 5 Unified Development] x2k13:
Not everyone wants their phone to be rooted. You still didn't say what you critizise exactly. What does the .zip alter that you doubt is necessary and why?
[Samsung Galaxy S 5 Unified Development] curiousrom:
Without being rooted with Magisk one can use TWRP > Advanced > File manager or adb pull to get the file, modify it then put it back in with TWRP or adb push.

About two years ago I downloaded that micgain .zip, uzipped and compared the files in it to the stock files with DiffMerge and found zero justifications for all the mods it makes in the OP of that thread.

It's a vodoo zip mod for believers. :)

Anyway everything sound related on my S5 works fine so I don't see any reasons to modify anything except for slightly higher mic values for recording without distortions.

I am attaching a bird recording I made with the S5 just in front of my house @ 4h am.

***
[Samsung Galaxy S 5 Unified Development] bersem:
Could you check this mixer file @curiousrom :D :D :D ? Modified from mixer_paths_File_Diffs_TheFixItMan_vs_Brunowp8.txt.

Used the @Brunowp8 values !

I was able to copy the mixer file from /system/vendor/ etc with Total Comander & non Rooted )

Boot into TWRP

Mount System

Delete the old mixer file in /system/vendor/etc ( make / made Backup before )

Copy the edited mixer file to /system/vendor/etc

Set permissions to 0644 (mixer file )

Reboot

There is another vendor folder on the root directory ? Im confused now :O
[Samsung Galaxy S 5 Unified Development] Nobby1960:
Here is an other "boosted" mixer_paths.xml. It's original from crDroid 6.10 and all devices are loud enough.
[Samsung Galaxy S 5 Unified Development] curiousrom:
S5 LineageOS 18.1 Update 2021-09-19 - Android Security Bump & Call Forwarding Fix

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

There are quite a few changes as you can see in https://download.lineageos.org/klte/changes/ some do not concern the S5 klte* family but most importantly it includes the monthly Android security bump: Merge tag 'android-11.0.0_r43' into staging/lineage-18.1_merge-android-11.0.0_r43.

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

***

S5 LineageOS 18.1 Call Forwarding Fix!

Thanks to haggertk's commits msm8974-common: libril: initialise RIL_CallForwardInfo to 0 when requesting status and also klte-common: libril: avoid SEGV when requesting call forwarding info in the LineageOS stock Phone app > 3-dots > Settings > Calls > GSM call settings > Call forwarding > Always forward > select contact to forward to > turn on works! :)

Of note as seen in the screenshots with call forwarding active, clicking on the Call Forwarding notification & turning it off a returns a Call settings error - Unexpected response from network but forwarding is disabled anyway and I could receive a call. 🤷‍♂️

That may depend on my specific network provider's response.

***

Contrary to update 2021-06-13 as I posted here and other updates, shortcuts on Home created with the LineageOS Settings widget, a third-party app & to web pages with the stock Browser, Chrome & Edge survived. 🤷‍♂️

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

***
[Samsung Galaxy S 5 Unified Development] zimral.xda:
Thx. I am so trigger happy today, will update my develop device later the evening.
[Samsung Galaxy S 5 Unified Development] zimral.xda:
Hi, i updated my dev phone to build 2021-09-19 coming from 2021-09-12. Config is SM-G900F german/european version, no vendor brand, TWRP 3.5.2_9-0, open gapps "pico", no magisk, etc. All good, no problem occurs.
[Samsung Galaxy S 5 Unified Development] rgrapow:
Hi, just to write about my experience:

in my case Ii wasn't like that, I did an OTA update over 2021-08-15 and I had a boot stuck and/or boot loop (obviously magisk had to do) so I had to flash this by the following (steps), but before that, I did a restore from a TWRP backup:

1.- ROM (2021-09-19)

2.- Gapps (latest version of that moment)

3.- Magisk

4.- Clean Dalvik/cache

All went ok.

Thank you for your guidance, it helped me a lot.
[Samsung Galaxy S 5 Unified Development] zimral.xda:
Hi there , just did my productive device, going to 2021-09-19 coming from 2021-09-12. Config is SM-G900F german/european version, no vendor brand, LOS recovery, no gapps, no magisk, etc. All good, no problems so far.

THX Mr. Haggertk.
[Samsung Galaxy S 5 Unified Development] Chris_0147:
What is the difference between lineage os recovery and twrp
[Samsung Galaxy S 5 Unified Development] dcarvil:
IMO, the major difference is TWRP has nandroid backup/restore, LOS recovery does not. Both can be used to install ROMs.
[Samsung Galaxy S 5 Unified Development] zimral.xda:
TWRP is a "third party" product developed by the "Team Win Recovery Project". I am using both with no problems so far. i flashed TWRP with the help of the "ODIN" software. On another klte i flashed the LOS recovery with the freeware tool "Heimdall" as described in the LOS installation wiki. if you don't need the backup function, i recommend the LOS recovery. i can imagine, that a tool like the LOS recovery developed by a LOS developer will interact/coexist better with the LOS rom. Just my 2 cents...
[Samsung Galaxy S 5 Unified Development] Kevindiepenmaat:
Well I've got some news. Not good unfortunately. I renamed the phone. It first appeared to be looking. Then after roughly 5-6 days there was the issue again. Rebooting the phone helped. For some reason l(haven't checked it though) think the device runs out of memory and then it kills Bluetooth.

Will report back if I know more. Other ideas maybe?
[Samsung Galaxy S 5 Unified Development] x2k13:
@haggertk do you think it might be doable to shorten the time to unlock the SIM card after rebooting? It takes roughly 30 seconds on klte whereas jfltexx just needs 1 or 2 second until it goes to lock screen. It's been like this since the release of 18.1 on klte, maybe on 17.1 as well, I don't know for sure.
[Samsung Galaxy S 5 Unified Development] lecorbusier:
The last two posts deal with lack of resources. I think having "only" 2GB of RAM is the biggest issue. My Galaxy Note 10.1 2014 with Los17 still operates considerably smoother, with 3GB of RAM, but with a slightly slower Snapdragon 800 and higher screen res.

Even faster is the Lenovo tablet i'm typing on, with one of the cheapest Octocore SoCs(MediaTek P22, these are even used in smartwatches) and only but seemingly still sufficient 3GB Ram.
[Samsung Galaxy S 5 Unified Development] TlalocC:
Hi! When playing videos in 1080p these go with lag. (latest version)
[Samsung Galaxy S 5 Unified Development] jmh2002:
On the subject of the Samsung Galaxy S5 only having 2GB of RAM and therefore a 'lack of resources' - I totally agree.

Although I have found some work arounds that vastly improve the situation for me and my use.

- Firstly as a general point I'm very strict about which apps are able to run in the background. In general this is the biggest problem. Although I do use the phone daily and normally and do still have quite a few background apps. In general I'm also not to agressive about how much multi tasking I try to do at once. I try to use an app, close it, and then open a different one.

- I also try not to install apps that I don't use, or that I can maybe use via a browser instead. I'm also thorough about disabling apps that I can't uninstall but don't need, as well as killing apps that I only use periodically. I've also tried preventing some apps from starting at boot (by using something like SDMaid), but of course just running a 'kill apps' after boot solves that too.

- For apps that I use regularly but which don't need to run in the background for any purpose (notifications, etc) I have set App Info > Advanced > Battery > Background Restriction > to Restricted.

This enables the app to open much faster than if it were killed, but prevents it from using any resources if it's not open and in use.

- Finally what has helped the most is a tweaking app available here on XDA called HEBF. I'm not an expert but I've used this to set several specific tweaks which have made an enormous difference, such as:

- Low RAM Device Flag

- Virtual Memory, increase Z-RAM

(I didn't notice any battery hit from extra CPU use, but I did notice better memory management)

- Low Memory Killer, change all parameters

In the case of the Low Memory Killer I changed a lot of parameters through trial and error because I do have a few services that I wanted to always run in the background without fail and they would often get killed despite various measures to prevent this. I rarely if ever have that problem anymore with the tweaked settings.

Anyway, just some info from my experience which might be useful to other users too.

Thanks to everyone one who has helped me here on XDA including @haggertk for the continued support as well as a lot of other developers who have provided some great apps and other users for their experience and comments too.

:)
[Samsung Galaxy S 5 Unified Development] Sakalamtbats:
Theres always a 2 seconds delay when i always wake my s5 from sleep mode,, how can i solve this,? Thanks
[Samsung Galaxy S 5 Unified Development] zimral.xda:
Good morning, yesterday evening i updated my productive device to nightly build 2021-09-26 coming from 2021-09-19. Config is SM-G900F german/european version, no vendor brand, LOS recovery, no gapps, no magisk, etc. All good, no problems so far.

THX Mr. Haggertk.
[Samsung Galaxy S 5 Unified Development] Brunowp8:
It still works to modify the values and change the file... I thought this was too old
[Samsung Galaxy S 5 Unified Development] yumifu:
Hello everyone,

after a long time I've convinced myself from upgrading my Galaxy S5 to LineageOS 18.1. The Galaxy S5 (SM-G900F) is my backup phone.

However, it sadly won't work for me.

Here's what I did:

- Copied everything valuable to my microSD

- Downloaded Odin3 v3.14.4

- Downloaded the latest Samsung USB Driver for Mobile Phones

- Installed the latest version of TWRP with Odin3 (twrp-3.5.2_9-0-klte.img.tar)

- Did a full wipe of the phone (Wipe => Format Data)

- Installed "lineage-18.1-20211003-nightly-klte-signed.zip" (no errors)

- Installed "open_gapps-arm-11.0-nano-20210925.zip" (no errors)

- Rebooted the phone

So far it boots into the Android setup dialogue. However, after a certain period of time it crashes. The furthest I could get was when I've to add my wlan network. After the crash I'm stuck inside a boot loop. A regular "Wipe" helps fixing that, but it'll crash again inside the setup dialogue. Am I missing something? So far using an older version like "lineage-18.1-20210912-nightly-klte-signed.zip" didn't help either.

I'm appreciating any help.
[Samsung Galaxy S 5 Unified Development] kurtn:
Maybe the phone was not on latest stock ROM before flashing. There is a link to flashable basebands in OP
[Samsung Galaxy S 5 Unified Development] yumifu:
I've downloaded "G900FXXU1CSA1_G900FXXS1CQA4_baseband_firmware.tar.md5" and installed it with Odin. Sadly no luck there either.

Maybe it's an issue with the phone? I have the same issue when I want to install LineageOS 17.1 again. Before doing all that LineageOS 17.1 worked fine on it tho.
[Samsung Galaxy S 5 Unified Development] curiousrom:
The best way to confirm or rule out a hardware issue is to flash the most recent stock Samsung manufacturer's OS for your S5 SM-G900F.

This will also update the vendor's firmware, modem, bootloader etc.

Their paywall policies varies apparently randomly depending on the device & age of the OS but I used both sammobile.com & updato.com to download stock Samsung OS. Some users recommend samfw.com.

They all have flashing instructions using Odin3 in their respective download pages.

It does not matter for which country as long as it's made for your exact model number.

Usually the more recent, the better.

Test thoroughly while on stock Samsung OS & write down or screenshot the working APN settings.

Then install the most recent TWRP version, backup the EFS partition then flash LineageOS.

Format Data is better than a simple wipe Data if you want a really clean install.

***

Don't select install the TWRP app when offered in TWRP as it may cause a bootloop.

***

"...Installed "open_gapps-arm-11.0-nano-20210925.zip" (no errors)" - Try MindTheGapps instead which has similar features as Nano: https://wiki.lineageos.org/gapps.html

If you look at the *Thanks and Credits* chapter in the bottom of the page of https://gitlab.com/MindTheGapps/vendor_gapps there is a bunch of LineageOS devs mentioned as testers & other contributions.

The same guys that you can find in https://wiki.lineageos.org/contributors.html

These extra apps included in MindTheGapps but not in Open GApps Pico can be disabled in Settings > Apps & notifications > Show all > 3-dots > Show system:

Android Accessibility Suite

Google (search app)

Markup

These included in both Pico & MTG can also be disabled in their respective app's info:

Android Auto

Google Text-to-speech Engine

Market Feedback Agent

The rest are core GApps.

***