sodcalculator

10 Tech How-To

How to Unroot Samsung Galaxy Grand Prime SM-G530Y

Guide 10-36338 · Updated · Step by step

Unrooting your Samsung Galaxy Grand Prime SM-G530Y removes root access and restores the phone to its factory state, which is required for receiving official OTA updates, using banking apps, and getting warranty service. This guide covers two methods: using the SuperSU app (if you still have it) and flashing the stock firmware with Odin. Back up your data before starting, as the firmware method wipes the device.

What You’ll Need

  • A Windows PC (for the Odin method)
  • USB cable compatible with your phone
  • Odin software (version 3.10.7 or newer) – download from a trusted source
  • Stock firmware for SM-G530Y – download from a reliable firmware repository (e.g., SamMobile or Frija)
  • Samsung USB drivers installed on your PC
  • Backup of your personal data (photos, contacts, messages)

Step-by-Step

Method 1: Unroot Using SuperSU (No Data Loss)

  1. Open the SuperSU app on your phone. If you don’t see it, check your app drawer or reinstall it from the Play Store (it may still work even if the binary is outdated).
  2. Go to the Settings tab inside SuperSU.
  3. Scroll down and tap Full unroot.
  4. Read the warning about restoring the stock boot image and removing root. Tap Continue.
  5. If SuperSU asks for a backup of the stock boot image, confirm that you want to restore it. The process may take a minute.
  6. Once done, the phone will reboot automatically. After reboot, check if root is gone by opening a root-checker app or looking for the SuperSU icon – it should be removed.
  7. If SuperSU fails or isn’t available, proceed to Method 2.

Method 2: Flash Stock Firmware with Odin (Full Unroot, Wipes Data)

  1. On your PC, extract the downloaded stock firmware ZIP file. You should see a file with a name like SM-G530Y_xxx.tar.md5.
  2. Extract the Odin ZIP and run Odin3.exe as administrator.
  3. Power off your phone completely.
  4. Boot the phone into Download Mode: press and hold Volume Down + Home + Power simultaneously. When the warning screen appears, press Volume Up to continue.
  5. Connect the phone to your PC with the USB cable. In Odin, the ID:COM box should turn blue or yellow, and a message like Added!! appears in the log. If not, reinstall Samsung USB drivers and try a different USB port.
  6. In Odin, click the AP button (or PDA in older versions) and select the .tar.md5 firmware file. Do not touch any other buttons like BL, CP, or CSC unless you know exactly what you’re doing.
  7. Make sure F. Reset Time and Auto Reboot are checked in the Options tab. Do not check Re-Partition.
  8. Click Start. The flashing process begins – it usually takes 5–10 minutes. Do not unplug the phone during this time.
  9. When Odin shows PASS! in a green box, the phone will reboot automatically. You can disconnect the cable once the Samsung logo appears.
  10. Set up your phone as new. Root access is gone, and the phone is back to stock firmware.

Common Mistakes

  • Using the wrong firmware model – flashing a firmware for a different variant (e.g., SM-G530F instead of SM-G530Y) can brick the phone. Always verify the exact model number in Settings > About Phone.
  • Not backing up data – the Odin method wipes everything. If you skip the backup, you lose photos, messages, and app data permanently.
  • Disconnecting during flash – pulling the USB cable while Odin is writing can corrupt the bootloader and make the phone unresponsive.
  • Forgetting to uncheck Re-Partition – enabling this without a proper PIT file can cause a soft-brick. Leave it unchecked.
  • Using a cheap or faulty USB cable – a cable that only charges (no data) will cause Odin to fail or hang. Use the original cable or a known-good data cable.
  • Skipping the driver installation – Odin won’t recognize the phone without Samsung USB drivers. Install them before starting.

Tips

  • Before unrooting, uninstall any root-only apps (like Titanium Backup or Greenify) to avoid leftover config files.
  • If you plan to keep the phone after unrooting, do a factory reset from Settings > Backup & Reset after flashing stock firmware. This clears any residual root traces and improves stability.
  • After unrooting, check for OTA updates in Settings > About Phone > Software Update. If updates don’t appear, your region may not have released them yet.
  • Keep the stock firmware file saved on your PC – you may need it again if you re-root or if the phone misbehaves.
  • If SuperSU’s full unroot works, you don’t need Odin at all – it’s the quickest and safest method.

Troubleshooting

Odin doesn’t recognize the phone – Reinstall Samsung USB drivers, try a different USB port (preferably USB 2.0 on the back of the PC), and ensure the phone is in Download Mode. On Windows 10/11, disable driver signature enforcement if the driver fails to install.

Odin gets stuck at “SetupConnection” or “NAND Write Start” – This usually indicates a connection issue. Unplug the phone, close Odin, reboot the phone into Download Mode again, and retry. Also, close Kies or Smart Switch on the PC – they conflict with Odin.

The phone boots into a boot loop (stuck on Samsung logo) – This often happens if the firmware file is corrupted or mismatched. Re-download the firmware from a different source, verify the model number, and reflash. If it persists, try a different version of Odin.

SuperSU says “unroot failed” – This can happen if the system partition is read-only or the su binary is damaged. In that case, proceed with the Odin method – it always works as long as the phone can enter Download Mode.

After flashing, the phone asks for a Google account password – This is Factory Reset Protection (FRP). You must enter the Google account credentials that were previously on the phone. If you forgot them, you’ll need to complete Google’s account recovery process on a PC.

The phone is completely dead (no response, no Download Mode) – This is a hard brick. Try holding Power + Volume Down for 10 seconds to force restart. If that fails, you may need a JTAG or ISP box service – consult a professional repair shop.

Frequently Asked Questions

Will unrooting delete my photos and apps? The SuperSU method keeps everything. The Odin method wipes the entire device, so back up first.

Do I need to unroot to get Android updates? Yes. OTA updates fail on rooted devices because the system partition is modified. Unrooting restores the stock system, allowing updates to install.

Can I re-root after unrooting? Yes, you can root again using the same method you used initially (e.g., CF-Auto-Root or TWRP + Magisk). Unrooting doesn’t permanently lock the bootloader.

What if my phone is still rooted after the SuperSU unroot? This can happen if the root was installed via a systemless method or a different app. In that case, flash the stock firmware with Odin – it completely removes all root traces.

Will unrooting restore my warranty? Unrooting restores the software to stock, but Samsung may still detect that the Knox counter was tripped (if you used a custom recovery or root that triggered it). The Knox flag is permanent and cannot be reset by unrooting.

Is it safe to unroot without a PC? The SuperSU method works without a PC, but if it fails, you’ll need a PC for Odin. There’s no reliable PC-free method for flashing stock firmware on this model.

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 →