yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] brotbuexe:
Ok, I went the format data way and installed SuperSU afterwards, now it is booting.

Why it does not boot after just installing TWRP is still unclear, maybe this already triggers dm-verity? Maybe it checks the recovery partition too?

And I'm unsure about installing SuperSU or dm-verity without having a decrypted data partition. The SuperSU installer says mounting data at the first step, maybe they need this to patch the boot image properly...

Now reencrypting data and then restore of 600 apps (dont ask) with titanium backup, or I try restoring the MM data partition backup with flashfire. :)
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Omibus:
I can not confirm that flashing super su also patches the kernel but just because I've never heard of it. Maybe I'm just not well informed. But in every tutorial I've read so far it says you have to flash no verity in addition to supersu if you want to write to the data partition.

---------- Post added at 07:56 PM ---------- Previous post was at 07:53 PM ----------

I would only restore the apps you really need to restore from your backup. According to my experience restoring that many apps can cause lots of problems when updating to a new Android version.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] BartVCD:
Jop, we need a new version of supersu, latest version (sr3) is not working with nougat update of s7
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Chainfire:
I have not figured this out yet either, but I had the same issue. And then I didn't. And then I did again! It feels like memory corruption going on somewhere.

SuperSU does not *need* /data, but it uses it if it can mount it. Otherwise, /cache is used.

SuperSU also disables both dm-verity and forceencrypt (by default, this is configurable), no need to flash anything else for that.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] brotbuexe:
After I formatted my encrypted data partition in TWRP the install of supersu (sr3) went fine and the system booted right up.

So I guess if you have unencrpyted data, you just flash twrp with odin and supersu within twrp again and you are good to go.

Little off topic:

I restored the data partition backup I made before the 7.0 upgrade within flashfire, lost root (systemless root seems to have its su stuff on the data partition?) and installed supersu again in twrp and now have 7.0 with root and all the data/apps back as before. And the mixed adoptable storage is still working too without any data loss.

Now let's see if I can get the encryption up again...

Let's get back to the topic. Will we see samsung encryption support in TWRP in the future? What is the issue with this? Is it that complicated?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] bustyouup4free:
Ok so I'm on 3.0.2.4 what is the recommended steps to upgrade to 3.0.2.5? I don't want to screw up what's working. but I do want to upgrade:)
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Ubimo:
I know there is a version 3.0.2-5

From where can I download this version?

Edit:

I should read two posts above. Silly me
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Ihe87:
flash it via Odin and you're fine. ;)

update with ISO doesn't work in 3.0.2.4
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] bustyouup4free:
do you knife what changes his custom version brings?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Ubimo:
I have a strange problem. I did steps 1-6:

Hold [Volume Down] + [Home] + [Power] to get out of Download mode and immediately swap to [Volume Up] when the screen blanks.

My screen is red and the blue notification led is shining. Never had this before. I cant get into recovery.

I'm on stock S7 edge nougat.

Edit:

Me silly, I got the wrong recovery since I own an "edge". Found edge recovery. Everything ok
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] coraxe:
CF auto-root

I've used CF auto-root successfully, can I just flash the TWRP recovery?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] brotbuexe:
If you want. Yes.

But there is a boot issue with TWRP and 7.0 on encrypted data.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] karimox:
Hello,

Does this guide works for android Nougat or do I have to change something? Thanks
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] brotbuexe:
It works. If you already have unencrpyted data or if you don't skip the "format data" step.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] The Punisher-r:
It works.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] kornelkahh:
Hey, I've tried to do a backup with TWRP, and it wrote this error:

createTarFork ( ) process ended with error: 255

Backup Failed.

Why?

EDIT: made a backup without DATA partition successfully.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] ez2:
Can see "boot" & "system" but not "data" in restore options

I can see my backup but only have "Boot" and "system" restore options, I see everything on my PC but not in TWRP from device.

I have attached a pic of what I see from PC but only see "Boot" and "System" in restore options through TWRP on device, any suggestions?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] tlspatt:
I'm trying to make a backup before manually flashing the OTA 7.0 update. Never had a problem with TWRP before...

(1) Trying to backup to my internal memory so that, if I need to restore, it's already on my phone (although won't the 7.0 update wipe my phone?). Thought about removing the SD card before flashing just to ensure it doesn't accidentally wipe it or whatever. Would probably keep a copy of the backup on the SD card too, just in case.

(2) When I go to backup mode, it's detecting 0 space available on internal storage (whereas I actually have 2+ GB), tons of space available on my SD card, and 0 space available on USB OTG.

(3) I select SD card, swipe right, and the backup proceeds all the way up to 100%. But, as it finishes, I receive an error that says:

Failed to mount ‘/data’ (Invalid argument)

Backup Failed. Cleaning Backup Folder.

(4) Backup remains on my device. Have deleted and tried again repeatedly but I keep getting the same error.

Any thoughts or suggestions? (Yes, I have SuperSU installed.) Never had issues with TWRP in the past... Thanks!
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Rishav25th:
Noobs

I just wanted to know do i need to wipe all my data and internal storage to root this phone or i just need to flash twrp then swipe to enable notification and then flash bla bla disabler and then supersu?? after this will i be enable to boot into my phone
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] billa:
Most likely you have an encrypted data partition.

To fix it, flash No_Verity_Opt_Encrypt and wipe data in TWRP but make sure you have made a backup of your important stuff first.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] bobatomix:
Hi,

I've just a question, is it possible to add a pin code or a password to protect the access of TWRP?

Thanks
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] giokou:
I had to read all pages of the this thread, in order to understand how important is the ''format data'' step in the whole proccedure, just before flashing ''no verity'' and ''supersu'' zips.

I believe that the op must be updated with this important note.

Thank you to all the people that posted it!
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] bustyouup4free:
lol step #10 surely tells you to do it. maybe you missed that part. otherwise nobody here would have custom Roms running. anyways maybe you learned something here. read, read, and read again. make sure you understand all risk and all steps :) anyways glad you got it. usually it's something small that gets overlooked
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Burtrum57:
The man needs to be congratulated. How often do we see a question asked and the answer is either in the op or worse still within a couple threads.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Waza_Be:
Hello Guys,

While following procedure and reading: By swiping right, you will trigger dm-verity, and if you don't follow the next step you will be unable to boot!

I have to install a file via twrp. Problem is that windows tells me: Cannot copy item, the device has either stopped responding or has been disconnected.

But that's my phone in the file explorer.. I can remove it by unplugging device and it gets back when plugging.

So what should I do if I want to boot? I am a little bit afraid!
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] giokou:
Where exactly is it written in step #10? Maybe i am blind or i 've grown too old for this....

* I watched the video. There it's clearly showed that i must ''format data'' and i used the internal storage and not an external sdcard.

Don't worry my friend, i am an old member with countless custom roms flashes and i can assure you i am congratulating every developer every time. That's not the point here though.

---------- Post added at 01:14 AM ---------- Previous post was at 01:09 AM ----------

You should try transfering the 2 zips in an external sdcard before starting the whole procedure. ;)
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] hensk:
hi I`m rooted also on Supermenn 1.14 & also confused!

now i like to go on nougat Supermen 2.1

shoud I flash TWRP 3024 via Odin & vipe ,type yes & after that flash Supermen 2.1.zip or

must go after TWRP with dm no verity'.zip & supeSU.zip and than Supermen 2.1
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] redjamesg:
No, install latest boot loader, modem and twrp through odin, then reboot to twrp and install superman ROM.

The data encryption is only enforced when flashing CSC or HOME_CSC from official nougat firmware.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] thrutheeyes:
This is so unclear....

If you only want a bootable system partition:

Download the latest dm-verity and force encryption disabler zip.

Without exiting TWRP, transfer the no-verity-opt-encrypt zip to your device over MTP* and flash it using [Install] in TWRP.

Note: This does not disable the forced encryption on Bxxx firmware, only Axxx firmware due to a change in vold by Samsung.

Do I still swipe right to allow modifications if I'm doing this option?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] redjamesg:
Yes
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] fliptechnologies:
finally decided to flash my s7 today, has been a while since ive flashed.

(930F Australia / international version)

all went well when i was running 6.0.1 then even with internet / data, play store wouldnt load, or would a few other apps.

updated to 7.0 today and everything was fine tibu working play store etc, except Snapchat and camera refuse to work after root,

so i reinstalled the stock image, twirp and no-verity-opt-encrypt, booted up loaded camera and SC all good, rebooted installed SU and reboot.

loaded tibu and made a backup of both camera and SC, removed them, rebooted and restore and no such luck.

Am i missing something ? i did follow the video to the letter (although im not new to rooting)
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] CurtisMJ:
Are you flashing SuperSU? If so, which version? You should be using at least 2.79-SR3 for Samsung nougat ROMs. SELinux issues I believe...
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] gravityz3r0:
Guys, need urgent help here. I want only the latest official ROM. Is there a way to do it?

I don't understand.

1. Clean install Stock Official 7.0 ROM from ODIN with Stock Recovery.

2. Flash TWRP, reboot and swipe right.

At this point my Internal memory is showing 0 due to encryption.

3. Format "Data" will wipe out my ROM.

4. Install CF Root or dm-noverity.

4. ???? back to step 1 ????

how do i proceed to step 4 if i want to stay on official ROM and at the same time get rid of the encryption so i can use my TWRP and root it? I can't get the official ROM to stick if i have to format "Data" at step 3 as it will keep re-writing my recovery with Stock.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] kykint:
Install no-verity-opt-encrypt after step 3 and u're done. Wiping data won't overwrite your recovery with stock one. If it does, then there must be something you missed. Maybe you could try deleting /system/recovery-from-boot.p before you reboot.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] gravityz3r0:
Hi! Thanks for the reply.

Yes, wiping data does not overwrite my recovery. But reinstalling my ROM via ODIN does.

Remember, i'm not looking at installing any custom ROM, so my only way of installing is via Odin. When i wipe my data, my existing ROM will be wiped. So when i install my ROM again via odin, my recovery will be rewritten with the stock one so i'm back to square one.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] fliptechnologies:
when i was on 6.0.1 i was flashing the version mentioned in the video,(BETA-SuperSU-v2.68-20160228150503)

for 7.0 i flashed SuperSU-v2.79-201612051815.

is this the one you refer to i should be using ? SR3-SuperSU-v2.79-SYSTEMMODE.zip from this thread?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] CurtisMJ:
This one:

https://xdaforums.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] fliptechnologies:
thanks, i`ll try tonight when i do another flash
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] olosz:
How likely is it possible encryption will by supported?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] kykint:
Simply remove recovery.img from AP_*.tar.md5 before you flash firmware, or directly reboot into download mode again after the flashing is done, and then flash TWRP.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] JazHusic:
Not sure if anyone has had this issue, but I updated to Nougat today by flashing a stock rom via Odin. That went fine, but i lost root, so I came here, downloaded all of the latest and followed the steps. After installing SuperSU i went to reboot system and now the phone seems stuck on the Samsung logo. I know that this part of the process can take some time, but its been 30 mins now. What do i do?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] remix92:
Hello Everyone ...

i have a big problem..

i wanted to my s7 (g930F) install TWRP over Odin .

And now i have bootloop...

In Odin i get the mesagge " TWRP Pass" but in download menu the cleat is full and the message "do not turn off the target"!

and if i cant boot to Twrp (with vol - and home and Power button) and click immediately

I have nougat on my s7
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] bustyouup4free:
install latest twrp 3.0.2.5 by Tkkg1994... if you don't have it search for it

---------- Post added at 02:58 PM ---------- Previous post was at 02:56 PM ----------

3.0.2.5 right? if not try that... then read instructions, then read again.. then install. should be easy if you read it.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] remix92:
Thank you very much :)

It worked. If i want to Install for the first time a Custom Rom, have i do a factory reset?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] tregate:
I think yes, full wipe/clean install is mandatory in this case. Then for updating custom rom you can dirty flash but devs always recommend to wipe to avoid weird behavior and bugs from the phone.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] tlspatt:
The problem was that I couldn't flash that no-verify zip nor could I create a backup because it was encrypted (by default, I guess, because I certainly didn't enable that). So I had to wipe the device without my apps backed up. What a PITA. Thanks for the clarification though.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Mickyman:
Got the nougat update today and did the following and it worked perfectly for me.

1. Reflashed the latest TWRP

2. Formatted data (Using the "Format Data" under "Wipe")

3. Flashed the no-verify zip

4. Flashed latest SuperSU beta

5. Voila

:)
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] itzAltaf:
Hi guys

i got S7 930FD XSG,

Rooted using this Method [Recovery][Exynos] Official TWRP for Galaxy S7 (herolte)

Somehow mistakenly Turned off OEM

Device locked, Reinstalled Stock ROM using "Smart Switch"

Again rooted by above method.

Now OTA updates aren't available.

So I have two question, actually one confusion and one question.

As when i reinstalled ROM using Smart Switch, in Smart Switch it says "930F" instead of 930FD, while is device info it say 930FD.

1. are there same or single system/OS for both version ?

If yes, then can i install ROM of 930F XSG, with same AP and CSC of My device,

2. If answer to 1st question is yes and safe, then can i just Flash only AP file, leaving BL, CP, CSC etc ?

I just want to get latest update (either via Odin or OTA)
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] dejan-:
2 questions:

1. i'm on stock rom 6.0.1 and i have Android 7.0 update available, tho didn't install yet... before going to 7.0 i would love to make a nandroid backup of phone in recovery, meaning that i need to flash trwp on my phone.

Here's first question: if i flash twrp only over odin (no root), does my phone stay in the same state as before (settings, apps etc.) and will i still getting official updates from samsung? ...

2. for full nandroid backup do i need only twrp recovery or also root ?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] hensk:
I think you dont need root ,cozyou will do nandroid thougth TWRP recovery
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] CurtisMJ:
1. It'll say the same mostly, but you won't receive OTAs with a custom recovery. The stock recovery is used to install updates.

2. No root needed, but if you're coming from stock then you're likely encrypted, so backup won't be possible anyway. You can still do a block copy if you have a big enough SD card though ;)
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] dejan-:
i see, tnx for answers...tho i dunno why is s7 soo different to me from s1.... when i bought S1, i had it for like 1 month, before i start to flash it with custom roms and never had a problems...and now on S7 i kinda have a hindrance, and i have it 1 year already.

probably couse with marshmallow is working perfectly, and battery's good.

before i would go to nougat i want it to make a backup, in case nougat ain't better or at least good as marshmallow.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] master64nl:
dm-verity and force encryption disabler zip

Is it possible after installing everything to do the dm-verity and force encryption disabler zip later on?

Or must it be done during the explained steps in post one?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] TheBigRuss:
Hello all. I inadvertently deleted my SMS messages and attempted to restore them from a TWRP-taken backup, but they didn't return. I tried twice with the same result. Then, I read about and installed Nandroid Manager, and used it to restore the messages from the exact same backup, and it worked. Any ideas why TWRP wouldn't?? Thanks!!
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] dotnexus:
I tried to update TWRP by flashing TWRP 3.1.0.0 image file (e.x. twrp.img) using TWRP 3.0.2.4 (previous version). I followed the steps that the TWRP page says but it didn't work all it did is show an error "Error Opening (Not a directory)". The image file was saved as default on the download folder of the phone.

P.S. I downloaded the image file using the official TWRP App on the Play Store .
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] alkanbw:
I used rashr tool and installed TWRP 3.1 without any problems.

Wysłane z mojego SM-G930F przy użyciu Tapatalka
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] dotnexus:
Thanks for the sugestion but I finally managed to flash it through the Official TWRP App
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] unibombz:
just grabbed an S7 and i plan to root it tomorrow

I have rooted many devices previous so it looks like the standard process (encryption flash is new to me)

to confirm... twrp-3.1.0-0-herolte.zip (the latest TWRP) is good to go i assume?? when following the OP instructions ?

Also I am going to assume this method works on STOCK Android 7.0 + ?

Thanks. Excellent guide with links and everything, fantastic !
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] SimpleClix:
Will I lose all my data / files on my phone when I install Root & TWRP? Because Max Lee said on his video, that everything is gonna be erased with his Root Method.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] unibombz:
yes the /data partition is where you saved files are stored... as well apps installed to. The phone will be factory fresh (like you just took it out of the box) Please be sure if you have files on your SD (internal storage) that you make a BACKUP (copy all contents to another device) to be safe
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] master64nl:
Any one???
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] heliumn55:
Hello

One question, to try a kernel (superkernel, superstock....)

1 Save current kernel (stock) in twrp backup "boot checked only"?

2 flash superkernel 2.2 + magisk 11.1 in twrp.

3 wipe dalvik, reboot

4 root ok in magisk.

Ok my s7 is working.

So i decide to restore my backup stock kernel in twrp, but after flashing , always staying on boot screen, on Samsung Galaxy S7 logo

How create a backup of his stock kernel in twrp and restore it?

trying with flashify, Rashr and same fail!!!

How restore correctly his kernel in twrp?

What is wrong with my backup?

I don't understand anything anymore!

Help please.

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

hello

https://xdaforums.com/showthread.php?t=2524485

no?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] BaGRoS:
Hi

I have S7 flat with Android 6.0.1

I want update to newest version 6.0.1, but without wipe and WITHOUT encryption!! (6 because on 7 xposed still not working)

This is possible without flashing CSC for example?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] msohail_7:
Is there TWRP 3.1.0 for S7 available? Links pls.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] master64nl:
https://dl.twrp.me/herolte/
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] kornelkahh:
Can I update from TWRP 3.0.2-4 to 3.1 without wiping anything?

No, it is not possible, otherwise you can NOT boot!!!
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] master64nl:
Yes you can install twrp 3.1
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] chrcol:
i am usin 3.1 and have even already used it heavily for nandroid backup restore it works fine
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] nightcrow:
[MENTION=5672995]jcadduono[/MENTION] maybe you can update this thread with the new 3.1 version and add a changelog? Can't find it at the TWRP website for now.