Many Android smartphone users sooner or later face the need to return the device to its factory state. This is often due to previously obtained superuser rights (Root), which now interferes with the operation of banking applications, system updates, or simply poses a threat to data security. The process of obtaining elevated privileges is usually simple, but their complete removal requires a more careful approach, since the standard system settings do not provide a “Disable Root” button.

Incorrect removal of access rights can lead to the smartphone turning into a “brick” or stopping loading. In this article, we will analyze in detail the algorithms of action for the most popular privilege management tools, such as Magisk and SuperSU, and will also discuss methods for completely resetting the system. You will learn how to hide the fact of having root access from applications or remove them forever, returning the device to its factory integrity.

Before taking active steps, you need to understand which tool was used to obtain rights. The method of removing them depends on this. If you are not sure about the source of permissions, it is better to start by checking installed applications or using universal reset methods. Remember that any manipulation of system files carries certain risks.

Determining a method for obtaining root access

The first step before disable superuser rightsis to accurately identify the installed privilege manager. In the vast majority of cases, modern devices use Magiskwhich operates on a system partition system without changes (systemless). However, on older models or specific firmware, there may still be classic SuperSU or built-in solutions from manufacturers.

For diagnostics, open the application menu on your smartphone and carefully review the list. Look for icons named Magisk, SuperSU, KingRoot or similar. You can also use specialized utilities to check the status, which will show not only the presence of rights, but also the name of the control application. If the application is hidden, try entering the word “superuser” in the settings search.

Sometimes rights can be built directly into custom firmware, and you will not find a separate manager application. In this case, the situation becomes more complicated, since completely removing rights may require flashing the device to the stock version. Identifying the source is critically important, since trying to remove Magisk through the SuperSU settings will not work, and vice versa.

💡

If you cannot find the manager application, try installing the Root Checker app from Google Play. It will not only confirm the presence of rights, but will also often tell you which binary file is being used.

Understanding the architecture of your root access will help you choose the right action scenario. Don't rely on random advice from forums if you don't know the exact configuration of your device. Incorrect actions can break the bootloader or damage the recovery partition.

Removing rights through the Magisk application

The most common tool in the modern Android community is Magisk. The developers have provided a built-in function for completely removing rights, which makes the process as safe and user-friendly as possible. This method does not require a connection to a computer and is performed directly on the device in a few minutes.

Launch the Magisk application from the home screen. In the central menu you will see a button labeled “Uninstall”. Clicking on it will open a pop-up window with two options: “Complete Uninstall” and “Restore Images”. In order disable superuser rights forever, you need to select the first item.

After confirming the selection, the application will automatically begin the cleaning process. It will remove binaries, scripts and the manager application itself. During the procedure, the smartphone may reboot several times or freeze at the manufacturer's logo - this is normal, the process takes up to 5-10 minutes. Do not interrupt the power of the device at this moment.

☑️ Magisk removal process

Done: 0 / 4

⚠️ Attention: If you have installed modules that change system files (for example, fonts or boot animation), the uninstallation procedure may fail or lead to a bootloop (cyclic reboot). In this case, manual intervention through recovery mode may be required.

When the process is completed, the device will boot in normal mode, but without superuser rights. The Magisk application will disappear from the list of apps. To be absolutely sure, it is recommended to clear the application cache to remove possible residual configuration files.

💡

Using the built-in uninstall function in Magisk is the most reliable method, as it automatically restores the original boot image if it was saved.

Resetting privileges through SuperSU

Although popular SuperSU has decreased in recent years, many devices are still running under its control. The procedure for removing rights in this manager is also automated, but has its own characteristics associated with deeper intervention in the system compared to Magisk.

Open the SuperSU application and go to the “Settings” tab. Scroll down the list of options to the Cleanup section. There you will find the item “Full Unroot”. Clicking on this button will launch a script that will delete the binary file su and the application itself.

Unlike Magisk, SuperSU may require confirmation through recovery mode. After clicking the delete button, the application will prompt you to reboot into a special mode to perform final cleaning. Follow the instructions on the screen. If the device does not have a custom recovery, the process can take place directly in the system.

  • 🔍 Check the presence of the binary file su in the system folders after removal.
  • 🔄 Make sure that the SuperSU application has completely disappeared from the menu.
  • 🛡️ Launch the application jar to make sure it no longer sees root access.

It is important to note that on some devices with a locked bootloader, complete removal via SuperSU may be difficult. In such cases, the system may report a write error to the system section. Then the only way out is to flash the stock image.

What to do if the delete button is inactive?

If the “Complete removal of Root” option is not clicked or is hidden, this may mean that the rights were obtained using a non-standard method or the su file is blocked by the system. Try updating the SuperSU application to the latest version or using a third-party file manager with rights for manual deletion.

Manually deleting files and cleaning the system

In situations where standard applications do not cope or were previously deleted, you have to resort to the manual method. This method requires a file manager that supports working in system partitions, for example Root Explorer or ES Explorer (with rights enabled).

You will need to find and delete binary code executable files. Usually they are located in directories /system/bin/ and /system/xbin/. Look for files named su. You also need to remove the manager application, which is often located in the folder /system/app/ or /system/priv-app/ under the names Superuser.apk or SuperSU.apk.

After deleting the files, be sure to change the Permissions for the folders, if you changed them previously, and clear the Dalvik/ART cache. This can be done through the recovery menu by selecting “Wipe Dalvik Cache”. Without this, the system may try to access non-existent files, which will cause errors.

File path File name Action Error risk
/system/bin/ su Delete Medium
/system/xbin/ su Delete Medium
/system/app/ Superuser.apk Delete Low
/data/data/ eu.chainfire.supersu Clear data Low

Manual intervention requires extreme caution. Removing unnecessary system files can lead to unstable operation of the OS. Always make a backup copy before starting such operations.

📊 How do you prefer to manage access rights?
Magisk
SuperSU
Built-in tools
Do not use Root

Return to factory firmware (Stock)

The most radical, but also the most effective way to completely disable superuser rights and return the warranty is to flash the device to the official stock version of the software. This method is guaranteed to remove all traces of interference, including custom recovery and modified system partitions.

Each manufacturer has its own tools: Odin for Samsung, Fastboot for Xiaomi and Pixel, SP Flash Tool for devices with MediaTek processors. You will need to download the official firmware image for your specific Android model and version. The process includes unlocking the bootloader (if it has not already been done) and writing new partition images.

⚠️ Attention: Flashing a stock image usually leads to the complete deletion of all user data (photos, contacts, applications). Be sure to back up important information to your computer or cloud storage before starting the procedure.

After successfully installing the stock firmware, the device will look like it just came out of the store. Superuser rights will be physically absent, since su binary files are not provided in official images. This will also update the security version to the latest one.

If you do not have sufficient experience in flashing, it is recommended to contact a service center. Incorrect image recording may result in loss of IMEI or inability to turn on the device. However, for experienced users, this is the best way to “healthy” a smartphone.

💡

When searching for firmware, always check the device region (CSC code). Installing firmware from a different region may result in some functions not working, such as calls or NFC.

Checking the result and data security

After completing all procedures for removing rights, you need to verify the result. Just the absence of an application icon does not guarantee that superuser access is completely blocked. Some scripts may remain in startup or hidden sections.

Use the Root Checker application for a final check. Launch it and click the “Check Root” button. If the app reports that there is no access (a green icon is displayed with the inscription “Sorry! Root access is not properly installed”), then the procedure was successful. Also try running applications that were previously blocked, for example, banking clients or Google Pay.

  • 📱 Launch the banking application and check its operation.
  • 🔒 Try authorization in Google Pay or Samsung Pay.
  • 🔄 Check for system updates through your smartphone settings.

It is also important to pay attention to the bootloader state. If you unlocked it to obtain rights, then even after removing Root, the device may be considered modified from the point of view of some security services. To completely return to the original state, you may need to re-lock the bootloader (Relock Bootloader), which is only possible on stock firmware.

Data security after removing rights is significantly increased. Malware will no longer be able to access system files without your knowledge. However, remember that the very fact of unlocking the bootloader in the past could leave traces in the Fuse memory of some devices (for example, Samsung Knox), which irreversibly affects the operation of protected folders.

Is it possible to remove Root without losing data?

Yes, in most cases, using the built-in deletion functions in Magisk or SuperSU allows you to save all user data. However, when flashing the stock image, the data will be completely deleted.

Does deleting Root affect the warranty?

The very fact of deleting rights does not automatically restore the warranty if the manufacturer detects a change in the bootloader state (Knox flag). However, the absence of visible traces of Root can help when returning the device to service if the problem is not related to the software.

What to do if the phone does not turn on after removal?

If the device is stuck on the logo, try entering Recovery mode (usually holding down the volume and power buttons) and performing a factory reset (Wipe Data/Factory Reset). If this does not help, you will need to flash it via your computer.

Will custom Recovery be deleted along with Root?

No, standard removal procedures in Magisk and SuperSU do not affect the Recovery partition. To return to stock recovery, you need to reflash the device in the full official way.

Is it safe to use banking applications after removal?

Yes, after correctly removing Root and clearing traces (including hidden flags), banking applications should work normally. However, some banks may require a complete lock of the bootloader for NFC payment to work.