yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] danwood76:
You need to compare against stock, different phones will sound different.

The important thing is background noise/hiss reduction and improved volume which this should achieve compared to current official builds.

Kind regards,

Danny
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] Andriodfox:
It worked only with a fresh install for me.

The Mic levels are sorted, now that is stock volume!

Hiss is still there but greatly reduced. (some pops and clicks remain still)

I understand what the other guy said about frequency as it sounds pretty muffled.

Missing most of the high end, heavy mids and lows with a rough overall processing.

I get that this is a secondary issue to what you aimed to fix.

Great job! I suggest everyone give it ago, this makes my phone officially useable =D lol.

EDIT:

Is there some kind of EQ file I can tinker with to clean up the sound a bit?
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] sekret1:
Hey Danny, you are right of course. I guess the S5 Neo just has a very bad microphone and all you can do / all we can expect is it being as good as possible.

I've done a comparison between default LOS and LOS + patch. The recordings were done with the app Audio Recorder from F-Droid with 48 kHz set as bitrate, wav as file format and with "mic" and "unprocessed" respectively. You can download the raw data from here: https://upload.disroot.org/r/Xbv6ujMr#KpqJUJ9sAGp7DbCAcCneXngGrGqZPvkHcR07O2jTSek= I played back a white noise over my studio monitors. The room's background noise was very consistent, the positions of both the phone and the monitors were the same with every recording.

All in all we can see, that the S5Neo has a low pass at about 7 kHz. That's why it sounds so muffled. Without the patch this low pass isn't visible because of the high noise floor, which goes up beyond human hearing. It's why the unpatched sounds seem to be better, which they are not. Maybe I should have recorded some music…

With the patch the silence recordings show that the "unprocessed" setting produces more noise, the "mic" setting seems to implement some noise gate. I don't know what causes this 140 Hz peak. It's interesting that this seems vice versa without the patch.

All in all it's definitively an improvement, so I absolutely vote for the inclusion of this patch! However, I have to ask: Is this 7 kHz low pass fixed with this phone or can things still be done about it?
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] danwood76:
Hi,

When getting the patch ready for inclusion I realised that the mixer file I have used in my original patch was not correct.

Here is an updated file, so this is actually using the stock S5NEO mixer settings:

1.24 MB file on MEGA

mega.nz

Are you able to retest and see if this is any better?

Looking at the differences it should have swapped the microphones around which should hopefully improve frequency response.

Kind regards,

Danny
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] sekret1:
Will do tomorrow (y)
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] 0LDST4R:
Short feedback from me:

Calls are completely normal with your v2 patch, did a few test calls. Freehand mode is broken for me atm, can't hear the caller and he/she can't hear me, so i guess Google Duo or WhatsApp Video Calls are broken too, but i didn't tested it BEFORE i flashed your patch. Voice records are ok, loudness is normal, tested with "Mic Test" and "Audio Recorder ( no ads ) from Play Store. So, for me it's ok, as i wrote earlier i use my S5NEO as business device. Can do normal phone calls now. Thanks @danwood76 , good job.
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] danwood76:
Thanks for testing.

I will check the new config against the old one with regards to speaker phone. It's possible that the wrong path is been selected.

WhatsApp and Google Duo likely use a different audio path so it would be great if you could test that.

I do not own an S5NEO, so for these patches to be acceptable I will need all audio paths checked including; BT headsets (calls and music playback), camera video recording, audio recording (there is a default recorder app for this), calls, speaker calls, headset calls, headset music, headphone music, Google now, WhatsApp video and audio calls, and possibly others. 😁

Kind regards,

Danny
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] sekret1:
Alright, so I've done a new test. Same procedure as last year time: white noise through studio monitors + silence (not absolute silence, more like room ambiance) with both the old and the new patch and both "mic" and "unprocessed" settings.

Here's the raw data.

All in all I don't see any significant difference. Any difference is more likely caused by external influences. This is not a laboratory test! ;)
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] danwood76:
Thanks for testing.

I think the 7.5KHz cut off would align with a narrow band voice noise reduction filter. You don't care about anything over that for GSM voice (2.5G) so that would make sense.

Are you able to test speaker phone (handsfree or whatever it is called)?

Kind regards,

Danny
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] danwood76:
Are you able to retest "Freehand" calls with v1 of the patch?

Kind regards,

Danny
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] 0LDST4R:
Yes, i'll do it today evening. Will report soon.

Edit:

Test with v1 same result, one click on the other side, and then it's quiet. With stock ( LOS ) settings speakers are working in freehand mode, but very quiet, the old problem. Dirty flash, not a new install, must keep my data until this weekend. Sorry.
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] danwood76:
Can you test one more for me?

This is using the default LineageOS mixer settings:

1.24 MB file on MEGA

mega.nz

Failing that I would probably need to get an S5NEO to actually fix the mixer issue.

Kind regards,

Danny
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] 0LDST4R:
Of course i'll do. On coming weekend i plan a fresh install, maybe i messed up with some settings, my system runs few months now. And very fine. ;)
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] ashold7:
Hey,

could someone please explain the difference between this ROM and the one on the lineage-os website?
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] danwood76:
Hi,

This is the support thread for the official lienageos version, the versions earlier in this thread are unofficial, old, and not maintained. Essentially the official version is the latest version of this ROM.

Regards,

Danny
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] 0LDST4R:
What should i say, i dunno WHAT you've done but now everything works for me. I only tested calls, normal and freehand mode, no video calls. i think v3 is the solution, very sure. Would be nice to read other users opinion to confirm.
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] jokeris:
Is there a patch that will enable external ringing for incoming calls when handsfree is plugged in? (just like it was with official rom)
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] danwood76:
That's great. This is just using the original mixer values.

Was the freehand mode louder and clearer than before the patch?

Kind regards,

Danny
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] philippe734:
Please, could you indicate to me how to use Trust to set custom permission for apps, such as run at start ? I come from LineageOS 16 and Trust was able to set permission for a lot of permissions by apps such run at start. But for LIneageos 17, trust is only a menu without a way to set permission by apps. Any help would be appreciate. Rom flashed with success from lineageos 16 to the version 20210307, and magisk installed with success. Rom ok for daily use, good work!
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] 0LDST4R:
Yes it is. In v1 and v2 the freehand/speaker calls were completely broken, it was like when the mute button was pressed. Nothing to hear and the caller couldn't hear anything too. I never used / tested freehand calls before, it wasn't necessary.
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] stern67:
Hi,

I'm not sure if it is bug or change...

Proximity sensor is not waking screen in new builds of LOS. It worked prior to 20210103 build.

Regards

Mark
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] danwood76:
The setting has changed. Reconfigure it and it will work again.
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] stern67:
You mean "Prevent accidental wake-up" switch off and switch on? I tried this without effect in couple new builds. Or maybe there is new option in settings?
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] danwood76:
Odd. The new setting has disappeared, I will look into this tomorrow.
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] stern67:
Did you find the reason?
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] danwood76:
I forgot to respond. The setting was just in a different place to where I thought it was.

It should be under lock screen settings? At least it is on my devices.
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] stern67:
Thanks for the hint. I re-enabled this, at last.
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] yoruuba2:
SafetyNet issues with April18 Nightly:

Device not passing SafetyNet with April 18 Nightly.

Worked with no issues prior to updating the ROM.

Rooted with Magisk, running version 22.1
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] danwood76:
Testing for safetynet is broken right now. If you see Netflix in the app store it is still passing.

Regards,

Danny
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] yoruuba2:
Than

Thanks Danny👍. I was able to download and install Netflix.

Thanks to you and the other Devs for your hard work.
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] 0LDST4R:
Use the Magisk Canary apk, all fine.

Testing works again, it's not a ROM related bug.
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] yoruuba2:
Thank you 👍
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] joam280:
Hello good evening, continue the development of this ROM? thanks to the developer 😉
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] 0LDST4R:
Why not? ;)

Click me!
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] :
Does VoLTE work?
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] danwood76:
Read the OP and you might find out
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] :
Excuse me, but I already read the OP before asking.

Usually, ROM posts specify what is working and what is not / known issues. In this case, VoLTE is neither confirmed nor denied to be working.

So how am I supposed to know?
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] 1stglam:
Resolved: I need help and don't have experience: All works well but I could not install some app from Google Play Store: "App requires external storage"

I installed several times from TWRP 3.5.2_9 after wipe, LineageOS 17.1 20210530 with different open_gapps arm-10.0-mini-20210529 stock, micro nothing change + Magisk-v23.

SD Card is 64MB I can see as disk in Storage - Portable storage where I put the zip files to install.

Thank You!

LE: I found a solution https://xdaforums.com/t/app-requires-external-storage.4098673/post-84342669

What I really don't know is why no internet in 4G? - Mine works if set manually for 3G or Wifi
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] EarlHickey:
What a struggle - i fought the hole night and mainly this sunday with Heimdall and zadig (ERROR: Failed to access device. libusb error: -12).

But in the end - it works!!!!!!!!!!!!!!!!!!

Thanks a lot - love this phone and now it's not only a bone to throw :D :D
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] popsicle and crackers:
I finally found it.
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] hydrouk:
I am looking for a compatible GAPPS package, anybody have any luck?
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] hydrouk:
Just in case others have this issue i will detail what i did to get this to work.

I grabbed the latest 10.0 Stock from this link https://opengapps.org/?api=10.0

I first flashed the system image from the root of this thread, i then flashed the package from the above link, then i reflashed the system image. That all seemed to work for me in the end.
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] Neoony:
You should get the system image from here https://download.lineageos.org/s5neolte

Not from the original post of this thread

Not sure why the links are not updated in this thread

I guess you might be able to just update with built in updater, dont remember now :p

But I remember I had some issues long time ago where it was better to flash LineageOS twice.

EDIT:

I guess this migration patch was used to go from unofficial (the ones linked in first post) to official one (the one from lineageos.org)

https://xdaforums.com/t/rom-unofficial-s5neolte-sm-g903f-10-0-lineageos-17-1.4082017/post-82692595

But if I was you, I would just wipe and flash the newest one while fresh :D
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] Neoony:
In case someone here missed

Unofficial 18.1 was posted (android 11)

[ROM][UNOFFICIAL][s5neolte][SM-G903F][11] LineageOS 18.1[17-06-2021]​

https://xdaforums.com/t/rom-unofficial-s5neolte-sm-g903f-11-lineageos-18-1-17-06-2021.4292703/
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] dizzymon:
Having issues installing apk with unknown sources. I'm going to use LineageOS 17.1 instead. Anyone know where to get the latest version?
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] Neoony:
2 posts above yours :D
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] dizzymon:
I figured it out. I downloaded the ARM64 instead of just ARM versions and everything works now!
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] Cycloptic:
So ARM64 works for our device? I was wondering why its there for the NEO (If it doesn't work on it.)
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] MaddogIT:
No, our device works only with ARM even if the CPU is capable to use 64 extensions but the original Samsung blobs not.

dizzymon says that he wrongly installed the ARM64 version, this is why wasn't working.
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] Cycloptic:
Cool, thank you MaddogIT

Though, I think LOS should get Radio working but its impossible for our

device. Someone mentioned that its not in the LOS blobs, so that's one of the reasons.

Also, I heard its supported for Stock ROM though.

I read,. some carriers disabled the radio and it would need to be activated internally though the phone.
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] sekret1:
Ok, now it has happened to me the second time, so I'll post it here:

I have the latest version as of this day installed. More precisely the microG variant, but I don't think that causes anything.

For battery management I use the app AccA to have a long battery life. That means the battery goes up to 80%, back to 70% and then up to 80% again. I have my phone plugged in the computer, so it charges quite slowly, which is fine. When I looked at the phone I saw the battery to be at 50% without the phone charging. Curious. Unplugged and replugged it. Nothing happened. I thought, what the hell, do a reboot.

Now, what happened after the reboot: My SD card was completely empty! I had my whole music collection on it and of course other stuff. Everything gone. It's no big deal, there's nothing really important on that phone, but I'm really curious how this could have happened!

I'm not sure if the battery thing has something to do with it, for now it's just a correlation, nothing more. The battery thing has also happened before, but I don't remember if it then also correlated to the erased SD card.

The SD card is quite new and just recently after the first time it got erased I checked it by writing zeros to it with

dd if=/dev/zero of=/path/to/sd/card

without an issue.

What could have happened here?! Any ideas?

edit: It looks like the card was still formatted, because I didn't have to re-format it and some folders (e.g. the Android folder) was already created again.

edit: Forgot to mention, that I configured the SD card to be an extention to the internal storage.
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] danwood76:
Why do that? You really should not need to, constant floating of the battery between 70% and 80% will certainly shorten its useful life. Full charge/discharge cycles are much better.

Your phone will regulate the charge into the battery and will stop it charging when full or after a specific period of time, which is what you have seen with the charger switching off.

It sounds like the inode table got corrupted and the device recovered it for you.

SD cards do not last forever. Also writing from /dev/zero is not a good SD test. You need to write random data to the card and then read it back and verify it afterwards.

I would bet that your SD card is failing.

Kind regards,

Danny
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] sekret1:
Alright, thanks for the hint about testing the SD card. It's actually quite new, about 6 months old. But yeah, maybe it really is to be considered old already ;) I don't use the SD card right now, so I can test it further.

It's no biggie for me to lose that data, but still, it sucks!
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] pok1yoyo:
Hi, did anyone notice any issues with NFC? I have a few NFC tags and my phone just doesn't detect them. Can't read/write. I currently have the August 8th build, but it never worked, not even with the earlier versions. I have tested the Android beam (sent a contact via NFC to another phone) and that worked fine, so I assume NFC works.

My brother's phone (newer phone, don't remember the model, with stock OS) can detect and write to the same NFC tag. I have tried several apps, including the same one as my brother.

I don't have GApps installed, but I don't think that is the issue. There is nothing in the logcat.

Any ideas?
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] danwood76:
Some tags might not be compatible depending on the manufacturer of the tags, this would be the same in stock are you able to test there?
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] K9100ii:
What battery are you using? With my S5 Neo with an aftermarket or a counterfeit battery that I was previously using, both for the non-Neo Galaxy S5, no NFC tags can be detected, but it can be used with some NFC devices (phones and tablets with NFC functionality), however, with an original Samsung battery with model EB-BG357BBE forced into the battery connectors of my S5 Neo, NFC works perfectly fine, and all of the tags I've tried that couldn't be detected with the batteries for the non-Neo Galaxy S5 are detected and can be read and written. It seems that there's a difference in NFC coils, or something, between Galaxy S5 and S5 Neo batteries that makes NFC not work fully with S5 batteries in the S5 Neo. If you're using a battery for the non-Neo Galaxy S5, that could be why your NFC tags aren't detected by your phone.
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] philippe734:
In order to keep this here, I share the instructions to update and keep root with magisk.

1. System: download the latest version of LineageOS without installing it, then choose to export it to Download.

2. File explorer : unzip the rom.

3. Magisk : update the application and reopen it.

4. Magisk : choose to install Magisk by selecting the "boot.img" file from the unzipped folder of the rom.

5. Magisk will patch the boot of the rom and will create a patched boot file.

6. Enable airplane mode.

7. System: install the update already downloaded and let the device restart.

8. Reboot in recovery and flash the boot file patched by Magisk, only flash, without wipe.

9. Reboot and open Magisk to check the status.

10. Enable Internet and open the firewall or ad blocker to check that the root is active.
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] danwood76:
You do not need to do that.

Use the latest TWRP version and also the latest Magisk (installed via TWRP) and it will survive OTA updates.

Kind regards,

Danny
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] philippe734:
Incorrect. When I tried as you said last month, I didn't succeed.
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] danwood76:
The addons dir may be broken for some reason (installing with an old version of TWRP has been known to break things). First update TWRP from twrp.me and then wipe your system partition and install latest ROM + Gapps + Magisk. This should then be a working configuration (and you will not loose your data).

Kind regards,

Danny
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] curiousrom:
@danwood76 & @Stricted: why does this thread's title say "[ROM][UNOFFICIAL][s5neolte]" @ the present when it's now official as one can see in https://wiki.lineageos.org/devices/s5neolte ?

Just asking because I was thrown off while searching for official LineageOS for s5neolte.

Also the download links in the OP say mega.nz.... instead of https://download.lineageos.org/s5neolte

Anyway thanks for supporting this device & being active in this thread. :cool: 👍

***
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] danwood76:
Because we are both lazy :D

Also with the new XDA I can't edit this thread anymore and Stricted is busy with other stuff.

It's been official for a while (probably since after this thread was last updated).

Regards,

Danny
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] pok1yoyo:
Hi,

Thanks for the reply. I don't have other NFC tags to test. Different phone detected these tags, and my phone detected another phone via NFC.

I have 3 different batteries, they all say "SAMSUNG", and are types EB-BG900BBE, EB-BG903BBE. I am not sure (I inherited the phone :) ), but at least one of them should be the original one. I tested with all 3, none of them works.

It might be that these tags are just not compatible :(
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] mrmad1909:
Hi,

It's been years since I last changed the ROM on a device. Since the device I want to tweak is a Samsung S5 Neo (SM-G903F) I figured I might as well start with this OS.

I follow the directions on this page: https://wiki.lineageos.org/devices/s5neolte/install

I have succesfull run heimdall print-pit. I'm a bit stuck on this part: https://wiki.lineageos.org/devices/s5neolte/install#installing-lineageos-from-recovery

It tells me

E:failed to verify whole-file signature

E:signature verification failed.

this twice and then

Installation aborted.

The heimdall cmd gives the feedback: Total xfer: 2.00x

Any tips where I went wrong?
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] danwood76:
Did you install LineageOS recovery with Heimdall?

From LineageOS recovery you then install the ROM via ADB sideload.

TWRP is a bit more user friendly, you can flash that in the same way as LineageOS recovery.

Kind regards,

Danny
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] mrmad1909:
Totally fixed it. I think I never arrived in the recovery menu. Volume down or up is hard ;-) I succesfully loaded the linafeos & gapps now. Many thx for the OS and the support!
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] blob101:
Hey guys.

I would love to try this software on my old s5 neo. But after i flashed it and rebooted, the phone gets stuck on the Samsung splash screen on start up (waited about 3 hours).

I followed this method: https://wiki.lineageos.org/devices/s5neolte/install. Everything seemed to go smoothly. TWRP works fine. I've tried a few different build versions. Also loading form sd and sideload. I didn't backup the original so don't know if i can go back to stock android.

Anyone have any ideas?
[Samsung Galaxy S5 Neo ROMs, Kernels, Recoveries, &] danwood76:
Were you running the latest stock version before you flashed lineage? Did you follow every instruction (format system/data is key). Running the latest TWRP?

Lots of things can cause boot issues.

Kind regards,

Danny