yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] switchboy:
I figured we are missing the ANT hardware abstraction layer. Might as well try to extract that from the stock rom since that has not been updated in 2 years. ( see: https://github.com/ant-wireless/Android_ANTHALService)

So I extracted the missing ANT system apps form stock rom with skit. And tried to install them as system app via adb:

PS C:\platform-tools> ./adb remount
remount succeeded
PS C:\platform-tools> ./adb push anthal.apk /system/priv-app/
anthal.apk: 1 file pushed, 0 skipped. 19.2 MB/s (140427 bytes in 0.007s)
PS C:\platform-tools> ./adb shell chmod 644 /system/priv-app/anthal.apk
PS C:\platform-tools> ./adb push antdut.apk /system/priv-app/
antdut.apk: 1 file pushed, 0 skipped. 7.9 MB/s (76346 bytes in 0.009s)
PS C:\platform-tools> ./adb shell chmod 644 /system/priv-app/antdut.apk
PS C:\platform-tools> ./adb reboot

After a reboot the ANT hal apk sadly is not installed when I check with Skit. The other one did install via the above method. Don't know where to look for the error log so I am stuck here.

I don't have an Android IDE set up, nor do I program in Java. So trying to build the APK from the source above for android 11 is not an option for me.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] 7wells:
@Ivan_Meler and everybody - sorry to ask again:

Do the SamsungHealth and related (Samsung Gear) apps work with this great LOS 18.1 release? As I own a Samsung Gear S3 Classic smartwatch, I would like to still have it synced with my S7. I appreciate your feedback very much, as I do not want to abondon the (outdated) Samsung stock FW and flashing LOS 18.1 only to learn (too late) that SamsungHealth and the Samsung Gear S3 Classic smartwatch are not supported by or do not work with LOS 18.1.

And to get some hints for good replacements of the stock camera app would also be great. :)
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] ttmob4:
Footej Camera 2 seems a pretty good alternative and seems reasonably stable
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] switchboy:
I can confirm that the app works just fine. The watch should work just fine, just like on any non Samsung Android phone. But I don't have a samsung smartwatch so could not test.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] ataman76:
Does Ant+ work ?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] savelbys:
Hello,

Sometimes the buttons at the bottom light up and sometimes they don't even though I have it permanently enabled. If I set that they should go on only briefly, it also does not work.

Vendor is some months old, why is it not updated?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Techguy777:
Im wondering is there a search button on xda on windows 10 browser. I see the regular search but i dont see how to search the thread itself. Any idea guys?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] savelbys:
Enter the word you need in the upper right corner, then click on the bar/word in the upper right corner, then on "everywhere" and then on "this thread"
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Techguy777:
Thank you and how about inside the android xda app? Lol it's crazy I feel like an idiot
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] savelbys:
don't know, don't use that app
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Techguy777:
Fair enough me either lol
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Hemuli:
Searching is not possible in the app. Just uninstall the app and use xda on browser. I don't think you are the idiot here.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] switchboy:
Not without a USB dongle for the moment
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Techguy777:
Your kind thank you
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Iron_Overheat:
@Ivan_Meler do you have any say on which kernel goes in the rom? Because the oldest supported kernel according to kernel.org is 4.4.258 as of 01/03, can't this be bumped in the next release by any chance? Anxiously awaiting the March patch update. Cheers and thanks for the ROM!
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] kase2804:
Has anyone tried encryption on the new 18.02.2021 version? I keep getting "decryption unsuccessful, must erase all data"
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] zetex.otm:
I had no issues with encryption on the last build. Did a clean install.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Zuikkis:
Thanks for confirming this, I suspected it as well since I remember being "smooth" on some older LOS 17.1 release.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Th5620:
will this work for hero2lte? cause I'm trying to flash with no avail
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] rho-bot:
is "hero2lte" = "herolte" ?:rolleyes:
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Th5620:
it gives me this error message when trying to flash : E3004: This package is for device: heroltebmc,heroteskt,heroltektt,heroltelgt,heroltexxx,herolte: this device is . hero2lte

I believe hero2lte is s7 edge and herolte is S7 flat
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Zuikkis:
Well, the error message is obvious isn't it?

Perhaps you should look in the hero2lte forum? There is LOS 18 topic there as well .

https://xdaforums.com/s7-edge/development

I do understand the confusion though, there are a lot of roms that work in both, and are only listed in one forum.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] rho-bot:
It was a rhetorical question....

OP says this is for herolte (S7), your hero2lte (S7 Edge) is not covered, otherwise ivan would have it mentioned.

Follow https://xdaforums.com/s7-edge/development/rom-lineageos-18-0-s7-edge-exynos-t4172727
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Timthedog:
Thanks Ivan for your hard work! The new 18/R version is actually more stable than old 17.1/Q. No spontaneous reboot and very high functionality even in this very early phase. Anyway, after almost a week trying to build up a stable usable phone (meaning with my most necessary apps running) I gave up and went back to 17.1 build 16, not because of the small missing LOS part, but more to app issues: it seems that also very basic apps isn't suited for R... which causing a lot of trouble with all from bootloops (V4A 2.7) to impossible to finalize initial setup (MS Swiftkey) and a lot in between.

So my verdict right now is that it's to early to switch to R, the ordinary apps isn't ready yet. So, Ivan, take it easy, you are not in hurry. Continue build on this new version that already promise a bright future for S7! I'l be back for sure!

BR
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] RUSMOS:
lineageos-18-0-s7flat dirty flash from 17.1:

The system does not see a SIM card (Wi-Fi is perfect).

Is it due to an early stage of the ROM development or just my case?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] vladvlad12:
Installed. Working fine for now, I will edit if any bugs occurs.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Mowca:
Hello.

where can I find installation instructions? How do I go from 17.1 to 18?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Helmy José:
Hi, how can i share this:

a) Logcat

b) proc / last_kmsg (o proc / kmsg)

c) data / tombstones

d) dmesg

id like contribute
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] crazydrive22:
You can use ADB to create logs with the following commands:

Kernel Log:

adb shell "dmesg | tee >> dmesg.log

Logcat:

adb logcat | tee >> logcat.log

Radio/Modem Log:

adb logcat -b radio | tee >> radio.log

or use this

https://wiki.lineageos.org/logcat.html

There are also Apps to do this like 3C Logs.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Wattsensi:
Works well and is smooth, thanks for your work Ivan. This ROM is quite a bit smoother than Lineage 17.1 Build 15, you really fixed the UI. No more microstuttering, for now. Considering it is so early in development, it is rock stable.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Helmy José:
Hello, I would like to send a report but I cannot access the internal storage, that is, I cannot copy from the SD card to the internal one, or modify files, or other apps modify files from the internal storage (/android/data).In some apps that display content horizontally, the notification bar remains open, that is, the line that shows the time. and the most important thing I believe that when receiving or making a call, you do not hear something. useful in day to day.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Manopmjet:
Impossible to ear in phone calls

Any one can do phone calls and use SD card? If yes could explain please?:(
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Nidza07:
Hello,

I have a somewhat specific need. As a blind user, it seems that accessibility services currently aren't working at all in LOS. I'm aware that this isn't at all a bug of the device, only wanting to confirm if this is the case. You don't need to do much, just visit settings/accessibility and see if you have any services there. If you have installed Android accessibility suite from the Play store or using Gapps that have it, you should see Talkback at least. If not, then this is indeed currently missing. I would appreciate if you can post any info on whether Lineage already added support for accessibility services.

Thanks for your help.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] 9105pler:
Thanks Ivan for your good work!

I have integrated the SD card into the file system. It works so far.

My problem: I haven't found a real solution yet, how to root the S7 with LOS 18 and magisk
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Helmy José:
hello men, you can find in YT how to root with Magisk in android 11, you you need Magisk 21000 zip file, flash it and go. I root it perfectly. and obviously the Magisk manager.

---------- Post added at 08:05 PM ---------- Previous post was at 07:23 PM ----------

RootMagiskLos18

https://drive.google.com/file/d/1-4fdaUi3iQsx9coOCYxAdpig83oeBkfA/view?usp=drivesdk
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Manopmjet:
Could you explain how do it?

And how make people hear me and me hear others in phone calls?

Or where search for it?

Thanks
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] 9105pler:
thx for help. It works now.

EDIT: I can't phone, I hear the ring and when nothing.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] kase2804:
Do you use magisk?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Queeq:
I enabled encryption when I was still on the previous version (with Magisk). Then did dirty flash of 18.02.2021 only clearing cache and Dalvik and reflashing Magisk. It threw me a bunch of errors about inability to mount /data (why does it even need that?) during flash but works nevertheless.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] 7wells:
Isn't there an option in the new Magisk app to enable or disable "keep encryption"? Maybe users of Magisk should pay more attention to this when flashing on an encrypted device (regardless which custom ROM it is, I guess). And when flashing the new Magisk app (starting with version 22.0), please first unhide the previous Magisk Manager app - see instructions in the release notes of Magisk. Sorry that this has become a bit OT. ;)
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] kase2804:
Encryption fails if you have flashed magisk 22 as a zip straight after flashing rom and gapps
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Queeq:
Right, I flashed Magisk 21.something after the upgrade just coz I had it on my SD card, maybe that's why I haven't had issues.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Techguy777:
So what is more stable the latest build or the one before it? i thought my s7 messed up on the latest build but it did it again on the one before it turned out to be S.H,R.P 3.0 so I went back to 2.3.2 and everything works perfectly. Except the quick settings tiles make system ui crash every now and than. I cleaned flash im wondering if anyone else has had this problem. I think I should try to flash the latest build now.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Ivan_Meler:
New build is up with March security update, Here is a brief changelog

- Fixed Mouse pointer icon when using an external mouse

- Improved swcodec handling

- Performance and stability improvements

- Merged March 2021. security update

- Synced with LOS source

Big thanks to everyone who supported this project as donations help cover the build server cost Updated 17.1 builds will be out soon Enjoy new build and stay safe
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Techguy777:
Awesome thanks I still love the rom even if the quick settings don't work right. I love the Google messages RCS stuff
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] zetex.otm:
Yes, latest version.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Techguy777:
Here's something you guys might find interesting I have the S7 and S7 edge and if I have the same rom and firmware with the same gsm sim card in both phones the S7 gets better service in dead zones than the S7 edge. Both the international model everything is the same.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Techguy777:
Is there a custom kernel for lineage 18.1 yet?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] szupek86:
Hi Folks!

I am wondering if a Samsung gear VR gogles will work after flashing this rom. It uses Oculus application. Has anyone tried this?

Cheers!
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] switchboy:
IT does not. You can however use google cardboard apps with the headset.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Cologneblood:
I have a similiat problem. Mostly I only have to activate it via WLAN configuration or quick settings, but sometimes that doesn't help and I have to reboot my phone. It seems to me that the frequency of this problem became less with the new update.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] bestlinuxgamers:
First of all, thank you for this wonderful rom.

So far, it's going very well.

I still noticed 2 bugs.

The setup, which appears after installation, crashes from a certain point. Unfortunately, I have not found a real cause, but I just wanted to point it out here. Maybe someone has the same problem and more idea of the matter.

what I find much more important: As soon as I charge the device wirelessly when it is switched off, the device boots up and then remains stuck in the "Samsung Galaxy S7 powered by Android" screen until you remove the device from the charging station. After that, it boots up even though the start button was not touched during the entire process.

Thank you
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Waifuist:
Hello, i have this roms and i dont know how i can disable this rotation icon? :(

I dont want auto rotation / pop-up rotation icon
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] switchboy:
I just tested it and can confirm the second bug. Once booted wireless charging works perfectly.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] TheEYE13:
Hey everybody,

like others, I experience regularly reboots. I assume that a write action to the SD card is happening at the time and that it has something to do with it (examples: taking a photo, downloading a podcast [Antennapod], creating backups [Threema and Signal]). Unfortunately, sometimes it's corrupting my SD card! My SD card is used as "portable storage" and I can access it using a computer. But I've to format it using my mobile to get it to work again (+ copying all the data takes time of course).

Ivan said, that he needs the following things for a bug report:

I've found information regarding getting logcat information using the terminal at the Lineage OS Wiki. Is it possible to create shortcuts for this (start terminal app and insert commands)? How can I save information regarding Ivans b) to d)?

What's your recommandation regarding the capturing / saving of such information? I'd like to get those directly after an unexpected reboot and without using my computer.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] nostromo12:
Magisk and LOS18.1

What is the best way to install magisk 22.0 for a clean new LOS installation? Installation via TWRP is no more recommanded. I would try to flash 21.2 and just run the update magisk offers itself.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] TheEYE13:
I think a seperate thread would be more suitable but nevertheless, where does this information come from? From the Magisk website:
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] kia5566:
Dirty flash over February 18th build, 3 things happened :

1. Nikgapps all gone, all google apps came out all error message, I reflash nikgapps in recovery again and GPS are no longer working :(

2. TWRP recovery are replaced by LOS 18.1 recovery. Any idea to get back to TWRP recovery?

3. Magisk gone, I reflash it again and it worked.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] iankelly2001:
I was having the same problem with random reboots and invariably it would occur whilst either taking photos or downloading podcasts, which were both being saved to the SD rather than internal memory. Many a time, after the reboot, Android would tell me that the SD card couldn't be read with a "tap here to fix" message, the options being to reformat the card (which would lose all its data of course). The only way to fix it temporarily was to delete the latest saved media file, which was being saved during the crash and to fix the error with the file system using the PC.

I have found the only solution to this (after backing up all the data on the card, which could still be read on a computer), was to reformat the SD card from exFAT to FAT32 format (I had to download a program on my PC to do this, as Windows 10 can't format a 128GB miniSD card to FAT32 natively. You can copy the files to a folder on your PC and then transfer them back to the SD card after it has been reformatted.

Since doing this two days ago, I've not had a single random reboot. It's worth a try. One warning - FAT32 cannot write a single file over 4GB in size but I don't think I have any files of that size. I haven't noticed any downgrade in performance using FAT32 compared to exFAT.

I would be interested to hear if this solves your random reboots. I had reformatted the card previously but using exFAT, but the corruption issue and random reboots soon started again but FAT32 has been flawless so far.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Waifuist:
Unchek LOS recovery next time ^^

You have to reinstall TWRP with Odin.

Best solution : clean TWRP instal, after that, wipe dalvik/System/Data/Internal Storage/Cache, after that, install LOS 18 + Nikgapps, clear dalvik and reboot, unchek LOS recovery and finish first boot configuration.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Iron_Overheat:
Thank you Ivan for the awesome mod!!

Here to report that yes, at full volume callers can hear their own voice (call echo issue), so this issue is still not fixed.

For anyone interested in MicroG, check out this reddit thread for a tutorial, got signature spoofing to work (though I am still working out on how to get proper gms dependent apps to recognize MicroG).

Also greatly recommending Warden, miracle app that removes trackers from apps, better than Lucky Patcher (though I still use LP for tracker link removal)!!

Weird issue however, after installing latest ThunderStorm kernel, I can't get USB MTP file transfer to work. On Linux it throws "Unable to open MTP device "[two dev numbers]" ", libmtp throws "LIBMTP PANIC: Unable to find interface & endpoints of device". I have already set default USB mode to MTP in developer options.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] polynomial_donut:
Awesome discovery!!

This will hopefully give some immediate pointers.

I would really like to have LOS on my S7... but random reboots are a big no for me since this is my primary phone.

Also, the WiFi problem as well since I started using a second cell as my WiFi hotsoot with internet access thekugh LTE.

Anyways thanks a lot for the work to the devs and everybody else contributing.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Karatek_HD:
I just flashed this rom and it works really good, except for one thing:

The Mac Address shown in Settings -> About Phone apears to be completly random, as it changes after every reboot.

However, the Mac address is always the same when connecting to a WiFi Network, it just doesn't display the correct one. By using OpenWRT on a router I was able to figure out the real address. Another method I came across was flashing Magisk, installing Termux, execute su in Termux to become root, and use

ip link show, which also displays the correct Mac.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Queeq:
Just to remind respected ladies and gentlemen that it's possible to repair faulty exFAT from the computer without fully formatting it. Windows 10, I believe, has native tools.

Linked message also has more info about the cause of WiFi disconnects (no solution though).
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] TheEYE13:
I wasn't able to do that using Linux (Ubuntu) or Windows 10.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] kia5566:
When I flash the file it didn't provide choice to uncheck LOS recovery though. Or I missed the step.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Waifuist:
After flash, when you config your first boot
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Mohamedkam000:
Disable it from Developer Options, it gets flashed on OTAs.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] milanitalia:
Is plus hotter also for me with this ROM
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Bleifuss2000:
Hello together!

First of all I want to say a big praise and thank you for this great custom ROM! Works for me without any problems!

A question I would have but. Is there a possibility to install security updates for this custom ROM and if so, how to do it?

On the official LineagsOS site, the Samsung Galaxy S7 is not listed at all, so you can not download a newer version from there.

Best regards
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Architect_Kev:
That's correct.

The S7 isn't officially supported anymore. This a unofficial ROM.

security updates probably wil come when ivan drops the next build which probably will be in april because he recently dropped the March build.

Keep in mind he is doing it in his spare time and has only him self Unlike a google who has a big dev team.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Bleifuss2000:
Thanks for the information!

I´d already donated some money for Ivan and will do that again . :-)
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] chomsky55:
The march build has been really buggy for me so far. The phone takes a long time to start or restarts half way through the process. When shutting the phone down it usually does a restart first and I have to shut it down again. The wifi keeps disconnecting and the overall pereformance also seems lacking but that could be a reverse placebo effect.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] skavenger360:
hum, do you think that would work on a g930fzkabtu ? looks like I bought a uk version...
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Mohamedkam000:
This is the build number of your ROM, it does not provide a tight information, check your bootloader (download mode) to know what model you have.

If it is G930F, then your phone is already the international version, of which is the most famous/supported model, go ahead and flash the ROM.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] ttmob4:
I have had no real issues at all with the March build..1 reboot overnight-I guess when a backup was happening...no issues with SD card...known AOSP/Samsung issue with echo (not an 18.1 specific problem)...magisk fine..battery fine (I use ACCA)...banking apps fine...I am a using an S7 Flat (SM-G930F)