[HOWTO] USB Unbrick

Mjche

New member
Aug 29, 2010
3
0
0
Same problem here with an htc hero....
Do you think I can flash the legend mtd0.img on my device ???
This is my fastboot oem boot output:

Code:
                              ... INFOsetup_tag addr=0xA0000100 cmdline add=0x8F
083CB4
INFOTAG:Ramdisk OK
INFOTAG:smi ok, size = 32
INFOTAG:hwid 0x1
INFOTAG:skuid 0x20800
INFOTAG:hero panel = 0x3
INFOTAG:engineerid = 0x3
INFODevice CID is not super CID
INFOCID is HTC__405
INFOsetting.cid::HTC__405
INFOserial number: .......
INFOcommandline from head: no_console_suspend=1 console=null
INFOcommand line length =354
INFOactive commandline: board_hero.disable_uart3=1 board_hero.us
INFOb_h2w_sw=1 board_hero.disable_sdcard=0 smisize=32  androidbo
INFOot.baseband=6.35.09.26 androidboot.cid=HTC__405 androidboot.
INFOcarrier=HTC-ITA androidboot.mid=HERO10000 androidboot.keycap
INFOs=qwerty androidboot.mode=normal androidboot.serialno=HT98ZL
INFO904935 androidboot.bootloader=1.76.0007 no_console_suspend=1
INFO 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
INFO0
INFO0
INFO69466957
INFO69784520
INFO69007473
INFO7473
Thanks....
 
Last edited:

NIIRU

Member
May 20, 2010
18
1
0
He it say that you need a "rooted" phone to be able to do this. But my legend has a stock rom. So I am not able to go further then the "fastboot oem enableqxdm 0" part. The phone itself works and all. Its just that the connection between the pc and phone is not working. Am I doomed?
 

faravoda

New member
May 26, 2009
3
0
0
hiii

i have htc legend and same problem and i have rooted my device but try 10 hours with this steps i have rom manger and connectbot and i can read my sd card but i cant do this steps... are any one got succes with this steps plz any one help me ... by upload video for correct way plz plz help me i have just got my legend today from DHL and now i have big problem plz help help F1 F1 F1 F1 F1
 
Last edited:

mr.antooan

Senior Member
Aug 5, 2010
57
0
0
connect phone to computer
check your CID with command (from android-sdk-xxx/tools)
fastboot oem boot

if your CID is different than in mtd0.img edit file with an hexeditor
ex

HxD

http://mh-nexus.de/en/downloads.php?product=HxD
I cant understand this part "if your CID is different than in mtd0.img edit file with an hexeditor
ex
"
how can I find that my CID is different than in mtd0.img ?
 

snakehult

Senior Member
Jun 8, 2010
369
60
0
I cant understand this part "if your CID is different than in mtd0.img edit file with an hexeditor
ex
"
how can I find that my CID is different than in mtd0.img ?
you have fastboot and adb on your computer?

connect phone to usb (phone on i regular mode)

run command: (from your computer) (cmd, in windows)

adb reboot bootloadader

when it has boot

fastboot oem boot

What does your output say?

xxxx
xxxx
INFOCID: HTC__???
xxx
xxx

If different from HTC__032 you must use hexeditor and edit mtd0legend.img
to match your number
 
Last edited:

mr.antooan

Senior Member
Aug 5, 2010
57
0
0
you have fastboot and adb on your computer?

connect phone to usb (phone on i regular mode)

run command: (from your computer) (cmd, in windows)

adb reboot bootloadader

when it has boot

fastboot oem boot

What does your output say?

xxxx
xxxx
INFOCID: HTC__???
xxx
xxx

If different from HTC__032 you must use hexeditor and edit mtd0legend.img
to match your number
thanks bro ... I'll check it:D
 

sancho90

New member
Sep 17, 2010
1
0
0
Hi, I'm spanish and I have some problems that you have indicated, so I have to do an USB unbrick. I modified the CID in mtd0.img but my problem is that the other document that I have to download is not operative, Can you upload or transfer me?? Sorry for my bad English and thanks.
 

mateus87

Member
Mar 6, 2010
5
0
0
i have a htc hero, i followed the step but instead of mtd0.img from legend i used misc.img from hero stock rom but no success, i still don't have access to sd card through usb cable, bluetooth works, any help?
 

Tommebaas

Senior Member
Jan 2, 2010
974
127
0
so i got my sd card in the car reader and then i put the flash image & mtd0 files on it.
when i got to the cat /sdcard/mtd0.img > /data/mtd0.img "type enter" it said:
"No such file or directory" say what?
please help me:confused:

Thank you helpful people of XDA!
I just got it fixed!
"Dances on Eminem - Without Me"
 
Last edited:

snakehult

Senior Member
Jun 8, 2010
369
60
0
so i got my sd card in the car reader and then i put the flash image & mtd0 files on it.
when i got to the cat /sdcard/mtd0.img > /data/mtd0.img "type enter" it said:
"No such file or directory" say what?
please help me:confused:

Thank you helpful people of XDA!
I just got it fixed!
"Dances on Eminem - Without Me"

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


what does
ls -al /sdcard/mtd0.img
say?

Ok you solved it, read to slow :)
 

HpX

Senior Member
Oct 1, 2010
183
12
0
.-''-..-''-..-''-..-''-..

After i tryed to flash the SyanDra V1.0 rom, my legend gott brick'd.
Thanks to this guide im back up with a new rom.. Ty ty ty ty :)