• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[STABLE] LineageOS 17.1 for Galaxy S7 build 28

Search This thread

mbecroft

Member
Jul 11, 2011
29
7
Auckland
I don't know if your statement:

refers to the post I have linked:

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.
Yes it refers to that post - which for me completely (100%) resolved speakerphone echo. I have had zero issues with echo of my own voice - it's only the other party that is affected in the all the scenarios I've tested.

Clearly, there must be some hardware version differences, or something resulting in the differing behavior...perhaps if anyone reading this thread would contribute to the thread with their specific S7 version (mine is an SM-G390F) and any other possibly relevant info...and what price audio issues they have (including no issues) then we could narrow down exactly what is going on. Tomorrow, I'll set up a Google sheet and link it from here to keep track.

Let's try and get to the bottom of this!
 

mbecroft

Member
Jul 11, 2011
29
7
Auckland
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 hear your pain - unfortunately criticizing the developer/OP is probably not the most productive course. I think he is mainly just tracking LineageOS upstream, and not actively working on S7-specific problems.

If I have the time I will set up a ticket tracker or even just a Google doc where we can all itemize our issues and try to get a clear picture of what's going on.

Possibly some of us with development experience can then look at OP's github as compared with upstream LOS and see what we can make of it all.

I would also contribute to a tip jar, but to achieve anything we'd probably need to accumulate $500+ just to make it worthwhile for a dev to even start looking into the issues. We need to know how many people are using LOS on their S7, how many have issues, before we can decide the next step here. It would be pointless for a handful of us to contribute money for nothing.
 

fipsy

Senior Member
Feb 6, 2013
796
294
Hannover, Germany
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!
 

JerryBond

Member
Jun 14, 2017
21
10
microphone echo might be lineage os issue, it's not present in supermanOS i had installed on this phone years ago. I got this phone back from my aunt yesterday, looking to update its os, and seeing this echo problem people calling me is same on my daily driver oneplus 3 lieage os based systems, including paranoid os,...
just saying it's a fairly common problem.
still have to decide if it's from broken software or government spying xD huehuehue
anyway goodluck lads!
 

mbecroft

Member
Jul 11, 2011
29
7
Auckland
microphone echo might be lineage os issue, it's not present in supermanOS i had installed on this phone years ago. I got this phone back from my aunt yesterday, looking to update its os, and seeing this echo problem people calling me is same on my daily driver oneplus 3 lieage os based systems, including paranoid os,...
just saying it's a fairly common problem.
still have to decide if it's from broken software or government spying xD huehuehue
anyway goodluck lads!
LOL - every piece of info helps though. So you're saying you also have audio echo problems with LOS on the oneplus? So audio echo issues with LOS are not confined to just the Galaxy S7? Would be helpful to know exactly how the issue manifests on the oneplus 3.

If this is such a widespread problem I can't imagine how it has not been addressed in LineageOS. On my fxtec Pro1, running Lineage 18.1 (android 11) it works perfectly with zero issues.

My guess is back when you used supermanOS it was running an older android and kernel, and may have been using vendor binary blobs for audio processing, which current LOS does not do - perhaps.

Thanks for your input!
 

Brisse89

New member
May 29, 2021
3
1
I don't use my S7 a lot for calls, and I've never gotten complaints about the echo-issue the few times I do call someone, but I've seen so many posts here that I decided to borrow a phone and call my LOS17.1 Galaxy S7 and check for myself. Sure enough, there was a loud and clear echo of my own voice. Very annoying, and not something I would put up with if I actually used the device to make calls regularly.

Thank you OP for this ROM anyway. I won't complain about the other issues as they've already been mentioned many times before.

*Actually there is one thing! In the camera app there's an option to encode videos in H265, but selecting it causes the app to crash. I assume it's because the device or the ROM doesn't actually support H265. Perhaps the option should be removed if possible? Or maybe there's a way to make it work properly?

Thanks anyway!

Edit: *Nevermind. Seems to be working in the latest build. :)
 
Last edited:

fipsy

Senior Member
Feb 6, 2013
796
294
Hannover, Germany
Actually there is one thing! In the camera app there's an option to encode videos in H265, but selecting it causes the app to crash.
How exactly is the crash noticeable? When I record videos - no matter with which camera app - after the video has ended, the device performs a spontaneous cold reboot in about 80% of all cases. But only if I save the video to the external SD card. Often resulting in SD card corruption. Which then makes necessary a removal of the SD card and a repair in my Windows Computer. Because LineageOS unfortunately is unable to repair exFAT formatted SD cards. This is also very annoying.
 

Brisse89

New member
May 29, 2021
3
1
How exactly is the crash noticeable? When I record videos - no matter with which camera app - after the video has ended, the device performs a spontaneous cold reboot in about 80% of all cases. But only if I save the video to the external SD card. Often resulting in SD card corruption. Which then makes necessary a removal of the SD card and a repair in my Windows Computer. Because LineageOS unfortunately is unable to repair exFAT formatted SD cards. This is also very annoying.

Actually, now that you asked I tried to replicate it and it's not crashing now. It's even recording videos encoded in H265. It was months since I tried last time so I guess it must have been fixed in the meantime. (y)

Haven't tried recording to SD-card, and if it's as bad as it sounds then I'm not about to try either!
 

Durchmesser

Member
Oct 14, 2015
21
2
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?
 
  • Like
Reactions: fipsy

Roberto W.

Senior Member
Dec 10, 2017
151
40
Samsung Galaxy S7 Edge
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?

i think the problem are the los policies, they require a 100% lineage owned code to be safe for future versions. maybe that is not possible for the s7. - just my interpretation
 

songohanssj4

New member
May 12, 2020
1
0
Thanks for your great work.

The SIM Tool Kit is not working. Tried to update to the latest release, which did not solve my problem.

When the my bank sends a request to enter the 2-FA PIN, the message appears and I can enter the PIN, but when I hit "CANCEL" or "OK" or the <enter> key, nothing happens.

Screenshot_20210604-112036_SIM_Tool_Kit.png



Can someone help?

Thank you
 

Hemuli

Senior Member
Dec 6, 2013
214
56
  • Like
Reactions: Ivan_Meler

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    October security update builds are up, Nothing too special in them as im starting the work on Android 12 as we speak, Updates for 17.1 and 18.1 will continue of course
    Big thanks to everyone who supported this project as their donations help keep cover the build server cost
    Enjoy new build and stay safe
  • 159
    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: e75861c856e32c5e289fe0670dde42a6

    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

    06.10.2021.
    - Merged October 2021 Security Update
    - Synced with LOS source

    14.09.2021.
    - Merged September 2021 Security Update
    - Synced with LOS source

    09.08.2021.
    - Merged August 2021 Security Update
    - Synced with LOS source

    14.06.2021.
    - Merged June 2021 Security Update
    - Synced with LOS source

    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