ZTE Blade (Gen2): Root and Recovery

From CyanogenMod Wiki
Jump to: navigation, search

This guide will walk you through the process of taking the ZTE Blade (Gen2) from stock to having a custom recovery image & being able to flash the latest version of CyanogenMod.

For other related guides please view the following:

Contents

Before you do anything — Make a backup

Don't forget to back up your data. If you have synced the device with a Google account, then the contacts, calendar, Gmail, & select other Google-related data will not be lost and will come back after the next sync. However, you should backup anything you want to keep that is not stored on the SD card:

It would also be a good idea to backup everything stored on the SD card in the rare case the SD card must be formatted to resolve any major problems.

MyBackup Root, SMS Backup & Restore, and Call Backup & Restore are all free applications that can assist with backing up your data.

Rooting the ZTE Blade

Warning: Rooting the ZTE Blade will void the warranty.
  1. You will need ADB on the computer to root the ZTE Blade. Follow the Android SDK guide, to get the ADB shell on the computer.
  2. Download rageagainstthecage-arm5, the ZTE Drivers & the Superuser package:
    • rageagainstthecage-arm5: Download
      md5: bfa28d457b54508326ab55d11399c586
    • ZTE devices drivers 5.2066.1.8 (Windows Only): Download
      md5: ce77e04d4b6fe5a4e11a922e3d82f025
    • Superuser package: Download
      md5: 43d9a40b63e916635d5ad7ca32433fab
  3. Windows Only: Install the ZTE device drivers.
  4. Unzip rageaginstthecage-arm5 & the Superuser package to the same folder as adb (the /platform-tools folder within the Android SDK folder).
  5. Connect the ZTE Blade to the computer via USB.
  6. On the computer, open terminal and run the following commands:
    adb push rageagainstthecage-arm5.bin /data/local/tmp/
    adb shell
    chmod 777 /data/local/tmp/rageagainstthecage-arm5.bin
    /data/local/tmp/rageagainstthecage-arm5.bin
  7. Once the exploit finishes, in terminal, run the following commands:
    exit
    adb kill-server
    adb start-server
    adb shell
    NOTE: You should see a "#". If you see a "$", then the exploit didn't work, please repeat steps 4 & 5.
    mount -o rw,remount /system
    NOTE: For Gen 2 ROM 2.2, the "mount" command above does not work. the /system is already writable to root. Hence the "mount" could be skipped. However, we need to create the /system/xbin folder manually:
    mkdir /system/xbin
    exit
    adb push su /system/xbin/
    adb shell chmod 4755 /system/xbin/su
    adb push Superuser.apk /system/app/
  8. The ZTE Blade is now rooted, please continue to the next section.

Installing the ClockworkMod Recovery

If the ZTE Blade already has a custom Recovery Image installed, you may skip this section.

  1. Search for ROM Manager in the Market (free or paid) and install the app.
  2. Open the ROM Manager application and select Flash ClockworkMod Recovery.
  3. Click on ZTE Blade and then give the app root permission if it prompts you.
  4. If it hangs after that and freezes up, just allow the app to Force Close. Then open it back up and repeat steps 2 & 3.
  5. Once the flash was successful, you should see a dialog box that says "Successfully flashed ClockworkMod recovery!".
  6. Press OK.
  7. The ClockworkMod Recovery should now be installed on the ZTE Blade.

Flashing CyanogenMod

Please follow the Flashing CyanogenMod guide to continue.
Personal tools