>How To Fix Unrooted HTC Desire USB Brick


If you are stuck with a USB bricked HTC Desire that isn’t rooted, there is good news for you as XDA-Developers forum memberleinad has posted a solution for this problem to get your unrooted Android phone out of its USB bricked state and we are bringing the method here for you in form of a complete guide.
A USB brick is the state where your Android device isn’t getting recognized by the computer via USB in ADB (USB debugging) mode or in normal mode while booted into Android. The cause for this is usually a messed up misc partition and once it happens, there is little you can do to fix any issues that may arise later. If your device is rooted, you can still fix many problems using a terminal app directly on your phone but in case you didn’t root the device prior to the USB brick, you are often left without any solutions as rooting several Android devices and especially those by HTC, Samsung etc. requires you to connect your phone to your computer via USB. Fortunately, this method helps you when you are stuck in such a fix.
We came across this method while going through a tread at XDA-Developers in which a user asked for help with his USB brick issue and leinad proposed the first few steps of this solution. We then asked him about the remaining steps and he responded with the complete instructions, mentioning that credit goes to Antubis from the French Android forum FrAndroid who originally posted the method in French which leinad translated for us.

Disclaimer: Please follow this guide at your own risk. Tiptz will not be liable if your device gets damaged or completely bricked during the process.

  1. Reboot your device into its bootloader (fastboot) mode and connect it to your computer via USB.
  2. Launch a Command Prompt window on your computer and enter this command:
    fastboot oem enableqxdm 0
  3. On your phone, Go to Menu > Settings > About phone > Software information and note down the Kernel version that you see there. If you see more than just numbers, only note down the numbers e.g.
  4. In the Command Prompt window on your computer, enter this command:
    fastboot getvar cid
  5. Note down the CID that you get. It should be something similar to ‘HTC__022’.
  6. Visit this site, enter the CID from step 4 and the kernel version from step 3 as the ROM version, and click ‘OK’. This will generate an mtd0.img file and prompt you to download it. Save it somewhere you will remember.
  7. Now connect your SD card to your computer using a card reader device or another phone, and transfer the extracted HTC Desire USB Unbrick files as well as this mtd0.img to it. Make sure the files are in the root of the SD card and not in any folder.
  8. Insert the SD card back into your phone.
  9. Launch Terminal Emulator on your phone and enter these commands:
cat /sdcard/rageagainstthecage-arm5.bin > /data/data/jackpal.androidterm/rageagainstthecage-arm5.bin
cat /sdcard/flash_image > /data/data/jackpal.androidterm/flash_image
cat /sdcard/mtd0.img > /data/data/jackpal.androidterm/mtd0.img
cd /data/data/jackpal.androidterm/
chmod 755 rageagainstthecage-arm5.bin flash_image

  1. In case your phone seems to crash or shows erratic behavior, ignore it for now.
  2. Completely quit Terminal Emulator: First press the ‘Home’ button and then go to Menu > Settings > Applications > Manage Applications > All, find ‘Terminal Emulator’ there and tap ‘Force Stop’.
  3. Launch Terminal Emulator again. This time, you should see a # prompt instead of $, indicating you have achieved temporary root access necessary for the next step.
  4. Enter these commands in Terminal Emulator:
    cd /data/data/jackpal.androidterm/
    ./flash_image misc mtd0.img
  5. Finally, reboot your phone and you’re done.
That’s all there is to it – your USB brick issue should now be fixed.

About nonerox

Btech Student
This entry was posted in Android, Hardware, HTC, Mobile. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s