[Samsung Galaxy S7 Guides, News, & Discussion] lucadalba:
ANNOUNCEMENT

As seen in provided logs, now Root.BAT script works well but there is another problem: DM-VERITY .

DM-VERITY is a

COMPONENT OF KERNEL

that

CHECKS (IN ALL BYTES) IF SYSTEM PARTITION IS STOCK OR IT HAS BEEN MODIFIED

Normally DM-verity (for witch I read official documentation) should only warning user that /system partition has been edited and then normally boot (waiting 5 seconds or pressing a button)..

But if you made modifications ON SAMSUNG DEVICES

IT DENIES TO BOOT OR DELETE/RESTORE TO STOCK THE NEW/EDITED FILES IN SYSTEM ON REBOOT

So, for continuing, WE ABSOLUTELY SHOULD

FIND A WAY TO DISABLE DM-VERITY WITHOUT TRIPPING KNOX

, and it is not easy because dm-verity is a kernel built-in component.

I can tell the Root.BAT works fine and when (unfortunately I also must say "if") we will found the way to disable dm-verity without tripping knox, then all problems should be solved and we should also be able to root device because root method works on snapdragon model.. the only problem here is dm-verity.

FIRST CONCLUSIONS:

We have SEMI-FINISHED root method that should work but we have NOT permission to edit /system (also with root) (because of DM-VERITY)

And have ROOT PERMISSIONS but CANNOT EDIT SYSTEM (for dm-verity) = USELESS THING

I do not found any totally systemless mod (maybe busybox systemless.. and I'm not sure if Xposed Systemless is conpletely systemless..) and anyway to use root permissions (also trying to push necessary files in /data -not touched by dm verity- and then symlink them into system) we MUST edit a file in /system/etc.. and dm-verity will undo our modifications in that file..

CONCLUSIONS:

UNTIL WE DON'T FOUND THE WAY TO DISABLE DM-VERITY WITHOUT TRIPPING KNOX,

YOU DO NOT NEED TO TRY THIS METHOD: IT IS USELESS FOR NOW

But if you want to test to report if your S7/S7edge model boots with engKernel and to report if knox will be tripped or not on your model, your tests are really appreciated..

Anyway WHEN (and if) WE FOUND THE WAY TO DISABLE DM-VERITY , ALL PROBLEMS SHOULD BE SOLVED AND WE WILL CONTINUE WITH THIS METHOD.

-------

Thanks for your tests guys..

We got important informations:

1.

KNOX WILL BE NOT TRIPPED FLASHING G935 engKernek on G935F (IT SEEMS.. NO-ONE CAN TOTALLY GUARRATEE) .. so it should NOT TRIP ALSO ON G930F

2. Root.BAT now works.. the problem is dm-verity

3. Dm-verity doesn't touch /data .. but anyway this info is quite useless because a file in /system MUST be edited and anyway root without system editing permission is really useless..

4. engKernel (so all this method) CAN

NOT

BE USED ON G930

FD

and G935

FD

(dual sim S7 models) because

PHONE WILL NOT BOOT

5. engKernel (so all this method) CAN

NOT

BE USED ON G930

W8

and G935

W8

because

IT TRIP KNOX ON THESE MODELS

-----

To all that have used this method: DO

NOT

DO ANY OTA UPDATE! IT COULD BE DANGEROUS!

So it you want to COME BACK:

1. Go into Settings>About device>Software info>Tap 7-8 times on Build Number

2. Go into Settings>Developer options and TURN

ON

"OEM unlock"

3. Then download latest firmware of your phone model and csc and FLASH IT WITH

STOCK ODIN 3.10.7 orr higher

(NOT the Odin you found into the root package)..

4. Done. Now you should can safely use otas. This procedure is REQUIRED BECAUSE WE PROBABLY HAVEN'T DISABLED OTAs AND SOME USERS WITH ROOTED DEVICES RECEIVED AN OTA THAT BRICKED THEIR PHONES.

Also if device is non-rooted, I really advice to enable OEM Unlock and reflash stock rom..

So you shouldn't have risks..

Anyway when (and if) we will provide a way to disable dm-verity without tripping knox, we will also disable OTAs.. but I think that if you haven't root, you want OTAs.. so enable OEM unlock and flash the latest firmware of your phone model and csc..

So, as I wrotten before, you shouldn't have risks..

[MENTION=4773035]mariojuniorjp[/MENTION]

-------

Thanks again for tests