HTC Desire USB Brick fix | Guide for noob


What is USB brick? from what I have experienced, once you have bricked your phone, you wont be able to:
- mount SDCard and the device wont be properly recognized by windows
- receive network signal
- enable bluetooth
and experiencing battery drain.
Full breakthroughs is available in XDA, however I found out it may be quite difficult for some user to follow. Here I provide step by step guide (from noob to noob :) )
#FIRST# Enable your SDCard mounting functionality
- connect your phone to PC via USB and run 'fastboot oem enableqxdm 0' command via adb (u need mount SDCard in order to flash your recovery image)

#SECOND# Find your phone CID
- run 'fastboot oem boot' from adb environment as above again
it will display a log, you need to find something like this : #INFOCID is HTC__E11 , which mean your CID is HTC__E11
#THIRD# Generate your CID
you may use CID generator at http://ks25738.kimsufi.com/misc/ (note: you may enter ROM version as per example in the page, i found it doesnt really matter as I cant find mine as well)
Grab flash_image.zip from XDA forum for the topic (http://forum.xda-developers.com/showthread.php?t=691639)


#FOURTH# Copy all the needed files to SDCard (which now should be able to mount)
- mtd0.img
- flash_image.zip (remember to unzip the files before copying to your data folder)
Two important files (flash_image and mtd0.img) that need to be restore to fix usb brick htc desire.


#COPYING FILES#
start your terminal emulator (you may download terminal emulator app from android market if you havent install it), then run these command to copy the files from your SDcard root folder to /data/ folder in your phone
'cat /sdcard/flash_image > /data/flash_image'
'cat /sdcard/mtd0.img > /data/mtd0.img'
or if you ran into problem, follow these command sequence:

su
cat /sdcard/flash_image > /data/
cat /sdcard/misc.img > /data/
chmod 755 /data/flash_image
/data/flash_image misc /data/misc.img

if you happened to failed at 'su' which is a command to enable your superuser access to your phone, then you should root your phone before going be able to fix it

Comments

  1. Thank you, that was a very thorough guide.

    ReplyDelete
  2. First, thanks for this guide. The stripped down version is useful ! I got my USB back, and my, it feels good.

    A few remarks, though:
    - about the commands, two alternatives are shown, while there are two alternatives followed by one command. The first thing is to copy the files (flash_image & mtd0.img) to data, AND execute /data/flash_image misc mtd0.img
    - it ain't obvious that the fastboot command must be ran from fastboot... just saying ;-)

    Hope these extra infos save a few minutes for somebody.

    ReplyDelete
  3. cannot create /data/ : is a directory

    ReplyDelete
  4. thx a lot!! really save me a hell lot of problem ^^

    ReplyDelete
  5. Alex, you can't leave a space between the "/" and "data". if you do it reads the "/" as a directory

    ReplyDelete

Post a Comment