Rooting your device can give you more control, but it typically voids your warranty and complicates repairs and official software updates. Fortunately, you can unroot most devices with a few simple steps. The process is a bit different for Samsung Galaxy devices, but with the right tools, it is still a straightforward procedure that only takes a few minutes to complete.

Before you start: Depending on the method you choose, you may need specific tools such as a root file manager (e.g., Root Browser, ES File Explorer), the SuperSU app, your device’s stock firmware, the Odin3 tool, and the appropriate Samsung USB drivers.
Warning: These procedures involve modifying system files and flashing firmware. There is a risk of data loss, especially if a factory reset is required. Proceed with caution and back up your important data before you begin.

A step-by-step guide to unrooting your Android phone

Follow the steps in the method that best corresponds to your device and how it was originally rooted to successfully restore it to its factory software state.

Method 1: Manually deleting root files

  • Open a root-capable file manager on your device, such as Root Browser, ES File Explorer, or X-Plore File Manager, which are available on the Play Store.
  • Navigate to the /system/bin/ directory, then find and delete the file named su. If you can’t find this file, it may be located elsewhere depending on your rooting method.
  • Next, navigate to the /system/xbin/ directory and delete the su file if it is present there.
  • Go to the /system/app/ directory and delete the Superuser.apk file.
  • Finally, reboot your device to apply the changes. You can confirm the unroot was successful by downloading and running the Root Checker app from the Play Store.

Method 2: Using the SuperSU application

  • Launch the SuperSU application on your device. This method is most effective if you have not installed a custom recovery image.
  • Tap the Settings tab to access the app’s configuration options.
  • Scroll down until you find the Cleanup section.
  • Tap the option for a Full unroot. A confirmation prompt will appear.
  • Read the warning and tap Continue to proceed with the unrooting process.
  • Once SuperSU finishes and closes, reboot your device. Note: Some custom firmware images may automatically re-root the device on startup, making this method ineffective. If this fails, consider using the Universal Unroot app from the Play Store, but be aware it does not work on Samsung devices.

Method 3: Unrooting a Samsung Galaxy device

  • Download the correct stock firmware for your specific Galaxy model and carrier. You can find this by searching online for your model number plus “stock firmware.” Once downloaded, unzip the file to locate the .tar.md5 file.
  • Download and install Odin3, a developer tool for flashing firmware onto Samsung devices. You can find the necessary files on the Odin XDA thread.
  • If you haven’t connected your device to your computer before, download and install the official Samsung USB drivers.
  • Power off your Galaxy device completely.
  • Boot the device into Download mode by pressing and holding the Volume Down, Home, and Power buttons simultaneously. Once it’s in Download mode, connect it to your computer with a USB cable.
  • Launch Odin3 on your computer. You should see a green or blue box in the ID:COM section, which confirms that your device is detected. If not, reinstall the Samsung drivers.
  • In Odin3, click the AP or PDA button and select the .tar.md5 firmware file you extracted earlier.
  • Ensure that only the AP (or PDA) and Auto Reboot boxes are checked. All other boxes should be unchecked.
  • Click the Start button to begin flashing the stock firmware. The process will take 5-10 minutes, and Odin will display a “PASS!” message when complete. Your device will then reboot automatically.
  • If your phone gets stuck in a boot loop: You will need to perform a factory reset, which will erase all data.
    • Power off the device, then press and hold the Volume Up, Home, and Power buttons to enter Recovery mode.
    • Use the Volume keys to navigate to wipe data/factory reset and press the Power button to select it.
    • Confirm the action, then select reboot system now to restart your device with factory settings.
Pro tip: Always back up your important data to a cloud service or your computer before attempting to unroot your device, as some methods, particularly flashing new firmware, can lead to data loss.

Why unrooting your device matters

Reverting your Android device to its unrooted, stock state is important for several reasons. Primarily, it restores your device’s warranty eligibility, which is often voided the moment you root it. This means you can get official support and repairs without issues. Furthermore, an unrooted device can receive and install over-the-air (OTA) software updates from the manufacturer or carrier seamlessly, ensuring you have the latest features and security patches.

Unrooting also significantly enhances your device’s security. Root access can make your phone more vulnerable to malware and security threats that target system-level files. Many applications, especially those for banking, payments, and premium streaming services, use security checks that fail on rooted devices. By unrooting, you regain access to these apps and ensure that your personal and financial data remains protected within the standard Android security framework.