Obtaining superuser rights (root access) on the Androiddevice opens access to hidden functions system, allows you to remove built-in applications, optimize performance and install specialized software. However, the rooting process requires care: incorrect actions can lead to lost warranty, locked bootloader or "bricked" device (turning into a โ€œbrickโ€). In this guide, we will look at current rooting methods suitable for most modern smartphones, including devices with Android 13/14.

It is important to understand that the procedure differs depending on the model, firmware version and bootloader type. For example, devices Samsung s Knox require a special approach, and smartphones Xiaomi often need to be unlocked via Mi Unlock Tool. We will look at universal steps, as well as nuances for popular brands. If you are a beginner, start by studying the theory and preparing a data backup.

What are root access and why you need them

root access (or superuser rights) give complete control over the operating system Android, similar to administrator rights in Windows or sudo v Linux. With their help you can:

  • ๐Ÿ”ง Remove pre-installed system applications (bloatware), which occupy memory and consume battery power.
  • โšก Optimize performance through the system kernel (for example, change the processor frequency from using Kernel Adiutor).
  • ๐Ÿ“ฑ Install custom firmware (LineageOS, Pixel Experience) to update outdated devices.
  • ๐Ÿ”’ Block advertising at the system level using AdAway or Blokada.
  • ๐Ÿ“ Get access to hidden memory sections, for example, for backup EFS (important for communication).

However, there is a downside: rooting voids the warranty (although it can often be restored by rolling back to stock firmware), increases the risk of malware infection (since applications receive extended rights) and can disrupt the operation of some functions. For example, banking applications. (SberBank Online, Tinkoff) and services with DRM-protection (Netflix, Disney+) often refuse to work on rooted devices.

โš ๏ธ Attention: On devices with Samsung Knox (for example, Galaxy S23, Note 20), rooting will lead to irreversible activation of the flag Knox 0x1, which will block access to Samsung Pay, Secure Folder and some corporate functions.

Preparing the device for rooting

Before starting the procedure, you must complete several critical steps. Skipping any of them may lead to data loss or the inability to restore the system.

  1. Create a backup copy all data (photos, contacts, messages) using Google Account, Titanium Backup (requires root, but can be used on another device) or via ADB pull.
  2. Charge the battery at least to 70% - this will prevent a sudden shutdown during the process.
  3. Unlock the bootloader (bootloader). On most devices, this requires:
    • Activate Developer options (click on Number assembly 7 times Settings โ†’ About phone).
    • Enable USB debugging and Unlock OEM in the developer menu.
    • Connect the device to the PC and run the command:
      fastboot oem unlock
  • Install the necessary drivers: ADB and Fastboot for your model. Windows may require manual installation via Device Manager.
  • For devices Xiaomi, Redmi or POCO you will additionally need to link your account Mi to the phone and wait 7-14 days (depending on company policy) before unlocking the bootloader via Mi Unlock Tool. The Samsung process is more complicated: you need to enable the OEM Unlock in Download Mode (combination Power + Vol Down + Bixby).

    Battery charge โ‰ฅ70%|

    Data backup created|

    Developer options activated|

    USB debugging and OEM unlocking enabled|

    ADB/Fastboot drivers installed on PC-->

    Selecting rooting method: Magisk vs SuperSU

    Today, there are two main tools for obtaining root access: Magisk and SuperSU. The latter is considered obsolete (development ceased in 2018), but is still used on older devices. Magisk is a modern solution with support Android 10โ€“14, the ability to hide root from applications (MagiskHide) and a modular extension system.

    Criterion Magisk SuperSU
    Support for current Android versions โœ… Up to Android 14 โŒ Only up to Android 8
    Hide root from applications โœ… MagiskHide โŒ No
    Modular system โœ… Yes (via Magisk Modules) โŒ No
    Support for custom kernels โœ… Yes โœ… Yes
    Compatible with OTA updates โœ… Partially (requires manual patching) โŒ No

    For most users, Magisk is the optimal choice. It allows you to pass SafetyNet (Google security check), which is critical for the operation of banking applications. Installation is carried out through patching the boot image. (boot.img) or recovery (recovery). Popular custom recovery: TWRP (Team Win Recovery Project) and OrangeFox.

    โš ๏ธ Attention: On devices with dynamic partitions (Dynamic Partitions, entered into Android 10, the standard patching method boot.img may not work. In this case, you will need to patch init_boot.img (for Android 12+) or use specialized scripts.

    Step-by-step guide: rooting via Magisk

    Let's consider the universal method of rooting using Magisk i TWRP. This method is suitable for most devices, except for those where the bootloader is locked at the hardware level (for example, some models Huawei after 2019).

    1. Download the necessary files:
      • ๐Ÿ“ฑ Firmware for your model (stock or custom) from the manufacturer's website or XDA Developers.
      • ๐Ÿ”ง Magisk Manager (latest version with GitHub).
      • ๐Ÿ› ๏ธ TWRP for your device (check compatibility by model and version of Android!).
      • ๐Ÿ–ฅ๏ธ Platform Tools (ADB and Fastboot) from Google.
  • Extract boot.img from the firmware:

    Unpack the downloaded firmware (usually this is a file .zip or .tar) and find the bootloader image. Samsung may require conversion .tar.md5 to .zip.

  • Patching boot.img via Magisk:

    Copy boot.img to the device, open Magisk Manager and select Install โ†’ Select and Patch a File. After patching, the file will be saved as magisk_patched.img.

  • Flash the patched image:

    Reboot device into mode Fastboot (usually Power + Vol Down) and run the command:

    fastboot flash boot magisk_patched.img

  • Install Magisk Manager:

    After reboot, install the APK file Magisk Manager and check the root status in the application.

  • For devices with A/B-partitions (for example, Pixel, OnePlus) instead of boot you may need to flash both slots:

    fastboot flash boot_a magisk_patched.img
    

    fastboot flash boot_b magisk_patched.img

    What to do if TWRP does not see the internal memory?

    If after installing TWRP the internal memory of the device is not mounted, the reason may be data encryption (FBE). Solution:

    1. Do a hard reset (Wipe โ†’ Format Data), but this will delete all data!

    2. Or use OrangeFox Recovery, which works better with encrypted partitions.

    3. To Samsung you may need to disable encryption via disable_dm_verity_forceencrypt.zip (download on XDA).

    Solving problems after rooting

    Even with successful rooting, problems may occur. Here are the most common of them and how to fix them:

    • ๐Ÿ”„ The device is stuck on bootloop:

      Cause: incompatible patch boot.img or error during firmware. Solution: reflash the stock one boot.img via fastboot or restore the backup to TWRP.

    • ๐Ÿ“ต The mobile network or Wi-Fi does not work:

      The partition may be damaged EFS (contains IMEI and modem settings). Restore it from a backup or use tools like EFS Professional.

    • ๐Ÿ”’ SafetyNet does not pass the test:

      Activate MagiskHide in the settings Magisk, update Magisk to the latest version and install module Universal SafetyNet Fix.

    • ๐Ÿ’ณ Banking applications do not work:

      Try to hide root using MagiskHide Props Config or use alternative versions of applications (for example, SberBank Online via Island for isolation).

    If after rooting the device stops booting at all ("brick"), try the following steps:

    1. Boot into Download Mode (for Samsung) or Fastboot and flash the stock firmware via Odin or Fastboot.
    2. For devices with a locked bootloader (for example, Huawei), an official service center may be required.
    3. If the problem is a damaged one section EFS, try to restore it via QPST or ChimeraTool (requires skills).

    Install the application Root Checker from Google Play or run the command in the terminal:

    su

    If a superuser prompt appears (# instead of $), root is active.-->

    Routing without a computer: possible risks

    Some applications (for example KingRoot, Framaroot, iRoot) promise to get root access without a PC. However, such methods are highly not recommended for the following reasons:

    • ๐Ÿ•ต๏ธโ€โ™‚๏ธ Malicious code: many one-click routers contain spyware or adware.
    • ๐Ÿ”ง Instability: root obtained through such applications often leads to system crashes.
    • ๐Ÿšซ Lack of updates: most of these tools do not support new versions of Android.

    The only exception is Magisk in direct installation mode (Direct Install), but it requires an already unlocked bootloader and does not work on all devices. For reliable rooting, it is better to use the patching method boot.img via a PC.

    Through Magisk and TWRP|

    Through custom firmware (LineageOS, etc.)|

    One-click applications (KingRoot, etc.)|

    I havenโ€™t tried it yet, but I plan to|

    I donโ€™t plan to root -->

    How to hide root from applications (MagiskHide and alternatives)

    Many applications (banking, games with protection Netflix) block work on rooted devices. To bypass this limitation, use the following methods:

    1. MagiskHide (built into Magisk):

      Activate the option in settings Magisk and add problematic applications to the hide list. Android 10+ may require an additional module MagiskHide Props Config.

    2. Island (Work Profile):

      Create an isolated profile via Island and install banking applications there. They will not see root in the main profile.

    3. Shelter:

      Analog Island, but open source. Allows you to sandbox applications in a separate space.

    4. Modules for Magisk:

      Install Universal SafetyNet Fix and Play Integrity Fix to pass Google checks.

    For verification status SafetyNet use the application YASNAC (Yet Another SafetyNet Attestation Checker). If the test fails, update Magisk and modules, and also make sure that there are no other modifications in the system (for example, changed build.prop).

    ๐Ÿ’ก

    Even with MagiskHide active, some applications (for example Google Pay or Pokรฉmon GO) can detect root. In this case Only completely removing Magisk or using alternative isolation methods will help (for example, VirtualXposed).

    Rooting back and restoring the warranty

    If you need to return the device to a service center or sell it, you need to completely remove traces of rooting. To do this:

    1. Remove Magisk:

      B application Magisk Manager select Uninstall โ†’ Complete Uninstall. This will remove all modules and patches.

    2. Flash the stock one boot.img:

      Download the original firmware for your model and flash the standard one boot.img via fastboot:

      fastboot flash boot stock_boot.img

    3. Return stock recovery:

      If you have installed TWRP, flash the original recovery:

      fastboot flash recovery stock_recovery.img

    4. Reset settings:

      Perform a full reset (Wipe Data/Factory Reset) through stock recovery or Android settings.

    5. Check the Knox status (for Samsung):

      If the flag Knox triggered (checked through *#06# or KnoxGuard, it is impossible to restore the warranty - this is a hardware lock.

    For devices Xiaomi you will additionally need to re-lock the bootloader via Mi Unlock Tool (the procedure may take up to 30 days on some). models Sony i LG to restore the warranty, you need to flash the official firmware through proprietary utilities (XperiFirm + Newflasher for Sony, LGUP for LG).

    โš ๏ธ Attention: On devices c AVB 2.0 (Android Verified Boot) simply removing Magisk may not work - you will need to disable bootloader signature verification through patching vbmeta.img:
    fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

    FAQ: Frequently asked questions about rooting Android

    Is it possible to root a device without unlocking the bootloader?

    No, on most modern devices, unlocking the bootloader (bootloader) is a mandatory step. The exception is some older models (before Android 5.0), where there were exploits to bypass the lock (for example, Towelroot for Galaxy S5). Such methods do not work on smartphones.

    Will Google Pay work after rooting?

    Most likely not - Google Pay requires passing SafetyNetHowever, you can try:

    1. Activate MagiskHide and add Google Pay to the hide list.
    2. Install the module Universal SafetyNet Fix.
    3. Use alternative payment systems (for example, Samsung Pay on some devices it even works with root).

    If all else fails, the only option left is to roll back rooting.

    Is it possible to update Android after rooting?

    Yes, but with reservations:

    • ๐Ÿ“ฑ OTA updates: usually they break root because they overwrite it boot.img. After the update, you need to patch the boot image again.
    • ๐Ÿ–ฅ๏ธ Manual firmware: you can update via TWRP or fastboot, but you must first remove Magisk (to avoid bootloop).
    • ๐Ÿ”„ Magisk in the system: if Magisk is installed in the partition recovery (and not in boot), OTA updates can go smoothly.

    Before updating, it is recommended to create a backup in TWRP and check the compatibility of the new firmware with your rooting method on the forums (for example, XDA or 4PDA).

    How to root Android 14?

    Process rooting Android 14 is practically no different from Android 12/13, but there are nuances:

    • For devices with Dynamic Partitions (for example, Pixel 7, Samsung Galaxy S23) you need to patch init_boot.img instead boot.img.
    • Magisk there should be a version 26.0+ (check the relevance at GitHub).
    • Some manufacturers have tightened the protection: for example, OnePlus and Oppo can block unlocking bootloader after a certain time after purchase.

    For Pixel devices it is recommended to use Pixel Flasher Toolwhich automates patching of images.

    Which devices cannot be rooted?

    Some devices have hardware or software limitations:

    • ๐Ÿ“ฑ Samsung with Knox 3.0+: rooting irreversibly breaks Knoxwhich blocks Samsung Pay, Secure Folder some corporate functions.
    • ๐Ÿ”’ Huawei (after 2019): The bootloader is locked at the hardware level, unlocking is officially impossible.
    • ๐ŸŽ Devices with Apple processors (for example, some tablets): does not support standard rooting methods.
    • ๐Ÿ“ก Devices with eSIM: Rooting may result in loss of eSIM use (for example, Pixel 3a and newer).

    Check before rooting compatibility of your model on thematic forums (XDA, 4PDA).