When you root your own Samsung Galaxy S7, you will probably lose the potential for getting OTA update in the future. For that reason, once rooting your galaxy s7, you will only manually install the official up-dates by using Odin. If you want to restore your Samsung S7 to the factory setting in to get OTA update as previously, you need to unroot your device. To unroot Galaxy S7, follow these guide.
Step by Step to Unroot Galaxy S7
Samsung Galaxy S7 any model numbers
USB data cable
Steps to Unroot Your Samsung S7
Download Odin and install the program on your compuuter. For download Odin go here.
Go here and download the correct firmware file for your Galaxy S7. (Make sure that the firmware is same with your Galaxy S7 version).
Save the file on your computer and unzip the stock firmware and you will find the actual stock firmware file ending with “tar.md5″.
Download and install the Samsung USB Drivers for Mobile Phones by going here.
Enter your smartphone in download mode (with the device turned off press ‘Power+Volume Down+Home’ to enter Download Mode).
Connect your device to the PC with the USB cable.
Right click on Odin 3.09 and click on ‘run as administrator’.
This is how it should look like (don’t mind the arrows just yet):
There is a section called ID:COM (on the left upper side of the window). The blank space underneath it will turn blue if your device is recognized. (If the phone is not recognized make sure you have installed the USB Drivers).
Click on ‘AP’ and add the .tar.md5 file from the firmware archive.
IMPORTANT! Do not place anything under the PIT section and make sure that “re-partition”is not checked. (On the left side you will see Re-partition under the Option tab).
When the firmware file is loaded you can press START to being the installation.
Don’t touch the USB cable while the firmware is being flashed.
At the end you will see a message saying ‘PASS” on a green background. This means that the installation is done. The device should reboot and run on the stock ROM.
Be very careful while you go through this process. Make sure you understand all the risks and that you know all the steps before installing a Samsung firmware using Odin.
Note: That after the last reboot your phone might get stuck in a boot loop. For resolving this issue you will have to access recovery mode on your Galaxy S7. From recovery you also have to make a hard reset (select “wipe data factory reset”) and clear cache (pick “wipe cache partition”). Similar, if Odin gets stuck, close it, force restart your phone, reinstall USB drivers on your computer and repeat the unroot process from above.