yashsingh1/xdaforums huggingface dataset:
[Galaxy S5 Mini Android Development] mongo0:
great, I will also make my next build with enabled nfc.. I'm still using a non-original battery with more capacity but which lacks the nfc antenna or whatever it is.

I'm still trying to find a solution when I find time. I have some Ideas left, like fully implementing something like this:

jf-common

I already tired with a custom service for camera ("android.hardware.camera.provider@2.4-impl.kminilte") but maybe custom device , like camera.device@1.0-impl.jf is also necessary, or I messed up ... :)

These props are probably required too:

debug.stagefright.omx_default_rank.sw-audio=1
debug.stagefright.omx_default_rank=0
debug.stagefright.ccodec=0
[Galaxy S5 Mini Android Development] polaxis:
Thank you very much for maintaining this device.

All the versions of your releases worked very fine except one peculiar issue.

Even with all apps closed, the device randomly starts to warm up use up the battery in no time. Only one or several restarts will fix the issue.

Has anybody else experienced this issue? What could I provide to help you get more insight?
[Galaxy S5 Mini Android Development] spookcity138:
Only thing I can think of that might cause this is if you try to record a video with the stock camera app (and a few others) it will fail, but the mediaserver will kill your battery pretty quickly as it continues to run. So a reboot or killing the mediaserver is the only solution there.

Nothing else I can really think of off hand, sorry
[Galaxy S5 Mini Android Development] mongo0:
I had horrible battery drain because I forgot to re-install magisk after an upgrade and there were still some files left in boot or adb partition.

I suggest flashing the magisk-uninstaller.zip just to be sure...
[Galaxy S5 Mini Android Development] bobrobsom:
Spot on for me I believe, I installed this ROM a few days ago and tried to record video and later experienced hugh battery drain (full to 0% in 1 1/2 hour). I then installed another ROM and have not had any issue with battery power.
[Galaxy S5 Mini Android Development] gramouk:
Hi, I have been trying to root my phone for hours to no avail.

SuperuserSU does the binary update thing. Tried with previous version and it update fails.

Tried checking root with other programs, it is not rooted.

Flashed the addonsu-16.0-arm-signed.zip via latest twrp....

Can anyone help me please, I'm loosing it
[Galaxy S5 Mini Android Development] spookcity138:
Umm, use Magisk. This has been the best choice for root for some time now.

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
[Galaxy S5 Mini Android Development] gramouk:
Thanks man, worked like a treat. SuperSU does't for this ROM for me at least. :good::good::good:
[Galaxy S5 Mini Android Development] spookcity138:
That's because SuperSu has long since gone bye bye AFAIK.
[Galaxy S5 Mini Android Development] Tureilu:
Mobil Connection Issues (perhaps others too)

Hi there,

I had some issues with my mobile connection lately and after some research I found out my System/Modem and Bootloader were out of Date (Version ended with ANL1 instead of CRG3, which is the actual version)

After an update my mobil-connection was found nearly immediate after entering the SIM-Card-Number.

Perhaps a firmware-update is a possible solution to some other problems posted here too.

1. Find out your Firmware/Modem Version

I used phone INFO Samsung from the google App store. It shows the infos and actual Stock ROM with the correct CSC-Number for your phone.

You can download it with the app (a user-account is needed) or find it in the net (I used the second link).

https://play.google.com/store/apps/details?id=org.vndnguyen.phoneinfo&hl=de

https://www.samsungupdated.com/samsung-firmware/?s_page=device&id=SM-G800F&details=Galaxy+S5+Mini

2. Backup with TWRP, copied intern storage to my PC

3. Removed SIM and SD-Card

4. Flashed the latest Firmware found with correct CSC-Number with ODIN (3.12.4)

Reboot took some time, Android LOGO, LED flashing blue.

Turn off device

5. Flash TWRP with ODIN, switch off device, insert SD-Card, Boot to TWRP

6. TWRP: WIPE everything except SD-Card and Internal Storage

Install Lineage OS, GApps, MAGISK (you can add all of them)

Recover Internal Storage from PC

Restore TWRP Backup (Step 2)

Wipe Cache and Davlik, Switch off Device, insert SIM-Card

After boot everything was as it has been before, but my phone connected mobile I had an actual Modem with the newest Version Number (Phone Info App-check).
[Galaxy S5 Mini Android Development] bierma32:
Too much steps.

You need only to update the Bootloader and Modem.

Download multiple Firmware

Boot into Download mode

Connect to Odin

Select Bootloader and Modem from the downloaded Firmware. / start Flash with Odin

Reboot your Phone into Download mode and flash Modem a second time ,

Reboot your phone and chech the Baseband Version ( Modem )

All done.
[Galaxy S5 Mini Android Development] Unkyy:
Hello,

Very nice rom, all working for me good, but is there any fix to get working recording with original camera? Or when i take photo in Messenger or FB it will crash, thanks for answers. :(

*Sorry for my bad eng.
[Galaxy S5 Mini Android Development] spookcity138:
No fix for video recording with stock camera app. Footej works and someone recently posted another one that works. You can search the thread. Was recently.

As far as taking photos crashing messenger and Facebook. Yeah, not fully sure why other then the fact that our camera is just a bit of a mess on any Android version after 7
[Galaxy S5 Mini Android Development] a-dead-trousers:
[MENTION=9938146]Tureilu[/MENTION]

Thanks for posting the tutorial. For clarification this should be considered only as a means for last resort.

If you only want to switch to the latest baseband this can be accomplished quite a bit faster:

Baseband info can be found in "Settings->About phone->Android version"

The most recent baseband can be downloaded from https://xdaforums.com/galaxy-s5-mini/general/baseband-sm-g800f-t3354355

Don't get scared by the end-of-life notice. It's just because samsung stopped their support and therefore there won't be any updates anymore.

Just flash the baseband alone either from TWRP or using ODIN and you are good.

BUT

Your tutorial is not a complete waste of time, because sometimes you REALLY NEED to do all these tedious steps.

Some vendors include special scripts in their firmware packages which are sometims essential to have for lineage to work properly.

For instance (as far as I can remember): A couple of years ago some users had problems with their data connection. It was quite a mess until one member of the original modding team found out that the filesystem of the baseband image changed at some point. So everyone who switched from the latest Stock-ROM to Cyanogenmod had no problems whatsoever but all others who switched from an earlier Stock-ROM had this particular problem because in the vendor firmware packages this change was included for quite some time.
[Galaxy S5 Mini Android Development] mocarela:
Which Footej Camera does work? Normal or 2? And which version?
[Galaxy S5 Mini Android Development] spookcity138:
I'm gonna have to let someone else answer this as I've not really used my mini in sometime. I just know some months ago some version of footej was working OK. There has also been a post recently about another camera app that works. Do a search and you'll find it. Good luck!
[Galaxy S5 Mini Android Development] polaxis:
My guess would have been too, that it is camera related. I think the issue mainly came when starting Web-Whatsapp -> here you use the camera to read the QR-Code.

Issue certainly still persists from time to time with the most current build.
[Galaxy S5 Mini Android Development] Tureilu:
I guess the best working cam was found by [MENTION=10755877]Tuxman81[/MENTION]:

https://xdaforums.com/showpost.php?p=82405227&postcount=695

Simple-Camera from F-Droid-Store

No freezes, Video Record Working...

Tried OpenCamera and Footej. They have more functions but video recording is hardly possible and they froze many times, so I had to restart the phone to make them work again.
[Galaxy S5 Mini Android Development] spookcity138:
Thank you. If I remember I will add this info to the main post next time I updated the ROM.
[Galaxy S5 Mini Android Development] aelfinn:
Or you could add that app to the ROM?
[Galaxy S5 Mini Android Development] spookcity138:
Hey, very good idea! I'll try and see if it works out when the June security patch is merged

Edit:

Could someone who has used this camera let me know.... Is this it?

https://f-droid.org/en/packages/com.simplemobiletools.camera/

Edit II:

And also, assuming it works out with adding the other camera app. Do you guys want me to keep snap cam included in the ROM or no?
[Galaxy S5 Mini Android Development] Tureilu:
Yes, it's the right one. :good:

I think the simple cam is only able to take 4:3 Photos. The snap cam has more settings. But I don't know if it makes a difference with this hardware.
[Galaxy S5 Mini Android Development] spookcity138:
Thank you. Yeah I'll probably just keep snap cam in after thinking about it. Doesn't really hurt anything as I see it. Unless enough ppl are opposed for some reason.
[Galaxy S5 Mini Android Development] Roadstorm:
Just downloaded simple camera and everything working.
[Galaxy S5 Mini Android Development] lorn10:
This is really a great work spookcity138. :good: Thanks for all your efforts regarding this awesome LineageOS 16.0 build! :)

The only thing which I am missing is the broken NFC function. Can someone confirm that the S5 mini uses the Samsung S3FWRN5 NFC chip? According to my docs it should use this NFC controller with NFC ROM version "sec_s3fwrn5_firmware V1.1.9".

For comparison, the Galaxy Note 4 phone models uses that same Samsung NFC solution but their chip contains a newer NFC ROM "sec_s3fwrn5_firmware V1.2.4". Interestingly, the LineageOS 16.0 builds for the Note 4 are supporting the NFC function. (Source: https://xdaforums.com/note-4/development/exynos-lineageos-15-1-beta-t3937956)

So the cause of the broken NFC function in that LineageOS 16.0 build here may be due to the different S3FWRN5 NFC chip ROM version or the Android Kernel.
[Galaxy S5 Mini Android Development] spookcity138:
Thanks to the work by [MENTION=5532636]mongo0[/MENTION] NFC will be built and enabled on the next release. I think it works OK, but have not tested. It is probably the best it will ever work in any case.
[Galaxy S5 Mini Android Development] gramouk:
Hi, after a week with los16 my phone keeps crashing and shutting down after a couple of minutes.... any idea? And battery life is about 4 hours... lame
[Galaxy S5 Mini Android Development] spookcity138:
Well, seems to work just fine for others. Also, not much I can do with the little info you provided, sorry.

Provide a log or something if you expect me to even attempt to look into this.
[Galaxy S5 Mini Android Development] mongo0:
yes this is the the chip (S3FWRN5).

Maybe you can provide a link for firmware v. 1.2.4 ? although the note 4 has a different chipset.

There is also the file 'sec_s3fwrn5_rfreg.bin' which is probably needed but if I set the correct path, nfc stopped working.
[Galaxy S5 Mini Android Development] lorn10:
Hi mongo0, at first, many thanks also to you for your GREAT efforts regarding this really nice LineageOS 16 build. :good:

NFC firmware update files are unfortunately hard to find. Usually these are not shipped separately. These are near always part of a regular stock ROM update. Our Samsung S5 Mini G800F/M/Y strangely

never ever

get any newer NFC firmware version.

The other S5 Mini models (with different SoC), like the G800A, get with Lollipop 5.1.1 also a newer NFC firmware V1.2.4 (original firmware was V1.1.9). However, because the G800A is so rare (in Europe and elsewhere other except the US), I was not able to find a stock ROM.

But I was able to locate some stock ROM images for the Samsung Galaxy E7. They were originally at NFC firmware V1.2.3 but get later version V1.2.4. https://www.theandroidsoul.com/galaxy-e7-stock-firmware/amp/#jump-model-no-sm-e700f

The Samsung Galaxy Alpha seem the better NFC source for our phone. It has the S3FWRN5 NFC chip with firmware V1.1.14. So this means that the corresponding bin file belongs to the V.1.1.x branch. That one may be more compliant to ours S3FWRN5 firmware V1.1.9 than the mentioned file of the Samsung Galaxy E7.

A LineageOS build with working NFC is avaiable here:

https://xdaforums.com/gal...icial-t3530994

So this is what I can say. Maybe it is possible to get LineageOS 16 to work also with an older NFC firmware. I would look at other S3FWRN5 NFC based LineageOS 16 phone builds and check how they get it worked. ;)
[Galaxy S5 Mini Android Development] mongo0:
thanks, I've been trying to contribute something to this projeect :)

I also had the same idea, but afaik this chip was not widely used (s4 mini?) and all these devices never made it to lineage 16....
[Galaxy S5 Mini Android Development] lorn10:
[MENTION=5532636]mongo0[/MENTION]

It seems that the sec_s3fwrn5_rfreg.bin file is

NOT

universal applicable on every S3FWRN5 chip firmware version. After intensive googling, I would try to get the sec_s3fwrn5_rfreg.bin of the SM-G850F (Samsung Galaxy Alpha). It has the S3FWRN5 NFC chip with firmware V1.1.14. So this means that the corresponding bin file belongs to the V.1.1.x branch. And that may be more compliant to ours S3FWRN5 firmware V1.1.9 than the above mentioned bin file of the Samsung Galaxy E7. ;)

An older LineageOS build with working NFC is avaiable here:

https://xdaforums.com/galaxy-alpha/sm-g850f-lineageos-14-1-unofficial-t3530994

Regards

lorn10
[Galaxy S5 Mini Android Development] mongo0:
thanks for doing the research.!!My googling turned up a 'sec_s3fwrn5s_rfreg_for_old_hw.bin' as well. However it didn't work any better...

anyhow, I already made a patch which should fix things for nfc.
[Galaxy S5 Mini Android Development] spookcity138:
Updated

Changelog

* Synced LOS sources
* Latest security patches (June 2020)
* Built and enabled nfc (Credit and thanks to @mongo0)
* Camera: update Android.mk (Credit and thanks to @mongo0)
* Wifi:Updated wpa supplicant (Credit and thanks to @mongo0)
* Wifi:Added macloader (Credit and thanks to @mongo0)
* Wifi:Updated permissions (Credit and thanks to @mongo0)
* Some Updates to fingerprint (Credit and thanks to @mongo0)
* Included simple camera in ROM - [URL="https://f-droid.org/en/packages/com.simplemobiletools.camera/"]Simple Camera- F-Droid[/URL]
* Removed Camera2

Enjoy! :good:
[Galaxy S5 Mini Android Development] White Zangetsu:
Hi! does this rom has camera issues when recording video in whatsapp/instagram?
[Galaxy S5 Mini Android Development] spookcity138:
Can't say for sure as the mini is no longer my main device, but it's likely there are issues with this.

Someone else will have to give a definitive answer though.
[Galaxy S5 Mini Android Development] Ataru Moroboshi:
You can make a "dirty" flash, if you still on LOS 14 with enabled encryption. Only the encryption process not works, but if it is already encrypted, it works.
[Galaxy S5 Mini Android Development] phil_25:
question.

Good afternoon all

I 'am new, I'am French and I need your help.I have a S5 Mini and like many of you, I think, I met problems with the 3/4 G. I can't connect to the 3/4 G.I would like to set up your programs, I have some acknowledges but it's the first time I need to set up a new ROM.

Thank you for your assistance.
[Galaxy S5 Mini Android Development] Tureilu:
Perhaps you have some modem-issues as I did.

Try

https://xdaforums.com/showpost.php?p=82613183&postcount=710

and the following posts
[Galaxy S5 Mini Android Development] 2faraway2:
Thanks, good advice :)

Another thing: Can anybody confirm that in spookcity's version from 11th june the video recording is working also in '3rd party' apps, I mean not only in the newly integrated simple camera ?

Thanks in advance for any feedback ..
[Galaxy S5 Mini Android Development] kalagani:
Tuto in french language

Hello,

I posted a tuto in french language (need to create account to see hidden parts)

tuto-g800f-linux-flasher-firmware-stock-ou-custom-sans-odin

first I upgraded to the last official Samsung ROM, after I upgraded to the LineagesOS ROM9...and no pb with 3/4G...
[Galaxy S5 Mini Android Development] ernsteiswuerfel:
Dirty flashed 20200415 to 20200611, works perfectly allright! :good: Also Simple Camera is quite a good addition IMHO.

Only thing which annoys me a bit is this WiFi disconnect/reconnect-thingy still left. But apart from that the device is perfectly usable as a daily driver. Tanks spookcity138 and mongo0!
[Galaxy S5 Mini Android Development] Vodus:
Warning: No file_contexts while flashing

Hi guys I have already had previous version of lineage and now want to upgrade to this lineage-16.0-20200611 but in TWRP it says Warning: No file_contexts while flashing.Something is going on during flashing but it lasts 30 seconds and then it says DONE but id doesnt update at all what to do?
[Galaxy S5 Mini Android Development] miracle.flame:
Is it normal that totally fresh system is performing slower than my 20 years old HTC did on Froyo?

Also is the bundled camera supposed to have no video recording options at all while recording at stuttering speed?
[Galaxy S5 Mini Android Development] SirMorokei:
Kinda, the current version is not optimized at all. Best running version would be an Android 8/8.1 rom.

If you are okay to use a different custom rom, try the POSP Custom Rom which also runs on Android 9 but it's noticeable faster.
[Galaxy S5 Mini Android Development] miracle.flame:
Holy..!

Sir, this is probably the best imaginable answer I could even imagine. Thank you sincerely.

Somehow I believed only the "Most Active Samsung Galaxy S5 Mini Topics" matter. How foolish of me. :cyclops:
[Galaxy S5 Mini Android Development] spookcity138:
The video recording issue is well known in all custom ROMS for this device after Android 7. Perhaps search this thread. PR's on git are more than welcome if you wanna solve this or any other issue.

Strange,we are all using the same sources,dt wise. No idea why POSP would be noticeably faster. I can certainly understand why A ROM like LOS 14.1 would be however.
[Galaxy S5 Mini Android Development] Pokemetti2:
Maybe it is LineageOS itself which makes this ROM slow. POSP seems to be based on AOSP mostly. I mean, maybe the problem aren't the device trees but the OS. Pretty inexperienced with ROM maintaining though.
[Galaxy S5 Mini Android Development] spookcity138:
Certainly possibly. I wasn't discounting that. Some ROMs do perform a bit better. Of all the ROMs I've built/tried I've never noticed a "night and day" difference though.

As long as we are taking about the same Android version.
[Galaxy S5 Mini Android Development] Pokemetti2:
Sorry to be off topic, but will you create a thread for your AOSPExtended 6.6 build, [MENTION=7065337]spookcity138[/MENTION] ? I really like the ROM, the only thing that bugs me is that I can't unlock the lockscreen with fingerprint somehow. Or was it just a small experiment? It is only on your AFH after all.
[Galaxy S5 Mini Android Development] spookcity138:
This was actually the ROM I was using when the mini was my main device. It's really nice. I'm not going to be creating a thread or updating it however, sorry. Unless I somehow find lots of free time. I will only continue to build monthly updates for this.

That's enough for me as I also maintain Evolution-X for the OP7.
[Galaxy S5 Mini Android Development] hederer:
ending a call - problem (small one) ;)

Hi there again,

i tried the 20200611 update and i can't see many changes ;)

Simple camera works, but video capturing is bend like at footje and snap, either.

Since the update my phone doesn't regognize my movement to end a call.

Means, the display stays black when i move the phone away from ear or table to

start or stop a call. I can wake the display by pressing the home button, but it was

very nice to activate the display by movement before.

I'm wondering if you had made changes on that or if there's just a setting that changes by update.

some ideas?

Greetings from bavaria

Andreas
[Galaxy S5 Mini Android Development] Pokemetti2:
I think it uses the proximity sensor for recognizing whether you have the phone at your ear. Still a strange issue, I can't help. Maybe try getting logs, by a chance it will be fixed. But with spookcity developing for OP7 it will probably take time, if it's ever gonna be fixed.

Ew, you're from Bavaria? ;)

Greetings from Lower Saxony :p
[Galaxy S5 Mini Android Development] Tureilu:
Did you wipe System/Data before installing? Perhaps a dirty flash was your problem.

Simple Cam works fine for me with this version. Tried making a Video, played with VLC. It's ok and the app doesn't freeze like footje or open cam.

Tried your calling-display issue. Proximity sensor is working and is turning on the display when I move the phone away form my ear. I did only a short call to test. Perhaps the sensor is turned off after some time because of the batterie saving settings...

By the way:

I had some Problems with the vibration using Macrodroid. This is working without any problems now.
[Galaxy S5 Mini Android Development] Erman.c89:
Hello guys. the video camera still does not work hopefully they can fix it in a future update thanks for your work ? ?
[Galaxy S5 Mini Android Development] Pokemetti2:
Probably not, dev is moving on, plus it is very hard to get a camera completely working on a custom ROM
[Galaxy S5 Mini Android Development] Erman.c89:
interesting ? although I found a camera APK that works perfectly, the application works well on photos and videos the bad thing is that it does not have many options and the design is not very good, if someone wants the APK I will send them ?
[Galaxy S5 Mini Android Development] spookcity138:
I thought simple camera worked. That's why I added it. Is it not working? I'm confused. Some

seem to say that it does and some say it doesn't.

As far as fixing the camera, it's less an issue of me working on another device and more that I just don't know the solution. It's been looked at by me and others for a long time with no solution, so idk.
[Galaxy S5 Mini Android Development] Pokemetti2:
I saw that in March update the ability to use fingerprint when screen is off was removed. Did it drain battery or was it unstable? Otherwise you could maybe create a switch in settings for that.
[Galaxy S5 Mini Android Development] spookcity138:
It had to add some extra battery drain I imagine. As far as adding a switch, I mean anything is possible, but I wouldn't hold your breath [emoji3]

I don't particularly like the idea of editing the LOS sources to achieve this.
[Galaxy S5 Mini Android Development] Pokemetti2:
Ok, didn't think about that. Maybe implementing it with sysfs would be easier? Only kernel source would have to be changed for that.
[Galaxy S5 Mini Android Development] spookcity138:
Updated

Changelog

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

Enjoy :good:
[Galaxy S5 Mini Android Development] ryd.or.die.278:
camera/flaslight issues

throughout the last 3 lineage versions ive had occasional issues with camera not working or flash not working, Tried clean flashing/wiping alsorts etc, BUT after removing battery and turning phone back on all starts working fine

Hopefully some1 finds that usefull..
[Galaxy S5 Mini Android Development] Exciter666:
Some days ago I flashed this rom on my S5 Mini and meanwhile everything works fine except the standby mode:

the display keeps activating by itself from time to time for few (1-5) seconds without touching the phone.

I already tried to disable app messages, active display and so on.

How / where can I find the reason for this behaviour and disable it?
[Galaxy S5 Mini Android Development] Avraham Tsaban:
Have you checked wether or not the power button is pressed by the phone case?

---------- Post added at 09:37 AM ---------- Previous post was at 09:00 AM ----------

According to this xda news article, google is going to force using android go on devices lower than 2GB RAM.

Are you going to merge some go properties into this ROM?

:confused: