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
17
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
246
86
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
246
86
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.
  • 1
    may I ask you all onetime more, if the problem with SDcards in LOS 20.0 is now solved?

    No problems so far with a 32GB-sized SDcard formatted as removable storage in the newest LineageOS 20.0 build from OP.
    1
    As far as I know this is not a mistake but intentional. Using external cards as internal memory often leads to problems. Therefore the support in LOS was removed with version 20.
    Well... this cannot be, because the function to format SDcard als internal memory is active in LOS 20.0.

    It only does not work properly, because there are some bugs inside, wich need to be fixed.

    And taking that function out of LOS makes really no sense. Today there are smartphones with large internal memory, but LOS is also made for the elder ones, wich have only 32 GB or less memory. For those it is essential, to keep the formatting of SDcards as internal memory, especially when messengers are used, like Twitter oder Whatsapp, wich themselves or their content cannot be moved to a mobile formatted SDcard.

    The difficulties with SDcards using als internal memory are only, when slow SDcards are used.

    I only use the fastest SDcards I can get, (reading 200 MB/s, writing minimum 120 MB/s, or faster) and this works, formatted as internal memory, absolutely fine without any problems in LOS 19.1 within my both Samsung Galaxy S7.

    So, there is no reason not to offer formatting internal in LOS 20.0.

    It would be a real pity, when formatting SDcards as internal memory would be taken out of LOS.

    Put in a notice inside LOS, that the folks should use only very fast SDcards, when want to format them as internal memory...
    1
    I have read about your problems,
    Yea, I forgot about to answer, sorry. I tried some of your tips, sadly it not helped with the quality. Only OpenCamera-App makes slightly better photos than the stock-app. Where I stuck to for now, but its still messy in compared to stock.

    Its because of the drivers for it, manufacturer Samsung does not give them to LOS
    What I dont understand is, why not just copy the drivers from the stock-rom to the custom? It should be not affected by any license-problems or whatever, since there are customs out there, they are based on stock, and everything is out for free anyway.

    There should be a way to make that possible.

    buy a new smartphone with Android 13
    Yea, was thinking about to use Samsung Galaxy A13 with stock, but I can not befriend myself with full-Google...
    Also Ive read that the performance is worse than S7, that worries me, was used to use stuff like Dolphin.

    Thing was, I even bought another small phone (old but cheap), what I wanted to use for making photos only, beside of the S7, flashed a custom rom for it, and has the same audio-echo-issue and bad photo quality. Then I tried official LOS from the homepage, (4 different builds), no any of it even booted fully without problems (I dont get that, why customs even working better than official LOS?), in the end I flashed back to stock and sent it back to amazon.

    Now I was using the update-function, and was excited about the camera improvement I read in the change-log and see its even worse now. Flashing back, probably even breaks stuff. So you can imagine my frustration...
    1
    For first, thank you for your words.

    manufacturers, to offer updates to actual Android for all elder
    Its a job for the lawgivers
    Yea, its true, but in the modern capitalism world, we can forget that sadly.
    Every little step for freedom needs time and sacrifices...

    That is the thing. They are still not original, so what is the difference? They are just tolerated maybe?
    Another idea, developer could offer an addon for flashing the drivers into the rom by own.
    That should fix the general problems? Or maybe its just against xda tos? idk about..

    I do not understand your denial of Google. Myself I use my LOS-upgraded Smartphones always with Google (NikGApps), because only in Google Play Store I get all those apps I really need for my daily usage. Thats a fact.
    You can get every App exist in Play totally legal via Auroa, btw can highly recommend. :)

    The open Google alternatives has nothing to do with Google itself, they just offer the same functionality via the same APIs. Only the original google apps like the story comes from google afaik. A fully "open-googled" LOS is still much different from original Android.

    Yes, they collect informations
    It has nothing to do with the forum here, so I will make it in a very short: information can be used by > everyone.

    I have a good and small digital camera
    Yea, that I wanted to avoid, more (expensive) devices, same time. When I go out, and plan to make photos, so I would need to have the S7 AND the compact-camera with me. I was on way to explain that more in my previous post but cut it out because its not topic of the thread. I'm new to xda, so I don't know how far we can go with off-topic talk...

    to have an actual Android on my smartphone.
    Same here, but after that, photo quality comes next.
    (Well basic communication like calls and sms comes first of everything but that is basic, every stuff like audio quality etc is not really matter for me, as long people can hear me, and I can receive SMS, all is fine)
  • 39
    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: dfeea18f86d2b2a76b5726fdd21fb5a9


    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

    04.01.2023.
    - Merged January 2023. Security update
    - Camera app improvements
    - Misc performance and stability improvements
    - Synced with LineageOS source

    15.12.2022.
    - Added back some features that were missing from QPR1
    - Misc performance and stability improvements
    - Synced with LineageOS source

    09.12.2022.
    - Merged December 2022. Security update
    - Merged android QPR1 December update
    - Synced with LineageOS source

    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
    18
    Here we go, first builds of 2023. are out. and here is a brief changelog
    - Merged January 2023. Security update
    - Camera app improvements
    - Misc performance and stability improvements
    - Synced with LineageOS source

    This year will mark 7 years since release of s7 and well here we are with latest android version and security update.
    Big thanks to everyone who supported this project with donations that helped cover the build server cost and got me coffee, this project wouldnt be possible without them.

    19.1,18.1 and 17.1 builds will be released next week

    Enjoy new builds.
    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.