HTC Desire Z: Firmware Downgrade (Froyo)

From CyanogenMod
Jump to: navigation, search

This guide will walk you through the process of taking the HTC Desire Z from a stock, non-exploitable version of the Froyo firmware to a stock, exploitable version of the Froyo firmware. Once it is downgraded, you would proceed thru the process of getting CyanogenMod on the device. If the HTC Desire Z is already running firmware version 1.34.xxx.x or lower (Settings » About Phone » Software number ) you can skip to the vision install guide.

For other related guides please view the following:

  • for the HTC Desire Z running Gingerbread, see the Gingerbread instructions.

Downgrading to 1.34.707.3

  1. You will need ADB on the computer to proceed thru this process. Follow the Android SDK guide, to get the ADB shell on the computer.
  2. Download psneuter, misc_version 0.2 & the 1.34.707.3 firmware:
    • psneuter: Download
      md5: 89c2dec8d72d87b4c669f44dd31c8d17
    • misc_version 0.2: Download
      md5: 1f40aaf88d1bf15775631a58c4361218
    • flashgc: Download
      md5: 86e6e81fad3b3c837ed8bd09b6005651
    • 1.34.707.3 firmware: Download
      md5: 8aa11b9e9db9877b029f37caec49547d
  3. Unzip the psneuter & misc_version package and save flashgc to the same folder as adb (the /platform-tools folder within the Android SDK folder).
  4. Make sure the filename of the firmware is PC10IMG.zip exactly or it will not work and copy it to the same folder as adb.
  5. Connect the HTC Desire Z to the computer via USB.
  6. On the computer, open terminal and run the following commands:
    adb push psneuter /data/local/tmp
    adb push misc_version /data/local/tmp
    adb push flashgc /data/local/tmp
    adb shell
    chmod 777 /data/local/tmp/psneuter
    chmod 777 /data/local/tmp/misc_version
    chmod 777 /data/local/tmp/flashgc
    /data/local/tmp/psneuter
    adb shell

Note:

You should have the "#" sign instead of the "$". If you do, you have temporary root, and can continue on. If you have the "$", then the exploit has failed, refer to xda developers, RootzWiki, or #G2Root for further assistance.

  1. cd /data/local/tmp
    ./misc_version -s 1.00.000.0
    ./flashgc
    exit
  2. Now that misc version has been downgraded, the HTC Desire Z is ready to have the firmware downgraded. On the computer, open terminal and run the following commands:
    adb push PC10IMG.zip /sdcard/PC10IMG.zip
    adb reboot bootloader
  3. Use Volume up/down keys on the HTC Desire Z for navigation and Power key for confirmation. Select Bootloader to flash the 1.34.707.3 firmware.
  4. Once finished you can can continue to the next section.

Rooting the HTC Desire Z

Please follow the vision install guide to continue.