[HOWTO] USB Unbrick

hidden3366

New member
Oct 11, 2010
1
0
0
i cant

when i type
"fastboot oem enableqxdm" 0 in cmd
result : wating for device
my legend was connected to usb and my phone was in fastboot
help me plz
sorry for bad english
 

jeriz

Senior Member
Aug 28, 2010
187
75
0
C:\AndroidSDK\tools>fastboot oem boot
... INFOsetup_tag addr=0x60000100 cmdline add=0x9
078D14
INFOTAG:Ramdisk OK
INFOTAG:smi ok, size = 0
INFOTAG:hwid 0x0
INFOTAG:skuid 0x22F00
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__Y13
INFOsetting->cid::HTC__Y13
INFOserial number: HT06GNX02824
INFOcommandline from head: no_console_suspend=1 console=null
INFOcommand line length =438
INFOactive commandline: board_legend.disable_uart3=0 board_legen
INFOd.usb_h2w_sw=0 board_legend.disable_sdcard=0 diag.enabled=0
INFOboard_legend.debug_uart=0 smisize=0 userdata_sel=0 androidbo
INFOot.emmc=false androidboot.baseband=7.08.35.21 androidboot.c
INFOid=HTC__Y13 androidboot.carrier=HTC-Nor androidboot.mid=PB76
INFO10000 androidboot.keycaps=qwerty androidboot.mode=normal and
INFOroidboot.serialno=HT06GNX02824 androidboot.bootloader=0.43.0
INFO001 no_console_suspend=1 console=null
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
INFOmpu_nand_acpu_rw 8F2 1000
FAILED (status read failed (Too many links))
finished. total time: 0.890s

i cant get my sdcard to show but the fastboot command seems to run ok. please help

C:\AndroidSDK\tools>fastboot oem enableqxdm 0
... OKAY [ 0.018s]
 

jeriz

Senior Member
Aug 28, 2010
187
75
0
since i couldnt get my sdcard to work with the fastboot command i tried pushing the files with adb and then flashing them but still no sdcard and i tried changing card to the original card wich is properly reformatted

is my hardware broken? i really need help on this one
 

Sietan

Member
Oct 18, 2010
18
1
0
Thank you.....No Really this was a life saver. I thought I was borked, I installed a Boot Animation and all of the sudden my phone wouldn't boot, all I could do was to clear my settings in the bootloader, and then do this to fix my USB.
 

Swedish-Legend

New member
Nov 6, 2010
3
0
0
Helsingborg
Can someone please explain how to unbrick the SD-card in detail, how do you get into the CMD to type in "fastboot oem enableqxdm 0"

I got Android SDK installed and im in the fastboot menu on my Legend (Vol- + Powerbutton)
 

HpX

Senior Member
Oct 1, 2010
183
12
0
Can someone plz explane in detail how to edit the mtd0.img with the HxD editor .. cant find where to put in my cid number :(
First line:
00000000 48 54 43 5F 5F 59 31 33 00 00 00 00 00 00 00 00 HTC HER
Replace the 3 char's who is there.. ( Something like Y11 with whatever u have)

Can someone please explain how to unbrick the SD-card in detail, how do you get into the CMD to type in "fastboot oem enableqxdm 0"

I got Android SDK installed and im in the fastboot menu on my Legend (Vol- + Powerbutton)
The AndroidSDK folder shuld be in the root of C:

*start cmd
*type - cd.. enter
*type - cd.. enter
*type - cd AndroidSDK (Or whatever u have name u have on the folder)
*type - cd Tools
*type - fastboot oem enableqxdm 0 (while u are in fastboot usb mode)
Cant really explain it better than this :p
 
Last edited:

Swedish-Legend

New member
Nov 6, 2010
3
0
0
Helsingborg
First line:
00000000 48 54 43 5F 5F 59 31 33 00 00 00 00 00 00 00 00 HTC HER
Replace the 3 char's who is there.. ( Something like Y11 with whatever u have)



The AndroidSDK folder shuld be in the root of C:

*start cmd
*type - cd.. enter
*type - cd.. enter
*type - cd AndroidSDK (Or whatever u have name u have on the folder)
*type - cd Tools
*type - fastboot oem enableqxdm 0 (while u are in fastboot usb mode)
Cant really explain it better than this :p
Ah i got it! but now my phone says "preparing SD" then "you can safely remove sd card" and i cant find it in the phone.. :/
 

HpX

Senior Member
Oct 1, 2010
183
12
0
Ah i got it! but now my phone says "preparing SD" then "you can safely remove sd card" and i cant find it in the phone.. :/
Try to follow the rest of the original post. If dont work, try ones more from the start. I have brick'd my phone tre times, and gott it upp and running again, so i know u will make it :)



Sent from my Legend using XDA App
 

Swedish-Legend

New member
Nov 6, 2010
3
0
0
Helsingborg
My phone still says: "preparing SD" then "you can safely remove sd card".

Does anyone know whats wrong? please! :confused:

EDIT: Fixed it, there was a ****load of files at the SD named QXDM 18mb each, 900mb all together, i removed these and now SD works :)
 
Last edited:

cyberdon47

Member
Nov 17, 2010
5
0
0
Thank you very very much.

After my HTC legend's usb got bricked i was searching full internet for a solution. I spent 2 sleepless nights only for searching and trying various methods.:(

Then i saw ur post and tried this.:)

Initially it didnt work because i downloaded the two image files and copied it to my sd card and typed the commands in terminal emulator and i was getting an error "no such file or directory ":confused:

Actually it was my mistake. :p I didn't extract the image files from the zip archive.
Later i extracted the files from the zip tried and it worked.

Thank you very much for your support.


GOD BLESS YOU
 

mertins

Senior Member
Aug 29, 2010
121
12
0
when i do the fastboot eom enableqxdm 0 all it does is this?

C:\androidSDK\tools>fastboot eom enableqxdm 0
usage: fastboot [ <option> ] <command>

commands:
update <filename> reflash device from update.zip
flashall flash boot + recovery + system
flash <partition> [ <filename> ] write a file to a flash partition
erase <partition> erase a flash partition
getvar <variable> display a bootloader variable
boot <kernel> [ <ramdisk> ] download and boot kernel
flash:raw boot <kernel> [ <ramdisk> ] create bootimage and flash it
devices list all connected devices
reboot reboot device normally
reboot-bootloader reboot device into bootloader

options:
-w erase userdata and cache
-s <serial number> specify device serial number
-p <product> specify product name
-c <cmdline> override kernel commandline
-i <vendor id> specify a custom USB vendor id
-b <base_addr> specify a custom kernel base address
-n <page size> specify the nand page size. default:
2048
 
G

GuestK00138

Guest
Hmm, my problem is that my phone and PC show absolutely no sign or indication that the phone is plugged into the USB.

The only indication is that the phone starts charging.

No prompts on either device (yes I have the phone set to ask me when connected).

So, I fail at the very first hurdle, because the fastboot command can't see my phone!

Anything I can do?
 

stfn74

Senior Member
Jul 26, 2010
56
6
0
Worked GREAT! Gladly donating to the team.

Attached is the modified mtd0.img file for Legend CID BM___001 which i used. I believe it is a Bell Canada phone (or may be Virgin Mobile)

MD5 is: 9E02077456A2AF138224130A15A89D54
 

Attachments

LSM1

Member
Dec 14, 2010
6
4
0
I had partial bricking problem with boot cycling and a lack of standard usb connectivity. Here is an overview of how I solved this problem.

Background
I rooted my unlocked Bell Canada Legend using the three guides by David Cogen at the unLocker: Downgrade the HTC Legend to 1.31 so It can be Rooted (12.13.10); How to Root the HTC Legend (Updated 12.13.10), and How to Load a Custom Rom on the Legend.

This involved, among other things, making a gold card, installing the Windows Android SDK, downloading the specified downgrading tool, flashing RRU_LEGEND_HTC_WWE_1.31.405.5 ... signed.exe, installing HTC Sync 2.0.33, getting Legend rooting tools, and Loading the excellent Keep it Simple rooted 2.1 ROM (This was before the KIS 2.2 Rom had been released). With some minor difficulties I got this going and the KIS rooted rom was excellent.

However, my real intention had been to install a rooted version of Android 2.2. However, it would not install as the HBOOT version was 0.30.

I tried using the "Howto Update HBOOT to 1.00 keeping your Legend rooted" but I deviated from the instructions and ended up with a semi-bricked Legend that exhibited the commonly encountered boot cycling problem.

After about 8 hours of deep anxiety if found a solution. I lost root capability but got an unbricked, functioning phone with the latest Android 2.2. Here's an overview that may be useful to some Android newbies like me.

PROBLEMS
Boot cycling: start booting process with a buzz, green HTC logo on a white screen for a while, then black screen and reboot, on so on. No access to a functioning system.

No usb connection with Android SDK. i.e.: command adb device showed on available device, HTC* offline.

At this point I though I had a brick. There are some solutions to this problem posted but they appeared way too complicated.
Fortunately, the fastboot menu (hold down return button while pressing power on switch) came up as did the hboot menu. However, I couldn't get to recovery in the hboot menu.

Solution.
On Windows PC used for this work I installed the unRevolkedmod USB drivers which allowed me to connect with the Legend connected via usb cable and in fastboot mode.

In a MSDOS command window in Windows XP I executed from the AndroidSDK subdirectory containing the fastboot executable (in my case C:\...android-sdk-windows\tools\) "fastboot oem enableqxdm 0" which enabled fastboot usb-plugin on the phone (see it com up in red text in the fastboot menu).

In another MSDOS command window I changed to the unzipped "r4-legend-root" directory and ran "fastboot-windows.exe oem rebootRUU" that allowed me to execute the latest RUU (either execute the RUU from this MSDOS command window or click on the file in Windows File Manager) and install the stock HTC 2.2 rom normally following the RUU menus. I used the available RUU_Legend_Froyo_S_HTC_WWE_3.15.405.3.....160328_signed.exe.

I now have a fully functional Legend with the stock unrooted HTC Android 2.2 with hboot 1.01.

Also, I tried the "Rooting with HBOOT 1.0" howto following the directions exactly, but couldn't get to work. I got as far as a functioning Android 2.1 but didn't/couldn't get the 2.2 rom to install as 2.1 wasn't rooted. I think I'll wait until the knowledge base improves. I just reinstalled the stock HTC 2.2 and it is running fine. Much better than a brick!

Although this is short on details, they are available in various threads. I trust that this may be of some help to others that are in the situation I was in. The answer is out there, it just takes a lot of digging!