[ROM][9.0][UNOFFICIAL] [G800F/M/Y] LineageOS 16.0 [Beta] [28-01-2022]

Search This thread

spookcity138

Senior Member
Nov 9, 2015
1,897
2,738
Eindhoven
https%3A%2F%2Fcdn-cf-1.xda-developers.com%2Fdevdb%2FdeviceForum%2Fscreenshots%2F6080%2F20170102T093800.jpg


Code:
 * 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
Code:
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
Code:
[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
 

Attachments

  • Screenshot_20181118-095330_Quickstep.jpg
    Screenshot_20181118-095330_Quickstep.jpg
    61.4 KB · Views: 15,570
  • Screenshot_20181118-095344_Quickstep.png
    Screenshot_20181118-095344_Quickstep.png
    97.9 KB · Views: 15,459
  • Screenshot_20181118-095410_Quickstep.png
    Screenshot_20181118-095410_Quickstep.png
    94.6 KB · Views: 15,133
Last edited:

rodman01

Inactive Recognized Contributor / Themer
Apr 25, 2012
5,770
9,564
Allgäu
Cool and gongrats :) :good:, thanks for your work and effort and thread is subscribed. ;).
Working fine here on my end, even that I am aware it is in "alpha" stage, I know.
 

brAvEiitoOr

Member
Sep 19, 2017
34
10
24
Quito
Thanks for your work, developers! I want to know if there's still the storage problem that's on Oreo (for example, if it's possible to make Whatsapp backups) before installing it. Have a nice day!
 

MrCreating

Member
Jan 13, 2018
30
5
Bluetooth do not work.
"Bluetooth keeps.stopping" after enabling it.
 

Attachments

  • log.txt
    70.3 KB · Views: 189

spookcity138

Senior Member
Nov 9, 2015
1,897
2,738
Eindhoven
Bluetooth do not work.
"Bluetooth keeps.stopping" after enabling it.

Hmm,interesting. It was certainly working. I have connected to my girlfriends phone,my laptop and my Bluetooth enabled soundbar without issue in the past. However,there was a commit that broke Bluetooth a few days ago,but I believed it to be fixed. I can still turn it on and off without issue,but I did not test on the latest build. I will test it out later and try to see whats up. Thanks for the log!
 
  • Like
Reactions: MrCreating
May 20, 2015
26
1
54
hello you could tell me why I can not duplicate screen in an s5 900f since it connects but at the moment it goes it can be a bug of the rom thanks
 
Last edited:
  • Like
Reactions: invisible.hd7

fidoedidoe

Senior Member
Mar 27, 2011
250
137
I know this is a very* subjective question, so apologies in advance.

First off, massive thanks to @spookcity138 for this rom and all his previous S5 mini iterations (plus a whole heap of direct PM assistance too :good: )

I'd like to upgrade my GFs phone from LOS 14.1 to this ine, and I'm wondering how well this initial alpha release is working as a daily driver?

I can see from the opening page enough features are operational, but can anyone give feedback on battery life (when compared to LOS 14.1 ROMs), stability etc.

I know "try it and find out" is the easy answer, but would like to jump with eyes open / informed where possible as this is GFs phone.

Many thanks!!
 

POLAURENT

Member
Oct 21, 2009
22
9
@spookcity138, marvellous piece of work !!!, more stable than 15.1, may be a bit slower, i directly flash from 15.1 to 16 with Gapps, just standard wipe and rolls ..

Just the Fingerprint Enrollment that doesn't work , as the Fingerprint itself works fine.

the sdcard access problems seems to be away indeed.
 
  • Like
Reactions: spookcity138

aykuut

Senior Member
This rom is very smooth and surprisingly very stable
Some bugs i've noticed:
- music album covers doesn't display
- as mentioned bt doesn't work
- in some apps, such as Snapchat, the recording of videos lags, taking pictures works well
- pixel launcher crashes constantly

everything else working fine for me, thank you for your amazing work :cowboy:
 
  • Like
Reactions: spookcity138

spookcity138

Senior Member
Nov 9, 2015
1,897
2,738
Eindhoven
Wifi hotspot isn't working. Disabling after enabling.
Thank you for pointing this out. Although there is no error in your log :D
You're right though.It is broken. I will look into this.
I know this is a very* subjective question, so apologies in advance.

First off, massive thanks to @spookcity138 for this rom and all his previous S5 mini iterations (plus a whole heap of direct PM assistance too :good: )

I'd like to upgrade my GFs phone from LOS 14.1 to this ine, and I'm wondering how well this initial alpha release is working as a daily driver?

I can see from the opening page enough features are operational, but can anyone give feedback on battery life (when compared to LOS 14.1 ROMs), stability etc.

I know "try it and find out" is the easy answer, but would like to jump with eyes open / informed where possible as this is GFs phone.

Many thanks!!
If I were you I would probably stick with LOS 14.1 as it is the most stable custom ROM for our device I believe. For me I have been using this ROM for a few weeks now and everything I have used and generally need works for me,but this differs from person to person based on their needs. Plus, I will try my best to fix and update things,but my time is going to be lacking over the coming weeks I think.
@spookcity138, marvellous piece of work !!!, more stable than 15.1, may be a bit slower, i directly flash from 15.1 to 16 with Gapps, just standard wipe and rolls ..

Just the Fingerprint Enrollment that doesn't work , as the Fingerprint itself works fine.

the sdcard access problems seems to be away indeed.
Thanks for the info. I assumed that FP didn't work as I couldn't get it to enroll. Thanks for letting me know that it indeed does work and its just the enrollment.
This rom is very smooth and surprisingly very stable
Some bugs i've noticed:
- music album covers doesn't display
- as mentioned bt doesn't work
- in some apps, such as Snapchat, the recording of videos lags, taking pictures works well
- pixel launcher crashes constantly

everything else working fine for me, thank you for your amazing work :cowboy:
Many thanks for the feedback. It is helpful. I will look into all of these issues when I have some time.
 

aelfinn

Senior Member
Jun 3, 2012
647
181
If I were you I would probably stick with LOS 14.1 as it is the most stable custom ROM for our device I believe.
I’ll have to (constructively) disagree there. I have set up six or seven S5 mini devices for friends and family; two initially hat RR 5.8.x, the rest LOS 14.1. Most of them encountered camera problems, many had random reboots. All of those problems went away only when I tried your XenonHD Android 8.1 build, which has been rock solid (as well as fast and smooth) for everyone I migrated to it.
 
  • Like
Reactions: fidoedidoe

POLAURENT

Member
Oct 21, 2009
22
9
Thanks for the info. I assumed that FP didn't work as I couldn't get it to enroll. Thanks for letting me know that it indeed does work and its just the enrollment.

Hello Spookcity ,

The FP works just as bad as others previous LOS versions , in my case it it's now impossible to register a new finger, the previous registred works normally :eek: .....

Another thing that doesn't works is the wireless hotspot , auto-closed as fast as open :eek:
 
Oct 21, 2018
6
0
Noticed Bugs

G'day spookcity138

I've noticed that
- Wifi is not connecting if Wifi net is hidden
- Root (using Magisk 17.3) is not working
- as in Oreo, WhatsApp cannot backuo chats

But so far, yery stable!
Good work, mate
 

spookcity138

Senior Member
Nov 9, 2015
1,897
2,738
Eindhoven
an another issue i've noticed now
- sending photos, videos and audio doesn't work in telegram x

keep great work!
I don't use telegram on my phone,so if you or anyone is able to provide a log of this it would be great.
G'day spookcity138

I've noticed that
- Wifi is not connecting if Wifi net is hidden
- Root (using Magisk 17.3) is not working
- as in Oreo, WhatsApp cannot backuo chats

But so far, yery stable!
Good work, mate
Thanks for the feedback. I will try to look into the WiFI issue if I am able. I previously rooted with Magisk 17.0 without problem. So perhaps it is either the Magisk version you are using or something in the LOS sources has changed since then. I will look into the whatsapp issue. I Know someone posted a log of this at some point. I will take a look. That will be a bit down the road though as I would like to get the core features (nfc,bluetooth,hotspot,etc) working first.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 58
    https%3A%2F%2Fcdn-cf-1.xda-developers.com%2Fdevdb%2FdeviceForum%2Fscreenshots%2F6080%2F20170102T093800.jpg


    Code:
     * 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
    Code:
    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
    Code:
    [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
    17
    Updated

    Changelog
    Code:
    * 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 (personal preference sorry. Easy enough to switch back)
    * 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

    Enjoy! :good:
    14
    Updated

    Changelog
    Code:
    * 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)

    Enjoy!
    14
    Updated

    Changelog
    Code:
    * 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:
    14
    Updated

    Small changelog this month as I didn't have any time to really look into the remaining issues. Also, due to circumstances I was unable to perform a clean install for the first time. So I only dirty flashed it and it seems OK to me.

    Changelog
    Code:
    * 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

    Enjoy!