yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Mad Bob:
First of all – thanks for the ROM! =)

And now some tricky questions:

1) If there is a way to add AVIF (image) system support? Because it should be already present with Android 12, but it won't work even with apps specially build to support it. Found something like this. Still can wait for A13, there are no rush =)

2) I noticed that the best camera experience can be archived with HedgeCam2. Can it be useful while tweaking the default camera app for our device? And also add some new formats to save captured images \ video (AVIF, AV1, RAW). Even if they are software transcoded afterwards.

3) Just curious, but does android have a way to add codecs into the system like Windows or Linux? Or our only way is to use apps with build in codecs like Simple Gallery, VLC, etc.?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] lhedb:
do you get "failed to start camera preview" with hegdgecam when using the flash?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Mad Bob:
Something like that, only when the option “Pause after taking photo” is enabled.

Took photo with auto flash, it opened with mentioned option. Trying to “go back” and app just crashes.

With “Pause after taking photo” disabled – everything is just fine, in all Flash modes: auto, enabled, torch.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] lhedb:
wierd, i have that already un ticked. > more camera controls > pause after taking photo. [ ]
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] WinchesteeR:
no, I had installed LLoydq android 10. Also camera does not work properly. If you have this rom , what is your camera app ?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] maximesharp:
I also have some WiFi issues, sometimes the wifi speed became extremly slow and sometimes it just randomly disconnect.

Did you try OpenCamera ?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] WinchesteeR:
AOSP was terrible. I used Google camera ( doesn't work front camera) and open camera. But it is not seem a original.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Mad Bob:
Just tried another thing: swipe instead of “back”. Now got no problems with camera app =)

p.s.: I returned to stock, used the latest TWRP and only afterwards flashed ROM. Magisk 23, MicroG.

Everything survived a few OTAs from June. Can't tell the diff, except better audio quality)

You could try Hedgecam2. Just don't forget to enable Camera2 API (Settings→Misc→Camera2 API).

It becomes WAY better in comparison with stock camera and OpenCamera.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] WinchesteeR:
I will try it. But ı did not like the open camera and hedge cam because of the UI. Google camera better for UI except the front camera problem.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Ivan_Meler:
New build is up, here is a brief changelog

- Merged July 2022. Security update

- Fixed more keystore issues

- Synced with LineageOS source

Also some important news, Exodusnick decided to provide huge help and he bought and shipped s7 to me which should be here next week, so all of exciting updates i talked about last week should be way easier to achieve and this will make testing and developement a lot easier, Once again huge thanks to him.

Also big thanks to donators that helped to cover build server cost and got me coffee which helped to keep this project up and running.

Thanks to this s7 should live for few more android releases without any major issues. and Android 12 will get even better with new hals that are curently in developement

There will be updates to 18.1 and 17.1 in a few days once july security updates have been ported to them

Enjoy new build and stay safe
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] lhedb:
thanks for the update,

i ran install from the OS and now its stuck in a boot loop? any advice what to do to fix? thanks :(

the last install was

TWRP 3.6.2_9_0

lineageOS 19.1 20220624 herolte

nikgapps arm64-11 basic 20210514

magisk v25.1

update: anyway no help from anyone. i was able to boot back in after going into TRWP and sideloading the latest NIKAPPS, working ok nothing lost
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] zok-star:
YAY thank you! Updated via OS and all good here
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] maximesharp:
You can try to download the lastest build and flash it again from TWRP
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] lhedb:
will i lose everything i had installed before?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Bujiraso:
Scary Story Time.

I want to raise some awareness about a bug I just saw since Lineage don't accept bug reports from unofficial builds -- the "Night Mode" is a safety liability: be very careful about using it. This is on the latest June build, not the July build, but I doubt this was fixed.

I had been using it for a few months now all well and good but there's a beyond-critical defect with it where, after reboot, the screen decides to simply fade to black and refuses to return under any user action until the Night Mode ends (and perhaps it's rebooted)? Rebooting again just repeats the bad experience.

Last night during the night mode hours, I rebooted to check if a network issue was with my phone or the service provider and suddenly it faded to black and it responds to absolutely no input at all.

It had turned my phone into, effectively, a brick.

I sort of "needed" my phone so this was a really bad time. I was forced to find another phone entirely for the moment.

When I settled down to try to fix it, I did find a solution.

For anyone that gets stuck in this situation, your options are basically:

1. Wait until your Night Mode ends (hopefully you remember when that is) (and potentially reboot then).

2. Hold Volume Up, Home, Power and reboot to recovery. Power off your home WiFi and remove your SIM or else what we're about to do will be reset immediately on boot when it connects to a network time pool. Connect an adb shell and run `date -s ${LATER}` where LATER is some time hours from now (hh:mm) and then `hwclock -w`. Reboot and it'll be "day" to your phone -- don't connect to any network and go turn off Night Mode.

One of the literal worst Android bugs I've ever seen. Stay careful and -- unrelatedly -- thanks Ivan for the latest updates!
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Bujiraso:
hm. That's funny.

@Ivan_Meler , the system updater is failing on June and July's build.

I had to copy the zip to an SD card and flash it myself.

It just says "The update check failed. Please check your internet connection and try again later".

In `adb logcat -e UpdatesActivity` I see an empty JSON coming back.

Spoiler content hidden.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Ivan_Meler:
something went wrong on your device, ive seen this happen to people with some magisk modules before.

Also that log isnt exactly twlling whats going on before it gets empty json
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Bujiraso:
Hm. That's odd. I don't use Magisk modules. Any way to reset this?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Ivan_Meler:
try clearing updaters data
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Bujiraso:
Thanks, Ivan! That's a fix 👍😀
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] lhedb:
i notice when using the camera, or other camera apps with the flash. the flash and picture isnt in sync. so its dark.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Marsu42:
Works fine for me using OpenCamera with camera2 api (didnt't try the Lineage Camera though).

Edit: I just discovered HedeGam2, even better than OpenCamera due to more customizations - even if it lacks some shooting modes of the latest OpenCamera 1.50 update.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Marsu42:
Thanks, I installed the latest v.4.5 ThundeRStormS kernel and it works fine.

Lineage informed me that SELinux wasn't enforcing anymore - might be tunable in ThundterTweaks, just like CPU voltage and frequencies, pwm flicker and whatnot.

The device performcance battery/speed seems to have improved a LOT - if someone has the time to measure the performance and battery life of stock 19.1 and this ThundeRStormS kernel be my guest... seems to be worth a try.

Edit: The 19.1 ROM is fantastic otherwise and leaves much internal space, thanks to Ivan Meler. My only gripes are the lack of video stabilization (only possible with stock Samsung cam afaik) and that call echo seems to be still broken, but this continues to be undeclared in the initial posts - but I'm just using the S7 as a second phone without telephony, so I don't care anymore.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Ivan_Meler:
Here are some great news for future o this project and s7 on newer android versions in general

Huge thanks for device donation goes to Exodusnick, I recieved device today so ill be able to properly test stuff with fully working s7 instead of my old broken one which had to be used with scrcpy.

I already started work on porting some new hals and resolving some issues that were harder to debug before.

New hals should speed up the device quite a bit without compromissing battery life (might even improve it a bit).

Also big thanks to everyone who supported this project with donations and helped cover the build server cost and got me coffee in the past, this project wouldnt be possible without them.

More exciting updates coming soon.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] azerty9971:
Sweet !!! Huge props to @Exodusnick !!!

I don't know if it'll have the same issues as my s7 edge but might be worth checking :

- Google Maps detects a wrong orientation (if my phone faces north it tells me that I'm facing south)

- Android Auto (wireless) + waze + Spotify make the phone overheat

- Payconiq doesn't work (keystore related)

Besides that everything is working perfectly !!

Awesome work Ivan!!!
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] ArifAGA98:
Hi @Ivan_Meler

I have the last released version on my phone and I'm having a problem with the screen touch. For example, when I play Apex legends and PUBG games, after a while the screen touch gets stuck and when I put the game in the background and re-enter it, it gets fixed. Then the same problem starts again. I'm not sure if the problem is related to my phone's screen. But with 18.1 installed this problem was not there.

Other than this issue, the phone works perfectly. Thank you for your excellent work.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] ArifAGA98:
Hi @Ivan_Meler
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] zzz2002:
Have just been reading a warning about zygisk not "working" with kernels older that 3.19...

Is anything know about this problem and this build/release.

Is there a later kernel that works with this ROM.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Ivan_Meler:
just use latest magisk and it will work, they fixed it within magisk itself
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] zzz2002:
Ah! Thanks that a relief.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Ivan_Meler:
Here are some progress updates, I got working s7 2 days ago as some of you know from following this thread and i made some progress (actually quite a bit of it)

New graphics stack is running on it already i just finished up few commits that made it boot up with it (its 1am in my timezone now)

It will still need some cleanup and fixes and testing before it goes public but with this we will replace quite a lot of propretary files with more modern and up to date with open source hals

Once again big thanks to everyone who helped cover the build server cost and got me coffee which helps during night developement haha

More updates soon..
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Ivan_Meler:
Another progress update after another day of work on this

Here is list of the blobs that we are now source building instead of using proprietary prebuilts from samsung

https://pastebin.com/raw/1SVjhEgU

thats almost whole media and graphics stack

this is important for future of device as it will give us full control of whats running on device

and I or anybody else for that matter will be able to patch any security holes coming from those parts or generally improve them

or make changes needed for next android version to them

(Once im done with graphics and media ill work on source building stuff related to ril

Tho ill pause work on this for next week as im going on a short vacation/trip but once im back ill continue work on it and if everything goes as planed post builds using new hals and source for them

As always huge thanks to everyone who supported this project by covering the build server cost and buying me coffee
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] zok-star:
Apologies if this has been asked/covered before (Nothing popped up in search)

I am missing WiFi Calling. Is this normal for the device or known issue?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Mad Bob:
Well, as I found on similar thread: “VoLTE and VoWiFi will not be implemented (

for now

) as they heavily depend on Samsung's framework”.

p.s.: VoWiFi = WiFi Calling.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] zok-star:
Thank you!
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Ddd zin:
Hello, I have a problem with drm. After flashed the rom, my phone went to L3 drm from L1. Is there any way to revert it back to L1?

edit: Using PE12, drm stays on L1
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Ivan_Meler:
Another quick progress update since im back from my trip

One of bigger issues with new rebased hwc source has been fixed (I fixed it and tested fix 2 days ago actually but didnt post anything about it) and rest of the issues have been logged

This just leaves 2 issues related to scudo in new OMX stack and 2 or 3 edge cases in hwc stack

after that new and improved source will be ready and it should bring quite a bit of improvements to s7 on aosp

Big thanks to everyone who is helping to cover the build server cost and coffee spent on this project.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] cantalat05:
Hello everyone. i have a question;

can i upgrade from lineage os 17.1 (by ivan_meler) to this version ?

if i came from 17.1 am i going to format "data" or not ?

thank you. sincerely.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Mad Bob:
Honestly, you could make backup and try, but…

If you are performing clear install – it's best to format Data. Otherwise – try a dirty flash After making a backup.

Spoiler content hidden.

Spoiler content hidden.

Spoiler content hidden.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] chuy19312:
I have an question. Does it pass SafetyNet without Magisk? i could test this rom but i still don't have this phone but i will have one soon, so i want to know if i will have to depend on Magisk for SafetyNet or not, also because i don't like to use Magisk, especially since updating it from the app, 4g stopped working and/or have an great battery consumption on two phones because of that.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Ivan_Meler:
not by default but you could edit build.prop files and change build type to user from userdebug, or look into ih8sn which will do what magisk does for safetynet without magisk itself
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] lhedb:
anyone know the case of the wifi connection issues?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Marsu42:
I'm using S7 LoS 19.1 just for as my backup phone, but thinking about it there are some wifi disconnect issues.

Unless someone is using the phone as a server or bittorrent downloader, using an app to turn off/on wifi might make it less annoying until an actual fix is found: https://f-droid.org/en/packages/de.j4velin.wifiAutoOff/

Otherwise my old S7 (Edge) has 48 hours standby (screen off) time with LoS, so I'm not nitpicking :-)
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] chuy19312:
Thank you, ih8sn didn't work on other phones but as i saw, it edits some of the build.prop things as fingerprint and description, if that is the problem of SafetyNet on this ROM, i think replacing those prop tweaks to Stock ROM values could fix SafetyNet in case values on this ROM are wrong

ih8sn does change the values on the screenshot i provided, i will give you an example, on two Moto G4 ROMs, i changed build_fingerprint and build_description on build.prop and on other prop file (i don't know where it is on android 12) and in one ROM, passed SafetyNet after usingMagisk Hide (before that, even Magisk Hide didn't work) on other ROM, it made it to pass SafetyNet without Magisk for some months

If i have this phone, i will check that after installing this ROM and tell you if that worked or not, in case this works, SafetyNet will be fixed, in case it doesn't work, well, it's still ok
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] azerty9971:
Changing the build.prop and setting the build type from "userdebug" to "user", the LOS versions from "unofficial" to "official" and the "test-keys" to "release-keys" made Microsoft Intune (company portal) work again when not rooted (before that it was reporting as rooted even though I didn't have magisk installed).

Would it be a possibility to set these by default in your future builds? What would be the impact of setting these build.prop values by default?

FYI this is my current build.prop

Big thanks in advance,

Azerty9971
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Ivan_Meler:
build is compiled as userdebug as default so this is not something i would fake in new builds as it would disable some debugging features that are necessary, so sadly you wont see that happen, ih8sn can however be configured to change those and it survives ota updates and doesnt need magisk
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Mad Bob:
Is there are magisk module to do the same trick? Could this revert drm back to L1 from current L3?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Ivan_Meler:
here it is August security update

Nothing major in this one as i am still working behind the scenes on that huge update i talked about previously which involves rewrite of almost whole graphics and media stack (its almost finished but i still have to do a bit more testing just to make sure there is no regression)

In other news android 13 should be released next month and since there were no major changes s7 should be running it soon after release with not too many issues and ill try to take a few days off from work to get it up and running on it once source is out

Once again huge thanks to everyone who supported this project, helped cover build server cost and got me coffee with donations.

This project wouldnt be alive without them as i do this in my free time as a hobby.

Enjoy new builds and stay safe
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] dirk0504:
I have installed 18.1 on my hero2lte and it works quite well.

Would you suggest to upgrade to 19.1?

Is it possible to upgrade from 18.1 directly to 19.1?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] old one2:
Yes and yes.

Banking app and Google wallet work .

There is a post of how to do it not too far back in this thread.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] cantalat05:
Ok. thanks for advice. i will try. have a nice day.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] cantalat05:
UPDATE: no luck for me. i cannot fash opengapps 12 or bitgapps 12 packages not flashed. returned error for me. (i used "twrp-3.6.0_9-0-hero2lte" as custom recovery)

but bitgapps and opengapps not works. (not able to flash after rom)

only NikGapps flashed without error. but can not boot from Lineage OS 17.1 data.

Now creating titanium backup my apps and settings. i will format data and try clean install.

I think, @Ivan_Meler or someone should provide compatible gapps direct download link.

i researched in google and opengapps gives "you should install sdk32" like error. but i can not find the correct package in opengapps. sourceforge test packages not commented clearly.

even i am not sure if Nikgapps package will boot well.?

thank you all.

best regards.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] cantalat05:
Hi, friends @Mad Bob @Ivan_Meler,

A little Update from my experiences;

Here is screenshot which package flashed or not;

Note: (also the last one "BiTGApps-arm64-12.0.0-v1.1_signed.zip" not able to flash. it gives error) i just forgot to mark it with cross

Before i begin the flashing nothing, i flahsed latest twrp 3.6.0 and updated recovery.

I downloaded OpenGapps from: https://sourceforge.net/projects/opengapps/files/arm64/test/

and BitGapps from: https://www.pling.com/p/1864363/

non of them worked for me. maybe i am wrong or not. (dont know, excuse me if i was wrong)

I downloaded "NikGapps-core-arm64-12 (www.droidthunder.com).zip" From: https://www.droidthunder.com/gapps/

And Only that worked for me (After Format Data - Clean Install).

What a happiness to see my hero2lte runs with Android 12. :giggle:

:giggle: Thank you @Ivan_Meler and thank you all. 👏👏👏👏
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] cantalat05:
Some Screenshots, i am really happy. woow. big thanks. @Ivan_Meler 👏👏💚💚✔✔
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] cantalat05:
Hi everyone, i can not set up "fingerprint" when i set up pattern, and then click to fingerprint, "accept terms" and then error pops up; "Enrollment was not completed"

is there a quick fix for this error. it wont let me to setup fingerprint.

thank you.

Edit: this error just comes out after accepting fingerprint terms page. wont let to scan finger.

Here is the video record:

thanks for all.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] zzz2002:
What device are you using. Because the finger print sensor on my S7edge is the button at the bottom of the screen.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] cantalat05:
S7Edge i am using. G935F. can this be because of i used NikGapps ?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] zzz2002:
I don't think so.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] cantalat05:
Yeah me too. i formatted "system, cache, dalvik" and reflashed "rom, magisk, gapps"

this time i tried "flamegapps - not worked, mindthegapps - not worked" only nikgapps works for me. i flashed "NikGapps-core-arm64-12.1-20220813-signed.zip" from Canary-Releases, the problem is same.

When i try other gapps, phone will not boot, loop in lineageos animation then reboot or boot into twrp itself.

Edit: i flashed "NikGapps-core-arm64-12.1-20220709-signed.zip" steable release but problem is the same,

Rom not recognise the fingerprint sensor, it identifies the sensor as rear sensor i think. my rear (heartbeat sensor) maybe faulty, because i can not use it in lineageos for a long time, i dont know if the rear sensor defected or lineage os not recognise it!

but the rom not gets my fingerprint sensor (front middle button) get to work.

anyway, we need to @Ivan_Meler 's suggessions. any possible fix will make me really happy.

couse i have to draw pattern every wake up the screen. 😢🤦‍♀️

bye.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Mad Bob:
It`s mandatory for bitgapps 12.1 arm64 (others won`t work on our device) to be flashed only after a clean install, as said in it`s Documentation)

p.s.: i use systemless install via magisk (with formating DATA after LineageOS installation) and got zero problems)

Start with pin + fingerprint. It should work fine. Than add the Pattern and check again.

Got zero problem with fingerprint with pin on this ROM.

p.s.: hero2lte, S7 EDGE