[Galaxy S5 Mini Android Development] hennymcc:
This is a LineageOS 15.1 ROM for the Exynos3470 based Samsung Galaxy S5 mini (G800F/G800M/G800Y).

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

Please do not ask for support or ROMs for the G800H. G800F and G800H have nothing in common.

Working features

HW accelerated GUI

Initiate and receive calls

Camera (only photos)

Flash Light

Sound

Fingerprint scanner

Hardware sensors (Orientation, Compass, Proximity, Acceleration, Hall sensor, Step counter)

Light sensor (needed for auto-brightness)

Pulse sensor (preliminary and very inaccurate. Works with Apps like Kardiograph)

Wifi

GPS

Bluetooth (A2DP, HFP, HID)

Mobile Data

SMS

MTP storage

USB-OTG (Keyboard, Mouse, USB-Audio)

IR

NFC

Video reproduction is still sometimes a bit buggy on browser (Youtube works fine)

Untested features:

SD-Card as internal storage

Known issues:

USB-OTG (Mass-Storage): detected but the file-system is not usable and will be corrupted afterwards (--> do not connect your USB-stick at the moment)

SELinux not enforcing

Video recording is still buggy/not working (crashes)

Fingerprint scanner can only records 3 fingers and sometimes it could be unresponsive

Before you start:

Backup your data, like call history, contacts, sms, WhatsApp messages, favourite app settings that are on internal and external sd (by using Titanium Backup or other apps available on PlayStore). At least all internal data will be lost in any case. If you have bad luck you might also loose data from your external sd card.

Important note: It is possible that flashing this ROM can cause efs partition issues. Therefore it is strongly recommended to make a backup of your efs partition before flashing this ROM. This can be done via TWRP.

Download:

Odin3-v3.07 (it is contained in CF-Auto-Root)

TWRP 3.1.1-0 (.tar.md5 file)

Latest TWRP (.img/.tar file)

LineageOS 15.0 ROM for G800F/M/Y: Android File Host

LineageOS 15.1 Monthly/Weekly updates (@Andrea224): Google Drive

Open GApps (select the variant you prefer, e.g. mini)

Install recovery:

Reboot your device into Download mode: turn off your device, then press Volume-Down + Home + Power button at the same time and release them.

Confirm the following warning message with the Volume-Up button.

Connect your device to your PC via USB

Make sure the device driver's are installed on your PC

Start Odin

In Odin select "PDA" (in newer versions: "AP") and select the recovery image (recovery.tar.md5)

Check that only "F. Reset Time" is set. "Auto Reboot" should be disabled to avoid a reboot into stock ROM.

Click on "Start": the recovery image should be flashed now. By flashing the recovery, your warranty will be void.

After the recovery flashing process was successful, reboot into recovery mode (see instructions below).

Important: make sure not to boot into stock ROM, otherwise the stock ROM might remove the custom recovery again. If this happens, flash the recovery image again.

Flash ROM:

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

Make a Backup of your phone (Backup, then select Boot, System, Data, then swipe to backup). Note that the recovery might fail to restore the backup when you want to go back to the stock ROM.

Copy GApps and LineageOS ROM zip to your device's internal or external SD card

Connect your device via USB to a PC. You should see the device in the Windows File Explorer now.

If you do not see the device in File Explorer, make sure that MTP is enabled (inside Mounts, click on Enable MTP).

If MTP does not work from recovery, try to copy via MTP by booting your old Android ROM or just remove the external SD card and copy to it directly.

Select one of the two drives (internal or external SD) and copy the files to it.

Do not put the files into the data directory of the internal sd card, otherwise they will be wiped in the next step.

Wipe Dalvik Cache, Cache, System and Data (inside Wipe -> Advanced Wipe).

Do not report problems if you did not wipe those partitions as the problems are most probably related to this!

Install the LineageOS ROM zip package

Install the GApps zip package

How to root:

LineageOS does not have root support integrated by default. You have to download addonsu-arm-signed.zip for 14.1 from the Lineageos Extras download page and install it with TWRP.

After that root access is still disabled by default. If you want to activate root access for apps, do the following:

Open the Settings menu, select "About Phone"

Tap on the "Build number" entry seven times. You should be notified, that the developer settings are now active.

Open the Settings menu, select "Developer options". Enable root access by selecting "Apps" in the "Root-Access" setting.

In case you want to go back to the stock ROM:

lf you do not have the latest ROM for the G800F you can download it from SamMobile

Reboot your phone into Odin mode

Open Odin on your PC and connect your smartphone with your PC via USB

If you have a zip-file unzip it so that you have a .tar.md5 file

In Odin click on the PDA button and select the .tar.md5 file. Then press "Start".

Normally the stock rom fails to boot as the data from CM is still on the data partition. So after flashing the stock rom, reboot into recovery mode (it looks a bit different now). First wipe the data partition, then wipe the cache.

Reboot

Changelog

24/10/2017:
* Wake on Home button press
* Model string fixed ("G800F" instead of "G800")
* GPS fixed
* Bluetooth fixed
* Update to newest LineageOS sources
* Note: Android 8.0 requires a new TWRP recovery (build from 22/10/2017). otherwise you will not be able to flash the image ("E3004: This package is for device: kminiltexx,kminiltedv,kminilteub,kminilte; this device is .")

10/10/2017:
* telephone calls working
* Camera works (recording videos might still not work)
* LineageOS sources updated

24/09/2017:
* Initial test build

Source:

https://github.com/cm-3470/android_device_samsung_kminilte (Check README.md for build instructions)

Help from other developers is always welcome. Just ask in this thread or PM if you want to help.

Thanks to spookcity138, ayke, mirhciulica, Psyafter and CTXz for working on this ROM.

XDA:DevDB Information

[G800F/M/Y][ROM][8.1.0][OPM2] LineageOS 15.1 for G800F/M/Y [Alpha], ROM for the Samsung Galaxy S5 Mini

Contributors

hennymcc, ayke, Andrea224, spookcity138, mirhciulica, CTXz

Source Code: https://github.com/cm-3470

ROM OS Version: 8.x Oreo

ROM Kernel: Linux 3.4.x

ROM Firmware Required: TWRP Recovery [version >= 22/10/2015]

Based On: LineageOS

Version Information

Status: Alpha

Created 2017-09-24

Last Updated 2018-07-05