yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] mutzsow:
I have the same problem in the near future.

I think the Fairphone3 looks good as an alternative. It's a little bigger than s5 but ok for me.

I really don't get the benefits of a missing 3,5 mm and no removable battery.

Isnt there a law that propriety code has to be released after a certain time?

It's a shame that it is not possible just to change the soc in phones. Image linux or windows wont work after changing the hardware....
[Samsung Galaxy S 5 Unified Development] Norbas777:
It's not my first time, but I'd rather ask. Do I play via TWRP or Odin?

Which rom would you recommend for S5 from stable and fully functional?

I would like to use it as a second phone + navigation.
[Samsung Galaxy S 5 Unified Development] kurtn:
Fully functional depends on external factors. But a good choice is 18.1
[Samsung Galaxy S 5 Unified Development] ZielonyOfficial:
Is in this build OTA supported?
[Samsung Galaxy S 5 Unified Development] kurtn:
Have you seen post #52 ? "Please do clean flash" that's quite the opposite of OTA.
[Samsung Galaxy S 5 Unified Development] ZielonyOfficial:
I mean for the builds in the near future after this 17.04 update
[Samsung Galaxy S 5 Unified Development] RDS5:
how did you build this rom? ive found your device tree files (https://github.com/Khalvat-M/device_samsung_klte) and such, and im using the repo manifest to build it. i cant seem to figure out how to build this rom, so i would like it if you could help me. i have opened an issue on the page here: https://github.com/Khalvat-M/device_samsung_klte/issues/1

please go easy on me, im pretty new to all this stuff..

@khalvat

im also wondering how you actually removed ebpf, since such a patch could be useful for many other devices.
[Samsung Galaxy S 5 Unified Development] moltisantii:
Can I install this version on Galaxy S5 Verizion version?

Regards
[Samsung Galaxy S 5 Unified Development] gaindelioide:
Hi, gentleman,

What is the model name of the Samsung Galaxy S5 of Verizon? If it is one of the following, then it is possible to flash this ROM on it: SM-G900F, SM-G900W8, SM-G900T, SM-G900M, SM-G900P, SM-G900V, SM-G900I. Further, the Samsung Galaxy S5 with the code name KLTE has the Snapdragon 801 chipset of Qualcomm and not Samsung's own chipset. Before flashing, make sure you have the latest firmware baseband for your device.

Have a lot of fun ....
[Samsung Galaxy S 5 Unified Development] moltisantii:
this is mine, so it will work. Thanks!
[Samsung Galaxy S 5 Unified Development] Fatihemreee17:
lte not working
[Samsung Galaxy S 5 Unified Development] khalvat:
Build 2022-05-08

Merged May security patch

Improved bluetooth connection
[Samsung Galaxy S 5 Unified Development] kurtn:
Magisk 24.1 survived update.
[Samsung Galaxy S 5 Unified Development] mop09737:
Hi, thank you very much. It's not possible to update via OTA?
[Samsung Galaxy S 5 Unified Development] mop09737:
Thanks, I've just install it, everything seems OK 👍
[Samsung Galaxy S 5 Unified Development] RDS5:
hey @khalvat is this project buildable? ive found the device trees but building it gives me errors.

how would i go about building this project myself?

the provided roomservice in the actual device trees doesnt compile. it seems like the errors are coming from the common trees, so what if i just excluded the common trees?

im still a noob at building so please go easy on me xd.
[Samsung Galaxy S 5 Unified Development] khalvat:
sync https://github.com/LineageOS-UL/android
[Samsung Galaxy S 5 Unified Development] CenturialWZQ:
EXM, Can I use Lineage recovery to update from Official 18.1 to Unofficial 19.1 directly without cleaning data?
[Samsung Galaxy S 5 Unified Development] Concept48:
twrp.me update your twrp I will review this rom today , find my channel48 on youtube
[Samsung Galaxy S 5 Unified Development] kltelegacy:
Hi,

Firstly, thanks so much for making this ROM! I use it on my phone and haven't experienced any major issues, other than mobile data not working. I've tried a few things to make data work (like re-inserting the SIM and changing the APN settings), but so far it's still broken. I was having the same IMS error as mentioned earlier by snsnse, but I'm not sure if that is the issue (as it is gone now and it was a warning and not an uncaught exception).

I noticed that there was a reject code for the data connection (rejectCause=-1, full log message below), which might have something to do with this issue, but I couldn't find any info about this online. If there is any way I can help with this (logs, test builds, etc.) or if anyone finds a solution, please let me know!

Thanks!

log message with reject code: (censored operator name)

RadioInfo: onServiceStateChanged: ServiceState={mVoiceRegState=0(IN_SERVICE), mDataRegState=0(IN_SERVICE), mChannelNumber=2147483647, duplexMode()=0, mCellBandwidths=[], mOperatorAlphaLong=XXXXX, mOperatorAlphaShort=, isManualNetworkSelection=false(automatic), getRilVoiceRadioTechnology=14(LTE), getRilDataRadioTechnology=14(LTE), mCssIndicator=unsupported, mNetworkId=-1, mSystemId=-1, mCdmaRoamingIndicator=-1, mCdmaDefaultRoamingIndicator=-1, mIsEmergencyOnly=false, isUsingCarrierAggregation=false, mArfcnRsrpBoost=0, mNetworkRegistrationInfos=[NetworkRegistrationInfo{ domain=CS transportType=WWAN registrationState=HOME roamingType=NOT_ROAMING accessNetworkTechnology=LTE rejectCause=0 emergencyEnabled=false availableServices=[VOICE,SMS,VIDEO] cellIdentity=CellIdentityLte:{ mCi=13097218 mPci=2147483647 mTac=10 mEarfcn=2147483647 mBands=[] mBandwidth=2147483647 mMcc=null mMnc=null mAlphaLong= mAlphaShort= mAdditionalPlmns={} mCsgInfo=null} voiceSpecificInfo=VoiceSpecificRegistrationInfo { mCssSupported=false mRoamingIndicator=1 mSystemIsInPrl=0 mDefaultRoamingIndicator=0} dataSpecificInfo=null nrState=NONE rRplmn= isUsingCarrierAggregation=false}, NetworkRegistrationInfo{ domain=PS transportType=WWAN registrationState=HOME roamingType=NOT_ROAMING accessNetworkTechnology=LTE rejectCause=-1 emergencyEnabled=false availableServices=[DATA] cellIdentity=CellIdentityLte:{ mCi=13097218 mPci=90 mTac=10 mEarfcn=2147483647 mBands=[] mBandwidth=2147483647 mMcc=null mMnc=null mAlphaLong= mAlphaShort= mAdditionalPlmns={} mCsgInfo=null} voiceSpecificInfo=null dataSpecificInfo=android.telephony.DataSpecificRegistrationInfo :{ maxDataCalls = 20 isDcNrRestricted = false isNrAvailable = false isEnDcAvailable = false LteVopsSupportInfo : mVopsSupport = 1 mEmcBearerSupport = 1 } nrState=NONE rRplmn= isUsingCarrierAggregation=false}], mNrFrequencyRange=0, mOperatorAlphaLongRaw=XXXXX, mOperatorAlphaShortRaw=, mIsDataRoamingFromRegistration=false, mIsIwlanPreferred=false}
[Samsung Galaxy S 5 Unified Development] Andresine:
Hello, I have installed the rom coming from crdroid. I have done a full format data and restored data from crdroid. Everything works fine but internet with data does not work. I have restored the internet configuration, I have deleted the apn and reconfigured the apn of my operator and I still do not have internet with data. With wifi if I have data. As a last solution I have done a full wipe and I have configured the rom from scratch without restoring data from my backup and I still do not have internet with data, the case is that the calls do work. I give up I go back to crdroid it's a shame but I've been installing roms for many years and this problem had never happened to me. If someone give me a solution. My operator is O2 from Spain.
[Samsung Galaxy S 5 Unified Development] Andresine:
I have the same problem you are not alone. I explain it in the last post.
[Samsung Galaxy S 5 Unified Development] Concept48:
Video on in some minutes !!
[Samsung Galaxy S 5 Unified Development] Andresine:
Hei Puk i show your video in youtube and its great but in the s5 you put sim card and it detects your country but you dont have internet conection just like me and snsnse? Or im wrong? Sorry for my bad english
[Samsung Galaxy S 5 Unified Development] Concept48:
Let me check hold on a second
[Samsung Galaxy S 5 Unified Development] Concept48:
Thanks for letting me know , I connected to wifi and it rebooted straight away ..now not booting anymore ,. update , it booted it took very long !!
[Samsung Galaxy S 5 Unified Development] Andresine:
I mean data sim conection not wifi one.
[Samsung Galaxy S 5 Unified Development] khalvat:
I'm trying to fix it for next update
[Samsung Galaxy S 5 Unified Development] Andresine:
great, meanwhile i'm back to your crdroid rom which works great
[Samsung Galaxy S 5 Unified Development] snsnse:
That would be great! As I said, please let me know if I can provide you with any more information that might help, besides what I already posted.

One other thing I'd like to ask... the obstacles for this ROM becoming official are huge (BPF implementation, kernel upgrade). But considering the age of the device, having an official LOS is not ultimately relevant IMHO, as long as the ROM is working well, signed with non-test keys, and receiving somewhat regular security patches. Are you (and maybe others, like @haggertk) planning on providing those?

Thanks much!
[Samsung Galaxy S 5 Unified Development] khalvat:
build 2022-5-17 only for kltedv , kltekdi , kltekor models is ready
[Samsung Galaxy S 5 Unified Development] CenturialWZQ:
The same problems, mobile data couldn't connect even if I opened it and set APN.

19.1, 220508, keltchn.
[Samsung Galaxy S 5 Unified Development] pmduper:
Hi @khalvat

sm-g900i. kltedv build

Formatted, advanced cleaned, latest TWRP.

Installed kltedv build only.

Phone calls worked however no mobile data. I'm using Telstra network in Australia.

Bluetooth does not route calls through carkit.

Thank you for you great work and thank you for building for kltedv.
[Samsung Galaxy S 5 Unified Development] Hamza Shahbaz:
@khalvat first of all thank you very much for bringing Android 12L to such an old device. I tried the build for kltekdi aka nttdocomo s5 -G900D everything is working fine and fluently except the phone doesn’t respond to the charger although it is actually charging in the background but it won’t show any response to the charger connectivity. After keeping the charger connected for several minutes if the device is rebooted the battery percentage increases which means the phone is charging. Another issue that appeared is related to screen cast, the device would try to connect to miracast but then fail to connect for some reason…screen cast isn’t that important but the main issue issue is charging activity …This charging issue is persistent on kltekdi variant since the release of lineage os 17.1 …On lineage OS 16.0 charging works perfectly fine. Please try to solve this issue …

Regards
[Samsung Galaxy S 5 Unified Development] khalvat:
Thanks for your bug report. charging issue will fix soon.
[Samsung Galaxy S 5 Unified Development] Tuddynumnums:
phone service is constantly using location even while location is shut off and controls on it are blanked out. G900W8 fresh latest install.
[Samsung Galaxy S 5 Unified Development] Hamza Shahbaz:
Thanks 😊😇
[Samsung Galaxy S 5 Unified Development] khalvat:
fixed and wait for next update
[Samsung Galaxy S 5 Unified Development] khalvat:
build 2022-5-18 for kltekdi is available

Fixed charging issue (need test)
[Samsung Galaxy S 5 Unified Development] Hamza Shahbaz:
downloading now...
[Samsung Galaxy S 5 Unified Development] Hamza Shahbaz:
So i tested the latest build the charging issue is partially fixed the device has starting showing response to the charger connectivity. But The device keeps on connecting and disconnecting from charging simultaneously, Tested it on computer as well 3 different chargers as well as a power bank. Data transfer works but charging keeps on connecting and disconnecting on computer. Same happens on offline charging. Charging initiates but keeps on connecting and disconnecting.
[Samsung Galaxy S 5 Unified Development] khalvat:
i dont have this s5 model for test myself but i will work on it for next updates
[Samsung Galaxy S 5 Unified Development] Hamza Shahbaz:
I will test the updates whenever you want me to .
[Samsung Galaxy S 5 Unified Development] axemre:
Great work @khalvat

Unfortunately, my device is lagging too much and is very slow. I've used your sources you provide on GitHub to build the ROM.

Does any1 have the same issue? Device too laggy and slow?

Anyway, thank you for your great work!

Keep it up!
[Samsung Galaxy S 5 Unified Development] khalvat:
Google suggests Vulkan graphic rendering on A12 but older 32-bit phones dont has this so we have problam with graphic rendering
[Samsung Galaxy S 5 Unified Development] axemre:
Ah, great. That's why. Our Adreno 330 is simply outdated. But anyway, it's kinda great :D 🤲🏻
[Samsung Galaxy S 5 Unified Development] curiousrom:
S5 Unofficial 19 Laggy?

FWIW to make the S5 18.1 U.I. faster & more fluid when opening the apps drawer, scrolling through home pages, opening Settings, etc: > Settings > Accessibility > toggle on Remove animations.

Try it before & after as fast as you can to see the difference.

What happens if you install khalvat's package instead of yours?

***
[Samsung Galaxy S 5 Unified Development] axemre:
Hey, thanks for the tip! Gonna try it as soon as possible. Unfortunately, it's lagging as well, no matter if I use my own build or khalvat's build. 😔
[Samsung Galaxy S 5 Unified Development] Tuddynumnums:
Hey man would a Bluetooth latency fix for stuff like Playstation controllers be out of the question?
[Samsung Galaxy S 5 Unified Development] vd6x:
thanks for the kltekdi build man :D , so I tested on SC-04F, the charger keep on disconnect - connect continuously. otherwise, all is good
[Samsung Galaxy S 5 Unified Development] Prove N.:
First of all, thank you very much for still maintaining kltekdi variant!

I'll provide logcat & dmesg about the charging bug should it help, since I cannot build this myself (PC too weak :< )

Device: SC-04F

Build: lineage-19.1-20220518-kltekdi, no GApps nor root (I can't install Magisk in latest TWRP for some reasons)

dmesg: https://gist.github.com/almondnguyen/0864028cee4068629265f11f6c2b6c40

logcat: https://gist.github.com/almondnguyen/4e34648c3a1ca8a2f70bda810e9c9b66

P/S: I can test for kltekdi if you need to.
[Samsung Galaxy S 5 Unified Development] Tuddynumnums:
G900W8 on occasion I can't open any apps hitting the icons I hit the power button and put my code in then the app starts when it logs In.
[Samsung Galaxy S 5 Unified Development] khalvat:
Build 2022-6-8

Merged jun security patch

Improved GPS
[Samsung Galaxy S 5 Unified Development] kurtn:
Thank you. Magisk 25.0 survived update.
[Samsung Galaxy S 5 Unified Development] Andresine:
Did you fixed it?
[Samsung Galaxy S 5 Unified Development] Andresine:
The mobile data error i mean.
[Samsung Galaxy S 5 Unified Development] colla_76:
Hello, I have installed this great build but the mobile data of the sim is not activated. is it a bug or am I wrong something? thank you!
[Samsung Galaxy S 5 Unified Development] craP_cillA:
did you flash the latest version (lineage-19.1-20220608-UNOFFICIAL-klte.zip)?!

it would be really disapointing, if that huge bug would still be present.. :confused:
[Samsung Galaxy S 5 Unified Development] colla_76:
yea
[Samsung Galaxy S 5 Unified Development] craP_cillA:
i can confirm that: mobile data doesn't work in the latest build too..hmpf!
[Samsung Galaxy S 5 Unified Development] kurtn:
For my klte mobile data doesn't work. APN is same as with that sim on a well working s4 mini

.. And long screenshot produces completely black pictures in dark mode. Bright mode works kind of OK.
[Samsung Galaxy S 5 Unified Development] Tuddynumnums:
Not sure this is a glitch or not but Im typing with voice in Messenger and Gboard and my location is still being accessed when ever I do that with location shut off.
[Samsung Galaxy S 5 Unified Development] curiousrom:
That you disabled the device's location or not does not change the fact that those apps have the location permission enabled.

***
[Samsung Galaxy S 5 Unified Development] snsnse:
Same here (klte). As said, please let me know if there's anything I can provide to help fix this.
[Samsung Galaxy S 5 Unified Development] oli004:
I'm attatching the dmesg output for klte with mobile data not working. I tried multiple values for preferred network type (LTE,/TD-SCDMA/GSM/WCDMA) and tried to connect to the networks manually.

Is there another log that is more suitable to help with the mobile data issue?

Do you have an estimate to how hard this problem is to fix?

EDIT: My text file does not seem to come through, so here is a ghostbin of the dmesg output:
[Samsung Galaxy S 5 Unified Development] rgrapow:
as a golden rule, never ask for estimate (aka ETA) even more if it's an unofficial build. When someone asks for that, they will always get an "it will ready when it's ready" answer.
[Samsung Galaxy S 5 Unified Development] Tuddynumnums:
Messages has Location to Not Allowed, also Mobile Network used as much as 3hr and 34Minutes of screen on time and I barely talk somethings eating battery life.
[Samsung Galaxy S 5 Unified Development] khalvat:
All fine here in my klteduos

Please root your device and find system/build.prop then add this line

persist.sys.fflag.override.settings_provider_model=false

Reboot your device and test mobile data again
[Samsung Galaxy S 5 Unified Development] kurtn:
Replaced build.prop in twrp. Got boot loop (klte)
[Samsung Galaxy S 5 Unified Development] oli004:
I tried to change /system/build.prop as suggested and added the line via TWRP (changing as root/su while running lineageos wasn't allowed) and rebooted. Unfortenately same behaviour as without the added line.

It seems to me, that the phone just does not recognize LTE or WCDMA networks at all. So the behaviour for my phone is, that it is searching for networks for 1 min and then reverting to GSM/EDGE (but without mobile data there as well).

when I change the preferred network type to e.g. LTE/WCDMA then the phone does not connect at all and does not even find my network provider's network. Only in GSM/WCDMA/LTE it seems to recognize the GSM networks.

Hope that helps narrowing it down.

Here is the current dmesg: https://pst.klgrth.io/paste/vtspg

And this is the /system/build.prop to check if I changed it correctly: https://pst.klgrth.io/paste/gvs5j
[Samsung Galaxy S 5 Unified Development] tmuhlhausen:
Will this work on the kltecan a.k.a galaxy s5 neo a.k.a the sm-g903w
[Samsung Galaxy S 5 Unified Development] kurtn:
Different processor. It's more compatible to a3 2016
[Samsung Galaxy S 5 Unified Development] kltelegacy:
I tried that (also with TWRP), but it didn't change anything, even with a clean install.

For me, the LTE and WCDMA networks are detected (and the voice networks work), but the data networks don't work (they get stuck on connecting in the *#*#4636#*#* Testing/Phone Information menu). I'm 99% sure I have the latest baseband/firmware versions.

Hope this helps. Any suggestions?
[Samsung Galaxy S 5 Unified Development] khalvat:
Please test this build and Remove sim pin befor flash

lineage-19.1-20220622-UNOFFICIAL-klte.zip

drive.google.com
[Samsung Galaxy S 5 Unified Development] craP_cillA:
how is it possible to remove a sim pin?! :unsure:
[Samsung Galaxy S 5 Unified Development] kurtn:
In settings security
[Samsung Galaxy S 5 Unified Development] kurtn:
Works
[Samsung Galaxy S 5 Unified Development] kltelegacy:
Works great, thanks!
[Samsung Galaxy S 5 Unified Development] craP_cillA:
but there you can only disable the screenlock options, you can't disable/remove the pin for your sim-card! can i re-enable the screenlock options again after flashing? otherwise there would be a new problem now that mobile data finally works: no phone security.. :/
[Samsung Galaxy S 5 Unified Development] khalvat:
SIM card PIN is different from screen lock
[Samsung Galaxy S 5 Unified Development] craP_cillA:
ok, i found the option. :)
[Samsung Galaxy S 5 Unified Development] oli004:
Yeay :). It works as you suggested. Thank you very much!

I tried to set the SIM pin after the first successful test. With PIN-locked SIM after rebooting, the SIM is sometimes recognized but most of the times not recognized at all (no PIN query and no SIM card visible in the settings).

But that you are probably already aware of, otherwise you would not have written about the removal of the SIM PIN.

Without SIM PIN working well so far. Thanks again.
[Samsung Galaxy S 5 Unified Development] Nick Jonez:
Thanks Mr. khalvat. Great Great rom with amazing battery life. I get 3-4 SOT (and sometimes more) with full wifi and data usage on klteduos. but there is a problem with bluetooth calling and phone not transferring voice (both IN and OUT) to my earbuds. there is no problem in music and it's just not recognizing earbuds in calls. Is there any fix for this?
[Samsung Galaxy S 5 Unified Development] colla_76:
Top!!!
[Samsung Galaxy S 5 Unified Development] Andresine:
it works finally. thanks so much for your great work.
[Samsung Galaxy S 5 Unified Development] peelie:
good to see 19.1 for klte! is there a link to kernel source? thanks
[Samsung Galaxy S 5 Unified Development] khalvat:
Added in first page
[Samsung Galaxy S 5 Unified Development] peelie:
thanks!
[Samsung Galaxy S 5 Unified Development] snsnse:
This takes care of the 4G issues for me, thanks much! Is there a chance that there will be a fix at some point so that SIM PIN lock will be available again?

There's another minor issue I can't quite figure out...

I have two klte phones, basically clones, one I use as a daily driver, the other for testing. I did the same thing on both to install the lates klte ROM (wiped system, dalvik, cache, flash ROM and latest MindTheGapps). On one device the system app icons - like phone, calculator, gallery, etc - changed compared to LOS 18.1 (not for the worse IMO), on the other they didn't. I attached a screenshot of the changed icons. Can someone tell me which icon set is expected with this combination of ROM/Gapps?
[Samsung Galaxy S 5 Unified Development] kurtn:
To update the icon set. Just change screen size in settings.
[Samsung Galaxy S 5 Unified Development] snsnse:
That worked (display size), thanks!
[Samsung Galaxy S 5 Unified Development] yoshkapundrick:
Sorry for the novice question, when you say 4G issues, does that include 4G calling (VoLTE) ?
[Samsung Galaxy S 5 Unified Development] snsnse:
No, this was about 4G (mobile data) not working for klte (see e.g. here, others have reported the issue, too). You will most likely not see VoLTE for the klte variants since the drivers are proprietary AFAIK.
[Samsung Galaxy S 5 Unified Development] oli004:
Hi,

the ROM continues to work without any problems with klte.

Quick question: The built-in VPN options in LineageOS 19.1 do not support IPSec-Connections (or any other like PPTP etc.) like it did in LienageOS 18.1. Is that specific to this build or is it LineageOS 19.1 itself that removed that option?

Thanks
[Samsung Galaxy S 5 Unified Development] Tuddynumnums:
Just as a Fair warning to anyone who's unaware using the google Messenger,Contacts and Phone App with the G900M ktle causes alot of gigantic lengthy lag spikes coming out of sleep best to just use the ones that get installed with the phone.
[Samsung Galaxy S 5 Unified Development] Tuddynumnums:
oh god, I think I found another bug using Lemuroid running Snes it lags and the audio is choppy but holding my finger on the screen makes it run smooth letting go returns it to running poorly, not as bad on johns nes testing aero the acrobat and Super n64 using banjo kazooie but it gets more hiccups in the audio when I let go.
[Samsung Galaxy S 5 Unified Development] x2k13:
Yes, noticed that too (G900F), but I wonder why the device is so aggressively closing these crucial apps. Are they not whitelisted?
[Samsung Galaxy S 5 Unified Development] mop09737:
Hi, I installed the 20220622 version but there is a problem when trying to update apps or install new apps in Play Store, it says that there is no space available to install anything, could you see this please? Thanks
[Samsung Galaxy S 5 Unified Development] khalvat:
wipe all + format data with twrp