[G800F/M/Y][ROM][8.1.0][OPM2] LineageOS 15.1 for G800F/M/Y [Alpha]

Search This thread

hennymcc

Senior Member
Dec 7, 2014
374
1,665
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

Disclaimer:
  • You flash this image at your own responsibility. I am not responsible for any damage that might be caused by flashing this image (bricked device, lost data, ...)
  • Flashing this kernel image will trigger the KNOX counter, so your warranty will be void.
  • Applications that use KNOX (e.g. "Private Mode") might not work anymore when returning to the stock ROM, as the device is regarded as compromised. Do not flash this ROM if you need those applications.
  • The image is only for Exynos3470 based S5 Mini variants SM-G800F/M/Y.
  • It might be instable, crash your device, drain your battery, or even might damage your smartphone (e.g. if an USB-OTG device drains too much power)
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:

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

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
 

Attachments

  • photo_2017-09-24_08-36-51.jpg
    photo_2017-09-24_08-36-51.jpg
    61.6 KB · Views: 14,065
  • photo_2017-09-24_08-37-09.jpg
    photo_2017-09-24_08-37-09.jpg
    53.2 KB · Views: 13,995

wasya78

Senior Member
Mar 13, 2017
96
8
phone when it locks up in a reset, it does not turn on a constant download, and the wi-fi is on and off after every 5 seconds. Also, there's no way to turn off the backlight of the buttons. Also, I noticed that the connection only lights up H on the seven I'm on H +
 

wasya78

Senior Member
Mar 13, 2017
96
8
yes sim card is seen

---------- Post added at 09:20 AM ---------- Previous post was at 09:17 AM ----------

still noticed that the android 8.0 does not work camera
 

sovietnuke

Senior Member
Nov 20, 2013
114
23
Leipzig
Hello, is it possible to deactivate this new Slide Menu on Home Screen? To have the old Catapult menu Button back? Or will it be possible in future releases?
 

hennymcc

Senior Member
Dec 7, 2014
374
1,665
Will these non-working features be updated soon? Because I am using version 14.1 at the moment, and I can't even start the camera... I hope you will either update the previous version or get the camera working in version 15 so I can use that version.

At least camera and calls work now. I was abroad for a week so I could not work on it or release a new build.
Maybe there will be a new build next week.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 54
    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

    Disclaimer:
    • You flash this image at your own responsibility. I am not responsible for any damage that might be caused by flashing this image (bricked device, lost data, ...)
    • Flashing this kernel image will trigger the KNOX counter, so your warranty will be void.
    • Applications that use KNOX (e.g. "Private Mode") might not work anymore when returning to the stock ROM, as the device is regarded as compromised. Do not flash this ROM if you need those applications.
    • The image is only for Exynos3470 based S5 Mini variants SM-G800F/M/Y.
    • It might be instable, crash your device, drain your battery, or even might damage your smartphone (e.g. if an USB-OTG device drains too much power)
    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:

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

    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
    21
    A new build is available:
    https://www.androidfilehost.com/?fid=962021903579487392

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

    TWRP Link: https://www.androidfilehost.com/?fid=962021903579487486

    Thanks to Ayke for the new TWRP build. Unfortunately it is not yet available on the official TWRP download page.
    18
    I uploaded a new build with RIL and camera fixed. See opening post for more details.
    18
    Hi everyone, now that I'm a contributor I've updated the main post and I've finally added my Gdrive folder link where you can find the last and the previous LOS 15.1 updates. I'll release them at least monthly/weekly, when the security patches are updated or if there's a new fix for the phone. Also, I'll post a changelog (even if short) about the update.

    Regards
    17
    A short status update on Oreo:
    Lineage 15.1 finally left the staging area last week (which does not mean that it is already released).

    I just tried it and telephony, mobile data, wifi, audio and bluetooth are working.
    Camera is not working anymore (neither taking photos nor video recording) as the patches I applied to 15.0 do not apply anymore to 15.1.
    For some reason RIL (i.e. telephony) which was working in 15.0 is broken now but I did not take a deeper look at it so far.

    Camera video recording (with HAL1) is still not fixed in lineage. About 1/3 or 2/3 of the devices supported by lineage 14.1 only support camera HAL1 so the chances are quite good that this will be fixed in lineage in the next months.

    As long as camera (at least taking photos) and RIL is not working I will not provide builds for it. All source updates are pushed to github in case somebody wants to try it.