[ROM][STABLE][Signature Spoofing/MicroG support][OTA updates] LineageOS 18.1 for S7 Exynos

Search This thread

stephan.ritscher

New member
Dec 26, 2021
4
2
Hi and thanks for the great work. I installed your December build a few days ago and most things are working flawlessly :).

I encountered two things so far:
1. VoLTE/VoWifi are not working. I know this has been commented already in the thread, but personally I would find it helpful to have it noted in the "Not working" section up front (with the remark that drivers are closed source, so it cannot be easily realized).
2. Wifi connection is dropping from time to time, also as noted before (the workaround with airplane mode works for me). I had a look at the logs as suggested before:

I find a lot of lines the following lines whether wifi works or not (I filtered them out below):
W wificond: Failed to get NL80211_ATTR_EXT_FEATURES

The first line I can found related to a wifi loss seems to be:
E wificond: Failed to start pno scan

Later, I see regular messages like
E wificond: NL80211_CMD_TRIGGER_SCAN failed: Try again
and (a little less often) blocks with one or more occurrences of the following two lines
E wificond: NL80211_CMD_START_SCHED_SCAN failed: Operation not supported on transport endpoint
E wificond: Failed to start pno scan
When enabling and disabling the airplane mode, I see the following lines:
W [email protected]: No active wlan interfaces in use! Using default
I wificond: Unsubscribe scan result for interface with index: 16
I [email protected]: Legacy HAL stop complete callback received
I [email protected]: Wifi HAL stopped
I [email protected]: Wifi HAL started
I [email protected]: Adding interface handle for p2p0
I [email protected]: Adding interface handle for wlan0
I [email protected]: Adding interface handle for swlan0
W [email protected]: No active wlan interfaces in use! Using default
E [email protected]: Failed to register radio mode change callback
W [email protected]: No active wlan interfaces in use! Using default
I [email protected]: Configured chip in mode 3
W [email protected]: No active wlan interfaces in use! Using default
E [email protected]: Failed to set DFS flag; DFS channels may be unavailable.
W wificond: Failed to get NL80211_ATTR_EXT_FEATURES
I wificond: create scanner for interface with index: 16
I wificond: subscribe scan result for interface with index: 16
Afterwards, wifi is working again.
Not sure, if this is of any help?
 
Last edited:
  • Like
Reactions: aelfinn

stephan.ritscher

New member
Dec 26, 2021
4
2
But it works when using a messenger like Threema or Signal. I don't know why but the connection stays on 4G.
As far as I understand, VoLTE and VoWifi are communication standards implemented by the telco provider. You will call out/be called using your regular mobile phone number and your contract will be charged like when doing GSM calls.
This also involves different technical components and protocols than other VoIP solutions which are independent of the telco provider, to which I would subsume proprietary messengers with voice (or video) call functionality.
 
  • Like
Reactions: easylivin

ukiz

Senior Member
Thanks so I installed termux, ran su command, granted permission, typed echo 85 > /sys/module/sec_battery/parameters/store_mode_max and that worked.
I achieved the same without magisk by connecting the phone to a PC and using adb root (as Ivan suggested a while ago).
Do you know how I put this into magisk to run at boot to be permanent?

Edit I found a magisk module Daily Job Scheduler that says it will perform scripts on boot will try that
I still have not figured out how to run it on boot, without using magisk, any advice would be greatly appreciated.
 

neneezatch

Member
Nov 15, 2009
8
0
Hi, maybe stupid question (the last time I flashed a phone was 5 yers ago) : On a stock ROM I was able to move some apps to sd card (e.g. Facebook, Mapy.cz) and the card was not specialy formated. Now when I am using this Lineage ROM, I have to format Sd card "as internal" to be able to move apps. But I dont want to format card as internal, I want to be albe to acces it by card reader in pc. Is there a way to move some apps to "portable" sd card, like I did on stock ROM? Or is it a bad idea at all? Thanks for advice
 

alexri

Member
Dec 25, 2010
43
7
Hi there, flashed over stock rom with complete wipe, running good so far :)

One thing that I miss in comparison to stock:
I couldn't find the option to tick "fast inductive charging" under battery options.
Could you please implement/activate that? Or is there an additional app that can trigger this charging behaviour?
Currently it loads inductively, but only in regular/slow mode (which is of course better for the battery, but sometimes the fast mode is nice to have)

Thank you very much for keeping this phone alive :)
 

mushbert

Senior Member
Dec 14, 2013
60
16
Just dirty flashed from build 2021.01.24 + NikGapps (Core 2021.01.24) + Magisk 21.4.

All seems ok/better, but Magisk no longer worked. Only got it working after updating to latest version... SafetyNet passes once again.
 

gobtron

Member
Jul 13, 2015
20
2
"Home Button" and "Switch Apps button" occasionally stop working when using System Profiles. "Back button" still works. It seems to happen when I use the "Home profile" and "Car profile" in which I disable the lock screen (trigger is connecting to home Wifi or car bluetooth). As a workaround, I have to switch to a profile that re-enables the lock screen then switch back to the desired profile. Or reboot.
 

Zefiro_1980

Member
Nov 21, 2019
34
3
In my phone the "CieID" application of the Italian government doesn't work and so I can't use the new Electronic Identity Card (CIE) via NFC.
 
Jan 6, 2021
38
11
Yes, Been having the same issue. Whats App lasts for about 10 mins and then the video gets distorted and drops.
I had this issue with whatsapp video too. But I dont think the issue is connected to video chat. There already was an issue with recording video for too long, where the camera would stop working and you would also have to reboot to make it work again. Seems the same issue to me. Its not a dealbreaker for me tho.

Btw for anyone else having low media output volume...I have fixed this by editing the mixer_paths_0.xml which is located in system/vendor/etc:

Code:
    <!-- Output volume stage -->
    <!-- media playback volume -->
    <path name="gain-media-handset">
        <ctl name="HPOUT3L Input 1 Volume" value="23" />
        <ctl name="HPOUT3L Input 2 Volume" value="23" />
    </path>

    <path name="gain-media-speaker">
        <ctl name="AIF4TX1 Input 1 Volume" value="32" />
        <ctl name="AIF4TX2 Input 1 Volume" value="32" />
    </path>

I changed the values to 50 everywhere (which might be too much for some people).
 
  • Like
Reactions: karl.kocher

Ivan_Meler

Recognized Developer
January builds are up nothing major in them just usual security updates,
Also regarding camera that stops wroking after prolongued use,
I've figured out whats causing it and im investigating a fix for it but due to weird nature of bug.

Once again big thanks to everyone who supported this project and helped cover the build server cost and got me a coffee.
Enjoy new build and stay safe in 2022
 
Nov 4, 2011
18
1
I have a weird issue: this rom is without root activated, right?

Yet many apps warn that root is activated.
If checking with root checker , it says that there is no su though. Also trust complains about public keys being used to sign it.
isn't it something you could fix? @Ivan_Meler
Other LOS roms (official ones though) I have on other samsungs don't show this weirdness


Regards
 

Ivan_Meler

Recognized Developer
I have a weird issue: this rom is without root activated, right?

Yet many apps warn that root is activated.
If checking with root checker , it says that there is no su though. Also trust complains about public keys being used to sign it.
isn't it something you could fix? @Ivan_Meler
Other LOS roms (official ones though) I have on other samsungs don't show this weirdness


Regards
root detection apps detect custom roms as rooted, also lineage does come with adb root (official too) and some apps can detect that.
as for sign keys it doesnt affect anything as long as you get builds from this thread, if i signed all builds with my own builds you wouldn't be able to switch to rom that you self compiled without data wipe for example
 

Nevaran

Senior Member
Jul 21, 2018
94
6
What kernel is recommended with this ROM? I have MoRo but it seems to not work, after installation its stuck at the splash screen
 

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    May security update build is up, You can get it via ota or from the OP
    as always big thanks to everyone who supportyed this project so far and helped me cover the build server cost and got me coffee

    There will also be new 19.1 build with new power hal in a few days

    Enjoy new build and stay safe
  • 49
    k5tUT1V.png

    LineageOS 18.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
    - HWcomposer (HWC)
    - Charging with device powered off
    - Stuff I didn't test yet
    - Camera
    - 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 if you want to use gapps
    NikGapps and BiTgapps were both tested and working

    Downloads:
    Google Drive
    Mega.nz
    GitHub releases
    MD5: fa6e7420ce6159127617aef4c903bce4

    if you want to support the project feel free to buy me some coffee paypal.me/ivanmeler

    BTC: bc1qqan6m5tn284g38tu52nalc9x5z4all8z5geq6y
    ETH(erc20): 0xB737100035a989fA9EaD13B81af2a32EFe6E1C0f
    Donations help cover the build server cost and since I do this in my free time, and also cover the coffee for time spent debugging stuff



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

    Due to requests from some users I added signature spoofing support to the rom which allows usage of MicroG
    you can simply install MinMicroG and grant it needed permissions for signature spoofing to make it work as intended


    Based On Android 11/R
    Changelog

    07.05.2022.
    - Merged May 2022. Security update
    - Synced with LOS source

    07.04.2022.
    - Drastically speed up app launch time (more info about that here)
    - Merged April 2022. Security update
    - Imrpoved performance and battery life by disabling some unnecessary logging
    - Removed AudioFX which was causing audio issues
    - Synced with LOS source

    12.03.2022.
    - Merged March 2022. Security update
    - Implemented OTA updates
    - Synced with LOS source

    11.02.2022.
    - Merged February 2022. security update
    - Fixed issue where camera would stop working after prolonged use
    - Removed unused custom ld.config.txt that was overriding main one
    - Switched to few source built ril related libs
    - Added support for changing wireless charging sound
    - Misc performance and stability improvements
    - Synced with LOS source

    09.01.2022.
    - Merged January 2022. Security update
    - Synced with LOS source

    15.12.2021.
    - Merged December 2021. Security update
    - Removed liboemcrypto which was breaking playback in some apps that use drm
    - Synced with LOS source

    05.11.2021.
    - Merged upstream wireguard kernel changes
    - Merged November 2021. Security update
    - Synced with LOS source

    05.10.2021.
    - Merged October security update
    - Merged October Kernel upodates to 3.18.x
    - Added more advanced burn in protection
    - Misc performance and stability updates
    - Synced with LOS source

    09.09.2021.
    - Merged September 2021. Security Update
    - Merged September 2021. Security update to kernel
    - Fixed WiFi Display (Screen mirroring)
    - Resolved few sepolicy issues
    - Synced with LOS source

    04.08.2021.
    - Added battery saver options (settings -> battery)
    This allows you to limit phone charging to given percentage
    (By default it stops on 75% and starts charging at 25%)
    this can be controled by sysfs paths
    module/sec_battery/parameters/store_mode_min
    and
    module/sec_battery/parameters/store_mode_max
    In future release there will be a slider for this
    - Merged August 2021. Security update
    - Merged August 2021. Security update to kernel
    - Misc performance and stability improvements
    - Synced with LOS source

    08.07.2021.
    - Merged latest kernel patches from kernel/common android-3.18 branch
    - Merged July 2021. security update
    - Synced with LOS source
    - misc performance and stability improvements

    05.07.2021.
    - Kernel: Fixed issue where using external sdcard as combined internal storage caused high cpu usage
    - Removed leftover aosp charging animations
    - mounted cpefs folder on boot
    - Added NFC Extended Lenght support
    - Fixed power profile swtiching (Better performance/battery life)
    - Synced with LOS source

    21.06.2021.
    - Audio: resewt mixer gains to default values since we have lifevibes working now and handling it
    - Audio: Reworked incall audio handling in mixer paths to disable 2nd mic that was picking up noise
    - Audio: Reworked voice commands input mixer paths
    - Audio: Fixed voip calls not picking up microphone due to wrong paths (e.g. apps telegram, whatsapp)
    - Replaced vulkan lib with symlink to mali lib (Like on stock) (This saved some space too)
    - Kernel: Merged upstream aosp 3.18 kernel
    - Kernel: Merged latest upstream cpufreq (DVFS) patches for dynamic voltage and frequency handling
    - Kernel: Enabled CONFIG_HZ_300 for faster interaction handling
    - Cleaned up public.libraries.txt
    - Resolved few more sepolicy issues
    - A lot of perforamnce and stability improvements
    - Synced with LOS source

    10.06.2021.
    - Removed deprecated custom bt hal as AOSP one works too with extra config flag
    - removed audio effects from voice_recognition as it caused audio hal to crash/restart
    - Merged June 2021. Security update
    - Synced with LOS source

    06.06.2021.
    - kernel: reverted "net: disable netpoll on fresh napis" which caused cpu to lock up at higher frequencies
    - removed unsupported audio devices from audio policy config
    - Synced with LOS source

    03.06.2021.
    - sepolicy: Resolved audioserver denial
    - sepolicy: Allowed mediaserver to read exported_camera_prop
    - Moved volume panel to left side
    - Removed invalid media codec config for vc1 decoder
    - Removed prop that would try to load non existing vulkan lib
    - Updated media profiles to new schema
    - kernel: Upstreamed and updated to 3.18.140 with all of the latyest security patches and updates to date
    - kernel: enabled vdso32 (https://source.android.com/devices/architecture/kernel/config#vdso32-on-arm64) perf. and battery life improvements
    - kernel: fixed issues with obb folder present in rare cases
    - kernel: merged latest android kernel/common 3.18 branch
    - kernel: updated wireguard
    - kernel: merged N935FXXS8CUD1 source drop
    - Synced with latest los source

    05.05.2021.
    - sepolicy: Allowed cbd (Modem daemon) service to read proc_net sysfs
    - sepolicy: Allowed gpuservice acces to graphics_config_prop
    - sepolicy: improved debugfs handling for mali and ion
    - Fixed video recording in a lot of apps (Might require clean flash for some users)
    - Updated blobs to N935FXXS8CUD1 (April 2021 security update)
    - Fixed edge case where fast charging switch would be ignored because its chwoned too late
    - Compiled NFC hal from source (Google released samsung nfc source
    (https://android.googlesource.com/platform/hardware/samsung/nfc/), (Should improve stability)
    - Upreved livedisplay implementation (to 2.1) with native flicker free support
    - Added lifevibes blobs for audio effects and enhancements
    - Merged May 2021 security update
    - Synced with LOS source

    07.04.2021.
    - Fixed Vulkan
    - Disabled WPA2 to WPA3 auto-upgrade (This caused issues on some wifi networks)
    - Rebased AntiFlicker and livedisplay support
    - Performance and stability improvements
    - Synced April 2021 Security Update
    - Synced with LOS source

    22.03.2021.
    - Added signature spoofing support for MicroG
    - Cleaned up codebase
    - Misc performance and satbility improvements
    - Synced with LOSsource

    04.03.2021.
    - Fixed Mouse pointer icon when using an external mouse
    - Improved swcodec handling
    - Performance and stability improvements
    - Merged March 2021. security update
    - Synced with LOS source

    18.02.2021.
    - Fixed cover case display states being flipped
    - Improved renderscript handling
    - Further imrpoved selinux policies and fixed denials
    - Fixed binder related vurnability in kernel
    - disabled zcache compression which could caue kernel panics
    - Misc performance and stability improvements
    - Synced with LOS source

    05.02.2021.
    - Improved HWC handling
    - Added always on display
    - Fixed issue where some games would show swapped colors
    - Rebased sepolicy
    - Fixed hwc selinux denials that slowed down UI
    - Added support for smart cover cases
    - Imrpoved renderscript performance
    - Imrpoved offline charging (New animation and it should recognize wireless charger while phone is off now)
    - Misc performance and stability improvements (A lot of them, as always you can check github and lineageos gerrit)
    - Merged February 2021. security update
    - Synced with LineageOS source

    24.01.2021.
    - Fixed HWC
    - Drastically improved performance and battery life
    - Added back flicker free dimming and fast charging switch (Now as hiidl interfaces)
    - Switched to samsungs DT2W driver used on AOD on stock (Battery life improvements)
    - Added custom LiveDisplay modes
    - Disabled some excess logging
    - Cleaned up codebase

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

    22.12.2020.
    - Merged december 2020 security update
    - Fixed volume adjustment with audio
    - Drastically improved audio quality
    - Merged December pixel feature drop
    - Fixed noise cancelling in call
    - Misc performance and stability improvements

    24.11.2020.
    - Fixed in call audio (Volume changing in call is still somewhat broken)
    - Merged November 2020 security update
    - Imrpoved BT audio handling
    - Selinux is back in Enforcing mode
    - Fixed signal strenght indicator for all network modes (2g/3g/4g)
    - Fixed soft buttons backlight handling
    - Fixed fingerprint recognition in some apps (Non secure ones for now)
    - Fixed glove mode
    - Misc performance and stability improvements
    - Synced with LOS source

    06.10.2020.
    - Improved brightness slider range
    - Improved microphone input in some voip apps
    - Synced with LOS source

    05.10.2020.
    - Initial release



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

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

    ROM OS Version: Android 11
    ROM Kernel: Linux 3.18.x

    Version Information
    Status:
    Stable
    24
    New builds are up, Here is a brief changelog

    - Merged September 2021. Security Update
    - Merged September 2021. Security update to kernel
    - Fixed WiFi Display (Screen mirroring)
    - Resolved few sepolicy issues
    - Synced with LOS source

    Builds were delied a bit this month due to google pushing source and security update itself later than usual but there are a few extra fixes that apply to s7 that are also included like working Wireless display
    Updated builds of 17.1 will be posted in a few days too

    Also Android 12 is around the corner and once source for that is out I will start working on getting it up and running on s7 thats at this point over a 5 years old device but still can handle new android releases perfectly

    Big thanks to everyone who supported this project in past as their donations help cover the build server cost and get me a coffee (I do this on a hobby in my free time)
    Because of those people this project and device is still alive
    Enjoy new build and stay safe
    23
    Another surprise build is up, here is a brief changelog

    - Audio: resewt mixer gains to default values since we have lifevibes working now and handling it
    - Audio: Reworked incall audio handling in mixer paths to disable 2nd mic that was picking up noise
    - Audio: Reworked voice commands input mixer paths
    - Audio: Fixed voip calls not picking up microphone due to wrong paths (e.g. apps telegram, whatsapp)
    - Replaced vulkan lib with symlink to mali lib (Like on stock) (This saved some space too)
    - Kernel: Merged upstream aosp 3.18 kernel
    - Kernel: Merged latest upstream cpufreq (DVFS) patches for dynamic voltage and frequency handling
    - Kernel: Enabled CONFIG_HZ_300 for faster interaction handling
    - Cleaned up public.libraries.txt
    - Resolved few more sepolicy issues
    - A lot of perforamnce and stability improvements
    - Synced with LOS source

    There are a lot of general improvements in this build and since i just came back from vacation i decided i could as well publish it early instead of waiting for next month so enjoy, Once again big thanks to everyone who supported this project with donations as i do this in my free time for free and their donations help offset build server cost and get me coffee.
    Enjoy new build and stay safe
    20
    New builds are up here is a brief changelog

    - Improved HWC handling
    - Added always on display
    - Fixed issue where some games would show swapped colors
    - Rebased sepolicy
    - Fixed hwc selinux denials that slowed down UI
    - Added support for smart cover cases
    - Imrpoved renderscript performance
    - Imrpoved offline charging (New animation and it should recognize wireless charger while phone is off now)
    - Misc performance and stability improvements (A lot of them, as always you can check github and lineageos gerrit)
    - Merged February 2021. security update
    - Synced with LineageOS source

    As always big thanks to everyone who donated and helped support this project (It covers coffee and build server cost) and keeping s7 alive with yet another android version 5 years after phones release
    20
    November security update build is up here is a brief changelog
    - Merged upstream wireguard kernel changes
    - Merged November 2021. Security update
    - Synced with LOS source
    Not too many changes in this one as you can see as i spent most of the time focusing on LOS 19 build (Android 12)
    which is coming along great (Just some gralloc work left to do and sensor hal needs some attention before first public builds)
    Big thanks to everyone who supported this project as always as its thanks to them that this project is still up and running, Enjoy new build and stay safe