[UNOFFICIAL BUILDS] Samsung Galaxy S7 / S7 Egde for /e/OS S and /e/OS r

Sorry, confirming this for your 2nd build, plus turning off only from TWRP didn’t even work, It had booted back into TWRP and was still in recovery mode, when I grabed it just now.

Now I could turn it off, by long pressing VOLdown & OnOff – it just shows the loading annimation now

just refer to
https://forum.xda-developers.com/t/lineageos-19-1-android-12l-signature-spoofing-ota-updates-for-s7-exynos.4368995/
and the sources are here
https://github.com/orgs/8890q/repositories?type=all
I’d put the device, kernel and vendor data in the respective folders. Then did apply the patch
https://github.com/8890q/patches
which was successful.
After this is run breakfast / brunch and build went fine. Sorry I don’t have the logs any more

I’d tried now also a T build but got this error which I cannot address. Maybe someone can help?

build/make/core/main.mk:1312: warning:  device/samsung/herolte/lineage_herolte.mk includes non-existent modules in PRODUCT_PACKAGES
Offending entries:
gralloc.exynos5
hwcomposer.universal8890
libExynosOMX_Core
libExynosOMX_Resourcemanager
libGrallocWrapper
libOMX.Exynos.AVC.Decoder
libOMX.Exynos.AVC.Encoder
libOMX.Exynos.HEVC.Decoder
libOMX.Exynos.HEVC.Encoder
libOMX.Exynos.MPEG4.Decoder
libOMX.Exynos.MPEG4.Encoder
libOMX.Exynos.VP8.Decoder
libOMX.Exynos.VP8.Encoder
libOMX.Exynos.VP9.Decoder
libOMX.Exynos.VP9.Encoder
libOMX.Exynos.WMV.Decoder
libcsc
libexynosgscaler
libexynosscaler
libhwjpeg
libion_exynos
libstagefrighthw
memtrack.universal8890
build/make/core/main.mk:1312: error: Build failed.
09:42:17 ckati failed with: exit status 1

The error suggests these things have not been pulled into your environment for some reason. As a first step you might look at lineage_herolte.mk. On my “samsung_device.mk”, this is mostly about these tasks:

# Inherit from those products. Most specific first.
# Inherit common Lineage phone.
# Set those variables here to overwrite the inherited values.

So you might look further into

$(call inherit-product, $(What you find here)

Secondly you get clues, by looking where the libs come from – for instance I recognise libOMX.Exynos.AVC.Decoder from a Samsung__proprietary-files.txt so this one might be some wrong / missing vendor source.

Thanks. Got it! Was one of samsung slsi linearo packages… so lets see how this proceed

Alright. Build was successful. I applied the patch and let see if it works. I assume the chances are low since R and S did not work but let’s see:

Samsung Galaxy S7 (herolte):
https://www.androidfilehost.com/?fid=10620683726822080660

Samsung GalaxyS7 Edge (hero2lte):
https://www.androidfilehost.com/?fid=10620683726822080704

Here are the sources:
https://forum.xda-developers.com/t/lineageos-20-0-android-13-signature-spoofing-ota-updates-for-s7-exynos.4484505/

1 Like

This is Ground Control to Major Ron
You’ve really made the grade

2 Likes

MVB of the Month Aug/Sep here on the forum => @ronnz98

BTW: Always setting up WiFi, scanning a QR code

What do you mean with that?

So does it work?

Yes, it’s a tripple check in one go WiFi, Camera, QR scanner :wink:

Just now, I also used an app password QR code from Murena.io to set up Nextcloud app that way, worked too.

1 Like

ok great. I presumed that it might not work. Did a build for the S7 Edge now too

You might check out the scripts within docker here https://gitlab.e.foundation/e/os/docker-lineage-cicd/
You might try this method to check out the underlying repo build scripts.

$ mkdir Build_Primer
$ cd Build_Primer/

$ repo init -u https://gitlab.e.foundation/e/os/releases.git -b v1-t
Downloading Repo source from https://gerrit.googlesource.com/git-repo

Your identity is: make-nz <you@example.com>
If you want to change this, please re-run 'repo init' with --config-name

repo has been initialized in ~/Build_Primer


$ cd .repo
$ mkdir local_manifests

Write / copy a one project manifest; SaveAs .repo/local_manifests/build.xml
Using as our source: https://github.com/LineageOS/android_build/

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <project name="LineageOS/android_build/" path="build" remote="github" />
</manifest>

Then you can

$ repo sync LineageOS/android_build/
Fetching: 100% (1/1), done in 16.450s
repo sync has finished successfully.

Now you have two folders with stacks of scripts and READMEs without the distraction of trying to build a ROM ! :sunny:

@aibd This is great thank you!

@ronnz98 as I have not just one S7 and S7edge, I would like to build for them, too.
I’m still wondering, what the missing parts were, which stop it from booting!?

I dont know. I’m not a developer. But the T version works right?

But you know, what you changed before!?

I did not change the build. The respective sources are different for R,S and T for this device. The patch can only be applied on S and T. To understand why it does not boot one need to debug

So, now I got it, I think… I wasn’t sure anymore what was in the builds that did not boot and thought you fixed something in the same version.

It’s kind a safe to assume something did not get back ported for version R…
And in any way, having the newer Android version run on the S7 – with blueooth working, better WiFi and better battery life – is awesome!

Hope we will not here a:

This is Major Ron to Ground Control
I’m stepping through the door…

:wink:

Thanks again @ronnz98

Yes, it boot and working fine

:clap: Congratulations ‘Major Ron’

Hello all,
@make-nz , @anon29344687 do you still use your S7 with the T build from @ronnz98 ?
If yes can you confirm me that your phone is working fine or if you found some issues ?
Thank you for you answers.

Updated version available:

e-1.16.1-t-20231028-UNOFFICIAL-herolte.zip
https://www.androidfilehost.com/?fid=16385555061192789486

e-1.16.1-t-20231028-UNOFFICIAL-hero2lte.zip
https://www.androidfilehost.com/?fid=16385555061192789487

1 Like