How to revert back to stock Sprint firmware (Galaxy S7) after installing the wrong one?
First of all download the stock firmware for your Samsung Galaxy S7(G930P - Sprint) from here. But you need to create an account on sammobile website for free by clicking on "Regular Download" button.

To Install the stock Firmware follow the steps below


Extract (unzip) the firmware file
Download Odin v3.11.1
Extract Odin ZIP file
Open Odin v3.11.1
Reboot Phone in Download Mode (press and hold Home + Power + Volume Down buttons)
Connect phone and wait until you get a blue sign in Odin
Add the firmware file to AP / PDA
Make sure re-partition is NOT ticked
Click the start button, sit back and wait few minutes


Link to Download Firmware: Galaxy S7 Stock Firmware