Guide How to root Android 8.0 Oreo Stock ROM on Galaxy S7 ( 100% Working )

Arona67

Senior Member
Apr 21, 2012
125
78
28
Amlash
Hi . i see too many peoples have problem on rooting Android 8.0 Oreo Stock Rom on Galaxy S7 ( edge ) and they cant get passed from the verification field error ! ok its bcuz they do only 1 step wrong , here i just wanna tell you all the steps 1 by 1 to help you make it work .

ok first , if you wanna have a Rooted stock Oreo Rom , you need to factory reset your device , so backup everything you need then follow the steps :







1- Download Odin 3.13.1 -------- TWRP 3.2.3 Recovery -------- Android 8.0 Oreo Stock Rom -------- Magisk v 17.1 -------- no-verity-opt-encrypt-6.0 .



Copy Magisk v17.1 and no-verity-opt files into your SD card , or you can copy them after you installed TWRP using mount !





2- Go to Odin , and flash the Stock Rom oreo , BUT before you start go to Options and deselect F. reset time and Auto reboot .














3- when the Rom flash is done . just hold Power + volume down + home buttons to restart the phone . keep holding the buttons to return Download mode again !


NOTE : you have to reboot to download mode again after flashing Stock Rom . bcuz odin wont install TWRP and will stop on waiting for connection if you do flash TWRP right after flashing rom without reboot ! just after flashing ROM , do a reboot with device buttons and keep holding them to go straight to download mode again . then you can flash TWRP .







4- now go to Odin again and now Flash the TWRP recovery . before you start go to options and deselect F .reset time and Auto reboot .





5- now hold Power + Volume down + Home buttons , when your device screen goes off , fast switch the buttons to Power + Volume up + home to boot into TWRP recovry .





6- now go to Wipe and select Format Data . it will ask you to type yes . type yes and continue . you do this to remove encryption on your phone memory .


NOTE : Just select Format data . DON'T select advanced wipe or swip to factory reset . you have to select Format data and it will ask you to type "yes" . do it and go on .












7- now go to reboot and reboot to TWRP recovery again ! ( you have to reboot to recovery bcuz you cant reach /DATA when you do Format data )














8- now go to install , and install Magisk and no-Verity-opt .





9- now restart your phone normaly and let it boot up and do the first boot settings .





10 - thats it , now you can see Magisk on your apps list and your Stock Rom is rooted .






NOTE : for the guys that already installed Stock oreo Rom , they dont need to flash Rom again , they can skip Step 2 and 3 !




just do all the steps 1 by 1 as i said and it will work 100% . some guys cant make it work bcuz : 1 - they dont do Format Data before installing Magisk and they get "cant mount /data error" and verification field pops up . 2- they do format data after installing magisk !!!! thats crazy bcuz you just clear Magisk when you do format data after installing it .



i hope this guide be helpful for you guys . ;)
 

Attachments

Last edited:

audianer

Senior Member
Aug 16, 2015
426
113
73
Munich
Ist there any way to root without wipeing data?
Patching boot.img with Magisk dont work. I guess because of lz4...
 
Last edited:

nijhuz

New member
Oct 31, 2018
1
1
0
Hey hnegrao,

I've rooted my girlfriends Galaxy S7 Edge SM-G935F successfull with this instruction ;)
@Arona67 thank you very much for sharing this instruction and your effort!
There's a question left: Can I remove Magisk and TWRP after successfully rooting?

I'd like to note that I've only needed the root permissions to change the build.prop file entry ro.config.tima=1 to 0; That S-Health works in spite of increased knox counter.

Best Regards
 
  • Like
Reactions: Arona67

basstek1

Senior Member
May 16, 2010
62
6
0
unfortunately I have a problem with this walkthrough. when I want to upload twrp I have the message: custom binary (recovery) blocked by frp lock. I have the newest soft.
 

mayanks_098

Member
Oct 22, 2010
36
1
0
New Delhi
Hi. Many thanks for this.

I have to recover some data from my phone and for that I need root.

My question is, if I install TWRP, Format data, and then install Magisk, will it format the internal SD card? I mean will I still be able to recover those files or will they be gone? If they will be gone, it defeats the purpose of me rooting the phone.

EDIT: I have a G930W8 (Exynos)
 

Somar77

Member
Sep 22, 2018
10
1
3
Hi. Many thanks for this.

I have to recover some data from my phone and for that I need root.

My question is, if I install TWRP, Format data, and then install Magisk, will it format the internal SD card? I mean will I still be able to recover those files or will they be gone? If they will be gone, it defeats the purpose of me rooting the phone.

EDIT: I have a G930W8 (Exynos)
You will lose everything once you format the internal sd, better think twice.
 

corkie1

Senior Member
Apr 3, 2012
169
12
18
Great post, followed all the instructions and my s7 is now running android 8 fine. One issue I've had, when I try to encrypt the device from the Samsung settings it starts the process off reboots twice and then comes back with a failure message whereby you have to fully reset the phone again as per instructions at top of post. Any way to get encryption to work on this?

Thanks all
 

IzaacJ

Inactive Recognized Developer
Sep 2, 2008
688
91
0
31
Eskilstuna
izaacj.github.io
Same process does NOT work on the latest Oreo update.
Flashed rom
Flashed twrp
Formatted data
Rebooted to recovery
Installed no-verity-opt-encrypt-6.0.zip
Installed Magisk 17.3 (same result even if Magisk is skipped, tried w/o due to this issue)
Rebooted to system and letting it boot up
Rebooting straight to recovery, and still get unable to mount data due to encryption.
Something in the latest stock kernel seem to be circumventing the no-verity-opt-encrypt zip since it was working on the previous update.

EDIT: Got it working by following this post and using the remove-encryption.zip found in that thread (this post).
Still no idea why no-verity-opt-encrypt-6.0.zip didn't work even without Magisk.
 
Last edited: