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

Search This thread

dark_o

New member
Nov 11, 2021
3
2
thanx, i will try it next time but i thought, i have to use the Version which is corresponding to the Android Version and not to an older one.
Is it save to use an older gapps version instead of the corresponding Version.
as you can see this ''arm64-11'' is for exactly the android version which means it's for android 11 (LineageOS 18.1) but it is built on 2021.09.09
 
  • Like
Reactions: manyone

anyc

Member
May 14, 2017
5
3
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
First, thank you for the image! It works perfectly for one of my family members except this camera problem. She says that this happens frequently with her phone and it works again after a reboot. Is there something we can configure or test in this case?
 

Ivan_Meler

Forum Moderator / Recognized Developer
Staff member
So here are some progress updates, This time about something that was bothering a lot of people.
So lets talk about camera which would stop working after prolonged use.. This issue has been bothering me for over 2 years now but it was one of trickiest issues to deal with as described here https://github.com/8890q/android_device_samsung_universal8890-common/issues/5

Reason why this was so tricky is because camera lib is completely blobbed and there is no source for it so it required some reverse engineering (a lot of it)
first time around we just removed all fd closes from lib which left file descriptors open and once there were too many camera would stop working.. Anyhow since i had a bit more time due to corona i was able to really invest that time into android and look into and finaly i got a solution that is not hacky and resolves issues with camera once and for all (Or as long as google doesnt decide to drastically change something again)

Anyhow camera wont be crashing after ~20 min of use anymore and you wont have to reboot phone to continue using it.

Once again big thanks for all donations that help cover the build server cost and that got me coffee (I really needed coffee to fight with android fdsan weirdness to fix this haha)

New build with camera fix implemented will be out in a few days together with february security update and few other bug fixes, This affects all of 7 and 8 series exynos devices (8890/8895)
 

xx_env

Member
Feb 2, 2022
11
1
Unfortunately WLAN is not stable for me. At some point it just disconnects and doesnt show Wlan network anymore, have to disable and enable WLAN again then it works. No problem with router, on stock this was never an issue.
 

Ivan_Meler

Forum Moderator / Recognized Developer
Staff member
Well here we go february security update builds are up, with camera fix backported from lineageos 19 builds, here is a brief changelog
- 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

Big thanks to everyone who supported this project as always as thanks to them i am able to cover build server cost.
New LineageOS 17.1 builds will be out in a few days with camera fixes backported too
Enjoy new builds and stay safe
 

xx_env

Member
Feb 2, 2022
11
1
Unfortunately the not working camera and green screen isnt solved for me on this last build, occured today after about 44h run time
 

Attachments

  • Screenshot_20220213-193545_Snapchat.png
    Screenshot_20220213-193545_Snapchat.png
    93.1 KB · Views: 67
  • Screenshot_20220213-193558_Einstellungen~2.png
    Screenshot_20220213-193558_Einstellungen~2.png
    22.1 KB · Views: 68
Apr 16, 2017
10
1
Hi! Is it mandatory to wipe everything before flash an update (I'm from 18.1 august build) or can I just flash the 18.1 feb22 build zip from TWRP?
 

stephan.ritscher

New member
Dec 26, 2021
4
2
Hi,
unfortunately the hardware buttons "back" and "app history" stopped working after dirty flashing from December build to February build. They still are illuminated on keyboard activity but pressing them doesn't show any reaction. The other buttons (volume, power, home) still work.
Is there anyone else with te same problem? Is there a known workaround or fix?
Thanks,
Stephan
 

Kippy51

Senior Member
Mar 11, 2015
1,385
751
Haren (Ems)
Hi,
unfortunately the hardware buttons "back" and "app history" stopped working after dirty flashing from December build to February build. They still are illuminated on keyboard activity but pressing them doesn't show any reaction. The other buttons (volume, power, home) still work.
Is there anyone else with te same problem? Is there a known workaround or fix?
Thanks,
Stephan
No problems here flashing Feb over Jan build. Hardware buttons work as they should.
 

niallquinn

Member
Jan 5, 2012
9
1
Samsung Galaxy S7
Unfortunately i get random reboots from time to time, using bitgapps
As I encounter random freezes (e.g. in Brave Browser or Signal's internal camera), my experience is somewhat similar. The only way to get out of such a freeze is a manual reboot by pressing Volume-Down and Power at the same time for some seconds.

I'm using:
  • lineage-18.1-20220211-UNOFFICIAL-herolte
  • BiTGApps-arm64-11.0.0-R45_signed
  • twrp-3.6.0_9-0-herolte
Moreover, some people I call (via SIM) have an echo, i.e. they hear what they've just said. No echo on my side, however.

I live in Germany, my provider is congstar/Telekom.

Could my problems be connected with bitgapps?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    June security update is up, Not too many changes in this one just android security bulletin ones and few lineageos changes
    As always big thanks to everyone who supported this project with donations and helped cover the build server cost.
    Enjoy new build and stay safe
    1
    Thanks a lot for your work. The App SnoopSnitch, when letting it do a patch level analysis, claims CVE-2021-0314 missing the corresponding patch in this build. Is this a false positive or maybe intentional for some reason?
    that cve is definitely patched
    ref: https://github.com/LineageOS/android_frameworks_base/commit/90cfe17643aa4ecbe7cbfb1c787217456f764e08


    tho since this is sec vulnerability in packageinstaller if you use 3rd party one like one from larger google apps package your gapps might have outdated package installer

    or it might just be false positive
    1
    that cve is definitely patched
    ref: https://github.com/LineageOS/android_frameworks_base/commit/90cfe17643aa4ecbe7cbfb1c787217456f764e08


    tho since this is sec vulnerability in packageinstaller if you use 3rd party one like one from larger google apps package your gapps might have outdated package installer

    or it might just be false positive
    Thanks for the infos. Update history on the device tells me that there is no lack of updates - a lot of apps got updated recently, including the Google ones. So, seeing the commit you linked to and regularly incoming updates, I chose not to worry (and on top, the CVE mentions that the exploit needs user interaction anyway).
    1
  • 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: 6ec4e2f110c62431ad9a0d85b523545e

    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

    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