First of all many thanks to IEFtm from Modaco forum for the solution and the how to !!
Here a copy/paste of instructions with some additions
( i can't be more clear than him
)
/!\ IMPORTANT /!\ : only your device will see your sdcard before the end of the unbrick process !!!
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:
disable_uart3=0
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'.
You must be rooted to try the following, it seems you can't write to mtd0 without root.
Do step 1 again if you have to.
Also, SD card functionality has to work. For this, go into fastboot mode ( device off : volume down + power, select FASTBOOT) , and do:
fastboot oem enableqxdm 0
( you must have android sdk installed, open a command prompt MSDOS under windows, navigate into 'tools' folder and type this command )
Steps involved:
1. Find out your CID. Go into fastboot mode ( device off : volume down + power, select FASTBOOT) , and do :
fastboot oem boot
( you must have android sdk installed, open a command prompt MSDOS under windows, navigate into 'tools' folder and type this command )
The log will say something like the following:
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.
3. Get flash_image from here or from here: mirror provided by SgtDavePwnage.
You can move both mtd0.img and flash_image by putting it on your sdcard, and issueing the following command in a terminal emulator ( you must do this on your device with Connecbot for exemple ) :
In the terminal emulator ( like connecbot ) you will be at prompt beginning with a $ , type 'su' ( without the quote ) 2 times and you will normally see # at the beginning of the ligne ( or anything else with # ). In this case you are logged as root. You can check it with this command : ls ( check screenshoot to see what's look like )
Now type the following
cat /sdcard/flash_image > /data/flash_image "type enter"
cat /sdcard/mtd0.img > /data/mtd0.img "type enter"
chmod 755 /data/flash_image "type enter"
/data/flash_image misc /data/mtd0.img "type enter"
( repeat last command 2 times to be sure and ignore output errors that you will see )
4. Repeat step 3 a couple of times if it doesn't seem to work well.
5. All done! Reboot, you should have normal usb connectivity. Post your 'fastboot oem boot' log and intermediate steps if it fails.
In case of you get 'permission denied' for 'su' command , you can try to do the same thing as Deffe on modaco forum :
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!
You can also check this :
http://xdaforums.com/showthread.php?t=747030
and
http://xdaforums.com/showthread.php?t=748813
and here
http://xdaforums.com/showthread.php?t=733713
to get some information on your situation.
You can go to the original thread http://android.modaco.com/content/h...com/309961/usb-brick-rickrolled-b0rked-fixed/
to get your mtd0.img already modified for your CID ( if someone has posted it )
Click here to DONATE for them !
Here a copy/paste of instructions with some additions
/!\ IMPORTANT /!\ : only your device will see your sdcard before the end of the unbrick process !!!
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:
disable_uart3=0
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'.
You must be rooted to try the following, it seems you can't write to mtd0 without root.
Do step 1 again if you have to.
Also, SD card functionality has to work. For this, go into fastboot mode ( device off : volume down + power, select FASTBOOT) , and do:
fastboot oem enableqxdm 0
( you must have android sdk installed, open a command prompt MSDOS under windows, navigate into 'tools' folder and type this command )
Steps involved:
1. Find out your CID. Go into fastboot mode ( device off : volume down + power, select FASTBOOT) , and do :
fastboot oem boot
( you must have android sdk installed, open a command prompt MSDOS under windows, navigate into 'tools' folder and type this command )
The log will say something like the following:
Code:
#INFOTAG:Ramdisk OK
#INFOTAG:smi ok, size = 0
#INFOTAG:hwid 0x0
#INFOTAG:skuid 0x21F04
#INFOTAG:hero panel = 0x0
#INFOTAG:engineerid = 0x0
#INFOMCP dual-die
#INFOMCP dual-die
#INFOTAG:mono-die = 0x0
#INFODevice CID is not super CID
[B][SIZE="3"]#INFOCID is HTC__E11[/SIZE][/B]
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.
3. Get flash_image from here or from here: mirror provided by SgtDavePwnage.
You can move both mtd0.img and flash_image by putting it on your sdcard, and issueing the following command in a terminal emulator ( you must do this on your device with Connecbot for exemple ) :
In the terminal emulator ( like connecbot ) you will be at prompt beginning with a $ , type 'su' ( without the quote ) 2 times and you will normally see # at the beginning of the ligne ( or anything else with # ). In this case you are logged as root. You can check it with this command : ls ( check screenshoot to see what's look like )
Now type the following
cat /sdcard/flash_image > /data/flash_image "type enter"
cat /sdcard/mtd0.img > /data/mtd0.img "type enter"
chmod 755 /data/flash_image "type enter"
/data/flash_image misc /data/mtd0.img "type enter"
( repeat last command 2 times to be sure and ignore output errors that you will see )
4. Repeat step 3 a couple of times if it doesn't seem to work well.
5. All done! Reboot, you should have normal usb connectivity. Post your 'fastboot oem boot' log and intermediate steps if it fails.
In case of you get 'permission denied' for 'su' command , you can try to do the same thing as Deffe on modaco forum :
P.S.
before i have reroot my legend make step1 and use fake-flush and not step2. So the phone became rooted and i can use connectbot!
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!
You can also check this :
http://xdaforums.com/showthread.php?t=747030
and
http://xdaforums.com/showthread.php?t=748813
and here
http://xdaforums.com/showthread.php?t=733713
to get some information on your situation.
You can go to the original thread http://android.modaco.com/content/h...com/309961/usb-brick-rickrolled-b0rked-fixed/
to get your mtd0.img already modified for your CID ( if someone has posted it )
Click here to DONATE for them !
Attachments
Last edited by a moderator: