How to Unroot Android
How to Unroot Android
Rooting your device can give you a lot more control over it, but it also will usually void your warranty and make repairs a hassle. Rooting also makes installing OTA (over-the-air) updates more difficult. Luckily, you can quickly unroot most devices with a few simple steps. Things are a little trickier for Samsung Galaxy devices, but with the right tools it will still only take a few minutes.
Steps

Manually Unrooting

Open a root file manager on your device. There are lots of different file managers available on the Play Store that you can use to browse your Android device's root files. Popular file managers include Root Browser, ES File Explorer, and X-Plore File Manager.

Find and press /system/bin/.

Find and delete the file named su. You can press and hold on the file and then select "Delete" from the menu that appears. There may not be a su file here depending on how you rooted your device.

Press /system/xbin/.

Delete the su file here as well.

Find and press /system/app/.

Delete the Superuser.apk file.

Reboot your device. Note: The above method should unroot your device after you reboot. You can verify if you are unrooted by downloading and running the Root Checker app from the Play Store.

Using SuperSU

Launch the SuperSU app. If you haven't installed a custom recovery image, you should be able to use the SuperSU app on your device to unroot.

Tap the "Settings" tab.

Scroll down to the "Cleanup" section.

Tap "Full unroot".

Read the confirmation prompt and then tap "Continue".

Reboot your device once SuperSU closes. For most devices, this will perform the unroot. Some custom firmware images will automatically re-root the device when booting, rendering this process ineffective.

Use an Unroot app if this method fails. The Universal unroot app, available on the Play Store, can unroot a lot of different Android devices. It costs $0.99, but can be very helpful. This app will not work for Samsung devices (see the next section).

Unrooting Samsung Galaxy Devices

Download the stock firmware for your device. In order to unroot your Galaxy device, you'll need the stock firmware for your device and carrier. There are various places that you can find this firmware online. Use a search engine and search for your Galaxy model and carrier, along with the phrase "stock firmware". Unzip the firmware after downloading it to find the .tar.md5 file. Note: This method will not reset your KNOX counter, which is a way for Samsung to tell if your device has been rooted or modified. It's currently possible to root without tripping the KNOX counter, but if you rooted your device using the older methods there is no way to reset the counter.

Download and install Odin3. This is an Android developer tool that will allow you to push your stock firmware from your computer to your Android device. You can find the installation files at Odin's XDA thread here.

Download and install the Samsung drivers. If you haven't connected your device to your computer before, you'll need to install the Samsung USB drivers. The quickest way to do this is to download the drivers from Samsung here. Download the ZIP file, double-click it to open it, and then extract the installer. Run the installer to install the drivers.

Power your device down. You'll need to reboot it in a special mode.

Hold the Volume Down, Home, and Power buttons. This will boot the device in Download mode. Connect it to your computer via USB.

Launch Odin3. You should see a green box on the left side of the "ID:COM" section. If you don't see this, your Samsung USB drivers are not properly installed.

Click the .PDA button in Odin3. Browse for the .tar.md5 stock firmware file that you downloaded.

Check the "AP or PDA" and "Auto Reboot" boxes. Make sure all of the other boxes are unchecked.

Click the .Start button to begin the unroot process. This may take about 5-10 minutes. When the process is complete, you'll see "PASS!" in the top box in Odin3. Your Galaxy should boot into the normal TouchWiz operating system.

Perform a factory reset to fix a boot loop. If your phone gets stuck in an infinite boot loop after unlocking, you'll need to perform a factory reset. This will delete everything on the device. Press and hold the Power button to shut off the device. Press and hold Volume Up, Home, and Power to boot into the Recovery menu. Use the Volume buttons to select "wipe data/factory reset" and press the Power button to select it. Select "wipe data partition" and then "reboot system now". Your Galaxy will reboot and wipe all of the data, returning it to factory settings.

What's your reaction?

Comments

https://tupko.com/assets/images/user-avatar-s.jpg

0 comment

Write the first comment for this!