yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] rgrapow:
I can confirm that, first, I flashed LOS 19.1 and then go back (restore) to RR 8.7.3, in the first boot instead of show "Samsung" logo, it goes to TWRP and got stuck it. If you take off the battery and then put in, always goes to recovery, If you want to go to download mode, it goes to recovery.

Guys, any ideas or help to fix this?
[Samsung Galaxy S 5 Unified Development] Concept48:
I think he is saying something , and if it is what I think , it's gonna be a world Hit !
[Samsung Galaxy S 5 Unified Development] Concept48:
https://samfw.com repair your phone and start all over again .
[Samsung Galaxy S 5 Unified Development] rgrapow:
Do you mean that I have to flash the stock ROM with odin and then flash TWRP?
[Samsung Galaxy S 5 Unified Development] Concept48:
Yea so all partitions are fixed
[Samsung Galaxy S 5 Unified Development] rgrapow:
Thanks, it worked!
[Samsung Galaxy S 5 Unified Development] wuko:
Hallo,

yes I know udopted sdcard is not recommended.

I use 2 klte:

klte1: LOS18.1,last nightly built, Twrp3.6.2

no problem to store full backup on adopted sdcard

klte2: LOS19.1,last unofficial built, Twrp3.6.2

but Twrp FileManager do not see the /external_sd

no backup possible

Mixplorer on both devices has no problem with the adopted card.

Any explanation welcome :-)
[Samsung Galaxy S 5 Unified Development] gaindelioide:
Hi, Sir KHALVAT,

Once again, thanks a lot for the release of the stable build of the ROM for our beloved Samsung Galaxy S5 KLTE. Is it now possible to perform a clean installation with the SIM card lock activated? For all the previous releases, you recommended the removal of the SIM PIN before flashing the ROM.

Up to now, the system is running on my phone without any noticeable issue. You are simply THE BEST, Sir.(y)(y)(y)(y)(y)
[Samsung Galaxy S 5 Unified Development] rgrapow:
Guys, any ideas or help to fix bluetooth (BT) because is not working?, this is what's happened:

Facts:

BT it always has worked on every ROM that I flashed and backed up with TWRP (RR, Havoc, CrDroid on every android version 8, 9, 10, 11) until yesterday

What caused this:

I flashed LOS 19.1 and after a few hours of testing, I decided to go back (restore) to RR 8.7.3 (my daily driver), in the first boot instead of show "Samsung" logo, it goes to TWRP and got stuck it. If you take off the battery and then put in, always goes to recovery.

To fix that:

1.- I flashed latest ROM stock from SAMFW (odin).

2.- Flashed TWRP (odin)

3.- In TWRP, format (not wipe) data partition

4.- Restore my ROMS

The outcome:

BT it's only working on stock but it`s not working on any of my others ROMS (Lineage, CrDroid, RR) that I've backed up a restored with TWRP., even, I flashed official Lineage 18.1.

Obviously something in the middle messed up the BT.

Any ideas?.
[Samsung Galaxy S 5 Unified Development] uglylove:
Corruption special files on the phone can cause these problems. At the end, our phones are 8 years old and they're like stone working as new phones. How much i say thank you to Khalvat and Kevin Haggerty is not enough.

Try to back original 5 files ROM(6.0.1) and select from odin3 option re-partition. Once you install original ROM. Let your phone complete installation with reboot. After complete installation, install TWRP+Custom ROM.

That may help. I solved similiar problem with this method on my S5.

Note: Use Odin 3 v3.12.3
[Samsung Galaxy S 5 Unified Development] uglylove:
You're excellent man!

Thank you very much for your efforts and patiences
[Samsung Galaxy S 5 Unified Development] rgrapow:
Thanks for the answer but sadly didn't work, any other idea or suggestion?

Edit: It worked on this ROM (Lineage 19.1), it's very odd...

Edit2: Now it worked with RR 8.7.3, I think that it has to do when I restored LOS 19.1, I still don't know what went wrong.
[Samsung Galaxy S 5 Unified Development] uglylove:
rgrapow said:
Thanks for the answer but sadly didn't work, any other idea or suggestion?

Edit: It worked on this ROM (Lineage 19.1), it's very odd...
Edit2: Now it worked with RR 8.7.3, I think that it has to do when I restored LOS 19.1, I still don't know what went wrong.

At the end, you need to return back original ROM anyway to install this ROM and any other Lineage ROM. This is official installation procedure. Before you install any Lineage ROM, your phone needs to be on android 6.0.1 original ROM. New developments setting on for the original ROM. New android versions bring new installation difficulties. Without following this procedure you will have noticable or very tiny problems always.
[Samsung Galaxy S 5 Unified Development] kurtn:
That's not a general rule. Maybe some custom ROM installation destroy the system. But generally hopping from one to the next ROM should work, if 6.0.1 was installed before.
[Samsung Galaxy S 5 Unified Development] gw1024gb:
Is this compatible to my Samsung Galaxy S5 SM-G9009w kltechduos?
[Samsung Galaxy S 5 Unified Development] Tuddynumnums:
Had a Issue where it never booted but that Odin thing is really important lol.
[Samsung Galaxy S 5 Unified Development] mustaph12:
No SIM on s5 dual SIM kltechn, any fix
[Samsung Galaxy S 5 Unified Development] khalvat:
first remove your sim pin befor flash and kltechn is single sim. i dont build for kltechnduos
[Samsung Galaxy S 5 Unified Development] Tuddynumnums:
Any Reason why when I come out of sleep I get a blue screen with a clock that forces a restart.
[Samsung Galaxy S 5 Unified Development] retiredtab:
I don't have a S5 running this rom, but I have seen this before on my SM-T350. It's likely because of the flipflap smart cover not working 100% even though you may not have one.

https://github.com/Khalvat-M/device_samsung_msm8974-common/blob/13.0/common.mk#L117-L119

You can disable flipflap by going into settings, connected devices, connection preferences, smart cover, and disable the smart cover control.

See posts 31-38 at

https://xdaforums.com/t/unofficial-...350-sept-12-2022.4305903/page-2#post-86006805
[Samsung Galaxy S 5 Unified Development] jeremywh7:
Alternatively, from TWRP (after installing the update), mount system and delete flipflap from /system/priv-app/
[Samsung Galaxy S 5 Unified Development] Sajeg:
Hey there, is it just by me or is the usage of the camera not displayed?
[Samsung Galaxy S 5 Unified Development] Tuddynumnums:
On occasion I try to use my phone I press the power button it was on earlier but only for a second a very dimly lit screen lights up and what looks like the booting splash shows up for a split second and it goes out until I restart the phone or take out the battery. G900W8
[Samsung Galaxy S 5 Unified Development] mostafa3bdou:
- Guys who installed the latest version of LineageOS 19.1, can you please give us your impression about performance, battery life... etc

- Does it worth to replace LineageOS 18.1 with this version?
[Samsung Galaxy S 5 Unified Development] Tuddynumnums:
Performance did get laggy once and a while but it ran cooler and longer, I tried lots of random roms and If I had to choose id take 19.1 everytime.
[Samsung Galaxy S 5 Unified Development] Andresine:
Me too.
[Samsung Galaxy S 5 Unified Development] kurtn:
I would stay at 18.1 for a daily driver or go 19.1 and 20.0 for playing around
[Samsung Galaxy S 5 Unified Development] brt4722:
It works but is laggy sometimes.
[Samsung Galaxy S 5 Unified Development] brt4722:
Are there tips for s5 not to be so laggy.
[Samsung Galaxy S 5 Unified Development] Tuddynumnums:
use the messaging/contacts/phone software that comes pre-installed bypassed a few issues thats all I can think of.
[Samsung Galaxy S 5 Unified Development] brt4722:
I use those.
[Samsung Galaxy S 5 Unified Development] snsnse:
After installing the latest 20.0 image (klte; dirty-flashed over the latest 19.1, without SIM card) I experienced problems with google apps, which was to be expected. Therefore, I tried to go back to twrp recovery to re-install the ROM including Android 13 gapps.

But twrp was suddenly stuck at the boot logo and it still is, even after going back to stock ROM and trying different twrp versions (flashed with odin).

This baffles me, would anyone have an idea as to what is causing this and how to work around it, i.e. getting twrp to boot again?

Thanks!
[Samsung Galaxy S 5 Unified Development] rgrapow:
Maybe the partitions got corrupted.

I had a similar issue and this is what's worked for me:

1.- Download the ROM from Samfw and look for a zip file that contains 4 files (BL, AP, CP, CSC), because there's another zip that contains 1 file, don't download it

2.- Unzip it

3.- Download/Run Odin 3.12.3, it has to be 3.12.3

4.- In "Options" tab, check/tick "Re-Partition"

5.- Select the files in the proper fields (BL, AP; CP; CSC)

6.- Flash

7.- Wait to complete the samsung initial setup

8.- Reboot to download mode

9.- Flash TWRP with Odin
[Samsung Galaxy S 5 Unified Development] snsnse:
Thanks much for your reply and the detailed instructions!

However, I'm not sure how the partitions/partition table could have been corrupted if the stock ROM images installed just fine. I never had any issues going anywhere from a fresh stock ROM install.
[Samsung Galaxy S 5 Unified Development] KrautHolg:
I just read through the whole thread and didn’t find anything like my issue, so probably it is just me.

Clean flashed lineage-19.1-20220907-UNOFFICIAL-klte.zip, MindTheGapps-12.1.0-arm-20220605_111643.zip and Magisk-v25.2.zip

Everything was working wonderfully right from the start. Until I went bicycling and listening to an audiobook via Bluetooth, that is. It seems the GPS takes an inordinately long time (reminds me of the late 80s) to get a fix and it drops the fix frequently. Permissions are for GPS permanently on and power-saving options for the app disabled. Any idea what might cause that? For me these two functions are the most important ones. If it is just my device, I’ll get another KLTE (SM-G900F).

Oh yeah, and very many heartfelt thanks!!! :)
[Samsung Galaxy S 5 Unified Development] snsnse:
After going into stock recovery and trying to wipe /data I noticed that mounting /preload (Invalid argument) failed. I guess that was the cause, although it didn't seem to prevent stock ROM from booting and working properly.

However, I went ahead and re-flashed stock ROM including re-partitioning using a proper pit file.

Now I re-flashed TWRP and the issue is resolved. I wonder if I'm the only one seeing this with the 20.0 builds, though?
[Samsung Galaxy S 5 Unified Development] joam280:
Where did you get the 20.0 rom with android 13 for the galaxy s5? I can't find it 🤔
[Samsung Galaxy S 5 Unified Development] joam280:
I have this problem with YouTube with this ROM, someone help me please?
[Samsung Galaxy S 5 Unified Development] snsnse:
Downloads for : Samsung Galaxy S5 | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

androidfilehost.com
[Samsung Galaxy S 5 Unified Development] vlad3647:
the link isnt working
[Samsung Galaxy S 5 Unified Development] joam280:
lineageOs 20 installed and working perfectly 😁
[Samsung Galaxy S 5 Unified Development] KrautHolg:
Try a different browser. I tried and then it worked.
[Samsung Galaxy S 5 Unified Development] vlad3647:
which browse did you use
[Samsung Galaxy S 5 Unified Development] snsnse:
Firefox. But this is khalvat's repo, so you should have no problems finding it following the ROM links on this thread's first page.
[Samsung Galaxy S 5 Unified Development] KrautHolg:
Chrome doesn't work, Firefox works. So does Brave and Opera.
[Samsung Galaxy S 5 Unified Development] craP_cillA:
https://xdaforums.com/t/unofficial-lineageos-20-0-android-13.4498857/
[Samsung Galaxy S 5 Unified Development] vlad3647:
I could only download with Tor browser!!! thanks
[Samsung Galaxy S 5 Unified Development] Skulldron:
Hey guys! I've got a problem. Gonna cut right to the chase.

Kltekdi (SC-04F) is my device.

Charging doesn't work on operating system. It only works in twrp recovery. Any ideas on how to fix this? Had the exact same thing happen in lineage os 18.1 official
[Samsung Galaxy S 5 Unified Development] omarq8:
why i can't use the recovery i installed trwb but i can't go to recovery mode why
[Samsung Galaxy S 5 Unified Development] kurtn:
So you are new to custom ROM? What guide did you follow?
[Samsung Galaxy S 5 Unified Development] bmwdroid:
I assume you probably forgot to reboot DIRECTLY after flashing into new recovery therefore revived the old one.

But what has that got to do with lineage OS (wrong thread)?
[Samsung Galaxy S 5 Unified Development] omarq8:
i used the normal guide

what?
[Samsung Galaxy S 5 Unified Development] kurtn:
Haha. The normal guide. How do you think we should help you if you don't tell us anything useful?
[Samsung Galaxy S 5 Unified Development] Andresine:
I think that you have got to activate the advanced reboot in options since android 10 in lineageos
[Samsung Galaxy S 5 Unified Development] kurtn:
I think @omarq8 is struggling with the very first steps like bootloader unlock or custom recovery installation. But he/she doesn't tell.
[Samsung Galaxy S 5 Unified Development] Andresine:
There are thousand tutorials in youtube . Saint Google is your friend.
[Samsung Galaxy S 5 Unified Development] bmwdroid:
"What" regarding which point?
[Samsung Galaxy S 5 Unified Development] omarq8:
my device now is ok but the front camera is black and also how i can make my device rooted after i install the custom rom
[Samsung Galaxy S 5 Unified Development] bmwdroid:
Loads of answers when using "SEARCH" in https://xdaforums.com/c/samsung-galaxy-s-5.2792/

Give it a try.
[Samsung Galaxy S 5 Unified Development] calvin4242:
Hello everybody. First, thanks a lot to the developper to bring this os to our old S5, and for all that help to debug the thing!

(my galaxy S5 SM-G900F was before running LineageOS 18.1)

Well I got a problem because when lineageos 19.1 is installed everything seems to work well except very low light in front camera mode. But that is not really important...

What is more annoying is that the SIM card is not detected.

As it is not detected I CANNOT desactivate SIM PIN in settings > Mobile networks.

I went back to ROM STOCK Android 6.0.1_SM-G900F_XEF_G900FXXS1CQD1_fac and mobile network is BACK, so this is not an hardware problem.

Then i install LOS 19.1 again and the pb is still there.

The 3rd time I made the install, I could access SIM PIN lock on settings and it was desactivated BUT unfortunately there was no network detected at all even after network research. After a restart, SIM PIN option has disappeared and got the NO SIM detected again.

I have to say that i made a clean install each time and i will tell you how i do so you can validate or not the way i do it.

I saw there was Lineage-19.1_Recovery_klte_2022-04-17.img but I used the last "twrp-3.7.0_9-0-klte.img.tar" and i think this is not a problem.

Ok what i do to make a clean install:(Sim card stay on sim slot):

1. In TWRP: Advanced Wipe > Erase Dalvik /Art cache, System, Data, Internal storage, Cache > Reboot to Download Mode

2. Flash with ODIN 3.12 ROM STOCK Android 6.0.1_SM-G900F_XEF_G900FXXS1CQD1_fac.

(This ROM is 4 files: AP, BL, CP and CSC that i all include to the flash at the same time) and start android.

3.Restart in download mode: Flash with ODIN twrp-3.7.0_9-0-klte.img.tar. with No reboot option. Remove battery. Restart in recovery.

4. In TWRP: Advanced Wipe > Erase Dalvik /Art cache, System, Data, Internal storage, Cache. No restart.

5.Flash lineage-19.1-20220907-UNOFFICIAL-klte.zip without restart. (Dalvik cache not erased after).

3.Flash MindTheGapps-12.1.0-arm-20220605_111643.zip.

6. Restart phone to OS.

Please I need help thx
[Samsung Galaxy S 5 Unified Development] Andresine:
Did you try a format data in wipe, advanced wipe in twrp?
[Samsung Galaxy S 5 Unified Development] calvin4242:
Hello there,

I make an advanced Wipe in TWRP before flashing ROM STOCK but NOT directly after flashing ROM STOCK (should I ??)

So I flash TWRP and make an advanced Wipe in TWRP.

Do you mean this part or after Flashing LOS 19.1?

I don't understand WHEN to make Wipe/ Advanced wipe correctly.
[Samsung Galaxy S 5 Unified Development] Andresine:
How to wipe in TWRP properly?​

1. After TWRP booted click on "Wipe"

2. Click on "Format Data"

warning

clearWARNING! Format Data will format your internal Storage! Make sure you have made a backup of important data! THIS CAN'T BE UNDONE!

NOTE: This step is needed to use encryption on your internal storage, "Format Data" will keep some space for the "footer" which is needed by encryption!

3. Type "yes" and confirm format action

4. Once format data is done click on the "Back" button.

5. Now click on "Advanced Wipe"

6. Check

Dalvic / ART Cache

System

Cache

7. Swipe to confirm wipe action

8. Once wipe is done, click on the back button to go back to TWRPs main screen. Click on the "Reboot" button.

9. Click on "Recovery", after that Swipe to reboot.

10. Done! Wait until your device rebooted into recovery, now you can flash any rom (made for your device) you like.
[Samsung Galaxy S 5 Unified Development] Andresine:
Perhaps you have got to config your apn

On S5 running haggertk's klte Unofficial LineageOS 16.0: Settings > Network & internet > Mobile network > expand Advanced > scroll all the way down to > Access Point Names (APN).
[Samsung Galaxy S 5 Unified Development] calvin4242:
Ok that's done! Now I got SIM card working! ✌️✌️

I didn't understand I had to Desactivate SIM lock in the ROM STOCK before installing LOS 19.1 beacause..it is not possible to do so in LOS 19.1 as SIM not detected.

Now 4g network seems to work (without adding any APN it is auto filled by provider when connecting to the network).

Thank you Andresine. I stay following the tread.

edit:

is it not easier to do an Advanced Wipe with Dalvik /Art cache, System, Cache & data instead of a normal wipe (format data) + Advanced Wipe with Dalvik /Art cache, System, Cache??
[Samsung Galaxy S 5 Unified Development] Andresine:
I installed a lor of custom roms in the last years and when ive got any problem format data fix a lot of probems when you install a new rom. That is the fun of experiment new roms.😉
[Samsung Galaxy S 5 Unified Development] calvin4242:
hello , i have an sd card in the phone and I cannot figure to find the setting to choose that the photos taken are saved into sd card instead of internal memory. Anybody knows the trick plz?
[Samsung Galaxy S 5 Unified Development] bmwdroid:
I always use Open Camera" from f-droid and that has a setting for that.

Of course the SD has to be fast enough.
[Samsung Galaxy S 5 Unified Development] calvin4242:
ok, so Android 12 has messed up "move to sd" functionality 🤬🤬Google 👊 👃 Samsung🤬🤬😡 . Alternative is to be rooted and i suppose use an application that can do that (but does it work with camera photos too?) OR format your SD card as internal storage.

see this tread:

Android 12 update has messed up 'move to SD' functionality.

Updated my A7 Lite today with Android 12 and the apps on my SD card are no longer accessible. The update to Android 12 has basically killed the 'Move to SD' functionality which Android 11 had. If an app is moved to SD to fails with 'Not Enough Storage' error even though there's 10s of Gb free...

eu.community.samsung.com

thank you bmwdroid

EDIT: I installed OPEN CAMERA free apk (have to go to Settings > More settings > Storage access framework > activate and select path to save photos to sd card.

That's done. Closed
[Samsung Galaxy S 5 Unified Development] calvin4242:
Hello, its me again 😭

It seems that i have a problem to pay with nfc. Anybidy reported issue with bluetooth or nfc please?
[Samsung Galaxy S 5 Unified Development] kurtn:
Don't cry. Pay cash.
[Samsung Galaxy S 5 Unified Development] epicman5324:
Just Installed Klte on SM-G900W8. Works Great!
[Samsung Galaxy S 5 Unified Development] lineageos191brickedmyphon:
Gapps always say that theres no wifi
[Samsung Galaxy S 5 Unified Development] kurtn:
Try 20.0
[Samsung Galaxy S 5 Unified Development] Redalike:
I ask it again, NFC-Google Pay? All the rest is negligible if you can't pay with it. Speak about your experience. I can add cards in googe Wallet but then they don't work at the terminals. I tried with nfc tags 213 stickers and they can be read/written by the phone normally. By doing it, I noted that the nfc chip is in the lower part of the phone, close to the speaker and the charging port. Isn't that weird? Shouldn't be in the removable battery close to the connectors?
[Samsung Galaxy S 5 Unified Development] oli004:
Hello Mr. @khalvat

I have a question for you concerning a possible continuation of LOS 19.1 for Samsung S5.

Since I cannot do without encryption, I cannot switch to 20.0 unfortenately. LOS 18.1 will only be supported another 3-4 months probably.

So I would kindly ask, if you can see a world where there could be further security updates for LOS 19.1 (no feature updates).

I would even be interested/offer to help in assisting in the maintenance of those updates (e.g. by trying the merges myself as well as possible or by creating vms that would automize the building process, if necessary).

I'd be really glad if that way, we could prolongue the life of encrypted LOS on Samsung S5 a few years longer.

Please feel free to pm me, if interested.

Thx and greetings from Germany

Oli4
[Samsung Galaxy S 5 Unified Development] kurtn:
Stay with 18.1 - it will have long support. Even in case of official drop.
[Samsung Galaxy S 5 Unified Development] oli004:
Hi @kurtn

thx for the quick answer. May I ask you to elaborate a bit? where will the support be maintaned after lineageos.org officially dropped it?
[Samsung Galaxy S 5 Unified Development] kurtn:
The lineageOS source code receives backports of security patches. Currently even for 16.0 - some even for 14.1 - everybody with enough computation power can build those. Taking into account the large user base, I'm sure someone will share it's klte unofficial 18.1 build in 2025.
[Samsung Galaxy S 5 Unified Development] oli004:
Good morning @kurtn

thank you very much. That's great information, that security patches are backported.

My offer still stands to help in maintaining future LOS 19.1 builds, if that is an option for @khalvat .

But building 18.1 updates on my own as a worst case scenario would also keep my phone alive a bit longer at least. Thanks :)
[Samsung Galaxy S 5 Unified Development] nhaabored:
There was a comment of someone who could install to SM-G900F. Possible to follow this guide: https://xdaforums.com/t/guide-tutorial-howto-samsung-galaxy-s5-from-stock-to-android-12.4354951/ , for Galaxy S5 SM-G900F ? Would be nice to try if there was a guide to follow.
[Samsung Galaxy S 5 Unified Development] siavosh9:
Please help me!

Hi khalvat & others.

I have a Samsung Galaxy S5 G900H .

It's the 3g version i think

Samsung Galaxy S5 (octa-core) - Full phone specifications

m.gsmarena.com

I couldn't find my LineageOS version between those posted.

It's my first time want to change my rom & I know very little about LineageOS.

Can anyone please tell me what is the lastest version of LineageOS for my phone? And where can I download it? Please send me the lastest offical link (does it have any site?!) of LineageOS for Samsung Galaxy S5 G900H.

Thank you very much :)
[Samsung Galaxy S 5 Unified Development] craP_cillA:
maybe you will find it here: https://download.lineageos.org
[Samsung Galaxy S 5 Unified Development] kurtn:
https://xdaforums.com/t/rom-unofficial-7-1-2-lineageos-14-1-for-samsung-galaxy-s5-3g-k3g.4415395/