Jump to content


Photo

USB brick/rickrolled/b0rked -> FIXED!


  • Please log in to reply
342 replies to this topic

#301
western

western

    Newbie

  • Validating
  • Pip
  • 19 posts
  • Devices:HTC Desire

Yes i read that guide but i dont understand where insert command like "/data/flash_image misc /data/mtd0.img" or chmod u+x /data/flash_image
Also i find a misc.img that have my cid (HTC_001), i must rename to mtd0.img?
Also i need to unzip flash_image or leave it zipped?

U need "Android Terminal Emulator" from the market.
The you must unzip the flash_image"
If the phone is still rooted, you can also use Estrongs File Explorer in RootExplorer mode for copying the Files "flash_image" and "mtd0.img" to /data/data/usbfix.
In this case you only need to type the following commands into your "Android Terminal Emulator":

1.cd /data/data/usbfix
2.chmod 775 flash_image
3.flash_image misc mtd0.img

Reboot

  • 0

#302
Dashie84

Dashie84

    Newbie

  • Members
  • Pip
  • 15 posts

U need "Android Terminal Emulator" from the market.
The you must unzip the flash_image"
If the phone is still rooted, you can also use Estrongs File Explorer in RootExplorer mode for copying the Files "flash_image" and "mtd0.img" to /data/data/usbfix.
In this case you only need to type the following commands into your "Android Terminal Emulator":

1.cd /data/data/usbfix
2.chmod 775 flash_image
3.flash_image misc mtd0.img

Reboot

$ export PATH=/data/local/bin:$PATH
$.cd /data/data/usbfix
.cd: permission denied
$ cd /data
$ dir
dir: permission denied
$ cd /data/data/usbfix
$chmod 775 flash_image
Unable to chmod flash_image: Operation not permitted
$ chmod 775 flash_image
Unable to chmod flash_image: Operation not permitted
$flash_image misc mtd0.img
flash_image: permission denied
$chmod 775 flash_image
Unable to chmod flash_image: Operation not permitted
$chmod u+x /data/flash_image
Bad mode
$ cd
cd: HOME not set
$ cd..
cd..: permission denied
$ cd/
cd/: not found
$ chmod 775 /data/flash_image
Unable to chmod /data/flash_image: Operation not permitted
$

  • 0

#303
bpivk

bpivk

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,022 posts
  • Gender:Male
  • Location:Slovenia
  • Devices:HTC Desire (SLCD)
Did you use the su command and then the other commands?

  • 0
★ Device 1: Samsung Galaxy S2 ☆ Android Version: 2.3 ★
★ Device 2: ACER Iconia A500 tablet PC ☆ Android Version: 3.1 ☆ OS: My personal HC rom based on Stock 3.1 HC ★

#304
Dashie84

Dashie84

    Newbie

  • Members
  • Pip
  • 15 posts

Did you use the su command and then the other commands?

no, ill try it

  • 0

#305
Dashie84

Dashie84

    Newbie

  • Members
  • Pip
  • 15 posts

Did you use the su command and then the other commands?

I love you guys!!! I mean, in a sexual way!

  • 0

#306
bpivk

bpivk

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,022 posts
  • Gender:Male
  • Location:Slovenia
  • Devices:HTC Desire (SLCD)

I love you guys!!! I mean, in a sexual way!

Thanks for the offer but my wife would kill me. :P

  • 0
★ Device 1: Samsung Galaxy S2 ☆ Android Version: 2.3 ★
★ Device 2: ACER Iconia A500 tablet PC ☆ Android Version: 3.1 ☆ OS: My personal HC rom based on Stock 3.1 HC ★

#307
Dashie84

Dashie84

    Newbie

  • Members
  • Pip
  • 15 posts

Thanks for the offer but my wife would kill me. :P

Another question, its better app2sd or data2sd? Difference?

  • 0

#308
bpivk

bpivk

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,022 posts
  • Gender:Male
  • Location:Slovenia
  • Devices:HTC Desire (SLCD)
I haven't used data2sd yet but it gives you way more internal storage and it moves all the data.
a2sd only moves data and leaves data/data alone so it still uses some internal storage.

I think that data2sd is the way to go but I don't tinker with my phone a lot so I don't know how it works on Modaco custom rom which I use.
And I don't know how we would implement it on a new Sense rom when they eventually come out.

Edit: I'm using a modified a2sd+ which also moves the data/data dir to my SD. It's useful only on fast SD cards (class 6 or more) but it works nicely. I have 230+ apps and 170mb of free internal memory.

Edited by bpivk, 02 December 2010 - 10:28 AM.

  • 0
★ Device 1: Samsung Galaxy S2 ☆ Android Version: 2.3 ★
★ Device 2: ACER Iconia A500 tablet PC ☆ Android Version: 3.1 ☆ OS: My personal HC rom based on Stock 3.1 HC ★

#309
andreazd

andreazd

    Newbie

  • Members
  • Pip
  • 1 posts
  • Gender:Male
  • Location:Montenegro
  • Devices:htc desire
  • Twitter:@@andrea_972
HTC_032

Attached Files


  • 0

#310
lept0n

lept0n

    Newbie

  • Members
  • Pip
  • 1 posts
  • Devices:HTC Desire
Hi Guys!
I am trying to fix my phone from the usb brick but i have an issue:
My sdcard mounts in recovery but when i boot in to my ROM, it keeps on giving me the message that "Its safe to remove SD card". I have tried to mount it via settings a number of times but it still gives me the same message, how can i transfer the mtd0.img to /data partition to fix the USB brick without the SD card? anyone? please help ?
I am using the rooted leedroid 2.2f ROM.

  • 0

#311
sibere

sibere

    Newbie

  • Members
  • Pip
  • 6 posts
  • Devices:SPV C500
Hi!

Thanks for the fix!

I was stuck because my mtd0 got completely zeroed after a reboot (don't know how...)
I flashed an edited mtd0 with my CID and everything is back to normal!

big thanks!

  • 0

#312
papabol

papabol

    Newbie

  • Members
  • Pip
  • 2 posts
  • Devices:HTC Deisire
ok heres my first problem.. my phone cant recognize my sd card but it can boot. i thought i just need to reformat my sd card to solved the problem so thats what i did.. i reformat it using a card reader. but when i inserted it on my phone it wont boot anymore.. just the HTC logo will appear then restarts and the HTC logo again..


this is what happens..

but if i removed my memory card it will boot..


when i connect the phone to my pc via usb it doesnt recognize it.
my radio doesnt work also..
i think my bluetooth isn't functioning too..



is this what you call usb brick?

- - - - - - -- - - - - -- - - - - - -- - - - - - - - - - - - - -

2nd problem
one thing i observed is that when i connect my charger to the phone it does not charge immediately.. it takes a moment before the battrey icon starts to move..

has somebody here experienced it before and found the solution?

BTW, my phone is rooted using unrEVOked3 and currently using Amon RA recovery 2.0

and heres my phones specs.. its S-LCD
Posted Image

thanks

Edited by papabol, 09 December 2010 - 02:30 PM.

  • 0

#313
TSBL

TSBL

    Newbie

  • Members
  • Pip
  • 1 posts
  • Devices:Desire
Hi, Im new to this stuff but after a few hours of intense searching ive discovered that my phone is most likely bricked. I say most likely cus compared to whats described of a bricked phone mine is worse. The reason im writing here is that the method described here isnt working for a few reasons, ill describe below.

The setup im using:
HTC Desire, among the first batch with AMOLED etc, euro version not locked to anny carrier etc.
Rooted and S-off and been that way for ages, flashed alot of ROMs, have had 0 problems, its always been stable.
N1table related to S-off. Running Oxygen 1.0 rom (dont think this matters but sure, lets post it).


This started after a simple reboot, Nothing fancy.

The problems im experiencing:
Computor does not recognice phone through USB.
Phone does not recognice the SD card. ---- 'fastboot oem enableqxdm 0' does NOT solve the problem.
Phone does not recognice the SIM card and gets no service. HOWEVER, at bootup it asks for my PIN and i have to enter the right one, and the notification bar still displays the right Service provider, I cannot edit anny settings related to the SIM or similar - EVEN if it asks for the PIN.
I cant boot directly to the bootloader/fastboot/recovery like i usualy can by downvolume + power but the reboot to bootloader/recovery still works from the ROM, thankfully.


So the problem is here, i would love to follow the guide, but since the SD Card cant be activated even with the fancy script i have no clue what to do. I tried installing the newest RUU but that was a failiure ofc. PLEASE help me. Im getting pretty damn desperate :):(

Edited by TSBL, 10 December 2010 - 10:39 PM.

  • 0

#314
albertz141

albertz141

    Newbie

  • Members
  • Pip
  • 9 posts
guys you are awesome - i got stuck with bricked BT after S-off and now i can finally talk while driving !! yeahhh

  • 0

#315
aidfarh

aidfarh

    Newbie

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

Hi, Im new to this stuff but after a few hours of intense searching ive discovered that my phone is most likely bricked. I say most likely cus compared to whats described of a bricked phone mine is worse. The reason im writing here is that the method described here isnt working for a few reasons, ill describe below.

The setup im using:
HTC Desire, among the first batch with AMOLED etc, euro version not locked to anny carrier etc.
Rooted and S-off and been that way for ages, flashed alot of ROMs, have had 0 problems, its always been stable.
N1table related to S-off. Running Oxygen 1.0 rom (dont think this matters but sure, lets post it).
This started after a simple reboot, Nothing fancy.

The problems im experiencing:
Computor does not recognice phone through USB.
Phone does not recognice the SD card. ---- 'fastboot oem enableqxdm 0' does NOT solve the problem.
Phone does not recognice the SIM card and gets no service. HOWEVER, at bootup it asks for my PIN and i have to enter the right one, and the notification bar still displays the right Service provider, I cannot edit anny settings related to the SIM or similar - EVEN if it asks for the PIN.
I cant boot directly to the bootloader/fastboot/recovery like i usualy can by downvolume + power but the reboot to bootloader/recovery still works from the ROM, thankfully.
So the problem is here, i would love to follow the guide, but since the SD Card cant be activated even with the fancy script i have no clue what to do. I tried installing the newest RUU but that was a failiure ofc. PLEASE help me. Im getting pretty damn desperate :):(

Try connecting your SD Card to your PC using a card reader, backing up and repartitioning your SD Card. I had the same problem after flashing a ROM and it turns out the SD Card was the problem. I was able to access the data using a card reader, but not from the phone. Repartitioning fixed it.

  • 0

#316
dinoalbert

dinoalbert

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,924 posts
  • Location:Philippines
  • Interests:Airsoft!
bookmarked!

good to be back in Modaco...from WinMo to Android!

Edited by dinoalbert, 21 December 2010 - 03:13 AM.

  • 0

#317
Spiders

Spiders

    Newbie

  • Members
  • Pip
  • 1 posts

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


Hi,
when I try to start the update.zip, this error comes:
The loading bar started:

Install from sdcard
Finding update package...
Opening update package...
Verifying update package...
E:failed to verify whole-file signature
E:signature verification failed
Installation aborted



Where is the problem?

please help :-)

her are my fasttboot oem boot infos:

C:\android-sdk-windows\tools>fastboot oem boot
... INFOsetup_tag addr=0xA0000100 cmdline add=0x8E
07F9F0
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
INFOCID is HTC__E11
INFOsetting->cid::HTC__E11
INFOserial number: HT03YPL00603
INFOcommandline from head: no_console_suspend=1
INFOcommand line length =423
INFOactive commandline: board_bravo.disable_uart3=0 board_bravo.
INFOusb_h2w_sw=0 board_bravo.disable_sdcard=0 diag.enabled=0 boa
INFOrd_bravo.debug_uart=0 smisize=0 userdata_sel=0 androidboot.e
INFOmmc=false androidboot.baseband=5.11.05.27 androidboot.cid=H
INFOTC__E11 androidboot.carrier=HTC-Dutch androidboot.mid=PB9920
INFO000 androidboot.keycaps=qwerty androidboot.mode=normal andro
INFOidboot.serialno=HT03YPL00603 androidboot.bootloader=0.93.000
INFO1 no_console_suspend=1
INFOaARM_Partion[0].name=misc
INFOaARM_Partion[1].name=recovery
INFOaARM_Partion[2].name=boot
INFOaARM_Partion[3].name=system
INFOaARM_Partion[4].name=cache
INFOaARM_Partion[5].name=userdata
INFOpartition number=6
INFOValid partition num=6
INFOmpu_nand_acpu_rw A1E 1000
INFOjump_to_kernel: machine_id(2457), tags_addr(0x20000100), ker
INFOnel_addr(0x20008000)
INFO-------------------hboot boot time:215113 msec
FAILED (status read failed (Too many links))
finished. total time: 7.564s

C:\android-sdk-windows\tools>fastboot oem enableqxdm 0
... OKAY [ 0.090s]
finished. total time: 0.090s


Edited by Spiders, 24 December 2010 - 04:25 AM.

  • 0

#318
godina

godina

    Newbie

  • Members
  • Pip
  • 2 posts

Did you use the su command and then the other commands?


Hi, my desire is working in general, but i dont have bt, fm radio or usb, even charging doesnt start imidiately i plug in the device (i messed something up and now im stuck with stock unrooted rom). I tried fixing it by rageagainstthe cage exploid (followed http://forum.xda-dev...mp;postcount=15 guide), however i cant even do the first command as it gives me premission denied. Cant su either. I know my phone is not rooted, but some guys with unrooted roms managed to fix their device. How can i do that? I have enabled usb debugging followed the guide but no go, premission denied keeps popping :(

halp? enyone?

  • 0

#319
Zh3o

Zh3o

    Newbie

  • Members
  • Pip
  • 1 posts
  • Devices:HTC Desire
Well, got the same problem as above and....i've got a super cid. At least, log says that.

When i try to apply the update.zip mentioned, i get this:

Install from sdcard
Finding update package...
Opening update package...
Verifying update package...
E:failed to verify whole-file signature
E:signature verification failed
Installation aborted


My fastboot log:

C:\SDK\tools>fastboot oem boot
... INFOsetup_tag addr=0xA0000100 cmdline add=0x8E
07F9F0
INFOTAG:Ramdisk OK
INFOTAG:smi ok, size = 0
INFOTAG:hwid 0x0
INFOTAG:skuid 0x26A0D
INFOTAG:hero panel = 0x3
INFOTAG:engineerid = 0x0
INFOMCP dual-die
INFOMCP dual-die
INFOTAG:mono-die = 0x0
INFODevice CID is super CID
INFOCID is super CID
INFOBackup CID is empty
INFOsetting->cid::11111111
INFOserial number: SH0A5PL04789
INFOcommandline from head: no_console_suspend=1
INFOcommand line length =419
INFOactive commandline: board_bravo.disable_uart3=0 board_bravo.
INFOusb_h2w_sw=0 board_bravo.disable_sdcard=0 diag.enabled=0 boa
INFOrd_bravo.debug_uart=0 smisize=0 userdata_sel=0 androidboot.e
INFOmmc=false androidboot.baseband=5.09.05.30_2 androidboot.cid
INFO=11111111 androidboot.carrier=ALL androidboot.mid=PB992****
INFOandroidboot.keycaps=qwerty androidboot.mode=normal androidbo
INFOot.serialno=SH0A5PL04789 androidboot.bootloader=0.93.0001 no
INFO_console_suspend=1
INFOaARM_Partion[0].name=misc
INFOaARM_Partion[1].name=recovery
INFOaARM_Partion[2].name=boot
INFOaARM_Partion[3].name=system
INFOaARM_Partion[4].name=cache
INFOaARM_Partion[5].name=userdata
INFOpartition number=6
INFOValid partition num=6
INFOjump_to_kernel: machine_id(2457), tags_addr(0x20000100), ker
INFOnel_addr(0x20008000)
INFO-------------------hboot boot time:210347 msec
FAILED (status read failed (Too many links))
finished. total time: 16.891s


My model:

HTC DESIRE SLCD
BRAVO PVT4 SHIP S-OFF
HBOOT 0.93.0001
MICROP-051d
RADIO 5.09.05.30_2
Aug 10, 2010, 17:52:18


  • 0

#320
godina

godina

    Newbie

  • Members
  • Pip
  • 2 posts

Well, got the same problem as above and....i've got a super cid. At least, log says that.

When i try to apply the update.zip mentioned, i get this:
My fastboot log:
My model:


Yep same happens to me alltghou I dont have super CID. I just get signature verification err. What now?

Ok an idea...can I get root rom from the first step even if I have 0.93 hboot? Will I be then able to enter su and other commands in Terminal Emultor without premission err? Or could this resolve signature verification err? Or is there any other way to enable usb on usb bircked devices? Or should i try downgrading to 2.1 stock?

Edited by godina, 28 December 2010 - 04:31 PM.

  • 0




4 user(s) are reading this topic

0 members, 4 guests, 0 anonymous users