yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] oli004:
I'm sorry, but I have never tried to install gapps in any lineageos.

My speculation would be to just flash it in TWRP either via the install button by copying the gapps zip file to the device first or via Advanced -> ADB Sideload and by sideloading the zipfile via adb sideload gapps.zip from your computer.

But I do not know, if maybe you have to repartition the phone first to have enough space for gapps, either before or after flashing lineageos.

Have you tried crdroid 8 (Android 12) also by @khalvat which seems to include gapps: https://xdaforums.com/t/unofficial-crdroid-v8-x-android-12.4386121/ ?
[Samsung Galaxy S 5 Unified Development] Sabda00:
After I installed lineages os 19.1, did the TWRP lost? Cause I try to recovery mode, but always failed.

Sorry if my english so bad
[Samsung Galaxy S 5 Unified Development] kurtn:
I doubt recovery mode is failing. Maybe you ticked "update recovery' and lineageOS replaced twrp with lineage recovery. There you can install GApps as well.

Tip for less experienced users: stay with official lineageOS.org and it's wiki
[Samsung Galaxy S 5 Unified Development] gaindelioide:
Hi, Kurtn,

I guess, the gentleman did what you mentioned. I also wonder why the user would like to install Google Play Store separately, although that application is included in the GApps.

If Sabdaa0 still wants to use the custom recovery TWRP, a renewed installation of it via Odin is necessary.
[Samsung Galaxy S 5 Unified Development] Sabda00:
Unofficial?
[Samsung Galaxy S 5 Unified Development] gaindelioide:
Hi, Sabda00,

Reinstall TWRP via Odin and then use it to install the ROM and MindTheGapps package. Restart your phone and at the end of the setup process, do not check "Update the lineage recovery". You will be all set and will have the Google Play Store installed in your phone.

Have a lot of fun ....
[Samsung Galaxy S 5 Unified Development] Sabda00:
I forgot to download GApps

Okey, I will try it tomorrow

Thank you all for the answer
[Samsung Galaxy S 5 Unified Development] kurtn:
19.1 is unofficial and potentially less stable than the official 18.1 based on android 11
[Samsung Galaxy S 5 Unified Development] oli004:
Hi,

question 1:

I have a strange behaviour concerning bluetooth: normal media is played via the bluetooth headset, but as soon as I start a call with this build, the audio is only played via the phone's speaker and microphone. The bluetooth headset is still connected, just the sound is not directed to or from it. The phoner app even shows the bluetooth signal for the output, but plays the sound via the phone's speaker.

Is this a general LOS 19.1 bug or just with this build? Or is there a wrong setting on my part? (calls are enabled in the specific bluetooth setting for my headset).

question 2:

In LOS 18.1 there was a sip client integrated in the phoner app. Was it removed in 19.1? Is it something concerning specifically this build or is it a general issue?
[Samsung Galaxy S 5 Unified Development] Abøú:
hi there!

i think we need some #gaming perf imporvement in this rom; because when we just play online games like PUBG"LOL" ,we just get under 30 fps and the games feel laggy frames rate drops...
[Samsung Galaxy S 5 Unified Development] khalvat:
Build 2022-08-11

Merged Aug security patch
[Samsung Galaxy S 5 Unified Development] kurtn:
Should it be visible in updater?
[Samsung Galaxy S 5 Unified Development] fakezorlend:
Thanks! Tested everything I can and it's working great! Stock frontal Camera has a problem, it's like having a dark filter on it. But changing to frontal Video mode it's working. Any 3rd Camera APP I tested, the frontal camera works, so no problem at all! Thanks again! (on lineage-19.1-20220811-UNOFFICIAL-klteduos.zip)
[Samsung Galaxy S 5 Unified Development] gaindelioide:
Lucky you. I tried the latest build on my SM- G900F KTLE and my SIM card was not recognized, neither at the beginning nor upon completion of the setup. With the previous build (lineageos-19.1-20220711-klte.zip) I experienced unwanted reboots. For the time being, I am sticking to the latest CRDROID ROM of Mr KHALVAT.
[Samsung Galaxy S 5 Unified Development] snsnse:
Did you do a clean install? Your issues sound similar to what I saw on my klte after dirty-flashing from the previous install (CrDroid or LOS 18.1, I'm not sure which anymore). After the clean install the only thing that is still noticeable is the occasional lag/unresponsiveness after wake-up and before unlocking. Interestingly, CrDroid was actually giving me random reboots etc, so I'm a little surprised it works better for you. The current 19.1 build is pretty stable here.
[Samsung Galaxy S 5 Unified Development] Ben Garp:
Is it possible To make a Patch For crdroid v8.1 Android 12? Thanks
[Samsung Galaxy S 5 Unified Development] khalvat:
No. My system storage have not enough space for download 106 GB sources and build other rom
[Samsung Galaxy S 5 Unified Development] fakezorlend:
All right, I can make phone calls and it's working really good but I can't get mobile data to work, it's active but says no connection. So I tried to update APN and change network to GSM, WCDMA, LTE. I'm using SM-G900MD klteduos. Is this ROM for G900FD klteduos only? Can anyone help? I'll keep using this Lineage (lineage-19.1-20220811-UNOFFICIAL-klteduos.zip) because it the best I ever used so far, from 7.1 /8.0 / 9 /10 / 11 since 2017 lol. No lags, random reboots etc while playing or reading stuff on Firefox Browser. Thanks in advance!
[Samsung Galaxy S 5 Unified Development] November91:
Galaxy S5 G900F klte

Stuck at Boot Logo (not Boot Animation) with yellow text "Set Warranty Bit : kernel" after installing this lineageOS + MindTheGapps 12

Flashed TWRP 3.6.2 via odin and restarted into Recovery

Wiped Dalvik Cache, System, Data, Cache

Installed lineage-19.1-20220811-UNOFFICIAL-klte.zip and MindTheGapps-12.1.0-arm-20220605_111643.zip

Wiped cache and dalvik

Restarted phone

-> Stuck at boot logo with yellow text "Set Warranty Bit : kernel"

Rebooted into TWRP, wiped Data and internal storage, Rebooted

no change, still stuck at boot logo with yellow text

Flashing LineageOS 18.1 + gApps 11 works fine

can anyone give me a hint what might be going wrong? Thanks in advance
[Samsung Galaxy S 5 Unified Development] kurtn:
Tap and hold Samsung Logo for 30 seconds.
[Samsung Galaxy S 5 Unified Development] gaindelioide:
Hi, snsnse,

I had to do a clean installation through TWRP since the running system was crDroid-v8.2. I also flashed the GAPPS (I first tried opengapps-arm-12L-nano-20220705-UNOFFICIAL.zip and then tried MindTheGapps-12.1.0-arm-20220605_111643.zip and in both cases the SIM card was not recognized). With crDroid-v8.2 I have never had unwanted reboots even though that build might not be as stable as LOS 19.1.

Is your SIM card really recognized at the very beginning of the setup or not? Do you own a Samsung Galaxy S5 KLTE (SM-G900F)?
[Samsung Galaxy S 5 Unified Development] gaindelioide:
HI, Sir Khalvat,

I just wonder why you abandoned the development and maintenance of your crDroid ROM, which could ultimately come out as the best custom ROM built for all KLTE variants. BTW, do you know that you alone has up to now published an Android 12 ROM for the KLTE variants. None of the other well known competitors of crDroidAndroid have released a single build of the ROM. I really hope that one day I will be able to switch to LOS 19.1 and have Android 12.1 installed on my phone. Thanks a lot for maintaining and releasing nearly on a regular basis the LOS 19.1.
[Samsung Galaxy S 5 Unified Development] snsnse:
Yes, I do have the klte (SM-G900F) variant. Is your SIM card not recognized occasionally or simply not recognized?

I never tried opengapps with this ROM, but since you also tried the recommended MindTheGapps, this can't be a factor.

Do you have the latest firmware installed for your region and provider? If not, it's available e.g. here, might be worth a shot.

You didn't post your entire installation procedure, here's what I usually do:

boot into latest TWRP

wipe cache, Dalvik, system, data

install LOS along with gapps, watch out for errors

wipe Cache, Dalvik

reboot (tap the boot logo to enable/speed up boot)

The only difference is that I clean-installed an earlier version of LOS and then kept updating.

If all this does not help, there's always the possibility of a hardware failure (SIM card or reader).

HTH
[Samsung Galaxy S 5 Unified Development] fakezorlend:
Hello friends, I'm trying to clean install again, but after first boot it keeps automatically factoring reset nonstop. It never happened to me before, can anyone help ?

EDIT

Fixed the problem above and Mobile Data that didn't work by:

Steps I did

> Flash Stock by odin

> Flash TWRP

> Flash your latest model Modem by Odin CP Option from our friend haggertk( https://androidfilehost.com/?w=files&flid=325192)

> Remove SIM and stuff before first boot

> Clean flash latest Lineage ROM mine is (lineage-19.1-20220813-UNOFFICIAL-klteduos.zip)

> For first boot keep swiping samsung logo so it'll boot faster (explained on previous posts here)

>Edit and save the system build.prop by adding the code persist.sys.fflag.override.settings_provider_model=false

> For build.prop you need to root device and get Root Browser (to find build.prop and text edit it) or BuildProp Editor from PlayStore

>Reboot and have fun!

Thanks to everyone who shared bugs and fixes, specially to our friend khalvat who always answer us, now I can use 100% from my phone.
[Samsung Galaxy S 5 Unified Development] gaindelioide:
Hi, snsnse,

I appreciate your suggestions for a solution to my issue with this build of LOS 19.1, but I prefer sticking to the crDroid v8.2 until the release of the next build. FYI, the baseband and the bootloader are up-to-date. I did pull out the SIM card, cleaned it and placed it again before trying a second time to flash the ROM. That did not help either.

You are just luckier than me (y)

(y)(y)
[Samsung Galaxy S 5 Unified Development] khalvat:
you should remove sim pin
[Samsung Galaxy S 5 Unified Development] snsnse:
Wasn't this fixed in the recent builds? And so far it only seemed to affect 4G functionality.

However, it's worth a try. As @khalvat said, remove the SIM card lock before installing the 19.1 ROM.
[Samsung Galaxy S 5 Unified Development] gaindelioide:
Thank you, Sir. I will try that today and give feedback.
[Samsung Galaxy S 5 Unified Development] gaindelioide:
I will try that workaround and see if it helps. Thanks again for your involvement in finding a solution to the issue I am facing with this latest build of the ROM.(y)(y)(y)
[Samsung Galaxy S 5 Unified Development] gaindelioide:
Hi, Sir,

I did what you suggested, and now I have an A12L as a running system in my venerable Samsung Galaxy S5 (SM-G900F) KLTE with a recognized SIM card. Once again, many thanks for your guidance and for developing and maintaining the ROM for our beloved device.

You are simply THE BEST 💪💪💪💪💪
[Samsung Galaxy S 5 Unified Development] fakezorlend:
My mobile data is working only on LTE and cant make calls. My signal is better on WCDMA mode and mobile data isn't activating but making calls work. I wanted WCDMA mode working for mobile data, any hints ? Like build.prop tweaks or something? Thanks in advance !
[Samsung Galaxy S 5 Unified Development] snsnse:
@khalvat, I'm so very appreciative of your work, bringing Android 12 to the klte variants.

But would you mind commenting on the klte SIM pin issue and whether it's still present (see also this post)?

As of now I'm still not sure whether it should have been addressed in the current builds, I assumed it was. But obviously that's not the case, at least not fully. If users (especially those new to this ROM) must keep that in mind, it'd be good to know and be mentioned under the bugs section in the initial post.

Thanks much!
[Samsung Galaxy S 5 Unified Development] Ben Garp:
Hi Sir khalvat i want To try this build and buy an S5. Does it Work with sm-g870a or s5 LTE+ ? Thx
[Samsung Galaxy S 5 Unified Development] Ryuzaki03:
Is this compatible to my Samsung Galaxy S5 SM-G901F?
[Samsung Galaxy S 5 Unified Development] n0b0dy666:
No
[Samsung Galaxy S 5 Unified Development] jeremywh7:
Hey khalvat - thanks for these builds! I couldn't get the Aug build to boot - S5 klte w/ MtG and no SIM. I have updated many times previously w/o issue e.g. from lineage-19.1-20220608-UNOFFICIAL-klte.zip to lineage-19.1-20220711-UNOFFICIAL-klte.zip.

However, updating from the July build to lineage-19.1-20220811-UNOFFICIAL-klte.zip resulting in being stuck on the LOS boot animation (I let it run over 40 minutes). Pulled battery and tried booting again - same thing. Then I did a clean install (w/ data format) and latest June MtG, same thing. Finally, I went back to recovery, installed the July build directly on top of that, and it booted to setup in 1.5 minutes (after the bootloader finger dance...), everything working fine again.

I've seen some report that the Aug klteduos build worked, but was unclear if anyone using klte got Aug to work?

Anyway, not a big deal, I'll see if a future build works... :)
[Samsung Galaxy S 5 Unified Development] Captain Kangaroo:
Had the same problem! Tried several tests update over 202207, clean install, all ended in bootloop.

Reflashed july build and everything is OK now!
[Samsung Galaxy S 5 Unified Development] gaindelioide:
Hi Cap,

The latest released build for the SM-G900F KLTE does work. Just make sure you remove the SIM PIN under Settings ---> Security ---> SIM card lock before doing a clean installation. On my phone, I flashed lineage-19.1-20220811-UNOFFICIAL-klte.zip with the unofficial opengapps nano you can obtain here https://drive.google.com/drive/folders/1ae_5jUOVG-spr63T0jyBpj6n3Anh4xKL and my system is up and running without any noticeable issue since then. You are an experienced user. Give it a try again. Your contributions in hunting bugs are appreciated and always welcomed.

Have a lot of fun ....
[Samsung Galaxy S 5 Unified Development] Captain Kangaroo:
Hey gaindelioide, thanks for advices

I'm using MindtheGapps because i met problem with Opengapps and BitGapps at the lauch of this rom.

I'll be giving a try and let know. I'm busy with A13 on my Pixel !

Have fun on XDA☺️
[Samsung Galaxy S 5 Unified Development] khalvat:
hi fixed boot delay after this commit

BACKPORT random: replace non-blocking pool with a Chacha20-based CRNG · Khalvat-M/kernel_samsung_msm8974@7a47074

The CRNG is faster, and we don't pretend to track entropy usage in the CRNG any more. Signed-off-by: Theodore Ts'o <tytso@mit.edu>

github.com

big thanks to @retiredtab for this
[Samsung Galaxy S 5 Unified Development] tarkzim:
Thanks, will try it ASAP.
[Samsung Galaxy S 5 Unified Development] joam280:
YouTube stopped working on my device
[Samsung Galaxy S 5 Unified Development] snsnse:
I'm not aware of a full ChangeLog being available for the builds, but the post announcing the August build said "Merged Aug security patch".

For me there were more changes noticeable than that, like changed icon/grid size and touch vibration/haptic feedback issues, battery life seems to have degraded, too. For others there even seem to be boot loop issues.

Would be nice to have access to a more complete change list, if there is any. I find it hard to collect them from the commits in the github repos. Would make the choice whether to upgrade easier.
[Samsung Galaxy S 5 Unified Development] retiredtab:
That commit is thanks to @phoval. He's the one that eventually found the problem.

For those developers/builders searching in the future, the problem is the very long delay in which the msm8974 kernel sits there for 15 minutes or more until you press the screen or volume buttons or plug in the microusb cable. Then after, the boot animation starts. The problem is shown here in this log

=== msm8974 boot ===
07-02 00:05:14.616 0 0 I init : starting service 'exec 5 (/system/bin/vdc keymaster earlyBootEnded)'...
07-02 00:05:14.618 0 0 E libprocessgroup: Failed to make and chown /sys/fs/cgroup/uid_1000: No such file or directory
07-02 00:05:14.618 0 0 E init : createProcessGroup(1000, 398) failed for service 'exec 5 (/system/bin/vdc keymaster earlyBootEnded)': No such file or directory
07-02 00:05:14.618 0 0 I init : SVC_EXEC service 'exec 5 (/system/bin/vdc keymaster earlyBootEnded)' pid 398 (uid 1000 gid 1000+0 context default) started; waiting...

07-02 00:26:32.499 345 345 E vold : keystore2 Keystore earlyBootEnded returned service specific error: -68
07-02 00:26:26.224 0 0 I init : Service 'exec 5 (/system/bin/vdc keymaster earlyBootEnded)' (pid 398) exited with status 0 waiting took 1271.605957 seconds
07-02 00:26:26.224 0 0 I init : Sending signal 9 to service 'exec 5 (/system/bin/vdc keymaster earlyBootEnded)' (pid 398) process group...
07-02 00:26:26.224 0 0 I libprocessgroup: Successfully killed process cgroup uid 1000 pid 398 in 0ms
=== end msm8974 boot ===

As you can see, it says "took 1271.605957 seconds" for keymaster earlyBootEnded or roughly 21.18 minutes. That process should take less than 1 second to complete.

By looking at logs, phoval suspected that entropy might not be working properly. We examined

cat /proc/sys/kernel/random/entropy_avail
132

On other 19.1 devices, we noticed the above value is usually > 900. We finally then found the commit to make keymaster earlyBootEnded work and now that process finishes in less than 1 second and we get

Service 'exec 5 (/system/bin/vdc keymaster earlyBootEnded)' (pid 404) exited with status 0 waiting took 0.139000 seconds

# cat /proc/sys/kernel/random/entropy_avail
4592

This problem might affect other older msm kernels, but I haven't had this problem on 19.1 msm8916.

Thanks to @khalvat for providing these LineageOS-UL repos so we can keep these legacy devices going. Thanks to @tarkzim for making suggestions to try and fix this problem before we discovered the above solution.
[Samsung Galaxy S 5 Unified Development] DJDamaux:
My Device: Samsung Galaxy S5 (SM-G900F) (klte)

Hey guys, so I have installed LineageOS 19 (Android 12), MindTheGapps 12.1.0, TWRP recovery and Magisk root.

I've been using it for a week now and it's so good to have a new feel to my old phone (spare phone for testing).

So the only trouble I am having is the boot up time that takes so long and the only thing I can do to bypass it, is by plugging in my phone to a wall charger and pressing a couple buttons and it loads up.

Before I started doing all this, I did do a fresh clean install of the stock, latest firmware and factory reset.

I followed all the instructions. I did read some where that it could be a bad kernel. But help me out and understand what that means.. And I know the "Set Warranty Bit: kernel" is normal on the boot logo screen, just saying.

Any help would be appreciated. Thanks!
[Samsung Galaxy S 5 Unified Development] kurtn:
https://xdaforums.com/t/unofficial-lineageos-19-1-android-12l.4427639/post-87281835
[Samsung Galaxy S 5 Unified Development] craP_cillA:
that means that it will come with the next build?! :)
[Samsung Galaxy S 5 Unified Development] DJDamaux:
So it's a bug ofc and that's the temporary solution.. Weird how that works.

So will it be fixed maybe in a next patch or something? No rush :)
[Samsung Galaxy S 5 Unified Development] Concept48:
Khalvat , what is your Paypal?
[Samsung Galaxy S 5 Unified Development] brt4722:
Installed the Rom. It works but not gapps. Tried opengapps and bitgapps.

Thanks for the Rom
[Samsung Galaxy S 5 Unified Development] DJDamaux:
MindTheGapps 12.1.0 Arm: https://androidfilehost.com/?fid=15664248565197177718
[Samsung Galaxy S 5 Unified Development] brt4722:
It worked. Thank you
[Samsung Galaxy S 5 Unified Development] khalvat:
Build 2022-09-07 (STABLE AND FINAL)

Merged sep security patch

Fixed bluetooth audio issue on music play

Fixed boot delay

Fixed screen recorder lag

improved battery life

build status changed from Beta to Stable
[Samsung Galaxy S 5 Unified Development] brt4722:
Can I install the update without wiping everything? Thanks
[Samsung Galaxy S 5 Unified Development] snsnse:
That kind of depends on where you come from IMO. If by "install the update" you mean installing over the previous build, then yes; I usually just wipe Dalvik plus Cache and flash the new build. LOS official upgrades wouldn't force you to wipe/reinstall either.
[Samsung Galaxy S 5 Unified Development] brt4722:
The update worked, thanks
[Samsung Galaxy S 5 Unified Development] fakezorlend:
Thanks for the update!

How can I force to Data Mobile activate and only work on 3G/WCDMA mode?

4G/LTE is working but the signal is just too weak.

When I make a phone call it changes to 3G mode then go back to 4G.

Any hints ? Thanks in advance!
[Samsung Galaxy S 5 Unified Development] jeremywh7:
Sounds great - bootloader delay is fixed! Unfortunately, on klte, both TWRP update and clean install fail to boot (sits on LOS animation forever), even w/o any Gapps. I had also tried MtG and OpenGapps 12L unofficial nano and micro, same thing. I had the same issue was on the Aug build, but Jul was fine. :) No SIM installed.
[Samsung Galaxy S 5 Unified Development] Captain Kangaroo:
Me either, back to july build as in my post #218.
[Samsung Galaxy S 5 Unified Development] fakezorlend:
Anyone stuck at twrp splash screen? I flashed lastest twrp. I also flashed stock waited for first boot to flash twrp again, still stuck on splash screen. Never had this issue before
[Samsung Galaxy S 5 Unified Development] khalvat:
i had this issue befor. flash and boot to stock then reback to twrp, full wip + data format and flash LOS again
[Samsung Galaxy S 5 Unified Development] Andresine:
Hello i have got noise rom 6.0 mm whith 3.0.0 twrp. Can i install this rom whith 3.0.0 twrp or should i update it ? What twrp version should i use for this rom? Thanks in advanced.
[Samsung Galaxy S 5 Unified Development] Concept48:
Thanks very much Bossman well done !!!
[Samsung Galaxy S 5 Unified Development] Concept48:
Listen up you guys , after reboot it took 2m20seconds to start booting , maybe in Sept build fixed .patience must be on your side to boot this phone on 12 , but once booted it works like a charm , at least here at my side
[Samsung Galaxy S 5 Unified Development] snsnse:
Dropping 4G during calls is simply a hardware limitation of the radio interface, AFAIK.

If you want to change the network type, try "Settings" -> "Network & Internet" -> "SIMs" -> "Preferred network type" and pick an appropriate GSM/WCDMA setting (e.g. "GSM/WCDMA auto"). Depending on your country/provider 3G might not be available anymore, though.
[Samsung Galaxy S 5 Unified Development] Concept48:
Still shows Aug SP , delay is gone rom works great here .!
[Samsung Galaxy S 5 Unified Development] khalvat:
not changed build data to sep by google
[Samsung Galaxy S 5 Unified Development] Concept48:
No problem bro , build works good boot delay gone , thanks!!!
[Samsung Galaxy S 5 Unified Development] mostafa3bdou:
- Many thanks for your efforts to bring life again for this device.

- Regarding the future updates that will be released, do we need to wipe and re-flash the ROM each time to install it or OTA updates are available?
[Samsung Galaxy S 5 Unified Development] jeremywh7:
fakezorlend, are you talking about the TWRP splash, or the LOS splash boot animation?

khalvat, Any ideas on the Aug and Sept builds failing on klte (other variants appear ok)? I've waited an hour on a clean install before having to pull the battery. July install works fine. :-) Btw, I have no SIM installed.

Is there a log I can pull from recovery after a failed boot? I don't see any last_kmsg nor pstore files. Thanks!
[Samsung Galaxy S 5 Unified Development] Concept48:
Welcome to XDA :) Your question , yes , just flash on top on the previous build and you will be good to go , at least here it went fine.
[Samsung Galaxy S 5 Unified Development] craP_cillA:
"Build 2022-09-07 (STABLE AND

FINAL

)"

so i assume that there be no more updates. ;)