How to Unroot a Galaxy S7 & S7 Edge, Safety Procedures to Return Back to Stock Firmware

If you have a rooted or a modified Galaxy S7 or Galaxy S7 Edge but only causing nothing but problems, this time you might need to return it back to stock so it will work perfectly again. This process will only takes a little time and an effort without any hiccups, as long as you'll knew the proper way on how to do it. The method is simple, you may only need the specified stock firmware for your Galaxy S7 or Galaxy S7 Edge variant.

Also, this method will not only unroot and restores back a Galaxy S7 or S7 Edge to stock but also it is the same process for fixing unwanted soft-bricks such as bootloop, phone keeps on rebooting again and again, and or sometimes the phone may just stuck on the Samsung logo.






Step by Step Procedures on How to Unroot and Return Back a Galaxy S7 or S7 Edge to Stock

Check the model number of your Galaxy S7 or Galaxy S7 Edge

First up, check and confirm your Galaxy S7 or S7 edge model numbers. You must get the exact  model number of your Galaxy S7 or S7 edge or otherwise you might repeat the process again and again. Your phone might have been bought from a 3rd-party stores and had been technically unlocked so it will work to any network provider’s SIM-card.


To check and confirm your Galaxy S7 or S7 edge model number,  just simply tap thru the phone’s settings. From Home screen > tap Apps > Settings > About device > along with the system info look for the Model number.




Galaxy S7 and S7 edge model numbers and its corresponding carriers, country or region.
Galaxy S7 model numbersGalaxy S7 edge model numbersCarrier/Country
SM-G930ASM-G935AAT&T  USA
SM-G930PSM-G935PSprint  USA
SM-G930TSM-G935TT-Mobile  USA
SM-G930VSM-G935VVerizon  USA
SM-G930R4SM-G935R4US Cellular USA
SM-G930USM-G935UUS unlocked version USA
SM-G930FSM-G935FInternational - Europe, Asia Pacific, Middle East, Latin America
SM-G930W8SM-G935W8Bell, Telus, Rogers, and all Canadian carriers - Canada
SM-G930L
SM-G930K,
SM-G930S
SM-G935L
SM-G935K
SM-G935S
South Korea
SM-G9300SM-G9350Hong Kong, China

Select the  Firmware version Carefully

Second, you may need to find the exactly the same stock firmware for your Galaxy S7 or S7 edge. Stock firmware comes in different build version and varies accordingly to each Galaxy S7 and S7 edge model number. Choosing the right build version is also an important part of this process since you cannot just flash the specified firmware for each model variant to another. One more thing,  an old and outdated stock firmware cannot be use to downgrade the device. Doing so will more than likely causes some problem.


I also highly recommend to use the latest "OTA" updates stock firmware only, so it will be easier for you and you'll never get into trouble while returning back to stock. You must be aware that you can no longer downgrade and roll back to an older firmware.

Download the stock firmware of each specified Galaxy S7  or S7 edge model number in the table below:


Galaxy S7




Galaxy S7 Edge


SM-G930A firmwareSM-G935A firmware
SM-G930F firmwareSM-G935F firmware
SM-G930P firmwareSM-G935P firmware
SM-G930T firmwareSM-G935T firmware
SM-G930U firmwareSM-G935U  firmware
SM-G930V firmwareSM-G935V  firmware
SM-G930W8 firmwareSM-G935W8 firmware






Preparations: 


  1. Fully recharge your Galaxy S7 or S7 edge first.
  2. Make a backup of the data from your phone's internal SDcard, including contacts, pictures, videos and other files and save it to your computer or laptop.
  3. TURN OFF the Secure start up mode. On your phone, go into Settings > Lock screen and security. Make sure that "Secure startup" is off/disabled.
  4. Enable USB debugging mode. On your phone, go to Settings >  About device > scroll down to the Build number and then tap it for around 7-times until a message pops up that says something like “congratulations you are now a developer”. Tap back and then tap on Developer options and then scroll down to USB debugging. Tap to enable USB debugging.
  5. Prepare a Microsoft Windows base computer or laptop.
  6. Use the supplied USB data cable of you Galaxy S7 or S7 edge. A bad USB data cable may cause flashing errors.
  7. Remove the external micro SD card, if you have one, to avoid any failure and errors during the flashing process. Some rouge 3rd-party apps stored on SD card may also cause some problem.
  8. Close any other running programs in your computer to which sometimes causes issues with Odin3 downloader.


Download the following tools:  Odin3_v3.12.3 and the Samsung_Mobile_Phone_USB_driver

1: Install the USB Driver and Extract the downloaded Stock Firmware

Install the USB Driver first to get rid of flashing failures. Also need to extract or unzip the downloaded firmware file which is packed in zip format, so that you’ll get the “tarball” to make it a odin flashable file.




2: Run and Configure Odin

Run Odin downloader Odin3_v3.12.3 on your PC. Watch out the check-boxes options on the right top of Odin, ensure that the ‘RE-PARTITION’ is unchecked, only the ‘AUTO-REBOOT and ‘F.RESET TIME’ checkboxes are both remained checked by default.

3. Reboot your Galaxy S7 or S7 edge into Download Mode


To reboot the Galaxy S7 or S7 edge into download mode, all you need is turn it OFF first. Once its completely shut down, just press and hold the Volume Down, Home and the Power ON/OFF button simultaneously.

You should then prompted into a warning screen while asking you to press volume up if you want to continue or volume down to cancel, just simply press volume up to get into download mode. The download mode then displays an Android robot and say’s “Downloading.. Do not turn off target!!”

4. Connect the Galaxy S7 or S7 edge in your computer.


Once you already rebooted the phone into download mode, simply connect the phone to your PC.

In Odin window – the ID:COM box will turn to blueish color and it also indicates the USB's port number where it is being connected on your PC. There is also a word prompts that says “Added” in Odin3's  log box.

5. Set and load and the binary .tar.md5 file


The stock firmware comes in four binary formats. The BL means Bootloader, while the AP means Phone, CP means Modem, and CSC means consumer specification code.

Now all you need to do is load each corresponding binary files on Odin3's BL, AP, CP, and CSC designated buttons.


Click on the BL button then load the binary file that says something like:

"BL_G930UUEU2APG9_CL8718973_QB10465573_REV02_user_low_ship_MULTI_CERT.tar"


Click on the AP button then load the binary file that says something like:

"AP_G930UUEU2APG9_CL8718973_QB10465573_REV02_user_low_ship_MULTI_CERT_meta.tar"


Click on the CP button then load the binary file that also says something like:

"CP_G930UUEU2APG9_CL8718973_QB10465573_REV02_user_low_ship_MULTI_CERT.tar"


Click on the CSC button then load the binary file that also says something like either:

"CSC_OYM_G930UOYM2APG9_CL8718973_QB10465573_REV02_user_low_ship_MULTI_CERT.tar" or

"HOME_CSC_OYM_G930UOYM2APG9_CL8718973_QB10465573_REV02_user_low_ship_MULTI_CERT.tar"






Note: The HOME_CSC will not wipe the users data while the default CSC will remove all of the users data. But sometimes both may actually deletes the user data since each stock firmware builds varies regularly. So just make sure to have a back up all of your data first, just in-case if you do not know if it's a full-wipe or none-wipe version.

6. Begin Flashing the stock firmware


Once if all set and ready to fire-up, hit the “START” button in Odin to begin flashing the stock ROM.

Do not ever interrupt the phone while already in flashing progress, like disconnecting the cable or turning off the device. Just wait until it completely finish.

7. Wait until Odin3 throws the message PASS!!


When the Stock ROM installation successfully completes, you will then see a word “PASS” in Odin. This indicates that the flashing was already finish, and on the log box it says “All threads completed. (succeed 1 / failed 0)”. The phone will just then automatically reboot, then it’s time to remove it from PC or laptop USB connection.


8. Confirm if your Galaxy S7 or S7 edge has restored to official firmware


You may then confirm that freshly installed firmware by going to Settings > About device,and check the whole firmware info.

9. Perform Wipe data / Factory reset method in recovery mode.


This process is very useful if you want to achieve a fresher and a very clean firmware installation, as it helps to get rid of any lag issues.

1. Press and hold Volume Up, Home and Power button.

2. Use volume keys to select and Power or the Home key to select the option.

3. Select Wipe Data/Factory Reset using the Home button.

4. Next select the Wipe Cache Partition.

5. Lastly, select Reboot System Now to reboot your phone to its normal mode.

Troubleshoot Odin "Failed!" Error:

Possible errors that you might have encountered, this is based on my own experience while flashing stock firmware on almost all Samsung Android devices. These are just a few hints on how to easily fix any issues.


Question: I got an error message that says “Set-up connection Failed” ?

Answer:
1. Check your USB connection from the phone to PC,

2. Connect to another PC USB port

3. Check and try to another USB cable

4. Re-install the USB driver.

Question: Odin just suddenly stuck in the middle of nowhere while in flashing progress, it isn’t responding at all?

Answer: Recheck again and see to to it that you are using the right combination of stock firmware for your phone. You might also have tried to roll back from the new version to an the old ones. Keep in mind that installing an old and outdated stock firmware are more than likely where you hit the problem. Also, check for possible program that might interrupt the process, closing any running programs may also resolve the issue. Lastly, try to use another PC or laptop if the problem continues.
Edit