Here is a full guide on how to unroot and back to official stock firmware for Galaxy S4 GT-I9500 & GT-I9505. It is useful also if you soft brick your phone
!!!DONT TRY FIRMWARES IN SECOND AND THIRD POSTS ON OTHER VARIANTS!!!
Do it on your own responsibility! if you follow this guide properly u will be on the safe side 
Before we proceed, make sure:
1-You have installed your Samsung Galaxy S4 GT-I9500/5 USB drivers on your PC (the easiest way is to install Kies).
2-You need to enable USB debugging mode which is deactivated by default. (you can skip it
3-Your S4 should have 70-80% charge remaining.
4-Your S4 should be factory unlocked. (for locked phone, flash carrier firmware to stay on warranty)
5-Backup your important data like Call logs, SMS and other data stored in phone memory in case if anything goes wrong, your data is not hurt.
6-Make sure that kies program is not running & disable antivirus.
This guide is only for Galaxy S4 GT-I9500 & GT-I9505. So don’t bother to try it on other devices.
How to do it:
Step 1) Turn OFF your mobile and go to Download Mode by pressing and holding the Volume Down + Home Buttons together for few seconds followed by Power button then proceed with volume up.
Step 2) Now open ODIN on your PC and connect your Galaxy S4 to your computer.
Step 3) Once your phone is successfully connected to your PC, the ID:COM box on ODIN will turn blue (or yellow) and will show the COM port number.
Step 4) unzip the downlowded file (from second or third post), u will get a Home.tar file.
Step 5) click on pda (in odin) and choose the file "Home.tar"
Step 6) check "Auto Reboot" and "F. Reset Time" options and make sure that "Re-Partition" is unchecked
Step 7) Click on Start button in ODIN window to start the flashing process. The process will take few minutes to complete.
DO NOT UNPLUG USB CABLE WHILE EXECUTING THE PROCESS, YOU MAY BRICK YOUR PHONE!
Step 8) When the installation is completed, you read a "Reset " then a "Pass". your phone will restart (first boot will take a longer time so don't panic)
Note 1: If you have a corrupted partition table (Odin says: "there is no pit partition" or "Re-Partition operation failed"), flash pit file for your device (attached, dont forget to unzip it) (put it in pit window) with your firmware, in this case "Re-Partition" must be marked.
Note 2: If you want, after rooting with odin ,to get official status and reset binary counter ON I9505 for warranty reason, do it before flashing stock firmware, refer to HERE.
Note 3: To change CSC please see This
It is recommended to make hard reset after flashing to have a fresh official firmware
Download Links:
Don't forget to press THANKS & RATING buttons!
Galaxy Nexus I9250: Gnex Tips & Tricks //// Odin/Back to stock 4.2.2
Galaxy S4 I9500/5: Unroot, Back to stock
Galaxy SIII Mini I8190: Unroot, Back to stock
Galaxy Young S5360: Young Tips & Tricks
Galaxy Ace Plus S7500: Unroot, Back to stock
Galaxy S4 I9500/5: Unroot, Back to stock
Galaxy SIII Mini I8190: Unroot, Back to stock
Galaxy Young S5360: Young Tips & Tricks
Galaxy Ace Plus S7500: Unroot, Back to stock
Post a Comment