Getting root access on Android gives access to hidden system functions, allows you to remove built-in applications, overclock the processor and install modified firmware. However, the process is fraught with risks - from loss of warranty to complete failure of the device. In this guide, we will look at relevant in 2026 methods for obtaining root access that work on most modern smartphones, including models Samsung Galaxy S24, Google Pixel 8 and Xiaomi 14.

It is important to understand that There is no universal method: the choice of method depends on the Android version, device model, and even the firmware region. For example, for Samsung with a processor Exynos one tool is suitable, and for Qualcommversions - another. We'll look at both simple one-click solutions for beginners and advanced methods for advanced users, including bootloader unlocking and installation. Before you begin, check: Battery charge is at least 70% (interrupting the process may cause irreparable damage bootloader Magisk.

Before you begin, check:

  • ๐Ÿ”‹ Battery charge is at least 70% (interrupting the process may lead to irreparable damage to the bootloader)
  • ๐Ÿ“ฑ Data backup (root can erase internal memory)
  • ๐Ÿ”ง Original or certified USB cable (cheap cables often cause errors when flashing)

๐Ÿ“Š What brand of smartphone do you want to unlock?
Samsung
Xiaomi
Google Pixel
OnePlus
Another brand

1. What are root access and why you need them?

root access (from English root - root) provide the user with full control over the Android operating system, similar to administrator rights in Windows. With their help you can:

  • ๐Ÿš€ Delete system applications (bloatware) that cannot be uninstalled using standard means
  • ๐Ÿ”ง Modify the system kernel to overclock the processor or improve autonomy
  • ๐Ÿ“ฑ Install custom firmware (LineageOS, Pixel Experience)
  • ๐Ÿ”’ Bypass manufacturer restrictions (for example, unlocking the bootloader on Huawei)
  • ๐Ÿ› ๏ธ Use applications that require deep access (for example, Titanium Backup or Greenify)

However, there is a downside:

  • โš ๏ธ Loss of warranty (manufacturers refuse to repair if root is detected)
  • ๐Ÿ›ก๏ธ Security risk (viruses gain unlimited access to the system)
  • ๐Ÿ”„ Problems with OTA updates (many firmware refuse to install on rooted devices)
  • ๐Ÿ’ฅ Possibility of "bricking" (turning the phone into a "brick" if there is a firmware error)

โš ๏ธ Attention: On devices with Android 14+ some methods of obtaining root may be blocked by the system AVB 2.0 (Android Verified Boot) (Before you start, check the compatibility of your model on the forums XDA Developers or 4PDA.

2. Preparing the device: unlocking the bootloader

Before obtaining root access on most modern smartphones, you must unlock bootloader (bootloader). copy.

Instructions for most devices (except Huawei and some models Xiaomi):

  1. Activate Developer mode: go to Settings โ†’ About phone โ†’ Build number and tap on it 7 times.
  2. Go back to Settings โ†’ System โ†’ For developers and enable:
    • ๐Ÿ”“ OEM unlocking (this item may not be available on some devices)
    • ๐Ÿ”Œ USB debugging
  • Connect the phone to the PC and run the command in ADB:
    adb reboot bootloader
  • In mode fastboot enter:
    fastboot flashing unlock

    On some devices (Google Pixel, OnePlus) the command is used:

    fastboot oem unlock
  • For Xiaomi additional permission is required via Mi Unlock Tool, which may take up to 72 hours. data-i="95">with Samsung With Knox unlocking the bootloader is triggered Knox 0x1which voids the warranty.

    Make sure that the model supports unlocking|Download ADB and Fastboot|Enable developer mode|Make a backup copy of your data|Charge your phone until 70%. data-i="103">Attention:

    โš ๏ธ Attention: On devices with Android 13+ unlocking the bootloader may block some features such as Google Pay or Widevine L1 (downgrade streaming quality to 480p).

    Magisk - the most popular tool for obtaining root access in 2026. It allows you to hide root from applications (for example, banking) and supports a modular system for expanding functionality.

    Step-by-step guide:

    1. Download the latest version Magisk from the official repository on GitHub (avoid third-party sources!).
    2. Download the firmware (boot.img) for your phone model. It can be extracted from the official firmware or downloaded from XDA.
    3. Move boot.img to your phone and open it via Magisk (click Install โ†’ Select and Patch a File).
    4. After processing, copy the resulting file magisk_patched.img on the PC.
    5. Reboot the phone in fastboot and flash the patched boot:
      fastboot flash boot magisk_patched.img
    6. Reboot the device. After loading, check for root via the app Root Checker.
    7. For devices with Android 12+ and dynamic partitions (dynamic_partitions) may require firmware via fastbootd:

      fastboot reboot fastboot
      

      fastboot flash init_boot magisk_patched.img

      What to do if Magisk does not detect boot.img?

      If Magisk does not see your boot.img, try:

      1. boot.img (without spaces)

      2. Use Magisk Alpha for new versions of Android

      3. Extract boot.img from the full firmware via Payload Dumper (for Pixel)

      4. Check that the file is not damaged (compare the hash with original)

      Device model Supported method Features
      Google Pixel 6/7/8 Magisk (patched boot) Requires shutdown AVB via fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
      Samsung Galaxy S22/S23/S24 Magisk (patched AP) Needs flashing via Odinh3 with disabled VBMETA
      Xiaomi 13/14 Magisk (patched boot) Unlocking the bootloader takes 7 days for new accounts
      OnePlus 10/11/12 Magisk or KernelSU Supports OOS 13/14 without data loss with correct firmware

      4. Method 2: One-click utilities (for beginners)

      If you need root access without deep diving into the firmware, you can use automatic tools. They are suitable for older devices (Android 9 and below) or specific models.

      Popular. utilities:

      • ๐Ÿ› ๏ธ KingRoot โ€”works on Mediatek and some Qualcommdevices, but often installs adware
      • ๐Ÿ”ง iRoot โ€”supports Samsung Exynos i Huawei Kirin, but requires connection to PC
      • โšก TowelRoot โ€” for very old devices (Android 4.4 - 5.1)
      • ๐Ÿ“ฑ Framaroot โ€” works with chips Mediatek i Spreadtrum, but has not been updated since 2018

      Warnings when using one-click solutions:

      • โš ๏ธ 80% of utilities contain malicious code or advertising
      • ๐Ÿ”’ Many banking applications block rooted devices from these tools
      • ๐Ÿ”„ After use, manual cleaning of the system is often required

    ๐Ÿ’ก

    Before using one-click utilities, create a restore point in TWRP. This will allow you to roll back changes if something goes wrong.

    โš ๏ธ Attention: On devices with Android 10+ one-click utilities almost never work due to enhanced protection. DM-VerityUse them only if Magisk. not suitable.

    5. Method 3: Installing custom recovery (TWRP)

    For experienced users, the best option is installing TWRP (Team Win Recovery Project) allows you to flash modified images. make backups and get root without a PC.

    Instructions:

    1. Download the official version of TWRP for your model from the site twrp.me.
    2. Flash the recovery via fastboot:
      fastboot flash recovery twrp-3.7.0_9-0-marlin.img

      (replace the file name with yours)

    3. Boot into TWRP by pressing Volume up + Power.
    4. In TWRP select Install and flash Magisk.zip.
    5. Reboot the device.

    Advantages of TWRP:

    • ๐Ÿ”„ Possibility of full system backup (including /data i /boot)
    • ๐Ÿ› ๏ธ Flashing custom kernels and mods
    • ๐Ÿ”ง Recovery after "soft brick"

    On new devices (Pixel 7, Samsung Galaxy S23) TWRP may not work due to A/B partitions. In this case, use OrangeFox Recovery or PitchBlack Recovery.

    ๐Ÿ’ก

    TWRP is the only way to get root on devices without an unlocked bootloader (for example, on some Huawei models after 2019).

    6. Method 4: Root through the kernel (KernelSU)

    KernelSU โ€”an alternative to Magisk, built directly into the Android kernel. This method is suitable for devices where Magisk does not work (for example, on some firmware MIUI 14 or ColorOS 13).

    How to install:

    1. Download a custom kernel with KernelSU support (for example, Radiant Kernel for Pixel or Arter97 Kernel for Xiaomi).
    2. Flash the kernel via TWRP or fastboot:
      fastboot flash boot kernelsu_boot.img
    3. Install the application KernelSU from GitHub.
    4. Activate root in the application settings.

    Pros of KernelSU:

    • ๐Ÿ”’ Better compatibility with SELinux i SafetyNet
    • ๐Ÿš€ Fewer performance problems
    • ๐Ÿ›ก๏ธ Support for new versions of Android (including Android 15)

    Cons:

    • โš ๏ธ Requires custom kernel firmware (risk of instability)
    • ๐Ÿ”ง Fewer modules compared to Magisk

    7. How to hide root from applications (Magisk and Universal SafetyNet Fix)

    Many applications (banks, games, streaming services) block devices with root. To get around this, use:

    1. Enable: Magisk enable:
      • ๐Ÿ”’ Enforce DenyList (previously MagiskHide)
      • ๐Ÿ“ฑ Add problematic applications to the exclusion list
  • Install modules:
    • ๐Ÿ›ก๏ธ Universal SafetyNet Fix (to pass SafetyNet)
    • ๐Ÿ” MagiskHide Props Config (to change the device fingerprint)
    • Reboot the device and check the status in SafetyNet Test.

    If SafetyNet fails:

    • ๐Ÿ”„ Try another device fingerprint (for example, Pixel 6)
    • ๐Ÿ”ง Disable all other Magisk modules
    • ๐Ÿ“ฑ Make sure that the bootloader is officially unlocked (not through exploits)

    How to check if the root is hidden?

    Use the application RootChecker or YASNAC (Yet Another SafetyNet Attestation Checker). If ctsProfile: true i basicIntegrity: true โ€” root is successfully hidden.

    8. Common errors and their solutions

    Even if you follow the instructions exactly, problems may arise:

    Error Cause Solution
    Fastboot: FAILED (remote: 'Flashing is not allowed') Bootloader is not unlocked Repeat the command fastboot flashing unlock
    Phone does not turn on after flashing Incompatible boot.img Flash the original boot via fastboot flash boot stock_boot.img
    Magisk: Installation failed Damaged file or lack of space Check the file hash and clear /cache
    Applications detect root despite MagiskHide Outdated version of Magisk or modules Update Magisk and Universal SafetyNet Fix

    If the device has turned into a brick:

    • ๐Ÿ”Œ Try booting into fastboot (Volume down + Power)
    • ๐Ÿ”„ Flash the full stock firmware via Odinh3 (Samsung) or Mi Flash (Xiaomi)
    • ๐Ÿ› ๏ธ For Qualcommdevices use EDL mode (requires an authorized account)

    โš ๏ธ Attention: On devices with eMMC drives (most budget smartphones), frequent firmware updates shorten the life of the memory. Use high-quality USB cables and avoid process interruptions.

    FAQ: Answers to frequently asked questions

    Is it possible to get root without unlocking the bootloader?

    On most modern devices there are no exceptions:

    • ๐Ÿ“ฑ Some. models Xiaomi with an exploit DirtyCOW (Android 6-7)
    • ๐Ÿ”ง Devices with vulnerabilities in the kernel (for example, CVE-2023-21250 for Pixel)

    These methods are unreliable and often lead to data loss.

    How to remove root and return the warranty?

    For complete removal:

    1. Remove Magisk through its menu (Uninstall โ†’ Complete Uninstall)
    2. Flash stock boot.img:
    3. fastboot flash boot stock_boot.img
    4. For Samsung a reset is required Knox via Samsung Reset FRP Tool (not always possible)
    5. Perform a full reset via fastboot -w or settings.
    Attention: On some devices (for example Huawei), traces of unlocking remain forever.

    Does root work on Android 14/15?

    Yes, but with reservations:

    • ๐Ÿ”’ Magisk supports Android 15, but requires manual patching init_boot.img
    • ๐Ÿ”ง On Samsung One UI 6 you need to disable AVB 2.0:
    • fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
    • โš ๏ธ Some functions (for example, Google Pay) may not work even with hidden root

    Is it possible to update the firmware from root?

    Yes, but:

    • ๐Ÿ“ฑ When updating OTA, root crashes (you need to flash Magisk again)
    • ๐Ÿ”„ For custom firmware (LineageOS) updates are installed via TWRP
    • โš ๏ธ On Samsung OTA updates from root lead to bootloop (full flashing required)

    It is recommended to temporarily remove root before updating.

    Which method is the safest for beginners?

    For the first experiments:

    1. ๐Ÿ“ฑ Google Pixel โ€” use Magisk + patched boot.img (minimal risk)
    2. ๐Ÿ”ง Xiaomi โ€”unlock the bootloader via Mi Unlock and flash TWRP
    3. โš ๏ธ Avoid one-click utilities and exploits - they most often lead to problems

    Start with a device that you donโ€™t mind losing (for example, an old one Redmi Note).