yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] shadow79:
Help please.

I have a problem whit my sd card.

I can see and acces my sd card in windows and simbian and I see my sd card in android.

Also is mounted but I can't acces the data from the sd card on my Desire.

Any sugestions?

Thank's.
[Desire Android Development] Pajorve:
I really very happinnes

I actually I am very happy to be able to help.

Had the same problem as you and got help. is my obligation to pass the knowledge forward and hope you now also can pass my tip forward and thus help others too.

just a thank you thank me giving the icone ...

:D:D:D
[Desire Android Development] shadow79:
I solved the problem.

I boot in recovery and erased everithing sdext, system, data,... I formated the sd card, copyed the backup from PC and restored everithing whit clockworkmod

Thanks and keep up the good work
[Desire Android Development] Sajhe:
Hello!

Im trying to solve this problem atm but ive run in to problems.

First of all, what works and what doesnt:

USB does'nt work

SD Does'nt work - REGARDLESS of the fastboot oem enable qxdm 0

SIM Does'nt work.

Now. Ive managed to get the Mtd0.img and flash_image to /Data/ by downloading them with Wget through terminal emulator. Even modded the Mtd0.img before downloading it to aply the right CID.

HOWEVER this is my problem. Im running a custom rom called Oxygen 1.0 and as far as i can find it has no specific software number. So the mtd0.img in my data folder is probably wrong.

And i can't flash any new rom due to the fact that i CAN NOT get the SD card to work regardless of ADB scripts (thus making the software number known).

CAN i still run the flash script even if the software number is wrong? will this harm my phone?
[Desire Android Development] :
No
[Desire Android Development] dbolichowski:
This is very strange...

I put my phone on the charger last night, and it was fine.

Woke up today, went to plug USB Cable in to transfer some music to my phone and USB is completely dead. It won't even CHARGE when I plug it into the PC or the AC Adapter.

I've tried 2 Chargers and 2 USB Cables.

What should I do? I've also tried to restore to an older nandroid backup I made, and that did not help.
[Desire Android Development] simnik123:
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![/B]

;);)[/QUOTE]

When i flash the Update.zip i starts a boot loop in the Android logo as the logo in the SDK..

How do i fix that?
[Desire Android Development] VitaminEBC:
hi guys. I have a problem getting the USB-Brick. install the firmware to version 2.2. I did not know that this firmware can not be installed. now I have a device with a USB-Brick and unroot. You can help me. I am from Russia. writing through a translator. sorry

The original text
[Desire Android Development] Jamsi:
Fantastic guys!! Just un-bricked my Desire.

Thanks!!!
[Desire Android Development] StuMcBill:
I have noticed some people reporting this issue happening again, and I want to protect myself from it, so is it possible for me to backup my current mtd0.img, and place it on my SD card / data partition so I am in a position to immediately re-flash?

My CID is HTC__001 (not sure of my Rom version - I am using Oxygen 2.0-RC2).

Thanks

Stu
[Desire Android Development] MrLuje:
Just fixed my phone with this thread!

Lots of thanks, guys! :p
[Desire Android Development] jamyjamal:
Yeah, i was getting the same error, the solution?

First enter "su" at the terminal

Then the rest and it will work! Give me some thanks if it works!

Also this thread is great! I thought my phone was a gonna!
[Desire Android Development] sir_hc:
How can I do all this things now that my usb is bricked and my Desire cannot connect to my pc????? Can anyone upload a video with instructions??? :confused:
[Desire Android Development] Ivanovic:
Connect your phone to your pc using USB.

Power on your HTC desire by holding vol down + power button.

It will enter the bootloader.Then go to Fastboot mode.

In your pc you must have somewhere android SDK.Inside it there is a folder called tools.

Using command prompt (cmd.exe) browse to that folder and run fastboot.exe

and execute the commands given above to enable SD card support.
[Desire Android Development] godina:
Hi,

A have the same situation with my desire as papabol (bravo pvt4 s-on)...i tried to flash a rom but o bricked my device...somehow i managed to flash an official RUU, however usb, bt, fm radio are not working (not even sim was detected until recently dont know how that got fixed :D )...so im stuck with official, unrooted rom with 0.93 hboot, with no usb (at first it even didn't want to charge with ac adaptor, charging starts 10 mins after i plug it in), no bt or fm...i tried Pajorves fix as it was succesful for papabol, but when i try to flash update.zip i get signature verification error :S

Why this happens, how do i fix it?

I really dont like this semi functionality:P
[Desire Android Development] sir_hc:
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."
[Desire Android Development] godina:
Ok since above quoted method didnt work (signature verification err) I tried this guide:

http://xdaforums.com/showpost.php?p=9056719&postcount=15

However this didnt work either...I keep getting premisson denied in terminal emulator...not even the first command didnt work, I have tried typing su and I get premission denied.

I have enabled usb debugging, I have unrooted stock RUU, however some people seems to have managed to fix their device, having unrooted rom. How did you do that folks:confused:

I just cannot seem to fix my desire. Allthou I can boot and everything seems to work fine exept usb (not even charging starts immediately), bt cant be turned on and fm radio hangs. I konw I am repeating myself I just wanted to make clear if i have the same problem as many others, its just I can not fix it, but judging by previous posts it can be fixed right? Am I doing something wrong?
[Desire Android Development] reef2009:
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
[Desire Android Development] andQlimax:
Put "C:\..some..\android-sdk-windows\platform-tools" to ur Path and u are done..with the new sdk the dll and adb are there
[Desire Android Development] sir_hc:
Thanks for the help. I found and downloaded the AdbWinApi.dll, but now the problem is that when I type this comand "fastboot oem enableqxdm 0" I get the message "waiting for device". As I told you before I cannot connect my device to pc. What should I do now????? :confused:
[Desire Android Development] MrDevil:
i'm preparing the mtd0 image just incase i get a brick but i'm not too sure abt hex editing, what program do i use? would notepad++ work?
[Desire Android Development] reef2009:
Hex Editor XVI32 worked for me
[Desire Android Development] StuMcBill:
I also want to do this, but I am running oxygen 2.0 rc 4, so don't have a "rom number" so I can't generate a mtd0 from the online generator?

Is there a way around this?

Anyway I could backup my own mtd0 file for restoration at a later time?

Thanks

Stu

Sent from my Amiga 500 using Workbench
[Desire Android Development] MrDevil:
@stumcbill: I'm not sure about backing it up but im using the one provided in the first post. just hoping that no usb bricks occur ever. better be safe than sorry.

@reef2009: thanks for the info.
[Desire Android Development] BrickL0rd:
thank you so much!

successfuly unbricked my usb with this guide.

€: one question:

if i nandroid restore to another rom, will i have to do this all again?
[Desire Android Development] sir_hc:
Can you please tell me the way to unbrick my phone also??? My pc cannot connect with my phone so I cannot send commands form the cmd window. :(

Any ideas??????????
[Desire Android Development] BrickL0rd:
you need to do this via terminal emulator from the android market
[Desire Android Development] sir_hc:
how can I find out my CID if I cannot connect my phone to pc??
[Desire Android Development] nagasgura:
Failed

When I tried the first step, I got ... FAILED (status malformed (1 bytes))
[Desire Android Development] Mosquito2001:
Be sure to be in fastboot usb mode and not hboot us mode
[Desire Android Development] pixelboy77:
Thanks devs!

Big thanks to the dev's of this... it fixed my USB problems!

Thanks!
[Desire Android Development] thek0re:
take the terminal emulator from market and type "getprop ro.cid"

this should help!

greetz
[Desire Android Development] reef2009:
Q

You're pc does connect but you dont see it. Just use the terminal instructions to activate sdcard reading.

1. Activate USB/SDcard in cmd: "fastboot oem enableqxdm 0"

2. Look for your CID in cmd: "fastboot-mac oem boot"

INFOCID .... HTC__xxx) e.g. HTC__E11

Good luck!
[Desire Android Development] sir_hc:
When I send the "fastboot oem enableqxdm 0" command I get this:

c:\sdk\tools>fastboot oem enableqxdm 0

<waiting for device>

I connect the device into usb but nothing happen. I only get a message in my pc screen "USB Device Not Regognized"

Thanks for the help. I did what you suggested but I get nothing.

This is what I see on my screen:

$export PATH=/data/local/bin:$PATH

$su

#getprop ro.cid

#

What am I doing wrong???
[Desire Android Development] monki-magic:
Hey sir_hc... I am having the same issue as you, stuck at waiting for device. I am starting to think I acutal have a usbport issue??

I have tried both solutions (mdt0.img and the update.zip) to get my usb to start working.

Still unable to get anything more than charging via usb

I used the following command after

'cat /proc/cmdline'

results:

board_bravo.disable_uart3=0

board_bravo.usb_h2w_sw=0

board_bravo.disable_sdcard=0

diag.enabled=0

board_bravo.debug_uart=0

smisize=0

userdata_sel=0

androidboot.emmc=false

androidboot.baseband=5.09.05.30_2

androidboot.cid=TELST001

androidboot.carrier=COMMON

androidboot.mid=PB9921000

androidboot.keycaps=qwerty

androidboot.mode=normal

androidboot.serialno=HT077R******

androidboot.bootloader=0.93.0001

no_console_suspend=1

console=null
[Desire Android Development] xtcislove:
Yes! I have the same Problem! Just sent my Device back to carrier! I think its a USB Port problem from the first Devices! I tried all solution´s like you but i think the USB Port is really bricked! If you use the update.zip method and you do not plug it it in your computer you do not have the USB brick! But if u plug it in u have the brick!

Do you have the PVT1 hardware like me?

In 10 Days my Desire will be back i hope it will be fixed! I will report!
[Desire Android Development] reef2009:
Are you working in "fastboot usb mode" on youre phone? (vol down + power)
[Desire Android Development] sir_hc:
I cannot go into fastboot usb mode... cause my phone cannot connect via usb . . . :(
[Desire Android Development] reef2009:
-Power off youre phone.

-Vol down+power and wait.

-Connect you usb with phone and pc

-press power if usb mode is shown.

Now you should have usb mode!

If this does not work I think there is another problem.
[Desire Android Development] sir_hc:
thanks for your help but I cannot get to the usb mode
[Desire Android Development] Mojaaa:
error writing misc

Hi,

i rooted my phone using unrevoked 3.1. Im USB brick now. Following this quide, when i try /data/flash_image misc /data/mtd0.img its show me this:

mtd: MEMGETBADBLOCK returned 1 at 0x000000000 (errno=0)

mtd: not writing bad block at 0x00000000

error writing misc: No space left on device

i tried run it like a root (su) and like a default user, result is the same, chmod 755 both files

everything on the phone is working but im usb brick. :confused:
[Desire Android Development] Mojaaa:
OK, after restart is UNBRICKED anyway :)
[Desire Android Development] bananagogo:
The "fastboot oem enableqxdm 0" command doesn't help me to get access on my sd card...

So i can't access the two files for copy to /data...

The sd card isn't mounted on Recovery and on Android...

ClockworkMod Recovery v2.5.0.7

AuraxTSense 8.2
[Desire Android Development] JDima:
Same problem.

Doesn't work. The phone doesn't appear as a device on the PC.

SLCD, PVT3, S-ON, HBOOT 0.93.
[Desire Android Development] reef2009:
Most time you don't see any changes. Just type the fastboot commands and use youre SD with a card reader. You won't see youre devise on a pc until you usb brick is completely fixed.
[Desire Android Development] sasim:
GREAT!!!! IT works fine....

thanks very much!
[Desire Android Development] srygonic:
Just wanted to say thanks! It works!~ Btw for all those who spend some time figuring it out,

- You need to download a terminal emulator from the market (I kept thinking i had to use the adb command prompt from my computer)

- You need to type su before entering the commands first.

Been using my USB bricked Desire for 2 weeks... Now it's finally unbricked.
[Desire Android Development] zen15:
hi all...,

i've just recovered from USB brick 2 days ago, now i have the sd card function, radio and 3g data function too..

well... but i got problems when using cable to wall charging, sometimes when plug in to the wall charger, my phone reboot by itself, sometimes when i unplug, it reboot.

i think, i'm not fully recover from usb brick, here's the step:

1. power off

2. vol down + power

3. enter fastboot

4. connect usb cable

5. cmd> fastboot oem enableqxdm

6. reboot the phone

7. download update.zip (someone told me to do it in another thread, to fix MISC, if i'm not mistake)

8. flash update.zip via recovery

9. reboot and done

result:

1. sd card ok

2. radio / carrier ok

3. wall charging reboot

4. usb connection to pc when using MIUI sometimes ok, sometimes dont

when using ginger redux can't connect only charging

Update: after many hours of reading and searching a lot of USB Brick's threads now i understand the importance of flashing mtd0.img

ok..., here's the step:

1. change the rom from ginger redux to leedroid (can't find where's the rom number in redux)(leedroid's 2.29.405.5, am i right?)

2. Find out your CID. Go into fastboot mode, and do 'fastboot oem boot'. (HTC__621)

3. using stevebrush CID generator to get mtd0.img

4. download flash_image.zip from post #1

5. transfer both files to sdcard using swiFTP

6. move both files to data/ using Root Explorer, after change to R/W (i'm S-OFF)

7. open terminal, type 'chmod 755 /data/flash_image' -----> chmod 755 /data/flash_image: not found

8. tried again ----> chmod 755 /data/flash_image: No such file or directory

what am i missing........????
[Desire Android Development] :
Good morning,

for me, this guide does not fully work.

I got back the SD and Carrier support, but USB is still bricked.

I followed the first post, but i guess i edited the mtd0.img in a wrong war.

My CID is O2__102 and the img. generator utility does not work because it tells me to enter a valid CID...(HTC__anything).

I have an O2 Germany stock ROM.

So i had to edit the mtd0 manually. Please take a look at this screenshot to verify that i edited it correctly:

Attachment 1: Mtd0.img as downloaded in the first post

Attachment 2: Mtd0.img edited (CID inserted, then saved.)

Did i do this right?

Then, as i wanted to flash the misc file with the /data/flash_image misc /data/mtd0.img command, it returns an error: "new line expected...etc."...so something went wrong. But i don't know what...

Ps.: The flash_image file is the one contained IN the zip file, not the zip file itself, right?

Thanks in advance...
[Desire Android Development] lvnatic:
How do I put the generated mtd img on sd? I don't have a sd reader and my sd is not detected on the phone, nor in recovery. Also, how do I ented those commands in fastboot, I only have the 4 following options:

BOOTLOADER

REBOOT

REBOOT BOOTLOADER

POWER DOWN

There isn't any option in that I can run that command from, so how do I do it?
[Desire Android Development] mahastat:
Deleted this message...
[Desire Android Development] mahastat:
This is what I got. ...

D:\Softwares\htc\android-sdk-windows\tools>fastboot oem boot

... INFO[ERR] boot image does not exist!!!

OKAY [ 0.427s]

finished. total time: 0.428s

Can you suggest me what to first now ?:confused:

I'm waiting for your reply with bricked phone...:(
[Desire Android Development] lvnatic:
Ok so when I try to type the flash command for flash_image/mtd0.img in Android Terminal Emulator (market version), it says permission denied

When I try any of those 2 commands "chmod" it says Operation not permitted

Any clues?

Also, I have both of those 2 files in sdcard/data but they are both zipped, the flash_image file is as I downloaded it (I didn't modify it), and then I took the generated mtd0.img from that CID generator site and put it in the zip file downloaded from 1st post (after I deleted the default one which was included). So I have both of those files zipped, do they have to be unzipped?

I also have to note that my SD card is not detected by the phone in any way, not in menu>sd and phone storage, not in recovery and not in any possibile way. Are you sure it will work via that terminal emulator?
[Desire Android Development] jayk32:
Thanks alot, i followed ur guide and now i'm up & running & my Bluetooth works :D (Excellent) All the comments i followed, urs is the only one that worked for me!! :) Cheers matey!! BIG Thumbs UP!! LOL
[Desire Android Development] lvnatic:
Bump, do the files need to be zipped or extracted? I can only copy it while it is zipped, if I try unzipped its friggin not working, it says device is not supporting or something, frigging unbelieavable. I also tried that command to enable sd but adb says no device is connected, even if the phone is in fastboot connected via usb.

I managed to copy the files on sdcard/DATA folder finally through my old nokia n95. But now when I try the flash commands from terminal emulator it says no such directory, on both flash_image/mtd0.img. What now? I'm trying to do this since hours, can anyone help me please? It's my 3rd day since I bricked it and its useless.
[Desire Android Development] zen15:
First, you should reenable you sd card function, do this:

1. Power off your phone

2. Download and install android ask, driver, etc. (If u don't know, search the forum for 'how to' )

3. In windows (I'm using win7) cmd, and then go to your sdk folder path, something like: c:> android-sdk-windows/tool/

(Replace android-sdk-windows with your sdk path)

4. Power up your phone by hold "volume down button +power" you should enter the fastboot

5. Connect your phone with your computer

6. In your phone display the fastboot should change to fastboot USB.

7. Back in computer on the cmd windows type the command from first post, mine like this c:>android-sdk-windows/tools/fastboot oem enableqxdm 0 , hit enter

8. Reboot your phone, u should see your sd card, carrier working

You can use your phone but still USB brick

The step after is very frustating, cause I can't do it properly.

I've create mtd0.img, download flash_image.zip put them both in sd card (root)

Using root explorer to move both files to /data/ and them flash it through terminal, but still not work, terminal always say that there's is no such file or directory....

Now, I can use my phone normally but still in USB brick :(

Hope this will help u reenabling you sd card and carrier function

Sorry for my English, hope you can understand....
[Desire Android Development] zen15:
Hi bro,

I see you can manage to fix your brick. Can i ask question?

At point 2. Install your rom ...

What rom should I installing...? I though I've the previous rom installed? Must we change the rom to applied the flash_image.zip command?

Thanks...
[Desire Android Development] xavierjohn22:
that error says it is not finding the file

You sure you extract what is inside the flash_image.zip?

Files in /data should be

1) flash_image

2) mtd0.img

then do

/data/flash_image misc /data/mtd0.img
[Desire Android Development] mahastat:
A Step Further

I flashed RUU and now my phone is working. But I'm unrooted now. Trying to root fails. I can't flash custom recovery through fastboot too. It says "permission denied". I've no super-user access too.

I'm using phone well. It says 'sd card removed. please insert new one'.

HTC recovery has no option to see sd card. When I try to flash update.zip, it says 'can't mount /dev/block/mmcblk0..'.

When I used

I got this.

D:\Softwares\htc\android-sdk-windows\tools>fastboot oem enableqxdm 0

... OKAY [ 0.096s]

finished. total time: 0.096s

But, still now I'm getting

"Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0)

(No such file or directory)

E:Can't mount /sdcard

Please suggest me further.

I did 'fastboot oem boot' and I got this...

D:\Softwares\htc\android-sdk-windows\tools>fastboot oem boot

... INFOsetup_tag addr=0xA0000100 cmdline add=0x8E

07D944

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__044

INFOsetting->cid::HTC__044

INFOserial number: HT05TPL02397

INFOcommandline from head: no_console_suspend=1

INFOcommand line length =432

INFOactive commandline: board_bravo.disable_uart3=0 board_bravo.

INFOusb_h2w_sw=0 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=4.06.00.02_2 androidboot.cid

INFO=HTC__044 androidboot.carrier=HTC-Asia-SEA-WWE androidboot.m

INFOid=PB9920000 androidboot.keycaps=qwerty androidboot.mode=nor

INFOmal androidboot.serialno=HT05TPL02397 androidboot.bootloader

INFO=0.80.0000 no_console_suspend=1

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 A1E 1000

INFOjump_to_kernel: machine_id(2457), tags_addr(0x20000100), ker

INFOnel_addr(0x20008000)

INFO-------------------hboot boot time:31966 msec

FAILED (status read failed (Too many links))

finished. total time: 6.660s

I don't know to edit 'mtd0.img'. So, I used generator. But, it asks 'rom version'. Is it shown as 'software number' in About Phone>Software Information ? If yes, I'll go further. So tell this.
[Desire Android Development] zen15:
Hi,

you better take a look at this link:

http://xdaforums.com/showpost.php?p=9056719&postcount=15

hope it will help you...