LineageOS 20.0 (Android 13) [Signature Spoofing][OTA updates] for S7 Exynos

Search This thread

mvanvoorden

Senior Member
Nov 11, 2010
62
10
Works great so far! Only things I'm missing are tethering (both wifi and usb do not seem to be working), and traffic monitoring (which is already mentioned in known issues).
 

vizolover

Senior Member
Dec 23, 2009
59
16
Build 20221001,

When the Ambient screen is enabled, it takes 1-2 seconds for the screen to come up after waking up the phone. No longer an issue

Also, the time adjustment on the backlight for the capacitive buttons doesn't work, the light stays on until you tap on the screen (bug remains on the latest build as well).. -- A reboot fixes the issue.
 
Last edited:

Dom Elder

Member
Sep 7, 2022
16
2
k5tUT1V.png

LineageOS 20.0 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
- Storage Encryption (WIP switching to FBE from FDE since FDE was removed in 13)
- Network trafic monitoring (WIP, same reason as bellow, uses BPF)
- BPF specific functions like fancy new GPU monitoring in Android 13


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

NikGapps have been updated to 13, you might need to clean flash if you used other gapps in past including nikgapps 12.1 version

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

Downloads:
Google Drive
Mega.nz
GitHub Releases
MD5: 1c3371af5ab2636da4bc2eb7da2c5a04


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 13/T
Changelog

01.10.2022.
- Fixed samsungs bug with gps where it would start acting up over time due to time rollover bug
- Implemented gesture navigation settings
- Removed leftover unused blobs
- Updated neural network interface lib
- Synced with LineageOS source

28.09.2022.
- Added button backlight control
- Unpinned deprecated updatable media apex jar from ram
- Allowed system to override some bluetooth props
- Performance and stability improvements
- Synced with LineageOS source (Almost all of lineageos features should be there and work now)

19.09.2022.
- Removed libhidl hacks and updated libs that required it in past
- Switched to new audio service to remove need for hacks in original one
- Updated kernel build flags for new build enviroment
- Misc performance and stability improvements
- Synced with LineageOS source

08.09.2022.
- Merged September 2022. Security update
- Updated chromium webview to 105.0.5195.79
- Added more customization options powered by Monet
- Misc performance and stability improvements
- Synced with LineageOS source

06.09.2022.
- Most of lineageos features have been implemented
- Misc performance and stability improvements
- Synced with LineageOS source

25.08.2022.
- Initial release



XDA:DevDB Information
LineageOS 20.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.1

ROM OS Version: Android 13
ROM Kernel: Linux 3.18.x

Version Information
Status:
Testing
Just want to say Thank You.
Thank you for this wonderful rom.
Thank you for making consistent updates.

Thank You!
 

zehkul

Member
Feb 11, 2021
7
1
Okay guys, I have a really funky and 100% reproducible bug here. (On my device, anyway)
While bed time mode is enabled (including black&white screen which I intuitively presume is relevant, haven’t tested it though), any reboot of the phone will result in the lock screen being visible for a tiny bit but then it quickly fades to black and *stays black*. The touchscreen is still usable if you’re enough of a psychic to know where you should touch, but it’s pitch black. Until bedtime mode is disabled as per the settings, or until I manually disable Digital Wellbeing. What I can confirm is that pm uninstall -k --user 0 com.google.android.apps.wellbeing works to restore the screen.

I updated to this lineage 20 ROM afterwards while the issue was occuring (and used above workaround afterwards) so I assume it also applies to the lineage 20 ROM. Is this a ROM specific issue, or a LOS/Digital Wellbeing issue? Seems like a major bug like this should be more well known if it applied to everyone though. Can anybody confirm this?
 

Ivan_Meler

Forum Moderator / Recognized Developer
Staff member
New builds are up, here is a brief changelog
- Merged october 2022. Security update
- Improved UI performance
- Fixed issues that were caused by nav bar changes
- Improved stock camera app
- Cleaned up list of patches needed to reproduce builds
- Synced with LineageOS source

Updated LineageOS 19.1, 18.1 and 17.1 builds will be updated later this week

Big thanks to everyone who supported this project and helped cover the build server cost, This project wouldnt be possible without them.
 
Last edited:

Ivan_Meler

Forum Moderator / Recognized Developer
Staff member
Okay guys, I have a really funky and 100% reproducible bug here. (On my device, anyway)
While bed time mode is enabled (including black&white screen which I intuitively presume is relevant, haven’t tested it though), any reboot of the phone will result in the lock screen being visible for a tiny bit but then it quickly fades to black and *stays black*. The touchscreen is still usable if you’re enough of a psychic to know where you should touch, but it’s pitch black. Until bedtime mode is disabled as per the settings, or until I manually disable Digital Wellbeing. What I can confirm is that pm uninstall -k --user 0 com.google.android.apps.wellbeing works to restore the screen.

I updated to this lineage 20 ROM afterwards while the issue was occuring (and used above workaround afterwards) so I assume it also applies to the lineage 20 ROM. Is this a ROM specific issue, or a LOS/Digital Wellbeing issue? Seems like a major bug like this should be more well known if it applied to everyone though. Can anybody confirm this?
digital wellbeing/ night mode is not part of the rom itself gapps probably lack overlay for minimum brightness
 

chomsky55

Senior Member
Sep 21, 2020
237
82
Samsung Galaxy S7
OnePlus 5T
New builds are up, here is a brief changelog
- Merged october 2022. Security update
- Improved UI performance
- Fixed issues that were caused by nav bar changes
- Improved stock camera app
- Cleaned up list of patches needed to reproduce builds
- Synced with LineageOS source

Updated LineageOS 19.1, 18.1 and 17.1 builds will be updated later this week

Big thanks to everyone who supported this project and helped cover the build server cost, This project wouldnt be possible without them.
adb sideload lineage-20.0-20221004-UNOFFICIAL-herolte.zip serving: 'lineage-20.0-20221004-UNOFFICIAL-herolte.zip' (~21%) adb: failed to read command: Success

and on the phone it just says: patching system image unconditionally...

It's not running anymore but the blue bar is still animated..can't exit or restart the sideload, The md5sum checked out fine. After a forcefull reboot I of course end in a bootloop. Rebooting to twrp and sideloading the zip again gives the same error and same bahaviour it just exits at a different percentage.

Does anyone have a link to the previous update?
 
Last edited:

Ivan_Meler

Forum Moderator / Recognized Developer
Staff member
adb sideload lineage-20.0-20221004-UNOFFICIAL-herolte.zip serving: 'lineage-20.0-20221004-UNOFFICIAL-herolte.zip' (~21%) adb: failed to read command: Success

and on the phone it just says: patching system image unconditionally...

It's not running anymore but the blue bar is still animated..can't exit or restart the sideload,

Does anyone have a link to the previous update?
shouldve used ota or flashed it without sideload, rom itself works fine tho adb on your host pc messed something up while serving update likely
 

chomsky55

Senior Member
Sep 21, 2020
237
82
Samsung Galaxy S7
OnePlus 5T
shouldve used ota or flashed it without sideload, rom itself works fine tho adb on your host pc messed something up while serving update likely
I always sideload and it always works out fine. I'm on the latest adroid-tools package...I use Arch btw

EDIT: After downloading the zip from github and trying again it functioned this time! The other zip I downloaded which failed was from Mega. Weird thing is that usually the phone stays rooted but not this time.
 
Last edited:

vizolover

Senior Member
Dec 23, 2009
59
16
Found a bug on the camera app. When I tap on the photo I just snapped, it doesn't bring up the gallery app (no photo preview).
 

vizolover

Senior Member
Dec 23, 2009
59
16
For me it works; even get a pop-up were I can choose which app to open with: gallery App or etc. And just once or always.
Thanks for the reply, I found the culprit. It was Gcam Services I had previously installed in order to use a Gcam port. It apparently takes precedence as the default app to open the preview (having Gcam services makes the OS think you have Google Photos installed and even get a prompt to update the Google Photos app). As soon as I uninstall it, it works as expected.

But I found another bug where my selfies (from the stock camera app) are coming up in the wrong orientation. 🙃
 

Top Liked Posts

  • There are no posts matching your filters.
  • 15
    Here we go, November security update is out
    - Merged November 2022. Security update
    - Misc performance and stability improvements
    - Cleaned up patches source
    - Synced with LineageOS source

    Some of you might have noticed that there were not any updates after security update, I had a lot going on in personal life and havent had time for android unfortunately hopefully that changes soon so i can finish up few more things that need to be sorted on s7.
    On another note updated 19.1, 18.1 and 17.1 builds will likely be out next week
    Huge thanks for everyone who supported this project so far as their donations help cover the build server cost.
    Enjoy new builds and stay safe.
    10
    Here is a surprise little update for you all, and here is a brief changelog:
    - Cleaned up patches used for non-BPF kernel
    - Performance stability and battery life improvements
    - Synced with LineageOS source

    Big thanks to everyone who supported this project so far and helped cover the build server cost and got me coffee, this project wouldnt be possible without them.

    Enjoy new builds and stay safe
    4
    Hello,
    as far as I know, Ivan's (@Ivan_Meler) sources are also used by Exodusnick for his microG version of LOS. I am still looking for a solution to the echo problem that exists from LOS 17 onwards at least for a part of the S7 devices, so I did a file comparison (all files with "audio" or "mixer" in the name) between LOS 16 and LOS 20.

    Unfortunately, I know far too little about Android. But maybe a developer can see a possible cause for the echo problem from the differences in the files, which we can then work on further. For example, I am surprised that the file audio.primary.universal8890.so is missing under .../hw/lib64/, although the S7 has a 64-bit OS (at least I think so).

    I would be happy if someone takes the time to have a quick look at the comparison. Maybe we have overlooked something quite obvious so far.

    I think it's such a pity that because of the echo you can't use all the new ROMs in everyday life and have to stay with LOS16.

    Thank you
    kjoe
    sorry to say but that comparison of files you did is completely pointless and useless, trust me if it was as easy as comparing files somebody wouldve done it
    2
    To everyone who is facing the issue of apps not opening, I isolated the cause to be formatting SD card as internal storage. Right now you can only use SD card as portable storage.
    2
    Here we go, November security update is out
    - Merged November 2022. Security update
    - Misc performance and stability improvements
    - Cleaned up patches source
    - Synced with LineageOS source

    Some of you might have noticed that there were not any updates after security update, I had a lot going on in personal life and havent had time for android unfortunately hopefully that changes soon so i can finish up few more things that need to be sorted on s7.
    On another note updated 19.1, 18.1 and 17.1 builds will likely be out next week
    Huge thanks for everyone who supported this project so far as their donations help cover the build server cost.
    Enjoy new builds and stay safe.
    Thanks for all of your hard work, @Ivan_Meler . I hope things improve for you in your personal life!
  • 34
    k5tUT1V.png

    LineageOS 20.0 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
    - Storage Encryption (WIP switching to FBE from FDE since FDE was removed in 13)
    - Network trafic monitoring (WIP, same reason as bellow, uses BPF)
    - BPF specific functions like fancy new GPU monitoring in Android 13


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

    NikGapps have been updated to 13, you might need to clean flash if you used other gapps in past including nikgapps 12.1 version

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

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


    if you want to support the project feel free to buy me some coffee paypal.me/ivanmeler

    BTC: 1Q823BsSbEKP62JFM7BjXiRCgF84qgcFST
    ETH(erc20): 0xc7272f851a692c679e85f18a62632c580ef3bdee
    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 13/T
    Changelog

    19.11.2022.
    - Cleaned up patches used for non-BPF kernel
    - Performance stability and battery life improvements
    - Synced with LineageOS source

    09.11.2022.
    - Merged November 2022. Security update
    - Misc performance and stability improvements
    - Cleaned up patches source
    - Synced with LineageOS source

    04.10.2022.
    - Merged october 2022. Security update
    - Improved UI performance
    - Fixed issues that were caused by nav bar changes
    - Improved stock camera app
    - Cleaned up list of patches needed to reproduce builds
    - Synced with LineageOS source

    01.10.2022.
    - Fixed samsungs bug with gps where it would start acting up over time due to time rollover bug
    - Implemented gesture navigation settings
    - Removed leftover unused blobs
    - Updated neural network interface lib
    - Synced with LineageOS source

    28.09.2022.
    - Added button backlight control
    - Unpinned deprecated updatable media apex jar from ram
    - Allowed system to override some bluetooth props
    - Performance and stability improvements
    - Synced with LineageOS source (Almost all of lineageos features should be there and work now)

    19.09.2022.
    - Removed libhidl hacks and updated libs that required it in past
    - Switched to new audio service to remove need for hacks in original one
    - Updated kernel build flags for new build enviroment
    - Misc performance and stability improvements
    - Synced with LineageOS source

    08.09.2022.
    - Merged September 2022. Security update
    - Updated chromium webview to 105.0.5195.79
    - Added more customization options powered by Monet
    - Misc performance and stability improvements
    - Synced with LineageOS source

    06.09.2022.
    - Most of lineageos features have been implemented
    - Misc performance and stability improvements
    - Synced with LineageOS source

    25.08.2022.
    - Initial release



    XDA:DevDB Information
    LineageOS 20.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.1

    ROM OS Version: Android 13
    ROM Kernel: Linux 3.18.x

    Version Information
    Status:
    Testing
    17
    Builds are mostly ready for daily use, i had no major issues while testing but some lineageos extras are not implemented yet as its still eaarly days in android 13 development

    Huge thanks to everyone who supported this project, helped cover the build server cost and got me coffee/pizza for time spent on development, This project wouldnt be possible without them

    You can find some screenshots here
    15
    New builds are out, here is a brief changelog
    - Added button backlight control
    - Unpinned deprecated updatable media apex jar from ram
    - Allowed system to override some bluetooth props
    - Performance and stability improvements
    - Synced with LineageOS source (Almost all of lineageos features should be there and work now)

    Almost all of the lineageos features have been ported to Android 13 now and are working, there still might be a missing few compared to android 12.1 like toggle for software buttons which is work in progress at the moment.

    There are also some device side changes that should improve performance stability and battery life

    Huge thanks to everyone who supported this project with donations that help cover the build server cost and got me coffee which helps speed things up.

    Enjoy new builds and stay safe.
    15
    Here we go, November security update is out
    - Merged November 2022. Security update
    - Misc performance and stability improvements
    - Cleaned up patches source
    - Synced with LineageOS source

    Some of you might have noticed that there were not any updates after security update, I had a lot going on in personal life and havent had time for android unfortunately hopefully that changes soon so i can finish up few more things that need to be sorted on s7.
    On another note updated 19.1, 18.1 and 17.1 builds will likely be out next week
    Huge thanks for everyone who supported this project so far as their donations help cover the build server cost.
    Enjoy new builds and stay safe.
    13
    New builds are up here is brief changelog

    - Removed libhidl hacks and updated libs that required it in past
    - Switched to new audio service to remove need for hacks in original one
    - Updated kernel build flags for new build enviroment
    - Misc performance and stability improvements
    - Synced with LineageOS source

    Huge thanks to everyone who supported this project with donations that help cover build server cost and get me coffee.

    Enjoy new builds and stay safe