[Galaxy S5 Mini Android Development] spookcity138:
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.

This is a LineageOS 16 ROM for the Exynos3470 based Samsung Galaxy S5 mini (G800F/G800M/G800Y)

DO NOT USE IT FOR G800H OR YOU WILL BRICK YOUR DEVICE

LineageOS is a free, community built, aftermarket firmware distribution of Android 9.0 (Pie), which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

Not Working

HWC (Hardware Composer)

Encryption - Trying to encrypt your device will stop suddenly after a few seconds and possibly cause a bootloop.

SELinux

Video recording doesn't work in all apps or with all camera applications

How to install

Note You must use the latest version of TWRP

Download the latest build of LineageOS 16 or LineageOS 16-microG

Reboot into TWRP recovery (Press Volume-Up + Home + Power button)

Perform a full wipe (Dalvik Cache, Cache, System and Data (inside Wipe -> Advanced Wipe)

Flash ROM

Optionally flash your choice of GApps (Must be for arm and for Android version 9.0)

Notes about microG build

Includes everything that should be needed.

GmsCore

GsfProxy

FakeStore

MozillaNlpBackend

NominatimNlpBackend

OpenWeatherMapWeatherProvider

Mapsapi

Swype LIbs

First step to get this working is to go to settings -> apps & notifications -> advanced -> app permissions. Then click spoof package signature. Click the 3 dot menu on the right side. Click show system and allow both FakeStore and microG Services Core. From there everything can be setup within the microG settings app.

Download

Standard Build

MicroG build - Use the standard build if you do not know what this is.

Changelog

01-28-2021
* Synced LOS sources
* Latest security patches January 2022)
* Updated all components in MicroG build (gmsCore,F-Droid etc)

21-12-2021
* Synced LOS sources
* Latest security patches (December 2021)

16-11-2021
* Synced LOS sources
* Latest security patches (November 2021)
* Updated F-Droid to latest version (microG build)

18-10-2021
* Synced LOS sources
* Latest security patches (October 2021)

28-09-2021
* Synced LOS sources
* Latest security patches (September 2021)
* Introduced proper disablehwc script - Thanks and all credit to @html6405
* Fixed gpsd wakelock - Thanks and all credit to @html6405

11-08-202
* Synced LOS sources
* Latest security patches (Aug 2021)

19-07-2021
* Synced LOS sources
* Latest security patches (July 2021)
* Updated microG components (GMSCore)

23-06-2021
* Synced LOS sources
* Latest security patches (June 2021)

- All credit for these changes - @html6405
* Updated Simple camera
* Included go configs
* Updated open source audio hal
* Updated ril.h
* Changed camera provider name from kminilte to universal3470
* Moved audio config file to vendor
* Allow to force wideband audio
* Reduce dex2oat threads to one
* Few other tweaks here and there

17-05-2021
* Synced LOS sources
* Latest security patches (May 2021)

16-04-2021
* Synced LOS sources
* Latest security patches (April 2021)
* Updated microG components (GMSCore F-Droid etc.)
* Merged latest lineageos/hardware/samsung sources into our hardware/samsung repo

09-03-2021
* Synced LOS sources
* Latest security patches (March 2021)
* Updated Simple Camera

10-02-2021
* Synced LOS sources
* Latest security patches (Feb 2021)

16-01-2021
* Synced LOS sources
* Latest security patches (Jan 2021)
* Removed FlipFlap
* Updated microG components (GMSCore etc)
* Added F-Droid to microG build
* Added F-Droid Privileged Extension to microG build

16-12-2020
* Synced LOS sources
* Latest security patches (December 2020)

[URL="https://www.androidfilehost.com/?fid=10763459528675582439"]12-11-2020[/URL]
* Synced LOS sources
* Latest security patches (November 2020)

[URL="https://www.androidfilehost.com/?fid=10763459528675564816"]15-10-2020[/URL]
* Synced LOS sources
* Latest security patches (October 2020)
* Updated Simple Camera

[URL="https://www.androidfilehost.com/?fid=8889791610682939227"]16-09-2020[/URL]
* 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

[URL="https://www.androidfilehost.com/?fid=8889791610682912638"]11-08-2020[/URL]
* Synced LOS sources
* Latest security patches (August 2020)

[URL="https://www.androidfilehost.com/?fid=8889791610682892359"]14-07-2020[/URL]
* Synced LOS sources
* Latest security patches (July 2020)

[URL="https://www.androidfilehost.com/?fid=12420606652095401930"]11-06-2020[/URL]
* 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 (It wasn't working with simple camera included - insert sdcard error) If this is a huge deal I could look into the problem,but the camera doesn't work great anyway,so...

[URL="https://www.androidfilehost.com/?fid=4349826312261805907"]12-05-2020[/URL]
* Synced LOS sources
* Latest security patches (May 2020)

[URL="https://www.androidfilehost.com/?fid=4349826312261772163"]15-04-2020[/URL]
* 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 @mongo0)
* Switched to hwbinder for graphics allocator (Credit and thanks to @mongo0)
* Adjusted fingerprint permission and daemon (Credit and thanks to @mongo0)

[URL="https://www.androidfilehost.com/?fid=4349826312261721878"]10-03-2020[/URL]
* Synced LOS sources
* Latest security patches (March 2020)
* Fixed smem access for DRM service and allows L1-Widevine (Credit and thanks to @mongo0)
* Disabled fingerprint sensor when screen is off (Credit and thanks to @mongo0)
* Corrected some permission locations for microG build

[URL="https://www.androidfilehost.com/?fid=4349826312261721878"]12-02-2020[/URL]
* Synced LOS sources
* Latest security patches (Feb 2020)

[URL="https://www.androidfilehost.com/?fid=4349826312261705265"]18-01-2020[/URL]
* Synced LOS sources
* Latest security patches (January 2020)

[URL="https://www.androidfilehost.com/?fid=4349826312261670584"]12-12-2019[/URL]
* Synced LOS sources
* Latest security patches (December 2019)

[URL="https://www.androidfilehost.com/?fid=4349826312261628134"]13-11-2019[/URL]
* Synced LOS sources
* Latest security patches (November 2019)
* Reverted "Add "TARGET_LEGACY_HW_DISK_ENCRYPTION := true" flag" (This did nothing)
* Reverted a kernel commit that was known to cause a kernel panic on vpn client usage
* Updated GmsCore prebuilt to latest (November 1) for microG build

[URL="https://www.androidfilehost.com/?fid=1899786940962609146"]15-10-2019[/URL]
* Synced LOS sources
* Latest security patches (October 2019)
* Reverted "Remove Wifi Display options" (This has finally been added to Android 9 I think. However,in my testing it is still not working for our device. I will try to look into it when I have some time)
* Reverted "overlay: set config_trustLegacyEncryption" (This was only added as an attempt to fix encryption. It didn't work and is still broken,so this did nothing)

[URL="https://www.androidfilehost.com/?fid=1899786940962581714"]10-09-2019[/URL]
* Synced LOS sources
* Latest security patches (September 2019)
* Merged latest lineageos/hardware/samsung sources into our hardware/samsung repo
* Moved GPS XTRA_SERVER entries to overlay (I don't think they were being read as part of the gps.conf file)
* Added privapp permissions file as LOS started Enforcing privapp-permissions whitelist which prevented our device from booting (Thanks to @Panzerknakker for figuring this out)
* 75+ kernel commits (network,security,etc) see [URL="https://github.com/Spookcity/android_kernel_samsung_kminilte/commits/P"]Here[/URL] for more info.

[URL="https://www.androidfilehost.com/?fid=6006931924117934637"]11-08-2019[/URL]
* Synced LOS sources
* Latest security patches (August 2019)
* Merged latest lineageos/hardware/samsung sources into our hardware/samsung repo
* Dozen or so kernel commits
* Updated a bunch of proprietary vendor blobs to latest stock marshmallow
* Updated GPS config (Thanks to @mongo0 for the tip)
* Fixed called forwarding setup crashing/issues (Thanks to @rodman01)
* Added an encryption board flag and overlay ( This is a step towards hopefully solving the encryption issue. However it is highly unlikely that this is fixed. It is just all I could find on the matter. I will continue to look into it)
* Removed patches to keep LiveDisplay - So no more LiveDisplay (Lineage is going with Night Light instead)
* Added "ro.config.small_battery" (This will trigger device-idle in 15
minutes instead of 30 minutes)

[URL="https://www.androidfilehost.com/?fid=6006931924117911396"]07-07-2019[/URL]
* Synced LOS sources
* Latest security patches (July 2019)
* Few kernel commits related to network (thanks to @rodman01)
* Update GMSCore prebuilt to latest for the microG build

[URL="https://www.androidfilehost.com/?fid=6006931924117892070"]10-06-2019[/URL]
* Synced LOS sources
* Latest security patches (June 2019)
* Disabled HWC (again)
* Merged latest lineageos/hardware/samsung sources into our hardware/samsung repo
* Fixed Netflix "device not compatible error" (Thanks to @SpicyM)
* Fixed LiveDisplay (Thanks to @rodman01 for his help) - NOTE: LOS is going with night mode as opposed to LIveDisplay. I have reverted some commits to keep LIveDisplay for now. This may or may not change in future builds.
* Updated power profile (Thanks to @rodman01)
* Bunch of kernel commits (wireless,security,ETC)
* Updated GMSCore prebuilt to latest for the microG build

[URL="https://www.androidfilehost.com/?fid=1395089523397965121"]13-05-2019[/URL]
* Enabled HWC - Credit to Lukas0610 for a temporary patch (with thanks to @Mint Julep for pointing me in the right direction)

[URL="https://www.androidfilehost.com/?fid=1395089523397964346"]12-05-2019[/URL]
* Synced LOS sources
* Latest security patches (May 2019)
* 100-ish kernel commits (Mostly wireless,HID and security related things)
* Added libdrmclearkeyplugin proprietary blob (A start to fixing Netflix issues I think)

[URL="https://www.androidfilehost.com/?fid=1395089523397939272"]11-04-2019[/URL]
* Synced LOS sources
* Latest security patches (April 2019)
* Merged latest lineageos/hardware/samsung sources into out hardware/samsung repo
* Fixed video playback issues in Whatsapp,Instagram and Facebook apps
* Moved android.hardware.wifi back to version 1.0
* Reverted pinning SystemUI, Dialer and SF into memory
* Reverted enabling zRam (this needs kernel commits to work properly anyway)
* Added sswap binary
* Enabled sswap at boot - Size = 1GB ( This can be verified by typing 'free' in any terminal emulator)
* Enabled memory optimizations - (B-services aging propagation)
* fixed ambient display options forcing closed in settings
* Added some build.prop tweaks ( Disabled fast dormancy and Increased WiFi scanning interval to 180)
* Added wakelock GID for GPS and WiFi

[URL="https://www.androidfilehost.com/?fid=1395089523397912177"]10-03-2019[/URL]
* Synced LOS sources
* Latest Android security patches (March 2019)
* Stopped building LOS updater (This is an unofficial build.We are not going to have OTA updates)
* Fixed storage issues (Album art not showing up in music players,downloading files in certain web browsers,creating backups in some apps,copying items from ExtSD to internal storage ETC.)
* Enabled call recording
* Disabled NFC (It is completely broken still.)
* Switched from init script to patch + build.prop addition to disable HWC
* Default to dark mode
* Set default hotspot name
* Enabled Zram
* Removed Samsung swappiness value from our init file (defaults to 60 now as opposed to original 130 value)
* Pinned surfaceflinger,SystemUI and dialer into memory
* Adjusted Fingerprint permissions

[URL="https://www.androidfilehost.com/?fid=1395089523397889579"]10-02-2019[/URL]
* Synced LOS sources
* Latest Android security patches (February 2019)
* Upgraded from Alpha -> Beta
* Fixed WiFi hotspot (Thanks to @rodman01)
* Added a bunch of kernel commits related to sdcardfs (storage) (Thanks to @rodman01 and @Friedensfurz) - This is still not fixed however,but we are getting there.
* Built Trust HAL
* Merged latest LOS 16 hardware/samsung sources into our hardware/samsung repo
* Added a Micro-G build

[URL="https://www.androidfilehost.com/?fid=11410963190603881449"]24-12-2018[/URL]
* Synced LOS sources
* Updated proprietary EGL libs from latest stock ROM
* Updated WiFi libs from latest stock ROM
* Updated WiFi configs from latest stock ROM
* Enabled AOD (Always on display)
* Added AOD on/off switch in settings -> display
* Updated init files
* Updated cbd (radio)
* Added stock dalvik heap values
* Adjusted brightness values
* Bunch of kernel cherry-picks from friedensfurz's kernel repo

[URL="https://www.androidfilehost.com/?fid=11410963190603852976"]18-11-2018[/URL]
* Initial Alpha build released

Sources

[URL="https://github.com/Spookcity/android_device_samsung_kminilte"]Device[/URL]
[URL="https://github.com/Spookcity/android_device_samsung_smdk3470-common"]Common Device[/URL]
[URL="https://github.com/Spookcity/android_vendor_samsung_kminilte"]Vendor[/URL]
[URL="https://github.com/Spookcity/android_kernel_samsung_kminilte"]Kernel[/URL]

Help from other developers is certainly welcome. Currently only myself and @rodman01 are working on this ROM

Credit and Thanks

LineageOS team

@hennymcc (for bringing many versions of Android to our phone and for all of his work on the device trees)

@rodman01 for his help on this ROM

@Friedensfurz and @cschsz for working on the kernel for this ROM

@ayke (for recovery)

@CTXz (for working on the device trees)

@psyafter (for working on the device trees)

Anyone else whom I may have forgotten that has ever contributed to the development of our device. Thanks!

Enjoy! :good:

XDA:DevDB Information

[ROM][9.0][UNOFFICIAL] [G800F/M/Y] LineageOS 16.0 [Beta] [12-11-2020], ROM for the Samsung Galaxy S5 Mini

Contributors

spookcity138

ROM OS Version: 9.x Pie

ROM Kernel: Linux 3.4.x

Based On: LineageOS

Version Information

Status: Beta

Created 2018-11-18

Last Updated 2020-11-12