[DEV] USB-BRICK FIX - Restore USB function on your bricked Desire

Search This thread

falconyx

Senior Member
Jan 1, 2011
238
38
Sofia
Well yes I can activate bluetooth and phone is charging when I connect it, at a normal rate that is. Of course I also restarted pc and tried different ports etc.

For some reason I can't get ADB working on the pc I'm currently using, so I can't comment on that one..
 

falconyx

Senior Member
Jan 1, 2011
238
38
Sofia
Hey, I managed to fix this by wiping everything and flashing a new rom, seems it was some rom related bug. Thx for all replies though anyways ;)
 

seaskyways

Senior Member
Feb 13, 2012
574
344
beirut
Wildfire S ??

I am here on my Wildfire S , semi USB bricked
Symptoms :
1. i can't get sdcard mounted as disk drive while USb debuuging is open
2. i can't enter htc sync mode since when i choose it , it turns usb debugging on letting me no choice to disable usb debugging , and us debugging here on my bricked phone disables mount and htc sync ...

so what do you think ? is it the misc partition or any other , i tried flashing the orignal RUU which didn't work , so what you say , i am S-on with Unlocked bootloader ...
 

matus.karahuta

Senior Member
Sep 9, 2011
74
7
London
I am here on my Wildfire S , semi USB bricked
Symptoms :
1. i can't get sdcard mounted as disk drive while USb debuuging is open
2. i can't enter htc sync mode since when i choose it , it turns usb debugging on letting me no choice to disable usb debugging , and us debugging here on my bricked phone disables mount and htc sync ...

so what do you think ? is it the misc partition or any other , i tried flashing the orignal RUU which didn't work , so what you say , i am S-on with Unlocked bootloader ...

If your pc recognizes your phone, you are not bricked. If your phone starts charging immediately after being plugged into the wall, you are not bricked. If you even see the dialog to choose connectivity, you are not bricked.

Best way to deal with it is to take it back to the store, if you still have warranty. The next best thing is to try asking for help in HTC Wildfire forums, not Desire forums ;)

If you have all the correct drivers installed on your pc, this shouldnt happen and I don't want to give any advice on flashing when I never had your phone...

Anyways, good luck
 

Petaa

Senior Member
Dec 15, 2011
58
4
pleas tell me how to do :
1. Find out your CID. Go into fastboot mode, and do 'fastboot oem boot'.
 

angusc

Senior Member
May 12, 2006
2,799
504
Beijing
Not sure what device you have but if your device is supported the easiest option for brick fix would be to install 4Ext recovery as it has a built in USB brick fix tool.

Sent with Desire.
 

seawind107

Senior Member
Feb 16, 2012
51
6
Auckland
Are these mtd0.img and flash image suitable for sensation as well?If not, can anyone give me the mtd0.img and flash_image for sensation z710a (TELNZ001)?Thank you.
 

stex_80

Senior Member
Feb 11, 2010
119
4
Hi,

i tried all step of this guide but my SD CARD doesn't recognized by Desire, every step by Fastboot, terminal, ... failed.

please help me !!!:(
 
  • Like
Reactions: ultraprimeomega

boleroentrecopas

New member
Jun 26, 2008
2
0
Have you tried to upgrade your hboot with the last bravo release? HTC_Desire_Android_2.3_Upgrade.zip ( with PM99IMG.zip method) Maybe, flashing hboot will help to repair the fastboot and you will able to connect via usb,

Anyone tried to adapt the official bootloader unlock to help us?

sorry for my english
 
Last edited:

jmcclue

Senior Member
Apr 3, 2012
3,788
1,490
Have you tried to upgrade your hboot with the last bravo release? HTC_Desire_Android_2.3_Upgrade.zip ( with PM99IMG.zip method) Maybe, flashing hboot will help to repair the fastboot and you will able to connect via usb,

Anyone tried to adapt the official bootloader unlock to help us?

sorry for my english

trust me going s-on and ruu, PB99IMG does not work, i tried. try this guide, its based on this guide but slightly different. please remember its not only the cid number u have to change, put in ur software number too.

http://www.google.ie/url?sa=t&sourc...XTjMlr&usg=AFQjCNE6y7kx-Agh29QKseeCftdUz2wIQQ

Sent from my HTC Desire
 
Last edited:
  • Like
Reactions: boleroentrecopas

boleroentrecopas

New member
Jun 26, 2008
2
0
Thanks for trying but i can't do temproot with visionary+, it stucks with a blackscreen =(. I don't know if I'm doing something wrong, but it think that it's caused by 2.3.3 android version.

I've read that I have to change "main_ver" editing "misc partition" but i can't do it without usb

I think the only one posibility its modifiying the official method to unlock bootloader... but I don't have any idea the way to do it, its only an idea xD

Thanks!
 

PE4ce

Member
Mar 29, 2010
37
2
FM Radio doesn't work!!!!! The charging led when phone is off, doesn't work!! And I think is a USB-Brick.

But I tryed a lot of tutorials to fix and doesn't work, anyone could help?

C:\AndroidSDK\android-sdk-windows\platform-tools>fastboot oem boot
...
(bootloader) setup_tag addr=0xA0000100 cmdline add=0x8E07F9F0
(bootloader) TAG:Ramdisk OK
(bootloader) TAG:smi ok, size = 0
(bootloader) TAG:hwid 0x0
(bootloader) TAG:skuid 0x21F04
(bootloader) TAG:hero panel = 0x0
(bootloader) TAG:engineerid = 0x0
(bootloader) MCP dual-die
(bootloader) MCP dual-die
(bootloader) TAG:mono-die = 0x0
(bootloader) Device CID is super CID
(bootloader) CID is super CID
(bootloader) Backup CID is HTC__001
(bootloader) setting->cid::HTC__001
(bootloader) serial number: MB137PL02414
(bootloader) commandline from head: no_console_suspend=1 msmsdcc_sdioirq=
(bootloader) 1 wire.search_count=5
(bootloader) command line length =459
(bootloader) active commandline: board_bravo.disable_uart3=0 board_bravo.
(bootloader) usb_h2w_sw=0 board_bravo.disable_sdcard=0 diag.enabled=0 boa
(bootloader) rd_bravo.debug_uart=0 smisize=0 userdata_sel=0 androidboot.e
(bootloader) mmc=false androidboot.baseband=5.17.05.23 androidboot.cid=H
(bootloader) TC__001 androidboot.carrier=HTC-WWE androidboot.mid=PB992000
(bootloader) 0 androidboot.keycaps=qwerty androidboot.mode=normal android
(bootloader) boot.serialno=MB137PL02414 androidboot.bootloader=6.93.1002
(bootloader) no_console_suspend=1 msmsdcc_sdioirq=1 wire.search_count=5
(bootloader) aARM_Partion[0].name=misc
(bootloader) aARM_Partion[1].name=recovery
(bootloader) aARM_Partion[2].name=boot
(bootloader) aARM_Partion[3].name=system
(bootloader) aARM_Partion[4].name=cache
(bootloader) aARM_Partion[5].name=userdata
(bootloader) partition number=6
(bootloader) Valid partition num=6
(bootloader) jump_to_kernel: machine_id(2457), tags_addr(0x20000100), ker
(bootloader) nel_addr(0x20008000)
(bootloader) -------------------hboot boot time:77726 msec
FAILED (status read failed (Too many links))
finished. total time: 11.948s

C:\AndroidSDK\android-sdk-windows\platform-tools>

I don't know if you still have the device or not

I just had the same problem regarding the CID "Super CID"

just do "fastboot oem eraseconfig"
it should work :)
 
  • Like
Reactions: krunal_245

alex190291

Member
Apr 3, 2008
10
0
Tuttlingen
With phone in Hboot Fastboot mode
At the commant prompt on my Win 7 32 bit PC:


C:\adb\tools\fastboot devices
SH11APL03395 fastboot
C:\adb\tools\fastboot oem boot

Blah blah blah

INFOCID is ORANG001

Blah Blah Blah

C:\adb\tools\fastboot oem enableqxdm 0
...OKAY [ 0.164s]
finished. total time: 0.165s


Alpharev bravo Hboot
CWM v3.1.0.1

All recoveries and Hboots can now mount the sdcard, I dont know why the 'enableqxdm' command worked this time, I'm by no means an expert! All I know is that my phone is useable again- hurrah!

Thanks for all your efforts guys

Matt

thank you so much. this solution works like a charm :D i thought i bricked my device and you gave me back my hope ;)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    Kubino was spot on - the misc overwrite was what caused the issue. If you modify a misc.img to include your CID and flash it back to mtd0, you will restore functionality. I can confirm that USB, BT, FM, recovery all work again on my Desire. The only thing we're not certain about is whether the ROM value in misc.img matters at all, but it doesn't appear to.

    Stupid amounts of props go to IEF and adam235 at MoDaCo and kubino here. Thanks to all of you, so much.

    MOD EDIT:
    below is the post, as this was a combined effort, we don't need to link to modaco.....

    As most of you know, people have been hard at work to fix the USB issues we've been seeing due to recovery setting us into USB debugmode.

    After unsuccessful attempts to change the kernel commandline , eg. to:

    board_bravo.disable_uart3=0
    board_bravo.usb_h2w_sw=0

    we've been successful in discovering (with the help of XDA-developers) that these switches are stored in the first NAND partition, mtd0, or 'misc'.

    You must be rooted to try the following, it seems you can't write to mtd0 without root.
    Do step 1 again if you have to.

    Also, SD card functionality has to work. For this, do 'fastboot oem enableqxdm 0' in fastboot mode.



    Steps involved:

    1. Find out your CID. Go into fastboot mode, and do 'fastboot oem boot'.

    The log will say something like the following:

    CODE
    #INFOTAG:Ramdisk OK
    #INFOTAG:smi ok, size = 0
    #INFOTAG:hwid 0x0
    #INFOTAG:skuid 0x21F04
    #INFOTAG:hero panel = 0x0
    #INFOTAG:engineerid = 0x0
    #INFOMCP dual-die
    #INFOMCP dual-die
    #INFOTAG:mono-die = 0x0
    #INFODevice CID is not super CID
    #INFOCID is HTC__E11


    In this specific case, the CID is HTC__E11.

    2. Get the following mtd0.img from the attached files below

    Edit this image to the CID you found above with a hex editor.

    Optionally, you can use this CID generator by stevebrush instead. Untested by me, but it should work properly.
    //Edit: Updated link location for stevebrush. Thanks a ton for the generator!

    3. Get flash_image from the attached files below
    Move this to /data/ , and flash the modified image using:

    "/data/flash_image misc /data/mtd0.img"

    You can move both mtd0.img and flash_image by putting it on your sdcard, and issueing the following command in a terminal emulator:

    'cat /sdcard/flash_image > /data/flash_image'
    'cat /sdcard/mtd0.img > /data/mtd0.img'

    You might have to do 'chmod u+x /data/flash_image' before you run the commands (or chmod 755 /data/flash_image)



    4. Repeat step 3 a couple of times if it doesn't seem to work well.

    5. All done! Reboot, you should have normal usb connectivity. Post your 'fastboot oem boot' log and intermediate steps if it fails.


    Credits:

    -kubino @ XDA for providing us with the 'misc' information
    -TheProfessor @ irc.freenode.net #modaco for being the first test subject + debugging
    -adam235 @ irc.freenode.net #modaco for being a test subject as well + debugging
    -SgtDavePwnage @ irc.freenode.net #modaco -> moral support + debugging
    wink.gif

    -DrMon @ irc.freenode.net #modaco -> being brave enough to test on his non-bricked device!
    4
    Am i thoroughly f'd if it says

    fastboot oem boot
    INFO[ERR] boot image does not exist!!!

    edit: made some progress, got recovery to recognize and mount my sd-card, now what?

    progress: flashed a rom and managed to get my log

    Code:
    c:\android-sdk-windows\tools>fastboot oem boot
                                  ... INFOsetup_tag addr=0xA0000100 cmdline add=0x8E
    07F9F0
    INFOTAG:Ramdisk OK
    INFOTAG:smi ok, size = 0
    INFOTAG:hwid 0x0
    INFOTAG:skuid 0x26A04
    INFOTAG:hero panel = 0x3
    INFOTAG:engineerid = 0x0
    INFOMCP dual-die
    INFOMCP dual-die
    INFOTAG:mono-die = 0x0
    INFODevice CID is not super CID
    INFOCID is HTC__Y13
    INFOsetting->cid::HTC__Y13
    INFOserial number: HT07XPL06015
    INFOcommandline from head: no_console_suspend=1 msmsdcc_sdioirq=
    INFO1 wire.search_count=5
    INFOcommand line length =459
    INFOactive commandline: board_bravo.disable_uart3=1 board_bravo.
    INFOusb_h2w_sw=1 board_bravo.disable_sdcard=0 diag.enabled=0 boa
    INFOrd_bravo.debug_uart=0 smisize=0 userdata_sel=0 androidboot.e
    INFOmmc=false  androidboot.baseband=5.17.05.08 androidboot.cid=H
    INFOTC__Y13 androidboot.carrier=HTC-Nor androidboot.mid=PB992000
    INFO0 androidboot.keycaps=qwerty androidboot.mode=normal android
    INFOboot.serialno=HT07XPL06015 androidboot.bootloader=0.93.1000
    INFOno_console_suspend=1 msmsdcc_sdioirq=1 wire.search_count=5
    INFOaARM_Partion[0].name=misc
    INFOaARM_Partion[1].name=recovery
    INFOaARM_Partion[2].name=boot
    INFOaARM_Partion[3].name=system
    INFOaARM_Partion[4].name=cache
    INFOaARM_Partion[5].name=userdata
    INFOpartition number=6
    INFOValid partition num=6
    INFOjump_to_kernel: machine_id(2457), tags_addr(0x20000100), ker
    INFOnel_addr(0x20008000)
    INFO-------------------hboot boot time:26841 msec
    FAILED (status read failed (Too many links))
    finished. total time: 4.557s

    Apparently "HTC__Y13" is the CID. How can I find out my ROM version for the generator? Flashed InsertCoin v27 earlier on in this process, if it matters.

    e. could it be 2.36.405.8?

    Are you s off? If yes then forget about the info cid and rom number, just do fastboot oem eraseconfig, and you're done.

    Sent from my HTC Desire using Tapatalk
    3
    'fastboot oem eraseconfig' will easily do the unbricking for devices with unlocked bootloaders (eg: with Alpharev's hboot)

    Sent from my HTC Desire using XDA App
    3
    A little help in a mini tutorial

    i reformat my sd card using card reader hoping to fix it but when i inserted it to my phone it just the HTC logo will appear and then restarting..

    its like this.. http://www.youtube.com/watch?v=4AjVZ7vglRg




    you mean here?
    cmdm.jpg


    i only get error..


    please help! :(

    Friend ... do the following:

    You need to download the Android SDK and extract it in the folder c:/from your PC

    Now go to the location you extracted and rename the file to Androidsdk

    And your Desire go

    application development settings > >

    and select the option USB Debugging

    Now plug your Desire on your computer and then open the command prompt, type cmd

    Type the following command:

    cd \
    cd androidsdk\tools\
    adb devices
    fastboot oem enableqxdm 0

    Now you will withdraw its Desire of the USB cable to see if he really the function of the SD Card.

    Afterwards between Internet Desire, enter the address of the link below:

    http://www. shadowchild. nl/fixmisc/update. zip (remove spaces)

    It will download the file UPDATE.ZIP for Desire within the download folder on your SD card (Leave it there for now, don't do anything with this file)

    Now you will need to download and install the application Root Explorer link below also over the Internet of Desire:

    http://www. 4shared.com/file/TZ_dhyv8/Root_Explorer _ v2122 .html (REMOVE SPACES)

    Done it and application Root Explorer installed, open Explorer and go to Root:

    sdcard/download/update.zip

    Press your finger on the file and choose copy.

    With the return arrow, navigate again, returning to sdcard and paste the file update zip at the root of the card.

    BECAUSE YOU NEED TO DO THIS PROCEDURE?

    Because when. you're flashear update.zip file and it is within the download folder, simply give error because it will not be
    found.

    The file needs to be in the root.

    Now a very important step of all: procedure

    You'll flashear UPDATE.ZIP file to have the return of USB and thus terminate the procedures with total success!!!

    You will need to enter Recovery mode to the next step.

    Turn off your cell phone

    With volume down keys and power between on-screen Hboot

    With the volume down key, choose the RECOVERY mode and with the power key to confirm and wait for the black screen with the red triangle in the middle.

    This is done you will enter recovery mode, blue pressing volume up and power together.

    Navigate to the Wipe option date/factory reset (wait finish)

    Navigate now till option Wipe cache partition (wait finish)

    And finally the most important:
    Navigate to the option "Apply sdcard: update.zip"

    Select the file and send apply, wait to finish and ready!

    Now go to Reboot System now and press Power again.

    Wait for Desire connect normally.

    Now is the time of "LET'S SEE":

    Reconnect your Desire in the USB cable from the PC ...

    At this point it starts to be recognized by PC and all drivers are being installed again.

    You will face of silly and not believing ... hehehhe

    Ready all finished and VC happy!

    Now simply access normally your folders SD card via USB!

    I hope you have really helped and please post the result!

    ;);)
    2
    when i try to execute fastboot.exe I get this message "the program can't start because AdbWinApi.dll is missing from your computer. Try reinstalling the program to fix this problem." I reinstalled the program twice but I keep getting this message. What am I doing wrong???

    I think I don't have a problem with my sd card. The only problem is that I cannot connect my phone as an external drive. When I plug the usb I get this message, " USB device Not Recognized. One of the USB devices attached to this computer has malfunctioned, and windows does not recognized it. For assistance in solving this problem, click this message."


    Hi,
    I got the same issue.

    What i did:
    Download the AdbWinApi.dll and copy it to C:/windows/system32 & to your SDK Tools folder. Then try youre fastboot command again.
    I dont have the AdbWinApi.dll anymore. so you have to look for it on google.

    good luck