[G800F/M/Y][ROM][7.1][NJH47F] LineageOS 14.1 for G800F/M/Y [Beta 19/08/2017]

Search This thread

Andi46

Senior Member
Feb 7, 2016
238
131
0
Vechta
GPS fix within just 5 sec...

Hi guys and a Happy New Year,

The GPS in Lineage 14.1 really pissed me and i know some more people of you !!!, so the last days i found some time to collect some infos about GPS system/tech here at XDA + Google - i got my S5 mini's GPS acceptable running!!! :D
You need to be rooted, the app GPS status, a plektrum (guitar) a little screwdriver and a hair dryer
these are the steps i have patiently done
  1. open your S5 mini, take off the battery+SIM+external, then use a hairdryer (hottest + highest blower level) to warm up the upper left corner. I'd say about 15-25 seconds from 10cm distance. - don't melt it! take a Plektrum (guitar) and begin lifting up the lower right corner near the frame (att. picture) . warm up the cover more for a short time, push the plektrum stepwise counter clockwise forward, repeat till the cover (GPS antenna) gets off.
    take a little srewdriver and lift up the pin of the GPS antenna (att. picture)
    Reassemble the antenna precisely , you should push the antenna down with a screwdriver and warm it up once more (to reactivate the adhesive)
  2. in root explorer the first root tab go to /etc. open the gps.conf - to 1. edit the line of NTP server to europe.pool.ntp.org
    2. the SUPL_Host server / SUPL_PORT to your needs (i took T-Mobile + see attached AGPS server addy.txt + my gps.conf !)
    OR
    in root explorer the first root tab go to /etc and the other tab to where you stored the file previously.
    copy the gps.conf and replace the existing in /etc - root explorer asks you to mount + replace the existing file
    afterwards set the permissions of the file to 0644 aka rw-r--r-- (att. picture)
    close root explorer
  3. turn your location settings off + put the phone in airplane mode
    open GPS status go to menu/manage A-GPS data and reset them
    close the app for at least 10seconds
    turn your location on (GPS only) and deactivate airplane mode + wait till mobile network connects
    open the app go to menu/manage A-GPS data to download new data
    then immediately it's the best you're sitting outside in the garden and it's a clear day
    go back to status screen and lay your phone on the table
    after quite a while you'll see first it finds GPS sattelites, later it sees the GLONASS sats also - but it isn't able to get a fix by the GLONASS sats
    then it's REALLY IMPORTANT to let the phone there with screen ON !!! + GPS status status page for 15 mins!!! - the phone caches some GPS data in the time - necessary to get a ,,HOT Start'' the next time
    https://mobiwia.com/gpsstatus/faq/

    (the GLONASS malfunction is because of Lineage 14.1 - :( - they weren't able to get the GLONASS side running and aren't :(
    there have been some ESSENTIAL changes the way GPS is implemented in Android N
    but while in newer phones with stock rom or LineageOS 13 the GLONASS and even Galileo part is fully functioning it doesn't in Lineage 14.1)
    i tested the last days with M stock rom, Lineage 14.1 and my brothers S7 edge
    and also Lineage 15.0 - but there the GPS doesn't function
Wish you good luck for all steps and take your time... :fingers-crossed:
Now the only thing that's harming a perfect GPS guidance is the loose of the compass calibration after reboot + the time the calibration process is taking
(in Stock Rom it took 3sec!!!)
screenshots were taken inside the house near a window!, if you're outside you'll be able to see 11 - 16 sats and get a fix in 5 secs even if all done inside...
 

Attachments

  • Modded-EU-T-Mobile-SUPL-GPS.conf.rar
    248 bytes · Views: 55
  • IMG_20171230_164552.jpg
    IMG_20171230_164552.jpg
    237.3 KB · Views: 727
  • Screenshot_20171231-044352.png
    Screenshot_20171231-044352.png
    84.9 KB · Views: 704
  • Screenshot_20171231-215007.png
    Screenshot_20171231-215007.png
    255.4 KB · Views: 705
  • Screenshot_20171231-214504.png
    Screenshot_20171231-214504.png
    179.9 KB · Views: 647
  • IMG_20171230_164549.jpg
    IMG_20171230_164549.jpg
    244.8 KB · Views: 642
  • logcatMPL-ALPS.rar
    59.7 KB · Views: 15
Last edited:

starbright_

Senior Member
Apr 11, 2010
1,270
206
83
Now the only thing that's harming a perfect GPS guidance is the loose of the compass calibration after reboot + the time the calibration process is taking
(in Stock Rom it took 3sec!!!)
screenshots were taken inside the house near a window!, if you're outside you'll be able to see 11 - 16 sats and get a fix in 5 secs even if all done inside...
Thanks for this.
Regarding the compass - it is very likely that the fail in writing the calibration file is the reason. Is this due to permissions in the filesystem?

An addition to that:
I installed microG (to get rid of google services) and a unifiedNlp backend on device. It creates a offline database with cell-towers - so I have a (very rough) position withough wasting any energy for GPS. This is sufficient if you travel with trains for a longer distance - just as an example.
 
  • Like
Reactions: Andi46

kapitaen02

Member
Sep 4, 2012
15
5
0
Stuttgart
Which filesystem uses your card? How did you put the files to the SD card? External by a cardreader or if the card is inside the device? Is the card integrated or setup as external transport media?

128GB work, give 119GB usable space in Total Commander
Formatted as fat32, with PC in the kminilte integrated as external media. Currently I use over 80 GB.
 
Last edited:
  • Like
Reactions: starbright_

Z00nkor

Senior Member
Aug 28, 2017
80
26
18
Is it still recommended to flash the latest version of Panzerknacker ?
Any known bugs ? I would like to use microG and unifiedNlp as well...
I got S5mini eu version ;)
 

Schlodty

New member
Sep 16, 2015
4
2
0
Since I upgraded from Stock Rom to Lineage OS 14.1 I have the problem, that the loading of webpages, but also loading of other data in other apps like weather or quiz duell, sometimes takes very long. I can record logcat files, but where should I post them? Is it better to post the problem in the 15.0 thread? And is anybody willing to investigate the problem?

Thank you and kind regards
Markus
 

CherAlban

Member
Nov 30, 2014
37
21
0
Hannover
No Notificaton LED on Panzerknakker 20180116

When running Panzerknakker 20180116 my notification LED is not working for any notification. Going back to Panzerknakker 20161221 resolves the problem.

CherAlban
 

2faraway2

Senior Member
Apr 24, 2016
159
23
18
@hennymcc : Thanks a lot for your explanation

To be honest: The picture part of the cam works very well (in LOS 14.1, 20171025-build by panzerknacker), only the video recording part does not .. the result is more or less a 5 to 10 fps recording instead of the desired 30 fps recording ..
Exactly this part works better in LOS 13 (your 20170128-build).

btw: Thank you very much for your continious work on LOS for the S5 Mini :)

The new @Panzerknakker january-build brought back a fully working video-recording :)
@Panzerknakker , @hennymcc : Thanks guys :good::good::good:
 

Fanolamas

New member
Jan 26, 2018
1
0
0
I cant get the Gapps to word

Wen i install the Gapps it shows me an error and it says google play store stoped responding , but when i dont install Gapps the rom work great. Can someone help me ??
 

Zaphood22

Member
Nov 16, 2017
5
3
0
Successful Installation of "lineage-14.1-20180116" Version

Hi there,
had a successful installation of Panzerknakkers lineage-14.1-20180116-UNOFFICIAL-kminilte. Was my first installation of a custom rom on my S5 mini (after I put a CM13 on my wife's S4 mini two years ago). Used Odin 3_v3.12.3 to flash twrp-3.2.1 and installed open_gapps-arm-7.1-nano-20180126 together with the lineage.
After flashing TWRP, I could not shut down the device other than by pulling out the battery. But booting in the recovery mode worked anyway afterwards. I made a backup in TWRP and put the zip files on the SD. Wiped everything according to hennymcc's guide at the first post of the thread and in TWRP formatted /Cache and /Data partitions with F2FS according to this guide, and than installed the zips.
Now the phone definitely feels faster than ever, but I'm not sure whether the battery life is a bit shorter. I use Camera FV-5 to take pictures, did not try video yet. GPS works fine. Z-Launcher is my launcher of choice.
The only issue is a small one so far: I taught the device my fingerprint, and despite the fact that I cannot choose it for the lock screen in the security settings, it is offered randomly for using so. I have the Samsung original flip cover (without window) and in the fIip cover settings I set the screen to be switched off immediately. Sometimes it offers the padlock symbol (I use a PIN than), sometimes the fingerprint symbol. Sometimes, if I flip the cover again, it switches from padlock to fingerprint. Hm.:confused:

Anyway, a big thank you for your efforts, made my device work like a new one! :good:
 

Andi46

Senior Member
Feb 7, 2016
238
131
0
Vechta
I'm hopefully posting again all kind of logs i know of - eventually @hennymcc or someone else gets a better overview regarding the compass calibration issue and some sensor errors :fingers-crossed:
 

Attachments

  • dmesg.rar
    56.1 KB · Views: 2
  • logcat.rar
    73.4 KB · Views: 0
  • logcat_radio.rar
    26.2 KB · Views: 0
  • Like
Reactions: starbright_

Top Liked Posts

  • There are no posts matching your filters.
  • 59
    This is a LineageOS 14.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

    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.

    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.

    Working features
    • HW accelerated GUI
    • Camera (pictures+video: Back+Front) (switching between camera and video-recording might crash the camera-app)
    • MTP storage
    • 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
    • Fingerprint scanner
    • SELinux

    Non-working features:

    Known issues:
    • Camera crashes when switching from camera to video. Use Google camera or Open camera to solve camera issues.
    • See the Bug Report section of this thread.

    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)
    • 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.

    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, power of your device, wait a few seconds and 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.

    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 14.1.

    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 the 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 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:
    Changelog:
    19/08/2017:
    * SELinux policy update
    * Update to newest LineageOS sources
    02/06/2017:
    * Firefox crash&reboot fixed (thanks to Spookcity)
    * Enabling the fingerprint reader does not cause bootloops anymore (thanks to Spookcity)
    * Ambient display option added (disabled by default)
    28/05/2017:
    * [COLOR="red"]Note: ROM is stuck in bootloop when fingerprint reader is enabled. ROM removed.[/COLOR]
    * Enabled selinux (thanks to mirhciulica for fixing all those selinux denials). If you encounter problems check for "avc: denied" messages in logcat (see: https://source.android.com/security/selinux/validate)
    * Fixed Snapchat and SafetyNet problems (Snapchat reported server errors, Safetynet Helper reported a 1970 timestamp): Kernel patch was necessary.
    * Updated kernel to 3.4.107
    * Applied most of the patches from [URL="https://android.googlesource.com/kernel/common/+/deprecated/android-3.4"]kernel/common/deprecated/android-3.4[/URL]
    * Updated LineageOS sources
    * FlipFlap added to support smart flip covers: shows a screen with the current time in the window of the smart cover. Note that this relies on the magnetic sensor at the bottom of the phone. So magnets near the sensor can trigger this behavior too.
    * Replaced the buggy Gello webbrowser with Jelly - the new LineageOS default browser
    * Replaced the buggy Snap camera with the LineageOS default camera app
    * Replaced the Samsung battery charger app (lpm) with healthd (looks uglier but at least works with selinux)
    
    20/02/2017:
    * Fixed Youtube scaling issue on window resizing
    * Compass fixed (thanks to mirhciulica for figuring out what's wrong)
    * cpufreq config added
    * Charge mode fixed (starts when plugging USB into a powered-off phone)
    * USB-Tethering and Wifi SoftAP (Hotspot) fixed
    * Camera doesn't crash when switching between camera and video (but might still crash sometimes)
    * Fingerprint libs reverted from MM to LP (maybe that fixes the fingerprint issues - please test)
    
    01/02/2017:
    * conversion to LineageOS
    * updated some libs with stock MM versions
    * fixed robotic voice problem
    * fixed silence on first call
    
    07/11/2016:
    * Initial test build

    This section is for developers:
    A README file with build instructions can be found here:
    Code:
    https://github.com/cm-3470/android_device_samsung_kminilte

    Sources:
    Code:
    https://github.com/cm-3470/android_device_samsung_kminilte
    https://github.com/cm-3470/android_vendor_samsung_kminilte
    https://github.com/cm-3470/android_kernel_samsung_kminilte
    https://github.com/cm-3470/android_device_samsung_smdk3470-common

    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, Psyafter, spookcity138, ayke and mirhciulica for working on this ROM.

    XDA:DevDB Information
    [G800F/M/Y][ROM][7.1][NJH47F] LineageOS 14.1 for G800F/M/Y [Beta 19/08/2017], ROM for the Samsung Galaxy S5 Mini

    Contributors
    hennymcc, Panzerknakker, spookcity138, psyafter, ayke
    Source Code: https://github.com/cm-3470

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

    Version Information
    Status: Beta

    Created 2017-02-01
    Last Updated 2018-08-18
    21
    Hi there is a new build:
    https://www.androidfilehost.com/?fid=529152257862704787

    Changelog:
    • Fixed Youtube scaling issue on window resizing
    • Compass fixed (thanks to mirhciulica for figuring out what's wrong)
    • cpufreq config added
    • Charge mode fixed (starts when plugging USB into a powered-off phone)
    • USB-Tethering and Wifi SoftAP (Hotspot) fixed
    • Camera doesn't crash when switching between camera and video (but might still crash sometimes)
    • Fingerprint libs reverted from MM to LP (maybe that fixes the fingerprint issues - please test)
    21
    Official TWRP 3.1.1

    I've worked together with the TWRP maintainers to make TWRP official, and it's finally here :D
    https://forum.xda-developers.com/galaxy-s5-mini/orig-development/recovery-twrp-3-1-1-exynos-t3626646

    You can download it from here:
    https://twrp.me/devices/samsunggalaxys5miniexynos.html
    21
    A new build is available:
    https://www.androidfilehost.com/?fid=961840155545570720

    It turned out that the patch found by Spookcity not only fixes Firefox but also the fingerprint bootloop. So the new build should be usable again.
    As the initial bootloops probably were also caused by the fingerprints it should not be necessary anymore to wipe everything (although still recommended).

    Changes:
    • Firefox crash&reboot fixed
    • Enabling the fingerprint reader does not cause bootloops anymore
    • Ambient display option added (disabled by default)
    17
    A new build is available.
    https://www.androidfilehost.com/?fid=889764386195902448

    Changelog:
    Code:
    * Enabled selinux (thanks to mirhciulica for fixing all those selinux denials). If you encounter problems check for "avc: denied" messages in logcat (see: https://source.android.com/security/selinux/validate)
    * Fixed Snapchat and SafetyNet problems (Snapchat reported server errors, Safetynet Helper reported a 1970 timestamp): Kernel patch was necessary.
    * Updated kernel to 3.4.107
    * Applied most of the patches from [URL="https://android.googlesource.com/kernel/common/+/deprecated/android-3.4"]kernel/common/deprecated/android-3.4[/URL]
    * Updated LineageOS sources
    * FlipFlap added to support smart flip covers: shows a screen with the current time in the window of the smart cover. Note that this relies on the magnetic sensor at the bottom of the phone. So magnets near the sensor can trigger this behavior too.
    * Replaced the buggy Gello webbrowser with Jelly - the new LineageOS default browser
    * Replaced the buggy Snap camera with the LineageOS default camera app
    * Replaced the Samsung battery charger app (lpm) with healthd (looks uglier but at least works with selinux)
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