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

Search This thread

maximesharp

Member
Jun 22, 2017
25
11
Hi! I must thank you for this great rom. It really revived my old S7 edge. I'm not noticing any bugs, but every few hours Seedvault asks for backup. How can I turn it off completely? It's so annoying. Thanks!
You can either :
- Finish the configuration of Seedvault (write down all the words and then process to back-up your device)
- Change the backup provider from Seedvault to Google
 
  • Like
Reactions: maximesharp
Play protect certifications "device is not certified".
Is it dangerous or we can leave it like that ?? Im using bitgapps by the way.
View attachment 5507323
You can manually certify your device by following this link : https://www.google.com/android/uncertified/
Or you can use magisk hide and patch with hide like in this photo

Screenshot_20220113-113907_IPK.png

Next check safetynet and finally delete data of play store and check if now the device is certified
 
Last edited by a moderator:

maximesharp

Member
Jun 22, 2017
25
11
Or you can use magisk hide and patch with hide like in this photo
View attachment 5507569

Next check safetynet and finally delete data of play store and check if now the device is certified

As far as I know, the Play Protect "device is not certified" message isn't an issue of SafetyNet checks. It's just because Google can't find any result of the compatiily test for the device, so you need to manually register the device on their plateforme.
 
As far as I know, the Play Protect "device is not certified" message isn't an issue of SafetyNet checks. It's just because Google can't find any result of the compatiily test for the device, so you need to manually register the device on their plateforme.
Although you do not believe it, doing those steps I managed to pass the play protect certification since when I finished flashing the rom it came out that it was not certified
 
  • Like
Reactions: maximesharp

dataki

Member
Dec 11, 2016
7
0
I'm pretty much out of the loop, but is there a way to get my banking app working with this rom? Tried setting Selinux to enforcing and hide in magisk but still not working. Rooted just today to try and set Selinux. But if i remove root, selinux switches back to permissive, am i right? Help would be appreciated
 

maximesharp

Member
Jun 22, 2017
25
11
I'm pretty much out of the loop, but is there a way to get my banking app working with this rom? Tried setting Selinux to enforcing and hide in magisk but still not working. Rooted just today to try and set Selinux. But if i remove root, selinux switches back to permissive, am i right? Help would be appreciated
Some banking apps doesn't work if they can see the magisk package.
You can hide the Magisk app (it will repack it with a random app package & name) under Settings > Hide the magisk app.
 

colla_76

Member
Oct 29, 2009
34
5
Sono praticamente fuori dal giro, ma c'è un modo per far funzionare la mia app bancaria con questa rom? Ho provato a impostare Selinux per applicare e nascondere in magisk ma ancora non funziona. Rootato proprio oggi per provare a impostare Selinux. Ma se rimuovo root, selinux torna a permissivo, ho ragione? L'aiuto sarebbe apprezzato
Hai hai controllato l'app bancaria in magisk hide?
 

dataki

Member
Dec 11, 2016
7
0
I always repack magisk. Also done that. I have absolutly no clue, how they do it. Do you know of any other ways? I have no problem with removing root, if my banking app works that way! But without root, i can't set selinux to enforcing...


also @colla_76 yes, i used magisk hide, still not working. And i have no clue how they manage to detect that.
Some banking apps doesn't work if they can see the magisk package.
You can hide the Magisk app (it will repack it with a random app package & name) under Settings > Hide the magisk app.

Edit: I ran the app VDInfos to check what could be detected as root, and there were 15 results concerning Test-Keys and something about userdebug
 
Last edited:

colla_76

Member
Oct 29, 2009
34
5
Reimballo sempre magisk. Fatto anche quello. Non ho assolutamente idea di come lo facciano. Conoscete altri modi? Non ho problemi con la rimozione di root, se la mia app bancaria funziona in questo modo! Ma senza root, non posso impostare selinux su enforcing...


anche @colla_76 sì, ho usato magisk hide, ancora non funziona. E non ho idea di come riescano a rilevarlo.


Modifica: ho eseguito l'app VDInfos per verificare cosa poteva essere rilevato come root e ci sono stati 15 risultati relativi a Test-Keys e qualcosa su userdebug
 

Top Liked Posts

  • 5
    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
  • 15
    Since my birthday is tomorrow I decided to release a little surprise build. Here is a brief changelog:
    - 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

    Im aware of Seedvault issue curently present and im working on a fix for it.
    I wanted to release something as a gift from me to everyone using this rom and supporting this project throughout the years. Keeping older phones alive and up to date is really fun hobby and I don't think I would've kept doing it if it wasnt for all of the support from the comunity.

    Once again big thanks to everyone who helped cover the build serve cost and coffee.

    Enjoy new build and stay safe
    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 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
    5
    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
    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