sodcalculator

10 Tech How-To

How to Unroot Samsung Galaxy Pocket (GT-S5300)

Guide 10-46582 · Updated · Step by step

If you rooted your Samsung Galaxy Pocket (GT-S5300) to gain extra control and later decided you want to restore it to its original factory state, unrooting is the solution. This removes root access and reinstates the stock boot image and recovery, which is required for receiving official over-the-air (OTA) updates and for warranty claims. Before you begin, back up any important data, as the process may wipe your device. Also ensure your battery is charged above 50% to avoid interruption.

What You’ll Need

  • A Windows PC (for Odin flashing) or a Mac/Linux PC (for Heimdall).
  • The original USB cable for your Galaxy Pocket.
  • The stock firmware file (PDA) for your specific region. This is usually a .tar.md5 file. You can find it on sites like SamMobile or via a quick web search for “GT-S5300 stock firmware”.
  • Odin3 (for Windows) or Heimdall (for Mac/Linux).
  • Samsung USB drivers installed on your PC.
  • Optional: A file manager app on your phone to check root status later.

Step-by-Step

  1. Backup your data. Unrooting via Odin will wipe your phone. Copy contacts, photos, and any other personal files to your PC or SD card.
  2. Enable USB debugging. On your phone, go to Settings > Developer options and enable USB debugging. If you don’t see Developer options, go to Settings > About phone and tap Build number seven times.
  3. Power off your phone. Completely shut down the device.
  4. Boot into Download Mode. Press and hold Volume Down + Home + Power buttons simultaneously. When the warning screen appears, press Volume Up to continue into Download Mode.
  5. Launch Odin on your PC. Run Odin3 as administrator. You should see a blue or yellow box indicating that your device is detected. If not, reinstall USB drivers and try a different USB port.
  6. Load the stock firmware. Click the PDA (or AP) button in Odin and select the downloaded stock firmware file (the .tar.md5 file). Do not touch any other options like Re-Partition – leave them unchecked.
  7. Start the flashing process. Click the Start button in Odin. The process will take a few minutes. Do not unplug the phone or close Odin during this time.
  8. Wait for the PASS message. When Odin shows a green PASS message, the phone will automatically reboot. If it doesn’t, unplug the phone and manually reboot by holding the Power button.
  9. Verify root is gone. After the phone boots up, install a root checker app (like “Root Checker”) from the Play Store and run it. It should report that root access is not properly installed. Alternatively, you can check if the SuperSU or Magisk app is still present – it should be gone.

Common Mistakes

  • Using the wrong firmware. Flashing a firmware from a different region or carrier can cause boot loops or network issues. Always match the exact model (GT-S5300) and ideally the region code (e.g., XEU for UK, XAR for US).
  • Leaving Re-Partition checked. This can corrupt the partition layout and brick the device. Always leave it unchecked unless you are specifically using a PIT file.
  • Interrupting the process. Pulling the USB cable or turning off the PC during flashing can leave the phone in a semi-bricked state. Be patient.
  • Not backing up. Forgetting to backup means losing all your data. The flash wipes the phone.

Tips

  • Use the original USB cable and a USB port directly on your PC (not a hub) to avoid connection drops.
  • If Odin fails to detect your phone, try a different USB port, reinstall the Samsung USB drivers, and ensure you are in Download Mode.
  • After flashing, do a factory reset from Settings > Backup & reset to clear any leftover root files and ensure a clean system.
  • Keep the stock firmware file saved on your PC for future use in case you need to restore again.

Troubleshooting

Odin doesn’t detect the phone. Reinstall Samsung USB drivers, try a different USB cable, and make sure you are in Download Mode (not just powered on). Also, close Kies or Smart Switch if they are running, as they can conflict with Odin.

The phone is stuck in a boot loop after flashing. This usually means the firmware is incorrect or the flash was incomplete. Boot into Recovery Mode (Volume Up + Home + Power) and perform a factory reset (wipe data/factory reset). If that doesn’t work, reflash the correct firmware with Odin.

Odin fails with “FAIL” message. Try a different USB port, re-download the firmware file (it might be corrupted), and ensure you have the correct model. Also, try running Odin as administrator.

Root checker still says rooted. Some root files may remain. Perform a factory reset from Settings, or reflash the firmware once more. If that fails, the firmware might not be fully stock – check that you didn’t flash a pre-rooted ROM.

Frequently Asked Questions

Will unrooting void my warranty?

Unrooting restores the device to its original state, so it should no longer void the warranty. However, if the phone has physical damage or the bootloader was permanently modified (which is rare with Odin), the warranty may still be void.

Do I need to unroot before receiving OTA updates?

Yes, OTA updates usually fail on rooted devices. Unrooting will allow you to receive and install official updates normally.

Will unrooting delete my apps and data?

Yes, flashing the stock firmware wipes the phone’s internal storage. Make sure to back up everything important before you start.

Can I unroot without a PC?

If you used an app like SuperSU, you can unroot from within the app (Settings > Full unroot). However, this only removes root, not the custom recovery. For a full stock restoration, a PC is required.

What if I don’t know the exact firmware version?

You can find the current firmware version in Settings > About phone > Build number. Search for that exact build number online to download the matching stock firmware.

Is it safe to unroot?

Yes, if you follow the steps correctly. The main risk is using the wrong firmware or interrupting the flash, which can cause boot issues, but these are fixable by reflashing.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →