yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S7 Edge Questions and Answers] zainbfaisal:
Hello,

I have tried to root multiple times but everytime I flash TWRP and format Data and then restart the data partition keeps getting encrypted again, I am using the official 8.0 Oreo UK version which recently got released, I have tried installing Magisk and Xposed both are installed successfully but with error that /data is not mounted and like I said if I format data to decrypt it and then restart it automatically encrypts it. I also tried flashing Samsung anti root and no opt zips but it also didn't help.
[Samsung Galaxy S7 Edge Questions and Answers] yaro666:
It was released a few days ago, just go with custom or wait for working solution
[Samsung Galaxy S7 Edge Questions and Answers] ric69:
1 workaround for now :

flash rom via odin /

flash twrp via odin /

flash no_encrypt 6.0, full wipe, reboot to recovery /

flash MoroKernel 1.5 (magisk already included) /

reboot and have fun with no encryptation anymore ;)
[Samsung Galaxy S7 Edge Questions and Answers] NewbieFTW:
No-verity didn't work for me but remove encryption.zip did.
[Samsung Galaxy S7 Edge Questions and Answers] fre78:
this didn't work for me, it resulted in a bootloop
[Samsung Galaxy S7 Edge Questions and Answers] ric69:
Sorry for you. check Mount system or data or enable MTP. Internal storage was probably still at 0

I rebooted more than 10times it's ok here
[Samsung Galaxy S7 Edge Questions and Answers] joeufrey:
sir may i ask how come ur able to have twrp .

how dd u install twrp on android 8.0 UK firmware?

thanks for help
[Samsung Galaxy S7 Edge Questions and Answers] NewbieFTW:
What I did :

1. Install official room through Odin

2. Do not reboot!!!!

3. Install TWRP through Odin

4. Install Magisk

5. Install Encryption Disabler

It worked for me
[Samsung Galaxy S7 Edge Questions and Answers] fre78:
OREO stock keeps encrypting DATA partition

Hi NewbieFTW,

I've followed the steps you've described. (in step 3, I also did format the DATA partition because it was encrypted)

The result is that I'm on stock OREO and I can boot in TWRP.

But whatever I try, after booting OREO the first time, my DATA partition is encrypted again.

So, I have a TWRP as recovery, but only in READ ONLY mode, because it cannot mount an encrypted DATA partition.

This way, I cannot backup or restore my DATA partition.

Can you confirm that your TWRP is not READ ONLY?

And what encryption disabler did you use? (I used no-verity-opt-encrypt-6.0.zip)
[Samsung Galaxy S7 Edge Questions and Answers] NewbieFTW:
Yes, I can confirm that I can do whatever I want on TWRP.

I used a .zip found somewhere on a 8.0 thread. I feel like the no-verity zip doesn't work on some devices as it didn't on mine.

Let me grab the link for you : https://drive.google.com/file/d/1tCLamw9j07bhRgEd6qhymqUxExazy04c/view?usp=sharing

Here you go, try this. It should work now. Try doing the exact same steps as you did before but with this zip instead of no-verity.

Good luck mate
[Samsung Galaxy S7 Edge Questions and Answers] skydivider:
Can anyone confirm that magisk should be installed in twrp before encryption disabler?
[Samsung Galaxy S7 Edge Questions and Answers] NewbieFTW:
Magisk removes the encryption disabler .zip for some reason.
[Samsung Galaxy S7 Edge Questions and Answers] zainbfaisal:
Sounds good dosen´t work.

When you flash Magisk it flashes its own boot or system img and remove encrypt flashes its own, if you flash the magisk itll flash the img but if you then flash encryption disabler it will overwrite the magisk img and magisk will uninstall or if you flash the encrypt and then magisk then you will have magisk but encryption will be enabled.
[Samsung Galaxy S7 Edge Questions and Answers] NewbieFTW:
I'm sorry then, I don't know what to say. It worked for me.
[Samsung Galaxy S7 Edge Questions and Answers] ronieder:
I needed reinstal magisk after boot for root, but worked for me...
[Samsung Galaxy S7 Edge Questions and Answers] riseofsand:
When this happend to me, i hit format data and typed yes, when i mount on TWRP i can see my storage again
[Samsung Galaxy S7 Edge Questions and Answers] miguelan.ruiz:
I can root with patched boot image, but Samsung Healt and Samsung Pay don't works. Anyone?
[Samsung Galaxy S7 Edge Questions and Answers] jorim.tielemans:
Samsung Pay will, at the moment, probably never work again because it trips Knox.

For Samsung Health the fix is still the same: install a build.prop editor and change the value of RO.Config.Tima from 1 to 0.
[Samsung Galaxy S7 Edge Questions and Answers] MadR4sta:
not for me

doesn't work for me
[Samsung Galaxy S7 Edge Questions and Answers] fre78:
Apparently there are 2 kind of users here.

One part did manage to install stock Oreo (BTU? other CSC?) , with root (magisk? superSu?) and a working TWRP (3.2.1?) which is not read-only on our beloved S7 Edge (SM-G935F)

The other part did not manage to setup this particular config.

It would be nice to have a detailed step-by-step guide from scratch by someone who managed to do it, so we can reproduce it.
[Samsung Galaxy S7 Edge Questions and Answers] wideboyno1:
Yes,have to agree with you fre78.

Have flashed,rooted etc many phones including my s7 edge on nougat with no problems.

My experience is basically that i can do all i want to do but if i use the usual 'no-verity-opt-encrypt-6.0.zip' then no matter what i do every reboot results in twrp being read only with an internal memory of 0mb. You can of course format data to make it readable but then all your work setting it up with apps,settings,preferences etc is lost.

If i use the other 'remove encryption.zip' then the data partition in twrp is always readable but my settings menu in android has unwanted entries for (i think) t mobile and other stuff in it. I want a plain,stock oreo install to change as i please.

So,it seems there may be problems which need working out and this is the best place to find the solution. Any ideas?

Cheers,
[Samsung Galaxy S7 Edge Questions and Answers] fre78:
apparently, the problem occurs only when using magisk for rooting.

When using SuperSu, it all works like it used to under nougat.

Thanks to https://xdaforums.com/s7-edge/development/rom-dylan-s-s7-oreo-rom-v2-t3784762
[Samsung Galaxy S7 Edge Questions and Answers] miguelan.ruiz:
I can't put links. If I can put links then help you, but I don't know
[Samsung Galaxy S7 Edge Questions and Answers] MadR4sta:
got a link for this remove encryption.zip please?

no verity blah blah didn't work for me either
[Samsung Galaxy S7 Edge Questions and Answers] MadR4sta:
Thanks for remove encryption DL link as no verity didn't work for me either.

Haven't tried it yet but will soon.

[/FONT]
[Samsung Galaxy S7 Edge Questions and Answers] jacohell:
What I did :

1. Install official room Via Odin Do not reboot !

2. Install TWRP Via Odin

3. Reboot to TWRP

4. install the remove-encryption.zip

5. Install SuperSU

It worked for me but did not pass the safety net test
[Samsung Galaxy S7 Edge Questions and Answers] RiTCHiE007:
The solution is easy.....

First flash Oreo with Odin and keep it in download mode to flash TWRP.

Boot into TWRP and slide to unlock so system can be modded.

Wipe Data and clean the cache etc after that the mount problems will be gone because the phone has to be wiped anyways in oprder to install root.

Install your root and after the root has been installed then flash no-verity-opt-encrypt-6.0.

If you install SuperSU then the safetynet fails but if you install Magisk then it will be fine.

Now reboot the phone and it will boot up fine without encryption and root.
[Samsung Galaxy S7 Edge Questions and Answers] skydivider:
I followed your instructions, but still Data is not mountable in recovery when using magisk. Everything else seems fine.
[Samsung Galaxy S7 Edge Questions and Answers] RiTCHiE007:
You need to flash oreo, twrp, root and encryption fix before the phone boots for the first time otherwise it will forces encryption.

But i think if you go into twrp now and do a data format and wipe then vset it up again will give you access to data also again.
[Samsung Galaxy S7 Edge Questions and Answers] wideboyno1:
Exactly the same problem here and have done it dozens of times in all possible combinations.

Done all the steps as you said,in the correct order and importantly didnt let phone reboot but still /data not mountable unless you format data (yes) at which stage you lose any settings you've changed or apps installed etc. Very frustrating to be honest. And i'm also having the same problem as before with unwanted entries in the settings menu for t roaming and kt something or other..
[Samsung Galaxy S7 Edge Questions and Answers] fre78:
in my experience, the moment you flash Magisk, the show is over, wathever order you try. When using SuperSu, no problem. Maybe/hopefully the next update of Magisk will work for us all.
[Samsung Galaxy S7 Edge Questions and Answers] Pet1981:
Does anybody else facing problems with Titanium Backup Widgets after installing the Oreo update?
[Samsung Galaxy S7 Edge Questions and Answers] skydivider:
I managed to root stock Oreo with Magisk without encryption side effects.

What I did :

1. Install official room through Odin

2. Do not reboot!!!!

3. Install TWRP through Odin

4. Boot into recovery and format data and install remove-encryption.zip. I took it from link in post #10: https://drive.google.com/file/d/1tCLamw9j07bhRgEd6qhymqUxExazy04c/view?usp=sharing

5.Boot normally and install applications,configure settings,etc...

6. Install Magisk in twrp

and that's it.
[Samsung Galaxy S7 Edge Questions and Answers] MadR4sta:
best method I've found

https://www.youtube.com/watch?v=JwLja68KmKM

Tried so many ways and nothing worked.

Yes you do end up having to wipe, but if your phone was already rooted on Android 7 then you should've already backed it up with something like titanium backup so restoring after a wipe is simple.

---------- Post added at 09:11 AM ---------- Previous post was at 09:10 AM ----------

Tried so many methods and nothing worked. Try this guy's method. Absolutely the best and worked

https://www.youtube.com/watch?v=JwLja68KmKM

---------- Post added at 09:11 AM ---------- Previous post was at 09:11 AM ----------

Tried so many methods and nothing worked. Try this guy's method. Absolutely the best and worked

https://www.youtube.com/watch?v=JwLja68KmKM
[Samsung Galaxy S7 Edge Questions and Answers] MarkoParkovic:
Where can i download Encrtption Disabler?
[Samsung Galaxy S7 Edge Questions and Answers] akela1979:
Worked wery well, Thank you.
[Samsung Galaxy S7 Edge Questions and Answers] skydivider:
try this one from post #10: https://drive.google.com/file/d/1tCLamw9j07bhRgEd6qhymqUxExazy04c/view?usp=sharing

I can confirm this for both BTU firmwares of Oreo 8.0 from May 1st and 12th.

I can backup data and other partitions in recovery(twrp) as usual, meaning partitions are not encrypted.
[Samsung Galaxy S7 Edge Questions and Answers] elwiniscool:
Use Odin and autoroot

This may not work for you, as I have an s7 and you have an s7 edge, but I just flashed the cf auto root file for android 7 with Odin.
[Samsung Galaxy S7 Edge Questions and Answers] Great White:
I can confirm I have to issue with Magisk and Oreo, S7E NEE
[Samsung Galaxy S7 Edge Questions and Answers] botski:
i've installed succesful TWRP but i cant install Magisk-v16.4.
[Samsung Galaxy S7 Edge Questions and Answers] nononononon:
I've used the video guide above, and it's just working fine.

I even have adb with root permissions now (su root), after installing Magisk Manager App and toggle some shell settings.

My problem was, I had to format /data. Without that, I always got the integrity check failed error.
[Samsung Galaxy S7 Edge Questions and Answers] e2kosio:
SOLVED Data drive decryption issue, root and TWRP for both s7 Edge & Non-edge

If you follow the following steps the Data decryption issue is gone:

All zip & tar files you can find attached in the previous messages.

After Oreo Install

1. Odin > twrp-3.2.1-1-hero2lte.img.tar (for Edge) or twrp-3.2.1-1-herolte.img.tar (for Non-Edge)

2. TWRP > Wipe > Format Data to Ext2

3. TWRP > Wipe > Format Data to Ext4 & reboot

4. TWRP > Magisk-v16.4(1642).zip

5. TWRP > no-verity-opt-encrypt-6.0.zip

6. TWRP > remove encryption.zip

& reboot

7. Boot and follow the initial Oreo wizard till WiFi selection and reboot to Download menu to reinstall TWRP

8. Odin > twrp-3.2.1-1-hero2lte.img.tar (for Edge) or twrp-3.2.1-1-herolte.img.tar (for Non-Edge)

9. TWRP >(Optional) Back Up all to SD

10. TWRP > Magisk-v16.4(1642).zip

All the best.

Regards,

Konstantin
[Samsung Galaxy S7 Edge Questions and Answers] Gustl6500:
I have now read through the entire thread, but I'm still not sure what I have to do everything, maybe someone could give me a short help again

I would like to install LineageOS, Stock Oreo is already on my phone

I must do:

s7 oem unlock + USB Debugging

Download Odin 3.13.1

Download twrp-3.2.1-1-hero2lte.img

Download LineageOS + Gapps + (magisk, when i will root)

Start Odin

TWRP to "AP" , no "Auto Reboot" and Start

After that boot manuelly in TWRP

Reboot again in Recovery

Wipe all Data

Install Lineage + Gapps + Magisk

Reboot

All ok?

I've read a few times about a "No Encrypt" or something like that.

So that I get LineageOS running and everything works, do I have to flash "No Encrypt" and if so, when exactly? Thank you in advance

*****

Problem solved...I dont now flash the "no encrypt" and everything is working fine.
[Samsung Galaxy S7 Edge Questions and Answers] jimbobmcginty:
Followed all these steps except the optional sd backup, and I have root, can alter system etc all is good.

However I have 2 observations:

1. Rebooting later into TWRP, /data is not accessible

2. A "magisk -post-fs-data" process takes up a constant 20% cpu .

Will try the video process next.
[Samsung Galaxy S7 Edge Questions and Answers] e2kosio:
Vital are steps 6 & 8 (install "remove encryption.zip") and after reinstall TWRP for the correct version of the phone.
[Samsung Galaxy S7 Edge Questions and Answers] jimbobmcginty:
Yes I did 6&8 for sure.
[Samsung Galaxy S7 Edge Questions and Answers] projacore:
How To decrypt and flash Magisk S7 Edge Oreo Stock Rom

Working on SM-G935F Other versions should work too. Heres the Guide:

THIS IS DIFFERENT THEN ALL OTHER GUIDES HERE SO THIS MAY HELP YOU OUT;

The big difference is to firstly not install magisk, install only remove encrypt, boot into your phone and after that to flash magisk again from TWRP. i dont rlly know why but its working.

btw i figured out myself

Needs:

Odin (Odin3_v3.13.x.zip)

Magisk (Magisk-v16.x.zip)

TWRP (twrp-3.2.x-x-hero2lte.img.tar)

remove encryption.zip (link posted in this Thread)

1. Go to Download mode; Open Odin;

2. Make sure to uncheck Auto Reboot

3. Flash via AP > twrp-3.2.x-x-hero2lte.img.tar

4. Wait for Odin to Pass and exit the Download Mode again with (Volume Down+Home+Power)

5. Then directly boot intro recovery (Volume Up+Home+Power)

6. Swipe for Modifications and Wipe Data, confirm with typing "yes" and reboot again into recovery

7. Install only the remove encryption.zip and reboot into your system

8. Setup your phone and after you did reboot again into the recovery

9 Install Magisk and reboot your phone; Thats all now your phone is running Magisk fully decrypted
[Samsung Galaxy S7 Edge Questions and Answers] dani2191:
Tried every solution from this thread with no success on my SM-G9350, it always ends in bootloop. There seems to be no way to install Magisk on my device.
[Samsung Galaxy S7 Edge Questions and Answers] projacore:
Did you try my Guide? First try to install the Encryption Zip and after that reboot into your system setup and then reboot into recovery and look if its actually working after that install magisk...
[Samsung Galaxy S7 Edge Questions and Answers] dani2191:
Tried yours and e2kosio solution, it seems the remove-encryption.zip is not suitable for my device as it fails to flash.

I'm on Stock Oreo (Hong Kong - TGY - G9350ZHU2CRF5 firmware).

I use hero2ltechn.img.tar for TWRP recovery
[Samsung Galaxy S7 Edge Questions and Answers] skydivider:
It seems you have snapdragon variant of S7 Edge.

Maybe that's why it's not working for you.

I can confirm given method works. And I have SM-G935FD , S7 edge exynos variant.
[Samsung Galaxy S7 Edge Questions and Answers] projacore:
try no-verity-opt-encrypt
[Samsung Galaxy S7 Edge Questions and Answers] dani2191:
When I:

flash stock oreo and finish setup

flash twrp via odin and reboot to recovery

wipe data (tried both ways separately: only wiping and typing yes OR changing filesystem to EXT2/EXT4) and rebooting again to recovery

flash no-verity-opt-encrypt AND/OR remove-encryption THEN reboot to system (tried flashing each one separately and together)

bootloop

flash stock oreo and finish setup

flash twrp via odin and reboot to recovery

wipe data (tried both ways separately: only wiping and typing yes OR changing filesystem to EXT2/EXT4) and rebooting again to recovery

flash no-verity-opt-encrypt AND/OR remove-encryption (tried flashing each one separately and together)

flash Magisk OR SuperSU THEN reboot to system

bootloop

I did enable OEM modifications and CROM beforehand, if that makes any difference at all.

No luck so far.
[Samsung Galaxy S7 Edge Questions and Answers] Spartacus500:
[MENTION=7009857]dani2191[/MENTION]

Try this

1. flash stock oreo and finish setup

2. flash twrp via odin and reboot to recovery

3. wipe data, typing yes to format ext4 and rebooting again to recovery

4. flash no-verity-opt-encrypt 6 & reboot to system
[Samsung Galaxy S7 Edge Questions and Answers] dani2191:
I did that, and it doesn't boot to system afterwards.
[Samsung Galaxy S7 Edge Questions and Answers] Great White:
Is there anyone willing to find out if /data mounting works on the new Magisk version? (Without all the extra steps)
[Samsung Galaxy S7 Edge Questions and Answers] fre78:
Thank you, I got it working following these steps.
[Samsung Galaxy S7 Edge Questions and Answers] p4pentium4:
before rooting make sure you have following ..

working S7 / S7 edge updated to oreo 8.0

links are

G935F

SM-G930F

ODIN 3.13.1

NO VERITY OPT ENCRYPT AND MAGISK CAN BE DOWNLOADED FROM HERE

ROOT PROCEDURE FOR S7 EDGE AND S7 FLAT FOR OREO

COPY MAGISK AND NO VERITY ZIP ON EXTERNAL MEMORY

FLash TWRP in Odin > click here (for International & Canada (SM-G935F, SM-G935FD, SM-G935X, SM-G935W8)

or HERE for Korea (SM-G935K, SM-G935L, SM-G935S):

or Here (for S7 Flat International & Canada (SM-G930F, SM-G930FD, SM-G930X, SM-G930W8)

or HERE for Korea (SM-G930K, SM-G930L, SM-G930S)

uncheck auto reboot and f reset in Odin options

after flashing TWRP .. boot phone in Recovery mode and do following...

Wipe > advance wipe > Format Data to Ext2

Wipe > advance wipe > Format Data to Ext4 & reboot to bootloader , do not install twrp app

TWRP > Install >Magisk-v16.4(1642).zip

TWRP > Install >NO VERITY OPT ENCRYPT.zip

& reboot to system ( do not install TWRP app )

enjoy

( please note : this is a tutorial showing how to root the Samsung galaxy S7 / S7 EDGE running android 8.0 )

DO THIS AT YOUR OWN RISK AND THIS WILL TRIP KNOX COUNTER , SO CANT USE SAMSUNG PAY AND SHEALTH

NONE OF THE CREDITS GOES TO ME , JUST TRIED TO SHOW THE PROCEDURE IN A SIMPLE WAY

I HAVE TRIED WITH SM-G935F/FD AND G930F/FD , Please test on other models on your own risk
[Samsung Galaxy S7 Edge Questions and Answers] Gammapooka:
That's how i did before you posted your message.

But wondering why my knox counter shows 0x0, before the root it was 0x1...
[Samsung Galaxy S7 Edge Questions and Answers] e2kosio:
yes definitely the steps above are for non-Asian versions, another decryption file should be used for the Asian version
[Samsung Galaxy S7 Edge Questions and Answers] vagenrider:
worked mate..thank you
[Samsung Galaxy S7 Edge Questions and Answers] dkadds2:
Hi Guys,

Unfortunately it didn't work for me. I'm on SM-G930FD and below are scenarios I've tried with TWRP 3.1.1 and TWRP 3.2.2 (as the latter had some problems restoring FlashFire backup).

The moment Magisk v16.0 or v16.7 is installed even with no-verity-opt-encrypt-6.0.zip straight after it (without TWRP reboot), the moment it boots into System, encryption starts or better to say, after next reboot to TWRP, partition is not readable and standard "unable to find crypto footer" is reported by TWRP.

The "remove encryption.zip" doesn't play well with Magisk as if installed after Magisk then Magisk is not visible as App in drawer and even if Magisk apk (v5.8.3) is installed afterwards, it reports Magisk as not installed. The /data would still remain not encrypted, though if Magisk is installed within TWRP afterwards even with "no-verity-opt-encrypt-6.0.zip" then "/data" gets encrypted.

Problem reported to great Magisk developer [MENTION=4470081]topjohnwu[/MENTION] as https://github.com/topjohnwu/Magisk/issues/404.

There's one more detail I've noticed - that "remove encryption.zip" causes after reboot that TWRP doesn't ask if it should work in RO mode.

Probably the best would be if Magisk could be updated in a way that it would play well with "remove encryption.zip" or would have a flavour which would disable encryption.

Tests performed (did much more):

Format ext4
Magisk v16.7
remove encryption
Result: no magisk - but system not encrypted (quick reboot after setup)
reboot
all works nice
reboot to TWRP - /data still readable
reboot to System - all works fine - no Magisk
Magisk install from APK. v5.8.3 (shows status within Magisk as not installed)
TWRP install magisk
Reboot to System (sdcard gets encrypted - no screen security is set)
TWRP shows data as /encrypted

Format ext4
Magisk v16.7
no-verity
Result: FS encrypted

Format ext4
Magisk
no-verity
remove
Result: no magisk installed, but not encrypted

What worked
Format
Magisk
remove encryption
# no magisk yet
reboot TWRP ro
install Magisk v16.7
no-verity
# reboot
# magisk installed but system encrypted
[Samsung Galaxy S7 Edge Questions and Answers] bandino:
p4pentium4's solution ( #58 ) does not work fully. You get a rooted system with magisk, the Oreo works but TWRP can not mount anything therefore t.e. you can not wipe or install unfortunately. As others have already described previously ....
[Samsung Galaxy S7 Edge Questions and Answers] pjedi:
This method also worked for me! I can confirm that the data partition was not encrypted and I was able to back it up using twrp.

I have the sm-g935w8 (Canada variant)
[Samsung Galaxy S7 Edge Questions and Answers] exnokiafan:
no-opt-verity is not working in any way on a ERG2 OREO on a galaxy S7 with 3.2.2 twrp
[Samsung Galaxy S7 Edge Questions and Answers] exnokiafan:
Which phone and which version of each piece of software you used, please :)

TWRP: ?

MAGISK: ?

"no-opt" or "remove encryption" ?

OREO Build: ?
[Samsung Galaxy S7 Edge Questions and Answers] pjedi:
As mentioned, I have the SM-G935W8 - Freedom Mobile Canada (Exynos).

I had the latest stock 8.0 build from Sammobile.

As instructed:

Flashed TWRP 3.2.2.0 using latest Odin

Rebooted in TWRP

Wipe->FORMAT data (type 'yes' to confirm)

Reboot again to TWRP

Install Remove Encryption.zip

Reboot to System (wait several minutes for boot and apps to install)

Go through setup (WiFi, Google Account, etc)

Reboot again to TWRP

Install Magisk-v16.4.zip

Reboot to System

I then returned to TWRP to backup my boot/data/system successfully without any data mounting error.
[Samsung Galaxy S7 Edge Questions and Answers] shah22:
You should have known that due to some reason magisk encrypts the system again.. i think you not need to reboot between the steps.. and you can try installing magisk after format data option and before remove encryption option. Good Luck
[Samsung Galaxy S7 Edge Questions and Answers] exnokiafan:
First flah magisk, then encryption without reboot?

Might be worth a try. If magisk won't lock everything even before rebooting. What do you think?