Basic guide to Installing TWRP, Root and ROM via ODIN on S7 amd S7 edge

Owenboy89

Senior Member
Sep 1, 2017
98
24
8
Hey everyone.


I have recently rooted and installed the Pixel experience 9 custom ROM on my S7 edge.
Even though I am confident in Installing ROMs and using TWRP I always like to have a check on the net to see the best way of doing stuff. When checking I found that there were so many different guides that the process became more confusing than it needed to be and it caused issues when I was trying install the ROM.
So I have decided to write out a guide to help everyone in the future.

Note. I am in UK using a Exynos version of the S7 edge. I believe there is a complication with the USA Snapdragon version.

Also this is done at your own risk and I am not responsible for any damage, errors or bricked devices. This will also void the warranty of your device.

What will you need
1. A computer with a SD card slot (if you don't have a slot you can usb a usb adaptor)
2. The latest version of ODIN
3. Your chosen ROM zip
4. Magisk Root zip
5. The correct TWRP file for your S7 or S7 edge
6.The latest version of your Stock firmware (this is in case something goes wrong)
7. A spare micro SD card with SD card adaptor
8. Micro USB cable (charging cable usually does the job)
9. Samsung Device drivers


This guide will be split in to 4 parts with some additional notes at the end.

Part 1- on your PC
Part 2- on your mobile
Part 3- In ODIN mode
Part 4- In TWRP







On your PC
1. Download and install the latest version of ODIN to your PC. https://samsungodin.com/

2. Download and install the Samsung Device drivers.

3. Download the correct TWRP version for your phone. https://twrp.me/

4. Now Download your root file, I used to Magisk root but there is super SU as well. I was told that Super SU is dated compared to Magisk.
https://www.xda-developers.com/magisk-v17-1-android-pie-a-b-support/

5. Now download your chosen ROM. There is lots of different ROMs for the S7 and S7 edge. In my case I decided to go with Pixel experience 9, it's basically a Pixel 3 ROM that runs Android P but it's up to you.

6. Go to Sammobile and download the stock Firmware for your device. The download takes ages so I would just leave this download in the background and continue to the next step (You shouldn't need this file but you will need it something goes wrong)
https://www.sammobile.com/firmwares/

7. Put your micro SD into your adaptor then insert into your PC into your SD card slot, then copy the ROM Download and the Root download SD card to the card.

8. Open ODIN and put the TWRP file on the AP section, then uncheck re-partition.


On Your Phone.

1. Before plugging up to the PC there are something to do first. The first thing to do is enter developer options by taping build number 7 times. Then check USB debugging and then check OEM unlocking.

2. Back up your data with Samsung backup and Google backup, both found in the settings.

3. If you already have a SD card inside your phone remove it and put it somewhere safe.

4. Power off your device and Boot in to ODIN mode (volume down, home button and power at the sametime)


In ODIN mode (READ THIS CAREFULLY)

1. BEFORE pressing start on your computer, hold volume up and home button.

2. Now press start on the computer, keep your fingers on the volume button up button and home button. Let the PC and Phone start it's process.

3. The moment the phone screen goes black. Press and hold the power but while keeping your fingers on the volume up and home button.

4. Keep all the buttons held down (volume up, home button and power button) till you see the TWRP screen boot.


In TWRP.

1. Once TWRP boots you will see a screen it will say "swipe to allow modifications" DON'T swipe just press "read only"

2. Press wipe and then press format data. Once the wipe is complete DO NOT swipe to reboot. (You will get yourself stuck in a boot loop) press the TWRP home icon instead.

3. Press Reboot then press recovery this will complete the installation of TWRP (if you press anything else you will get stuck in a boot loop)

4. Allow TWRP to reboot. You will be presented with the "swipe allow modifications" check the do not show again box and swipe.

5. Now insert your Micro SD card with the downloaded files.

6. Press wipe, then press advanced and check cashe and
dalvik cashe. Then Press TWRP Home icon

7. Press install and navigate to SD card. Then press the on the Magisk file and swipe, allow the process to finish and press wipe cache and Dalvik cashe.


8. Press TWRP home icon and press install and navigate back to SD card. Then press your ROM file and swipe again. Once it's finished press wipe cashe and Dalvik cashe. Then swipe to reboot.

9. Re-insert your memo card you were using before. (Not the one with the downloads on, the one with your photos and music and stuff)

10. BOOM your done. Happy days with your new ROM.



Few last things

the ROM I installed had G-apps preinstalled with the ROM, but if your ROM has no G-apps then once you booted, download G-apps from your ROMs browser and flash them with TWRP.

If you get stuck in a boot loop use your stock firmware file and Odin to reinstall the stock firmware and try the whole process again.

This method uses SD card to install the files in TWRP but I believe you can just copy the files via your PC directly to your phone at point 5 in the TWRP part of the guide. I had a spare card so I used a card.

The principal of this guide can be applied to other Samsung devices but newer device then the S7 and S7 edge have more factors to take note of, so some research will be required.

Remember

this is done at your own risk and I am not responsible for any damage, errors or bricked devices. This will also void the warranty of your device.


Hope this guide works well for you.
 

Owenboy89

Senior Member
Sep 1, 2017
98
24
8
Is the "no verty" not required to remove encryption?
I don't think this was a big issue with S7E but I know the S8 and onwards have extra encryption protection and 24 hour jailbait locks.

I have rooted my S7E a few times and it's never been an issue for me.

Sometimes the USA Snapdragon versions have extra encryption as well.
 

ctbale

Member
Apr 24, 2015
18
0
0
Thanks for reply.

In a few days I will try to root.

Fingers Crossed!

( I do have the Exynos S7 Edge G935F)

Also have a newer stock Oreo 8.0.0, unrooted. Thats the part I hear is giving people problems. Something about after flashing TWRP you get a fail to mount the data partition .... or something like that. Something to do with quotas
 
Last edited:

Owenboy89

Senior Member
Sep 1, 2017
98
24
8
I wonder why most people use odin.
The official lineage OS installation instruction recommends heimdell. https://wiki.lineageos.org/devices/hero2lte/install

So what is the difference ? Heimdell vs odin
ODIN is made by Samsung developers and Hiemdell is a 3rd party option. They both do the same thing but some say that Heimdell is safer, easier and faster.

Personally I use Odin because I have got used to it and it has never let me down.

I mostly use it to install Stock UK firmware on cheaper Samsung phones that are from overseas.
 

psylooooo

Senior Member
May 11, 2010
476
128
0
Argelès/mer
Hello,
Thanks for your guide but I think there are too much steps, you can do it easier.

You can keep your sd card in the phone to transfer the ROM and magisk.
You can uncheck reboot in Odin instead doing this hard combination of "keep pressing volume up and power + press start on your computer at the same time", or let reboot checked, pressing start and keep pressing power+home+volume up when the screen turning off.

Even if you're in a bootloop, you can go back in recovery by forcing the phone to reboot (power+home+volume down) and when you see the Samsung logo (splahscreen) you keep pressing power+home+volume up until you see twrp screen appears.

Sorry men, it's not against you or your guide but to help beginners, we are always scared when we see a long and complicate list of steps, especially when we don't know.
But it's nice to share the links of the necessary tools to avoid searching everywhere :good:

And don't worry guys, if you do something wrong you can easily restore the stock firmware, it's very hard to brick a Samsung device, just be sure to get the last version of TWRP for the good model and the ROM corresponding to this model too.
I flashed my S7Edge the day I bought it without stress, take your time, read the tutorials and try to understand what you are going to do before doing it and all will be fine.

The simple version (IDK if it's better) is :

1 : Install Samsung drivers
2 : Copy ROM + magisk + noverity zips on sdcard
3 : Go into download mode (Power off phone and keep pressing power+home+volume down until the blue screen and follow the steps on the screen)
4 : Open Odin (last version), connect your phone to the computer, uncheck reboot box and flash TWRP on AP case
5 : Reboot on TWRP (keep pressing power+home+volume down until you see Samsung logo, and directly keep pressing power+home+volume up until you see TWRP screen)
6 : Wipe everything except sdcard + format data + (optionally) flash noverity zip
7 : Flash the ROM
8 : Reboot to system, configure the rom and wait some minutes to let the ROM create dalvik cache.
9 : Reboot normally and wait some minutes.
10 : Reboot to TWRP
11 : Flash Magisk zip (IMPORTANT ! Don't Flash Magisk just after the ROM, first boot on the ROM without root and reboot one time at least before to avoid lags in the system due to dalvik cache ! Steps 7 and 8)
12 : Reboot to system and install magisk manager apk
13 : I'm not superstitious but there is not step 13, you are done, enjoy !

Don't forget, don't flash Magisk directly after the ROM or you'll get a laggy ROM.
Just boot without flashing magisk and let the ROM doing his work in background during some minutes (5 to 10 minutes should be good), and do another reboot.
After that you can flash Magisk.

Use links shared by the creator of this topic, they are the officials. :victory:
 
Last edited:
  • Like
Reactions: Owenboy89 and cebu

Owenboy89

Senior Member
Sep 1, 2017
98
24
8
Hello,
Thanks for your guide but I think there are too much steps, you can do it easier.

You can keep your sd card in the phone to transfer the ROM and magisk.
You can uncheck reboot in Odin instead doing this hard combination of "keep pressing volume up and power + press start on your computer at the same time", or let reboot checked, pressing start and keep pressing power+home+volume up when the screen turning off.

Even if you're in a bootloop, you can go back in recovery by forcing the phone to reboot (power+home+volume down) and when you see the Samsung logo (splahscreen) you keep pressing power+home+volume up until you see twrp screen appears.

Sorry men, it's not against you or your guide but to help beginners, we are always scared when we see a long and complicate list of steps, especially when we don't know.
But it's nice to share the links of the necessary tools to avoid searching everywhere :good:

And don't worry guys, if you do something wrong you can easily restore the stock firmware, it's very hard to brick a Samsung device, just be sure to get the last version of TWRP for the good model and the ROM corresponding to this model too.
I flashed my S7Edge the day I bought it without stress, take your time, read the tutorials and try to understand what you are going to do before doing it and all will be fine.

The simple version (IDK if it's better) is :

1 : Install Samsung drivers
2 : Copy ROM + magisk + noverity zips on sdcard
3 : Go into download mode (Power off phone and keep pressing power+home+volume down until the blue screen and follow the steps on the screen)
4 : Open Odin (last version), connect your phone to the computer, uncheck reboot box and flash TWRP on AP case
5 : Reboot on TWRP (keep pressing power+home+volume down until you see Samsung logo, and directly keep pressing power+home+volume up until you see TWRP screen)
6 : Wipe everything except sdcard + format data + (optionally) flash noverity zip
7 : Flash the ROM
8 : Reboot to system, configure the rom and wait some minutes to let the ROM create dalvik cache.
9 : Reboot normally and wait some minutes.
10 : Reboot to TWRP
11 : Flash Magisk zip (IMPORTANT ! Don't Flash Magisk just after the ROM, first boot on the ROM without root and reboot one time at least before to avoid lags in the system due to dalvik cache ! Steps 7 and 8)
12 : Reboot to system and install magisk manager apk
13 : I'm not superstitious but there is not step 13, you are done, enjoy !

Don't forget, don't flash Magisk directly after the ROM or you'll get a laggy ROM.
Just boot without flashing magisk and let the ROM doing his work in background during some minutes (5 to 10 minutes should be good), and do another reboot.
After that you can flash Magisk.

Use links shared by the creator of this topic, they are the officials. :victory:
Cheers for helping my out, my guide has a lot of steps as I literally wrote what I did every step.

I was going for a guide that spelt out every single detail for the less experienced people. I glad to see you approve of my links. :)

Great guide though, great that both guides can complement each others.
 
  • Like
Reactions: psylooooo

psylooooo

Senior Member
May 11, 2010
476
128
0
Argelès/mer
Cheers for helping my out, my guide has a lot of steps as I literally wrote what I did every step.

I was going for a guide that spelt out every single detail for the less experienced people. I glad to see you approve of my links. :)

Great guide though, great that both guides can complement each others.
You are right ! And your guide is more complete than mine, I don't talk about going into developers options to enable oem unlock etc, I wrote this too fast and too late :laugh:
 

Owenboy89

Senior Member
Sep 1, 2017
98
24
8
Hey are you sure it doesn't work for snapdragon?
You can use this method for Snapdragon, but Snapdragon phones in certain regions have a built jailbreak that can complicate things. There are ways around it but as I am in a region that sell exynos then i have no experience with the Snapdragon Variant. ?
 

1337-oxide

Member
Jan 16, 2016
18
1
0
hey when i try flash galaxy s7edge sm-g935f with twrp when i go into recovery it red screen what am i doing wrong cheers inadvance
3 time flashing stock grrrrrrrrr
 

Owenboy89

Senior Member
Sep 1, 2017
98
24
8
hey when i try flash galaxy s7edge sm-g935f with twrp when i go into recovery it red screen what am i doing wrong cheers inadvance
3 time flashing stock grrrrrrrrr
When you booted into recovery the for the first time after installing it, did you wipe all your data??

Then go into reset and pressed reset to recovery???
 

1337-oxide

Member
Jan 16, 2016
18
1
0
When you booted into recovery the for the first time after installing it, did you wipe all your data??

Then go into reset and pressed reset to recovery???
i got twrp and root know ressuruction remix giving me error 7 i think what does that mean
cheers

---------- Post added at 04:40 PM ---------- Previous post was at 04:35 PM ----------

sorry but know i lost twrp what am i doing wrong SM-G935F s7edge
 

1337-oxide

Member
Jan 16, 2016
18
1
0
is anyone going to help me or u just like the other sites dont reply i need this info asap its only reason i rooted was to use custom rom oh also turmux
 

Owenboy89

Senior Member
Sep 1, 2017
98
24
8
Hey

Sorry I have been busy.

Best option is to flash the firmware and start again. Follow the steps of original comment.

Remember when you boot in to TWRP straight after installing it...then wipe all your data then press reboot and reboot back into RECOVERY....once your done this you have completed the install of TWRP.

Once that is all done....wipe your cashe davalik data and then insert your memory card with the custom Rom and Magisk root inside. Install Magisk first...then the ROM.

Once this is done wipe cashe/davalik data once more and reboot, your custom ROM should load up...once the ROM loads install the Magisk root manager and latest update for the root.

Other things to check have you installed the correct TWRP and correct custom Rom for your device.

Also check your customs ROM feed on XDA to see if anyone has issued like this on there as well, if so there might be specific answer to your issue there.

Hope this helps sorry for the delay
 

heavenfast

New member
Aug 29, 2017
1
0
0
www.glowpc.com
How can you switch back to root version of rom for Samsung Galaxy S7 Edge

You can install original ROM / firmware of Samsung Galaxy S7 Edge follow these simple steps :
1. Download and install the latest SamsungOdin 3 software
2. Now download ROM of S7 edge from sammobile.com .
3. Switch off your phone and connect your phone with PC using data cable.
4. Press Power+Vol down and home key together.
5. Now select recovery from your phone boost setup.
6. Open the Odin and select your phone and browse the ROM file.
7. Now press install ROM. Almost done!
8. Wait to complete installation it may take 10 - 15 minutes.
9. Enjoy!
 

CitizenSmith

Member
Jan 10, 2021
28
0
1
Hello,
Thanks for your guide but I think there are too much steps, you can do it easier.

You can keep your sd card in the phone to transfer the ROM and magisk.
You can uncheck reboot in Odin instead doing this hard combination of "keep pressing volume up and power + press start on your computer at the same time", or let reboot checked, pressing start and keep pressing power+home+volume up when the screen turning off.

Even if you're in a bootloop, you can go back in recovery by forcing the phone to reboot (power+home+volume down) and when you see the Samsung logo (splahscreen) you keep pressing power+home+volume up until you see twrp screen appears.

Sorry men, it's not against you or your guide but to help beginners, we are always scared when we see a long and complicate list of steps, especially when we don't know.
But it's nice to share the links of the necessary tools to avoid searching everywhere :good:

And don't worry guys, if you do something wrong you can easily restore the stock firmware, it's very hard to brick a Samsung device, just be sure to get the last version of TWRP for the good model and the ROM corresponding to this model too.
I flashed my S7Edge the day I bought it without stress, take your time, read the tutorials and try to understand what you are going to do before doing it and all will be fine.

The simple version (IDK if it's better) is :

1 : Install Samsung drivers
2 : Copy ROM + magisk + noverity zips on sdcard
3 : Go into download mode (Power off phone and keep pressing power+home+volume down until the blue screen and follow the steps on the screen)
4 : Open Odin (last version), connect your phone to the computer, uncheck reboot box and flash TWRP on AP case
5 : Reboot on TWRP (keep pressing power+home+volume down until you see Samsung logo, and directly keep pressing power+home+volume up until you see TWRP screen)
6 : Wipe everything except sdcard + format data + (optionally) flash noverity zip
7 : Flash the ROM
8 : Reboot to system, configure the rom and wait some minutes to let the ROM create dalvik cache.
9 : Reboot normally and wait some minutes.
10 : Reboot to TWRP
11 : Flash Magisk zip (IMPORTANT ! Don't Flash Magisk just after the ROM, first boot on the ROM without root and reboot one time at least before to avoid lags in the system due to dalvik cache ! Steps 7 and 8)
12 : Reboot to system and install magisk manager apk
13 : I'm not superstitious but there is not step 13, you are done, enjoy !

Don't forget, don't flash Magisk directly after the ROM or you'll get a laggy ROM.
Just boot without flashing magisk and let the ROM doing his work in background during some minutes (5 to 10 minutes should be good), and do another reboot.
After that you can flash Magisk.

Use links shared by the creator of this topic, they are the officials. :victory:
Your certainly not wrong there. confusing isn't the word I would choose more like frustrating to hell. I'm new to this and I can't even get out the starting gate lol every time I move one step forward I move two steps back and that's no joke.
I can't read any more tutorials there coming out my ears it's just adding to the confusion I'm completely lost now. can't even pick a custom rom that's a headache for another time I was just wanting to root the phone but was told stock roms are temperamental and custom roms was the way forward. all I keep reading is tutorials telling you to down load files but never a mentioning once if they should be in zip format as downloaded or unpacked? then providing links to other files taht are in apk file! like Magisk. but continue to about the file as though it were a zip! as noob it's frustrating to keep asking for help and every key stroke at least for me anyway you feel like a pain in the rear! so for now I'm throwing in the towel at least I know one thing that works. giving up lol.