Last few days i saw lots of people having usb brick problem even after they flashed the Ruu.exe or PB99IMG.zip update via hboot that because misc.img is corrupted and they stuck on stock rom without any usb function.Few Days ago i was in the same situation and solved my problem thought i should share this Information with people who need help.
Note-If you usb bricked on s-off device then try this fastboot command to solve this
if above command don't work then you have to flash a ruu.exe or PB99IMG.zip file via hboot to return to stock rom,usually that fix the usb brick but some time that trick also fails,if that happen then you have to go through the process below.
I solve my usb brick this way
after return to stock rom via PB99IMG.zip file flash via hboot(didn't fix my usb brick so i had to do the steps below)
1.i unlocked my sd card via fastboot command"fastboot oem enableqxdm 0" sd card recognized by phone and i can browse it via file explorer.
note-you can access your sdcard only via file explorer nothing else so after execute the command download a file explorer from android market.
2.then i copied the visionary+(it gave me temporary root access which is needed to work this whole thing out).
root explorer,terminal emulator apk and those usb bricked update file(image_flash,mtd0.img) to sdcard from pc via card reader and installed them.
before copy those update file on sd card i edited the mtd0.img to put correct cid n rom info via hex editor.
To find cid info
If you don't know your Cid then type this command in fastboot-fastboot oem boot this will show you info about your phone cid.when the info shows up look for‘INFOCID HTC___xxx'
To find The Rom version-Go to Settings>About phone>Software Information and note your Software Number.
3.after that i copied those update file in phone memory to copy file in phone memory you have to set permission for r/w.When open root explorer look at the top left corner you will see mount as r/o mount r/w tap on mount r/w that's it you set permission to read/write on your phone memory and copy the file in /data/data/ folder and set permission for r/w and execute for those file via root explorer.
4.after that i simply typed this command in terminal emulator "su
/data/data/flash_image misc /data/data/mtd0.img"
Rebooted my phone and voila usb brick is gone htc sync,usb tethering,sd card mount,charge everything is working and now i am rooted and s-off again
Note-you don't need the rageagainstthecage file which only need if you try to get root access via terminal emulator which is lengthy n complicated but with visionary+ you can get root access with 1 click and it's much easier than typing command in T.E.
Big Thanks To-Rastaman-Fb and Suroot For their support And Awesome guide.
If above information helps you to fix Your usb brick Please Leave a comment Here.
Might not be relevant, but you refer to it in this guide. PB99IMG.zip is case sensitive and must be exactly "PB99IMG.zip". Not strictly relevant but worth noting whenever we refer to it on these forums I think.
__________________ "I am only responsible for what I say. Not for what you understand"
This can affect both rooted and unrooted users, so not sure if the root forum is the right place for this (I think it was in troubleshooting originally?).
Maybe a link needs to be added to root sticky and to a non root sticky, or perhaps tips and tricks (although its more a break fix).
Will Report to mods to see whats best.
Edit> It hasn't been moved (my mistake), but still not sure just here is the best place
Last edited by SUroot; June 29th, 2011 at 09:27 AM.
This can affect both rooted and unrooted users, so not sure if the root forum is the right place for this (I think it was in troubleshooting originally?).
Maybe a link needs to be added to root sticky and to a non root sticky, or perhaps tips and tricks (although its more a break fix).
Will Report to mods to see whats best.
Edit> It hasn't been moved (my mistake), but still not sure just here is the best place
I posted it on troubleshooting section but mod moved it to tips and tricks.
Im not sure there is a correct section for this. All troubleshooting goes there except root trouble shooting which is in the root forum. Im not sure there is an ideal place for this.
Im not sure there is a correct section for this. All troubleshooting goes there except root trouble shooting which is in the root forum. Im not sure there is an ideal place for this.
just my thought as this thread is for troubleshoot usb brick for both rooted and unrooted user it should stay in troubleshooting section cause when some one seek help for usb brick he/she can see it on the top of troubleshooting section(if this thread get sticky) anyway do what you guys think best.
After step 4 in the terminal emulator i get the message that flash_image not found.And i made everything right... Is maybe the flash image you gave corrupted?
Device(s): HTC Desire (depreciated)
Blue Galaxy s3 (international)
Carrier: Not Provided
Thanks: 114
Thanked 1,016 Times in 838 Posts
Quote:
Originally Posted by androidesire
This worked for the mtd0.img . Thanks Rastaman.
But the problem remains.
At step 4, i typed the command in terminal emulator correct and got the message:
usage: /data/data/flash_image partition file.img
Rebooted my phone hoping usb brick is gone.
But nothing again .
Surely i make something wrong, but what ??
it did that as it couldnt fine the file in the location you specified
make sure you put the mtd0.img in data/data/
then do /data/data/flash_image misc /data/data/mtd0.img
I am stuck on the hex editor, where do I change the CID? all I see is lots of numbers. Yes, I am a BIG noob, but I've managed to save my desire this far only a little way to go!
I am stuck on the hex editor, where do I change the CID? all I see is lots of numbers. Yes, I am a BIG noob, but I've managed to save my desire this far only a little way to go!
when you open the mtd0 file with hex editor look for
"HTC_1xx"-your cid
"ClearAutoImage .x.xx.405.x"-your rom value
and edit those according to your cid and rom value information.
It is NO NO to Droid Incredible for Gingerbread upgrade
Some disheartening news for Droid Incredible owners: HTC is now openly telling customers it has no plans to upgrade the original Incredible phone to Android 2.3, aka Gingerbread.
Sorry, I know this post is kinda old but I am having the same problem with my cdma hero, does anybody know if these flash/brick fix files and method will work on my phone as well? I have sd card functionality and am rooted so can I just use the terminal on my phone and skip the unrooting/temporary root stuff? Thanks, and sorry again for bumping such an old post!
Just joined your Forum to ask a few questions. Forgive me if they are not in the right place. I had my rooted HTC Desire USB bricked recently. I did not know what it was. Could not get any access to SD card to restore any of the ROM I had with Rom MAnager. Anyway I found this command on line fastboot oem enableqxdm 0which let me have my SD card back. All is fine apart from the fact that my bluetooth won't turn on and the battery life (which wasn't great any way) is now a lot worse. Today I found that I should have done the second part of the process with fastboot oem eraseconfig command. My question really is - do I have to go back to the original unrooted version of my HTC Desire to go through the process described at the beginning of the thread or can I do it with my current CyanogenMod?
Can't get phone CID because my usb brick does not let my see phone using fastboot. Tried the rest but can't get it back. Anyway to get phone CID without fastboot?
Device(s): HTC Desire (depreciated)
Blue Galaxy s3 (international)
Carrier: Not Provided
Thanks: 114
Thanked 1,016 Times in 838 Posts
Quote:
Originally Posted by warmy18
Hi,
Can't get phone CID because my usb brick does not let my see phone using fastboot. Tried the rest but can't get it back. Anyway to get phone CID without fastboot?
tx
usb brick should still allow you to use fasboot, if it doesnt then you have a driver problem
usb brick messes with storage and sdcard, not fastboot.
you can also download an app to find the cid (cid helper i think) however all of this is useless if you cannot use fastboot to get the cid as you need to be able to use fastboot to enable sdcard access
Device(s): HTC Desire (depreciated)
Blue Galaxy s3 (international)
Carrier: Not Provided
Thanks: 114
Thanked 1,016 Times in 838 Posts
Quote:
Originally Posted by SANCAH
Just joined your Forum to ask a few questions. Forgive me if they are not in the right place. I had my rooted HTC Desire USB bricked recently. I did not know what it was. Could not get any access to SD card to restore any of the ROM I had with Rom MAnager. Anyway I found this command on line fastboot oem enableqxdm 0which let me have my SD card back. All is fine apart from the fact that my bluetooth won't turn on and the battery life (which wasn't great any way) is now a lot worse. Today I found that I should have done the second part of the process with fastboot oem eraseconfig command. My question really is - do I have to go back to the original unrooted version of my HTC Desire to go through the process described at the beginning of the thread or can I do it with my current CyanogenMod?
no you can do this on rooted/cutom rommed devices, this is for unreooted and rooted devices.
if you have s-off you can just do eraseconfig and if that doesnt work fastboot flash your mtd0.img
Last edited by Rastaman-FB; March 12th, 2012 at 11:22 AM.
i installed everything but i can't get the htc to be recognized in adb shell or fastboot...all i get is waiting for device ( IT IS S-OFF, AND I CAN SEE AND USE THE SD CARD)
the symptoms i get are that i can not connect to the pc by any means, i don't have any signal and no sound
PLEASE HELP ITS DRIVING ME CRAZY
i can't succeed to copy those files in phone memory
i installed everything but i can't get the htc to be recognized in adb shell or fastboot...all i get is waiting for device ( IT IS S-OFF, AND I CAN SEE AND USE THE SD CARD)
the symptoms i get are that i can not connect to the pc by any means, i don't have any signal and no sound
PLEASE HELP ITS DRIVING ME CRAZY
i can't succeed to copy those files in phone memory
The guide in the first post is a step-by-step procedure for fixing this. Only the 2-command version before the series of steps is for S-Off, the actual 4 step process in the guide is for S-On or S-Off.
i m kind of a noob at this and i was wondering if this would work on a HTC magic 32b because i have been trying for ages to upgrade to 2.2.3 gingerbread but i need to root my android first but upon stumbling on this forum i realized that my usb is bricked but my memory card works fine so any advice right now would be greatly appreciated.