[G800F/M/Y][ROM][6.0][MOB31K] LineageOS 13.0 for G800F/M/Y [Beta 28/01/2017]

Search This thread


Senior Member
I did try Xposed Installer by DVDandroid but the app says i need SDK25
I tried it with this version

here also a screenshot
You are in the wrong thread, this is Android 6.0 and you got 7.1.1 where Xposed is not available yet


New member
Apr 3, 2016
Step-by-step Instructions

I did this process over a year ago when I updated my phone from the stock ROM to CM12. Which means that I couldn't remember the exact order of the steps, and had to read between the lines to get them right. So here, presented for the benefit of those of us who don't do this on a regular basis, are actual numbered steps. Hopefully this is helpful for others, too!

I've included some of the notes from the original post, mostly the warnings and troubleshooting tips. For other details, please read the original post and look for relevant comments in the thread.

Note : I started with an encrypted version of CM12, and had to keep entering my key every time I booted into Recovery Mode as well as for the wipe in Step 5. The key seems to have been preserved through all the wipes and installations, and I'm not sure how I feel about that.

0 : Back Up Everything
Aside from just dragging all the files you want to keep to your computer, it's also recommended to create an image of your current setup. That way you can flash back to it if anything goes horribly wrong.
Another recommendation is to go through all the apps you use to see if they have an "export" function. Do that, and drag those files to your computer, too.
  • Power off the phone.
  • Boot the phone into Recovery Mode : hold the volume-up + home + power buttons at the same time until the teamwin screen appears.
  • Select Backup.
  • Select Encryption (third tab, on the right) and enter a strong key.
  • Leave the default selections - Boot, System, and Data.
  • Swipe to Backup. This will take a while, so just let it run.
Once that's done, remember also to move this backup file to somewhere that won't get deleted when you wipe the phone prior to installing Lineage.​

1 : Wipe the Phone
This is going to depend on what OS you have installed at the moment, but it'll be somewhere in Settings > Backup & Reset. Tick all the boxes, wipe all the data. You've moved everything important onto another device, right?​

2 : Download the Files
While all of these things are running, download the four files you'll need for this. They're the ones listed in the "Download" section of the first post. Once they're downloaded, the only one you need to unzip is CF-Auto-Root because it contains the exe for Odin that you'll need in the next step.

2.1 : Install Official Samsung Driver
Although your phone works with your computer, there's another driver that you'll need to actually get it to work in Odin mode. That can be downloaded from developer(dot)samsung(dot)com/galaxy/others/android-usb-driver-for-windows [can't link to outside sites yet]. The site looks a little shady, but it does appear to be the official link, and worked with my G800F.​

3 : Boot Phone into Odin Mode
Once your phone is done running its wipe, power it off.
  • Boot the phone into Odin mode - hold the volume-down + home + power buttons at the same time until the warning screen appears.
  • Confirm the warning message by pressing the volume-up button.
  • The "Downloading... Do not turn off target!!" screen should now appear to indicate that the phone is now in Odin mode.

4 : Flash Recovery
By flashing the recovery, your warranty will be void.
Before you flash the recovery :
- You need the latest TWRP recovery (downloaded in Step 2). Otherwise TWRP might not be able to flash the ROM. This is because TWRP checks now if the device is "supported".
- Wipe the device to avoid problems with remaining files from the old installation (see Step 1). This also applies if you already installed an older version of CM 13.0.
  • Plug the phone, in Odin mode, into your computer via USB.
  • From the CF-Auto-Root directory that you downloaded and unzipped on your computer, launch the Odin exe.
  • In the Odin application, you should see some information in the Log window on the left - it should say something like "Added!!" to let you know that it sees the phone.
  • Click the "AP" button on the left under the "Files [Download]" section. This will bring up a system file-picker dialogue - navigate to and select the "recovery.tar.md5" file downloaded earlier.
  • On the left, click on the second "Options" tab - verify that only "Auto Reboot" and "F. Reset Time" are selected.
  • Click "Start" to flash the new kernel image. The phone should reboot into the OS when it's finished.
  • When the phone reboots into the OS, it should take you to the initial setup screen. At this point, power off the phone. If this was not successful, restart into Odin mode (Step 3) and flash the downloaded recovery again, or flash the stock ROM.

5 : Move Lineage ROM & GApps Files

  • Boot the phone into Recovery Mode (see Step 0).
  • Connect the phone to your computer via USB.
    - If the phone is not recognized as a volume in Windows : On the phone (Recovery Mode) select Mounts, and click on Enable MTP.
    - If MTP does not work from recovery, try rebooting into the OS. Or remove the external sd card from the phone and put it into your computer.
  • Copy the open_gapps and lineage-13.0 ROM zip files to the internal or external storage of the phone.
    - Be careful not to put the files into the "data" directory of the internal storage, as this will be deleted in the next step.

6 : Wipe the Caches and System
You've made a backup ROM of the phone before you wiped it, right? Because if anything goes wrong at this step, you'll want to be able to put your phone back to how it was so that it works.
  • On the phone (Recovery Mode), select Wipe > Advanced Wipe > Selections.
  • Ensure that Dalvik Cache, Cache, System, and Data are selected and click "Wipe."
    - Do not report problems if you did not wipe those partitions as the problems are most probably related to this!

7 : Install Lineage ROM & GApps Files
The phone should stay in Recovery Mode when the wipe is done. If not, reboot into Recovery Mode again.
  • In Recovery Mode, click Install.
  • Select the lineage-13.0 zip file.
  • Click Install.
  • Select the open_gapps zip file.
  • Click Install.

8 : Boot into Lineage!
When all of those installations are done, you should be able to reboot the phone into the OS. This should now be Lineage 13! It takes a long time to boot, so be patient.
Congratulations, you've got a shiny new OS!


New member
Apr 8, 2017
Samsung Galaxy S8
Sim Problems

Hi there,

i wanted to know, if anyone else knows anyhting about this or experienced it themselves. I first used Lineage 14 and suddenly had several sim losses while using the phone. Under operating conditions the phone noticed that the Sim card was gone and then half a minute later it found it again (even though nothing happened with the sim card, handy was closed etc.) and then the Internet came back and it worked a while until it happened again. This losing and finding the sim card problem went on and on and on and so i decided to downgrade to Lineage 13 hoping it would get better.
It got a little better, but mostly it got different. Now the icon in the status bar doesn't show the sim card is lost or so, the connection seems worse then before, but worst part is, it breaks down randomly and it doesn't come back, i need to reboot and then it works quite some time, sometimes minutes, sometimes hours, and then it breaks again and i need to reboot.

Another thing that i noticed is, that the Message with the configuration settings for the APN etc cant be received. I tried the Sim in another phone, there it worked, i tried it again in my phone and she didnt came.

So can this be fixed? Is this a problem that can come from the OS or something?
I really need my phone working.

I guess ill try going back to Stock ROM
Last edited:


Feb 19, 2012
Hi all!

Thank you very much for the ROM !
I post this message as I have been experiencing a strange network issue since I use this ROM on my G800F.

The symptoms :
Sometimes I loose the internet connection whereas the network status indicator shows 3 bars out of 5 connected into LTE.

When the issue occurs:
- I cannot access to the internet (Browser timeout expires and a message "dns_probe_finished_no_internet" is displayed)
- I cannot send/receive any MMS
- I can make/receive a phone call
- I can make/receive SMS

The trouble shoot I performed:
- Switch to flight mode => KO / it does not fix the issue
- Restart the phone => KO / it does not fix the issue
- Power off the phone wait for a couple of minutes => partially KO / most of the time it does not fix the issue, sometimes it does => test not reliable
- Power off + SIM removal / Power on (without SIM) + boot then shut down / re intriduce the SIM and restart. => KO / it does not fix the issue

What does fix the issue everytime:
- Set up the WIFI and connect to it => OK / it does fix the issue even if I desable the WIFI ... internet keeps working

As I moved from a Mobile Service Provide to another one, so I suspected a manufacturing issue with the SIM.
So I have requested my new customer support to provide me with a new SIM Card.
I still encounter the issue.

The issue can either occur erratically without doing anything
The issue is systematically reproduced when I try to send a MMS or when my phone tries to download a MMS that I have been sent.

Would you have any idea / advice?
Many thanks to you for your support!!! :D


New member
Jul 17, 2008
did someone notice faster discharging after lingeage 13.0 image? I used to run on cm13 and after flashing to lineage image my phone is loosing the power very fast when display is on. I tried to tune it with Lspeed which optimized the battery when screen is off, still bad. When running navigation in the car, the phone is loosing the power also when on the charger, which makes in unusable for me. Do you have any idea what could cause the problem? Any other such experience? Is there a chance to use faster charging in a car. The phone is charged on by 1Amp also when on 2Amp charger. Thanks a lot. LF


Senior Member
Jan 8, 2009
Hi, I don't want to update to 7 until xposed or a successor is ready. But I do want to use the aptx codec for my new Bluetooth device. Is it possible to patch this release with aptx? Has anyone tried this yet?
Thank you.

Gesendet von meinem SM-G800F mit Tapatalk


New member
Jul 30, 2017
Action Cam Issues

If i try to use my Action Cam (Somikon-DV-4017 wifi) with the Final Cam App, the APP i get a WiFi-connection but i dont get a picture. Maybe its a thing about the known camera bug?


Jul 30, 2017
Hi everyone, I have found a small problem. When you send and recive massive WiFi data the signals seems stop for 1 minute or more. Trying to activate WiFi while is down is in vain.

And now I noticed that the fingerprint reader sometimes does not work after unlocking and re-locking the device, but this happens rarely compared to the WiFi problem mentioned above.

For the rest almost perfect! Keep it up :good:;)
Last edited:


Senior Member
Nov 8, 2012
is anyone experiencing issue with messenger video recording?
preview and recording video in bacon camera works just fine.
however in messenger, recording drops to 5-10 fps. not just sometimes, but the whole video has the same framerate.
recording in instagram seems smoother, but with occasional lags.


Senior Member
is anyone experiencing issue with messenger video recording?
preview and recording video in bacon camera works just fine.
however in messenger, recording drops to 5-10 fps. not just sometimes, but the whole video has the same framerate.
recording in instagram seems smoother, but with occasional lags.
This ROM is obsolete so there will be no more updates and bug fixes. Switch to LineageOS 14.1 if you want your bugs fixed.

Top Liked Posts

  • There are no posts matching your filters.
  • 22
    This is a LineageOS 13.0 ROM for the Exynos3470 based Samsung Galaxy S5 mini (G800F/G800M/G800Y) by CTXz and hennymcc.


    Although G800F and G800H share the same name they are not related in terms of hardware due to the different SoCs used (Exynos vs. Snapdragon).
    Hence please do not ask for support or ROMs for the G800H.

    Working features
    • HW accelerated GUI
    • Camera (pictures+video: Back+Front)
    • Flash Light
    • Bluetooth (A2DP, HFP, HID)
    • IR
    • Sound
    • SMS
    • Initiate and receive calls
    • Wifi
    • Mobile Data
    • USB-OTG (Keyboard, Mouse, USB-Audio, Mass-Storage)
    • NFC
    • 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)
    • SD-Card as internal storage (new Android M feature)
    • GPS
    • Multi-Window support (new experimental CM setting, can be enabled via developer settings)
    • Fingerprint scanner

    Non-working features:
    • SELinux

    Known issues:

    • 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)
    • Some users reported that their touch-screen stopped working permanently after some weeks of usage. For some user's (two at the moment including me) NFC stopped working permanently. Probably this issues are not related to this ROM as also many stock user's complain about hardware issues (random reboots, black screens, unresponsive touchscreen) but you have been warned.
    • Backup your data before flashing and check if the original firmware is present (e.g. at SamMobile)
    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.

    • Odin3-v3.07 (it is contained in CF-Auto-Root)
    • TWRP 3.0.0 recovery image [25/03/2016] (AndroidFileHost Mirror)
    • LineageOS 13.0 ROM for G800F/M/Y (Android File Host)
    • Later the newest LineageOS releases as well as the latest TWRP can be found here:
      -Credit and thanks to @ayke
    • Google Apps (contains Google Play, ...) for Android 6.0, one of the following two is recommended:
      • Open GApps Project, Platform:ARM, Android:6.0, Variant: whatever you prefer (e.g. "mini" or "nano")

    Install recovery:
    • Reboot your device into Odin 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 and select the recovery image (recovery.tar.md5)
    • Check that only "Auto Reboot" and "F. Reset Time" is set
    • Click on "Start": the kernel image should be flashed now and the device should reboot afterwards. By flashing the recovery, your warranty will be void.
    • After the recovery flashing process was successful, power of your device. If not restart into Download mode and flash again or flash the stock rom.

    Before you flash:
    • You need the latest TWRP recovery (see above). Otherwise TWRP might not be able to flash the ROM. This is because TWRP checks now if the device is "supported".
    • Wipe the device to avoid problems with remaining files from the old installation (see instructions below). This also applies if you already installed an older version of CM 13.0.

    Flash ROM:
    • Reboot into recovery mode (Press Volume-Up + Home + Power button)
    • If you come from a stock ROM, this is your opportunity to 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 (for me it got stuck after a restore during boot. But the backup was made with a different version of TWRP, so it might work in general) - simply do not expect too much of it at the moment.
    • If you haven't copied the installation files yet, you can now copy the GApps and ROM zip to your internal sd or external sd (be careful not to put the files into the data directory of the internal sd card as this will be deleted in the next step). Be sure that MTP is enabled (inside Mounts, click on Enable MTP), then, from your pc, copy the files. If MTP does not work from recovery, try it directly from Android or remove the external sd card from the phone and put it into your PC.
    • 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 CM 13.0 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 13.0 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

    * SMS error message fixed
    * conversion to LineageOS
    * updated some libs with stock MM versions
    * fixed robotic voice problem
    * USB OTG disabled by default for improved waterproofness (can be re-actived via Advanced Settings App)
      * how to enable USB OTG:
        * start the "Advanced Settings" App
        * open the "USB-OTG Mode" setting
        * select "Powered (Not waterproof)"
    * add support for call recording
      * how to record a call:
        * start/Receive a call with the CM Dialer App
        * During call open settings (icon: three vertical dots)
        * Select "record call"
        * (if you get an error message that recording failed, try to enable developer settings and enable root access for apps+adb)
      * how to playback recorded call:
        * open the call history in the Dialer app (icon: clock symbol)
        * open details of recorded call
        * in the detailed calling list, click on the play button for the recorded call 
    * removing fingerprints works now
    * updated some stock libs with LP versions
    * support for F2FS (needs new TWRP recovery)
    * updated TWRP recovery (with F2FS support)
    * synch with latest CM sources
    * Fixed lock-screen freeze
    * Fixed Infrared support
    * Fixed search for mobile networks (search will take ~1min until results are shown)
    * Updated some libs with LP versions
    * Initial support for a fingerprint scanner
    * Sync with CM sources
    * Fixed camera problems with WhatsApp
    * Fixed preferred radio family settings (LTE/GSM/...)
    * Added default long-press actions for home and app-switch buttons (DJSteve)
    * Switched to LP kernel (G800FXXU1BOL4)
    * libsensors: replaced with open source implementation (fixes light sensor which is needed for auto-brightness)
    * Preliminary (and very inaccurate) support for heart-rate sensor
    * Update to TWRP 3.0 (TWRP 2.x will still work)
    * Sync with CM sources
    * Fixed BT calling problems (only noise)
    * CM Camera replaced with CM Snap Camera
      * better image quality (check picture quality settings), resulting in image file sizes of > 1MB instead of 200KB
      * Saving images to SD card supported (check settings)
    * Improved RIL support
    * Use stock soft-key layout (left capacitive button is app-switch instead of menu now)
      * Key-layout can be configured via button settings.
    * Fixed adb root problem (root permissions were lost after reboot)
    * SamsungServiceMode app works now
    * Sync with CM sources
    * Add soft keys option under settings > buttons
    * Fix crash after hanging up call
    * Sync with newest CM sources
    * Receiving calls works now
    * psyafter: SD-Card can be used as internal storage (new Android M feature). 
        Can be used to store photos on SD-Card.
        IMPORTANT: the SD-Card will be formatted if you activate this feature.
    * GPS works now
    * Sensors work now (Orientation, Compass, Proximity, Acceleration, Hall sensor, Step counter).
       Light and Pulse sensors do not work yet.
    * Youtube/Screencast crash fixed
    * Wifi and Mobile Data work
    20/12/2015 Hennymcc :
    * Audio Fix
      - Audio is now working (Still a bit quiet though)
      - Making Calls is now working
    14/12/2015 Hennymcc, CTXz :
    * 6.0.1
      - Updated to Android 6.0.1
      - Fixed reboot when locking phone
      - Fixed Internal Root in developer options not working
    30/10/2015 CTXz :
    * Added 'Buttons' settings
      - Integrated Buttons/Capacitive Keys menu into settings
      - Double tapping or holding button to open camera now works (In CM12 it didn't work)
      - Power Menu is added under buttons menu
      - Minor fixes
    -!- NOTE : Setup Wizard may have some issues/crashes with this build. I will exclude it in the next one
    29/10/2015 CTXz :
    * Synced to newest sources
      - Ugly looking Google search box removed
    28/10/2015 CTXz :
    * Changed from eng to userdebug
      - No more red frames flashing
      - Fixed Browser crashing
      - Fixed crash after first boot
      - More user friendly
      - No additional boot.img flashing required
    28/10/2015 hennymcc:
    * First CM 13.0 test-build

    This section is for developers:
    A README file with build instructions can be found here:


    Developers welcome
    • At the moment the G800F/M/Y specific port of this ROM is only done by two persons (CTXz and hennymcc). Although Unjustified Dev also works on this ROM he does not own an Galaxy S5 Mini but a Galaxy Light which has a similar base but is different when it comes to camera, nfc and other components (maybe even slightly when it comes to audio and radio).
    • Help from other developers is always welcome. See the bug/feature section and this thread to see what is missing. Just give some short info (here in this thread or PM) that you want to work on some issue or feature so that work can be synchronized. Maybe there are also other devs that want to work with you on the same issue.
    • Knowledge in how the kernel works and good programming skills in C, C++ and Java would be nice but not necessary for all problems. At least you should be able to build the ROM and test your changes yourself but you do not need experience in porting ROMs.

    Thanks to CTXz for his awesome work on getting Marshmallow to the G800F

    Thanks to spookcity138 and ayke for providing new builds of this ROM.

    Thanks to Psyafter for some patches and working on the G800F.
    Thanks to Unjustified Dev from Team Regular for the initial work to get the G800F ready with CM.

    XDA:DevDB Information
    [G800F/M/Y][ROM][6.0][MOB31K] LineageOS 13.0 for G800F/M/Y [Beta 28/01/2017], ROM for the Samsung Galaxy S5 Mini

    hennymcc, CTXz, spookcity138, psyafter, Unjustified Dev, ayke
    Source Code: https://github.com/cm-3470

    ROM OS Version: 6.0.x Marshmallow
    ROM Kernel: Linux 3.4.x
    ROM Firmware Required: TWRP Recovery [version >= 15/08/2015]
    Based On: LineageOS

    Version Information
    Status: Beta

    Created 2017-01-26
    Last Updated 2017-04-23
    I uploaded an update of the ROM which fixes the SMS error message.
    The basic services (telephony, internet, audio) should hopefully work now.
    However a new bug was introduced. I am getting 'Not sent. Touch to try again.' error message while sending SMS messages. The messages are sent successfully but with the annoying error message.

    Thanks for the bug report. I was able to fix this. The next build will have a fix for this.
    Maybe I'm missing something, which is very possible, but if the problem is SELinux, why not just change it to enforcing?

    It is no problem to set SELinux to enforcing (it is just a kernel config). The reason why it is set to permissive at the moment is that the SELinux policies are not configured correctly. With these policies you have to tell SELinux what a service/process/application is allowed to do and what not (read/write files, etc).

    So if you just set it to enforcing some (or many) services might simply stop to work if the policies are not configured correctly. So there is a lot of fine tuning to get this right.
    DJSteve worked on it half a year ago. Probably due to the new MM libs the policies have to be changed again. If somebody wants to work on this, give me a message.
    I deleted the snap camera app completely. But the ironic thing is, that the google camera app also crashes when recording video.
    For me video recording works with Snap Camera HDR
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone