[ROM][OFFICIAL][11] LineageOS 18.1 for Samsung Galaxy S5 (klte*)

Search This thread
As far as i can see, this german "cell broadcast national disaster warning day" was a total DISASTER! There were mixed results from region to region, provider to provider and phone to phone. I have a total of five phones two actual Pixel5, one P4a, all have either Stock A13 or A13 based CalxyOS, and one 2016 iphoneSE with IOS 15.7. All had these alerts enabled but only an old (2017) Huawei P10 with a vodafone sim card received the alert. As far as i have infos out of the neighbourhood, mostly german Telekom (T-mobile) was not able to transmit this alert.
The CB "technology is at least 20 yeras old. It is unbelieveable, germany becomes a third world country more and more each day.
Work phone, iOS 15 Telekom worked. Poco X3 Pro A12 o2 worked, old Honor 6 A6 (!) Fonic worked, S5 LOS Vanilla 18.1 Drillisch (o2) -> silence.
 
Last edited:

Lee245

New member
Jul 3, 2010
3
0
S5 Mic Boost Magisk Module - Stereo Recordings



If your device is rooted with Magisk, thanks to a post by @dcarvil in the old 16.x thread here for inspiration, I created a module for myself for a S5 G900M klte to boost the mic via the mixer_paths.xml because my WhatsApp's sound messages were too low.

I did not create a module installer for it yet but you can download the attached Module_mixer_paths_mic_Boost_curiousrom.zip, unpack it and copy the mixer_paths folder to /data/adb/modules & reboot.

After that in the Magisk app > Modules: enable mic_boost_118 as seen in the screenshot & reboot.

I boosted the value for both mics near the USB port and the one on the top of the S5 next to the IR blaster from 95 to 118. If you change it to a higher value expect some distortions in some apps:

Code:
<!-- Recording Scenario  -->
    <path name="rec-main-mic">
        <path name="main-mic" />
        <ctl name="DEC2 Volume" value="118" />
    </path>

    <path name="rec-sub-mic">
        <path name="sub-mic" />
        <ctl name="DEC4 Volume" value="118" />
    </path>

I use a vacuum cleaner once in a while to clean the USB port, the mic hole next to it & also the top mic hole next to the IR blaster which is used when you have stereo recording enabled in some third-party recording apps like Easy Voice Recorder for example. (screenshots)

You can modify the mixer_paths/system/vendor/etc/mixer_paths.xml file in that module folder if you want to change the values of other stuff & reboot to apply.
***

If not rooted using adb root or File Manager in TWRP you can pull the /system/vendor/etc/mixer_paths.xml file, modify it & push it back to the device but that will not survive an update & you will have to redo it afterwards. :-/

Maybe @haggertk could apply this mic boost mod to the official LineageOS 18.1 for the S5 klte family as it is a common issue reported by several users? :unsure:
***

Note: thanks @ludwig83 for your post above linking to my post in the abandoned unofficial S5 18.1 thread. Might as well re-post it here, add a note for non-rooted devices and pinging haggertk about it.
***

@curiousrom Does this method still work with the latest Magisk?
 

DrGEROH

Member
Mar 26, 2011
12
4
I'm finding that battery life with current klte build 18.1-20221227-NIGHTLY-klte (auto updated on 27 Dec 2022) on my SM-900T is terrible. The previous auto updated build (18.1-20221127-NIGHTLY-klte) was much more efficient with regard to power use. Hoping the next auto nightly build fixes this. --g
 

wildcatacu

Member
Jun 13, 2020
11
10
Hello,

I don't use a SIM card on my S5. If Airplane mode is left on when rebooting or from a cold boot, 5Ghz Wi-Fi networks will not be visible unless Airplane mode is toggled again. I've been using my phone for a while now and thought the hardware might fail anytime. A quick google search leads me to this Reddit post from two years ago. The OP found a workaround as described above. Galaxy S5 and Lineage OS 18.1 as well.

A quick search from here doesn't seem to show the bug reported. A quick dirty fix for this maybe is to automate the toggling of Airplane mode.
 

Skulldron

Senior Member
Jan 29, 2016
308
422
Hey Klte KDI users, charging should now be fixed from the next build onwards! It was related with a config in the kernel called extcon, which on previous builds used to break the headphone jack, but in LoS 18.1, that is no longer the case. We now have charging again!
 
Galaxy S5 LTE (SC-04F/SCL23) (kltekdi) Charging Fix

Hey Klte KDI users, charging should now be fixed from the next build onwards! It was related with a config in the kernel called extcon, which on previous builds used to break the headphone jack, but in LoS 18.1, that is no longer the case. We now have charging again!

Thanks for the pointer. :cool: 👍

It got me searching the Changes for kltekdi >>> ARM: configs: lineage_kltekdi: Re-enable CONFIG_EXTCON by dev haggertk:

From a user report, the battery is not charging on this device and
re-enabling resolves this. Without the earlier headphone jack detection
issues.

Next build with that change should be on 2023-02-18 if all goes well with the LineageOS automated builder.

I wonder if you guys still have an S5 kltekdi: @Skulldron @solarisintel123 @Hamza Shahbaz @ArvixxBesin @vd6x @gw1024gb @hk133hk @Jesus Army @tortnoise @EojjN @omegoz .

Seem like this guy had the right fix pointer all along, way back on Nov 28, 2021:

Thanks for for build Japanase Galaxy S5(kltekdi)

But since Lineage-17.1, I'm using modified kernel with EXTCON enabled.
Without EXTCON, the Japanese Galaxy S5(SC-04F, SCL23) will not detect usb charge.
and charger mode is looping reboot.
Kernel with EXTCON enabled, EAR JACK will not detects.
Is there a way to fix it?

lineage_kltekdi_defconfig

CONFIG_EXTCON=y
CONFIG_EXTCON_MAX77804K=y
***
 

hk133hk

Member
Mar 30, 2022
25
4
Hey Klte KDI users, charging should now be fixed from the next build onwards! It was related with a config in the kernel called extcon, which on previous builds used to break the headphone jack, but in LoS 18.1, that is no longer the case. We now have charging again!
Thanks, I would test it when I have time. Thanks to all contributors for their efforts.
 
  • Like
Reactions: curiousrom
Galaxy S5 LTE (SC-04F/SCL23) (kltekdi) Charging Fix



Thanks for the pointer. :cool: 👍

It got me searching the Changes for kltekdi >>> ARM: configs: lineage_kltekdi: Re-enable CONFIG_EXTCON by dev haggertk:



Next build with that change should be on 2023-02-18 if all goes well with the LineageOS automated builder.

I wonder if you guys still have an S5 kltekdi: @Skulldron @solarisintel123 @Hamza Shahbaz @ArvixxBesin @vd6x @gw1024gb @hk133hk @Jesus Army @tortnoise @EojjN @omegoz .

Seem like this guy had the right fix pointer all along, way back on Nov 28, 2021:


***
My screen broke I have ordered the replacement…once fixed i will be back on the track.….#veryMuchExcited
 
  • Like
Reactions: curiousrom

Alex-71

Member
May 7, 2017
30
16
Frankfurt
Since the last update the alarm clock (com.android.deskclock) either rings several minutes too late or even not at all.
In the latter case i get a "missed alarm notification" 10 minutes after the scheduled wake-up time.
Anyone else?
 

luciole75w

New member
Feb 18, 2023
1
0
Since the last update the alarm clock (com.android.deskclock) either rings several minutes too late or even not at all.
In the latter case i get a "missed alarm notification" 10 minutes after the scheduled wake-up time.
Anyone else?
I also have this issue for quite some time (2022-10-23 nightly) and on my device the delayed/missed notifications are actually not limited to the alarm unfortunately, they also concern the agenda events (sometimes 15-30 min later) or worse the sms (have got a notification 3 hours later last week for example, whereas my phone was already in airplane mode for 1 hour). This one is regular and very annoying.
I was hoping that this issue had been spotted and fixed but from your message it looks like there is no good news in the latest build about that :/ Thanks for having spared me the time to install it.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    QR Codes Scanning Issue





    What happens if you use the stock Camera app to scan the QR codes?

    Try with the S5 further away and using the telephoto to zoom in.
    ***
    The QR reader of the stock camera app works, always did. But it seems that a lot of apps use a different method to activate the QR reader or use a different library. Unfortunately it's not so easy to find out what they use because of closed source code.

    Furthermore, QR codes on e.g. scooters are like 2x2 cm in size and with the S5 being further away doesn't work at all because all you get is a blurry white and black something. And there's no zoom function.
    1
    Hello Guys, anybody knows how to enable native call recording with Magisk?
    1
    Hello Guys, anybody knows how to enable native call recording with Magisk?

    For people looking for a workaround if you are currently in a location where call recording is illegal or requires 2 party consent, the simple & free Axet's Call Recorder Module for Magisk works to record both side of the conversation.
    ***
    1
    Galaxy S5 LTE (SC-04F/SCL23) (kltekdi) Charging Fix



    Thanks for the pointer. :cool: 👍

    It got me searching the Changes for kltekdi >>> ARM: configs: lineage_kltekdi: Re-enable CONFIG_EXTCON by dev haggertk:



    Next build with that change should be on 2023-02-18 if all goes well with the LineageOS automated builder.

    I wonder if you guys still have an S5 kltekdi: @Skulldron @solarisintel123 @Hamza Shahbaz @ArvixxBesin @vd6x @gw1024gb @hk133hk @Jesus Army @tortnoise @EojjN @omegoz .

    Seem like this guy had the right fix pointer all along, way back on Nov 28, 2021:


    ***
    I was the user report XD. Already tested and confirmed dont worry :)
  • 47
    2okPze5.png



    LineageOS is a free, community built, aftermarket firmware distribution of Android 11, 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. You will need to provide your own Google Applications package (gapps) . LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    Base source code is available in the LineageOS Github repo. And if you would like to contribute to the project, please visit our Gerrit Code Review.

    Device source code:
    Kernel source code:

    Build Compatibility:
    The noted models are the only ones supported. If you have a model that isn't listed and ask politely then I might work to add compatibility.
    BuildModel
    klteSM-G900F, SM-G900M, SM-G900R4, SM-G900R7, SM-G900T, SM-G900V, SM-G900W8
    klteactivexxSM-G870F
    klteaioSM-G900AZ, SM-S902L
    kltechnSM-G9006V, SM-G9008V
    kltechnduoSM-G9006W, SM-G9008W, SM-G9009W
    klteduosSM-G900FD, SM-G900MD
    kltedvSM-G900I, SM-G900P
    kltekdiSC-04F, SCL23
    kltekorSM-G900K, SM-G900L, SM-G900S

    Downloads:
    Installation Instructions:
    Reporting Bugs:
    Compatibility Notes:
    • Bootloader version doesn't matter. Anyone who tells you so doesn't know what they are taking about. My Developer Edition G900V is still running the original 4.4.2 KK aboot. My G900W8 is running the latest 6.0.1.
    • All builds except for klteactivexx and klteaio MUST be running a marshmallow (6.0.1) radio for RIL to work. If you are about to report that RIL/radio isn't working then I pretty much guarantee this is your issue.
    • You MUST be running a marshmallow (6.0.1) NON-HLOS for the fingerprint reader to work. If you are about to report a fingerprint reader problem then you either have old firmware (update it), your /data was previously encrypted and you performed a "clean" flash without FORMATTING /data (start over and FORMAT /data), or your reader is just broken.
    • External SD cards don't support POSIX (ext*, f2fs) or NTFS filesystems anymore. If this affects you then just bite the bullet, copy any data off you really want to save, and reformat as exfat.
    • The latest TWRP seems like it works, but if someone has issues then perhaps try using the actual supported recovery.
    Donations:
    • I absolutely don't personally accept them. If you really feel that this work deserves it, then find a local food bank or animal shelter/rescue and throw some money their way. You can also throw some the way of LineageOS, but we're actually doing pretty well right now.
    11
    Merry Christmas to you @haggertk and the Lineage team. Thanks for your work throughout the year. All the very best to everyone for 2022
    11
    Official LineageOS 18.1 Updates Now Monthly!

    Bad news & good news. LineageOS in the recent past supported only 2 Android versions @ the same time because of infrastructure, LineageOS automated builder, servers & volunteer staff limitations and with the current testing and eventual launch of LOS 20.0 (no ETA questions please), all 18.1 supported devices should be on the chopping block.

    But this time the devs made an exception. This LineageOS Gerrit Code Review change removed 89 devices from the weekly build roster Drop 18.1 devices:

    if maintainers are still active, their devices can be re-added as monthly.
    And this change added 57 LineageOS 18.1 devices to the new monthly build roster: "I am alive, but very badly burned". Note that the S5 klte* family is on that lineage-build-targets list! :cool: 👍

    Several of those legacy devices like the klte* cannot be promoted to official 19.1 or 20 as explained in LineageOS Changelog 26 - Tailored Twelve, Audacious Automotive, Neat Networking, Devoted Developers > Let’s talk about legacy devices chapter.

    You can see the current LineageOS build roster in the hudson/lineage-build-targets on GitHub. At the present there are 105 devices supported with LineageOS 19.1 weekly builds & + the 57 LineageOS 18.1 devices.

    An amazing achievement for a volunteer-based organization. ↑ (ツ)

    I'm grateful for those LineageOS 18.1 devices that will get about 1 years' worth of monthly Android security bumps & some other changes. ٩(- ̮̮̃-̃)۶
    ***
    10
    SDcard corruption may be caused by a recent Google security patch. I experienced this once with the "new" unofficial LOS17 for the Samsung P605, coming from unofficial 14.1,where this never happened before. But others started complaining about the same issue, after this antique rom got a recent security patch.
    It's (likely) not. I've found an issue in the legacy paths of the recent sdfat (Samsung exfat driver) revision. I haven't been able to recreate the bug/assert after the fix. After getting a second confirmation I'll upload the merge the change.

    Every kernel < 4.8.y that had updated to sdfat 1.4.5 is affected.
    9
    S5 LineageOS 18.1 Update 2021-05-09 - Security Bump, Camera U.I. Fix & Kill App Option

    Using the built-in Updater I OTA updated S5 G900M LineageOS 18.1 klte build 2021-05-02 + MindTheGapps + Magisk 22.1 + TWRP 3.5.2_9-0 to build 2021-05-09: everything went smoothly & GApps + Magisk survived the update.

    There are a bunch of changes as you can see in https://download.lineageos.org/klte/changes/ but of note:

    After the automatic reboot as seen in the screenshot > Settings > About phone > press on Android version > Android security update: May 5, 2021.

    The Vendor security patch level just below it remains @ August 1, 2017 because the vendor is Samsung & it is not publishing security patches for it's S5 proprietary hardware related blobs anymore since August 2017.

    See Android Security Bulletin - May 2021 for details about the security fixes.

    With the change Snap: use translucent control background on 16:9 the stock camera is showing the full frame preview again (screenshot). There are other minor Camera changes.

    Interesting also there is a new Kill foreground app option in > Settings > System > Buttons > for Home, Back & Recents buttons which is useful when an app is frozen or you want to prevent it from using some RAM in the background (screenshot). Note that it may make it slower to open that killed app the next time you want to use it.

    BTW you can create a direct link to Updater & much more with the LineageOS Settings widget. I stacked a few of them on Home to create a LineageOS shortcut folder for quick access.

    Thank you to the Lineage Team & Mr. haggertk for keeping our old S5 up to date. :cool: 👍
    ***