LineageOS 19.1 (Android 12L) [Signature Spoofing][OTA updates] for S7 Edge Exynos

Search This thread

Ryan 23

Member
Aug 16, 2013
46
24
Hey Ivan just reporting a bug: long pressing the power button doesn't activate the torch even after toggling it on in the settings.
Otherwise the December 9th build has been working great for me, thanks a lot for sharing!
 
Last edited:

MBechirM

Senior Member
Mar 28, 2017
151
88
Tunis
Samsung Galaxy S7 Edge
Try clicking the volume button twice.
Try again it should work.

Again here's what I've done:
Flash system, Gapps and magisk at the same time
Enable MagiskHide
Spoof device fingerprint to Pixel 5 (using Pixelify module)
 

Attachments

  • Screenshot_20211213-131757.png
    Screenshot_20211213-131757.png
    78.4 KB · Views: 65

AutumnOnFire

Senior Member
May 10, 2020
61
11
Samsung Galaxy S7 Edge
Moto G6
I haven't tried lineage 18.1 but it should work
Just tried it, didn't work. Here's my exact process:

- On TWRP flashed LineageOS19, Gapps (NikGapps), Magisk 23
- Reboot to System
- Setup Wifi and Magisk
- On Magisk, Flash Pixelfy from your link
- Chose Pixel 5 spoof
- Didn't choose anything else
- Reboot
- Still failed ctosprofile. Says attestation failed.

Edit: All right, so instead of doing this, I went and found out that I have been using magiskhide props config all wrong this whole time. I've actually done what I needed to do and now it's passing.
 
Last edited:

Ivan_Meler

Forum Moderator / Recognized Developer
Staff member
And as prommised new build is up with quite a lot of imrpovements even compared to few days old one here is a brief changelog
- Updated Clearkey to 1.4
- Addressed most of selinux denials
- Switched to new AIDL Lights hal
- Upreved audio hal to 7.0
- Switched to new AIDL Vibrator hal
- Disabled configstore which got replaced with props
- Upreved fingerprint hal/service to 1.3
- Removed unused kernel defconfig flag
- Synced with LOS source

Once again big thanks for everyone who supported this project so far as their support helps cover the build server cost and gets me a coffee which greatly helps while debugging and dealing with some device specific quirks and issues
 
Last edited:

Top Liked Posts

  • 6
    I havent posted an actual progress update in quite some time so here is some behind the scenes.
    • HWC And most of display hals will be updated and open sourced
    • Keystore will also be looked into a bit further to see if there are edge cases left where some secure apps break
    • OMX again without going into too much details we will see some changes on that end and it will be open sourced
    • Camera, well ill just let this one be a surprise for now since it will require most work
    There is a lot more going behind the scenes and some of those changes will take some time (Keep in mind i do this in my free time so i really cant talk about etas) but in general once most of those chanegs are up 8890 devices will be in perfect condition and once Android 13 source is out it won't take too long to get it working.

    Some other small notes since s7 i use to develop this rom on has broken screen (i use scrcpy to mirror screen on pc)
    feel free to send me message with any good deals you find on 8890 device be it s7 s7 edge or note fe

    And finally HUGE thanks to everyone who supported this project and helped cover the build server cost, thius project really wouldnt be possible without them, They also covered the coffee cost and some stuff like recent keystore fixes really took a long time to debug which indeed required a lot of coffee at night haha.
  • 9
    And here we go as prommised, new build with improved in call audio quality and June security update
    - Merged June 2022. security update
    - Merged June 2022. pixel feature drop (SQ3A.220605.009.A1)
    - Improved in-call audio quality drastically
    - Addressed few more selinux denials
    - Improved general stability and performance
    - Cleaned up source
    - Synced with LineageOS source

    Once again huge thanks to everyone who supported this project, helped cover the build server cost and got me a coffee, this project wouldnt be possible without support of the comunity and s7 wouldnt still be running latest OS with latest security updates over 6 years after launch

    18.1 and 17.1 builds will be out over the coming days
    Enjoy new build and stay safe
    6
    New builds are up here and via ota
    - Fixed issues with keystore present in a lot of bank/secure apps like binance
    - Fixed issue where setupwizard would crash when adding fingerprint due to bug in keystore
    - Cleaned up patches required for build and removed unneeded ones
    - Synced with LineageOS source

    This was one of hardest things to track down and it prevented some security related apps from working, big thanks to everyone who supported this project and got me coffee (This took over a month on and off time to debug and figure out, one of weirdest error caused by googles keystore changes in android 12) and thanks to those who helped cover the build server cost

    Enjoy new build and stay safe
    6
    New update will fix in call audio quality
    there was a weird bug in audio hal that was causing it.

    Big thanks to @Bujiraso for playing with props and audio configs which at the end lead me to finding bug in audio hal.

    Now im only waiting for google to push June security update source so I can start compiling builds and release them
    6
    I havent posted an actual progress update in quite some time so here is some behind the scenes.
    • HWC And most of display hals will be updated and open sourced
    • Keystore will also be looked into a bit further to see if there are edge cases left where some secure apps break
    • OMX again without going into too much details we will see some changes on that end and it will be open sourced
    • Camera, well ill just let this one be a surprise for now since it will require most work
    There is a lot more going behind the scenes and some of those changes will take some time (Keep in mind i do this in my free time so i really cant talk about etas) but in general once most of those chanegs are up 8890 devices will be in perfect condition and once Android 13 source is out it won't take too long to get it working.

    Some other small notes since s7 i use to develop this rom on has broken screen (i use scrcpy to mirror screen on pc)
    feel free to send me message with any good deals you find on 8890 device be it s7 s7 edge or note fe

    And finally HUGE thanks to everyone who supported this project and helped cover the build server cost, thius project really wouldnt be possible without them, They also covered the coffee cost and some stuff like recent keystore fixes really took a long time to debug which indeed required a lot of coffee at night haha.
    3
    So!
    I have found an oddity which might trace to our call quality issue.

    Could anyone else please confirm that sending/receiving a call immediately switches the connected network in the internet settings from 4G to 3G? I assume of course there will be some or many for which this doesn't happen (e.g. don't have data, don't have 4G, etc.), so I would be extra interested to hear from those suffering from poor call quality.

    For me this is easiest to see by pulling down the notification shade and then hold-tapping the internet icon. It will open you to the "wifi" settings page but it also shows the network connection if you have a data plan. For me it says "4G", then when I get a call it drops to "3G".

    ...That can't be right, hm?
    (cc @Ivan_Meler)
    well there is no volte so its expected for data to switch from 4g to 3g or even 2g in call, if it didnt happen you would have no ability to make/recieve voice calls at all
  • 42
    k5tUT1V.png

    LineageOS 19.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
    - 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
    -


    Keep in mind that some LineageOS features have not been completed yet this is not a device bug and please do not report those
    in this rom thread, 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




    Install gapps right after installing the rom itself don't try to boot to system before that if you want to use gapps (Or wipe data before installing them)

    Make sure gapps you decide to use support android 12L/12.1/Are targetting api level 32
    Also make sure you are using latest official TWRP before installing rom older versions do not have proper android 12 support

    If you want to use Magisk use latest Magisk Beta (25.0) or Magisk 24.1, there is bug in 24.3 that was fixed after its release that prevents zygisk from working on some devices with 3.18 kernel

    Downloads:
    Google Drive
    Mega.nz
    GitHub Releases
    MD5: 76ebe060c685faa52e02778293e0e31f

    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

    Based On Android 12L/S
    Changelog

    24.06.2022.
    - Fixed issues with keystore present in a lot of bank/secure apps like binance
    - Fixed issue where setupwizard would crash when adding fingerprint due to bug in keystore
    - Cleaned up patches required for build and removed unneeded ones
    - Synced with LineageOS source

    07.06.2022.
    - Merged June 2022. security update
    - Merged June 2022. pixel feature drop (SQ3A.220605.009.A1)
    - Improved in-call audio quality drastically
    - Addressed few more selinux denials
    - Improved general stability and performance
    - Cleaned up source
    - Synced with LineageOS source

    26.05.2022.
    - Updated libexynosdisplay from BSP to comply with some android 12 changes
    - Removed unused build.prop entries
    - Fixed few selinux denials related to hwc props
    - Improved UI performance and stability
    - Cleaned up source
    - Removed more unneeded patches for device support
    - Synced with LineageOS source

    18.05.2022.
    - Added QR code reader quick settings toggle
    - Improved device performance and stability
    - Added Custom low power mode power profile for cpu
    - Improved A-GNSS (A-GPS) Lock speed
    - Exposed device hw revision to settings
    - Improved fast/slow charger detection
    - Synced with LineageOS source

    10.05.2022.
    - Switched to new libperfmgr power hal which can be configured from /system/vendor/etc/powerhints.json
    - Adapted DT2W to new power hal
    - Muted phone services gps notif (Thanks google really appreciate you breaking random things for everyone)
    - Improved battery life and performance
    - Cleaned up all of leftover patches that were used by legacy power hal
    - Synced with LineageOS source

    07.05.2022.
    - Improved battery usage logging for display
    - Added QR code reader to camera app (Long hold icon and launch it from context menu)
    - Misc performance and stability improvements
    - Merged May 2022. security update
    - Synced with LineageOS source

    27.04.2022.
    - Removed libbfqio dependency from hwc since it was dropped from lineageos 19.1
    - Misc performance and stability improvements
    - Synced with LineageOS source (same base as official builds + some extras)

    18.04.2022.
    - Fixed bug wehre vibrations were too low on some devices due to inintensity being set to 0
    - Fixed bug where apps would show square popup "animation" when launching from icon instead of roudned one
    - Cleaned up build patches
    - Synced with LineageOS source

    15.04.2022.
    - Updated sepolicy and merged updated common samsung_slsi sepolicy
    - Increased microphone gain while recording media (Camcorder, voice recording etc.)
    - Added option to disable vibration feedback on fingerprint auth
    - Synced with LineageOS source

    08.04.2022.
    - Fixed extended volume panel
    - Updated icons for few more stock apps
    - Cleaned up patches further
    - Misc peroformance improvements
    - Synced with LineageOS source

    06.04.2022.
    - Merged April 2022. Security update
    - Enabled new LineageOS icons (you might have to clear launcher cache for them to show up)
    - Fixed issue where galery app would show black text on black background
    - Fixed issue where unlock sound would sometimes play twice
    - Misc performance and stability improvements
    - Synced with LineageOS source

    29.03.2022.
    - Drastically speed up app launch time (more info about that here)
    - Imrpoved performance and battery life by disabling some unnecessary logging
    - Switched to source built camera provider and removed samsung proprietary one
    - Upreved camera provider to 2.5
    - Fixed few selinux denials related to NFC trying to raad debug props
    - Removed floating_feature.xml which is unused on aosp
    - Disabled livedisplay by default
    - Cleaned up extra dependencies used for compiling
    - Synced with LOS source

    22.03.2022.
    - Added back configurable audio volume panel location
    - Speed up unlock with fingerprint
    - Updated a lot of apps to MaterialYou design language
    - Fixed issue where touch screen area bellow home button would act as a gesture area even while gestures are disabled
    - Improved stability of ADB connection
    - Implemented new LineageOS setupwizard
    - Cleaned up device tree and list of required patches
    - Stability and performance improvements
    - Pointed Changelog url in updater app to new page
    - Synced with LineageOS source

    14.03.2022.
    - Fixed issue with keystore where apps would crash when invoking it (Security related apps mostly like signal and a lot of work apps)
    - Officially rebranded as 19.1
    - Updated changelog URL in updater app to point to a valid changelog
    - Fixed battery icon styles (Again..)
    - Removed invalid zram config.
    - Cleaned up source
    - Performance and stability improvements
    - Updated some stock apps to math with new design
    - Synced with LineageOS source

    10.03.2022.
    - Merged March 2022. security and feature updates (Android 12L)
    - Fixed status bar network trafic monitor
    - Improved zram performance and enabled zram writeback
    - Cleaned up patches needed for build
    - Fixed network usage monitoring
    - Fixed per app network restrictions
    - Removed AudioFX which was causing issues
    - Decreased microphone and earpiece gain a bit to mitigate in-call issues
    - Updated some device control apps like advanced display settings
    - Improved vibrator intensity in new hal
    - Imrpoved fp sensor response time
    - A lot of 'under the hood' changes
    - Performance improvements
    - Merged more previously missing los features
    - Implemented OTA updates

    10.02.2022.
    - Merged February 2022. security update
    - Removed broken volume button location toggle
    - Synced with LOS source

    09.02.2022.
    - Fixed issue where camera would stop working after prolonged use
    - Misc performance and stability improvements
    - Merged some more lineageos features that have been posted to gerrit
    - Synced with LOS source


    28.01.2022.
    - Fixed developer options crashing on launch
    - Added Bluetooth SBC Dual Channel HD audio mode
    - Synced with LOS source

    27.01.2022.
    - Added back lineageos setup wizard present on clean installs
    - Merged some of previously missing features that have been ported over to LineageOS 19
    - Performance and stability improvements
    - Synced with LOS source

    18.01.2022.
    - Enabled selinux (Its enforcing now)
    - Moved audio hal to vendor
    - Fixed confirmation dialog box for button backlight
    - Fixed ok button which would go missing for button backlight
    - Switched to source built secril_config_svc (used for ds detection)
    - Removed obsolete debug.sf.disable_backpressure prop
    - Merged latest security updates to kernel from aosp kernel/common
    - Cleaned up source
    - Cleaned up unused props
    - Removed unused custom ld.config.txt that was overriding main one
    - Misc performance and stability improvements
    - Synced with LOS source

    06.01.2022.
    - Removed duplicate props in vendor and system
    - Cleaned up device tree code
    - Switched to source built camera provider lib
    - Switched to few source built ril related libs
    - Addressed more selinux denials
    - Fixed volume panel location settings
    - Added button backlight
    - Added Advanced Reboot
    - Added LiveDisplay entry into settings
    - Added system side toggle for navigation bar
    - Merged January 2022 Security Update
    - Merged most of previously missing LineageOS features
    - Misc performance and stability improvements
    - Synced with LOS source


    20.12.2021.
    - Fixed wireless display
    - Reduced logspam which should imrpove performance a bit
    - Misc performance and stability improvements
    - Synced with LOS source

    16.12.2021.
    - Merged r18 tag of Android 12 (SQ1D.211205.016.A1)
    - Removed liboemcrypto which was preventing drm playback in some apps
    - Synced with LOS source

    13.12.2021.
    - Updated Clearkey to 1.4
    - Addressed most of selinux denials
    - Switched to new AIDL Lights hal
    - Upreved audio hal to 7.0
    - Switched to new AIDL Vibrator hal
    - Disabled configstore which got replaced with props
    - Upreved fingerprint hal/service to 1.3
    - Removed unused kernel defconfig flag
    - Synced with LOS source

    09.12.2021.
    - Merged December 2021. Security update
    - Merged December 2021 pixel feature drop
    - Added signature spoofing support which can be used to add microg instead of gapps
    - Merged a lot of lineageos features that have been implemented
    - Fixed bluetooth sample rate while in call
    - Moved device specific ueventd rules to /system/vendor/etc
    - Freed up some ram
    - performance and stability improvements

    30.11.2021.
    - Initial release



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

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

    ROM OS Version: Android 12L
    ROM Kernel: Linux 3.18.x

    Version Information
    Status:
    Stable
    21
    Well here are some progress update of whats happening behind the scenes.
    Ive given 4.4 kernel from 8895 another go and got even further in porting it to 8890 devices this time around.
    Mali drivers are ported so is decon (display and graphics stack is up)
    I also managed to port audio drivers, buttons and their backlight.
    UFS storage drivers were somewhat pain but i got them to work too
    and there is tons of small stuff like fp sensor,thermal driver and misc

    Tho im not sure it makes too much sense to do this as 4.4 kernel is eol too at least it has full bpf support which i got working on 8895 devices
    Other than that there is not too much going on right now, There are few selinux policies that will have to be dealt with and im still dealing with audio config
    tho i could only notice echo and not robotic voice some people noticed so that leads me to believe it could be related to weird modem missmatches

    I might release another quick build this month with few audio related improvements
    No etas as i do this in my free time, And as always thanks to everyone who supported this project so fat as thanks to them this project and device are still alive on latest android version even 6 years after its release (fun fact s7 series was announced on 21. feb. 2016.) so this is somewhat of a s7 birthday update on progress
    17
    After a long wait, here it is, Surprisingly smooth android 12 on s7
    check out screenshots here Big thanks to everyone who supported this project so far as they helped cover the build server cost and got me coffee for hours spent debbuging weird issues
    enjoy android 12 and stay safe
    17
    Well here we go first build of the year, andquite a big one while at it
    Here is a brief changelogbut there are a lot more changes you will discover in this build
    - Removed duplicate props in vendor and system
    - Cleaned up device tree code
    - Switched to source built camera provider lib
    - Switched to few source built ril related libs
    - Addressed more selinux denials
    - Fixed volume panel location settings
    - Added button backlight
    - Added Advanced Reboot
    - Added LiveDisplay entry into settings
    - Added system side toggle for navigation bar
    - Merged January 2022 Security Update
    - Merged most of previously missing LineageOS features
    - Misc performance and stability improvements
    - Synced with LOS source

    Updates for Android 11 and 10 should be out next week

    About camera, As some of you might be aware camera tends to crash afterprolongued use, Im investigatinga fix for it but due to nature of issue itself it might take time
    to figure this out completely and what the best way to deal with it is.

    Andfinally huge thanks toeveryonewho supported this and other projects of mine so far as they help me cover the build server cost and get me a coffee with their donations, 2022 marks 5 years since release of s7 and im glad i can help in keeping them alive on latest android version with latest security updates
    Hope you all had great holidays, Enjoy new build and stay safe in 2022
    16
    And here it is build with camera properly fixed
    - Fixed issue where camera would stop working after prolonged use
    - Misc performance and stability improvements
    - Merged some more lineageos features that have been posted to gerrit
    - Synced with LOS source

    keep in mind February security update has not been merged yet and should be in a few days so ill post new build once security update is ready

    This really took a long time to fix properly (almost 2 years i would say) especially without disabling fdsan system wide
    This fix will be ported over to 17.1 and 18.1 builds too but before i release them ill hold on till february security update is out

    Next thing on my todo list is to somewhat mitigate echo in calls some users are experiencing

    Once again big thanks to everyone who supported this project and helped cover the build server cost and got me coffee
    Enjoy new build and stay safe