Jump to content

USB brick/rickrolled/b0rked -> FIXED!


Guest IEFtm

Recommended Posts

Guest IEFtm

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
Link to comment
Share on other sites

Guest StuMcBill

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

Link to comment
Share on other sites

Guest IEFtm

Fixed, refresh this topic :(

This work for the Legend as well ? thankss

You tell us :(

Edited by IEFtm
Link to comment
Share on other sites

Guest xTc is loVe
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.

Link to comment
Share on other sites

Guest IEFtm
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.

Link to comment
Share on other sites

Guest kubino
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.

Link to comment
Share on other sites

Guest Snarkasm
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. :(

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Guest madmic

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

Link to comment
Share on other sites

Guest kiokoman
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

Link to comment
Share on other sites

Guest stevebrush

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...

Link to comment
Share on other sites

Guest jdouce

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

Link to comment
Share on other sites

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

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.