How to Unbrick or Restore AT&T Moto X XT1058

Page content:

Looks like you just got unlucky in your little Moto X hacking adventures — that is, little things like rooting, custom recoveries and custom ROMs — and now, you have a bricked device in your hand.

Well, what we can do now is try to restore your Moto X back to stock using a firmware so that all bad partitions on the device are fixed and it doesn’t bootloops and restarts normally.

And well, depending on what you were trying to do, and more importantly how, it could either be soft-bricked or hard-bricked — in latter case, as sad as it is, you maybe out of luck, man!

What’s Hard-brick and Soft-brick?

Even though rare, and when you are like set to be doomed, your Moto X might get hard-bricked. In which case, the Moto X won’t boot into bootloader mode — it won’t respond to key combinations you are trying to make it to boot normally or to bootloader or recovery mode.

Hard-brick results in one dead Android device. Yes, it’s sick, and worrying. You may have to look for a JTAG service locally; the person with good knowledge of that may be able to revive it.

Hard-brick is rare, it may happen only when power supply gets disturbed of computer and/or Android device when something is being installed/updated on the device. Or, when you totally mis-do things totally recklessly. That’s why you have to be very careful with even the easiest steps.

Let’s see soft-brick now. Normally, a brick is a soft-brick, which means your device isn’t completely dead, that it is just not able to boot normally and gets stuck somewhere. And, bootloader mode is working.

How to identify bricked Moto X?

If your Moto X can boot into bootloader mode, then it means it’s a soft-brick. If it cannot, then it’s hard-bricked.

Cases of soft-brick:

  • Bootloop: Your Moto X is not restarting properly and gets stuck at logo, and reboots again and again on it. Mostly occurs when you flash something bad.
  • Corrupted but working: Your Moto X can’t power On, but is entering the Bootloader mode and/or Recovery mode on pressing the key combinations. That is, it’s responding to key combos, at the least.
  • Any other case: As it doesn’t matter what happened, as long as you can access Bootloader mode using the key combos specified in the unbrick Moto X guide below, you’re good — no reasons to worry!

Solution?

Just install the stock firmware using the guide below and your Moto X shall be up and running coolly soon enough! you must be able to enter bootloader mode using the key combinations specified in the guide below.

Cases of Hard-brick:

  • Well, if you can’t enter bootloader mode using the key combinations specified in the guide below, you got a worry — your device is hard-bricked. You can’t repair it yourself unless you are able to reboot it into bootloader mode.

Solution?

Your best hope is JTAG: find a local service provider who can use the JTAG for you and revive your dead hard bricked Moto X. You can use Google to buy JTAG and try it yourself but we don’t recommend it at all, at it requires the skills of a knowledgeable person in Electronics.

Let’s see now how to unbrick or restore or fix a bricked Moto X.

How to Restore AT&T Moto X to Unbrick and Fix it

  WARNING!

Warranty may be void of your device if you follow the procedures given on this page.

You only are responsible for your device. We won’t be liable if any damage occurs to your device and/or its components.

  AT&T MOTO X XT1058 STOCK KITKAT 4.4.2 FIRMWARE

Before you begin with the instructions below, make sure your android device is adequately charged — at least 50% battery of the device, and your desktop PC or laptop is connected to a power source or has enough battery backup to go through the whole process below.

  STEP 0: CHECK DEVICE MODEL NO.

To make sure your device is eligible with this, you must first confirm its model no. in ‘About device’ option under Settings. Another way to confirm model no. is by looking for it on the packaging box of your device. It must be XT1058!

Do not use the procedures discussed here on any other Moto X (including the Moto X variant at Sprint, Verizon, T-Mobile, US Cellular and other International variants) or any other device of Motorola or any other company. You have been warned!

  STEP 1: BACKUP YOUR DEVICE

Back up important data and stuff before you start playing around here as there are chances you might lose your apps and app-data (app settings, game progress, etc.), and in rare case, files on the internal memory, too.

For help on Backup and Restore, check out our exclusive page on that linked right below.

 ANDROID BACK UP AND RESTORE GUIDE: APPS AND TIPS

  STEP 2: INSTALL LATEST DRIVER

You must have proper and working driver installed on your windows computer to be able to successfully flash stock firmware on your Motorola Moto X. In case you’re not sure, follow the link below for a definitive guide for installing driver for your Moto X on your computer.

 MOTO X DRIVERS INSTALLATION GUIDE

   STEP 3: INSTALLATION INSTRUCTIONS

  DOWNLOADS

Download the RSD Lite zip file and firmware file given below. Transfer both RSD Lite and firmware file to a separate folder on your computer just to keep things tidy.

  RSD Lite

DOWNLOAD LINK | File name: RSDLite6.1.5.msi (6 MB)

  FIRMWARE ZIP FILE

DOWNLOAD LINK | File name: ATT_XT1058_4.4.2-KXA20.16-1.31.1_CFC_1FF.xml.zip (594.3 MiB)

  STEP-BY-STEP GUIDE

Important Note: Backup important files (photos, videos, music, etc.) stored on internal SD card of your device to your PC, as flashing a stock firmware might format your phone’s internal SD card.

  1. Extract/Unzip ATT_XT1058_4.4.2-KXA20.16-1.31.1_CFC_1FF.xml.zip on your computer (using 7-zip free software, preferably) to get the following files:
    • ATT_XT1058_4.4.2-KXA20.16-1.31.1_CFC_1FF.xml
    • boot.img
    • fsg.mbn
    • gpt.bin
    • logo.bin
    • motoboot.img
    • NON-HLOS.bin
    • recovery.img
    • system.img
  2. Open the file named “ATT_XT1058_4.4.2-KXA20.16-1.31.1_CFC_1FF.xml”  with a text editor on your PC, we’ll make a change in this file
    └ “Right click” on the file and select “Edit” from context menu.
  3. [VERY IMPORTANT!] Look for the following line in the file, then select and delete it. Once deleted, save the file by pressing “Ctrl+S” on your PC.
    <step operation="getvar" var="max-download-size" />

    Remove this line

  4. Make sure that you’ve removed the above mention line from “ATT_XT1058_4.4.2-KXA20.16-1.31.1_CFC_1FF.xml file and then saved the changes. It’s very important to do this, otherwise you’ll get the following error while flashing the firmware failed flashing process. Unknown fastboot command. (getvar)”
  5. Double-click/Run the “RSDLite6.1.5.msi” file that you downloaded from above to install RSD Lite software on your PC. Once installed, start/open RSD Lite on your PC, it should look like this:
    RSD Lite
  6. Now boot your Moto X into bootloader mode:
    1. Power off your device and wait for 5-10 seconds until the device is fully switched off.
    2. Press and hold Volume Down + Power button together for a few seconds and then release them to get into bootloader mode
  7. Once your Moto X is in bootloader mode, connect it to your PC with a USB cable. The RSD Lite screen should show your Moto X in Port No. 1 with “Fastboot ghost S” as model name. Check the screenshot below:
    RSD Lite connect phone
    └ If your phone doesn’t appear on RSD Lite screen or if its status isn’t shown as “Connected”, then it means you don’t have proper Moto X drivers installed on your PC. Get them here → Moto X Drivers
  8. Click on the three dots button RSD Lite three dots button on RSD Lite and select the “ATT_XT1058_4.4.2-KXA20.16-1.31.1_CFC_1FF.xml” file that we edited/saved in Step 3 above. Your RSD Lite screen should look like this after selecting the file
    RSD Lite select file
  9. Click the “Start” button on RSD Lite to begin flashing the selected firmware file. Once started, you can see the process in action on the bootloader screen on your Moto X.
  10. When the flashing process is finished, your phone will automatically reboot.

NOTE: RSD Lite may get stuck with “Rebooting” under the Result column but that’s okay, if your Moto X has successfully rebooted then it is safe to disconnect the USB cable.

FEEDBACK US!

It was easy to unbrick your AT&T Moto X, right? Let us know in comments below.

Your suggestions and queries, if any, are most welcomed!

2 Comment

  1. Cesar Artemio Muñoz Muñoz says: Reply

    Desde Chile , eres un grande me has salvado Muchísimas Gracias Funciono a la perfecion. Capo

  2. Joe says: Reply

    Hi, using this flash technique, can I flash from 5.1 lolipop to 4.4.2 kk?
    Thanks

Leave a Reply