Jump to content

USB brick/rickrolled/b0rked -> FIXED!


Guest IEFtm

Recommended Posts

Guest tanmahah
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'.

Step-by-step guide

1. Follow this r5 rooting guide to do Step 1 of the rooting.

That will give you a basic ROM to work with, with root capability.

2. Enable the SD Card functionality. Boot your phone in FASTBOOT mode (back + power), and enter this command: 'fastboot oem enableqxdm 0' . This will re-enable your SD card.

3. Put THIS update.zip on your sdcard.

4. Power off your phone. Hold Volume-Down + Power to turn it on, and select Recovery.

5. When in the screen with the big red exclamation mark, Hold Volume-Up + press Power, and select apply sdcard:update.zip.

6. This will automatically fix your MISC partition with the correct CID. Reboot, and your done!

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 :lol:

-DrMon @ irc.freenode.net #modaco -> being brave enough to test on his non-bricked device!

Click here to DONATE :)

I was unable to apply sdcard:update.zip, as my sd card can't mount.

When I applied

# cat /dev/mtd/mtd0 > /sdcard/misc.img

cat /dev/mtd/mtd0 > /sdcard/misc.img

cannot create /sdcard/misc.img: read-only file system

#
So, it shows my sd is read only. Recovery says
E:Can't mount /dev/block/mmcblk0
And Android says
SD card removed. Please insert new one.

I'm expecting to resolve it with your help as somewhere I read that this too is a condition of brick.

Link to comment
Share on other sites

  • 2 weeks later...
Guest gabr179

Hy guys, thanks a lot for this tutorial! My Desire has come back to life. Now I have a question, I did the first step of the rooting guide and now I have an Eclair ROM. I can't see the superuser app in the drawer, can I flash a new rom or I have to root again? Thank you.

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...
Guest Raj Verma

Hi Everyone

I have usb bricked and i followed the step mentioned in this post and could not find the solution. I will be grateful if anyone could help me to sort out this prob.

As requested in post if could not find solution then upload the boot log

I have also attached the recovery file and cid for you viewing

C:\Users\verma>cd..

C:\Users>cd..

C:\>cd androidsdk

C:\AndroidSDK>cd tools

C:\AndroidSDK\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 0x26A0D

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 H3G__001

INFOsetting->cid::H3G__001

INFOserial number: SH09HPL01826

INFOcommandline from head: no_console_suspend=1

INFOcommand line length =422

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.09.05.30_2 androidboot.cid

INFO=H3G__001 androidboot.carrier=COMMON androidboot.mid=PB99200

INFO00 androidboot.keycaps=qwerty androidboot.mode=normal androi

INFOdboot.serialno=SH09HPL01826 androidboot.bootloader=0.93.0001

INFO 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

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

INFOnel_addr(0x20008000)

INFO-------------------hboot boot time:407265 msec

FAILED (status read failed (Too many links))

finished. total time: 4.898s

C:\AndroidSDK\tools>

I will be grateful if you could help me to sort this out

Cheeers

flash_image.zip

mtd0.img

Link to comment
Share on other sites

  • 2 weeks later...

I am trying to re-enable my SD card on the Desire but every time I press the command I am getting waiting for device.

How can I fix that?

EDIT: I managed to run "fastboot oem enableqxdm 0" command but my Desire still can't see the SD card.

What else I can do? Should I try to do a reset factory?

Edited by astd
Link to comment
Share on other sites

  • 2 weeks later...
Guest thelolguyXD

Hello. I im an newbie to the android world. I tried to download 2.1 RBM2 seems to worked, but after some days it forces to close every time, and an back background appears.

Someone can please show me a topic or help me with this, maybe i can reset my phone's Firmware?

Link to comment
Share on other sites

  • 2 weeks later...
Guest Standfest

I've fixed usb brick for my HTC Desire (CID T-MOB005) (Rooted, S-OFF)

Simple method (putting update.zip and install it from recovery) didn't worked for me.

Steps I did:

1. Downloaded image file "misc.img" (with my cid) and "flash_image" and put them on sdcard.

2. Installed Android Terminal Emulator app (from market)

3. Opened emulator, typed "su" command, accepted to give root permissions

executed this commands:

cat /sdcard/flash_image > /data/flash_image

cat /sdcard/misc.img > /data/misc.img

chmod 755 /data/flash_image

/data/flash_image misc /data/misc.img

4. Rebooted phone and now USB works!

Thank you all, guys!

Edited by Standfest
Link to comment
Share on other sites

  • 2 weeks later...
Guest kafos

Hey guys,

I have the problem that still after using "fastboot oem enableqxdm 0" and the shell says "OKAY...finished..." can't use my SD- Card. I formatted the SD and renew the partitions. I tried to use another SD-Card but it's not working. I can only use the SD-Card on my computer via Cardreader.

If I type "fastboot oem boot" I can find this as well:

"board_bravo.disable_uart3=0"

"board_bravo.usb_h2w_sw=0"

i read in a Forum that there should be a "0" --- so everything seems to be ok-- BUT IT'S NOT WORKING.

And without the SD card I can't flash.

PLEASE HELP!

Link to comment
Share on other sites

  • 3 weeks later...
Guest WiZaRd1979

I have the problem that still after using "fastboot oem enableqxdm 0" and the shell says "OKAY...finished..." can't use my SD- Card. I formatted the SD and renew the partitions. I tried to use another SD-Card but it's still not working. I can only use the SD-Card on my computer via Cardreader.

Please help anyone!

Link to comment
Share on other sites

Guest kafos
I have the problem that still after using "fastboot oem enableqxdm 0" and the shell says "OKAY...finished..." can't use my SD- Card. I formatted the SD and renew the partitions. I tried to use another SD-Card but it's still not working. I can only use the SD-Card on my computer via Cardreader.

Please help anyone!

yes--- same problem! please help

Link to comment
Share on other sites

Guest labdallah
yes--- same problem! please help

Hello

I'm new to all this staff, and seek help please.

My problem is that when I chose recovery to flash a rom or make an update, the phone vibrates and gets stuck to the white screen with htc logo, it does not go further to make me chose the zip and so on.

HTC DESIRE

BRAVO PVT1 SGIP S-ON

HBOOT-0.93.0001

TOUCH PANEL-SYNT0101

RADIO-5.09.00.20

Aug 18 2010,17:52:18

Please some help, I'm stuck to this since months!!!

Edited by labdallah
Link to comment
Share on other sites

  • 3 weeks later...
Guest Paulo Nobrega

i see no one has answered this post for a long time.. still im gonna try ask

I got the unrevoked 3 and unrooted my HTC Desire... everything went ok... The problem came next... Now it does not read any micro sd card, like most ppl complained..

I've been searching and trying several things for the latest hours and got no luck...

Most ppl said it's an usb brick, still following instructions here and in xda i cant fix it, cause i just cant copy any files to sdcard.

The sdcard is working fine cause it reads on computer. I already reformated it...

I tried using the fastboot commands but nothing worked...

I didnt thought about this before rooting, but i think the phone is locked to an operator.. Dont know if it mattered.. Still.. the root is working... had no problems.. Only it does not recognize any sd card.. in OS or in recovery.

Any lights out there of me???

some info:

Bravo PVT SHIP S-ON

HBOOT 0.93.0001

RADIO-5.11.05.27

Link to comment
Share on other sites

Guest Morbazan
Hello

I'm new to all this staff, and seek help please.

My problem is that when I chose recovery to flash a rom or make an update, the phone vibrates and gets stuck to the white screen with htc logo, it does not go further to make me chose the zip and so on.

HTC DESIRE

BRAVO PVT1 SGIP S-ON

HBOOT-0.93.0001

TOUCH PANEL-SYNT0101

RADIO-5.09.00.20

Aug 18 2010,17:52:18

Please some help, I'm stuck to this since months!!!

Same problem, I created a post hopping someone could help me ;)

Link to comment
Share on other sites

  • 2 weeks later...
Guest olly2009

Thanks to this post, I managed to recover from a USB brick. Ihad the usual suspects : could not mount USB, fast drain, no bluetooth.

Applying the update.zip did not work for me so I got a little worried, then I found the flash_image solution and it did the job. Great.

I believe I bricked my phone when removing the battery while in recovery mode. I thought I was doing a normal reboot but I had done a reboot recovery instead. My bad.

Anyway all sorted now, thanks again ...

Link to comment
Share on other sites

  • 2 months later...
  • 4 weeks later...
  • 1 year later...
Guest rayyan khan

guys my sd card got bricked while removing partition

anyways when i run the command on fastboot android sdk developer tools, this command below fastboot just says <waiting for device> and doesn't do anything please help

fastboot oem enableqxdm 0

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.