ThisCalculator

Everyday

Root ZTE Nubia Z9 Classic & Install TWRP

Updated · Standard formula, shown below

Root ZTE Nubia Z9 Classic & Install TWRP

This guide walks you through unlocking the bootloader, rooting your ZTE Nubia Z9 Classic, and installing TWRP custom recovery. Rooting gives you full system access, while TWRP allows you to flash custom ROMs, create full backups, and install mods. You’ll need a Windows PC, a USB cable, and about 30 minutes of time. Before starting, back up all important data – the process wipes your phone.

What You’ll Need

  • ZTE Nubia Z9 Classic (NX508J) with at least 70% battery
  • Windows PC (7, 8, 10, or 11)
  • Original USB cable and a working USB port
  • USB debugging enabled (Settings > About phone > tap Build number 7 times, then Settings > Developer options > USB debugging)
  • OEM unlocking enabled (if present in Developer options)
  • Download and extract the Nubia Z9 Classic root package (includes ADB, Fastboot, TWRP image, and Magisk APK) – search for “Nubia Z9 Classic root package” on reputable XDA-Developers threads

Step-by-Step

  1. Install ADB and Fastboot drivers. Open the extracted root package folder and run the driver installer (usually named InstallDriver.exe or similar). Follow the prompts. If Windows asks, allow the driver installation.
  2. Enable Developer options and USB debugging. Go to Settings > About phone, tap “Build number” 7 times until you see “You are now a developer!”. Then go to Settings > Developer options and toggle on “USB debugging” and “OEM unlocking” (if available).
  3. Connect your phone to the PC. Plug in the USB cable. On your phone, a dialog will appear asking to allow USB debugging – check “Always allow from this computer” and tap OK.
  4. Verify the connection. In the extracted folder, open a command prompt (Shift+Right-click > “Open command window here”). Type adb devices and press Enter. You should see your device serial number followed by “device”. If it says “unauthorized”, re-check the phone screen and allow the prompt.
  5. Back up your data. Since unlocking the bootloader will wipe the phone, copy any important photos, contacts, and files to your PC or cloud storage. Also, ensure you have a backup of your current ROM if you plan to restore it later.
  6. Unlock the bootloader. In the command prompt, type adb reboot bootloader and press Enter. The phone will reboot into Fastboot mode (you’ll see a black screen with a small Android robot). Then type fastboot devices to confirm it’s detected. Now type fastboot oem unlock and press Enter. Your phone will show a confirmation screen – use the volume keys to select “Unlock” and press the power button to confirm. This wipes your phone and reboots it. Wait for the phone to fully boot up, then go through the initial setup again (skip signing in for now).
  7. Re-enable USB debugging. After the reboot, go back to Settings > Developer options and re-enable USB debugging (and OEM unlocking if it was reset). Connect the phone again and accept the debugging prompt.
  8. Flash TWRP recovery. In the command prompt, type adb reboot bootloader again to enter Fastboot. Then type fastboot flash recovery twrp.img (replace twrp.img with the actual filename of the TWRP image you downloaded). Press Enter. You should see “OKAY” in the output. Then type fastboot reboot to restart the phone.
  9. Boot into TWRP. Immediately after the phone restarts, hold the Volume Up + Power buttons together for a few seconds until the TWRP logo appears. If you miss it, just reboot and try again. TWRP should now be installed.
  10. Install Magisk (root). In TWRP, tap “Install”, then navigate to the Magisk APK (or Magisk ZIP) you downloaded. Select it and swipe to confirm the flash. Wait for the installation to complete, then tap “Reboot System”.
  11. Verify root. After the phone boots, install the Magisk Manager app (if not already installed). Open it – it should show “Magisk installed” and the version number. You can also download a root checker app from the Play Store to confirm.

Common Mistakes

  • Using the wrong TWRP image. The Nubia Z9 Classic has a specific TWRP build. Using a generic one can cause boot loops or soft-brick. Always download from a trusted source specific to the NX508J model.
  • Skipping the bootloader unlock. If you skip step 6, the flash will fail or the phone won’t boot. The bootloader must be unlocked first.
  • Not backing up data. Unlocking the bootloader wipes the phone. Losing photos or contacts is a common regret.
  • USB cable issues. Using a cheap or damaged cable can cause disconnections during flashing, leading to a brick. Use the original cable or a high-quality one.
  • Booting straight to system after flashing TWRP. If you let the phone boot normally, it may overwrite TWRP with stock recovery. Always boot directly into recovery after flashing.

Tips

  • Keep the extracted folder on your desktop for easy access.
  • If the phone doesn’t show in adb devices, try a different USB port (preferably a rear port on a desktop).
  • After rooting, you can use Magisk modules to add features, but only install modules from trusted sources.
  • Make a Nandroid backup in TWRP (Backup option) before making any system changes. This is your safety net.
  • If you ever need to unroot, you can flash the stock boot image via TWRP or use Magisk’s “Uninstall” option.

Troubleshooting

  • Phone stuck in boot loop. Boot into TWRP (Volume Up + Power), then wipe cache and dalvik cache. If that fails, restore your Nandroid backup or reflash the stock ROM via Fastboot.
  • Fastboot command not recognized. Ensure you have the correct drivers installed and that you’re in Fastboot mode (check with fastboot devices). If it says “waiting for device”, reinstall drivers or try a different USB port.
  • TWRP doesn’t stick after reboot. This happens if you boot to system before flashing Magisk. Re-flash TWRP and immediately boot into recovery again.
  • Magisk Manager says “Not installed”. Re-flash the Magisk ZIP in TWRP. Make sure you downloaded the correct version for your Android version (likely Android 5.1.1).
  • Phone won’t boot at all (black screen). Hold the power button for 10+ seconds to force restart. If still black, try entering Fastboot (Volume Down + Power) and re-flash the stock boot image or ROM.

Frequently Asked Questions

Will rooting void my warranty?

Yes, unlocking the bootloader and rooting typically voids the manufacturer warranty. If you need to claim warranty, you can usually restore the stock ROM and lock the bootloader, but it’s not guaranteed.

Can I still receive OTA updates after rooting?

No, OTA updates will likely fail because the system partition is modified. You’ll need to manually flash updates or wait for custom ROMs.

Is it safe to root the Nubia Z9 Classic?

Rooting itself is safe if you follow the steps correctly. The risk is in flashing wrong files or interrupting the process. Always use files specific to your model.

What is the difference between TWRP and stock recovery?

TWRP is a custom recovery that allows you to flash ZIP files, create full system backups, and wipe partitions. Stock recovery only allows factory resets and official OTA updates.

Can I unroot later?

Yes, you can unroot by using Magisk’s “Uninstall” option or by flashing the stock boot image via TWRP. You can also relock the bootloader with fastboot oem lock after restoring stock.

Will rooting improve battery life?

Rooting itself doesn’t improve battery life, but it allows you to install apps like Greenify or custom kernels that can reduce battery drain. It’s not guaranteed and depends on how you use it.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.