TechBuzzPro

How to Root Any Android 10 Device: Step-by-Step

· 6 min read · Phones & Tablets

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Rooting an Android 10 device is not a single universal procedure, and there is no one-click method that safely works on every phone. The honest answer is that you root by unlocking the bootloader, patching the stock boot image with Magisk, and flashing that patched image back. Whether you can do this depends entirely on your device manufacturer, because many phones (Huawei, some Samsung models, most carrier-locked devices) either block bootloader unlocking or make it impractical. The steps below describe the standard Magisk method that works on devices with an unlockable bootloader, and they assume you are comfortable using a computer and command-line tools.

Before you begin, understand what rooting achieves: it gives you superuser access to the Android system, letting you run apps that need elevated privileges, remove preinstalled system apps, or make deep system modifications. It also voids your warranty on most devices, can break banking and payment apps that detect root, and carries a real risk of bricking the phone if you flash the wrong file. Back up everything first; unlocking the bootloader wipes all user data.

What You'll Need

  • A Windows, macOS, or Linux computer with a USB cable that supports data transfer (not charge-only).
  • ADB and Fastboot platform-tools installed on the computer (official Google downloads).
  • The exact stock firmware package for your device model and build number, obtained from the manufacturer's official site or your carrier's official firmware page.
  • Magisk (the official release from the Magisk GitHub repository) installed on the phone.
  • A bootloader unlock method specific to your manufacturer (e.g., fastboot oem unlock on many devices, Mi Unlock on Xiaomi, Odin and download mode on Samsung where supported).
  • At least 60% battery and a full backup of photos, messages, and app data.

Step-by-Step

  1. Confirm your device supports unlocking. Search your manufacturer's official support pages for bootloader unlocking. If the manufacturer does not provide an official unlock method, stop here; there is no safe way to root that device, and unofficial workarounds risk bricking it.
  2. Enable Developer Options. Go to Settings > About phone and tap Build number seven times. Then open Settings > System > Developer options and enable USB debugging and, if present, OEM unlocking.
  3. Back up your data. Unlocking the bootloader erases everything on the phone. Copy photos, contacts, and files to a computer or cloud service. App data for most apps will not be recoverable without root, so accept that some app logins will need to be redone.
  4. Unlock the bootloader. Connect the phone to the computer, open a terminal or command prompt in the platform-tools folder, and run adb devices to confirm the phone is detected. Then run adb reboot bootloader to enter fastboot mode. On devices that support it, run fastboot oem unlock or fastboot flashing unlock and confirm on the phone screen. Xiaomi, Samsung, and some other brands use their own tools and procedures; follow the manufacturer's official instructions exactly.
  5. Extract the stock boot image. Unzip the firmware package for your exact build number and locate the file named boot.img (or init_boot.img on some Android 13+ devices, but for Android 10 it is normally boot.img). Copy it to the phone's internal storage.
  6. Patch the boot image with Magisk. Open the Magisk app, tap Install, choose "Select and Patch a File," and pick the boot.img you copied. Magisk writes a patched file, usually named magisk_patched-xxxxx.img, to the Download folder. Copy that file back to your computer.
  7. Flash the patched image. Reboot the phone to fastboot mode (adb reboot bootloader). Run fastboot flash boot magisk_patched-xxxxx.img using the exact filename. Then run fastboot reboot.
  8. Verify root. Open the Magisk app. If it shows a version number and the status is installed, root is active. You can confirm with a root checker app from the Play Store, but Magisk's own status is the reliable indicator.
  9. Re-enable security features carefully. Some banking apps will refuse to run on a rooted device. Magisk Hide (or DenyList in newer Magisk versions) can hide root from selected apps, but it is not guaranteed to defeat every detection method.

Common Mistakes

The most frequent mistake is flashing a boot image from a different firmware build than the one installed. Even a minor version mismatch can cause a boot loop. Always match the exact build number shown in Settings > About phone. Another common error is using a patched image from another device or from a random download; only patch the file yourself from your own firmware. Many people also forget that unlocking the bootloader wipes data, then lose photos. Finally, some users flash the patched image to the wrong partition (for example, recovery instead of boot), which can prevent the phone from booting; double-check the partition name before flashing.

Tips

Keep a copy of the original unpatched boot.img on your computer so you can restore it if needed. Use a USB 2.0 port if fastboot does not detect the phone on a USB 3.0 port. Disable antivirus or security software temporarily if it interferes with ADB. After rooting, avoid installing modules from unknown sources; a bad Magisk module can cause a boot loop. If you rely on Google Pay or banking apps, test them immediately after rooting so you know whether you need to hide root or revert. Remember that OTA system updates will usually fail on a rooted device; you may need to restore the stock boot image before updating.

Troubleshooting

If the phone boot loops after flashing, hold the power button to force a restart, then boot into fastboot and flash the original unpatched boot.img to restore. If fastboot does not detect the device, try a different USB cable and port, and confirm the correct drivers are installed (on Windows, check Device Manager). If Magisk shows "Installed: N/A," the patch did not apply; re-patch the boot image and re-flash. If the bootloader unlock option is greyed out, the device may be carrier-locked or the manufacturer may have disabled unlocking; there is no official workaround. If the phone will not boot at all, you may need to reinstall the full stock firmware using the manufacturer's official flashing tool, which will erase all data.

Frequently Asked Questions

Can I root any Android 10 phone?

No. Rooting requires an unlockable bootloader. Many manufacturer and carrier variants block unlocking, and some devices have no official method. Check your manufacturer's official documentation before attempting anything.

Does rooting delete my data?

Unlocking the bootloader wipes all user data as a security measure. The rooting process itself (flashing the patched boot image) does not usually erase data, but the unlock step does. Back up first.

Will rooting void my warranty?

On most devices, yes. Unlocking the bootloader and modifying system software typically voids the manufacturer's warranty. Some manufacturers may still honor hardware defects, but software support is usually refused.

Can I unroot later?

Yes. Flash the original unpatched boot.img back to the boot partition, then optionally relock the bootloader. Relocking the bootloader may wipe data again on some devices, so check your manufacturer's instructions.

Why do banking apps stop working after root?

Many financial apps detect root or an unlocked bootloader as a security risk. Magisk's DenyList can hide root from selected apps, but detection methods vary and no solution is guaranteed.

Is rooting legal?

In many countries, rooting your own device is legal, but it may violate carrier terms or manufacturer warranties. Check your local laws and your carrier's terms before proceeding.