yashsingh1/xdaforums huggingface dataset:
[Galaxy S5 Mini Android Development] spookcity138:
Updated

First,apologies for being absent from the forum lately. Life has just kept me too busy to mess with the ROM. Hopefully I will find some time soon to look into a few things...

I read a few comments about hardware composer,so I decided to do a build with it enabled (using a patch I used some months ago) I was hoping that perhaps somewhere in the Lineage code this may work now. Sadly it does not. I have been getting about 3 reboots a day. Very random. So unless I find some time to look into it more I will keep it disabled. In my testing I notice no real difference as far as battery life or performance anyway.

Changelog

* Synced LOS sources
* Latest security patches (October 2019)
* Reverted "Remove Wifi Display options" (This has finally been added to Android 9 I think. However,in my testing it is still not working for our device. I will try to look into it when I have some time)
* Reverted "overlay: set config_trustLegacyEncryption" (This was only added as an attempt to fix encryption. It didn't work and is still broken,so this did nothing)

Enjoy!
[Galaxy S5 Mini Android Development] Ataru Moroboshi:
Encryption works, when its already encrypted. I do it in LineageOS 14, after i upgraded to 15 and 16. Its still work. Only the encryption "process" is not working, when you try to encrypt. If encryption is important, clean the phone, install LineageOS 14, encrypt it, after sucessfull encryption upgrade to 15 and 16 without erase the data partition.
[Galaxy S5 Mini Android Development] ernsteiswuerfel:
Finally got around installing LinageOS (10-09-2019) on my G800F. Only issue I got is this WLAN disconnect/reconnect thingy. Apart from that it really works well and stable on my phone! Thanks!
[Galaxy S5 Mini Android Development] elsterkrug:
Hi, since the last update, the ROM (15-10-2019) is running very slowly again. The apps take a long time to start and everything is very delayed. That was already felt more fluid. Has anyone else made this observation?
[Galaxy S5 Mini Android Development] d4foasta:
Thanks for this awesome upgrade. Just installed it on my GFs Birthday-S5 XD

Found two things for now that might be of interest. One: com.android.settings.intelligence stopped working almost every time i tried to type anything in the settings-search. I got it to work after i cleared Cache and Storage of said application. Two: As soon as a Whatsapp-VoiceMessage is played or a phone call made the screen goes off and has to be unlocked again. The screen won't reactivate before the call or the VoiceMessage is finished.

Besides that, its running smooth and nice :) Awesome!

Regards

d4foasta
[Galaxy S5 Mini Android Development] Tureilu:
I had some issues finishing calls too. I turned on "finish call with on/off-button" in the buttons-setting. Now it is working for me.
[Galaxy S5 Mini Android Development] d4foasta:
Nice. Thanks Tureilu. So that works now. Waking with "home"-Button (although it is activated in settings) is still only working sometimes. Also, three or four bluescreens since yesterday. I activated Logging in Developer-Settings, i'll post them after the next BSOD. Maybe s/o can tell me where i find the relevant logs?

Regards

d4foasta
[Galaxy S5 Mini Android Development] a-dead-trousers:
Let me guess: A "blue screen" where only the clock can be seen? That's the flip-cover being activated by coming in contact with a magnet. I can't seem to find the setting to turn this off now. In 15.1 it was right in the settings menu. Here are some suggestions though to turn it off or uninstall the app which is responsible:

https://www.reddit.com/r/LineageOS/comments/brwc0e/how_to_disable_flip_cover/

https://www.reddit.com/r/LineageOS/comments/6yzpn1/how_to_disable_flip_flap_klte/
[Galaxy S5 Mini Android Development] Tureilu:
The flipcover settings can be found:

Settings -> connected devices-> connection settings -> Flip cover
[Galaxy S5 Mini Android Development] ugeins:
Or uninstall FlipFlap via Titanium.....[emoji6]

Gesendet von meinem SM-G800F mit Tapatalk
[Galaxy S5 Mini Android Development] Tureilu:
You could try to deactivate "answer incoming call with homebutton", if it is activated...
[Galaxy S5 Mini Android Development] d4foasta:
Yep, you were right. Always interpreted it as BlueScreen, lol. Ok, no FlipCoverScreen since yesterday, deactivating it did the trick. Thanks a lot:good: :). Now the only flaw is the screen-deactivation while phoning. Today she tried to call a Hotline and was unable to choose one of the options because she wasn't able to press "2"...

Any Ideas for this, too? The Option "Answer calls with HomeButton" is deactivated, i tried activating and again deactivating, same with "wake device with homebutton", which was activated originally. Waking the device normally is no problem most of the time, but when calling it just isn't possible somehow. Is this only me?
[Galaxy S5 Mini Android Development] Tureilu:
I tried it with my phone and there are no problems.

My settings:

- wake device with homebutton: on

- answer calls: off

you could try the wake up setting using the volume key (deactivated in my settings)

Are you using the navigation bar instead of the buttons?
[Galaxy S5 Mini Android Development] Moogle:
fixed

**UPDATE** new version of footej fixed this!

---------- Post added at 06:24 AM ---------- Previous post was at 06:22 AM ----------

Hey [MENTION=9938146]Tureilu[/MENTION] have you gotten Magisk to work on this rom?

I installed the latest Magisk version (20.1) but I still cannot get it to pass SafetyNet Check.

Did you use any other special technique than just installing the magisk zip from TWRP ?
[Galaxy S5 Mini Android Development] a-dead-trousers:
That is no problem of Magisk. It can only HIDE itself (and some modifikations) to pass SafetyNet. The problem is that SELinux is not working in this version of the ROM and some "profile" parameters for the integrity check seem not to be set right.

If you need SafetyNet for your daily work you have to switch back to 14.1 where SELinux was working the last time for this ROM. For the time being it's still maintained by [MENTION=8002612]Panzerknakker[/MENTION].

https://xdaforums.com/galaxy-s5-min...-g800f-m-y-t3549055/post80682185#post80682185
[Galaxy S5 Mini Android Development] Tureilu:
Is your Magisk Hide activated?

After a boot I have to turn of and on Magisk Hide in the Settings to pass the safety-net statustest.

I think before I activated it it always passed.

btw:

the root is working without safety-net. It is just needed to run some apps like banking-apps or pokemon go, wich won't work on a rooted phone..
[Galaxy S5 Mini Android Development] sabotage154:
hello. can anyone confirm that the vpn >always on vpn > block VPN feature works on this ROM? on stock pie roms the vpn >always on vpn >block VPN feature kills the network connection as soon as vpn connection is dropped. i noticed on some lineageos ROMS on other devices the vpn > always on > block VPN feature is broke.

Can anyone confirm that the vpn > always on vpn > block vpn feature works on this ROM? thank you
[Galaxy S5 Mini Android Development] a-dead-trousers:
Thanks. I always thought that it would never pass unless SELinux is active.

Even though I didn't know Magisk could "hide" an inactive SELinux I highly doubt that SafetyNet would accept it without further warnings.
[Galaxy S5 Mini Android Development] Mui sth:
Are there plans for NFC?
[Galaxy S5 Mini Android Development] mike5454:
Hello,

I have installed this ROM some days before and enjoying it: Thanks for the great work!

...

BUT I have a problem with pre-installed vpn (pptp): It connects to my (mikrotik-) router and lineage shows that my vpn is running (connected).

From opposite side (router) the devices vpn-ip can be pinged, but it seems, that all network-traffic bypasses the vpn (does not use it).

Off course I tried to add specific routes to the vpn-settings (even 0.0.0.0/0), but no success.

Can someone confirm, that simple pptp-vpn is really working with this lineage-build???

Maybe I did a mistake, what should I do, to get it running - or some ideas?

Otherwise looking for a free-vpn-app, that would do the job?

greetings to the community: mike
[Galaxy S5 Mini Android Development] POLAURENT:
Can't confirm , for me Pptp-vpn still working the right way ( CIFS, SMB ), you say that a part of traffic bypasses the vpn , so how have you tested it ?

in other corner StrongSwan Client ( IPsec) makes the phone reboots :( :( :( :mad: ..
[Galaxy S5 Mini Android Development] mike5454:
Thanks for your answer...

... tested by traceroute from device to local-net and tested by pinging from device to local net and tested by trying to open local (http-) lan-addresses by browser.

All connection-attempts are going into the internet and NOT via the established tunnel :(
[Galaxy S5 Mini Android Development] spookcity138:
Honestly probably not. Our chipset is just completely broken for anything after Android 8.1. The only possibility is to use a prebuilt NFC from Lineage 15.1 or something. Although I tried this some time ago without any luck. I will revisit this if I'm ever able to find anytime to do so. I've just been massively busy lately.

There was a kernel commit that I made some time ago that apparently is causing a kernel panic when using a VPN client. I will revert this commit for the next build and hopefully this will improve VPN.
[Galaxy S5 Mini Android Development] mike5454:
Many thanks for your information... I will continue to use that fine ROM and in the meantime I will try to use and experiment with another vpn-app (open-vpn as a work@). Maybe that will do the job without built in vpn-function - we will see...

Anyhow, I am happy, that lineage 16.x supports the old S5 mini, because I like that small device very much :)
[Galaxy S5 Mini Android Development] mike5454:
Additional Information: Tested OpenVPN-App 0.7.8 from Arne S. ... Made certificates, activated tunnel, is running, but same behavior: Traffic bypasses the tunnel, even when testing different routes and options.

When closing tunnel (disconnecting) the device will do a sudden reboot (kernel panic?).

Till now, opvn-tests had been made only in wlan-mode.

Can someone tell me, if/which vpn-app is really working? (I do not mean privacy-vpns)

greetz

Mike
[Galaxy S5 Mini Android Development] d4foasta:
You mean while calling? I use hardware-buttons with the software-buttons deactivated. Just tested it, doesn't work. If not for the option to end a call with the power-button i wouldn't be able to end a call. As soon as i have some leisure time (we moved a few days ago) i'll try it on my own G800F. And reinstall it on my GFs, maybe its a glitch. Of course i'm going tell any findings.
[Galaxy S5 Mini Android Development] Tureilu:
I'm sure I had this problems too and solved it in the settings. I can't exactly remember how.

One more try: You could check the akku optimisation settings for the phone app. I have excluded it from optimisation.
[Galaxy S5 Mini Android Development] spookcity138:
Updated

Changelog

* Synced LOS sources
* Latest security patches (November 2019)
* Reverted "Add "TARGET_LEGACY_HW_DISK_ENCRYPTION := true" flag" (This did nothing)
* Reverted a kernel commit that was known to cause a kernel panic on vpn client usage
* Updated GmsCore prebuilt to latest (November 1) for microG build

Enjoy!
[Galaxy S5 Mini Android Development] ugeins:
Thanks allot again for this great Work. I think vpn is working now. I have no reboots anymore after leaving Fritz App with vpn connection.[emoji106][emoji110]

Gesendet von meinem SM-G800F mit Tapatalk
[Galaxy S5 Mini Android Development] mike5454:
Very happy: New update/release is working now very fine with built-in pptp-vpn as well as open-vpn (app) !!!

No kernel-panic and reboot now.

Everything is fine as far as I tested some things. For update from previous to this release, I did not wipe all (only cache, dalvig and system).

Many thanks for your great work !!!
[Galaxy S5 Mini Android Development] Parker98:
rSAP

Hey there, I am new here.

First I would like to thank spookcity138 for the great job.

I made one week ago the step from stock ROM to custom ROM, and tried first LineageOS 14.1 but I got some functionality issues.

So I switched today to this version of lineageOS-16.0-20191113. It is working pretty fine until now.

However, like with LineageOS 14.1, the bluetooth connection with rSAP doesn't seem to be supported. I use this type of connection for my car's built in navigation system to connect with the internet to get traffic information and to make calls while using the car antenna (better reception than with the phone inside the car).

rSAP worked out of the box with the stock ROM.

Now with LineageOS I only have the simple hands free function but it doesn't meet my expectations.

Is there a possibility to provide rSAP functionaity in LineageOS 16?
[Galaxy S5 Mini Android Development] Asgabat:
when i try to upload any video in instagram all the latest builds restart the phone except this one 11-08-2019. you need to fix it. You can try to upload video and it will crash.
[Galaxy S5 Mini Android Development] spookcity138:
Hmm,this is not a feature that I use. I can look into it some if I am able to find some time. I am just not sure how easy/hard it may be..or even if possible. I will try to research it a little when I have time.

Well,you are going to need to provide a log or something before I even attempt to look into this. I do not use Instagram so yeah. If you are able to grab a log of this happening and can share it I will look into it and see if I can figure it out. Again,this is all about me having the time to do so. Lately I just haven't had the time to do too much with Android.
[Galaxy S5 Mini Android Development] Parker98:
No access to SD card with PTP file transfer

With the version 13-11-2019 I am not able to acces the external SD card using the USB connection in the PTP mode.

I only see the internal storage.

Switching to MTP, I can acces both internal and external storage.

Note: my SD card ist not set as internal storage.

Since MTP is not supported at my workplace, I have to use PTP.

Did I oversee any settings or is it a functionality that has to be changed with the OS?

---------- Post added at 08:46 PM ---------- Previous post was at 08:15 PM ----------

Would it be possible / make sense to deactivate the Smart cover function in the default setting?

Backgroud of the question is following problem I encountered:

I have no flip cover, only a rubber hull and a protection glass, both without magnet.

The problem happens just holding the phone in my hand without any magnetic objects in the vicinity.

After installing verion 13-11-2019, the Smart cover function activated sporadically, so I was virtually locked out from my phone.

I only saw the blue screen with date and time on the upper part of the screen, could not do anything, pressing any keys just led to this screen appearing / disappearing, I had no access to my phone. Even long pressing the power button did not shut off the phone.

Only answering incoming calls was possible, but without granting access to the system. Very frustrating.

Sometimes the Smart cover mode disappeared sporadically, sometimes not.

The only thing that works reliably is to open the phone and remove the battery.

Getting afterward access to my phone and googling the problem I could disable the Smart cover function in Settings -> Connected devices -> Connection preferences -> Smart cover and turn it off.

So at a location you would not look for this setting intuitively.

I had the same problem with LineageOS 14.1 but it was possible to get to the system by answering incoming calls, and the setting could be found at a more intuitive location.

In my sense it would be better to deactivate this function in the default settings to avoid this very frustrating situation after a fresh install, whereas someone using a flip cover could actively activate the functionality at wish.

The problem may also be related to some bad set sensitivity parameter for the detection of the flip cover magnet. But this is only a speculation.
[Galaxy S5 Mini Android Development] Asgabat:
how do i need to take a log? In addition I notice that it regularly drops connections on wifi (on all builds)
[Galaxy S5 Mini Android Development] marko.luoni:
Same problem for me but with mobile data connection, I don't use wifi.
[Galaxy S5 Mini Android Development] spookcity138:
About FlipFlap: While I agree it is rather annoying I leave it in the build because I know some use it. It has been posted here about how to disable it in settings. Although I have never found this either. I just completely remove it with a debloat script. The simplest way to completely remove it is to boot into TWRP. Mount system and use the file manager to delete the apk. This will remove it.

If you have root the simplest method to grab a log is going to be to use an app like Matlog. Just open it and then do whatever is causing you issues and save the log. The WiFi disconnects are a known issue and I am unsure about the cause. I don't have this. It is possible it has to do with WiFi frequency switching,although I am not positive.

Weird about your data connection. I've never had an issue or seen this reported.
[Galaxy S5 Mini Android Development] Parker98:
Thanks spookcity138. I can live with this solution for the flip cover function.

Any idea about the external card acces per PTP?
[Galaxy S5 Mini Android Development] spookcity138:
I'm honestly not really sure. I never use ptp. I will try when I'm at my computer and see. If I have the time I will try to investigate some and see if I can sort out what is happening.

Maybe someone else has a thought on this?
[Galaxy S5 Mini Android Development] Asgabat:
what's the best way to install root?
[Galaxy S5 Mini Android Development] spookcity138:
Magisk
[Galaxy S5 Mini Android Development] Tureilu:
You could try to set your external storage as internal storage to bypass this problem. Perhaps you can access your sd card in this mode...
[Galaxy S5 Mini Android Development] SethGeckoXDA:
You can capture a log without root as well. Make sure to capture the log right after you try to upload a video to Instagram. Also write down the exact time when you tried to upload the video.
[Galaxy S5 Mini Android Development] aelfinn:
If you really want to leave it in, why not at least disable it by default? It’s not just annoying to people who don’t/can’t use it, it completely disrupts your use of the device. Whereas if you want to use it, you can simply find it in the settings.
[Galaxy S5 Mini Android Development] spookcity138:
No idea how to disable it be default. I have not looked into this either. If I find time I will look into how to do this.
[Galaxy S5 Mini Android Development] CHEF-KOCH:
[MENTION=7065337]spookcity138[/MENTION]

Can you check DNS leakage? I get leakage if I set Cloudflare as DNS . Even with magisk module I see my providers DNS. I even checked wifi hotspot and enforce cloudflare via Windows DNS system, still the same.
[Galaxy S5 Mini Android Development] spookcity138:
Hmm,not fully sure how to go about looking into this. However,if I am able to find any time I will try to search a bit and look into it.
[Galaxy S5 Mini Android Development] Tureilu:
perhaps your provider overwrites your settings. Found a website with this information.

Or according to the following site (german version):

https://support.hidemyass.com/hc/de...Einstellungen-ändern-Windows-Mac-Android-iOS-

- your settings are resetted after a reboot

- you can change the file /etc/resolv.conf manually

- you could use an app

Or:

perhaps it is possible to use an app like macrodroid to set your dns server.

I set my fritzbox dns server settings to 1.1.1.1 / 1.0.0.1 and my android to automatic DHCP so I don't have this problem in my private LAN.
[Galaxy S5 Mini Android Development] CHEF-KOCH:
> - you could use an app

I already said, I tried it via magisk and it didn't worked for me.

> - your settings are resetted after a reboot

DNS will change whenever cellular tower is been changed, this happens more often.

> - you can change the file /etc/resolv.conf manually

I try the resolv.conf method, via magisk now, just to see if it works or not, but from what I know this does not work anymore since Android 8+

https://developer.android.com/about/versions/oreo/android-8.0-changes#o-pri

Yeah, good joke, you force your DNS over hardware via router, so of course it gets the "correct" DNS but that has nothing to do with cellular connections. Wi-Fi never had any DNS problems.

This has to be addressed within the source and not via app or workaround, otherwise the "new" "private DNS option" is useless and this a massive bug because it leaks your real DNS.
[Galaxy S5 Mini Android Development] mongo0:
How did you check for dns leakage?

For me the private dns setting seems to be working with cloudflare. from https://blog.cloudflare.com/enable-private-dns-with-1-1-1-1-on-android-9-pie/ :

(Go to Settings → Network & internet → Advanced → Private DNS.

Select the Private DNS provider hostname option.

Enter 1dot1dot1dot1.cloudflare-dns.com and hit Save.

Visit 1.1.1.1/help (or 1.0.0.1/help) to verify that “Using DNS over TLS (DoT)” shows as “Yes”.)

maybe your provider is using some kind of dpi to reroute dns requests...
[Galaxy S5 Mini Android Development] Tureilu:
Just tried to help...

Last try:

1. Go to Settings → Network & internet → Advanced → Private DNS.

2. Select the Private DNS provider hostname option.

3. Enter 1dot1dot1dot1.cloudflare-dns.com and hit Save.

You really need to write dot!

I passed DNS Test (mobile network) on:

https://www.perfect-privacy.com/de/tests/dns-leaktest
[Galaxy S5 Mini Android Development] CHEF-KOCH:
I appreciate your help it's just that I try to find a solution since Android 4.4+ and that's frustrating as hell. It's not only LOS with the problem.

Yes, my provider is known to inspect the traffic. Sadly this is more and more a common thing. :(

From what I know (most? or a lot) providers re-routing the UDP-Traffic to Port 53. This basically works via NAT restriction. From what I know some ISP's using different APN's to control the Nat, which means some (better paid) customers getting a "better" and unrestricted APN while others use a crippled APN. Changing the APN to an "unlimited" one is not or not often possible, they basically check first which paid plan you use. Such censorship is not even allowed by law, but they still don't give a ****.

I did not, same here. It shows Cloudflare and the second line shows my ISP DNS....

In the meantime I tried

:

- I tried resolver.conf and it is not going to work because Android 8+ ignores the file and it's also not existent by default.

- Magisk nor "VPN apps" which are redirecting the traffic over their "tunnel" seems to work, they work better until the ISP/Cellular tower changes, but they still leak.

- Only solution I found is via AFWall+, but that requires root + you need to mess with iptables. I expect for a "security and privacy" oriented OS to solve the problem without that you're been forced to workaround this.

WARNING

-> DO NOT test on a Wi-fi connection

-> Test only mobile connection 3G/4G

-> You also can use hotspot (via 3G/4G)

1.) Go to DNSLeak

2.) Use the extended test

3.) Wait and let the test run until you see all results.

4.) How it looks for me: https://s19.directupload.net/images/191130/2fi2ruav.png
[Galaxy S5 Mini Android Development] Tureilu:
Tried your test with 3G:

Only three IP-adresses. Always Cloudflare.
[Galaxy S5 Mini Android Development] POLAURENT:
NOP
[Galaxy S5 Mini Android Development] spookcity138:
Updated

Changelog

* Synced LOS sources
* Latest security patches (December 2019)

Wishing everyone Happy Holidays and a great 2020!

Enjoy!
[Galaxy S5 Mini Android Development] dugmar:
Bootloop

First of all thanks for your good work.

I installed the 13/11 version on top of LOS 14.1 and it worked.

Now I am stuck in a bootloop trying to install the 12/12 version.

From TWRP I have done:

format data

wipe Dalvik, cache and system

flash LOS ROM and gapps (open_gapps-arm-9.0-pico-20191213)

wipe cache/dalvik

reboot

the phone remains stuck on LOS logo or reboots in TWRP.

Any suggestion?