Jump to content


Photo

USB brick/rickrolled/b0rked -> FIXED!


  • Please log in to reply
342 replies to this topic

#21
Snarkasm

Snarkasm

    Lead Desire un-bricker

  • Members
  • PipPip
  • 117 posts
  • Location:'s-Hertogenbosch
  • Devices:HTC Desire
  • Twitter:@Snarkasm
misc.img for :
CID : HTC__E11

Attached Files


  • 0

#22
kiokoman

kiokoman

    Regular

  • Members
  • PipPip
  • 67 posts

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

#23
stevebrush

stevebrush

    Newbie

  • Members
  • Pip
  • 25 posts
  • Devices:HTC Desire
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

#24
jdouce

jdouce

    Diehard

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

#25
lgrangeia

lgrangeia

    Newbie

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

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

#26
encrypt

encrypt

    Newbie

  • Members
  • Pip
  • 44 posts
  • Devices:HTC Desire
I'm not bricked but should I apply this fix ? USB behavior is strange... sometimes the connection just disappear... will this fix solve it? Thanks

  • 0

#27
jdouce

jdouce

    Diehard

  • Members
  • PipPipPipPip
  • 362 posts
  • Devices:Dell Streak, Galaxy S
applying it wouldnt break anything thats for sure so try it

  • 0

#28
xTc is loVe

xTc is loVe

    Enthusiast

  • Members
  • PipPipPip
  • 183 posts
  • Devices:HTC Hero
IT WORKED !!!! Omg so much thanks for this! I love you ALL :* :* :DDD

  • 0

#29
Luqq

Luqq

    Newbie

  • Members
  • Pip
  • 37 posts
  • Gender:Male
  • Location:Groningen
  • Devices:I900 dxia5 taril

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


Doesnt matter :o You can run the flash image via windows if you have adb shell.


Good work guys, makes me feel a lot more secure about flashing froyo! :(

  • 0

#30
mardox

mardox

    Newbie

  • Members
  • Pip
  • 37 posts
will this also fix the huge battery drain most of us have gotten from brick? i was unlucky and sent in my phone for repair yesterday xD

  • 0

#31
Snarkasm

Snarkasm

    Lead Desire un-bricker

  • Members
  • PipPip
  • 117 posts
  • Location:'s-Hertogenbosch
  • Devices:HTC Desire
  • Twitter:@Snarkasm
You can run flash_image from within the phone, no fastboot required. Somebody could just make an app/script that does it from a shortcut on the desktop, in theory.

  • 0

#32
jdouce

jdouce

    Diehard

  • Members
  • PipPipPipPip
  • 362 posts
  • Devices:Dell Streak, Galaxy S
the step 1 is the root step ... you can run step1.sh on a bricked device

its fastboot :( so even if u brick while rooting or have applies the WWE and gone back to stock u can still run step 1 and get root acess

  • 0

#33
StuMcBill

StuMcBill

    Diehard

  • MoDaCo Gold
  • PipPipPipPip
  • 379 posts
  • Gender:Male
  • Devices:HTC One M8

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


And misc.img contains the mtd0.img that needs to be replaced if I did end up with a usb brick?

  • 0
HTC One M8 & Nexus 7 (2013)

#34
ibila

ibila

    Newbie

  • Members
  • Pip
  • 2 posts
  • Devices:htc desire
im such a noob. How do i do a "fastboot oem boot" when in fasboot?

  • 0

#35
Nrond

Nrond

    Newbie

  • Members
  • Pip
  • 12 posts

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

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


seems to be my situation. tried root procedure again after brick and uploaded testimage.zip again.
device is wiped know and cant access sd card

  • 0

#36
DrMon

DrMon

    Newbie

  • Members
  • Pip
  • 17 posts

seems to be my situation. tried root procedure again after brick and uploaded testimage.zip again.
device is wiped know and cant access sd card


You can re-enable the SDCard using fastboot. Boot the phone into fastboot by holding down VOL- and power.
Wait for the screen to flash some messages and disappear, then plug in the USB, ensure fastboot is highlighted in the menu and press the power button once.

Then, from your pc (in the directory containing the fastboot executable):
fastboot oem enableqxdm 0
then
fastboot oem boot

Should re-enable your SDCard.

Edited by DrMon, 30 May 2010 - 02:24 PM.

  • 0

#37
Snarkasm

Snarkasm

    Lead Desire un-bricker

  • Members
  • PipPip
  • 117 posts
  • Location:'s-Hertogenbosch
  • Devices:HTC Desire
  • Twitter:@Snarkasm

And misc.img contains the mtd0.img that needs to be replaced if I did end up with a usb brick?

Yes. You can just flash back misc.img onto misc as instructed.

im such a noob. How do i do a "fastboot oem boot" when in fasboot?

You do it from your android sdk's tools folder. Run fastboot oem boot in a command prompt or terminal and watch the output.

seems to be my situation. tried root procedure again after brick and uploaded testimage.zip again.
device is wiped know and cant access sd card

You can re-root by running ONLY step 1 of the rooting procedure. This should get you a rooted test ROM. Even if you're bricked, you should be able to get the files working.

  • 0

#38
IEFtm

IEFtm

    Newbie

  • Members
  • Pip
  • 32 posts
  • Devices:Desire / AlphaRev S-OFF 0.93
  • Twitter:@@ieftm

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


You should be able to apply the TestRUU (which gives root from step1) in RUU flashing mode.

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


It's probably the hacked recovery that is causing this. We will investigate with Paul, obviously. Somehow, misc partition gets overwritten.
So you can try all you want , as long as you have the correct misc.img to reflash in case of a usbbrick.

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

See above.


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

#39
nico1375

nico1375

    Newbie

  • Members
  • Pip
  • 34 posts
  • Gender:Male
  • Devices:Galaxy Nexus, Nexus 7

Then post a misc partition dump.

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


From where do you issue this command?
Terminal? Adb shell?
phone?

  • 0

#40
DrMon

DrMon

    Newbie

  • Members
  • Pip
  • 17 posts

From where do you issue this command?
Terminal? Adb shell?
phone?


From the phone througha terminal emulator, though you could use adb and type:
adb shell <command> (Unless of course you're bricked and can't :()

All works the same in the end :(

Edited by DrMon, 30 May 2010 - 02:35 PM.

  • 0




2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users