Jump to content

USB brick/rickrolled/b0rked -> FIXED!


Guest IEFtm
 Share

Recommended Posts

u can state that 100 times and it will still make no sense to me, im a new user and dont know what a terminal app is. im guessing su and cat are the commands?

Yes correct they are the commands, just type them in verbatim.

su = superuser

cat = concatenate and the > is a redirect pipe

Link to comment
Share on other sites

Ok, my desire is not bricked at the mo, but I just want to get one thing clear in my head in case it ever does happen.

I have already dumped my misc.imho onto my sdcard and saved flash_image there too(i know it needs to go into data), however, how would I know if I needed to chmod the file? And how would I go about doing it? Running a command in a terminal emu?

Sorry, I am quite new to this.

Stu

Link to comment
Share on other sites

flash_image needs to be chmodded to allow it to execute. You can check this by examining the flags, but there's no reason not to just chmod it whenever you need it. Once it's in place in /data/flash_image, run "chmod 755 /data/flash_image" to enable it in a terminal app.

Link to comment
Share on other sites

Here is my output:

ls -l /system

drwxr-xr-x 1 0 0 2048 May 13 22:05 ←[1;34mapp←[0m

drwxr-xr-x 1 0 2000 2048 May 13 22:06 ←[1;34mbin←[0m

-rw-r--r-- 1 0 0 4757 Aug 1 2008 ←[0;0mbuild.prop←[0m

drwxr-xr-x 1 0 0 2048 May 13 22:05 ←[1;34mcustomize←[0m

drwxr-xr-x 1 0 0 2048 May 13 22:05 ←[1;34metc←[0m

drwxr-xr-x 1 0 0 2048 May 13 22:05 ←[1;34mfonts←[0m

drwxr-xr-x 1 0 0 2048 May 13 22:05 ←[1;34mframework←[0m

drwxr-xr-x 1 0 0 2048 May 13 22:05 ←[1;34mlib←[0m

drwxr-xr-x 1 0 0 2048 May 13 22:04 ←[1;34mlost+found←[0m

drwxr-xr-x 1 0 0 2048 May 13 22:05 ←[1;34mmedia←[0m

drwxrwx--x 6 1000 1000 1024 May 13 21:32 ←[1;34msd←[0m

drwxrwxrwx 1 0 0 2048 May 30 22:25 ←[1;34mtest←[0m

drwxr-xr-x 1 0 0 2048 May 13 22:05 ←[1;34musr←[0m

drwxr-xr-x 1 0 0 2048 May 13 22:06 ←[1;34mxbin←[0m

seems like I have rw rights for system.

perfect ;-) any chance you flash modified kernel and dump SPL if I tell you how ?

Link to comment
Share on other sites

Ok, my desire is not bricked at the mo, but I just want to get one thing clear in my head in case it ever does happen.

I have already dumped my misc.imho onto my sdcard and saved flash_image there too(i know it needs to go into data), however, how would I know if I needed to chmod the file? And how would I go about doing it? Running a command in a terminal emu?

Sorry, I am quite new to this.

Stu

The flash image is an executable and chmod 755 marks it as such.

You could inspect the file permissions by using ls or similar but by just doing the chmod command anyway wouldn't do anything except to make sure the the file is executable.

Link to comment
Share on other sites

flash_image needs to be chmodded to allow it to execute. You can check this by examining the flags, but there's no reason not to just chmod it whenever you need it. Once it's in place in /data/flash_image, run "chmod 755 /data/flash_image" to enable it in a terminal app.

Perfect, thanks for the quick reply.

Stu

Link to comment
Share on other sites

I can't believe this! All my work machines are Windows :| ...I'm at work 8 hours, then I'll give this a whirl when I get home. Well done everyone! (that XDA thread where they were figuring it all out is pure awesome!)

Link to comment
Share on other sites

why this does't work for me, the command /data/flash_image misc /data/mtd0.img" return illegal instruction.

Nobody know what is problem??

Link to comment
Share on other sites

I can't believe this! All my work machines are Windows :| ...I'm at work 8 hours, then I'll give this a whirl when I get home. Well done everyone! (that XDA thread where they were figuring it all out is pure awesome!)

Most of this has to be done on the actual phone. You could use windows if you need to.

Link to comment
Share on other sites

why this does't work for me, the command /data/flash_image misc /data/mtd0.img" return illegal instruction.

Nobody know what is problem??

have you chmod to 755 the flash_image?

Link to comment
Share on other sites

Well done guys, great work with the un-bricking! This is a piece of really awesome news!

Looking forward to your future contributions to the Desire community!

Link to comment
Share on other sites

why this does't work for me, the command /data/flash_image misc /data/mtd0.img" return illegal instruction.

Nobody know what is problem??

I had that. In my case it was flash_image downloaded via ftp, where the ftp client applied the ASCII transfer type instead of binary.

Check the flash_image file length to see if it's the case for you too.

Link to comment
Share on other sites

Guys, eventually you did it!!

That's the power of the community that enhances the power of the singles :(.

I'm so proud of being part of modaco and xda, even if I'm quite a lurker with no merit.

A huge thanks to everybody that made that happen!!

Link to comment
Share on other sites

I had that. In my case it was flash_image downloaded via ftp, where the ftp client applied the ASCII transfer type instead of binary.

Check the flash_image file length to see if it's the case for you too.

thank you so much

it's resolve my probleme because of flash_image dosn't have extention filezilla make the transfer as asci

thank you for all modaco dev's you are the best

Link to comment
Share on other sites

In this specific case, the CID is HTC__E11.

2. Get the following mtd0.img from here or from here: mirror provided by SgtDavePwnage.

Edit this image to the CID you found above with a hex editor.

Click here to DONATE :o

Hi guys, I'm stuck on my hexadecimal. I know I suck at the conversion :(

My phone's output:

[i used someone else's mtd0] :(

Edited by Biliskner
Link to comment
Share on other sites

i've flash my legend a stock WWE.

Basically I followed the step1 of Paul's r4 rooting guide for legend,but it seems not rooted

Is there anyone having the same problem or who knows how i can do with it .

sorry for my bad english

Edited by ricky812
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
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.