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

Search This thread

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?
 

Roberto W.

Senior Member
Dec 10, 2017
138
33
Samsung Galaxy S7 Edge
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.

i also catched the following logcat lines while activating wifi

05-21 17:06:13.722 I/[email protected](3878): Wifi HAL started
05-21 17:06:13.723 I/WifiVendorHal(4135): Vendor Hal started successfully
05-21 17:06:13.725 I/WifiP2pNative(4135): Registering for interface available listener
05-21 17:06:12.630 I/ (0): [1:[email protected]: 3878] ------------------------------------------------
05-21 17:06:12.630 I/ (0): [1:[email protected]: 3878] ------------------------------------------------
05-21 17:06:12.630 I/ (0): [1:[email protected]: 3878] dhd_wlan_power Enter: power on
05-21 17:06:12.631 E/ (0): [5:[email protected]: 3878] exynos-pcie 15660000.pcie0: pcie clk enable, ret value = 0
05-21 17:06:12.651 E/ (0): [2:[email protected]: 3878] exynos-pcie 15660000.pcie0: phy clk enable, ret value = 0
05-21 17:06:12.663 E/ (0): [2:[email protected]: 3878] exynos-pcie 15660000.pcie0: l1ss disabled(0x8)
05-21 17:06:14.447 I/WifiHAL (3878): Initializing wifi
05-21 17:06:14.447 E/WifiHAL (3878): --- HAL version: 1.44.22.3 (r793775) ---
05-21 17:06:14.447 I/WifiHAL (3878): Creating socket
05-21 17:06:14.449 I/WifiHAL (3878): Initialized Wifi HAL Successfully; vendor cmd = 103
05-21 17:06:14.449 I/WifiHAL (3878): found interface wlan0
05-21 17:06:14.449 I/EthernetTracker(4135): interfaceLinkStateChanged, iface: wlan0, up: true
05-21 17:06:14.449 E/WifiHAL (3878): Calling Hal_init
05-21 17:06:14.449 E/WifiHAL (3878): Start Set Hal
05-21 17:06:14.450 D/WifiHAL (3878): error code -95 mapped to -3
05-21 17:06:14.450 E/WifiHAL (3878): Failed to register set hal start response; result = -3
05-21 17:06:14.450 E/WifiHAL (3878): wifi_start_hal failed
 

mushbert

Senior Member
Dec 14, 2013
59
16
I've formated my SD card to fat32 to get rid of the reboots and SD card corruptions. I'll report back.

Yes, it helps, but works significantly slower.

It has been a while since I tried this, but I wasn't able to do this - I must be missing something... I can format the card in a PC, but the phone forces me to re-format with no ability to choose the partition type. I can format the card from the phone, but again, no choices. Are you using an additional application (or maybe just the shell) to accomplish this?
 

Queeq

Member
Jun 21, 2016
18
6
It has been a while since I tried this, but I wasn't able to do this - I must be missing something... I can format the card in a PC, but the phone forces me to re-format with no ability to choose the partition type. I can format the card from the phone, but again, no choices. Are you using an additional application (or maybe just the shell) to accomplish this?
I don't really remember how exactly I formatted it, but I was recently formatting a USB stick for UEFI (on MacOS), so maybe it'll help you (as root):
`diskutil erasedisk fat32 <name> MBRFormat /dev/<sdcard_disk_id>`
To identify your disk use `diskutil list`. Be careful with what device ID you use.

For Linux there's plenty of command examples online. This one looks legit: https://linuxhint.com/format-usb-drive-linux/

Windows has always had it's own way of doing things which is difficult to control, and I haven't been working with it for years so can't really help here, sorry. I'd maybe start in disk manager (or what is it called nowadays) or just search online. I don't think third-party programs should be needed here.
 

arcatarc

Senior Member
I don't really remember how exactly I formatted it, but I was recently formatting a USB stick for UEFI (on MacOS), so maybe it'll help you (as root):
`diskutil erasedisk fat32 <name> MBRFormat /dev/<sdcard_disk_id>`
To identify your disk use `diskutil list`. Be careful with what device ID you use.

For Linux there's plenty of command examples online. This one looks legit: https://linuxhint.com/format-usb-drive-linux/

Windows has always had it's own way of doing things which is difficult to control, and I haven't been working with it for years so can't really help here, sorry. I'd maybe start in disk manager (or what is it called nowadays) or just search online. I don't think third-party programs should be needed here.
try this:
 

ale1dambro

New member
May 31, 2021
3
0
hi, person i call hear echo, i read that ThundeRStormS Kernel can fix problem, i'm not advanced user, is that good idea ? change kernel can fix echo ?
[herolte, exynos, no gaps]
I had the same issue, then I flashed NikGapps-Addon-11-GoogleRecorder-signed.zip and solved it.
@ale1dambro can you explain a bit more, you flash rom than NikGapps-Addon-11-GoogleRecorder-signed.zip
ore this on top of your working rom with gapps?
That's right.
1. Flash this Rom
2. Flash NikGapps (I used the stock version.
3. Flash the GoogleRecorder add-on.
4. Flash Magisk

I am not an expert, my idea was to override the Recorder that comes with the Rom, and it worked.
 

Top Liked Posts

  • 15
    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
  • 15
    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
    11
    New build is up here is a brief changelog

    - 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

    Do not that this does not include June security update as google didnt release source for it yet, Ill be posting new build with June update as soon as source is up

    Also once again big thanks to everyone who supported this project with donations as they make this project possible and this greatly helped recently due to fact i had to change build server provider

    Enjoy new build and stay safe
    11
    Builds with june security update are up (finally), Here is a brief changelog
    - 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

    June builds of 17.1 with a lot of patches backported from 18.1 device tree should be up in a few days
    Big thanks to everyone who supported this project as they keep cover the build server cost with donations, as always enjoy new build and stay safe
    9
    New builds are up they fixed issue where cpu would randomly lock up on some devices at higher frequencies (Thank google for kernel upstream commit)
    here is a brief changelog

    - 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

    Builds with June security update should be up next week as google should hopefully release source for it by then

    Big thanks to everyone who supported this project as they help offset build server cost and their donations helped keep the project alive
    2
    Yeah, I had that one as well, but I couldn't find it anywhere to re-install it.
    That's why I had to go down to 17.1

    Next time I will learn not to delete them ... even if all seems fine.

    Here are two older builds for testing:
    March: lineage-18.1-20210304-UNOFFICIAL-herolte
    May: lineage-18.1-20210505-UNOFFICIAL-herolte
  • 31
    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
    MD5: 91d37c5b5f5dfdf3f4b09273e78b67bb

    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

    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

    06.21.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
    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
    18
    New builds with yet another months worth of security updates and some extras is up, here is a brief changelog
    - 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

    As always big thanks to everyone who donated as that helped offset the build server cost and keep the project alive with yet another android version

    17.1 builds will be updated in a few days
    Enjoy new build and stay safe
    17
    New builds are up and as per requests of some people Signature spoofing support is added (In a way that doesnt make it a security threat as app has to be flashed to system,have proper priv-app xml permissions and user has to explictly grant permission for the given app) you can sue it with MinMicroG

    Other than that there are just some performane and satbility improvements, here is a brief changelog
    - Added signature spoofing support for MicroG
    - Cleaned up codebase
    - Misc performance and satbility improvements
    - Synced with LOSsource

    Big thanks to everyone who donated as their donations help cover the build server cost and keep the device alive more than 5 years after release with up to date OS and security patches
    15
    New build is up with few small fixes here is a brief changelog

    - 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

    Big thanks to everyone who supported this project as their donations helpo with build server cost and coffee, enjoy new build and stay safe