How to Root ZTE Phones Step by Step Guide
In this article
Rooting a ZTE phone gives you full control over the operating system, allowing installation of custom ROMs, removal of bloatware, and access to advanced features that stock firmware hides.
Before you begin, gather the necessary tools and files. You will need a computer with ADB and Fastboot installed, the appropriate USB drivers, the specific firmware for your ZTE model, and a reliable rooting package such as Magisk. Ensure your phone's battery is at least 50% charged and that you have backed up all important data, as the process will wipe the device.
What You'll Need
- A Windows or Linux PC
- USB cable compatible with your ZTE device
- ADB and Fastboot binaries
- Device-specific firmware or stock ROM
- Magisk zip package
- Custom recovery image (TWRP) for your model
- Backup of all personal data
Step-by-Step
- Install ADB and Fastboot on your computer and verify the installation by opening a command prompt and typing
adb versionandfastboot version. You should see version numbers without errors. - Download the official firmware for your exact ZTE model from the manufacturer's website or a trusted firmware repository. Save the firmware zip file to an easy-to-find location.
- Extract the firmware zip on your PC. Locate the
boot.imgfile inside the extracted folder; this is the image you will modify. - Download the latest TWRP recovery image for your ZTE device from the official TWRP site. Place the
.imgfile in the same folder as the firmware files. - Enable Developer Options on your phone by going to Settings > About phone and tapping Build number seven times. Return to Settings and select Developer options, then turn on USB debugging and OEM unlocking.
- Connect the phone to the PC via USB. In the command prompt, type
adb devicesto confirm that the device is recognized. If it showsunauthorized, accept the prompt on the phone. - Reboot the phone into fastboot mode with
adb reboot bootloader. Once in fastboot, verify the connection withfastboot devices. - Flash the stock boot image to restore a clean state:
fastboot flash boot boot.img. This step ensures the device boots normally before you flash a custom recovery. - Flash TWRP recovery by running
fastboot flash recovery twrp.img. After flashing, boot directly into recovery withfastboot boot twrp.imgor by using the hardware key combination for your model. - Within TWRP, perform a full data wipe: go to Wipe > Advanced Wipe, select System, Data, Cache, and Dalvik/ART Cache, then swipe to confirm. This removes any remnants of the stock firmware that could interfere with rooting.
- Copy the Magisk zip file to the phone's internal storage. In TWRP, use the Install button, navigate to the Magisk zip, and swipe to flash it.
- After flashing, go to Mount > Advanced Mount and enable both System and Data mounts. Then reboot the device.
- Upon boot, open the Magisk Manager app. If it shows
Magisk is installedand displays the version number, the rooting was successful. - Optional: To hide root from certain apps, open Magisk Manager, go to Settings, and enable Zygisk and the appropriate modules.
Common Mistakes
Choosing the wrong firmware for your exact ZTE model will cause flashing to fail or brick the device. Always double‑check the model number (e.g., ZTE Blade A7 2019, ZTE Axon 7, etc.) before downloading.
Skipping the data wipe in TWRP can leave residual partitions mounted, leading to boot loops. Make sure to wipe System, Data, Cache, and Dalvik caches completely.
Using an outdated version of Magisk may result in compatibility issues with newer Android releases. Verify that the Magisk zip matches the Android version on your phone.
Failing to enable OEM unlocking in Developer Options will prevent the bootloader from accepting fastboot commands, leaving the device stuck in fastboot mode.
Tips
Keep a copy of the original boot.img in a safe folder. If the device fails to boot after flashing, you can restore the original image with fastboot flash boot original_boot.img.
Some ZTE models require a specific key combination to enter fastboot mode; consult the device’s XDA‑Developers forum thread for the exact sequence.
If you encounter a “verification failed” error when flashing, it is often due to a mismatched boot image or an unsigned recovery. Re‑download the correct images and repeat the flashing steps.
Troubleshooting
Device not recognized by ADB: Re‑install the USB drivers, try a different USB port, or use a different cable. On Windows, open Device Manager and look for any yellow exclamation marks.
Boot loop after flashing Magisk: Boot into TWRP recovery again, perform a full wipe, and flash the stock boot.img you saved earlier. Then re‑flash Magisk.
Magisk Manager does not open: Ensure that the Magisk zip was flashed in the correct slot (usually the default slot). If the problem persists, reinstall TWRP and repeat the flashing process.
OEM unlocking blocked: Some carriers lock the bootloader permanently. In that case, rooting may not be possible without hardware modifications, and you should consider staying on stock firmware.
Frequently Asked Questions
Do I need to unlock the bootloader to root a ZTE phone?
Yes. Unlocking the bootloader is required for fastboot flashing of custom recovery and boot images.
Will rooting void my warranty?
Most manufacturers consider unlocking the bootloader and flashing custom images as a violation of warranty terms.
Can I root any ZTE model?
Only devices with an unlockable bootloader and a compatible custom recovery can be rooted. Check XDA forums for model‑specific guides.
Is rooting safe for the device?
When performed with the correct firmware and following the steps precisely, rooting is safe. Mistakes such as flashing the wrong image can brick the phone.
Do I need to install a custom ROM after rooting?
No. Rooting alone provides superuser access; you can install any ROM or keep the stock firmware if you prefer.
Will rooting affect my Google account or services?
Rooting itself does not affect Google services, but some apps may refuse to run on rooted devices unless you hide root using Magisk.