I've done some messing around with root and I want to just restore my galaxy s4 to how it was when I first got it. I've done "factory resets" but all it does is wipe data. I need to restore my system to get everything back in order. It's not that I want to get back to jellybean or anything, although that would be fine, I just want to ACTUALLY factory reset and not just wipe data. I need to do this to upgrade to lollipop and I don't want to flash software. Thanks so much

1 Answer 1


You must be referring to a firmware reflash. Keep in mind that this is a dangerous process if you're not sure what you're doing; so if you do choose to continue, follow these instructions to the letter. Oh, and I'm assuming you're using Windows.

  1. Download Odin from here, and install the Samsung ODIN drivers from here.
  2. Type *#1234# in your phone dialer and take note of the CSC value. If SuperSU appears instead, reboot to stock recovery and take note of the CSC value. If you're using a custom recovery, you should now try to recall where you bought your S4 and whether you bought it unlocked or not.
  3. Now that you have your phone's region, head over to SamMobile and search for your phone's model number. When the list of available firmwares appears, look for the listing that matches your CSC or whatever info you have about your phone's place of purchase.
  4. Download the firmware once you've found it. If the download comes as a ZIP or a RAR, extract it so you're left with a .tar.md5 file.
  5. Switch your phone completely off. Now, press and hold Home + Volume Down + Power and hit Volume Up when your phone asks you if you're sure.

Here comes the part where you should really be praying that nothing bad happens. Any mistake from here might turn your phone into a nice expensive doorstop!

  1. Open Odin. Click the AP button if you downloaded Odin 3.09+, or the PDA button otherwise. Now, browse to and select the .tar.md5 file you downloaded.
  2. Open up Task Manager (Ctrl + Shift + Esc) and make sure no processes related to Samsung Kies, such as Kies.exe or KiesTrayAgent.exe, are running. Close them as necessary.
  3. Uncheck everything except Auto Reboot and F. Reset Time. Now, connect your phone thru USB and wait for a blue box to appear in ODIN. Say your prayers now, then hit Start.

After a few minutes, the firmware reflash should be done and your phone start to boot up. Don't worry if it takes too long to boot, this is usually normal if you didn't do anything wrong.

  • This worked out great although I did have to extract the archive once I downloaded it because it came as a .rar
    – user65909
    Apr 18, 2015 at 4:26
  • Oh, sorry about that! Will update my answer.
    – dantis
    Apr 18, 2015 at 6:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .