Jump to content

USB brick/rickrolled/b0rked -> FIXED!


Recommended Posts

Guest IEFtm
Posted (edited)

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

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

Click here to DONATE :(

Edited by IEFtm
Guest Snarkasm
Posted

It's nice having a fully-functioning phone back. :(

<-- TheProfessor in IRC.

Guest stevebrush
Posted

the misc.img link seems to be brocken...

Guest StuMcBill
Posted

This is great work, well done to all involved.

I have a question though. Is there a way you can dump your own mtd0.img file to be restored if you are not bricked atm?

Or is this not necessary?

Stu

Guest xTc is loVe
Posted

Cant download Misc image... 404 Request Error: Not Found !?

Guest Jacques993
Posted

This work for the Legend as well ? thankss

Guest IEFtm
Posted (edited)

Fixed, refresh this topic :(

This work for the Legend as well ? thankss

You tell us :(

Edited by IEFtm
Guest nico1375
Posted

anyone with a bricked desire can confirm?

Guest xTc is loVe
Posted
This work for the Legend as well ? thankss

DONT USE THIS FOR YOUR LEGEND THIS WILL END IN A FULL BRICK I THINK!

Wait for a modified misc image for the legend.... this will only take a few hours i think.

Guest Shawe
Posted

People, if you have a different CID and need to hex edit the file, share here and say also for what CID is edited.

Guest jdouce
Posted

guys with legend

get a rooted non brick to get you the misc

use hex editor the same

do rest in the same way

Guest IEFtm
Posted
DONT USE THIS FOR YOUR LEGEND THIS WILL END IN A FULL BRICK I THINK!

Wait for a modified misc image for the legend.... this will only take a few hours i think.

Then post a misc partition dump.

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

We'll see if it's similar.

Guest kubino
Posted
Then post a misc partition dump.

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

We'll see if it's similar.

you need this from unbricked device aswell.

Guest Snarkasm
Posted
This is great work, well done to all involved.

I have a question though. Is there a way you can dump your own mtd0.img file to be restored if you are not bricked atm?

Or is this not necessary?

Stu

It would be best to pull a misc.img if you're not bricked right now. It would also be best if a nandroid backup would pull misc.img during a normal backup.

To get your own misc.img out of a working device, use

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

And pull the misc.img off of your SD card next time you link up. :(

Posted (edited)

nevermind - first post updated

Edited by r&a
Guest stevebrush
Posted (edited)

misc.img for :

CID : HTC__001

ROM : 1.21.405.1

misc.img

Edited by stevebrush
Guest DrMon
Posted
is it for linux only (flash_image) ?

Hi r&a,

flash_image needs to be run from your phone (so yeah, linux only I guess, heh).

Copy it over to /data before you run it :(

Guest madmic
Posted

You guys are legends :(

A few questions:

1) first post says you need ROOT to flash this repair - so what happens if you 'brick' first time during the root, can you still apply the fix??

2) what happens if you do brick? do you repair and try re-rooting again? Would be interesting to know if you re-brick, this would point to something about the phone causing this

3) now we know what caused the brick, can the original root be modified to prevent it?

Credits to Paul for the root and those who resolved the issue, I bet there are interesting things to come from the debug mode very shortly

Guest kiokoman
Posted
This is great work, well done to all involved.

I have a question though. Is there a way you can dump your own mtd0.img file to be restored if you are not bricked atm?

Or is this not necessary?

Stu

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

Guest stevebrush
Posted

may be, Paul or everybody else could make a "little" kitchen where we enter our CID and ROM version and get the appropriate misc.img as this is only 655ko and only a few bytes to change (CID & ROM Version). I don't have time now to do it (I have a trin to take) but it's just a little script...

Guest jdouce
Posted

chefs could just add these 2 files to roms and then if ppl get the usb brick they can just run it :( even maybe make an app to do it :(

Guest lgrangeia
Posted
may be, Paul or everybody else could make a "little" kitchen where we enter our CID and ROM version and get the appropriate misc.img as this is only 655ko and only a few bytes to change (CID & ROM Version). I don't have time now to do it (I have a trin to take) but it's just a little script...

Is it possible to flash misc from fastboot? that would simplify stuff.

Congrats all :(

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.