Okay so I will try to explain it in detail...
This method is personally tested and always works for me. If it does not work for you make sure you followed every step correctly.
DISCLAIMER: I AM NOT RESPONSIBLE IF ANYTHING GOES WRONG (It will surely not if you follow everything correctly)
Now I will go step by step to what you need and how to set things up...Remember this method will work best if you do a factory reset, I can not grantee it to work with data not wiped.
Things Required:-Odin3.
-Stock Firmware for your device.
-A pc running windows.
-A usb cable.
-Custom recovery installed. (I recommend using philz touch it can be any cwm based).
-Some time.
-Brain.....
Procedure:- First of all download Odin 3 to your pc (windows) -
link here- Now extract the zip file to a folder somewhere on your pc.
- Now your first part is done.
- Now the second part is downloading the stock firmware for your phone.
- Download it from here -
Head here- Now head over to the above link.
- Scroll a little down and you will find a box telling search device here.
- Now enter your device code or name over there and now select the firmware which you want to download as your stock firmware.
- Cross check your device model number and the firmware for the region you are downloading and also carrier sometimes.
- After you are done downloading it extract the zip file to your pc.
- Now you will get a
tar.md5 file,
Do not extract it.- Now coming to your phone:- Boot into your custom recovery (if you don't have one google it how to install cwm on your device).
- Once you boot into the recovery go to wipe and format options (maybe something different for you just find something related to wipe and formatting).
- Now wipe/format system.
- Wipe Data.
- Wipe cache.
- Wipe Dalvik Cache.
- Wipe preload (If your recovery has a option)
- Factory Reset the phone.
-After the wiping part is done find something like power options and select the option of reboot to download mode.
- If you cant find the download mode option select power off.
- If you can not find that option too simply hold the power button for some while (if it doesn't work pull the battery).
-To boot the phone in download mode manually:
- Turn off your phone (to make sure you can pull of the battery)
- Now put the phone is download mode (Vol Down + Power + Home) this is the common key combination to boot your phone in download mode.
- When you will boot into download mode it will ask you to Do you want to continue press this key to continue, Now press that key.
- You are now booted into your download mode.
-Now on your pc now open the folder where you extracted Odin zip file.
- Now run odin.exe as admin.
- Do not touch any of the options let it be as it is.
- now click on PDA option.
- It will ask you to select your file that you downloaded (tar.md5 -stock firmware).
- It may freeze for a while give it some time it will be okay.
- Now keeping your phone in download mode connect your phone with USB cable.
- Now the text box on the bottom left corner of odin should say added.
- This means your phone has been detected.
- If it doesnt show added make sure you have kies installed and is not running in background - in short you need the USB drivers -
link here- Now after everything is cleared and it shows added without changing any setting press START.
- It should now start the flashing process it will take about 10-15 mins. Do not interrupt it.
- After the flashing part is over the phone will reboot itself.
- The first boot can take upto 10 mins, if it takes more than 15 mins it meaans something is wrong so start the process again.
- After the boot you have the Knox Counter set to 0x0.
- You now have your warranty restored.If you want a tutorial/guide on how to root phone without tripping knox (0x1), just post it in the comments and I will make a tutorial for that too.
Hope this helped. If it didn't work in the first try make sure you have wiped system, data, preload, cache, dalvik cache etc..
Hit thanks if it helped and If think it helped but me a cup off coffee.Credits:Samsung
Odin Developer
Me (Ofcourse)
You.Again Hit thanks and donate if it helped.