yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] curiousrom:
Modem/Baseband & Bootloader - NFC HCE & Google Pay Fix?

Settings > About phone > Android version 9 > Baseband version. It does not show the Bootloader info.

Since you said in your bug report "Tested build without gapps and any 3rd party apps" you could use adb to get all the properties of your S5 including Baseband & Bootloader with:

adb devices

adb shell getprop

Then in the CMD or PowerShell > right-click the top bar > Edit > Select all then Edit > Copy & paste in WordPad or what ever. What I get on my S5 SM-G900M (klteub) amongst a ton of info:

[gsm.version.baseband]: [G900MUBS1CQA3]

[ro.boot.bootloader]: [G900MUBS1CQD5]

If you don't have adb yet on your computer & enabled on your phone see on the XDA portal What is ADB? How to Install ADB, Common Uses, and Advanced Tutorials (for Windows, macOS or Linux).

Optional: How to Use ADB or Fastboot From Any Directory on your Windows/Linux PC.

I see in your airplane mode mobile network standby bug report that you did not include the required logcat as described in the LineageOS Wiki How to submit a bug report. If you don't add a logcat your report will be rejected.

You wrote above that you have a kltedv. What is your exact phone model? Is it a SM-G900I or SM-G900P?

I like the free app AIDA64 > Android panel to see Baseband & Bootloader. Also neat is it's > 3-dots > Send Report in E-Mail to yourself so you can copy/paste the data w/o having to type everything. (screenshots)

View attachment 4722601 View attachment 4722602

I like also DevCheck > System where you can see Bootloader & Radio which is the same as modem or baseband like in the attached screenshot. You can > 3-dots > Export which saves a report in > internal sdcard > Download > DevCheck-{date}.txt with a lot less info compared to AIDA64's report & does not include the Baseband & Bootloader. OTOH it has nice graphics with live CPU frequencies & other stuff.

View attachment 4722603

Since you don't have Play Store you could get those apps on apkmirror.com. Use Privacy Guard to prevent start @ boot & Run in the background if applicable. I posted some S5 optimization tips here: Remove Animations UI Speedup Test - Taming Google & Apps.

I described how I updated my S5 here & included Odin screenshots: S5 Odin Flashable Modem & Bootloader but haggertk has only older Modem & Bootloader for the SM-G900I & SM-G900P @ the present.

BTW if you want a user to be notified of your reply you can use Mention by adding an @ in front of his exact XDA username like this [MENTION=9062980]quantumman[/MENTION]. If you quote a post for reference please trim it by deleting irrelevant stuff between the
[Samsung Galaxy S 5 Unified Development] quantumman:
[MENTION=4122877]curiousrom[/MENTION]

Thanks for the reply. I have used adb so i am quite familiar with it.

my device is SM-G900I

using getprop

bootloader: G900IDVU1BOE1

baseband: msm

I've attached the logcat and radio.txt (not sure if it was pertinent but attached it anyway).

Thank you again for the help and feedback.
[Samsung Galaxy S 5 Unified Development] paullaiuk:
[MENTION=4122877]curiousrom[/MENTION]

Can confirm Google Pay is working with build 13/03/2019 and Magisk 18.1. Other than that stock camera save to Android/data/org.lineagoes.snap/files if sd card is sellected. Just to add google lens seen to work now.
[Samsung Galaxy S 5 Unified Development] curiousrom:
G900I Old Modem & Bootloader - Google Pay Fix!

"baseband: msm" is not the right data. I also have for S5 G900M: [ro.baseband]: [msm] which is related to the S5's modem board: [ril.modem.board]: [MSM8974PRO] and motherboard: [ro.board.platform]: [msm8974].

Edit: [MENTION=9062980]quantumman[/MENTION] - You have to look for [gsm.version.baseband]: [G900MUBS1CQA3] as I posted above.

Did you check in Settings > About phone > Android version 9 > Baseband version?

Anyway your bootloader: G900IDVU1BOE1 is prehistoric from Android 5.0 Mon, 04 May 2015 as you can see here: https://www.sammobile.com/firmwares/galaxy-s5/SM-G900I/TEL/download/G900IDVU1BOE1/47833/ and you should update it & your modem is probably as old.

You could try to find a recent bootloader & modem combo flashable package on XDA site:xdaforums.com/ g900i modem bootloader or flash the most recent stock Samsung firmware for your S5 SM-G900I from here or here which would update to 6.0.1 G900IOPS1CQK1 2017-12 or older depending on the network provider you choose.

***

Google Pay Fix!

Thanks :good::cool: for the feedback.

Just a comment: "latest build" will not mean a thing in a day or so. It's good practice to include the exact build date IMO to avoid confusion.

Yes in stock S5 LineageOS 16.0 > Camera > hamburger > Storage > if you select SD Card the photos will be saved to /external sdcard I.D./Android/data/org.lineageos.snap/files/ & not in DCIM as usual.

This was posted several times in this thread and S5 dev [MENTION=2693412]haggertk[/MENTION] did not comment on it so far. I guess it's by design. :confused:

***

[MENTION=4054180]paullaiuk[/MENTION] You broke the quote because it's missing [/QUOTE] at the end. Could you edit your post & trim it as described 2 posts above yours please? :cool:
[Samsung Galaxy S 5 Unified Development] thetaphi:
Sure:

Since the update delivered this morning (LineageOS 16.0 NIGHTLY 2019-03-13), Google Pay (and other HCE solutions) work again! The "klte" (G900F) is one of the "older" phones which Google's Safetynet cannot query the status of bootloader (locked or not), so it passes Safetynet easily and can be used with Google Pay. The problem in Lineage 16.0 was a missing merge, so the configuration options to disable some special HCE mode called "NFC-F" did not work - it was ignored . Because of the mssing merge the code interpreting the config files ignored those setting and the NFC-F HCE was still enabled. The chips in the klte and other phones break when using that option (they don't respond to card reads on the HCE at all). The configuration fix was introduced long ago already in 14.1, 15.1 (I think also 13), but it was not ported over (merged) to 16.0.

The issue is here: https://gitlab.com/LineageOS/issues/android/issues/224 (affects many other devices using same chip, too), the fix is mentioned there.

I did not yet do a real payment (soon when I leave office, I will buy a coffee around the corner), but the phone now responds to the cardreader and shows the Mastercard Application and PAN number of my Revolut card:

View attachment 4722745

Uwe
[Samsung Galaxy S 5 Unified Development] quantumman:
[MENTION=4122877]curiousrom[/MENTION]

Sorry my bad.

Baseband: G900IDVU1BOD2

No worries ill update it and keep you posted. Cheers.

UPDATE:

Flashed the latest baseband: G900IDVU1CQK1

Airplane mode still not turning off mobile radio.
[Samsung Galaxy S 5 Unified Development] Ibuprophen:
Ahhh... Another Satisfied Member... LMAO!!!

View attachment 4722853

~~~~~~~~~~~~~~~

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle"}.
[Samsung Galaxy S 5 Unified Development] curiousrom:
S5 G900I Modem & Bootloader Update

Could you tell me how you updated your S5 SM-G900I Modem & Bootloader? What is your Bootloader now?

Did you flash a Samsung firmware?

I found a Odin flashable S5 G900I Modem & Bootloader package here posted by [MENTION=4480361]mmtrt[/MENTION]: AP_G900I_MM_BL-CQJ2+MDM-CQK1.tar.md5. It contains the most recent bootloader G900IDVU1CQJ2 and modem G900IDVU1CQK1 for the SM-G900I.

It contains all the proper firmware:

aboot.mbn

modem.bin

NON-HLOS.bin

rpm.mbn

sbl1.mbn

sdi.mbn

tz.mbn

If you used this one a confirmation would be nice so I could add it added to S5 Odin Flashable Modem & Bootloader as haggertk has only an older Modem & Bootloader BPD1 for the S5 SM-G900I.

"..Airplane mode still not turning off mobile radio." - How can you measure that so soon after updating it? The %/h battery drain should be very low & requiere several hours to measure.

BTW the drain from 100% to 92% is not reliable because the LineageOS 16.0 charges the battery to only 4.29v max. So it's better to discharge the battery to 92% or less & start measuring the battery drain from there.

See Battery Fake 100% for more details.

The wear & tear of the battery also affects it's capacity hence it's discharge rate for a given task.

For example if I have $10 & give you $1 that 10% of what I have. If I have $5 then that same $1 is 20%.

***
[Samsung Galaxy S 5 Unified Development] quantumman:
[MENTION=4122877]curiousrom[/MENTION]

No i didn't use the firmware you linked, I used sammobile latest firmware and flashed via odin, bootloader now is: G900IDVU1CQJ2

As you mentioned I haven't had enough time to check a battery drain, i used *#*#4636#*#* in airplane mode and saw mobile radio still switched on.

Battery is new, and last week on Lineage15.1 it lasted for around 25 days. (in airplane mode and mostly idle)
[Samsung Galaxy S 5 Unified Development] Anidatte:
HCE working again!

@curiousrom

I can confirm, that HCE / Google Pay payments works again on klte with latest 20190313 build! I made successful payment today. :D

Remaining issues (still present in 20190313):

1. I still cannot receive MMS without restarting mobile data transfer.

2. Notifications in default messaging app are broken. Notification LED doesn't work at all in this app and I have many "lags" with notifications (only in this application). For example: my phone received SMS, but notification does not show when screen is off, but when I manually turn screen on - the notification appears immediately (but still without LED blinking). I tried to reset app data, notifications settings, but have no luck.

3. AudioFX are broken - I remember in build 20190222 (LOS 15.1) there was so many changes in audio processing and after those changes, AudioFX worked really well. But on LOS 16 it is broken again. Example: when I playing music (in any app) with AudioFX enabled, it doesn't work, but when I open AudioFX application (with music playing in background) it works. It starts working only when I open AudioFX and if I change the song or something, it stops working again, until I open AudioFX. Sometimes it doesn't work at all, even if I open AudioFX app.
[Samsung Galaxy S 5 Unified Development] thetaphi:
I can confirm that, too. My early test this moring was just that the phone responds at all. But I also did a payment.

The phone is not mainly used by me, it's my backup phone (I have an S7), but it would be interesting to have one information from the others using Google Pay: Gogle Pay supports CDCVM, so you can pay above 25 EURs (or what your limit in your country is) without entering a PIN on the payment terminal - I do this every day with my S7 (which makes mobile payment a real cool thing and I prefer it to contactless cards - you can pay 300 EUR with your fingerprint, not even touching the payment terminal). Instead the smartphone authorizes the payment when you unlock the phone "securely" (no SmartLock, Faceunlock,...) shortly before the payment (up to 2 minutes). Otherwise the payment terminal asks you to verify and tap again.

The question is now: In the original Samsung firmware (Android 6.0.1) you were able to unlock the phone with fingerprint, but Samsung never implemented it as a fully valid fingerprint reader that can be used in any app (like GPay or your banking app). In addition GPay internally decided to don't accept the "unsafe Samsung-developed" unlocking as a valid thing to verify the payment to the terminal with CDCVM. This lead to the fact that you got into the mode "terminal says no, please check phone". And on the phone you had to unlock again (inside GPay). And here the problems started: You were not able to use fingerprint ("unsafe for payments") and had to fallback to the alternative password, which maked the phone completely unuseable for payments above 25 EUR with fingerprint as lock mechanism.

I was not able to test this with my test payment today (< 25 EUR), but how is it with Lineage OS?: Can you now pay above 25 EUR and verify the payment using your fingerprint? It should work now, as the fingerprint reader is fully supported by the Android operating system. I just wanted to figure this out before I use it for high value payments (may wife wants it to use it like that).
[Samsung Galaxy S 5 Unified Development] yoshkapundrick:
I have a Lexus 2005 with Bluetooth version 1.1 (probably) with HFP version 1.0 and OPP version 1.1. Currently the bluetooth makes a "excellent" connection as indicated on the car's phone display. Dialing using the car's display results in the phone dialing the desired number but the sound is not handed off to the car's phone system as it plays through the phone only. Similarly dialing using the phone itself results in the cars display indicating dialing and then connection but sound fails to be transmitted through the car phone system and is played through the phone.

On the unofficial 14.1 the bluetooth system worked flawlessly. Other than a hopelessly outdated bluetooth version on the car phone system is anyone aware of possible remedies to such a problem.

thanks
[Samsung Galaxy S 5 Unified Development] Ibuprophen:
I'm just curious if anyone else has experienced anything odd when the SELinux State is charged to Permissive Mode?

When i do change it to Permissive, the device looses its MAC Address and is unable to connect to WiFi.

This only happens when in Permissive Mode but, there's no issues while in Enforcing Mode.

Is this something by design as being temporary or permanent [MENTION=2693412]haggertk[/MENTION]?

Thanks a bunch! :)

~~~~~~~~~~~~~~~

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle"}.
[Samsung Galaxy S 5 Unified Development] haggertk:
Dunno, I'm not going to support permissive mode anything.
[Samsung Galaxy S 5 Unified Development] Anidatte:
I can tell you how it works in my case, in Poland. I cannot use fingerprint to confirm any HCE payments above 50 PLN (it's the limit in Poland, about 12 EUR). All HCE payments above 50 PLN requires PIN code entered on terminal. My phone and/or terminal never asked me to use fingerprint scanner instead.

But in online transactions, when I use Google Pay, I can confirm any payments by fingerprint (up to the maximum limit of my credit card, which is way above 50 PLN/12 EUR).

I can use fingerprint reader in my banking application.
[Samsung Galaxy S 5 Unified Development] deapaul:
Hi I have a problem when formatting my SD card as internal storage, it's a 128gb SD card but shows up as 256gb?? And says half that space is taken up with system files.

Anybody help?

Screenshots attached
[Samsung Galaxy S 5 Unified Development] cexcells:
Trying pie for first time my sim card is detected and registered on network but cannot make or receive calls and mobile data doesn't work. Coming from stock ROM
[Samsung Galaxy S 5 Unified Development] curiousrom:
SIM OK But Can't Make Calls

Exact phone model? (ex. G900F, G900M, etc.) Modem & bootloader? Network provider?

1- Check your network provider's recommended APN settings then double check > Settings > Network & internet > Mobile network > expand Advanced > scroll all the way down to > Access Point Names (APN).

2- I described how I updated my S5 G900M here & included Odin screenshots: S5 Odin Flashable Modem & Bootloader.

3- See this post No Network, No IMEI, No SIM & EFS Partition Restore Fix.

Please report back if you fix your problem or not. :cool:

***
[Samsung Galaxy S 5 Unified Development] Ibuprophen:
Okay Thank you... That's short and to the point... LOL! :)

1 more question/issue if it's okay with you...

After a clean install of the LineageOS Firmware, GApps and the AddonSU, I've been having trouble with keeping root for apps.

When i set the Root Permissions to either Apps only or Apps and ADB, then grant Root to any app the root initially works fine.

The problem is that after rebooting the device (anywhere from 1-3 reboots) the any app I have set for Granting Root, those apps always state that it cannot locate the SU Binary and, ultimately, end up without root for any apps that require it.

Also, the Root Management area does list those apps and also reflects that the Apps were Granted Root permissions.

This is experienced on both my kltevzw (G900V) & kltetmo (G900T) devices.

This issue, apparently, is being experienced by others but, I can't honestly state every member/device.

Thank you very much! :)

~~~~~~~~~~~~~~~

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle"}.
[Samsung Galaxy S 5 Unified Development] curiousrom:
Micro SD Card as Internal Storage - Adoptable Storage

It's safer & simpler to format the external Micro SD Card as portable storage IMO. You know that once formatted as internal storage you cannot run your S5 LineageOS without that card, right?

The confusing way external SD card formatted as internal storage displays the > Settings > Storage info is a known issue: site:reddit.com/r/LineageOS adoptable storage - Edit: this was fixed in LineageOS 16.0 builds 2019-08-13 or newer with this patch: 252493: Correction in logic of roundend size calculation of SD card

Good read:

Everything you need to know about your SD card and Adoptable storage

Let's clear up the confusion regarding storage in Android once and for all, including adoptable storage in Marshmallow.

As you can see in the attached screenshots:

LineageOS stock Files explorer > navigate to the external SD card > 3-dots > Storage settings > use Format instead of Format as internal which will format the card as Portable storage with the vfat FAT32 file system.

Settings > Storage where you can see > Portable Storage > SanDisk SD card.

On my Galaxy S5 G900M LineageOS 16.0 with a SanDisk Ultra 64GB microSDXC UHS-I Card Class 10 & using SD Card Test I get Internal SD card Read 223 MB/s vs. Removable SD card Read 40 MB/s so that's why I don't use adoptable storage & don't move apps to it. Write speed is about the same @ 25~27 MB/s.
[Samsung Galaxy S 5 Unified Development] Borsti666:
Problem with klteduos

Hi there!

I'm having a problem with my Galaxy S5 Duos klteduos since this morning:

Using lineage-16.0-20190313-nightly-klteduos-signed.zip from official lineage-download-site.

Phone was at the charger over night, activated it to check mails etc. When diplay timed out, I wasnt able to reactivate it again. Display is all black. Sometimes the statusbar pops up but doesnt respond. Android seems to work fine in background because some popups come up and I'm able to react to them. When holding the powerbutton, the menu shows up, but in a different form than before, with less options. Can touch whole Display and the responding circle is there. Rebooting: green lineage-dots are moving and when finished and it should ask for the PINs, the screen stays black.

Any ideas on this plz?

Made a TWRP Backup of this state.

Used TWRP to delete Cache/Dalvik, no effect.

Deleted Data and System, installed build mar 14. plus gapps. Works, but different problem:

I cant restore my google-backup because it requests a 3x3 diaplay-pattern in the startup-assistant which I never had! Always had a 4x4 pattern... tried it 8 times already and it says two more tries and then the backup will be deleted... F***

Please help me!
[Samsung Galaxy S 5 Unified Development] curiousrom:
Restore Google Backup 3x3 Pattern Problem

I remember users reporting Google Backup asking for a 3x3 pattern while they had a 4x4 when trying to restore but can't remember where I saw them @ the present.

Maybe you could restore your TWRP backup which was made after you successfully restored your Google backup, right?

Then change the screen lock to None, remove SIM lock if you have one & do a manual > Settings > Google > Backup without any passwords, PIN or patterns which I always do before changing the firmware besides a full TWRP backup.

Then I suggest a S5 LineageOS Super Clean Install which includes Format Data instead of just wipe. Note that Format Data destroys all the content of the internal sdcard as it rebuilds the entire Data file system as explained in that post.

So backup the content of internal sdcard to external sd card or computer before doing that.

Please report back if you fix your problem or not. :cool:

***
[Samsung Galaxy S 5 Unified Development] Borsti666:
Thanks for your suggestions, but the backup I have, is the one with the not responding black screen, what was the initial problem... :(

Any ideas to that one?
[Samsung Galaxy S 5 Unified Development] curiousrom:
Re: Restore Google Backup 3x3 Pattern Problem

Google backup won't backup the black screen problem which I guess could be solved with a Format Data.

Found a post about Google backup restore 3x3 pattern for decryption problem here:

Conclusion: use a 3x3 pattern if you must use one. It seems to be a Google Backup vs Pie bug.

Edit: Plus regular full TWRP backups in case of electric storms in the cloud.

***
[Samsung Galaxy S 5 Unified Development] Borsti666:
When I wipe data, the black screen is solved, but I have to restore my google-backup because I dont have a clean TWRP-one, but thats not possible because of the pattern... And I cant create a new google backup (without pattern) because of the black screen... devil's circle... :(

Need to know how I can solved the black screen without wiping data or other way, how to restore google-backup with the 3x3 pattern while actually having a 4x4...

Or do I missunderstand your suggestions?
[Samsung Galaxy S 5 Unified Development] curiousrom:
You wrote above "When diplay timed out, I wasnt able to reactivate it again." so restore your TWRP backup & immediately go to > Settings > Display > Sleep > 30 minutes.

Then do what I suggested above & keep the screen alive by tapping on it once in a while until the new Google Backup without pattern encryption is complete

I won't be available for the next couple of hours so good luck!

That's a question for Google Backup support & probably impossible.

***