yashsingh1/xdaforums huggingface dataset:
[Galaxy S5 Mini Android Development] Exciter666:
On google I found a hint:

I had the preffered network type set to 2G and this caused the display to be activated for few seconds (somtimes half of a second, sometimes 5 seconds).

I tried LTE and immediately the display was dark until I pushed a button.

Now as I set it back to 2G the display starts to pop up again.

So this behaviour is definetely triggered by the 2G selection in the network menu!

How can this be disabled?

I only need 2G...
[Galaxy S5 Mini Android Development] Asgabat:
is this LOS overclocked like crdroid to 1.5hz?
[Galaxy S5 Mini Android Development] spookcity138:
No, maybe you can find one of my old kernel zips to flash though. I no longer have any or I'd share.
[Galaxy S5 Mini Android Development] Asgabat:
what should i search for? don't you have overclocked version?
[Galaxy S5 Mini Android Development] Panzerknakker:
https://androidfilehost.com/?fid=8889791610682911822

1,6 GHz
[Galaxy S5 Mini Android Development] spookcity138:
Updated

IMPORTANT NOTE

The days of my S5 mini are numbered. The screen has been shattered for months,but it now no longer will even power on. What does this mean?

Well,it means I will no longer be able to test the builds I release. I don't particularly like this,but it is what it is. I will continue to update this ROM however. It would be appreciated if after flashing someone would post a reply confirming that it works. Thanks!

Edit:

I was able to get my my mini to stay on long enough to test the builds. Not sure how or why, but either way, confirmed working by me. I can't promise I'll be able to test future builds however as my mini is certainly dying.

Changelog

Synced LOS sources
Latest security patches (August 2020)

Enjoy! :good:
[Galaxy S5 Mini Android Development] Freddew:
latest TWRP (3.4.0-0) causes errors

It is written in the first post, that you need to use the latest twrp.

I just wanted to give the hint, that this causes errors. I tried the latest 3 micro g builds without sucess.

The 3.3.1-0 version is working fine.

I also can report that the latest build (20200811-microg) is running without issues, BUT iam not a frequent user of this rom, which means that i did not had the time for a stress test.

Since this rom is running so smooth, i will test it as daily driver, so i can say more in the future.

Thank you [MENTION=7065337]spookcity138[/MENTION] for investing quiet a amount of time in this project. Great work! :victory:
[Galaxy S5 Mini Android Development] spookcity138:
Yes, just checked and there is a new build of TWRP for the mini that I was not even aware of. I'm also using 3.3.1-0.

If I remember I'll update the main post. Thanks for reporting!
[Galaxy S5 Mini Android Development] Panzerknakker:
TWRP 3.4 works for me.
[Galaxy S5 Mini Android Development] Avraham Tsaban:
Is perfect for me too. I use the standard build. Do you?
[Galaxy S5 Mini Android Development] Pokemetti2:
Where did the download link go? Here is a link to spookcity138's AFH: https://androidfilehost.com/?w=files&flid=64356&sort_by=date&sort_dir=DESC
[Galaxy S5 Mini Android Development] DoubleNegative:
twrp-3.4.0-0 failed instantly to install lineage-16.0-20200811 with error "failed to create directory /cache/recovery/......."

Straight after wipe.

Luckily twrp includes a clunky file manager to fix this:

I couldn't find a make folder button but /oem was a handy empty directory

copy /oem to /cache/

rename /cache/oem to recovery

Try Install again, worked fine.
[Galaxy S5 Mini Android Development] milink:
Is any camera application (for example Open Camera) working with latest build?
[Galaxy S5 Mini Android Development] 1Maxnet1:
Simple Camera by simplemobiletools works great for me on the latest build. It is already included in the ROM since July-build.

https://f-droid.org/de/packages/com.simplemobiletools.camera/
[Galaxy S5 Mini Android Development] spookcity138:
Updated

NOTE:

All of the fixes and improvements this month (as well as for some time) are thanks to [MENTION=5532636]mongo0[/MENTION]. He is doing all of the heavy lifting for our device. I am simply syncing and building updates. So if you are using and enjoying this ROM make sure to show him your appreciation!

Changelog

* Synced LOS sources
* Latest security patches (September 2020)
Kernel:
* Updated some kernel headers
* USB: core: Fix free-while-in-use bug in the USB S-Glibrary
* drivers: usb: core: Minimize irq disabling in usb_sg_cancel()
* drivers: usb: core: Don't disable irqs in usb_sg_wait() during URB submit
* usb: message: Fixed error: 'no space before bracket'
* nl80211: validate beacon head
* cfg80211: Use const more consistently in for_each_element macros
* cfg80211: add and use strongly typed element iteration macros
Device:
* Some WiFi patches/fixes and cleanup
* Added some system props for legacy graphics
* Disabled NearbyMessagesService
* Disabled DiscoveryService
* Disabled wifi MAC randomization
* Updated bluetooth stack cfg
* Removed Wifi display
* Removed creation of /data/misc/dhcp & reintroduced wakelock and others gid for wpa supplicant
* WiFi; added nvram path
* Added audio extended features
* Removed hardcoded p2p configs
* Camera overhaul (according to oneplus3/jf-common)
* Use our samsung_slsi(-cm) repo & enable some exynos hardware features
* Some other tweaks here and there

Enjoy! :good:
[Galaxy S5 Mini Android Development] jan8045:
Ok, I wiped data as well today, re-installed latest build, latest GAPPS, latest Magisk but GPS (no WLAN, no AGPS, just device-only) is still very unreliable. Rarely I get the GPS locked but mostly not -under pefect conditions. Unfortunately, I haven't been able yet to detect a pattern...
[Galaxy S5 Mini Android Development] Brummschaedel:
Yes, you are right, I used “device only“ mode. According to Locus the precision was about 10 meters. Time until fix was okay, and it didn't lose the fix. Tested with Locus on a walk of two hours with tracking and with Navmii in the car for about 3 hours.

Do really all our phones have the exactly same hardware? Maybe there are different GPS-chips?
[Galaxy S5 Mini Android Development] jan8045:
I will check how to determine the GPS version. Meanwhile: What baseband/modem are you using (mine: G800FXXU1CRG3) ? Thanks!
[Galaxy S5 Mini Android Development] Halid2805:
Battery life is very short(
[Galaxy S5 Mini Android Development] Brummschaedel:
My version is G800FXXU1BPC3. Should I update?

---------- Post added at 07:16 PM ---------- Previous post was at 07:08 PM ----------

Okay, I just installed your test build. Does removing sdcardfs mean, I can't use the external storage any more? If so, something went wrong, as I can still read and write on it. Backups from Locus still fails, automatic install of new cards also. But downloading a card with a browser and the unzipping and moving them with a file manager works. Let's see, what the other apps are doing.
[Galaxy S5 Mini Android Development] jan8045:
Thanks for the swift response! I will try your modem version just to see whether it makes a difference with regard to GPS peformance.
[Galaxy S5 Mini Android Development] jan8045:
Ok, after flashing your modem, GPS still does not work reliable. Most likely, I will revert to stock software and hope, the problems will be gone.
[Galaxy S5 Mini Android Development] jan8045:
FYI: I downgraded to the stock rom (G800FXXU1CRG4) again and: YES, GPS is working flawlessly again (*relieved*).
[Galaxy S5 Mini Android Development] Ti64CLi++:
Netflix isn't working anymore. It juste worked fine on lineage os 14.1 but it now said netflix isn't supported by my device.
[Galaxy S5 Mini Android Development] MrCreating:
Hey guys!

Please, help a noob.

How to compile AEX from your sources?

I sync repo, next clone your sources, than placed

Device tree - device/samsung/kminilyte

Kernel - kernel/samsung/exynos3470

Vendor - vendor/samung/kminillte

Than i run envsetup.sh it succeeded, but "lunch aosp_kminilte-userdebug" contain error

"No repository for kminilte",

Please help, what i need to do?
[Galaxy S5 Mini Android Development] spookcity138:
My guess is that you either haven't edited the AndroidProducts.mk properly to reflect aex or the aosp_kminilte (originally lineage_kminilte.mk) properly. Both are in the device/samsung/kminilte directory.
[Galaxy S5 Mini Android Development] MrCreating:
Thanks, I'll try it and write you again :)
[Galaxy S5 Mini Android Development] MrCreating:
Really thanks! I can continue build! But, how to disable sdcardfs, like in your test build? (It works fine on lineageos)
[Galaxy S5 Mini Android Development] MrCreating:
Please help! I successfully compiled crDroid, flashed it, but after rebooting from the recovery, it stuck on bootlogo, but system is booting. Buttons and vibrations work, bootlogo change brightness, but only bootlogo. What may cause error and how can i get log, if it needed?
[Galaxy S5 Mini Android Development] milad9896:
Try to do factory reset from recovery. It solved my problem.
[Galaxy S5 Mini Android Development] MrCreating:
Thanks, but it not solved my problem :(
[Galaxy S5 Mini Android Development] Ti64CLi++:
Netflix isn't working on this ROM

I tried to install netflix on this ROM but with the la test version, a pop up appeared and told me my device wasn't supported when I use the same version on lineage os 14.1 and it worked fine.

So can someone try to install the latest version of netflix? Then he tells me if it worked?

Thanks in advance.

P.S: I tried an old version of netflix, the 4.13 ans it started but then i wasn't able to download anything because of a pop up telling 'This device does not meet the security requirements for the download feature. (OF.NA.4)'
[Galaxy S5 Mini Android Development] a-dead-trousers:
This sounds like netflix is trying to check if your device is without any unwanted modifications e.g. hacks to circumvent their DRM. Try using magisk or a similar software to "hide" your SELinux status.
[Galaxy S5 Mini Android Development] Ti64CLi++:
But it seems I can't install magisk on a custom ROM. I must install it before flashing a custom software, that's what the xda's tuto about magisk says.

So the question is, can I install Magisk even if I am on a custom ROM?
[Galaxy S5 Mini Android Development] MrCreating:
Dear spookcity! I uaing your build of LineagOS 16 (test build)! Camera can't connect. Can you help me?
[Galaxy S5 Mini Android Development] Tureilu:
Thanks

Thanks to [MENTION=5532636]mongo0[/MENTION] too! :good:
[Galaxy S5 Mini Android Development] 7wells:
Hello, I just clean flashed lineage-14.1-20170819-UNOFFICIAL-kminilte and also open_gapps-arm-7.1-stock-20200916 and encrypted the S5 mini (kminilte).

Now I would like to update to LOS 16.0, while preserving encryption. Is that possible?

Would I also have to flash the new OpenGApps (open_gapps-arm-9.0-stock-20200916) in order to preserve/update Google apps?

Thanks for your help!

PS: Because of insufficient system storage, I need to use a smaller OpenGApps, e.g. mini.
[Galaxy S5 Mini Android Development] Avraham Tsaban:
Dirty flashed - works

Dirty flashed it over previous version. Looks to be working good (but most changes look to be advanced, so I do not know how shuold this update actually affect my user experience...

Thank you both!
[Galaxy S5 Mini Android Development] 7wells:
[MENTION=7065337]spookcity138[/MENTION]

Would you be able to make encryption working on LOS 16.0 and 17.1? To my understanding, it has something to do with a wrong block size of the /data partition. Please see there:

https://gitlab.com/LineageOS/issues/android/-/issues/1027
[Galaxy S5 Mini Android Development] Tureilu:
https://xdaforums.com/showpost.php?p=80556823&postcount=520
[Galaxy S5 Mini Android Development] spookcity138:
I remember speaking with someone on GitHub a few months ago about this actually. I provided him with some info, but it never went any further.

Here's my main problem: My mini doesn't function long enough for me to do a lot of work or testing on it at this point. The display is shattered and it is just barely hanging on to life. I'm lucky if I'm able to test my builds for 5 minutes at this point.

That said, I will try to read/look more into this and see if something can be done
[Galaxy S5 Mini Android Development] 7wells:
[MENTION=7065337]spookcity138[/MENTION]

Thank you so much. I really appreciate it!

Over in another thread for LOS 16.0 & 17.1 for Google Nexus 4 (mako), developer [MENTION=3772648]voron00[/MENTION] replied to my similar question that the problem is not with the ROM but with TWRP. Maybe I misunderstood something, but I thought that the hint on GitLab meant that the ROM could take care for this. This said, voron00 confirmed that encryption works with his builds. My problem is that updates with TWRP do not seem to be possible if TWRP is the culprit.
[Galaxy S5 Mini Android Development] spookcity138:
Yes, again with me not really being able to test it is difficult. Perhaps [MENTION=5532636]mongo0[/MENTION] can chime in here. I will gladly help where I can.

Also, here the discussion I had in February in the comments for reference. Perhaps something can be done.

https://github.com/Spookcity/androi...mmit/f26134a1767586f2afa53ecf306714305bd0ca74
[Galaxy S5 Mini Android Development] 7wells:
@spookcity138

Is there a way to get SELinux working?

Unfortunately, I cannot use LOS 14.1 but need Android 9 (LOS 16) or even Android 10 (LOS 17.1) for the S5 mini.

@spookcity138

Have you (or somebody else) tried this tool after flashing LOS 16 to the S5 mini? Did it work? Is it even possible to "incorporate" that somehow into LOS 16 for the S5 mini? I know that you can barely use your S5 mini. But if you had the chance to check that tool and would like to share your experience, this would already help. Thank you so much.

PS:

https://source.android.com/security/selinux/validate

PS2 - Is this somehow of help?

https://github.com/MrBIMC/SELinuxModeChanger

---------- Post added at 15:00 ---------- Previous post was at 14:13 ----------

Hmm, when I read this from another thread, I fear that we will never get SELinux enforced, as long as these builds are unofficial. Correct?

Maybe the Magisk module "PetNoire's SafetyNet Spoofer" helps. It does not make SafetyNet pass, nor does it help enforcing SELinux, but it spoofes SafetyNet:

https://xdaforums.com/apps/magisk/universal-safetynet-fix-magisk-17-t3840680

Sorry to ask this likely dumb question:

Why can't this LOS build (or other unofficial LOS flavours) not become official, i.e. get rid of the test-keys?
[Galaxy S5 Mini Android Development] spookcity138:
About SELinux: audit2allow is a tool that comes with the sources when you build a rom. I have used it on my current device. While it is helpful to fix some SELinux issues it is not as simple as just running the script and copying the needed rules to the device tree and building an enforcing kernel. More needs to be done. It is also a tool that needs to be used before compiling the rom, not in an already completed and running rom.

About official: This rom is not official for 2 reasons.

1. SELinux is permissive

2. I just don't have the time or a properly working mini anymore to support an official release.

With my mini being in the state that it is I will not be able to fix much in the way of any of these in the future, sorry. I certainly will not be able to bring this device up to Android 10. I tried some when my device was functional and it proved a real pain. This is something I'm simply unable to do now without a properly working device.

So I'm afraid unless someone else takes over development these issues will remain. I will only sync LOS sources and build monthly updates.
[Galaxy S5 Mini Android Development] 7wells:
Thank you very much for your very helpful reply - I mean it earnestly, as I have learned again a lot. And I completely understand that you cannot do more. Actually, I very much appreciate what you do for the community in your free time. Again, thanks a lot! :thumbsup:
[Galaxy S5 Mini Android Development] TinFoilVeteran:
Does not work for me, throws error 7 on flash.
[Galaxy S5 Mini Android Development] spookcity138:
https://xdaforums.com/showthread.php?p=83263135

Just had to scroll up a little bit. Please always search the thread before asking questions or making statements like this. Many of these things have already been answered.
[Galaxy S5 Mini Android Development] TinFoilVeteran:
I really don't see anyone having commented on error 7, anyways, I fixed it by removing the assert portion of the install manifest. It works fine now.
[Galaxy S5 Mini Android Development] a-dead-trousers:
Here is one.:

https://xdaforums.com/showpost.php?p=80091107&postcount=460

Amongst many others:

https://xdaforums.com/search/thread/3868612?query=error 7
[Galaxy S5 Mini Android Development] 1Maxnet1:
Reboots while using the device

Hello together,

i experienced some reboots, after some minutes of using the device. Is there anyone else who got those reboots and what can I do to prevent them or investigate what causes them?

Best regards

Maxnet
[Galaxy S5 Mini Android Development] Tureilu:
To pass safetynet test you just need too turn off and on Magisk Hide in Magisk Settings after every boot.
[Galaxy S5 Mini Android Development] TinFoilVeteran:
Alright there is one post about error 7 & a fix on page 46, but I'm not gonna scroll through 34 pages that load at a snails pace.

I checked 8, maybe 12 pages before I posted, so that's why I didn't see it
[Galaxy S5 Mini Android Development] Avraham Tsaban:
New networking mior problem

I have dirty flashed the latest build and approved it To be working well.

Then, I have noticed a little problem:

Once I try To turn on my wifi/hotspot, it immediately turns of about a half of the times.

Anybody other noticed?
[Galaxy S5 Mini Android Development] SirRGB:
+1
[Galaxy S5 Mini Android Development] a-dead-trousers:
As there were some changes in the latest build concerning wifi & networking I would suppose that something is missing due to the dirty flashing.

Try to do clean flash and see if that helps.
[Galaxy S5 Mini Android Development] spookcity138:
If this is not related to dirty flashing (it may or may not be, Not sure) Then it is probably a permissions issue with WiFi as this was changed. I will try to have a look into the commits and see what is going on.
[Galaxy S5 Mini Android Development] SirRGB:
I dirty flashed and had no problems (except this wfi bluetooth glitch). I dont know what happened, but then it just blackscreened after booting and I couldnt get it working again (tried removing SD card/sim). Seems like the UI doesnt boot up, so I deleted the system partition and flashed LOS again with Bitgapps, still the same, but without Bitgapps Im stuck in the bootanimation. Any ideas?

Edit:

I dirty flashed CrDroid and everithing works now...
[Galaxy S5 Mini Android Development] bike-micha:
Connection lost to cellular network

Hi together,

first of all, thank you very much for supporting this good old phone with an up-to-date Lineage OS. I highly appreciate your work.

I moved from an old stock ROM to the latest build from September, performed a full wipe and flashed it with TWRP recovery.

Up to now, everything is working well except the connection to the cellular network.

Bug: After some time of operation, there is no longer a link for mobile data nor availability for calls or SMS. Icons in the status bar are still ok, showing an active link.

Switching to airplane mode and back to normal mode doesn't change anything. Wifi is still working.

Workaround: Performing a reboot of the device.

Did anybody else observed the same thing?

BR,

Michael
[Galaxy S5 Mini Android Development] Tureilu:
Had a similar problem.

look there and the following posts, perhaps it might help...

https://xdaforums.com/galaxy-s5-min...ageos-16-0-t3868612/post82613183#post82613183
[Galaxy S5 Mini Android Development] spookcity138:
Updated

Changelog

* Synced LOS sources
* Latest security patches (October 2020)
* Updated Simple Camera

Enjoy! :good:
[Galaxy S5 Mini Android Development] friscoboi:
Awesome!

Thank you so much!

Just today I arrived in the town where the friend lives with the S5 Mini I set up for her.

Will Update tomorrow!
[Galaxy S5 Mini Android Development] merlin133:
thank you for all the good rom - kminilte is alive

since the last two roms i found a little thing - before it was ok.

when the kminilte ist rebooted - with flightmode on and wlan is on

the wlan is after boot offline

the first "turn on" was wrong

the second "turn on" is ok

here is a log
[Galaxy S5 Mini Android Development] spookcity138:
Thanks for the log. There were a few changes to WiFi. Including permission changes. I'd really have to look at the changes closer.

I will try to look into this before next build.

It's just a bit difficult for me to test sometimes.

WiFi still works though, correct? I tested the build and it worked for me.

So it's only after a reboot you need to turn it on twice to get it working and then all is fine?
[Galaxy S5 Mini Android Development] MKKLR21:
Yes, so it is in my case.
[Galaxy S5 Mini Android Development] merlin133:
Yes its right

only after reboot - normaly/before wlan ist then auto-reconecting ;)

now - after two times - wlan is working perfect :good:
[Galaxy S5 Mini Android Development] 1Maxnet1:
Wifi not working reliable

Compared to the user upon me, my wifi is not working reliable. It searches for a long time and even restarting wifi or the hole phone is not a reliable workaround for that problem. I believe it was better, before the Wifi-Update, but I'm not sure. I would provide logs, if someone tells em how to do that.

Regards Maxnet
[Galaxy S5 Mini Android Development] SethGeckoXDA:
Here is how to provide a log. Make sure to catch the log right after something unusual happens, otherwise the erroneous messages are hard to find.
[Galaxy S5 Mini Android Development] LineageOSDefaultTinkerer:
Error 1001 / Error 7 on TWRP (kminilte)

Hi all

So I got myself for a few bucks this shiny almost new kminilte. It's not the first time I have flashed LOS on Samsung Galaxy devices, so I am a bit familiar with the tools and the pitfalls.

What I did (just a quick summary, I also reflashed the standard ROM just to make sure I didn't brick the device...)

I downloaded and installed the latest TWRP,

fetched the 20201015 version of the LOS 16.0 image,

pushed it on a SD card,

wiped Data, System, Casche, Dalvirt,

initiated the install of the LOS zip, and got a message along the following lines:

... installing unconditionally...

mkdir /some/temporarypath/some_lengthy_hex_number/ ... failed to create.

Error 1001 / Error 7

End of story - aborted.

I even tried with 14.1 and 15.0 unofficial versions of LOS, same story.

I even formatted the data, but then TWRP wouldn't load properly. It would react to haptic inputs, but the screen would stay completely dark.

So, once more, I just flashed again the latest 6.0.1 stock ROM, will install again TWRP 3.4.0.0, but that's pretty much how far I can get now.

Do I need to amend the updater-script in some way? But how?

Thank you all in advance for your advice!

LOS DT

**** UPDATE - SOLUTION FOUND *****

While I was writing down this request, I remembered that even TWRP could behave erratically.

As a matter of fact, I used now the second-latest version, i.e. 3.3.1.0, and it worked like a charm!

So beware, all of you fellow tinkerers ;)
[Galaxy S5 Mini Android Development] spookcity138:
OK,I had a little time to look into this. It is actually not an issue. By default WiFi just doesn't turn back on automatically anymore. It is a simple fix. Go to settings>Network and Internet>WiFi>Wi-Fi Preferences and check turn on WIFi automatically. Then this is solved. I will probably be leaving this as is as it is a simple solution if you wish to have it turned on at boot
[Galaxy S5 Mini Android Development] spookcity138:
Updated

Changelog

* Synced LOS sources
* Latest security patches (November 2020)

Enjoy! :good:
[Galaxy S5 Mini Android Development] Tureilu:
How to create a log you can find in this post:

https://xdaforums.com/showpost.php?p=83821945&postcount=813

My WIFI works great as long as the signal is not to weak. Otherwise it is loosing connection some times.