yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] Ines*:
Thanks, I am aware of that. I was talking about a test with an old Netguard version since the current version of NetGuard blocks everything on some devices using LineageOS 15.1/16. fitittome thinks it is related to msm8974.

The blocking might be due to an Android feature Netguard uses in versions > 2.139, a feature which was not present in Android 4.

So I suggested to try one of the old versions - it does not matter for such a test if from playstore or github. I just pointed out that the NetGuard version needed for such a test itself has ads, except version 2.44.
[Samsung Galaxy S 5 Unified Development] fitittome:
I would have tried that but I couldn't track down an apk, compiling was too much hassle.
[Samsung Galaxy S 5 Unified Development] Ines*:
You can find NetGuard 2.66 on apkmirror.
[Samsung Galaxy S 5 Unified Development] fitittome:
Nah, doesn't work on Pie, kle. LineageOS 16.0 repo synced yesterday.
[Samsung Galaxy S 5 Unified Development] Ines*:
Too bad, thanks for trying it. I hoped we could narrow it down.

It is really hard to get an idea why the other noRoot firewall for 4.0+ works and NetGuard (not even versions for4.0+) does not.

---------- Post added at 04:41 PM ---------- Previous post was at 04:24 PM ----------

Some questions:

1. Did you enable Filtering?

2. If not, can you try?

3. If not, do you get any notificatons (with access notifications enabled), or do you get log entries for denied access attempts for any app?
[Samsung Galaxy S 5 Unified Development] fitittome:
1. No I didn't.

2. Yes I can.

3. Now that's interesting. With filtering enabled it *seems* to work as expected! lol

I have to say I am not 100% familiar with Netguard and its quirks because I have never managed to get it to work before. I did notice that I had Private DNS enabled the first time I tested. I guess that this early version of Netguard would not have been aware of this functionality, so I switched it off when testing the second time. lol. I wonder if it's worth testing the latest version?
[Samsung Galaxy S 5 Unified Development] Ines*:
Yes, please test the same (working) settings with the current NetGuard version.

If this does not work, there are various versions inbetween on apkmirror to narrow it down.
[Samsung Galaxy S 5 Unified Development] fitittome:
Well, the latest one doesn't. I've got about time to do maybe one more. Tell me which one, any other testing will have to wait until Monday.
[Samsung Galaxy S 5 Unified Development] Ines*:
Please try version 2.163

Then (later), if

2.163 NOT working -> try version 2.137

2.163 working -> try version 2.180
[Samsung Galaxy S 5 Unified Development] fitittome:
2.147 works, 2.148 doesn't. Phew! :victory:
[Samsung Galaxy S 5 Unified Development] Ines*:
With 2.147, if you expand a "green" app and uncheck 'Apply rules and conditions', does it still work or block?
[Samsung Galaxy S 5 Unified Development] fitittome:
That works only if Advanced Options, Filter Traffic is enabled. I'm going to give it a rest now, my head hurts!

Edit: Just realized this is the LineageOS 15.1 thread, I guess we should let Marcel know. I think you have a hunch about the root cause.
[Samsung Galaxy S 5 Unified Development] fitittome:
:D I love your work!

Me, on the other hand, am a bit like I hound snuffling liberally sprinkled truffles and thinking I'm on a path! These are my ad-hoc meanderings from last year....... I had sort of concluded (based on knowing very little) that the differences were here:-

Non-working S5 16.0

https://github.com/LineageOS/android_kernel_samsung_msm8974/blob/lineage-16.0/net/ipv4/route.c

Works with Netguard

https://github.com/LineageOS/android_kernel_essential_msm8998/blob/lineage-16.0/net/ipv4/route.c

and there it has sat ever since, not knowing enough to go forward and being unable to log anything on Jira as it is/was unofficial.

I guess, with your information, one could look for changes for "proteced sockets" on msm8998? I can build my own Lineage on my ancient equipment but probably not Netguard. :eek:
[Samsung Galaxy S 5 Unified Development] Ines*:
Thank you. It was a great learning opportunity for me when (months ago) I wanted to have newer versions of NetGuard running on KitKat and it started with 2.44 working and 2.148 blocking...

I am very grateful that NetGuard is open source and it is really very high quality (and I say this after decades of SW development), so I absolutely understand Marcel's point of view. Currently, he wants to and he shall focus on FairEmail development.

So - be aware that there seem to be 2 problems with the LineageOS version which affect NetGuard:

a) addDisallowedApplication (the bypassing of the local VPN) does not work

b) 'protect socket' is needed and should not

If you do not get a) solved and just try to bypass it with 'Filter traffic' on, there are some problems left. E.g. that unchecking 'Apply rules and conditions' will not work, neither will the unchecking of 'Manage system apps' have the wanted effect - as far as I see. I am not going to dig deeper here.

Of course you can decide to live with that.

Try to get a fix for LineageOS, try to fix it yourself, try to find someone who compiles a (modified?) NetGuard for you affected guys ... None of which is the responsibilty of Marcel.

It's up to you.

Note that a modified NetGuard which bypasses your LineageOS problems would consume more battery, one of the reasons Marcel is making use of those features.

I'm back to other things. I wish you success.
[Samsung Galaxy S 5 Unified Development] Ines*:
You can find both calls for problems a) and b) in VpnService.java e.g. here:

https://github.com/LineageOS/android_frameworks_base/blob/lineage-16.0/core/java/android/net/VpnService.java

You can start there and follow the logic to see which kernel functions are used.
[Samsung Galaxy S 5 Unified Development] fitittome:
Umm. Indeed. High level. But the low level failure is silent. :( One of the Lineage devs said words to the effect of.... no, I'll quote.... "Uhh, it's nontrivial" ....... coffee slurp, ..... "yeah, I wish the 3.4 net stack was in better shape"... coffee slup ... "google breaks working thing for new shiny"....... you get the idea. :(

I may tinker with this for fun, just edit copy, edit pasting bits from msn8998 and see what happens. lol.
[Samsung Galaxy S 5 Unified Development] Ines*:
My thinking was a bit wrong.

This 'protect socket' is still needed for API >= 21 UNLESS the application itself = NetGuard bypasses the local VPN via addDisallowedApplication and NetGuard does exactly this for API >= 21 to forward the traffic. This is why NetGuard does not need the 'protect socket' for "API >= 21".

Since addDisallowedApplication is not working on your LineageOS version, the 'protect socket' call is needed only as a consequence of this.

So you should concentrate on getting addDisallowApplication = bypassing the local VPN working.
[Samsung Galaxy S 5 Unified Development] fitittome:
This could be important. What do you think?

https://github.com/LineageOS/androi...e-16.0/core/java/android/net/NetworkMisc.java
[Samsung Galaxy S 5 Unified Development] Ines*:
This is all high level java coding. And it is common for LineageOs16.0, working or not for NetGuard. So I doubt there is something wrong with it.

Working or not depends on the kernel. But I have no idea how and where a local VPN and the disallowedApplications are implemented.

'addDisallowedApplications' was introduced with API level 21.
[Samsung Galaxy S 5 Unified Development] fitittome:
I think I've tracked it down what maybe the root cause, but the authors attempt to fix don't seem to work with these cherrypicks on my device. https://review.lineageos.org/c/LineageOS/android_system_netd/+/232794
[Samsung Galaxy S 5 Unified Development] hebermc:
My lineage 15 klte phone isnt showing updates for 15 anymore, its now showing updates for 15. I can't find a Lineage 16 official thread or any info about it on this thread or on the unofficial 16 thread, can someone please explain what is going on?
[Samsung Galaxy S 5 Unified Development] fitittome:
https://lineageos.org/Changelog-22/

15.1 is history now, time to upgrade.
[Samsung Galaxy S 5 Unified Development] hebermc:
So Lineage has officially made a version 16, Is that it? So there will be no thread for it here on XDA?
[Samsung Galaxy S 5 Unified Development] fitittome:
Not officially. There are a few generic S5 and Pie ones. Official support is via Reddit.
[Samsung Galaxy S 5 Unified Development] curiousrom:
S5 - From 15.1 to LineageOS 16.0

Official 16.0 for S5 2019-03-01 - Dirty Flash Report.

That's in the most popular XDA thread about S5 klte + variants & LineageOS 16.0 @ the present.

***
[Samsung Galaxy S 5 Unified Development] Ibuprophen:
Just to add...

In the past, it was typical that when new Android Versions of an Official LineageOS were released, the thread for its predecessor was a type of "default" location until either the title for the predecessor thread was updated/changed to its current Version OR a new Official LineageOS thread was created for the current Official LineageOS.

Over the past 6-12 months +/-, I've (confusingly) found this to be an abandoned idea as reflected, not only, with the LineageOS threads but, TWRP and other big ones.

Just providing my insights into helping clarify/supporting your confusion as I personally see it as well.

Good Luck! :)

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

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" AND Nickname for "My Ex-Wife"}.
[Samsung Galaxy S 5 Unified Development] hebermc:
I saw that, but its a single post from a user. Whenever I upgrade to a newer Lineage I usually watch the official thread for a bit to make sure I know what I am getting into, but currently I can't find much information about Lineage 16 KLTE.

I have not seen any newer Lineage 15 updates, so I am unsure of how to proceed.
[Samsung Galaxy S 5 Unified Development] Ibuprophen:
Regarding the LineageOS 15.1, it's Official builds had surpassed its EOL but, sometimes an Unofficial build gets released sporadically. This thread is likely kept open for "Member Helping Member" type of support.

Regarding the LineageOS 16.0, I've been using that thread only because [MENTION=2693412]haggertk[/MENTION] has been using it for Feedback and such in an Official way.

I understand what you're stating and I typically feel the same way but, I am viewing this in a "Case By Case" basis.

This is all up to you. :thumbup:

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

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" AND Nickname for "My Ex-Wife"}.
[Samsung Galaxy S 5 Unified Development] gringo80:
I'm still in los 14.1 !

LOS 15.1 and 16 give me headache with that ugly round icons and that forced new security system (google is really paranoid)

Anyway... thank you for keeping our S5 alive !
[Samsung Galaxy S 5 Unified Development] curiousrom:
Square Icons in 16.0

You can have Circle, Square, Squircle or Teardrop icons in stock LineageOS 16.0. See the screenshots in this post: Icons, Addonsu Fix.

So that's one less reason for living in the past. ;)

What "forced new security system" are you taking about? :confused:

Rule of thumb: more security = good. This said everything is relative. :eek:

***
[Samsung Galaxy S 5 Unified Development] Ibuprophen:
Just to add to the outstanding guidance from [MENTION=4122877]curiousrom[/MENTION]...

I know how your feeling regarding your initial perception of, not only LineageOS 16.0, but Android P itself.

Just be patient and explore the system, settings, etc... and Familiarize yourself with it.

You'll notice that, the bottom line, regarding it (for the majority) is that various items weren't taken away but, actually relocated and/or renamed.

It's a new look and too many individuals go into "Panic Mode" and give up without realizing that their reasoning is primarily based upon not seeing what their used to in the places their used to seeing it.

I still run into items and such that makes me think "OHHH!... That's where that little bugger is now!". LMAO! :)

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

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" AND Nickname for "My Ex-Wife"}.
[Samsung Galaxy S 5 Unified Development] jiml8:
In today's world, it is impossible to be too paranoid when dealing with your digital life.
[Samsung Galaxy S 5 Unified Development] devilhopper:
Can I download the "final" version of LoS 15.1 for klteduos somewhere? That would be great - currently doing a "minor" switch from unofficial to official and just don't feel like doing the big upgrade to v16 today. Thanks!

In other words: I am specifically looking for lineage-15.1-20190225-nightly-klteduos-signed.zip
[Samsung Galaxy S 5 Unified Development] kurtn:
Archive.org but i don't think 15.1 to 16.0 is a big step.
[Samsung Galaxy S 5 Unified Development] devilhopper:
Can you be more specific? The only thing I found is this meagre "collection" of 13 samples:

https://archive.org/details/firmwarelibrary?and[]=lineage&sin=

Concerning the "big step" - doing the upgrade definitely requires concentration. For example, it needs the newest version of TWRP, and if I do it all in a rush, there's an actual chance to screw things up. If that ultimately means I need to set up my phone from scratch, it would be a big step indeed.

Also it requires prior research whether or not I want to do the upgrade at all. I've read mixed things about 16.0 and especially dual sim phones potentially amplify the possible shortcomings of custom firmware.
[Samsung Galaxy S 5 Unified Development] kurtn:
https://web.archive.org/web/*/https://download.lineageos.org/klteduos
[Samsung Galaxy S 5 Unified Development] Ibuprophen:
Did you confirm that this direction actually works?

There's none of the last few releases of the LineageOS 15.1 for the klteduos available in Archive.org.

The link is actually a website capture and not a capture of the actual files within it.

EDIT-1: The last Archive.org capture, I can locate, is on the following link.

https://archive.org/download/lineageos20180219to20180224

EDIT-2: [MENTION=8126665]devilhopper[/MENTION], The best I can, personally, locate are the LineageOS 15.1 Unofficial builds by Haggertk on the following link.

https://androidfilehost.com/?w=files&flid=286148

Good Luck! :)

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

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" AND Nickname for "My Ex-Wife"}.
[Samsung Galaxy S 5 Unified Development] devilhopper:
Thank you. Ironically, that's the version I already have on my phone, since that's what he came up with after I contacted him about a duos-specific audio bug. Since I haven't heard back from him in months, I have no clue if the fix was ever incorporated into the official branch. Which is yet another reason why I wanted to try the latest official 15.1 first (I'm sure I could roll it back if I have to). If I go version 16 only to find out that it has the same problems as last year's 15.1 then I will have a much bigger problem.
[Samsung Galaxy S 5 Unified Development] Ibuprophen:
Obtaining information regarding a Changelog from this far back is not impossible but, can/may/might be time consuming.

Your best bet in obtaining an Official LineageOS 15.1 release for this device is probably on the following Official LineageOS mirror link that looks like they are no longer using, decided to use another time (as needed basis) or other reason.

https://lineageos.corbina.net/full/klteduos/20180925/

That's the latest version that I can locate that contains an Official 15.1 build.

If nobody here can provide you with a copy from their PC (uploading) then this is the best guidance that I can personally provide you with.

This is a great learning curve for you to always keep some form of a personal backup copy of builds.

For example, when LineageOS for the klte,went from 15.1 to 16.0, I had kept a copy of the last few Official builds of the 15.1 in case I ever needed/wanted to use it again.

I do wish you the best of luck with your search! :)

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

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" AND Nickname for "My Ex-Wife"}.
[Samsung Galaxy S 5 Unified Development] Ibuprophen:
Just an FYI...

The following thread is now "Unofficially Official" regarding the LineageOS 16.0 for the klte device variants.

[ROM] [OFFICIAL] LineageOS 16.x by Brunowp8

I would state that the above thread is Only in lieu of one from Haggertk.

See you all there! :)

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

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" AND Nickname for "My Ex-Wife"}.
[Samsung Galaxy S 5 Unified Development] j1gga84:
Link does not work out of Tapatalk..

Regards

Sent from my SM-G960F with Tapatalk
[Samsung Galaxy S 5 Unified Development] Gio93:
Hi, today my galaxy s5 crashed and started to crash continuously at different points. Sometimes it arrived to the pin (but never allowed me to type it) and sometimes it was unable to boot even in the recovery. I tried to dirty flash and flash was completed at the 5 or 6 attempt. first time i got code 7 then 4. I tried to wipe all the partitions (data system cache dalvik.. everything) and i had to try like 6-7 times even to wipe. it was giving mount errors and error 4 and randomly rebooting. After wiping everything problem remains and i wanted to know if i can somehow delete partitions (maybe some are corrupted? ) or is my motherboard/memory completely dead?
[Samsung Galaxy S 5 Unified Development] Reverse-anastomosis:
You can repartition with a pit file in Odin. It is almost never necessary, and I don't know if it is in this situation. The pit files can be found here on XDA.
[Samsung Galaxy S 5 Unified Development] fitittome:
I would get the latest Samsung stock for your model and flash it with Odin. Go from there. If it's good install the latest TWRP. If that's good re-install LineageOS.
[Samsung Galaxy S 5 Unified Development] andreoide:
And a good suggestion is this:

Make TWRP backups like once a week and certainly before update nightlys too. Don't wipe them but keep them on PC before deleting from SDcard.

That way you can Go back in time before things got nasty....

And to keep data actual make TitaniumBackups too and store them the same way...

It gives you a lot to do but on the point you are right now you will know it was worth it!

Goodluck my friend. Peace
[Samsung Galaxy S 5 Unified Development] Gio93:
i tried to install again lineage and after many attempts it worked for some time only without gapps. if i reinstall winth gapps it crashes at the first screen same as before. i tried to install stock firmware and it seemed to work for the odin part but after restart when applying update it gives cache errors. So in the end i gave up and bought a galaxy a 50. I will miss my s5 and thenks for all your help
[Samsung Galaxy S 5 Unified Development] Ibuprophen:
Which GApps did you use and which package did you use as well (since there's a handful of different GApps available on the forum with some that has different packages to choose from)???

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

Unless asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Apple Macintosh.
[Samsung Galaxy S 5 Unified Development] Mixterix Se7en:
Someone has the latest LineageOS 15.1 on February 25? I lost it along with the external hard drive I had
[Samsung Galaxy S 5 Unified Development] Ibuprophen:
I've got that build on my PC that was one of the many items on my to-do list for uploading to my File Host Account.

I just started the FTP Upload and should be up within an hour or two on the following link.

https://www.androidfilehost.com/?w=files&flid=296622

I'm.... WAY behind with the Firmware Archiving... LOL! :eek:

EDIT: [MENTION=6361309]Mixterix Se7en[/MENTION], the Firmware build you were looking for is now on the above link. Enjoy! :)

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

Unless asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Apple Macintosh.
[Samsung Galaxy S 5 Unified Development] Mixterix Se7en:
[MENTION=4828250]Ibuprophen[/MENTION] thanks for sharing the ROM ;). I will be able to continue enjoying oreo whenever I want. ;)
[Samsung Galaxy S 5 Unified Development] Ibuprophen:
~~DELETED~~

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

Unless asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Apple Macintosh.
[Samsung Galaxy S 5 Unified Development] Gio93:
i used mind the gapps. i used a new download and the old one that i still had in my download folder that worked for a year with the original flash files and it didn't make any difference.
[Samsung Galaxy S 5 Unified Development] kipphebel3:
Samsung Galaxy S5 reboots into twrp after install?

Samsung Galaxy SM-G900F. This is what I did:

- Enabled developer mode

- Booted into recovery

- Used ODIN 3.12 to install twrp twrp-3.3.1-0-klte.img.tar

so far so good, although I had to pull the battery to stop the phone from putting back the original bootloader.

-Booted into twrp

-.Wipe, format data, yes, reboot

- Boot into recovery

- Copied (over USB) the following files to a subfolder called sw: lineage-16.0-20190910-nightly-klte-signed.zip, MindTheGapps-9.0.0-arm64-20190615_031441.zip

-Install, select lineage, add more zips, select gapps

- Swipe

(system goes through the install, no errors. Ends with "Updating partition details...done

-Push Reboot system, swipe

- System boots and I get the LineageOS animation after approx 11 minutes it boots into twrp again.

What did I do wrong?
[Samsung Galaxy S 5 Unified Development] kurtn:
Error 1: you selected arm64. ROM is 32 bit

Error 2: you posted in 15.1 thread. ROM is 16
[Samsung Galaxy S 5 Unified Development] kipphebel3:
Apologies. I will download the correct file and try again and post in correct thread if I fail.
[Samsung Galaxy S 5 Unified Development] sahar@by:
I have the same error : Еек:
[Samsung Galaxy S 5 Unified Development] kipphebel3:
Same error as me? That you selected the incorrect file?
[Samsung Galaxy S 5 Unified Development] sahar@by:
Did everything right according to the instructions
[Samsung Galaxy S 5 Unified Development] kurtn:
If you wish to get somevhelp, you better tell is the exact file names of the zips you flashed. And a few words on the procedure.
[Samsung Galaxy S 5 Unified Development] sahar@by:
установил twrp-3.3.1-0-klteduos.img.tar	на андроид S5 SM-G900FD

скачал и установил lineage-16.0-20191010-nightly-klteduos-signed.zip

после установки open_gapps-arm-9.0-mini-20191010.zip телефон долго загружается после чего его сново выкидывывает в recovery (
[Samsung Galaxy S 5 Unified Development] sahar@by:
Does not work open_gapps-arm-9.0-mini

Advise what to put ????
[Samsung Galaxy S 5 Unified Development] kurtn:
Mind the gapps?

https://wiki.lineageos.org/gapps.html
[Samsung Galaxy S 5 Unified Development] sahar@by:
https://wiki.lineageos.org/gapps.html

Set, the phone goes reboot ((
[Samsung Galaxy S 5 Unified Development] sahar@by:
None of the gapps installs the phone goes reboot
[Samsung Galaxy S 5 Unified Development] curiousrom:
Several users reported fail with Open GApps builds 9 & 10 October but success with build 2019-10-06 here: https://xdaforums.com/android/software/pa-gapps-continuation-t3098071/page625

Success also with MindTheGapps as suggested above.

In TWRP do a Format Data instead of a simple wipe Data + wipe System & both caches.
[Samsung Galaxy S 5 Unified Development] sahar@by:
Thanks for the help, everything worked out !!!