[STABLE] LineageOS 17.1 for Galaxy S7 build 23

Search This thread

.Michael.

Member
Dec 27, 2020
12
2
Samsung Galaxy S7
Some news from the not working LED signalizing (1st recognized with my e-mail app): I recently installed the Signal messenger, it was triggering the LED to blink in blue color if a new message came in. This worked fine for days. Then I used the "mute" (GER: Stummschalten) feature and afterwards the LED was never again working (the sound is back). So it seems if once some "off / disable LED" setting was used by an app then this cannot be undone!
Is there some Android system feature where I can restore the "default LED settings"?
P.S. Sometimes I can see that my e-mail app is triggering the LED for a briefly light up.

2021-05-23: After a reboot the Signal app LED is back at operation.
 
Last edited:
I tried using a Lineage OS ROM on this phone last year, but it seemed to be missing whatever software that compensates for having the microphone right next to the speaker, e.g. whenever I used speakerphone, sound quality was terrible for the person on the other end of the call. Has this been corrected?
 

fipsy

Senior Member
Feb 6, 2013
795
293
Hannover, Germany
Simple answer: No.

There are numerous things that are not working. The LED frequently stops to work. As well as Bluetooth and WiFi. The phone also frequently executes spontaneous reboots when any camera app saves a video to the external sdcard.
 
Last edited:

mbecroft

Member
Jul 11, 2011
29
7
Auckland
I tried using a Lineage OS ROM on this phone last year, but it seemed to be missing whatever software that compensates for having the microphone right next to the speaker, e.g. whenever I used speakerphone, sound quality was terrible for the person on the other end of the call. Has this been corrected?
I have the same issue.
Specifically:
- On speakerphone, the remote party hears their voice echo very loudly (as loud as normal speech)
- On handset, the remote party hears an echo but it is relatively low in volume
- On an external bluetooth headset, there are no problems, everything works perfectly.

I wish someone could look into this - it's the only real problem I seem to have with this ROM. When OP said basically everything works, I did not expect this!

Is there anything I can tweak that might help?

Cheers
 

rdelmont

Senior Member
Jan 4, 2019
69
25
I have the same issue.
Specifically:
- On speakerphone, the remote party hears their voice echo very loudly (as loud as normal speech)
- On handset, the remote party hears an echo but it is relatively low in volume
- On an external bluetooth headset, there are no problems, everything works perfectly.

I wish someone could look into this - it's the only real problem I seem to have with this ROM. When OP said basically everything works, I did not expect this!

Is there anything I can tweak that might help?

Cheers
That's an old topic guys, there are several posts in this thread about this stuff... Just search :)
 

.Michael.

Member
Dec 27, 2020
12
2
Samsung Galaxy S7
I have the same issue.
Specifically:
- On speakerphone, the remote party hears their voice echo very loudly (as loud as normal speech)
- On handset, the remote party hears an echo but it is relatively low in volume
- On an external bluetooth headset, there are no problems, everything works perfectly.

I wish someone could look into this - it's the only real problem I seem to have with this ROM. When OP said basically everything works, I did not expect this!

Is there anything I can tweak that might help?
I tried this fix, it is NOT cancelling the echo problem but it makes it better. i.e. the echo is less loud at the communication partner. Disadvantage: Now I have sometimes glitches (short laud noise) when I speak and also a minor echo :-(.
 

.Michael.

Member
Dec 27, 2020
12
2
Samsung Galaxy S7
... When OP said basically everything works, I did not expect this!
That is exactly the problem with this ROM and several users (also me) tried to convince Ivan_Meler to change its statement in the initial post but he is not reacting to such complains (maybe because for most users the ROM is OK and the others are not important for him).
If someone can provide a working echo and LED fix: I offer 25 EUR (and if other users would do the same then the incentive increases).
 
  • Like
Reactions: fipsy

Mint Julep

Senior Member
Aug 31, 2017
250
65
That is exactly the problem with this ROM and several users (also me) tried to convince Ivan_Meler to change its statement in the initial post but he is not reacting to complains (maybe because for most users the ROM is OK and the others are not important for him).
If someone can provide a working echo and LED fix: I offer 25 EUR (and if other users would do the same then the incentive increases).
Man seriously, the echo problem have been discussed so many time : dev can't do **** about it because. Developping an anti echo from scratch would cost a lot more than 25€ just to solve a minor issue (because if the echo bother you this much, lower the volume or use a headset.)
 

.Michael.

Member
Dec 27, 2020
12
2
Samsung Galaxy S7
Man seriously, the echo problem have been discussed so many time : dev can't do **** about it because. Developping an anti echo from scratch would cost a lot more than 25€ just to solve a minor issue (because if the echo bother you this much, lower the volume or use a headset.)
If all communication partners complain about the call quality then it is a minor issue, really? I also said "... if other users would do the same then the incentive increases".
 

Mint Julep

Senior Member
Aug 31, 2017
250
65
If all communication partners complain about the call quality then it is a minor issue, really? I also said "... if other users would do the same then the incentive increases".
I repeat : lower the volume or use a headset. And even if it's not very pleasant, no, I don't think it's a major issue. Depends on your usage, I personnaly don't call that much.
 

Mint Julep

Senior Member
Aug 31, 2017
250
65
does the echo isse only applicable to stock phone app? or even viber & telegram calls ?

does the echo isse only applicable to stock phone app? or even viber & telegram calls?
It's an issue with noise cancellation. The microphone and the speakerphone are very close on s7 so if you don't have a post treatment of the sound, basically, the mic capture the sound from the speakerphone ans people ear themself.

Some app may have an included noise cancellation system but I don't know wich one does and wich one don't.
 

mbecroft

Member
Jul 11, 2011
29
7
Auckland
It's important to note there are 3 distinct scenarios where echo issues may/may not arise:

1. Talking on handset
2. Talking on speaker-phone
3. Talking on BT headset

Also, in all cases, any echo is only heard by the remote party; the audio on the S7 is perfect.

I had totally unacceptable ridiculous echo in case (2), but this was 100% resolved by the fix posted a few pages earlier in this thread which patches a system audio config file. Speakerphone functionality went from completely unusable to 100% perfect quality with that patch. After putting a case on the phone obstructing the microphones somewhat, the (2) echo returned, but much less severe than before.

Case (3) always works fine as the audio processing is done on the BT device.

So at this point, case (2) has a fix that works perfectly, and case (3) is fine, never had a problem.

This leaves case (1) talking on handset. Here, I get a definite echo, it is faint enough that it's still possible to talk, but nonetheless sounds unprofessional and is sometimes off-putting to callers.

Given how simple it was to fix case (2) with the patched audio config file (at least, simple in hindsight) I wonder if there are any tweaks that would help with case (1)?

Alternatively, what prevents using the stock kernel and qualcomm binary blobs for audio processing?

It's also unclear whether only certain variants of the phone are affected, or if others are just putting up with it as it is.

Also raises the question of how is this problem handled in LOS on other devices (Samsung or other vendors)?

Let's discuss how we can work on this, if it's possible at all.

I would chip in money to fix this, too, although obviously implementing completely new audio DSP software is not feasible.

I wish the 1st post acknowledged there are phone sound issues, rather than stating that the ROM has no known issues...then I might have thought twice about installing it. That said I really really want LineageOS if only this and a few other glitches could be fixed. I do appreciate all the work devs are doing, for free!
 

.Michael.

Member
Dec 27, 2020
12
2
Samsung Galaxy S7
I don't know if your statement:

ridiculous echo in case (2), but this was 100% resolved by the fix posted a few pages earlier

refers to the post I have linked:
I tried this fix, it is NOT cancelling the echo problem but it makes it better. i.e. the echo is less loud at the communication partner. Disadvantage: Now I have sometimes glitches (short laud noise) when I speak and also a minor echo :-(.
but as you can read it is on my phone not doing the job and I have now an echo of my voice. At my next flashing session the fix will be no longer part of the process, i.e. I prefer the previous behavior where only the person on the other side has an issue.
 

fipsy

Senior Member
Feb 6, 2013
795
293
Hannover, Germany
[..] but he is not reacting to such complains (maybe because for most users the ROM is OK and the others are not important for him).
Has he ever responded to any question or criticism from any user here? I don't think I have read anything like that yet. And this ROM has more than just one flaw. I am particularly annoyed about the recurring Bluetooth crashes. And especially about the fact that the WiFi connection is always switched off after about 20 minutes of standby and this cannot be prevented. All these things are something that bothers me to a certain extent and where I am annoyed in retrospect that I once donated money for this project. I have some freeware projects running myself and I always answer questions from users. And every donation receives a thank you. Even if this can be quite time-consuming with several hundred donations a month.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    I hear your pain - unfortunately criticizing the developer/OP is probably not the most productive course.
    I don't do that kind of thing lightly. Before I do something like that, it must be really bad. I installed this OS for daily use a year ago because I assumed it had no bugs as described in the opening post. That it has so many fundamental errors could not be seen in the thread here at that time. What actually annoys me is the fact that I'm feeling duped, because the statement in the opening post is simply not true. Fundamental errors in the microphone, bluetooth or Wi-Fi are not irrelevant and should be named.

    But enough grumbling. I would really appreciate it if someone would take it into their own hands to change something for the better!
    1
    ... When OP said basically everything works, I did not expect this!
    That is exactly the problem with this ROM and several users (also me) tried to convince Ivan_Meler to change its statement in the initial post but he is not reacting to such complains (maybe because for most users the ROM is OK and the others are not important for him).
    If someone can provide a working echo and LED fix: I offer 25 EUR (and if other users would do the same then the incentive increases).
    1
    Just for the record: I hadn't any echo issues on my S7 with Ivan's LOS 14.1 ROM.
    1
    Reading these posts about developing here get me more questions than its solve.
    Could someone please explain how this Rom get developed compared to a supported LineageOS?

    My opinion was that @Ivan_Meler has an S7, write some own kernel patches for missing drivers which went into the LineageOS repo and create his own ROM and If the phone quality has reached a certain Quality it gets official.

    As far I read until now, it seems I misunderstood something?
  • 155
    k5tUT1V.png

    LineageOS 17.1 for herolte

    Code:
    /*
    * Your warranty is now void.
    *
    * I am not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at me for messing up your device, I will laugh at you.
    */

    Working:
    - Wifi
    - Sound
    - mali drivers
    - USB tethering
    - HW Backed video Playback
    - Ril (Mobile data,calls, sms and stuff)
    - Sensors
    - Buttons and their backlight
    - Bluetooth
    - Wifi HotSpot
    - MTP
    - 2D and 3D gpu acceleration
    - HW encoding/decoding
    - Charging with device powered off
    - Stuff I didn't test yet
    - Camera
    - HWcomposer (HWC)
    - GPS
    - Fingerprint Sensor
    - Mobicore
    - SW codecs

    Not Working
    -


    Take a note that a lot of LineageOS features have not been completed yet this is not a device bug and please do not report those
    in this rom thread as you will be reported to moderator also do not post bug reports for known issues or bug reports without proper
    a) Logcat
    b) proc/last_kmsg (or proc/kmsg)
    c) data/tombstones
    d) dmesg

    Also do not under any circumstances post bug reports if you are using substratum themes or unsupported magisk modules or you have performed any system modifications



    Install gapps right after installing the rom itself dont try to boot to system before that

    Downloads:
    Google Drive
    Mega.nz
    MD5: e926dc6a8afcde5680cc12995fbd0da1

    Gapps

    I do this in my free time so bear that in mind when you notice I didn't fix known bug in next available build, Currently i work on this alone and i am not one of those kangers that just copy source and claim it as their own work,
    if you want to support the project feel free to buy me some coffee paypal.me/ivanmeler




    Feel free to join telegram group with early builds progress updates and some off topic stuff Join


    Based On Android 10/Q
    Changelog

    10.05.2021.
    - Merged May 2021 Security Update
    - Synced with LOS source

    09.04.2021.
    - Merged April 2021 Security Update
    - Synced with LOS source

    06.03.2021.
    - Merged March 2021 Security Update
    - Fixed mouse pointer icon
    - Fixed issues with frp
    - Synced with LOS source

    03.02.2021.
    - Merged February 2021 Security Update
    - Added proper flicker free (DC dimming) implementation
    - Added support for smart cover
    - Misc performance and stability improvements

    12.01.2021.
    - Merged januart 2021 Security Updat
    - Fixed issues with fingerprint in 3rd party secure apps (banking apps paypal password managers)
    - Updated prebuilt binaries
    - Cleaned up mixer paths
    - Added neural network drivers
    - Disabled p2p mac randomization
    - Fixed wifi direct
    - Removed unused 32bit drivers
    - Improved performance and stability
    - A lot more unmder the hood changes

    11.12.2020.
    - Merged December 2020 security update
    - Added wireguard to kernel
    - Update proprietary blobs to G93*KKKU3ETJ1 (Stuff that is not already using note fe blobs)
    - Moved most of libraries to vendor subfolder
    - Merged N935FXXS7CTJ2 kernel source
    - Downported some changes from lineageos 18
    - Misc performance and stability improvements
    - Synced with LOS source

    10.11.2020.
    - Hotfix build with fixed stuttering issues from previous build

    08.11.2020.
    - Added irqbalance implementation adopted for 8890
    - Improved power hal freq. boosting with (Should make whole system a lot smoother)
    - uprevved configstore to 1.1
    - Adjusted dex2oat rules to allow it to use up to 6 threads under load
    - Misc performance and stability improvements
    - Merged November 2020. Security update
    - Synced with LOS source

    08.10.2020.
    - Improved audio handling in some voip apps (microphone)
    - Adjusted zram values
    - Imrpoved UI performance
    - Merged october 2020 securiy update
    - Misc performance and stability improvements
    - Synced with LOS source

    11.09.2020.
    - Updated vendor blobs to N935KKKU4CTH1 with August 2020 vendor security update
    - Enabled dynamic audio processing effects
    - Improved microphone performance (Should also resolve headset mic issues with some apps)
    - Increased recording volume
    - Misc performance and stability improvements
    - Merged September 200 security update
    - Synced with LOS source

    11.08.2020.
    - Improved ui performance
    - Resolved FRP issues
    - Added sunlight enhancements for better visibility under direct sunlight
    - Further Improved camera stability
    - General performance and stability improvements
    - Synced with LOS source

    05.08.2020.
    - New working camera drivers
    - Improved power hal frequency handling
    - Fixed echo in calls
    - More precise signal reporting
    - Added expandable volume panel
    - Selinux is enforcing
    - Kernel is using latest note FE base
    - All of the drivers have been updated to latest note fe base
    - Merged latest security updates merged (August 2020)
    - New and improved power hal
    - New thermal hal
    - Ability to disable fast charging from settings
    - Ability to enable flicker free from settings
    - Ability to change vibration intensity from settings
    - In call volume adjustment has been fixed
    - Improved stability and performance (No random reboots anymore)
    - Improved memory management
    - Working hardware backed encryption
    - Working AudioFX
    - A lot more imrpovements that didnt make it to the list


    03.06.2020.
    - Merged June 2020. Security update
    - Fixed crashes caused by graphics mapper
    - Added advanced display features
    - Color calibration backed up by mDNIe
    - Accessibility mode
    - More Modes?! check for yourself under Settings>Display
    - Enabled zram
    - Switched to bfq IO scheduler
    - Switched to common Doze implementation
    - Switched to mke2fs for fs generation and checking to improve performance and stability of filesystem
    - Reenabled call recording for supported countries
    - Added DRM hal
    - Improved bionic runtime speeds by setting it to use exynos-m1 core optimizations
    - Disabled samsung ZSWAP
    - performance and stability improvements
    - Synced with LOS source

    05.06.2020.
    - Switched to system side LMKD
    - Fixed headphones (aux) microphone input
    - Imporved UI performance
    - Fixed ringtone output being routed to speaker with headphones/bt device plugged in
    - Merged May security update
    - General stability improvements
    - Synced with LOS source

    04.23.2020.
    - Fixed audio routing to speakerphone after call
    - Updated vendor security patch to march 2020
    - Power hal improvements
    - Added AptXHD support
    - Merged new gralloc and mali blobs from G93*FXXS8ETC6
    - Updated camera blobs
    - Updated omx blobs
    - Updated wifi firmwares
    - Merged april 2020 security update
    - Misc performance and stability improvements
    - Synced with LOS source

    03.11.2020.
    - Removed camera wrapper that was causing issues with some apps
    - Improved BT audio/call handling
    - Updated power hal (Fixed hw keys reactivating while they should be off (Gestures are enabled))
    - Fixed WiFi speed drops with bt enabled
    - Merged XXU5ESD2 kernel changes
    - Merged XXS6ESI4 kernel changes
    - Fixed kernel side security issues related to binder
    - Merged march security update
    - Synced with LOS source

    02.07.2020.
    - Added AptX bluetooth audio blobs back
    - Added new power hal which has more control over performance battery life (You cna also control
    profile of device under battery entry in settings (Powersave/balanced/performance))
    - Improved notification light on/off handling
    - Added back Snap camera with working video recording
    - Binderized audio hal process
    - Added back camera wrapper
    * Fixed Camera3 metadata
    * Enabled HAL1 for some apps that had issues previously (e.g. whatsapp,snapchat,facebook,instagram)
    * Fixed 2k/4k video recording handling in some apps
    * Fixed bug where camera would hang after canceling auto focus in some legacy apps
    - Enabled batch and backgroun Wifi scanning
    - Fixed dual band wifi support
    - Misc performance and stability improvements
    - Synced with LOS source

    01.22.2020.
    - Merged january security update
    - Fixed broken git tag detection in kernel which would show -dirty in kernel version
    - Fixed dialer lag with touch tones enabled
    - Added back Camera2 as snaps video recording was broken
    - Removed unused custom gps impl
    - Removed unused gps headers
    - updated audio headers and fixed wrong declaration of SOUND_DEEP_BUFFER_DEVICE
    - Added audio effects config for sound hal
    - Updated audio policy to bne able to use aux as output
    - Added libtinycompress
    - Reimplemented audioserver arch
    - Reimplemented audio hal and so its only building single arch now
    - Fixed sound in games and voip apps like whatsapp
    - Fixed audio routing going thru earpiece after calls
    - Misc performance and stability improvements
    - Merged LOS source

    05.01.2020.
    - Properly fixed Dual sim device detection
    - Switched to early mounting EFS from dtb instead from fstab file
    - Switched to new radio interface used for signal reporting instead of using frameworks hacks to do so
    - Fixed OpenCL
    - Fixed Vulkan
    - Removed proximity check on system wake which was unusable
    - Added Snap camera app back instead of Camera2
    - Merged December system security patch from r18 tag together with all new features introduced with it
    - Misc performance and security improvements

    19.12.2019.
    - Fixed software codecs (sw video playback)
    - Fixed random crashes related to audio/video subsystem
    - Fixed detection of dual sim devices
    - Fixed wireless tethering
    - Fixed regression that broke front facing camera
    - Reimplemented sensor hal to handle SSENSOR permission properly on aosp
    - Audio pahts file has been completely rewritten and cleaned up
    - Added trust HAL to control usb otg
    - Added device health hal
    - Merged november security update to vendor
    - Reimplemented display modes as hidl interface
    - Reimplemented touch features as hidl interface
    - Switched to hardware/samsung power hal
    - Switched to a new light hal
    - Added back AdvanceDisplay
    - Misc performance and stability improvements
    - Synced with LOS source

    05.11.2019.
    - Updated RIL hal to latest P blobs from samsung
    - Updated GPS hal to latest P blobs from samsung
    - Updated LHD (sensors) hal to latest P blobs from samsung
    - Imrpoved handling of hal1 apps
    - Updated mobicore
    - Fixed GPS and Fingerprint
    - Replaced FP driver with HIDL interface one
    - fixed ashmemd access issues
    - misc audio fixes
    - Stability and performance improvements

    08.10.2019.
    - Initial release



    XDA:DevDB Information
    LineageOS 17.1 for Galaxy S7, ROM for the Samsung Galaxy S7

    Contributors
    Ivan_Meler
    Source Code: https://github.com/8890q/android_kernel_samsung_universal8890/tree/lineage-17.1

    ROM OS Version: Android 10

    Version Information
    Status:
    Stable
    Stable Release Date: 2020-12-11
    Current Beta Version: 1.2.0

    Created 2019-10-08
    Last Updated 2020-12-11
    69
    So here is a progress update, Fingerprint issues have been completely patched, Mobicore and fingerprint implementation has been completely reworked which was a mess, In other news GPS has also been fixed which involved reworking whole RIL stack and im testing builkd with those fixes at the moment there are also a lot smaller fixes in this build i will post in changelog once new build is up in few days hopefully if everything goes alright

    DKUTtxQ.jpg
    67
    Sorry for a bit buggy first releaser and delays, Had a little accident and ended up with hospital so i didnt include fixes that are on my local PC but still wanted to release somethig for the comunity, hope you enjoy it
    52
    new build is up with a lot of improvements here if brief changelog

    - Updated RIL hal to latest P blobs from samsung
    - Updated GPS hal to latest P blobs from samsung
    - Updated LHD (sensors) hal to latest P blobs from samsung
    - Imrpoved handling of hal1 apps
    - Updated mobicore
    - Fixed GPS and Fingerprint
    - Replaced FP driver with HIDL interface one
    - fixed ashmemd access issues
    - misc audio fixes
    - Stability and performance improvements

    Big thanks to everyone for support on the project so far and for donations which help offset the build server cost
    43
    New build is up this one can be labeled as stable (Read red text, Use chrome beta and remove password if updating from beta version of rom)
    Here is a brief changelog
    - New working camera drivers
    - Improved power hal frequency handling
    - Fixed echo in calls
    - More precise signal reporting
    - Added expandable volume panel
    - Selinux is enforcing
    - Kernel is using latest note FE base
    - All of the drivers have been updated to latest note fe base
    - Merged latest security updates merged (August 2020)
    - New and improved power hal
    - New thermal hal
    - Ability to disable fast charging from settings
    - Ability to enable flicker free from settings
    - Ability to change vibration intensity from settings
    - In call volume adjustment has been fixed
    - Improved stability and performance (No random reboots anymore)
    - Improved memory management
    - Working hardware backed encryption
    - Working AudioFX
    - A lot more imrpovements that didnt make it to the list

    Big thanks to everyone who supported project so far it really wouldnt be possible without them, Keeping this device alive is both fun and challanging fixing camera itself took over 30 hours and will greatly help other roms including oneui 2.x ports since they will be able to use lib from this rom
    So coffee and donations to help cover build/development server cost are as always welcome, Enjoy new build and new and reborn S7
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