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

Search This thread

Damjan94

Senior Member
Nov 16, 2010
59
4
Belgrade
Is magisk known to cause issues with roms? I'm a bit skeptical about their patching of the boot partition...
anyway, other than that, my installation of the rom is clean.
I am encountering two bugs, well three... and I don't know how to get the logs in order to help track them.
The first one is the microphone. Sometimes, after a reboot, no apps can use the microphone(facebooks messager runs without audio being transmitted during a call, and the default recording app crashes). Answered cellular call fixed the issue in one case, and rebooting sometimes makes the microphone work as well.

When videocalling with facebook, or discord, after 30 mins, or so, the camera stops responding, and both apps + provided camera app are only able to open a video stream for a second, before throwing an error that the camera couldn't be opened(discord and facebook just fail quietly)... a reboot fixes the camera, and it works fine for another 30 or so minutes.

While rebooting to make the sensors(microphone or camera) work again, I have noticed one time, that the phone actually boot looped once or twice before booting to the system.

The problem with logs is that when I need the camera, I don't have time to grab logs.... sorry.... but it's fairly reproducible on my device... I'll try looking at the logs tomorrow, if I have time

as for the microphone, I don't have to wait 30 min in a video call to reproduce it, so here are the logs.
the crash of the Recorder app, rest is in the attached log

03-26 01:52:01.687 5254 5254 D AndroidRuntime: Shutting down VM
03-26 01:52:01.688 5254 5254 E AndroidRuntime: FATAL EXCEPTION: main
03-26 01:52:01.688 5254 5254 E AndroidRuntime: Process: org.lineageos.recorder, PID: 5254
03-26 01:52:01.688 5254 5254 E AndroidRuntime: java.lang.RuntimeException: Unable to start service [email protected] with Intent { act=org.lineageos.recorder.service.START cmp=org.
lineageos.recorder/.service.SoundRecorderService (has extras) }: java.lang.RuntimeException: start failed.
03-26 01:52:01.688 5254 5254 E AndroidRuntime: at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4338)
03-26 01:52:01.688 5254 5254 E AndroidRuntime: at android.app.ActivityThread.access$1800(ActivityThread.java:237)
03-26 01:52:01.688 5254 5254 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1951)
03-26 01:52:01.688 5254 5254 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
03-26 01:52:01.688 5254 5254 E AndroidRuntime: at android.os.Looper.loop(Looper.java:223)
03-26 01:52:01.688 5254 5254 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7660)
03-26 01:52:01.688 5254 5254 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
03-26 01:52:01.688 5254 5254 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
03-26 01:52:01.688 5254 5254 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
03-26 01:52:01.688 5254 5254 E AndroidRuntime: Caused by: java.lang.RuntimeException: start failed.
03-26 01:52:01.688 5254 5254 E AndroidRuntime: at android.media.MediaRecorder.start(Native Method)
03-26 01:52:01.688 5254 5254 E AndroidRuntime: at org.lineageos.recorder.service.GoodQualityRecorder.startRecording(GoodQualityRecorder.java:39)
03-26 01:52:01.688 5254 5254 E AndroidRuntime: at org.lineageos.recorder.service.SoundRecorderService.startRecording(SoundRecorderService.java:151)
03-26 01:52:01.688 5254 5254 E AndroidRuntime: at org.lineageos.recorder.service.SoundRecorderService.onStartCommand(SoundRecorderService.java:125)
03-26 01:52:01.688 5254 5254 E AndroidRuntime: at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4320)
03-26 01:52:01.688 5254 5254 E AndroidRuntime: ... 8 more


EDIT: I uploaded the rest of the logs to my google drive, since the site wouldn't load past the kmsg logs
 

Attachments

  • last_kmsg.txt
    2 MB · Views: 3
  • kmsg.txt
    194 bytes · Views: 5
Last edited:

ryonez

New member
Mar 26, 2009
2
1
Thanks for this great opportunity to have Android 11 on my pretty old hero2lte *thumbsup*

The only thing so far i had issues with is the wifi. I couldn´t connect to my router´s wifi or even guest wifi (on same router). It´s a AVM "Fritz!Box 7590". A very popular Router over here in Germany.

After some research on the net I found the reason (maybe helpful if somebody comes across the same issue):
Wifi was set to support WPA3 which auto-enables the "PFM" feature and greyes out the checkbox, so that it´s not deselectable.
The "PMF" is called 802.11w (protected management frames) - a security feature.

On original Samsung ROM it worked with no issue, but on LOS 18.1 I had to switch back to WPA2 only and disable PMF. Then I could connect to wifi again with no issue. When switching back to WPA3/PMF, the hero2lte immediately loses wifi connection.

Maybe it will be integrated in a later stage. I guess it´s not hardware related as it worked before.


I will confirm this is an issue for me as well, WP3 is not fully functional, and it won't fall back to WPA2 on it's own.
 

Ryu--X

Senior Member
May 13, 2014
289
79
Paris
Hi guys,

Do you have the choice to install Netflix from the playstore ?
I'm using the latest build with nikgapps from 30/01..

Otherwise, i would like to thank Ivan for his great job !
 

Damjan94

Senior Member
Nov 16, 2010
59
4
Belgrade
Hi guys,

Do you have the choice to install Netflix from the playstore ?
I'm using the latest build with nikgapps from 30/01..

Otherwise, i would like to thank Ivan for his great job !
why not just download the apk? AuroraOSS's aurora store does the job quite nicely(although, I don't have a netflix account so I can't say if it works after logging in to netflix)...
 
  • Like
Reactions: Ryu--X

Ryu--X

Senior Member
May 13, 2014
289
79
Paris
why not just download the apk? AuroraOSS's aurora store does the job quite nicely(although, I don't have a netflix account so I can't say if it works after logging in to netflix)...
You're right but the point is to understand why with some combination rom/gapps , it doesn't let you install it from the playstore saying "unavailable for your device".

i think it's more related to the gapps than the rom..
 

jonathanc1

New member
Mar 30, 2021
1
0
Since last week I upgraded my device from Samsung's stock firmware to LineageOS 18.1 and installed the "full" edition of NicGApps. Since yesterday the camera does not always work, which is a behavior I never experienced on the stock Samsung firmware at all. When I open the camera app the screen is black. Also, when I change to the front facing camera. The only temporary solution is to reboot my device and everything works again.

During these two days, I rebooted my device three times, and that cannot be the intention, I think. I tried to access the camera with several apps: OpenCamera, Footej Camera, the QR Code scanner of my banking app, all the same and as I wrote, after a reboot everything runs normal again. Does someone know a permanent solution?

Thanks :)
 

xrad

Senior Member
Jul 3, 2012
1,167
808
The Internet
Since last week I upgraded my device from Samsung's stock firmware to LineageOS 18.1 and installed the "full" edition of NicGApps. Since yesterday the camera does not always work, which is a behavior I never experienced on the stock Samsung firmware at all. When I open the camera app the screen is black. Also, when I change to the front facing camera. The only temporary solution is to reboot my device and everything works again.

During these two days, I rebooted my device three times, and that cannot be the intention, I think. I tried to access the camera with several apps: OpenCamera, Footej Camera, the QR Code scanner of my banking app, all the same and as I wrote, after a reboot everything runs normal again. Does someone know a permanent solution?

Thanks :)
This is not meant to troll or diminish your needs, but Ivan's 17.1 LOS build runs really extremely well. If you don't need Android 11 for specific reasons and decide for a reliable daily driver, the 17.1 build is well maintained as well and should also be on the table IMHO.
 
Nov 11, 2020
19
9
I had the same problem, somebody can help about the correct way for update?
same like you mate. i have sent a message to the developer - Ivan, not sure if he gets free time to reply.
due to lack of instructions many preople are confused or dissappointed.
i hope it may get better soon, because the rom is such a good one!

٩( ͡° ͜ʖ ͡°)۶ █▓▒▒░░░ TODAY ░░░▒▒▓█

123.jpg
 
Last edited:

faramirza

Member
Oct 21, 2011
5
0
I got Android Auto working.

I had to revert to the ROM version from current to 20210304. The last version did not provide stable WiFi. WiFi connections would die while downloading my Whatsapp backup, after which I'd need to restart it before wifi would work agian. I don't have this issue on the previous version.
 

Ivan_Meler

Recognized Developer
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
 

ae00711

Member
Oct 9, 2019
16
1
I was about to post to say this ROM is very very slick - fast and very battery efficient!
The only drawback is, when on a phone call, the other person has very bad echo - it doesn't matter if I call or they call, always very bad echo. They sound just fine my end tho. Will see if this April update changes anything!

Thanks Ivan!

edit: oh! and I can't seem to get SKVALEX call recorder to work 100%. It either picks up nothing, or the best I can get it to do is record the other person, but not me.
 

gavelis

Member
Nov 2, 2010
47
6
Thanks for this great opportunity to have Android 11 on my pretty old hero2lte *thumbsup*

The only thing so far i had issues with is the wifi. I couldn´t connect to my router´s wifi or even guest wifi (on same router). It´s a AVM "Fritz!Box 7590". A very popular Router over here in Germany.

After some research on the net I found the reason (maybe helpful if somebody comes across the same issue):
Wifi was set to support WPA3 which auto-enables the "PFM" feature and greyes out the checkbox, so that it´s not deselectable.
The "PMF" is called 802.11w (protected management frames) - a security feature.

On original Samsung ROM it worked with no issue, but on LOS 18.1 I had to switch back to WPA2 only and disable PMF. Then I could connect to wifi again with no issue. When switching back to WPA3/PMF, the hero2lte immediately loses wifi connection.

Maybe it will be integrated in a later stage. I guess it´s not hardware related as it worked before.
Just upgraded to latest version (07.04.2021) and can confirm that I´ve got wifi connection working now with WPA2/3 and PMF setting on router.

Many thanks!
 
  • Like
Reactions: Ryu--X
Nov 11, 2020
19
9
would you be good enough please and tell me, how to switch from this recovery into TWRP ? thank you and best of luck!
 

Attachments

  • LRM_20210414_204556.jpg
    LRM_20210414_204556.jpg
    1.7 MB · Views: 43
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 16
    New build is up here is not so brief changelog

    - 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

    Want to build rom yourself? here is local manifest with up to date repos.

    this build had quite a lot of improvements that took quite a bit of time to fully test and implement and hopefully should be near perfect now.

    Big thanks to everyone who helped this project with donations as they help keep this project alive together with s7 5 years after its release on latest android version
    , Donations help cover build server cost and coffee for free time spent on project itself, Enjoy new build and stay safe
    2
    could someone please clarify or correct latest rom update instructions?

    1.set up a downloading mode on your s7 edge
    2.open odin and connect the phone with computer
    3.upload twrp to odin and flash the phone.
    4.restart, open twrp on the phone and open advance wipe
    5.mark Dalvik / ART Catche and wipe.
    6.open install in twrp and choose new version of rom file and install.

    7.should i install also nikgapps and magisk if i already had installed them before update?
    if yes, should i install rom first, then nikgapps and finally magisk separately or all together at once?

    thanks and best of luck with your s7 edge !
    ----------------------------------------------------------------------------------------


    reply from ivan_meler

    for updating the rom magisk should auto reflash after rom update so no need to manually flash it but nikgapps had broken update survival script so you will likely have to reflash them after flashing the rom itself
    2
    Thanks ivan....we love you....
    1
    another question to s7 edge lineageOS 18.1 users.

    has anyone tried to connect this phone to a car? any tips? thanks and best of luck!
    In my car it works, the only problem: *OK Google" doesn't work. I have to use the microfone button of AndroidAuto instead.
    There are two possibilitirs to run AA:
    First one:
    Use Nickgapps Full, AA is included but also all Google apps
    Second one:
    Use Nickgapps Basic plus the Addon AndroidAuto.
    Good luck trying it!
    1
    Hello
    I can't install nikGapps. Twrp shows error:
    updater process ended with ERROR: 2
    Error installing zip file '/external_sd/Lineage 18.1/NikGapps-omni-arm64-11-20210130-signed.zip'

    Which nikgapps should I download for my phone? https://sourceforge.net/projects/nikgapps/files/ ->Releases->NikGapps-R->30-Jan-2021->NikGapps-omni-arm64-11-20210130-signed.zip??
    My version of twrp is 3.5.2_9-0


    Problem solved.
    I installed an older version of NikGapps and it went
  • 32
    k5tUT1V.png

    LineageOS 18.1 for hero2lte

    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
    - HWcomposer (HWC)
    - HW encoding/decoding
    - 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: 8ee67890fb1f85eb4d09445f09dd277c

    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

    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 Edge, ROM for the Samsung Galaxy S7 Edge

    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
    Current Beta Version: 0.6.5
    Beta Release Date: 2021-01-24

    Created 2020-10-05
    Last Updated 2021-01-24
    23
    New builds are up, And one big change is that hwc is back and ui should be smoother than ever
    here is a brief changelog that explains other chnges too
    - 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

    HWC took quite a bit of work to get working again (Thanks google..) but s7 lives to see yet another year on up to date version of android

    Big thanks to everyone who donated as they help keep this project alive I do this in my free time and said donations help cover build server cost and get me coffee which in return helps solve bugs haha
    19
    New builds are up

    Before installing January 2021 build remove fingerprints and delete /data/system/locksettings.db this is needed due to mobicore version change which helped fix fingerprint with 3rd party secure apps


    Here is a brief changelog

    - 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

    Big thanks to everyone who supported this project as their donations help offset the server cost and keep the device alive enjoy the new build and stay safe
    16
    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
    16
    New build is up with March security update, Here is a brief changelog

    - 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

    Big thanks to everyone who supported this project as donations help cover the build server cost Updated 17.1 builds will be out soon Enjoy new build and stay safe
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone