yashsingh1/xdaforums huggingface dataset:
[Galaxy S5 Mini Android Development] the_MacAce:
Installed yesterday, till now no problems and everything works great :o

Thank you very much!

One question regarding aptX:

It's possible in Developer Options to choose the Bluetooth-Audio-Codec and there are "aptX" and "aptX-HD" available.

But it's not possible to change the Audio-Codec, it always stays with "use system selection (standard)"

Any idea how to change to aptX or is it in general not possible?
[Galaxy S5 Mini Android Development] dibbie666:
hallo thx for keeping the phone alive and up to date.
[Galaxy S5 Mini Android Development] spookcity138:
We don't have the aptX libraries so it's not possible... However I think I remember reading that our device does support them. I'll look into this and if so I'll try to add them.

You're welcome :)
[Galaxy S5 Mini Android Development] Felipe Medina:
Some problems in the rom

Greetings, at the moment I find problems in video playback for applications such as whatsapp, because there they can not be played, and you must resort to the gallery. I would also like to mention that sometimes the fingerprint takes longer than usual to respond, and finally there are frequent problems with constant closures of applications. In other sections I highlight the good functioning. I love your work and I am very grateful for allowing me to extend support to my smartphone.
[Galaxy S5 Mini Android Development] brAvEiitoOr:
Same problem with the video playback, also happens on Instagram and Facebook Lite. I'll try to make a logcat to see where the problem is.

Thanks for keeping updated our phone, the ROM is great!
[Galaxy S5 Mini Android Development] spookcity138:
Thanks a lot for the feedback. Yeah,logs would be most helpful. For those who would like to share a log,but perhaps don't know how Heres a good detailed description. However,an easy way,if you have root,is going to be to download a logcat application and use that. I can recommend MatLog.
[Galaxy S5 Mini Android Development] brAvEiitoOr:
I have problems with my computer's USBs so i use Catlog for the logcat. I found this error trying to play an Instagram video
[Galaxy S5 Mini Android Development] spookcity138:
Thanks for the log [MENTION=8568547]brAvEiitoOr[/MENTION]. It is helpful. I made a kernel commit that I am hoping may have some (positive) effect on these video issues. I would appreciate some feedback from you or anyone else on whether or not this had any effect on the Facebook,Instagram video issues. I will attach a boot image. Just select "flash image" in TWRP and be positive to select boot partition if you would like to test it out. Thanks!

Boot.img
[Galaxy S5 Mini Android Development] BirthdayDog11:
Hi.

I installed this Rom yesterday, and it seems to work great. Thanks very much!

But how do I get root access for apps?

Edit: Okay, I figured out Magisk. Sorry for asking dumb question. Maybe add a quick note for the newbies in the OP.
[Galaxy S5 Mini Android Development] elsterkrug:
I have reinstalled the ROM again and gradually all apps. That solved my GPS problem, it now works in all apps.

I still have problems with the wifi, which often shuts off in standby. I can not find any reason for that in the settings.

Overall, the ROM does not run as smoothly as LOS 14. Since the cell phone is probably at its performance limits? The apps start sometimes quite slowly and commands are executed delayed. Often the system also hangs up and after a while the program crashes, the open one simply drops off, e.g. Navigation (Sygic) or the photo app (Footej camera). This does not work well, videos are recorded very jerky. Too bad ... Is there a better recommendation for a camera app? Open Camera also does not work, as well as HD Camera and A better camera (already tried).

I hesitate to say goodbye to LOS 14 because it is going very well. At the moment, I have it from Panzerknacker on it and it works great. Let's see how long there will be updates.

Is there actually an Xposed Framework version for LOS 16?
[Galaxy S5 Mini Android Development] metterschling:
Have a look at EdXposed, it not only supports Pie, but even seems to work on Android Q Beta: https://xdaforums.com/pixel/how-to/xposed-pie-android-q-t3911819
[Galaxy S5 Mini Android Development] elsterkrug:
I tried to install Edxposed, but unfortunately it does not work. Has anyone gotten to work?

Edit: Got it now, had forgotten the Riru-Core, now it works.
[Galaxy S5 Mini Android Development] 1AiiA1:
Hoping for new update

:o Hi i created a xda account so that I can thank you. I am hoping for new releases or updates for this. ;)
[Galaxy S5 Mini Android Development] Mikahlo:
boot.img...

...works for me. Videos in the whatsapp status are now being played.
[Galaxy S5 Mini Android Development] Brummschaedel:
Hi, I have the same problems. The phone slows down with every app I used, and was freezing in the end. After I detected, that it was fast again after closing the used apps, I activated “Don 't keep activities“ in the apps-section of the developer options and set the background limit to “2“. Seems to work so far.

The behaviour reminds me of problems I had with Linux with not enough Ram and little Swap-space. Just a suggestion...

I installed Matlog as recommended by spookcity and hope to get a useful log, if I get a freeze again.
[Galaxy S5 Mini Android Development] spookcity138:
Interesting,a log would indeed be helpful if at all possible. I can say that I did notice this a few times recently, but not nearly as bad as you've had. Perhaps I've made a mistake in pinning a few things into memory in the build. It could also be the fact that HW composition is broken. I'm not real sure. The symptoms do seem like a RAM issue as you said.

Since I last had this problem I decided to create a 250mb swap file to use. So far no issues, but we'll see. If I have it again I'll try to grab a log as well.
[Galaxy S5 Mini Android Development] Brummschaedel:
Creating a swap file sounds interesting. Do you know a guide how to do it?
[Galaxy S5 Mini Android Development] spookcity138:
Well, you can do it via the terminal, but that becomes a bit complicated. I recommend an app. I believe there's an app called swapper that was somewhat popular. I personally used apps2sd pro. It is not specifically for swap as the name implies, but has a lot of features. Creating a swap file being one of them. I have the paid version though. I'm not sure what the limitations are of the free version.

I really just wanted to try to use a swap file for a bit and see if this issue stopped so I could determine if the root cause was indeed a RAM issue. Although, as I said I've only had this problem a few times and not so severe.

Perhaps if you're able to create a swap file and test out as well we'll be able to determine if this is the cause.
[Galaxy S5 Mini Android Development] Brummschaedel:
Thanks for the info. I'll try.
[Galaxy S5 Mini Android Development] Brummschaedel:
Okay, maybe I got something helpful.

I removed the options I chose in the "developer settings" and created a swap-file with swapper this morning. Then I began to play a game that tends to make my phone freeze. Went very smooth in the beginning, but after some time it became really slow and I switched to Matlog (needed about 15 seconds) and saved the log.

As the file was to big to upload, I removed most of it, hope I give you the part that is needed. I saved the whole file for sure.

Thanks in advance for looking into it!
[Galaxy S5 Mini Android Development] spookcity138:
Thanks a lot for the log! After just a quick glance and some quick thoughts: I see all of the looper warnings and I believe ( I could be very wrong though) that this partly has to do with touch events,screen redraws etc. This leads to to think that this is due to our broken HW composition. Therefore,everything is relying on our GPU...which like our phone is rather old at this point. This especially makes sense when it comes to playing games. Although,I rarely play any and have also had this issue. Perhaps its a combination of low memory and this.

Sadly,as far as the HW composition issue is concerned I am really unsure of how to solve this at this point. I keep hoping it will somehow be resolved within the LOS sources at some point,but in my searching I've not found any other phones with this problem. That leads me to believe that the only fix may be to hex edit one of our proprietary display blobs. This is something that I would really need to look into. I will build without the patch to disable HWC soon and grab some fresh logs and see if I have a better understanding of whats happening. I will probably also revert some of services I pinned into memory during last build (surfaceflinger,dialer,SystemUI) This also may just be too much to ask from our old phone with 1.5gb of memory.
[Galaxy S5 Mini Android Development] mongo0:
I also found that additional swap improved performance and reaction time a bit.

I made a swap partition on the external_sd and I also switched the zswap compressor from lz0 to lz4. Also, I set vm.swapppiness to 10 and vm.vfs_cache_pressure=50. However, zswap.zpool (CONFIG_ZPOOL) does not seem to exist on this kernel...

I think it is doing at least some good :)
[Galaxy S5 Mini Android Development] Ti64CLi++:
When you say that SELinux isn't working, does that mean that it's permissive or enforcing, or none of them?
[Galaxy S5 Mini Android Development] spookcity138:
Thanks for the info. There are many commits needed in order for all of this (zram/zswap) to work correctly on our device. I Have been looking into backporting ZRAM/ZSMALLOC from the 3.10 kernel as they have done on the KLTE kernel. Sadly,this is not as easy as just cherry picking the needed commits. I will continue to look into it.

It is permissive and switching it to enforcing will break many things on the ROM.
[Galaxy S5 Mini Android Development] Brummschaedel:
Hi! I also made a Swap partition on SD-card and had no freeze since then. It's okay, but surely it was even better, if the issue could be fixed. Thanks for all your work!

The only thing that annoyed me the last two days is the laggy WIFI connection. Using the browser works, sometimes I have to wait for some seconds, but then the data comes in. But with other apps, especially the XDA-app, there's often no connection. I have to close the app, swipe it out of the recent apps, and reopen it. It does not happen on mobile data.

You had a boot.img to fix this. Was it included in the last build of the Rom? Or do I have to flash it seperetly?
[Galaxy S5 Mini Android Development] spookcity138:
The boot.img I released a bit ago was to solve video playback issues in whatsapp,Instagram and Facebook (which in my testing has worked) Your WiFi issue seems annoying indeed. My WiFi is very stable so its weird. Perhaps you can provide me with a log of this if you are able and I will look it over.
[Galaxy S5 Mini Android Development] Brummschaedel:
Oh sorry, maybe I should re-read the old posts before writing.

So for me video Playback in Whatsapp-posts works. I don't do much with Wathsapp, so I can't say, whether it did so with elder versions of the Rom, but now it sure does.

So here is a log of a failed attempt to receive data with the XDA-app over WIFI-connection. One minute later I got a connection via LTE (not logged).

And a little suggestion: You once created a kernel for lineage 14 that could overclock the CPU. Would it be useful to integrate it into the ROM, leaving 1.4 M as the standard?
[Galaxy S5 Mini Android Development] Ti64CLi++:
If it doesn't bother you, could you tell me which part of which file is for selinux? I'd try perhaps to fix this bug by myself, and learn how it works ;)
[Galaxy S5 Mini Android Development] spookcity138:
Thanks for the log. I will look it over when I have the time. I have moved the android.hardware.wifi hidl back to version 1.0. I kinda dont think this will solve the issue,but it should at least kill some of the logcat spam we are getting as newer version offer support for things we don't have.

AS far as OC the CPU. I have done this and used a version on this ROM. I am hesitant to just include it in the ROM as some people had issues with it before and I don't want confusion about what is ROM related and related to the OC. I don't really feel like creating a thread on here for a new kernel...At least not at this point. Perhaps in the future. Maybe I will release an OC'd version on github or something. I also don't just want to post it here and "muddy up" this thread with this.

No bother,but sadly it is not just a file. Here's a Link all about this if you wish to look it over. It is a fairly time consuming process to get this all working. Especially if you are not very familiar with SELInux (like me)
[Galaxy S5 Mini Android Development] aelfinn:
I’d love to test that. :)
[Galaxy S5 Mini Android Development] spookcity138:
Ask and you shall receive :D

It is fairly easy and straightforward to do,so it was no problem. Overclocked from 1.4 - 1.6. Also enable the lower frequencies 200 and 300 MHz for possible battery saving? You'll need to use kernel adiutor or similar if you don't wish for it to scale down this low. No other changes to the kernel. Please,no comments about the kernel in this thread. It will only confuse things. If you have a comment please do so Here

Download - 1.6 overclock
[Galaxy S5 Mini Android Development] Asgabat:
how to root?
[Galaxy S5 Mini Android Development] spookcity138:
I use Magisk Works good. I haven't tried v 19.0. I've been using 18.1. It should probably work as well though. Just can't say for sure.
[Galaxy S5 Mini Android Development] liquidraver:
Anyone knows how to turn off Ambient display from ADB? In the ROM, when I tap on Ambient display settings, it's just force closes the settings.
[Galaxy S5 Mini Android Development] Eightball2:
First off: [MENTION=7065337]spookcity138[/MENTION] thank you so much for still supporting this crappy old phone!

After sticking with lineage 13 or so for way too long and not really caring about my phone, I finally started flashing roms again when this thread came up.

With the first few releases I experienced the same issue with writing to sdcard that many people also reported here. The most annoying was WhatsApp not being able to download photos. Gladly this was fixed in the latest release!

Another issue that I kept stumbling upon and took me some googling to figure out was the Samsung Smart Cover (or: flip cover). I'm not using the actual cover, but the setting is enabled by default, which made my phone randomly enter some kind of locked state with the display half blue and only the time displayed. I couldn't do anything but restarting the phone. The solution for this is to go to Settings -> Connected devices -> Connection preferences -> Smart cover and just disable it.

I was kinda happy with my phone, but sometimes had huge performance issues that are also reported in more recent posts of this thread. I could counter the lockups by setting the performance governor in Kernel Adiutor, but this was not a long-term solution. Also there was no recent kernel with different governors or overclocking available that I wanted to try.

Finally I was also able to solve this problem, and here is how. In Magisk Manager I downloaded and installed LKT ('Legendary Kernel Tweaks'). The phone's CPU is not listed in the compatibility list, but nevertheless it works fine for me. In LKT I set the 'Balanced' profile, which so far works very well for me. I haven't tested for too long now, but battery life seems still quite fine and the phone is running reasonably smooth. Maybe one could even go for 'Performance' mode.

With these minor problems solved, I would like to repeat how overall happy I am now with this rom, smoothly running the latest Android on an I-don't-even-know-how-old phone and want to thank [MENTION=7065337]spookcity138[/MENTION] again for the effort! I will see if I can find someone with a Paypal account...
[Galaxy S5 Mini Android Development] Marteng69:
I am using Magisk 18.1 and root is working fine.

---------- Post added at 19:39 ---------- Previous post was at 19:26 ----------

I also want to thank [MENTION=7065337]spookcity138[/MENTION] for this great ROM!

We do have three S5minis in our family as daily driver.

This weekend I installed the first with the 20190310-version. The installation went almost fine.

I have only some (knows) problems with the ROM:

1. Recording videos: it is only working with footej camera, not with open camera, nor the stock camera. But even with footej using the camera sometimes crashes, especially while changing between camera and video modes.

2. Creating a second user with the multi user settings is not working. Every time I switched to the previously created new user the dialog to finish the creation of the new user crashed and I had to delete the second user.

3. I once tried to encrypt the complete phone. After the next reboot the phone remained in a bootloop and I had to wipe everything.
[Galaxy S5 Mini Android Development] Extremelyd1:
I can't seem to install the rom zip file.

Whenever I try via TWRP I get a cut-off message in the log saying "E3004: This package is for device: kminiltexx, kminiltedv, kminilteub, kminilte; this device is .. ".

The rest of the message is not visible.

My phone is a G800F, any ideas?

Edit: Apparently my TWRP was outdated and therefore it couldn't flash the zip. Works great now!
[Galaxy S5 Mini Android Development] MikeT.:
Hello, thanks [MENTION=330757]spook[/MENTION]city for all your work, I'm glad that you're be back :)

I tried last build at my main device and the ROM was good for me (I'm with your AEX 6.4 for now)

There is a general problem (at both devices) since AEX 5.8 (ie in your xenonhd (oreo) from January, RR from [MENTION=4613083]rodman01[/MENTION], LOS16,.. too) and I'm not sure where it come from, but I think it has to do with jdwp (see logs): I can't upload pictures in communities based on xenforo. Via and Lightning browser means "no app for this action available"
[Galaxy S5 Mini Android Development] MikeT.:
Log 2
[Galaxy S5 Mini Android Development] spookcity138:
Thanks a lot for such detailed feedback. It is very useful to me...and I'm sure others will find this useful also. I have made a few changes relating to memory. I reverted pinning a few services into memory. I also added a couple of memory optimization flags and in my testing (3 days or so) it has made a noticeable difference. This will be part of the next build and will hopefully,if not completely eliminate the random freezes,at least make them much less likely.

Same to you. Feedback like this is helpful as I don't use all of these feature,so I would never know some of these things were broken.

1. Yeah,I don't record many videos,but I Know it is still sketchy. Our camera is just a bit of a mess. I will try to revisit this in the future and see if I am able to do anything about this.

2. Interesting, I am not sure about this. I will try to look into it.

3. I saw that a few devs have added a flag for legacy encryption to their device configs. I was unsure at the time exactly what this had to do with,but I will look into it again. Perhaps its as easy as just adding this.

This I have no idea about off hand. I just know that jdwp is a java debugging protocol. Was "no app for this action available" the only other relevant bit of your log?
[Galaxy S5 Mini Android Development] Brummschaedel:
[MENTION=2288021]Eightball2[/MENTION]: Thanks a lot for the idea with LKT! The first impression is a bit faster response of the phone and a better battery life. I had to reenable the pedometer, but that's not a problem.

@ spookcity138: Just installed the overclocking kernel. And apart from running stable it seems to solve an issue, I found some days ago and just wanted to report: The MTP-connection only worked for downloading files to PC, uploading to the phone failed. Now I tried to get a log and: Hey with this kernel it works! Thanks!
[Galaxy S5 Mini Android Development] MikeT.:
I remember a notification in aex Oreo about java, lightning browser means "no app for open url", I'll looking for it.

Logs are filtered, send you more later today

Edit. [MENTION=7065337]spookcity138[/MENTION] you have pm
[Galaxy S5 Mini Android Development] Asgabat:
it won't connect to Hidden wifi, how to fix this?
[Galaxy S5 Mini Android Development] spookcity138:
This has been brought up before and I've been meaning to post the solution as it is not broken and works fine. It has just changed a bit in Android 9. The key:

Within the add network dialog add your SSID,security type and password. Then scroll down a bit. Click advanced and at the bottom change hidden -no to yes. Hit save and give it 20-30 seconds and it will connect.
[Galaxy S5 Mini Android Development] Marteng69:
Thanks for your time and your work.

I have found a new problem:

While running the build-in music app the music visualisation appears on the lock screen, even if it is disabled in the settings of the app. Is there any other setting, which is responsible?
[Galaxy S5 Mini Android Development] freaklunte:
hello,

is there a chance to upgrade from the Februarbuild to the last build without loosing personal data?

Thanks
[Galaxy S5 Mini Android Development] Marteng69:
Usually you can update from one build to the other within the same LOS-version without wiping all data. You need to wipe only dalvik cache and cache after you installed the new build. Just follow the steps in the first post without wiping everything. After installing ROM and GApps (and if you want Magisk) perform a wipe of dalvik cache and cache in TWRP.

If you are coming from other ROMs that are based on LOS (crDroid etc.) you have to wipe everything.
[Galaxy S5 Mini Android Development] freaklunte:
that sounds good :)
[Galaxy S5 Mini Android Development] spookcity138:
I think this possibly has to do with me enabling always on display in the build. I'm not 100%,but think this is the case. I also think this is the reason why ambient display options crash in settings when clicked. I will look into it...Maybe i will just disable AOD if I can't figure it out and see if that is indeed the culprit of these problems.
[Galaxy S5 Mini Android Development] freaklunte:
and it is succesfully done

Thanks