Android 10 is one of the most stable versions of the mobile OS from Google, but even it limits users in managing system files. Obtaining root access (or root access) opens up opportunities for deep customization: from removing built-in software to installing modified firmware. However, the process is fraught with risks - from loss of warranty to โ€œbrickingโ€ the device.

In this guide we will examine Current ways to get root on Android 10 (including security patches 2026-2026), features for popular brands (Samsung, Xiaomi, Google Pixel, OnePlus), as well as legal alternatives if you donโ€™t need root. Important: the procedure is different for devices with a locked and unlocked bootloader - we will consider both scenarios.

Before you start, check: 1) Android version (in Settings โ†’ About phone). 2) Processor model (via application CPU-Z). 3) Bootloader status (command fastboot oem device-info in ADB).

Without this information, you risk choosing the wrong method and damaging the system.

1. Preparing the device: what needs to be done BEFORE getting root

An unprepared device is the main source of problems when getting root. On Android 10 it is critical to perform a backup via ADB (not only cloud services!), since after unlocking the bootloader the data will be erased. Here is a checklist of required actions:

Create a backup via adb backup (including applications and data)

Download the original firmware for your model

Install drivers ADB and Fastboot

Charge the phone to at least 70%. In some devices (for example

Disable OEM Lock in developer settings

Check your model's compatibility with Magisk on the forum XDA Developers-->

Pay special attention to the point about OEM Unlock. On some devices (for example, Samsung Galaxy S10 or Xiaomi Redmi Note 8 Pro) this option may disappear after a reboot. Solution: activate it, connect to the Internet, reboot the phone and immediately check the status using the command:

adb shell getprop ro.oem_unlock_supported

If the answer is 1 โ€”the bootloader can be unlocked. If 0 โ€”you will need a workaround (about it in the about Samsungsection. Also note that some operators (for example, Verizon in the USA) block unlocking at the firmware level.

โš ๏ธ Attention: On devices with Exynos (For example, Samsung Galaxy S20) after unlocking the bootloader, hardware protection Knoxis triggered, which makes it impossible to use Samsung Pay, Secure Folder this is irreversible!

2. Methods for obtaining root on Android 10: which one to choose?

The method of obtaining root depends on three factors: 1) Bootloader status (locked/unlocked). 2) Availability of custom recovery (TWRP). 3) Processor model (Qualcomm, Mediatek, Exynos).

Below is a comparison table of methods:

Method Requires bootloader unlocking Requires TWRP Supported devices Risk "brika"
Magisk (patched boot.img) Yes No Any (except Samsung s Knox) Low
SuperSU (obsolete) Yes Yes Only old devices (before 2019) High
Exploit (for example, DirtyCow) No No Devices with kernel vulnerabilities Medium
OneClick tools (KingRoot) No No Chinese smartphones on Mediatek Very high

For 90% of modern devices the method with Magisk via patch is optimal boot.img. It retains the possibility of OTA updates (if properly configured) and supports SafetyNet (important for banking applications). modern devices DirtyCow work only on firmware with vulnerabilities that have long been closed in security patches 2023+.

Magisk|SuperSU|Exploit (for example, DirtyCow)|OneClick tools (KingRoot, etc.)|Never tried-->

Why Magisk is the best choice for Android 10?

Magisk (developer topjohnwu) solves the key problems of the classic root:

  • ๐Ÿ”น The system partition remains untouched โ€” changes are made only to boot, which simplifies rollback.
  • ๐Ÿ”น SafetyNet support โ€” you can use Google Pay, Netflix banking applications (when hiding the root via MagiskHide).
  • ๐Ÿ”น Modular system โ€” installation of modifications (for example, ViPER4Android or AdAway) without editing system files.

โš ๏ธ Attention: Starting from Magisk v26.0 (2023), the module MagiskHide was removed due to stricter checks Google. Instead, use the module Universal SafetyNet Fix + Shamiko to hide the root.

3. Step-by-step guide: root via Magisk on Android 10

This method is suitable for devices with unlocked bootloader. If your bootloader is locked, first complete section 4, then return here.

Step 1: Download the necessary files

You will need:

  • ๐Ÿ“ฑ Original firmware for your model (download from the manufacturer's official website or XDA).
  • ๐Ÿ–ฅ๏ธ Platform Tools (includes adb and fastboot) โ€” official link.
  • ๐Ÿ› ๏ธ Magisk Manager (latest version) - GitHub repository.
  • ๐Ÿ”ง 7-Zip or WinRAR to extract boot.img from the firmware.

Step 2: Extract and patch boot.img

1. Unpack the downloaded firmware (usually this is a file .zip or .tar).

2. Find the file boot.img (may be called boot.img.lz4 โ€”then unpack it via LZ4 Tool).

3. Copy boot.img to your phone.

4. Open Magisk Manager, click Install โ†’ Select and Patch a File and select boot.img.

5. After patching, the file will be saved as magisk_patched.img in the folder Download.

๐Ÿ’ก

If there is no separate boot.imgin the firmware, but only payload.bin (typical for Google Pixel), use the tool Payload Dumper to extract the image.

Step 3: Flash patched boot.img

1 Connect the phone to the PC in fastboot (turn off the device, then press Power + Volume Down).

2. In the command line (in the folder with platform-tools) run:

fastboot flash boot magisk_patched.img

3. For devices with a partition boot_a/boot_b (for example, OnePlus 7T) use:

fastboot flash boot_a magisk_patched.img

fastboot flash boot_b magisk_patched.img

4. Reboot the phone:

fastboot reboot

Step 4: Check the root and configure Magisk

After downloading:

  • ๐Ÿ” Install Root Checker from Play Market and check the status of the root.
  • ๐Ÿ›ก๏ธ In Magisk Manager activate the modules Universal SafetyNet Fix i Shamiko (to hide the root from banking applications).
  • ๐Ÿ”„ If the root does not work, repeat the firmware boot.img with the option disabled AVB (add --disable-verity --disable-verification to the command fastboot).

๐Ÿ’ก

Flash magisk_patched.img needed AFTER EVERY Android update! Otherwise, the root will disappear, and the system may get stuck on loading.

4. Unlocking the bootloader: instructions for different brands

The process of unlocking the bootloader varies depending on the manufacturer Below are the current methods for popular brands for 2026. year.

๐Ÿ“ฑ Samsung (Exynos/Mediatek)

On devices Samsung with processors Exynos (for example, Galaxy S21, Note 20) unlocking is possible, but with reservations:

  • ๐Ÿ”“ Turn on OEM Unlock in Settings โ†’ Phone information โ†’ Software information โ†’ Build number (tap 7 times to activate developer mode).
  • ๐Ÿ”ง Use the utility Odin (version 3.14.4+) for firmware TWRP or patched boot.img.
  • โš ๏ธ After unlocking it will work Knox (check the status via *#06# - if Knox: 0x1, the warranty has expired).

Bypassing Knox on Samsung

On Some models (for example Galaxy S10 Lite) you can use the "Combination Firmware" method to temporarily bypass Knox, but this requires deep knowledge and is risky. Find details in the topics XDA according to your device model.

๐Ÿ“ฑ Xiaomi (Mediatek/Qualcomm)

Xiaomi blocks bootloader unlocking via account linking Mi. Algorithm of actions:

  1. Link the device to your account Mi to Settings โ†’ Xiaomi Account.
  2. Go to Settings โ†’ Advanced โ†’ For developers โ†’ Mi Unlock status and link the device.
  3. Download Mi Unlock Tool (latest version) and log in.
  4. Connect your phone in mode fastboot and follow app instructions. Typically, a wait of 7โ€“14 days is required (on new devices).

โš ๏ธ Attention: On devices Xiaomi with a processor Mediatek (for example, Redmi 9A) after unlocking, you may need to update the firmware VBmeta with disabled check AVB:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

Without this, the phone will freeze on the logo.

๐Ÿ“ฑ Google Pixel

Google I have simplified the process as much as possible for my devices:

  1. Activate OEM Unlock in the settings developer.
  2. Connect your phone to the PC and do:
    fastboot flashing unlock

    Confirm unlocking on the phone screen (volume buttons).

  3. Flash magisk_patched.img as described in section 3.

On Pixel 4a and newer, after unlocking, all data (including internal memory) is automatically reset.

๐Ÿ“ฑ OnePlus

On OnePlus 7/8/9 series, unlocking takes 5 minutes:

fastboot oem unlock

But please note:

  • ๐Ÿ”‹ On OnePlus 9 Pro s OxygenOS 12+ you need to disable Critical Unlock in the developer settings (otherwise it will be blocked Widevine L1and Netflix will show in low resolution).
  • ๐Ÿ”„ After unlocking, flash fastboot flash boot magisk_patched.img immediately fastboot flash dtbo dtbo.img (otherwise the camera will stop working).

5. Alternatives to root access: when they can be avoided

root access is not always necessary to solve problems. In many cases, alternative methods are sufficient:

Task Root required? Alternative
Removing built-in applications No Disable via ADB:
adb shell pm uninstall -k --user 0 com.android.bloatware
Backup applications with data No Swift Backup (works via ADB Backup)
Changing system fonts No Applications like iFont (requires Magisk only for system fonts)
Ad blocking No Blokada or DNS66 (without root, but with VPN)
CPU overclocking Yes No alternatives (requires a supported kernel CPU Tuning)

If your goal is remove bloat or backup, try to do without root. For example, to disable unnecessary services Google use the command:

adb shell pm disable-user --user 0 com.google.android.apps.magazines

This safer than rooting and does not affect SafetyNet.

๐Ÿ’ก

For devices with Android 10 and newer, use Shizuku + AppOps - this allows you to manage application permissions without root, including access to geolocation and microphone.

6. Risks and how to minimize them

Obtaining root access entails not only opportunities, but also threats. Here are the key risks and ways to avoid them:

  • ๐Ÿ’€ "Brick" devices - happens when the firmware is incorrect boot.img or the process is interrupted. Solution: always check the hash sum (MD5) of the downloaded files and. use Fastboot Enhance to control the process.
  • ๐Ÿ›ก๏ธ Loss of SafetyNet - without root, many banking applications and games (Pokรฉmon GO) refuse to work. Solution: modules Universal SafetyNet Fix + MagiskHide Props Config.
  • ๐Ÿ”„ Problems with OTA updates - after rooting, system updates can break the bootloader. Solution: Before updating, remove the root via Magisk (Uninstall โ†’ Complete Uninstall).
  • ๐Ÿ•ต๏ธ Data leak โ€”root applications can access passwords and tokens Solution: use AFWall+ to block network access. suspicious applications.
โš ๏ธ Attention: On devices with Dynamic Partition (entered in Android 10), incorrect resizing of partitions (for example, through TWRP) leads to data loss without the possibility of recovery. create a full backup in sections via:
adb backup -apk -obb -shared -all -f backup.ab

If after rooting the phone stops booting:

  1. Try to boot into fastboot and flash the original boot.img.
  2. If the screen is black - connect the phone to the PC and check the command output:
    fastboot devices

    If the device is not detected, you will need EDL mode (for Qualcomm) or SP Flash Tool (for Mediatek).

7. Common errors and their solutions

Even if you follow the instructions, errors may occur. Here are the most common ones and how to correct them:

Error Cause Solution
fastboot: error: Cannot generate image for userdata There is not enough space in the partition userdata or it is encrypted Reset via fastboot -w or disable encryption in TWRP (Format Data โ†’ Yes)
Magisk is not installed after flashing Invalid boot.img or conflict with modules Flash the original boot.img, then repeat the patch from a clean one Magisk (without modules)
The phone is stuck on the logo after root Not flashed dtbo or conflict with VBmeta Flash:
fastboot flash dtbo dtbo.img

fastboot --disable-verity flash vbmeta vbmeta.img

Google Pay doesn't work SafetyNet failed or root is not hidden Install modules Universal SafetyNet Fix + Shamiko, then check the status via YASNAC

If Magisk Manager does not see the root after successful firmware:

  • ๐Ÿ”„ Reinstall Magisk Manager (download the latest version from GitHub).
  • ๐Ÿ“ฑ Check that in Settings โ†’ System โ†’ About phone the root status is displayed as Magisk.
  • ๐Ÿ”ง If there is a root, but applications do not see it, activate MagiskHide (in Magisk v24+ this is called Enforce DenyList).

What to do if the camera stops working after rooting?

On some devices (for example, OnePlus 8 Proafter flashing magisk_patched.img the camera breaks due to missing files persist.img. Solution:

  1. Download the full firmware for your model.
  2. Extract persist.img and flash it:
    fastboot flash persist persist.img
  3. Restart the phone.

If the problem persists, check whether the module conflicts Magisk with the camera drivers (disable all modules and test one at a time).

8. FAQ: answers to frequently asked questions

โ“ Is it possible to get root on Android 10 without unlocking? bootloader?

Theoretically, yes, but only through exploits (for example, DirtyCow or CVE-2020-0041However:

  • ๐Ÿ”’ Most exploits are closed in security patches after 2020.
  • โš ๏ธ The risk of "brick" is higher than with the standard method.
  • ๐Ÿ“ฑ On Samsung i Google Pixel this is almost impossible.

If your device was released after 2021, the chances are close to zero. Itโ€™s better to unlock the bootloader legally.

โ“ How to hide root from banking applications?

To bypass SafetyNet and detection systems:

  1. Install in Magisk modules:
    • Universal SafetyNet Fix (required)
    • Shamiko or MagiskHide Props Config
  • Enable Enforce DenyList in settings Magisk and add banking applications to the list.
  • Check the status via YASNAC โ€”all items (ctsProfile, basicIntegrity) should be true.
  • If that doesnโ€™t help, try Island (sandbox) or Shelter for isolation applications.
  • For Sberbank Online and Tinkoff you may additionally need to disable Magisk completely (there is an option to temporarily disable in the settings).

    โ“ Is it possible to update Android after receiving the root?

    Yes, but with reservations:

    • ๐Ÿ”„ OTA updates they break the root because they replace boot.img. Before updating:
      1. Remove root via Magisk (Uninstall โ†’ Complete Uninstall).
      2. Accept the update.
      3. After the update, repeat the patch boot.img (from the new firmware!) and flash it again.
  • ๐Ÿ“ฆ Manual firmware (via Odin/Fastboot) - safer, but requires:
    • Downloading the full firmware for your model.
    • Patching a new one boot.img through Magisk.
    • Firmware of all partitions (boot, dtbo, vbmeta).
  • On Samsung after the update, you may need to re-unlock the bootloader (due to Knox).

    โ“ How to return the warranty after rooting?

    Formally, the warranty is lost after unlocking the bootloader, but there are ways to return the device to its "factory" state:

    1. Download full stock firmware for your model (for example, from XDA or the official website).
    2. Flash it via fastboot or Odin (for Samsung):
      fastboot flash --slot=all system system.img
      

      fastboot flash boot boot.img

      fastboot flash dtbo dtbo.img

      fastboot flash vbmeta vbmeta.img --disable-verity --disable-verification

    3. Reset via fastboot -w or in the recovery menu (Wipe Data/Factory Reset).
    4. Close bootloader (if possible for your model):
      fastboot flashing lock
    5. Check the status Knox (for Samsung): if 0x0, the service center will not detect interference.

    โš ๏ธ On Google Pixel and some Xiaomi the bootloader status (locked/unlocked) is retained even after repeated blocking. In this case, the warranty cannot be returned.

    โ“ Ra