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

Search This thread

Roberto W.

Senior Member
Dec 10, 2017
198
60
Samsung Galaxy S7
i dont have major issues running this rom (microg version), it is my daily driver on my g930f.

but when i look into the logcat - and yes, i also tried ivans rom build and it results with exactly the same issues -, i see a lot of these errors all the time (about at least one errormessage per second), but only when wifi is activated (it doesnt count if there is a wifi connection established or not)

[3:dhd_rpm_state_t: 2368] exynos-pcie 15660000.pcie0: received Enter_L23_READY DLLP packet

[2:dhd_rpm_state_t: 2368] exynos-pcie 15660000.pcie0: ack message is ok

[2:dhd_rpm_state_t: 2368] exynos-pcie 15660000.pcie0: pcie clk enable, ret value = 0

[2:dhd_rpm_state_t: 2368] exynos-pcie 15660000.pcie0: l1ss disabled(0x8)

and some more see attached text file.

what is it about? real errors or just a flood of debug informations by kernel? and is it possible to fix that? any more log files needed for that? @Ivan_Meler

thanks in advance.

can anyone confirm my issues or am i the only one with these errormessages?
 

claus65

Member
Aug 21, 2018
6
1
hello again,
i have another problem with an app to use my passport with my S7. My passport is recognized, but I get the error message "Extended Lenght not supported". In another forum the following solution is suggested (a bit shortened):

According to https://www.ausweisapp.bund.de/hilfe-und-support/haeufig-gestellte-fragen/#c3779, the device must report back that it can transmit a packet length of at least 500 bytes. So changed the entry as follows:

I edited /vendor/etc/libnfc-sec-vendor.conf with the root explorer. It is about the following section:

Original:
# Extended APDU length for ISO_DEP. If not supported default length is 261.
# CHECK in VTS test case
# ISO_DEP_MAX_TRANSCEIVE=xFEFF
ISO_DEP_MAX_TRANSCEIVE=261

Edited:
# Extended APDU length for ISO_DEP. If not supported default length is 500.
# CHECK in VTS test case
# ISO_DEP_MAX_TRANSCEIVE=xFEFF
ISO_DEP_MAX_TRANSCEIVE=500

Saved, rebooted, and lo and behold, the badgeApp2 works (was able to badge myself to various vendors without any problems so far).


Can anyone confirm that you can make these changes without problems and is the ES File Explorer good for this?

thanks for your help and have a nice weekend
 

doronkk

New member
Mar 20, 2021
4
0
Just installed Ressurection 8.6.2. The "Echo" issue is still reccuring.
Well, I flashed Resurrection Remix and indeed, the microstuttering is gone! Thanks for the recommendation.

EDIT: The culprit seems to be the N935KKKU4CTH1 rebase, running a ROM previous to their inclusion makes the problems disappear
 

Mint Julep

Senior Member
Aug 31, 2017
139
35
Hello ! I have a question about using MicroG.
If I installed the ROM once with Gapps, do I have to do a clean install to switch to microG ? or can I un-googleize the ROM and install MicroG instead ?
 

derders

Senior Member
Oct 2, 2011
101
31
Hello ! I have a question about using MicroG.
If I installed the ROM once with Gapps, do I have to do a clean install to switch to microG ? or can I un-googleize the ROM and install MicroG instead ?
normally it is better to install clean ... you can use NanoDroid and try if it uninstalls Gapps correctly .. and for install NanoDroid is also an easy way... here you go NanoDroid choose from downloadpage NanoDroid-microG zip if you only want MicroG.
 

Marslo

New member
May 11, 2021
2
0
Hi I have the verison 05.05.21 I am trying to connect my camera via usb-tethering to use it at zoom. After 10 minutes usb tethering disconnects. Then I have to plug the usb cable again. I have already tried another smartphone there it works fine. Is there a settings how long it can be connected maximum?

I hope this is the right thread for this
 

HlebNotGleb

New member
May 12, 2021
1
0
Hello.
Found this bug. I'm not sure that it is ROM specifically, it may be app bug, but still.
There's an app - PowerAMP music player. It has an option to play sound directly through the Samsung UHQA output, with selected discretization frequency (44.1|48|96|192|352|384 KHz for example). As I know - our Exynos supports up to 192 KHz with 24 bit samples. And on "OneUI 2.1 Floyd Q" 192 KHz|24 bit mode works normal. 352|384 KHz 32 bit modes displayed, but wasn't working (just crackling and noise plays).
But, in LineageOS 07.04.21 and 05.05.21 builds (I don't know about an earlier builds) - PowerAMP plays only through Samsung UHQA in 44.1|48|96|352|384 and through AAudio output in 48 (192 displays, but not working) modes. 192_24 bit mode displays, but jumped back on 48 KHz OpenSL output when it selected.
I'm still waiting for an answer from PowerAMP developer about this question, but if someone know about what it might be - please tell. If it needs to some logs - I'll try to catch it.
Cheers!
 

TheEYE13

Member
Dec 31, 2012
12
0
I've formated my SD card to fat32 to get rid of the reboots and SD card corruptions. I'll report back.
 

kemenykozak

New member
Jan 1, 2021
4
1
no flash again. with your gapps
Is there any tutorial on in this anywhere? My phone is booting to LineageOS recovery, I can sideload the new ROM, but not NikGApps using adb, I get the following error:

➜ LineageOS adb sideload NikGapps-core-arm64-11-20210501-signed.zip adb: sideload connection failed: closed adb: trying pre-KitKat sideload method... adb: pre-KitKat sideload connection failed: closed
 

Marslo

New member
May 11, 2021
2
0
Hi I have the verison 05.05.21 I am trying to connect my camera via usb-tethering to use it at zoom. After 10 minutes usb tethering disconnects. Then I have to plug the usb cable again. I have already tried another smartphone there it works fine. Is there a settings how long it can be connected maximum?

I hope this is the right thread for this
I think that is a problem with this rom. All camera apps (iriun, droidcam etc) lose connection to desktop client both via wifi and usb cable after 10-15 minutes. But are still connected to the pc. When it is connected with usb cable i can still access data. Only the camera does not work anymore. The only way to fix this is to restart the smartphone. It's not my cable, wifi, on also not windows.
 

kemenykozak

New member
Jan 1, 2021
4
1
Is there any tutorial on in this anywhere? My phone is booting to LineageOS recovery, I can sideload the new ROM, but not NikGApps using adb, I get the following error:

➜ LineageOS adb sideload NikGapps-core-arm64-11-20210501-signed.zip adb: sideload connection failed: closed adb: trying pre-KitKat sideload method... adb: pre-KitKat sideload connection failed: closed
Ok, managed to get past this (I was just an idiot), now NikGapps says it can't mount /system. The real problem is I get bootloops even if I try to flash previously working versions. Any ideas on getting out of this?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    Here we go, March security update is here.
    LineageOS 21 builds wont get update this time around as new qpr is still being merged and fixed up
    There were a lot of changes from google in their quarterly platform update soboth LineageOS codebase
    and some device changes are needed for it to be on par with previous builds.

    There will be april builds for it soon so it made no sense to push half baked update today.

    As always huge thanks to everyone who donated to help cover the build server cost.
    This project wouldnt be possible without you.

    Enjoy new builds and stay safe
    3
    April security update is here, nothing more to it this time around
    Unfortunately as you might have noticed patches were posted a bit later past 2 months due my schedule
    Ill also fix Lineage 21 qpr merge in coming days and release update for those builds too, there were tons of changes in qpr that turned out to be a bit problematic

    As alwasy huge thanks to everyone who supported this project and helped cover the build server cost.
    Enjoy new builds and stay safe
  • 53
    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: eb68c5e0a8d6a37ce467f61f6bb5aae2

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

    BTC: 1Q823BsSbEKP62JFM7BjXiRCgF84qgcFST
    ETH(erc20): 0x979a8e42551e62e6994d3762c9d9f0e76b5d87f9
    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
    21.04.2024.
    - Merged April security update
    - Synced with LineageOS source


    19.03.2024.
    - Merged March security update
    - Synced with LineageOS source

    18.02.2024.
    - Merged February security update
    - Synced with LineageOS source

    16.01.2024.
    - Merged January security update
    - Synced with LineageOS source

    12.12.2023.
    - Merged December security update
    - Synced with LineageOS source

    23.11.2023
    - Merged November 2023. Security update
    - Fixed OTA updater
    - Synced with LineageOS source

    11.10.2023.
    - Merged October 2023. Security Update
    - Synced with LineageOS source

    12.09.2023.
    - Merged September 2023 security update
    - Synced with LineageOS source

    08.08.2023.
    - Merged August 2023. Security update
    - Synced with LineageOS source

    10.07.2023.
    - Merged July 2023. Security update
    - Synced with LineageOS source

    08.06.2023.
    - Merged June 2023. Security update
    - Synced with LineageOS source

    07.05.2023.
    - Merged May 2023. Security update
    - Switched to more source built components from new Exynos 850/Linaro BSP
    • hwcomposer
    • memtrack
    • libion_exynos
    • libGrallocWrapper
    • gralloc
    • libcsc
    • libexynosscaler
    • libexynosgscaler
    • libhwjpeg
    Whole OMX stack (libOMX.Exynos.*) and stagefrighthw
    - Performance, stability and battery life improvements
    - Synced with LineageOS source

    15.04.2023.
    - Merged April 2023. Security update
    - Synced with LOS source

    21.03.2023.
    - Merged March 2023. Security update
    - Synced with LOS source

    12.02.2023.
    - Merged February 2023. Security update
    - Synced with LOS source

    05.01.2023.
    - Merged January 2023. Security update
    - Synced with LOS source

    08.12.2022.
    - Merged December 2022. Security update
    - Switched to a new power hal (same one as in 19.1 and 20.0)
    - Improved battery life and performance
    - Rebased kernel to fix some issues with ipv4 stack
    - Synced with LOS source

    09.11.2022.
    - Merged November 2022. Security update
    - Synced with LOS source

    06.10.2022.
    - Merged October 2022. Security update
    - Fixed samsungs bug with gps where it would start acting up over time due to time rollover bug
    - Synced with LOS source

    08.09.2022.
    - Merged September 2022. Security update
    - Synced with LOS source

    06.08.2022.
    - Merged August 2022. Security update
    - Synced with LOS source

    08.07.2022.
    - Merged July 2022. Security update
    - Synced with LOS source

    09.05.2022.
    - Merged June 2022. Security update
    - Synced with LOS source

    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