Fixing USB Brick
USB brick is used to describe the situation where your phone works normally but you are unable to connect to it via USB despite having the correct drivers installed.

There are various methods for fixing a USB Brick depending on whether your phone is Standard, Rooted or Rooted AND S-OFF

Fixing USB Brick on a Rooted and S-OFF phone

    1. Install Android Flasher
    2. open a command prompt on the computer
    3. go to the android flasher/data directory
    4. reboot your phone into FASTBOOT mode (back + power)
    5. plug your phone into the computer with the USB cable and make sure you get the FASTBOOT USB on the phone screen
    6. issue the following command at the command prompt:
fastboot oem eraseconfig

Fixing a USB Brick on a Rooted and S-ON phone

    1. If your SD card is not being detected follow steps 1 – 5 above
    2. issue the following command at the command prompt to re-enable your sdcard functionality:
fastboot oem enableqxdm 0
    1. Get a mtd0.img file
      1. with phone connected to computer in fastboot mode issue the following command:
fastboot getvar cid
      1. you should see the phone’s CID, write it down, for telstra handsets it is usually:  TELST001
      2. boot phone then go to Menu > Settings ? About phone > software information > kernel version and write down the rom version
      3. go to this website and input the value to generate and download a mtd0.img file. If you are using one of our standard ROM’s on a Telstra handset we have provided a link to a suitable mtd0.img at the bottom of this page.
    1. Put this file on your sd card along with the mtd0.img file your created in the previous step
    2. Boot your phone and download a terminal emulator from the market
    3. Issue the following commands in the terminal emulator
su (may be required to give superuser access to the terminal emulator)
cat /sdcard/flash_image > /data/flash_image
cat /sdcard/mtd0.img > /data/mtd0.img
  1. Reboot, done
  2. If that doesn’t work I suggest you follow this guide to try and fix the problem.

Fixing a USB Brick on an unrooted phone

WARNING: When you download the rageagainstthecage.tgz file you will probably get a virus warning, that is normal as it does contain a trojan, this trojan is what is used to gain temporary root access on your phone. It should not affect your windows system (I cannot say the same for Linux and OSx systems, as I am not not sure about that), you may have to get your AV software to allow access to this zip file once downloaded so you can unzip it and put the required files on your sd card as outlined in the guide.

    1. If your SD card is not being detected follow steps 1 – 4 from the Fixing a Brick on a rooted S-ON phone
    2. download rageagainstthecage.tgz unzip it and copy the rageagainstthecage-arm5.bin file on the root of your sd card along with the files (flash_image, mtd0.img) from the previous step
    3. reboot phone and install a terminal emulator from the market
    4. tick ‘USB debugging’ in “Menu>Settings>Applications>Development>
    5. issue the following commands from terminal emulator:
cat /sdcard/rageagainstthecage-arm5.bin > /data/data/jackpal.androidterm/rageagainstthecage-arm5.bin
cat /sdcard/flash_image > /data/data/jackpal.androidterm/flash_image
cat /sdcard/mtd0.img > /data/data/jackpal.androidterm/mtd0.img
cd /data/data/jackpal.androidterm/
chmod 755 rageagainstthecage-arm5.bin flash_image
    1. Run the rageagainstthecage0arm5.bin from the Terminal Emulator to get temporary root access.
    1. Quit the terminal Emulator, stop it (Menu>settings>applications>manage applications>terminal emulator>force stop) then relaunch it (you should see a # character indicating you have temp root access)
    2. Issue the following command in the terminal emulator
cd /data/data/jackpal.androidterm/
./flash_image misc mtd0.img
  1. Reboot your phone and the USB Brick should be fixed
  2. All credits to Antubis from the FrAndroid forum for this guide.

Download MTD0.img

Here is the link to download the mtd0.img file required for the RCMix_Oz and InsertCoin_Oz ROM’s on Telstra handsets



  1. Hi,my sensation (root&s-off) has the usb bricked. It can be charged via usb cable only, cant be detected by any pcs/laptops. I tried to use you method to fix it, but not work. It just showed message “waiting for device” after I enter command “fastboot oem eraseconfig” and nothing else happen. What should i expect after the command “fastboot oem eraseconfig”? And what do you mean that “make sure you get the FASTBOOT USB on the phone screen”?Does it mean in fastboot mode or something else?Thanks.

  2. Well I just don’t get it: how am I supposed to use fastboot when I’m S-On? I do have android sdk installed, but when I enter fastboot getvar cid in cmd I get ‘fastboot’ is not recognized as an internal or external command, operable program or batch file

    • If Fastboot is not recognised it means Windows can’t find fastboot.exe. fastboot is in the tools folder of android sdk so you must cd to the tools folder before issuing fastboot command.

      • Thx for your answer mate :) Since I’m pretty much a newb on this matter,could you tell me what I’m doing wrong here:

        I cd-ed into androidsdk\tools and entered fastboot getvar cid which resulted in following error:

        fastboot.exe – System Error
        The program can’t start because AdbWinApi.dll is missing from your computer. Try reinstalling the program to fix this problem.

  3. i’ll do all the above and all good.but at the last command:

    ./flash_image misc mtd0.img

    receive ‘error scanning partitions’

  4. Quit the terminal Emulator, stop it (Menu > settings > applications > manage applications > terminal emulator > force stop) then relaunch it (you should see a # character indicating you have temp root access)
    My emulator not run. I see black or white screen, or nothing hapen(fon is slowlly). Help.

Leave a Reply

Using Gravatars in the comments - get your own and be recognized!

XHTML: These are some of the tags you can use: <a href=""> <b> <blockquote> <code> <em> <i> <strike> <strong>