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

Search This thread

UncleSam40

New member
Jan 27, 2022
1
0
I have a problem. I would like to update from LOS18.1 to 19. With LOS Recovery i delete all files, cache and ...
So i installed via android (SD - Card) the LOS19, without restart i installed nikapps (differnt used) but the nikapps are not installed cause there is a false LOS installed (but i loud always the 12.).
Can you help me
 

xabu

Senior Member
I have a problem. I would like to update from LOS18.1 to 19. With LOS Recovery i delete all files, cache and ...
So i installed via android (SD - Card) the LOS19, without restart i installed nikapps (differnt used) but the nikapps are not installed cause there is a false LOS installed (but i loud always the 12.).
Can you help me

It's worth it to start reading from the beginning of the thread ... all is explained and you can learn a lot.
 

bgsdeluxe

Senior Member
Feb 23, 2013
126
40
I have a problem. I would like to update from LOS18.1 to 19. With LOS Recovery i delete all files, cache and ...
So i installed via android (SD - Card) the LOS19, without restart i installed nikapps (differnt used) but the nikapps are not installed cause there is a false LOS installed (but i loud always the 12.).
Can you help me
Hello and welcome,
I can suggest to read the first post on this thread: https://forum.xda-developers.com/t/...alaxy-s7-herolte-stock-to-android-12.4201187/
Although it is directed to another case (going from stock to LOS), but required steps are the same. In case of questions feel free to let me know.
Tools you need:
Update to latest TWRP recovery: https://twrp.me/samsung/samsunggalaxys7.html
Latest LOS 19 build by Ivan: https://mega.nz/file/OHxwkQxB#sd4QvHzIjmhQEfL0Yt0qkhvMmwT_t7nsz7z04cOWW9g
Gapps package of your choice
Magisk v24: https://github.com/topjohnwu/Magisk
 

bgsdeluxe

Senior Member
Feb 23, 2013
126
40
It's worth it to start reading from the beginning of the thread ... all is explained and you can learn a lot.
Xabu: You're not helping the dev, neither the community. I know it is frustrating, when the same questions are asked over and over again, but learn to deal with your anger a better way. Believe me, you'll be the first one benefitting from it.
 

xabu

Senior Member
Xabu: You're not helping the dev, neither the community. I know it is frustrating, when the same questions are asked over and over again, but learn to deal with your anger a better way. Believe me, you'll be the first one benefitting from it.
Show your wisdom and not your "knowledge" .... (BTW It is not very wise to recommend beta releases to anyone.)
 

bgsdeluxe

Senior Member
Feb 23, 2013
126
40
Magisk v24.0 is a beta release....still in development.
Is it? Searched quite a while to get a separate list of stable and beta releases, but didn't find any. And because it is listed on the developer's github I expected it to be a stable release.
BUT...since my system was quite new and today a lot of things came together (new LOS and Magisk build + new BitGapps package) I decided to do a clean flash again. Everything fine except the developer options aren't opening or are closing and going back to previous menu instantly. Although safetynet check is allright, I'm somehow having the impression this isn't ROM, but Magisk related.
Going to investigate any further tomorrow.
 

Zuikkis

Senior Member
Nov 20, 2013
90
32
Magisk v23 is latest stable, and is working fine with this ROM. And passes SafetyNet without extra modules.
 
  • Like
Reactions: xabu

xabu

Senior Member
magisk.png
 

xabu

Senior Member
Build posted yesterday had broken dev options, so here is a new one with that fixed, Sorry for inconvenience
here is a brief changelog
- Fixed developer options crashing on launch
- Added Bluetooth SBC Dual Channel HD audio mode
- Synced with LOS source
It shows how difficult your work is .... thanks for letting us know !
Enjoy a beautiful day.
 

bgsdeluxe

Senior Member
Feb 23, 2013
126
40
It's interesting in the changelog of v24:

"[General] Support Android 12"

So huh. v23 is not supposed to work in A12? It does for me?
It is working, but it depends on your (or apps) requirements.
Some banks are fighting the workaround really hard and root is detcted in some cases. Although a few workarounds exist it comes down to your own preferences in the end whether to live with an outdated app, usage of flightmode or using the zygisk method.
 
Last edited:

bgsdeluxe

Senior Member
Feb 23, 2013
126
40
Build posted yesterday had broken dev options, so here is a new one with that fixed, Sorry for inconvenience
here is a brief changelog
- Fixed developer options crashing on launch
- Added Bluetooth SBC Dual Channel HD audio mode
- Synced with LOS source
Thank you for your endless energy! :D
I can confirm that the developer options bug isn't occuring any longer. Don't know if it is due to your implementation of the LOS setup wizzard, but although system and apps are configured I still have a message in statusbar wanting me to complete setup. When you click on it data transfer from an old device or backup is coming up. Same was happening with the release from 27th.
But it might be essential to know that I have BitGapps configured to use the Google setup wizzard. Maybe there's the conflict.
Everything else is working fine and smooth.
 

Ivan_Meler

Recognized Developer
Thank you for your endless energy! :D
I can confirm that the developer options bug isn't occuring any longer. Don't know if it is due to your implementation of the LOS setup wizzard, but although system and apps are configured I still have a message in statusbar wanting me to complete setup. When you click on it data transfer from an old device or backup is coming up. Same was happening with the release from 27th.
But it might be essential to know that I have BitGapps configured to use the Google setup wizzard. Maybe there's the conflict.
Everything else is working fine and smooth.
That message is related to gapps setup and not os setup itself
 
  • Like
Reactions: a1himik and xabu

Top Liked Posts

  • 1
    Great ROM. Done clean flash and installed the same Gapps in OP.

    Only problems I have so far:
    - Google Opinion Rewards not working
    - No built in blue light filter
    First thing is related to google apps and not the rom itself
    There definitely is blue light filter, Go to settings>display>LiveDisplay>Display Mode
    1
    You clearly dont understand that ivan didnt make any change which would effect the problem
    For starters, I don't even say that the problem is necessarily a change that Ivan made; it may be a change in the synced LOS source for all we know! But the problem is definitely one (or multiple) of the things that changed between the previous build and the one that moved audio to vendor.

    Nonetheless, what you are implying with your statement? Do you believe in the kind of magic that makes phone audio break for many devices exactly at the time they install the same update but it has nothing to do with the underlying code? Come on, give me a break! EDIT: Thanks for the hint toward the 3G issue, but the fact still remains that the issue only occurs with and after that particular build. Even if the undesirable behavior is on the network/operator side, it only happens to give problems together with the ROM versions after that Jan build. So finding the code change in question would at least open the door for a workaround.

    To clarify: I am not criticizing @Ivan_Meler or his work. In fact, I appreciate his effort very much! His work is the reason why I am still hanging on to this phone! So what I am saying is that I don't even expect Ivan to fix the issue because he has no way of reproducing it. But those who can reproduce the problem don't have access to the code changes, which prevents them from hunting the bug down. If the code changes of that particular build were accessible there would be a reasonable chance that one of us finds the issue.
  • 20
    New builds are up mainly to bring them inline with official lineageos 19.1 builds when it comes to features, here is a brief changelog
    - 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)

    Big thanks to everyone who supported this project so far and helped me cover the build server cost with donations and also got me coffee
    Enjoy new builds and stay safe
    16
    Here we go new build is up and here is the changelog (I also "fixed" mess google made with phone services notification which was affecting a lot of devices and wasnt device or rom specific)
    - 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

    This update has new power hal which took quite a long time to get working properly
    It also outperforms old one and battery life is also better with it since it handles power management way better
    Huge thanks to everyone who supported this project and got me coffee while working on this thing

    Also huge thanks to everyone who donated and helped me cover the build server cost as they are the reason this project is still alive

    Enjoy new build and stay safe
    15
    Here it is May security update with few changes related to device too
    - 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

    I also continued work and testing of new power hal ive been working on for past month or so, Hopefully ill release build with it in a few days (If time allows me as i do this in my free time as a hobby)
    Power hal seems to perform better and manage battery life and performance way better than curent one but i would like to test it further before releasing it

    As always huge thanks to everyone who supported this project and helped me cover the build server cost which is one of reason why this project is still alive keeping s7 up to date with software, New power hal will improve things even further so i cant wait to release next build with it

    18.1 and 17.1 builds will be out in a few days too

    Enjoy new build and stay safe
    14
    New build is up with few new changes
    - 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

    As always big thanks to everyone who supported this project so far as their donations help cover the build server cost and get me coffee which keeps me up while working on this project.

    Expect builds with even more improvements in near future as im testing some exciting changes right now.

    Enjoy new build and stay safe
    4
    Hello,

    the installation worked for me. However, I do not get further with the setup.
    But after the pin input I come back to the Google Services screen. After two repetitions then crashes with the message settings keeps stopping.

    Installed packages:
    lineage-19.1-20220427-UNOFFICIAL-herolte
    NikGapps-stock-arm64-11-20220421-signed
    Magisk-v24.3

    Where could be the problem?
    How did you manage to install 11 gapps on Android 12? That is your issue
  • 57
    k5tUT1V.png

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

    Since most gapps didnt update for 12L yet (SDK bumped from 31 to 32) i edited falmegapps and uploaded them here use them if you cant find gapps that work on 12L https://mega.nz/folder/FFoS1IIK#XunGRNTViQY7-OZ8oQr0sg
    Make sure gapps you decide to use support android 12L/12.1/Are targetting api level 3212L/aka 12.1

    Make sure you are using latest official TWRP before installing rom older versions do not have proper android 12 support

    Downloads:
    Google Drive
    Mega.nz
    GitHub Releases
    MD5: af38c7aab230c53c90faa6b04ef3960a


    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

    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
    20
    New builds are up mainly to bring them inline with official lineageos 19.1 builds when it comes to features, here is a brief changelog
    - 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)

    Big thanks to everyone who supported this project so far and helped me cover the build server cost with donations and also got me coffee
    Enjoy new builds and stay safe
    19
    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
    19
    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
    18
    Well here we go quite a big update mid week (covid hit me so i had more time to mess with s7 instead of doing actual work haha)
    Anywya here is a brief changelog
    - 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

    there are quite a bit of changes this time around, biggest being that selinux is now enforcing once again.
    Once again big thanks to everyone who supported this project so far as their donation help cover the build server cost and get me a coffee.
    There might be few more updates in the coming days if i find anything device side that needs improvements as i have to stay home anyway so might as well do something productive

    enjoy new build and stay safe