yashsingh1/xdaforums huggingface dataset:
[Galaxy S5 Mini Android Development] spookcity138:
Honestly I have no idea. I no longer have it. Perhaps someone has this that they can share? I guess I could build again if not, but this will not be anytime real soon.

On the subject of the 1.5 overclock not working. I was thinking about this and it is even more strange as it's actually already within the kernel code. Samsung just has it commented it out for whatever reason. So there really should be no reason for it not to work, but who knows.
[Galaxy S5 Mini Android Development] tarux!:
Hello,

Hello,

is this ROM compatible with android auto, have anybody here to connected it with android auto ?

thank
[Galaxy S5 Mini Android Development] GasLoop:
I did. So here's the log after triggering the bug report: https://pastebin.com/jsJiJkPh

And here's after the crash: https://pastebin.com/qHLc0Kc3

Also, I found an interesting bug. So, I'm trying to run this phone as a WiFi repeater, but no matter which app I try to use, whether it be with root or not, it doesn't work. Interestingly no app shows an error but instead just fails. So I'm guessing it might be related to the system. Would you like to have logs of that, too?

Thanks!
[Galaxy S5 Mini Android Development] spookcity138:
Just had a quick look at your logs on my phone. I think I see what's happening. Not really sure why though right now. Perhaps a kernel issue. I'll have a better look when I'm at a computer. No promises I can get this resolved though as I really lack the time right now and I'm also working on another device.

You can certainly share logs of your other issue. Same thing applies though. I will do my best when time permits.
[Galaxy S5 Mini Android Development] GasLoop:
Don't worry, I'm not daily driving the device anyway so it's just toying around. If had some coding knowledge, I'd offer my help, just for the sake of keeping this device alive. Anyway thank you for your work, it's already a miracle that this thing came all the way up to Android 9.
[Galaxy S5 Mini Android Development] Tureilu:
Magisk-SafetyNet-Status

Since I have installed Magisk 20.4 there is no need anymore to Switch ON/OFF Magiskhide to pass the SafetyNet-Statustest.

Unfortunatly it is still not working without....
[Galaxy S5 Mini Android Development] a-dead-trousers:
Nope. My setup still needs this workaround.

Here is the corresponding Magisk-Bug which concludes they won't fix it.

https://github.com/topjohnwu/Magisk/issues/1654

Also the creator of magisk posted some time ago that google/safetynet closed a major loophole which he used to bypass the checks. So in future builds magiskHide is default toggled off.

https://github.com/topjohnwu/Magisk/commit/612b51d48f9771a65cfab045f931573f42d3a494
[Galaxy S5 Mini Android Development] XDAFresh:
Thank you! but unfortunately the wifi still turns off during standby.
[Galaxy S5 Mini Android Development] Tureilu:
Sorry to hear. The problem returned to me too, after some time.

I tried this "trick" with Macrodroid:

Trigger: WLAN-Connection lost

Action: Turn WLAN off, Turn WLAN On

Condition: Screen off

I can see the Action is triggered sometimes, so it works. Unfortunatly Macrodroid is not always relieable on my device, too...
[Galaxy S5 Mini Android Development] XDAFresh:
[MENTION=7065337]spookcity138[/MENTION] is there any chance we are going to see 17.1 on the device? and if not do you have any good tutorials how to port the rom?
[Galaxy S5 Mini Android Development] spookcity138:
Super annoyingly,I spent a good deal of time just getting to where I could get to the boot animation in LOS 17.1. Then the hard drive that I had the sources on decided it was going to break on me. I lost everything and very stupidly I didn't push any of my changes to git. I have messed with it some since,but have had no luck in getting to where I was before. The changes in Android 10s init process has made this difficult. I will try some more,but my time is limited right now and I also have a new device that I am working on.

Also,even if I am ever able to get to that point again,there is no telling what will work. Each new Android version requires more and more hacks to get things working and as seen in this ROM things like NFC no longer work at all. So there is just no telling what may be broken in Android 10.

So short answer: I will try if I have the time and see where I can get with it.
[Galaxy S5 Mini Android Development] hederer:
phone freezes

Hi there! Thanks to all developers out there!

I used Version 14.1 because since v15 and this v16 too, the phone freezes after getting called and taking the call out from an APP. After the call there is a frozen screen with time (working) and a half coloured screen. Colour depending in battery vor loading status.

I have to reboot then to use the phone again.

Some ideas?
[Galaxy S5 Mini Android Development] a-dead-trousers:
That sounds like the old "Flip-Cover" problem mentioned here in this thread and the one for 14.1 quite frequently. Just search for it.
[Galaxy S5 Mini Android Development] hederer:
Can I solve this problem in 16.0 for my own!? :confused:
[Galaxy S5 Mini Android Development] a-dead-trousers:
AFAIK yes. Just search for Flip-Cover.
[Galaxy S5 Mini Android Development] spookcity138:
Yes, the application name is FlipFlap. I've read on here that it can be disabled somewhere within settings, but I've never found it. So you have a couple of options.

Uninstall or freeze the app with an application that allows this or delete the FlipFlap directory in system/priv-app with a root file manager or via TWRP.

I would just stop building FlipFlap as this really seems to be a recurring issue with people, but I have to assume that some use it? I do not.
[Galaxy S5 Mini Android Development] hederer:
Okay. thanks a lot for your very fast help.

I can't find any app like flipflap or similar in the apps (neither in running system nore over twrp).

but now I found in SETTINGS -> CONNECTED DEVICES -> CONNECTION SETTINGS "BLUETOOTH" (for whatever reason there because i don't use bluetooth) -> SMART COVER -> TURN OFF

and will try it now. Hope it works. :cyclops:
[Galaxy S5 Mini Android Development] spookcity138:
Ahh, so that's where that setting is located. Good to know. Disabling it should solve your issue. It sounds very familiar.

I instantly remove FlipFlap after I flash the ROM, so I only know from others reports what issues it causes.
[Galaxy S5 Mini Android Development] hederer:
OMG! After disabling the flip cover setting my screen pattern lock doesnt work. can't run the phone any more.

After drawing my patter i get a black screen and i have to draw the pattern again and again.

WAAAAHHH!!!! :crying:

Phew..... deleted pattern settings with twrp (data/system ... everything with "pattern") and can run the phone again.

Not sure to try pattern security once again! XD

Tried it! Registered my pattern again and it worked: I can use it again. Weird. :eek:
[Galaxy S5 Mini Android Development] spookcity138:
Wow, really strange. I'm glad you got it sorted though. What a weird thing. I have no idea why disabling the flip cover would cause that... But strange things happen I guess.
[Galaxy S5 Mini Android Development] s5minimalist:
Any QR scanner bugs known?

Hi there, and thanks again for the magnificent work!

I'm experiencing troubles scanning QR Codes in some apps. Any problems known on that front? I've already updated the ROM to the latest version and tried fiddling around with some camera related build.props, but to no avail thus far. Thought it could have something to do with Camera2Api, I've read there's something like a know QR scanner bug in Pie ROMs on other devices.

First thing I noticed when I came about the problem was that "Barcode Scanner" from F-Droid doesn't semm to work with this ROM, while "SecScanQR" does. Barcode Scanner never quite seems to recognise the QR code, refocusing all the time...

Any hints? Thanks!

Edit: This seems to be the culprit:

https://github.com/Fr4gorSoftware/SecScanQR/issues/141

https://github.com/microg/android_packages_apps_GmsCore/issues/670

I'm on the Standard Build right now. Would it make sense to try out the MicroG build? And can this be done without wiping/resetting?
[Galaxy S5 Mini Android Development] spookcity138:
That's interesting. I did not know this. As far as a dirty flash from standard build to microG, I'm honestly not real sure how that would work out. You can always try. Just back stuff up first just in case. Always a good idea as you just never know.
[Galaxy S5 Mini Android Development] Ripdev:
Hi,

I have followed the steps and it works pretty well.

However i have some issues:

1. Mobile network is not detecting unless i switch on then off Airplane mode

2. The STK is not working when you use online banking and other isp services.
[Galaxy S5 Mini Android Development] s5minimalist:
Flash to the MicroG-Version did neither harm nor help. But I think this were the way to go, looks like it is being worked on:

https://github.com/microg/android_packages_apps_GmsCore/issues/670

Cheers
[Galaxy S5 Mini Android Development] spookcity138:
Updated

Note: I have been fairly busy lately and have not really had the time to look into any issues for awhile now. Hopefully this will change sometime soon. That said [MENTION=5532636]mongo0[/MENTION] has been the only one really working on this device. He deserves much credit and thanks.

* Synced LOS sources
* Latest security patches (April 2020)
* Merged latest lineageos/hardware/samsung sources into our hardware/samsung repo
* Added some graphics flags to our BoardConfig.mk (TARGET_USES_GRALLOC1,USE_OPENGL_RENDERER) Perhaps a little increase in stabilty (Credit and thanks to [MENTION=5532636]mongo0[/MENTION])
* Switched to hwbinder for graphics allocator (Credit and thanks to [MENTION=5532636]mongo0[/MENTION])
* Adjusted fingerprint permission and daemon (Credit and thanks to [MENTION=5532636]mongo0[/MENTION])

Enjoy! :good:
[Galaxy S5 Mini Android Development] Panzerknakker:
Thanks Spook,

* Merged latest lineageos/hardware/samsung sources into our hardware/samsung repo

Could you update your git /hardware/samsung repo, too, please?

Had to patch your last change to /frameworks/av, to get it compiled, could you check if this is the right way?

diff --git a/media/libstagefright/SurfaceMediaSource.cpp b/media/libstagefright/SurfaceMediaSource.cpp
index b5f5eb244..08fc2ce74 100644
--- a/media/libstagefright/SurfaceMediaSource.cpp
+++ b/media/libstagefright/SurfaceMediaSource.cpp
@@ -265,7 +265,7 @@ sp<MetaData> SurfaceMediaSource::getFormat()
// | kMetadataBufferTypeGrallocSource | sizeof(buffer_handle_t) |
// --------------------------------------------------------------
// Note: Call only when you have the lock
-static void passMetadataBuffer(MediaBuffer **buffer,
+static void passMetadataBuffer(MediaBufferBase **buffer,
buffer_handle_t bufferHandle) {
*buffer = new MediaBuffer(4 + sizeof(buffer_handle_t));
char *data = (char *)(*buffer)->data();
[Galaxy S5 Mini Android Development] spookcity138:
Yes,I will push as soon as I'm back on my laptop.

This error is due to a patch that I added.

https://github.com/Spookcity/androi...mmit/045ae8f3dd898cb69dc8a74e0144ab367d15abc4

This patch can be deleted. It didn't have the desired effect anyway. I will also do this and update my sources soon.

Ok,I was able to get to my laptop quickly [emoji3]

Done. Sorry about that.
[Galaxy S5 Mini Android Development] hederer:
Video recording failed on every app

footej camera works fine!
[Galaxy S5 Mini Android Development] spookcity138:
Yes, this is the only camera that I've found to work for video recording. The camera is just a bit of a mess honestly and I don't really see that changing, so yeah I use and recommend footej as well.
[Galaxy S5 Mini Android Development] 2faraway2:
Is there any chance to fix the camera issue in a few releases ?

This and the missing encryption a the main reasons why I'm still on LOS 14.

Anyway, the rest is working really good as far a I could test, thanks a lot for your hard work for such an old device .. :):):)
[Galaxy S5 Mini Android Development] spookcity138:
Unlikely the camera will ever work better than it does right now. Footej seems to work OK though.

I'm not really sure what's wrong with encryption. I thought I remember reading in this thread that it worked,but under certain circumstances. Could be wrong. Perhaps do a search.

Maybe I'll find some time to look into the encryption issue at some point. Although my last attempt yielded no progress.
[Galaxy S5 Mini Android Development] 2faraway2:
Thanks a lot in advance :)

I had no success with the encryption part, I had no idea which is the right recovery for that (used to lastest one -3.3.1- to format /data ) ..

But especially the MicroG part of the last build works pretty good ! With a working cam I would switch to your build immediately.

My main goal is to use the phone as webcam, but all webcam apps i tried record the video, but the video is corrupted (can't be viewed by an app, eg VLC ..)
[Galaxy S5 Mini Android Development] spookcity138:
Yeah, I can imagine that wouldn't work well. The video recording thing is just a real pain honestly. I've spent a fair bit of time looking into it in the past and I know [MENTION=5532636]mongo0[/MENTION] also has.

Just not an easy thing to fix sadly.
[Galaxy S5 Mini Android Development] mongo0:
yep I tried many different approaches fixing the camera, with no success after all. Thanks for mentioning it anyway, Spook ;)

I think the problem lies with video buffering not the camera itself. Footej is working because its accessing the camera directly with jni lib (See:https://www.sisik.eu/blog/android/ndk/camera).

Probably a more sophisticated approach is necessary to get it to work, like what you see here: (https://github.com/rINanDO/android_hardware_samsung/commit/69a19afee8ef05a213f6751eb95cf7a3c910d869)

not entirely sure about all of that though...
[Galaxy S5 Mini Android Development] hederer:
Second photo&video app found...

Hi there once again.

I had a little try-out night and found a camera APP Called "snap camera".

Great pictures and handling.

When set it in "other settings" to "use camera2-api" or "legacy mode" and video size 720 the video capture is just fine and very smooth.

BUT.... Videos a bit stretched then! O.o

Maybe this is a way to solution or contacting app developers? hmm...

Greetings from bavaria
[Galaxy S5 Mini Android Development] 2faraway2:
Don't know if it helps, but on the latests builds of LineageOS 14.1 (by hennymcc / panzerknacker) the cam is working without any prob .. maybe there's a way to 'copy' the code from that device-tree ? :confused::confused:
[Galaxy S5 Mini Android Development] spookcity138:
If it were only that simple. Sadly it is not. Lots of things have changed between the different Android versions.
[Galaxy S5 Mini Android Development] KannebTo:
Hi,

there is another great app called "FreeDcam".

In this app you can also switch to the camera2-API.

Video recording works in 480p.

Sadly i had no success with higher resolutions.
[Galaxy S5 Mini Android Development] 2faraway2:
Well, that was just a 'nice try' by myself ... ;)

I'm totally thankful for your hard work that you do for the community :good:
[Galaxy S5 Mini Android Development] spookcity138:
Hey, it was worth a shot. Sometimes the simpler more obvious ideas get overlooked.

Thanks for the kind words. I appreciate it [emoji106]
[Galaxy S5 Mini Android Development] ivar418:
i searched the thread, nothing found on f2fs. is f2fs data and or system and or cache f2fs fs supported?

thanks!
[Galaxy S5 Mini Android Development] spookcity138:
I'll be honest I've not messed with this in awhile. I've also not really used my mini in a bit, but I can just say that f2fs is set in our fstab for data and cache. Whether it works or not I'll have to let someone else chime in.
[Galaxy S5 Mini Android Development] ivar418:
Yes thank you. I tested a while but it didn't boot on f2fs because it won't boot if I choose to install twrp app. I've also tried to install a patched playstore for license verification, but it looks like any modifications to the system partition render the device unable to boot. Could u please look into that?

---------- Post added at 08:20 AM ---------- Previous post was at 08:18 AM ----------

Here's what I'm trying to use.

https://shadow53.com/android/downloads/microg/

Thank you
[Galaxy S5 Mini Android Development] spookcity138:
I will try to look into this if I have the time :good:

I am not fully sure what you are trying to do with this link honestly. Maybe I just didn't look at it well,but why not just use the microG version of this ROM that I have provided? Or is it all about the patched Playstore as opposed to using the Faksetore provided? Maybe I am still half asleep and missed something :D
[Galaxy S5 Mini Android Development] ivar418:
I need a playstore because Franco kernel manager doesnt work. It doesn't verify its license since I did buy it thru play store

PS I am using microg build
[Galaxy S5 Mini Android Development] spookcity138:
Ok, gotcha. And I suppose manually copying the included files from the play store zip and perhaps deleting the fake store is not a possibility?

I'm not sure why flashing that zip would cause problems.

When I have the time and I'm on my mini again I'll try it out and see if I can tell what's going on.
[Galaxy S5 Mini Android Development] ivar418:
i dont know why it causes problems. but ive noticed that as soon as i install twrp app via recovery( wich instals it to system partition) it also wont boot. il try to get u a boot log. im not "komfortabel" with moving those items to the wanted place, because the zip also removes some pre installed microg installed stuff that cant co exist (if i read correctly)
[Galaxy S5 Mini Android Development] 77l3r:
Actually not working, after flash the first boot take like 5 min so everything is fine and it boot to twrp after that. I don't even know what to do it's for SM-G800F But not working it doesn't make sense. I need help, please I really want this rom cause lineageos is the best rom ever that really faster and stable I really like it because it's not working I'm forced to stay on Lineageos 15.

Thanks in advance.
[Galaxy S5 Mini Android Development] spookcity138:
Understood,I will try to look onto this when I have the time.

Hmm.perhaps a Gapps issue? Are you installing the TWRP app after flashing? If so,dont! Are you performing a clean install when coming from LOS 15? If not,you need to.
[Galaxy S5 Mini Android Development] mongo0:
Try nanodroid. you can fine tune the installation with a file (.nanodroid-setup) and just install install the playstore from there. (you might still need to manually delete the Fakestore if you're using the microG build)
[Galaxy S5 Mini Android Development] 77l3r:
Thanks but now its worst cause every 8 second screen get stuck for 5 second it mean thqt when i press A it show àâ.. For 5 second even if i release the phone help me plz
[Galaxy S5 Mini Android Development] spookcity138:
I'm really sorry, but there's not a whole lot I can suggest as I have no idea what's causing this problem for you. I always test my builds and no one else has mentioned any issues like this.

Do a clean flash without Gapps and try. Idk what else to suggest at this point.
[Galaxy S5 Mini Android Development] 77l3r:
I didn't wanted to send this sorry.
[Galaxy S5 Mini Android Development] 77l3r:
Some people told me that it was a kernel issues like, it downloaded the wrong kernel or idk. I've seen the same problem here.

https://xdaforums.com/galaxy-s6-edge/help/samsung-s6-edge-touchscreen-slow-to-t3097373

Alright here too.

https://xdaforums.com/oneplus-2/help/touch-screen-response-delay-flashing-to-t3687822
[Galaxy S5 Mini Android Development] spookcity138:
Are you flashing a separate kernel after flashing the ROM? if so,dont. If not then I'm really am at a loss. No one else has reported this problem to me and it worked without issue for me as well.
[Galaxy S5 Mini Android Development] 77l3r:
I'm not flashing a different kernel, do you have a suggestion of wich Firmware should I install on my phone? Cause it can be the firmware that cause this issue if yes please send me a link, thanks a lot for helping me until now! [emoji1]

I'm still trying to get the good firmware for my phone but i don't find any one without this problem it do the same with CrDroid I only have this problem with Rom based on Lineageos 16 the other like 15.0 or 14.2 or less are working.

Model:

SM-G800F

Android version:

5.1.1

Android security patch level:

2016-05-01

Baseband version:

G800FXXU1BPC3

Kernel version:

3.4.39-5886751

dpi@SWHD4009 #1

Thu May 19 19:12:42 KST 2016

Build Number:

LMY47X.G800FXXU1BPE3

KNOX version:

KNOX 2.4.1

Standard SDK 5.4.1

Premium SDK 2.4.1

Customization SDK 2.5.0

Container 2.4.1

CEP 2.0.1

Enterprise Billing 1.2.0

OTP 1.1.1

SE for Android 2.3.0

SSO 2.4.1

TIMA 3.0

VPN 2.2.2

IMEI:

####################

Is this one good?

https://samfrew.com/download/GALAXY__S5__mini__/288t/DBT/G800FXXU1CRG3/G800FDBT1CRE1/

Thanks.
[Galaxy S5 Mini Android Development] spookcity138:
Hey, no problem. I'm always glad to try and help. I do not think your problem is with firmware. This should not be causing your issues. I wish I could help more, but I just really don't know, sorry. Perhaps someone else has an some ideas?

Also, please edit and remove your IMEI from your previous post. I removed it from my post quote.

Edit:

Actually looking at your post again I see that you are running Android 5. This maybe is causing problems for you. Flash the Android 6 firmware you linked in your previous post and it may help.
[Galaxy S5 Mini Android Development] 77l3r:
This is maybe a battery issues cause she is a little bit swollen and broken.

I'm also gonna try Android 6 firmware from Angola cause it's apparently the best.
[Galaxy S5 Mini Android Development] Tuxman81:
Hello,

I found a working camera for my installation,

(No root, no gapps, pure installation)

No need to change the camera2 - api...

Running out of the box!

F-droid-store... SIMPLE-CAMERA

Other apps, like opencamera, or the other sugestions got stuck, when stopping the video capture...

Cheers guys and thanks for the good work on os16
[Galaxy S5 Mini Android Development] spookcity138:
Updated

Changelog

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

Enjoy! :good:
[Galaxy S5 Mini Android Development] aelfinn:
[MENTION=7065337]spookcity138[/MENTION]:

Since [MENTION=5532636]mongo0[/MENTION] seems to have succeeded in fixing NFC in his crDroid build, could you port that to your ROM?
[Galaxy S5 Mini Android Development] spookcity138:
Well, I did accept a pull request from him for this and we discussed it some. I was under the impression that it actually wasn't working, so I reverted it. If it is indeed working I will certainly include it in next months build.

It actually is enabled in the microG build as I forgot to revert it
[Galaxy S5 Mini Android Development] mongo0:
I'm sorry, I didn't believe it would be running stable enough to re-enable for all users here. I had some problems after reboots, android beam wasn't working, and I felt that battery depleted faster...

I can push a commit to re-enable it if you haven't done so yet...I'd also have some more commits on the road to video recording that can be merged (but still not enough though)
[Galaxy S5 Mini Android Development] spookcity138:
I haven't re-enabled nfc yet on the standard build, but I'll just revert the reverted commit I suppose.

NFC is enabled on my microG build. I don't use this device often anymore, but that's the version I use when I do, so I'll try to keep an eye on battery life and such with it enabled.

Glad to hear you're still working on video recording. As always, BIG thanks for all of your work on the device!