• Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such softwareNintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.

USB brick/rickrolled/b0rked -> FIXED!

343 posts in this topic

Posted (edited) · Report post

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
1

Share this post


Link to post
Share on other sites

Posted · Report post

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

<-- TheProfessor in IRC.

0

Share this post


Link to post
Share on other sites

Posted · Report post

plz just refresh the first link to misc.img

0

Share this post


Link to post
Share on other sites

Posted · Report post

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

0

Share this post


Link to post
Share on other sites

Posted · Report post

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

0

Share this post


Link to post
Share on other sites

Posted · Report post

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

0

Share this post


Link to post
Share on other sites

Posted · Report post

This work for the Legend as well ? thankss

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Fixed, refresh this topic :(

This work for the Legend as well ? thankss

You tell us :(

Edited by IEFtm
0

Share this post


Link to post
Share on other sites

Posted · Report post

anyone with a bricked desire can confirm?

0

Share this post


Link to post
Share on other sites

Posted · Report post

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.

0

Share this post


Link to post
Share on other sites

Posted · Report post

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

0

Share this post


Link to post
Share on other sites

Posted · Report post

guys with legend

get a rooted non brick to get you the misc

use hex editor the same

do rest in the same way

0

Share this post


Link to post
Share on other sites

Posted · Report post

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.

0

Share this post


Link to post
Share on other sites

Posted · Report post

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.

0

Share this post


Link to post
Share on other sites

Posted · Report post

misc.img for

CID : HTC__102

ROM : 1.15.405.3

misc.img

0

Share this post


Link to post
Share on other sites

Posted · Report post

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

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

nevermind - first post updated

Edited by r&a
0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

misc.img for :

CID : HTC__001

ROM : 1.21.405.1

misc.img

Edited by stevebrush
0

Share this post


Link to post
Share on other sites

Posted · Report post

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

0

Share this post


Link to post
Share on other sites

Posted · Report post

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

0

Share this post


Link to post
Share on other sites

Posted · Report post

misc.img for :

CID : HTC__E11

misc.img

0

Share this post


Link to post
Share on other sites

Posted · Report post

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

0

Share this post


Link to post
Share on other sites

Posted · Report post

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

0

Share this post


Link to post
Share on other sites

Posted · Report post

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

0

Share this post


Link to post
Share on other sites

Posted · Report post

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

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.