[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] shah22:
What you want to do exactly ?

---------- Post added at 01:32 PM ---------- Previous post was at 12:37 PM ----------

As said the first thing vital is to enable oem unlock and usb debugging in developer options. Plus back up all your data. Download latest stock rom for your country and keep it handy if anything goes wrong and you need to start over. Only after doing these proceed forwards. A tip is to remove all accounts present in the device before proceeding. But enabling oem unlock disables frp lock. So you will be still good to go.

The first thing you need to worry about is choosing the absolute right rom/recovery/zips for your phone model. Then the first thing after getting root access is to Copy all your rom, specifically EFS folder or make a backup of it in a safe location..

Download latest odin, then flash latest twrp recovery, by selecting it in AP.

Now coming to verity thing, that sucks really, happens on roms (bootloaders) which are enabled for checking rom integrity, it is used for checking stock samsung rom for unauthorized access (root) if it detects it won't let the rom boot.

I honestly don't think anyone needs non verity on lineage roms, but yeah you may as do need them well, because your bootloader is still samsung, and it won't hurt to flash the no verity zip alongside lineage...? but you WILL need to flash no verity if you plan on rooting your stock rom (unless you go systemless route), as i heard most custom roms (lineage+samsung based) have verity disabled in their kernels? So you need to see your required rom thread for more info.

Coming to the verity zips, there are two types; no verity opt encrypt and no verity forced encrypt, the former is used for disabling dm verity only but later is used to disable forced encryption + dm verity in roms.

Now coming to root, there are various root methods, from creating your own cf auto root package, super SU to magisk and systemless roots.

On android 8.0 , it was difficult to achieve root/stay rooted, due to forced encryption in the rom twrp would not display data after rebooting, also magisk had some problems (don't know if they are sorted out). Also there is a modified twrp version by tkkg1994 and it was reported to work correctly, you can search it on forums. (I don't know if latest twrp version solves these issues). I guess latest twrp version coupled with no verity force encrypt should work ..

You can also try to flash both types of no verity zips with latest twrp to see if it is detecting everything correctly after rebooting. If not try the modified twrp by tkkg1994. All official links on the forums.

Also that a/b thing you talked about, that a/b partition doesn't applies to older devices like s7 series par my knowledge.

Systemless root is known to not trigger dm verity and you may not need dm verity zips if you go this route. For info on this search on forums, in short select twrp in read only mode (don't do swipe for modifications) and install magisk as systemless root. Systemless SuperSU root can also be used and there is a systemless root option as well when creating cf auto root package.

In the end a tip when rooting on stock rom, when booting in twrp for first time select wipe>format data>swipe/yes, do not select advanced wipe options or select anything more then data at that moment, you may end up loosing your rom ! (plus efs/imei if you are unlucky)

For flashing custon roms/zips/kernels, process is different and you may need to go in advanced options.. follow your required custom software thread for more info on this.. Good luck !

Links :

Odin

OfficialTwrp

No verity zips :

NoVerityOptEncrypt

NoVerityForcedEncrypt

Modified twrp by tkkg1994 : Link

SystemlessRoot

MagiskOfficial

SuperSU

CFautoroot note : version 5 bootloader firmware is not uploaded atm..

All credits to their respective contributors.