Obtaining superuser rights on a device with an operating system Android 10 is often perceived as a complex task, requiring a personal computer, complex drivers and deep knowledge of the command line. However, modern community development tools have made this process much easier. Now, to complete the procedure, all you need is the smartphone itself, a stable Internet connection and the user’s attentiveness. This opens up new horizons for customizing the interface and system management.

The main purpose of rooting is to remove software restrictions imposed by the manufacturer. Device owners are often faced with the inability to remove pre-installed applications or change system fonts. root access give full control over the file system, allowing you to make changes that were previously unavailable. It is important to understand that the process is not trivial and requires strict adherence to the sequence of actions to avoid critical errors.

In this guide we will look at a method based on the use of a utility Magisk, which is currently the industry standard for obtaining privileged access. This approach allows you to not only root your device, but also maintain the ability to pass security checks in banking applications thanks to the hide root feature. Before you begin, make sure that your device is charged at least 60%, as the process may take a significant amount of time.

Preparatory stage and unlocking the bootloader

The first and most critical step is unlocking the bootloader (Bootloader). Without performing this action, installing a modified kernel image is impossible. The procedure is completely different depending on the brand of your smartphone. Devices Xiaomi or Huawei often require obtaining a special code through the manufacturer's official website and waiting a certain time.

On many modern smartphones, this option is hidden in the developer menu. To activate it, you need to repeatedly tap on the build number in the About Phone section. After the “You have become a developer” notification appears, a new item will appear in the settings. Find the option there Factory unlock or OEM unlocking and move the switch to the active position.

⚠️ Attention: Unlocking the bootloader will inevitably lead to the complete deletion of all user data from the internal drive. The device will be reset to factory settings. Be sure to create a backup copy of important photos and documents before starting the procedure.

After turning on the corresponding toggle switch, the device must be rebooted into a special mode. This is usually done with a combination of the volume and power keys. A warning about loss of warranty and data will appear on the screen. Confirming an action often requires a long press of the Volume Up key for several seconds. Only after successful unlocking can you proceed to the next steps.

📊 What is the brand of your device?
Xiaomi / Redmi
Samsung
OnePlus
Realme / Oppo
Another brand

Extracting the boot image and patching via Magisk

The essence of the method without using a PC is to take the original boot partition file (boot.img) from the firmware of your device and modify it directly on the phone. To do this, you will need to download the full stock firmware archive corresponding to your current system version. A version mismatch may cause the smartphone to stop loading.

After downloading the firmware archive, find the file inside boot.img. In some cases, especially on devices with dynamic partitions, this file may be called init_boot.img. Copy the found file to the root of the internal memory or to a folder Download for ease of access. Next, you need to install the application Magisk Managerby downloading its APK file from the official developer repository.

Run the installed application and click on the “Install” button in the Magisk block. In the menu that appears, select the “Select and patch file” option. Find the previously saved image boot.img. The patching process will take less than a minute, after which a new file with the name of the type will appear in the folder Download a new file will appear with the name of the view magisk_patched_[random_string].img.

💡

Copy the resulting patched file to your computer or cloud storage before the next reboot. This will create an additional recovery point in case of unexpected failures during the firmware.

Installing a patched image via Recovery mode

Now you need to replace the original boot image with a modified one. Since we do not have a computer to use Fastboot commands, we will use the built-in recovery mode or a third-party recovery if it is already installed. Reboot your smartphone into mode Recoveryholding the power and volume up buttons.

In the recovery menu, select the item responsible for installing the image from the memory partition. In stock recovery, this function may be called Apply update from storage. Specify the path to the file magisk_patched.img. The system will ask you to confirm the operation. Agree and wait for the flashes process to complete.

If standard recovery does not allow flashing individual partition images, you can use a terminal emulator. This will require rights to execute certain commands, which are sometimes available even with the bootloader locked in diagnostic modes, but this is rare. In most cases, Android 10 requires an unlocked bootloader to write to the boot section.

☑️ Check before flashing

Completed: 0 / 4

Comparison of methods for obtaining root access

There are several approaches to obtaining privileged access, and the choice depends on the specific device model and security version. Some methods are outdated and not suitable for Android 10 due to enhanced kernel security. Below is a table to help you choose the best path.

Method Difficulty Risk of blocking Compatible with Android 10
Magisk (Patch Boot) High Low Full
KingRoot / OneClick Low High None
Custom Recovery (TWRP) Medium Medium Depends on the model
Kernel exploits Very high Critical Partial

As can be seen from the table, the method using Magisk is the most reliable and supported community. Outdated apps like KingRoot often contain adware and do not work on new security versions of Android. Using custom recovery TWRP is also effective, but requires searching for a specific assembly for your phone model.

⚠️ Attention: Recovery mode interfaces may differ depending on the manufacturer. On Samsung devices, the mode is called Download Mode and requires the use of specific key combinations that differ from the standard ones.

Setting up Magisk and hiding the root

After a successful reboot and the Magisk icon appears in the list of applications, the process can be considered complete. However, for full use, additional configuration is required. Many banking applications and games with anti-cheat block work on rooted devices.

Open Magisk settings and enable the function Zygisk. This technology allows modules to be embedded into the Zygote process, which is the basis for modern hiding methods to work. After turning on, a reboot will be required. Next, in the settings, activate the “Enforce DenyList” item.

In the “Configure DenyList” menu, check the boxes for all banking applications, Google Pay and games that refuse to launch. This will force the system to hide the presence of root access for these apps. It is also recommended to enable the “Hide Magisk application” option, changing its name and package to random values ​​to make detection more difficult.

What to do if the application still sees the root?

If after setting DenyList the application continues to work incorrectly, try clearing its data and cache. In extreme cases, you may need to install the Shamiko module through a third-party recovery manager, which bypasses standard block lists.

Opportunities and risks after gaining access

By gaining superuser rights, you have the opportunity to install powerful modules that change the behavior of the system. For example, the module Viper4Android allows you to dramatically improve sound quality, and Greenify aggressively manage background processes to save battery. You can also remove system applications that cannot be uninstalled using standard means.

However, with opportunities come risks. An error when editing system files can lead to the device becoming bricked, when it stops turning on or booting to the desktop. In addition, the device warranty is void the moment the bootloader is unlocked, and service centers may refuse free repairs.

Data security is also at risk. Once rooted, malware can steal any information from your phone, including passwords and encryption keys. Therefore, it is strictly not recommended to grant superuser rights to applications from unverified sources.

💡

The main advantage of Magisk is the ability to modularly modify the system without changing the system partition, which allows you to receive OTA updates (over the air) in some cases.

Troubleshooting and system recovery

If after installing the patch The smartphone is stuck on the logo when loading (bootloop), do not panic. In most cases, the system will automatically roll back the changes or require a forced reboot to Recovery mode. If the device boots, but Magisk does not work, check the integrity of the downloaded firmware image.

To return to its original state, you need to download the stock firmware again, extract the original boot.img and flash it back through recovery mode, replacing the patched file. This will return the bootloader to the stock state, although the data on the phone may have been lost during previous manipulations.

In situations where the device does not respond to buttons and does not enter recovery mode, you may need to use the mode Emergency Download (for Qualcomm) or similar service modes. In such cases, it is extremely difficult to do without connecting to a PC and using specialized software, so preventing errors at the preparation stage is critical.

Is it safe to root Android 10 in 2026?

The process has become much safer thanks to the A/B partition architecture and the Magisk system, but the risk of data loss or disruption of certain functions remains. Banking applications actively fight against root, so their operation is not guaranteed without carefully setting up hiding.

Will the warranty expire after unlocking the bootloader?

In the vast majority of cases, the manufacturer records the fact of unlocking the bootloader (Knox flag on Samsung or an analogue on other brands). This is the official basis for refusal of warranty service, even if you return the stock firmware.

Is it possible to get Root without unlocking the bootloader?

For Android 10 this is almost impossible using legal methods. Kernel protection does not allow the modified image to be written to the boot partition without an unlocked bootloader. Old kernel exploits on modern devices are covered by security patches.

How to update the system after rooting?

When using Magisk, you can try installing an OTA update. The system will download the package, but before rebooting you will need to go to Magisk, select “Install” -> “Install in an inactive slot (after OTA)”. After installing the update, do not reboot immediately, but execute this command, then the reboot will apply the update and save the root.