yashsingh1/xdaforums huggingface dataset:
[Galaxy S5 Mini Android Development] spookcity138:
So guys, I'm not 100% sure of this as I've not really followed these things recently, but Los 16 has not merged the latest monthly security patches for a couple of months now. I'm not sure if they have stopped supporting it or what, but if that's the case then I'm afraid that my updates will be done as well.

I'll continue to check their Gerrit for asb updates for a bit though. Just a heads up.
[Galaxy S5 Mini Android Development] SirRGB:
They do merge the newer security patches (sp), but since they probably missed one part of them they wont bump up the security patch level shown in the settings, but the feb sp is already merged and the march sp is on gerrit.
[Galaxy S5 Mini Android Development] ChriMo:
Using lineage-16.0-20220128-UNOFFICIAL-kminilte+(microG).zip basically as a media player device. I need WLAN/WIFI for updates over F-Droid and Aurora Store and noticed that going into Wi-Fi Settings by long pressing the icon and then turning on Wi-Fi and selecting the SSID seems necessary also in this build.

This ROM was dirty flashed probably 2-3 times over a previous version.

Did not test the SIM phone call App.
[Galaxy S5 Mini Android Development] wori:
When using my g800f for bike navigation some time after disabling the screen GPS / GNSS fix is lost.

To add to the problem, when turning back on the screen it will not aquire a fix until the next phone reboot. GPS apps show 0 satellites visible in this state.

This happens for both Location: High accuracy and Location: Device only setting.

Does anyone know how to prevent this from happening, or even properly debugging this? I'm using Osmand for navigation, but I think it's not Osmand which is causing the loss. I used it on another phone before and there this worked. Osmand also has an option to turn back on the screen some time before an upcoming turn, so this is an intended mode of operation.

keeping the screen on is not an option, the power consumption goes from high to unusably brutal.

When I attach a cable for debugging, the loss of fix doesn't happen.

thanks spookcity138 and everyone else involved in keeping this device alive! There are so few phone-sized Androids out there, it's about impossible to get a replacement.
[Galaxy S5 Mini Android Development] emil19:
Using the non microG version, I see WIFI problems only after restart the device. Then I have to toggle WIFI 2-3 times to build up the connection. After that only one toggle is sufficient.
[Galaxy S5 Mini Android Development] emil19:
Hi SirRGB, I have found your local manifest files (https://github.com/SirRGB/local_manifests/tree/main/kminilte) for building spookcity138's lineage version. So far I was able to build a new image, but I am unsure, if the build is complete.

Especially, has spookcity138 added some apps etc. which are not pulled with this manifest files? As I am using my S5mini's daily, I want to make sure, that I can dirty flash this new build over spookcity138's build.

Thanks in advance.
[Galaxy S5 Mini Android Development] SirRGB:
Well yes, the manifest tracks the non-microg version, which does not include simplecamera and doesnt needs the micro g repo. In addition you need to apply the patches (in the patch(/optional_patches) folder) by running the apply.sh.

btw here is spookcitys own manifest...
[Galaxy S5 Mini Android Development] stanwood:
Same for me, but it's just a question of settings.

Go in WiFi settings and set "WiFi automatic activation" to "on". Then WiFi will be correctly activated on next reboot.
[Galaxy S5 Mini Android Development] Stailet:
I have same problem. Failed to identify dependency with any settings. This is bad, because is a critical disadvantage for this device. Also, I have a problem with quick self-discharge, including when device is off, but looks like this is a malfunction specifically of my device, not sure.
[Galaxy S5 Mini Android Development] Concept48:
SpookCity hope your doing well , are you planning to continue the development on the s5 mini , if yes , I will do a monthly show of your works , best wishes Puck
[Galaxy S5 Mini Android Development] brt4722:
Thanks for the Rom.

Bitgapps works. Other gapps not.

Installed open camera.
[Galaxy S5 Mini Android Development] abagm:
Hi, just discovered a 19.1 for Tab A out of 2014, and quiet a lot DSU. Won't it be possible to built something similiar for the S5mini, too? Maybe a silly question ( I don't know anything about building a ROM) but I noticed someone added recent security patch to this device, so maybe there could be a chance? thank you!
[Galaxy S5 Mini Android Development] SirRGB:
Both 17.1 and 18.1 seem to exist somehow, at least they show up on https://stats.lineageos.org/model/kminilte. It is possible that those versions are spoofed tho. 19.1 is very unlikely to ever happen since we dont even have access to the mentioned versions...
[Galaxy S5 Mini Android Development] abagm:
Strange - I see. Thank you.
[Galaxy S5 Mini Android Development] emil19:
Hi SirRGB, finally I found some time to build lineage. But the resulting image was not bootable. It stops at the samsung boot logo.

When do I have to apply the patches? After repos sync, or every time after repo sync? Or between breakfast and brunch?

(I try at the moment spookcitys manufest.

Thanks in advance.
[Galaxy S5 Mini Android Development] SirRGB:
The readme inside the device tree shows the exact steps

android_device_samsung_kminilte/README.md at P · Spookcity/android_device_samsung_kminilte

Contribute to Spookcity/android_device_samsung_kminilte development by creating an account on GitHub.

github.com
[Galaxy S5 Mini Android Development] emil19:
Thanks, Now the image boots (dirty flashed). I have missed that readme.(y)
[Galaxy S5 Mini Android Development] bierma32:
Great,

It' s based on LOS 16 with actual security patches ?

Can you share it with us?
[Galaxy S5 Mini Android Development] SirRGB:
To get the latest security patches you have to pick the changes from gerrit btw

but since they are incomplete the security patch level shown in the system isnt bumped
[Galaxy S5 Mini Android Development] emil19:
The patch level stays at January, 5th 2022. But I assume that some newer patches are added.

At the moment only NFC is not available, but that has not really worked before too.

If I find a server, I can share the build.
[Galaxy S5 Mini Android Development] bierma32:
The NFC function is not so important for me, I never used it before.
[Galaxy S5 Mini Android Development] emil19:
I have now replaced the gps files by the version of the latest Samsung firmware and this looks promising.

And I am waiting on dev-state on AndroidFilehost for uploading. But the webside seams to be down at the moment...
[Galaxy S5 Mini Android Development] bierma32:
Thats sounds good, let's hope it works with the server.
[Galaxy S5 Mini Android Development] emil19:
Now I have uploaded the file to mediafire.com

(removed) lineage-16.0-20221103-UNOFFICIAL-kminilte.zip

The md5sum is

32e15027e0a6e1b222619ebf9649a4a0 lineage-16.0-20221103-UNOFFICIAL-kminilte.zip

This rom is build from spookcitys repository and only for G800F. Only the gps binary blob and libexynoscamera.so are replaced by the latest samsung firmware files from DBT-G800FXXU1CVG5

Enjoy!

PS.: I found that the libexynoscamera.so is not working. (In my hot patch tests I obviously forgot to wipe cache and dalwik:cry:, so that the changes where not really applied. I will provide a updated version soon.
[Galaxy S5 Mini Android Development] 7wells:
@emil19

Would you mind providing the steps involved to build this ROM? (assuming that one already has a functioning development system available)

Thank you so much! (y)
[Galaxy S5 Mini Android Development] emil19:
I manly followed the advice of SirGRB

In the README.md are all steps included.

In Step 6 etc. you have to replace "lineage-15.1" with "lineage-16.0". (This looks like a copy paste error.)

Important is to patch the tree with apply.sh

And do not use extract-files.sh in device/samsung/kminilte, as the proprietary-files.txt is not in sync with the results in vendor/samsung/kminilte.There are a lot of files missing in the list, which are in the resulting proprietary folder and kminilte-vendor-blobs.mk file.
[Galaxy S5 Mini Android Development] SirRGB:
You have to repopick the newer patches from gerrit
[Galaxy S5 Mini Android Development] SirRGB:
repopick -t P_asb_2022-02 && repopick -t P_asb_2022-03 && repopick -t P_asb_2022-04 && repopick -t P_asb_2022-05 && ...

Dont do ..., but replace it with all the newer security patch topics
[Galaxy S5 Mini Android Development] SirRGB:
Nvm, all patches up to 04 have been merged, so you have to repopick 05 and onwards
[Galaxy S5 Mini Android Development] emil19:
Now I have built again with old libcamera.so and with the patches

2022-05 -- 2022-08 applied (thanks to SirRGB)

Patche 2022-09 shows some errors but is partly applied, patch 2022-10 was stopped with an error. So the patchlevel "between" 2022-08 and 2022-09

lineage-16.0-20221105-UNOFFICIAL-kminilte.zip

The md5sum is

f0a5de40f7c258a577079eeb085fe45b lineage-16.0-20221105-UNOFFICIAL-kminilte.zip

Have fun.
[Galaxy S5 Mini Android Development] 7wells:
@emil19

Understanding that this would need your extra time, would you mind providing the list of commands you applied, or is this too long/complex?
[Galaxy S5 Mini Android Development] SirRGB:
All in the readme, except the repopicks for the security patches...

android_device_samsung_kminilte/README.md at P · Spookcity/android_device_samsung_kminilte

Contribute to Spookcity/android_device_samsung_kminilte development by creating an account on GitHub.

github.com
[Galaxy S5 Mini Android Development] 2faraway2:
Thanks a lot :)

Just two questions:

- The cam is working ? The reason why I'm asking is because in spookcity's latest build it wasn't ...

- microG included ?

For any hints thanks a lot in advance
[Galaxy S5 Mini Android Development] SirRGB:
Cam should be working, just not snapcam, but simple camera
[Galaxy S5 Mini Android Development] emil19:
- Simple camera and open camera works (mostly, video in open camera does not save...).

In the January build I have sometimes camera crashes, which forced me to reboot the device. In this build the camera has not crashed (until now), but we will see. The proprietary camera files are unchanged, as obviously more than one library is involved...

- No microG included.
[Galaxy S5 Mini Android Development] 2faraway2:
Ok, thanks for your input :-)
[Galaxy S5 Mini Android Development] emil19:
I have applied the bugfixes with "repopick -i -t P_asb_...", which ignores non existing directories (in this case external/expat) and applies more patches.

The patches until P_asb_2022-10 are integrated.

(Wrong file! removed!) lineage-16.0-20221105-UNOFFICIAL-kminilte.zip

The md5sum is:

d4a79cc99b9fdf617282e8ad8052b7a7 lineage-16.0-20221108-UNOFFICIAL-kminilte.zip
[Galaxy S5 Mini Android Development] SirRGB:
external/expat has to be tracked from lineage/gerrit in order to apply the patch.

There may be manifest commits, which require you to resync to get all lineage repos.

aosp doesnt update its source anymore, so lineage has to fork these to implement security patches.
[Galaxy S5 Mini Android Development] SirRGB:
https://review.lineageos.org/q/project:LineageOS/android+branch:lineage-16.0
[Galaxy S5 Mini Android Development] metterschling:
Thank you very much for your efforts to keep the phone alive!

I dirty-flashed the new version over one of spookcity's earlier builds of this ROM.

Previously, everything was working fine.

Unfortunately with the new build neither WiFi nor deep sleep are working.

WiFi toggles on and off all the time.

When using the power button to put the device into sleep mode, the screen first goes dark, then after some seconds the lock screen pops up and stays on. Needless to say that the battery lifetime went down from days to half a day.

Am I the only one with such issues?

I don't currently have access to the device - it belongs to a family member - so can't provide a logcat at this time.
[Galaxy S5 Mini Android Development] emil19:
Thanks to SirRGB now I have replaced the expat and dtc files with the lineage version (merged default.xml paths) and all patches until 2022-10 are applied:

lineage-16.0-20221115-UNOFFICIAL-kminilte.zip (md5sum: 10188efaa732fb09e9a3c02eed2f6eaf lineage-16.0-20221115-UNOFFICIAL-kminilte.zip)

The only errors I get now, are about "Empty commits" as this one: 342119
[Galaxy S5 Mini Android Development] emil19:
I see no difference in battery drain until now. But I have to disable "allways on" "ambient display" (Inaktivitätsdisplay), as this was enabled after this update.

WLAN needs two activations after a reboot befor I get a connection, but that was the same with the January update.
[Galaxy S5 Mini Android Development] brt4722:
Thanks for the update.

After reboot must start wifi manually. Stays off.
[Galaxy S5 Mini Android Development] SirRGB:
It is an empty commit, no code changes, so it doesnt matter
[Galaxy S5 Mini Android Development] emil19:
Thanks for the confirmation.
[Galaxy S5 Mini Android Development] metterschling:
Excellent, I never used that setting so wouldn't have recognised that without your help. Turning it off should resolve the battery drain issue.

You nailed this one as well, toggling the WiFi on/off twice helped to resolve the issue, WiFi now connects.

Thank you very much!
[Galaxy S5 Mini Android Development] SirRGB:
Ig you didnt apply the optional patches then. Those apply dark mode by default, disable aod by default and bt as well.

Btw great to see another German in here ;)
[Galaxy S5 Mini Android Development] metterschling:
FWIW this turned out to be a router issue. Re-booting the router resolved it. Funny that it just occurred at the exact time when the new ROM version got tested.
[Galaxy S5 Mini Android Development] emil19:
Are there more patches to apply than that in

device/samsung/smdk3470-common/patch ?

Maybe Germans likes small phones... :giggle:
[Galaxy S5 Mini Android Development] SirRGB:
You can apply the optional patches as well

And yes I do like small phones, but I dont use my S5 Mini anymore...
[Galaxy S5 Mini Android Development] Stailet:
How I see, there is no any significant updates after january. Critical bug of lost GPS location after screen off managed to solve somehow? I try to use S5M in ride, because he is compact, but this bug is spoils everything.
[Galaxy S5 Mini Android Development] StitchExp626:
I don't know if someone posted it already in this thread, but you can also use HedgeCam 2.

You only need to enable Camera2 API in the settings (scroll down). Then it works on the S5M.

I use this also on another "broken" device of mine where other camera apps don't record video at all.

However, there is a little drawback: it doesn't record in FullHD.

But I thought it would maybe help someone :)
[Galaxy S5 Mini Android Development] emil19:
As written earlier I have exchanged the GPS files against the newest files from the 2022 update DBT-G800FXXU1CVG5, and I have the feeling, that I get a more stable fix with this update...
[Galaxy S5 Mini Android Development] emil19:
Now I have build a new release with the November patches for Lineage 16. (P_asb_2022-11)

lineage-16.0-20221202-UNOFFICIAL-kminilte.zip

The md5sum is:

da67898e9394fd8f948e57d341ee4b8d lineage-16.0-20221202-UNOFFICIAL-kminilte.zip

[no MicroG]
[Galaxy S5 Mini Android Development] Stailet:
And what changes from past build? GPS location is no longer falls off?
[Galaxy S5 Mini Android Development] emil19:
Which past build?

In all my builds, gps is updated. Yesterday I have 2.5h gps up and running. During the test I have disabled and enabled gps often. Allways the I got a fix again. But your milage may very!

Changes as written. Security patches until 2022-11 for lineage 16.0 (maybe not all fixes has been backported for los 16.0)
[Galaxy S5 Mini Android Development] duven87:
Hi,

So far everything is going well. The only problem I have is with webview. I tried to install it using the magisk module "webview manager" but after rebooting it does not appear in developer options.

Has anyone been able to install it? some apps ask me for it.
[Galaxy S5 Mini Android Development] emil19:
I have uploaded a new build with the December patches for Lineage 16. (P_asb_2022-12)

lineage-16.0-20230101-UNOFFICIAL-kminilte.zip

The md5sum is:

5460a26a0bc698c9cb30c5d9062c6493 lineage-16.0-20230101-UNOFFICIAL-kminilte.zip

[no MicroG]
[Galaxy S5 Mini Android Development] EightyFive25:
Hi Folks,

Can anyone say whether this Lineage OS can be used on an AT&T S5 Mini SM-G800A (kminilteatt)?

This page: https://www.phonemore.com/specs/samsung/galaxy-s5-mini/lte-sm-g800a/ seems to indicate that the chipset and everything else is similar to the G800F/M/Y models...

Thanks in advance for any input anyone can provide,

Jim
[Galaxy S5 Mini Android Development] nofishonfriday:
Hi,

I'm currently using the latest MicroG build from the opening post (lineage-16.0-20220128-UNOFFICIAL-kminilte (microG)).

Would you or anyone perhaps consider doing a MicroG build of the above?
[Galaxy S5 Mini Android Development] 2faraway2:
+1 .... ;)
[Galaxy S5 Mini Android Development] s5minimalist:
Hi there,

first, thanks for keeping this ROM alive! I've just saved my wife's S5 mini from the bin by flashing LOS 16. However, I am now facing the Netguard/VPN Problem.

All network traffic blocked when using NetGuard on LOS 17.1 (#1706) · Issues · LineageOS / issues / android · GitLab

Expected Behavior "NetGuard provides simple and advanced ways to block access to the internet - no root required." (

gitlab.com

https://xdaforums.com/t/closed-app-6-0-netguard-no-root-firewall.3233012/page-614#post-84457527

There seems to be a solution for klte devices… would there be any possibility to correct this issue in emil19's ROM? I'll be no help there, but would be willing to test.

TIA, Martin
[Galaxy S5 Mini Android Development] SirRGB:
seems to be a kernel bug, I picked most of the s5 kernel stuff, but wont test myself now.

anyone willing to test if it builds/boots is welcomed to try

Commits · SirRGB/android_kernel_samsung_kminilte

Kernel for Samsung Galaxy S5 Mini (SM-G800F) MM_Sources - Commits · SirRGB/android_kernel_samsung_kminilte

github.com
[Galaxy S5 Mini Android Development] emil19:
Now I have found some time to build an image with SirRGB's kernel and I have uploaded the image for tests.

Testimage with SirRGB kernel: lineage-16.0-20230114-UNOFFICIAL-kminilte.zip

md5sum: 0f27196ae10fbc068d21cd82c06840d8 lineage-16.0-20230114-UNOFFICIAL-kminilte.zip

The image is running on my device since ~12h with no problems so far.
[Galaxy S5 Mini Android Development] emil19:
Sorry for the late reply. As I have not tried to build the MicroG version and I do not use it, I have no knowlege on bulding and testing this variant...

Therefore I do not plan a MicroG version at the moment.

I hope you understand my position.:(
[Galaxy S5 Mini Android Development] duven87:
@spookcity138 , @emil19

Is there any way to install webview bromite?

I have tried both the bitgapps addon and the magisk module and although they are installed correctly then the apps still ask me for webview and in advanced options does not let me change the version of webview. it is always the default as an option.

Neither with this methode because is not listed:

You can install Bromite SystemWebView only if the above output contains a packagename="org.bromite.webview" with the correct signature block or without a corresponding E: signature block (NOTE: without signature it will be UNSECURE as any package with that name can be installed, see previous paragraph explaining how SystemWebView installation works on Android).

Installing SystemWebView

Bromite is a Chromium fork with ad blocking and privacy enhancements; take back your browser! - bromite/bromite

github.com
[Galaxy S5 Mini Android Development] SirRGB:
Btw I think ik now how to build microg

Clone the microg trees, revert this and clone https://github.com/Spookcity/vendor_addons_microg to vendor/addons/microg. Should build fine with that...
[Galaxy S5 Mini Android Development] SirRGB:
wait no, dont do this

You dont need the revert, just clone this repo into vendor/addons/microg instead of the old one...
[Galaxy S5 Mini Android Development] emil19:
Has someone tested SirRGB kernel changes? Should I go with this changes?

I have only tested with openVPN, but my faulty function has not improved, but this is may be the combination of openVPN, AFWall+ and the application...
[Galaxy S5 Mini Android Development] SirRGB:
I couldnt pick all changes since Im quite inexperienced in kernel development tbh...
[Galaxy S5 Mini Android Development] GalaxyNote10:
I assume you have had Problems to include P_asb_2022-09 and P_asb_2022-10 as they have prereqs?
[Galaxy S5 Mini Android Development] SirRGB:
No, I just meant the kernel picks, which have nothing to do with the system asb...
[Galaxy S5 Mini Android Development] emil19:
I have prepared a new Build with patches until P_asb_2023-01

lineage-16.0-20230130-UNOFFICIAL-kminilte.zip

The md5sum is:

ad8c4dc1c1089f0a492afba451e001dd lineage-16.0-20230130-UNOFFICIAL-kminilte.zip
[Galaxy S5 Mini Android Development] wawe361:
Build is running smooth with no problem so far, I use it daily but exclusively on wifi... thank you to keep this rom and this device alive :)
[Galaxy S5 Mini Android Development] emil19:
New February update with P_asb_2023-02 patches:

lineage-16.0-20230224-UNOFFICIAL-kminilte.zip

md5sum:

4f0df10aa281ce6ddd1df47e669dc5c9 lineage-16.0-20230224-UNOFFICIAL-kminilte.zip
[Galaxy S5 Mini Android Development] SirRGB:
As I said you can do a microg build by following these instructions before building:

git clone https://github.com/Exodusnick/android_vendor_partner_gms vendor/partner_gms -b main
export WITH_GMS=true
[Galaxy S5 Mini Android Development] michnixweiss:
Thanks @emil19 for the updates.

Can you also build and post an updated microG version?

I prefer no Gapps cause its realy faster.

Thx
[Galaxy S5 Mini Android Development] emil19:
Now I have build a micoG version for G800F, but I have not tested this build!

lineage-16.0-20230319-UNOFFICIAL-kminilte-microG.zip

The md5sum is:

lineage-16.0-20230319-UNOFFICIAL-kminilte-microG.zip.md5sum

Have fun!
[Galaxy S5 Mini Android Development] michnixweiss:
Thx @emil19
[Galaxy S5 Mini Android Development] michnixweiss:
Hi @emil19,

SignatureSpoofing is not present/working.
[Galaxy S5 Mini Android Development] emil19:
A new version with March patches (P_asb_2023-03) is ready:

Normal build:

lineage-16.0-20230325-UNOFFICIAL-kminilte.zip

lineage-16.0-20230325-UNOFFICIAL-kminilte.zip.md5sum

And the microG build:

lineage-16.0-20230325-UNOFFICIAL-kminilte-microG.zip

lineage-16.0-20230325-UNOFFICIAL-kminilte-microG.zip.md5sum
[Galaxy S5 Mini Android Development] michnixweiss:
Thx for the updates.

SignatureSpoofing in MicroG Build not present/working anyway.
[Galaxy S5 Mini Android Development] SirRGB:
android_device_samsung_smdk3470-common/patch/frameworks_base/0001-microg.patch at P-microG · Spookcity/android_device_samsung_smdk3470-common

Contribute to Spookcity/android_device_samsung_smdk3470-common development by creating an account on GitHub.

github.com

You have to use and apply the patches of the microg branch, thats all you have to do.
[Galaxy S5 Mini Android Development] michnixweiss:
How to do that?
[Galaxy S5 Mini Android Development] SirRGB:
It has to be done while building. You have to clone the micro g branch instead of the standard one and run the apply.sh before starting the build.
[Galaxy S5 Mini Android Development] emil19:
When I try to apply the patch, I get this error:
[Galaxy S5 Mini Android Development] SirRGB:
I havent tried, but this one is the official one

GmsCore/patches/android_frameworks_base-P.patch at master · microg/GmsCore

Free implementation of Play Services. Contribute to microg/GmsCore development by creating an account on GitHub.

github.com
[Galaxy S5 Mini Android Development] emil19:
Now a new build with the original patch for the latest microG repo merged with Spookcitiy's apply.sh

lineage-16.0-20230328-UNOFFICIAL-kminilte-microG.zip

md5sum: lineage-16.0-20230328-UNOFFICIAL-kminilte-microG.zip.md5sum

Untested!