Jump to content


Photo

USB brick/rickrolled/b0rked -> FIXED!


  • Please log in to reply
342 replies to this topic

#1
IEFtm

IEFtm

    Newbie

  • Members
  • Pip
  • 32 posts
  • Devices:Desire / AlphaRev S-OFF 0.93
  • Twitter:@@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, 14 June 2010 - 09:13 PM.

  • 1
HTC Desire
-ShadowSense 2.0 (HTC 2.10 base, not yet released..)
-World's first HBOOT S-OFF Desire by AlphaRev.

Proud project initiator for the AlphaRev project, bringing S-OFF to all the HTC devices that need it!

If you feel like supporting our device fund (which enables us to do more S-OFF hacks!) - then please do so here: Paypal donation

#2
Snarkasm

Snarkasm

    Lead Desire un-bricker

  • Members
  • PipPip
  • 117 posts
  • Location:'s-Hertogenbosch
  • Devices:HTC Desire
  • Twitter:@Snarkasm
It's nice having a fully-functioning phone back. :(

<-- TheProfessor in IRC.

  • 0

#3
r&a

r&a

    Newbie

  • Members
  • Pip
  • 44 posts
  • Devices:Desire Galaxy S
plz just refresh the first link to misc.img

  • 0
Just Dropped In To See What Condition My Condition Was In ...

#4
stevebrush

stevebrush

    Newbie

  • Members
  • Pip
  • 25 posts
  • Devices:HTC Desire
the misc.img link seems to be brocken...

  • 0

#5
StuMcBill

StuMcBill

    Diehard

  • MoDaCo Gold
  • PipPipPipPip
  • 379 posts
  • Gender:Male
  • Devices:HTC One M8
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
HTC One M8 & Nexus 7 (2013)

#6
xTc is loVe

xTc is loVe

    Enthusiast

  • Members
  • PipPipPip
  • 183 posts
  • Devices:HTC Hero
Cant download Misc image... 404 Request Error: Not Found !?

  • 0

#7
Jacques993

Jacques993

    Newbie

  • Members
  • Pip
  • 9 posts
This work for the Legend as well ? thankss

  • 0

#8
IEFtm

IEFtm

    Newbie

  • Members
  • Pip
  • 32 posts
  • Devices:Desire / AlphaRev S-OFF 0.93
  • Twitter:@@ieftm
Fixed, refresh this topic :(

This work for the Legend as well ? thankss


You tell us :(

Edited by IEFtm, 30 May 2010 - 01:45 PM.

  • 0
HTC Desire
-ShadowSense 2.0 (HTC 2.10 base, not yet released..)
-World's first HBOOT S-OFF Desire by AlphaRev.

Proud project initiator for the AlphaRev project, bringing S-OFF to all the HTC devices that need it!

If you feel like supporting our device fund (which enables us to do more S-OFF hacks!) - then please do so here: Paypal donation

#9
nico1375

nico1375

    Newbie

  • Members
  • Pip
  • 34 posts
  • Gender:Male
  • Devices:Galaxy Nexus, Nexus 7
anyone with a bricked desire can confirm?

  • 0

#10
xTc is loVe

xTc is loVe

    Enthusiast

  • Members
  • PipPipPip
  • 183 posts
  • Devices:HTC Hero

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

#11
Shawe

Shawe

    Regular

  • Members
  • PipPip
  • 51 posts
  • Devices:HTC Desire
  • Twitter:@shawe
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

#12
jdouce

jdouce

    Diehard

  • Members
  • PipPipPipPip
  • 362 posts
  • Devices:Dell Streak, Galaxy S
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

#13
IEFtm

IEFtm

    Newbie

  • Members
  • Pip
  • 32 posts
  • Devices:Desire / AlphaRev S-OFF 0.93
  • Twitter:@@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.

  • 0
HTC Desire
-ShadowSense 2.0 (HTC 2.10 base, not yet released..)
-World's first HBOOT S-OFF Desire by AlphaRev.

Proud project initiator for the AlphaRev project, bringing S-OFF to all the HTC devices that need it!

If you feel like supporting our device fund (which enables us to do more S-OFF hacks!) - then please do so here: Paypal donation

#14
kubino

kubino

    Newbie

  • Members
  • Pip
  • 12 posts
  • Devices:HTC Desire

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

#15
stevebrush

stevebrush

    Newbie

  • Members
  • Pip
  • 25 posts
  • Devices:HTC Desire
misc.img for
CID : HTC__102
ROM : 1.15.405.3

Attached Files

  • Attached File  misc.img   640KB   237 downloads

  • 0

#16
Snarkasm

Snarkasm

    Lead Desire un-bricker

  • Members
  • PipPip
  • 117 posts
  • Location:'s-Hertogenbosch
  • Devices:HTC Desire
  • Twitter:@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. :(

  • 0

#17
r&a

r&a

    Newbie

  • Members
  • Pip
  • 44 posts
  • Devices:Desire Galaxy S
nevermind - first post updated

Edited by r&a, 30 May 2010 - 02:01 PM.

  • 0
Just Dropped In To See What Condition My Condition Was In ...

#18
stevebrush

stevebrush

    Newbie

  • Members
  • Pip
  • 25 posts
  • Devices:HTC Desire
misc.img for :
CID : HTC__001
ROM : 1.21.405.1

Attached Files

  • Attached File  misc.img   640KB   233 downloads

Edited by stevebrush, 30 May 2010 - 02:04 PM.

  • 0

#19
DrMon

DrMon

    Newbie

  • Members
  • Pip
  • 17 posts

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

#20
madmic

madmic

    Newbie

  • Members
  • Pip
  • 18 posts
  • Devices:Desire - rooted and booted!
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




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users