How To Root Moto X (XT1052) Android Smartphone

Moto X is a top-notch Android smartphone from Motorola that comes with a unique 1.7 Ghz “X8” processor, 2 GB RAM, 4.7 inches AMOLED capacitive touchscreen display, 10 mega pixel rear camera, 3G support, Wi-Fi, GPS, and Bluetooth. The device’s back is also curved in shape. The phone was a huge success among smartphone owners, and plenty of them have purchased and using it now.

Although Moto X smartphone comes with great features, few people want to experience more with the device by gaining root process. If you are one of them, then this article will help you. Here I am going to post a tutorial to root Moto X smartphone with model number’s XT1052.

WARNING: or I shouldn’t be held responsible for any damages that might occur to your Moto X android device while rooting. Proceed at your own RISK.

Root Moto X

Prerequisites To Root Moto X (XT1502):

1) Rooting Moto X will wipe out all the personal data in it. So take a complete backup of data using appropriate apps.

2) Download Motorola USB Driver, Android SDK, TWRP Recovery, SuperSU, and mFastBoot. Once downloaded, install Motorola USB driver and Android SDK on your computer. After installation, copy mFastBoot, follow this path: C:\Program Files\android-sdk\platform-tools and paste it in the ADB folder.

3) Make sure that your Moto X battery backup is 70% or above.

Once you done all the prerequisites we can move to the main rooting process.

Tutorial To Root Moto X:

1) The rooting process of Moto X can be carried out only if we unlock the bootloader of the device. To do it, switch off your device and switch it on by simultaneously pressing the “Volume Down” button for getting into the bootloader.

2) Once done, open command prompt in your computer and enter the following command:

CD C:\Program Files\Android\android-sdk\platform-tools

3) Now connect your smartphone to the computer using original USB data cable. Upon connecting, enter the following command in the command prompt:

fastboot oem get_unlock_data

4) You will see the following output in the command prompt:

(bootloader) 0A40040192024205#4C4D3556313230
(bootloader) 30373731363031303332323239#BD00
(bootloader) 8A672BA4746C2CE02328A2AC0C39F95
(bootloader) 1A3E5#1F53280002000000000000000
(bootloader) 0000000

5) Now remove the (bootloader) in the output above and copy the string. It will look something like the one given below:


6) Once done, visit Motorola portal here and enter the bootloader key (above string) to get your unlock email. Motorola confirm your bootloader key and will send the unlock key to your email. Once you get it, enter it alongside the following command to unlock your Moto X bootloader.

fastboot oem unlock UNLOCK_KEY

7) Upon unlocking the bootloader, copy the SuperSu.Zip, which you have downloaded to your smartphone. Once done, you can start the rooting process by entering the following command in the command prompt:

mfastboot flash recovery twrp-

8) Once you have done that, disconnect your device from the computer and enter into the recovery mode by pressing “Volume Down” button. Now press “Volume Up” button to select the “Team Win Recovery Project custom recovery” mode.

9) Now located the file in the SD Card and install it on your device to finish the rooting process.

That’s it. Now you have successfully rooted your Moto X android smartphone. If you have doubt’s over the rooting process, do let me know via comments.

23 thoughts on “How To Root Moto X (XT1052) Android Smartphone

  1. Hi Sathish, thank you for neat tutorial! I have xt1052 that was just updated to latest Android 4.4.4
    Is it possible to unlock bootloader and root my Moto X using the method that you described? Thank you in advance for your reply.

  2. Hi Sathish,

    Will rooting my Moto X 1052, remove the features like the moto voice, the shake to open camera feature, etc?



  3. Is it possible to remove TWRP that I installed in recovery and get back to stock I used above method to root pls help I need to update my moto x (XT1052)

  4. I have xt1052 that was just updated to latest Android 4.4.4.Is it possible to install CM12 directly after rooting ? Also where do I get the official Moto X Restore Tool to flash back into Stock ROM

  5. Ho, Satish Nice work.. It Works.. Just rooted My MOTO X(2013) i.e. xt1052. Just Need A detailed Procedure About Flashing CM12 On it…
    Sagetions for a good Kernal For good Battery Life.

    Thank You!!

  6. Is there any other way to root moto x. I mean without unlocking the boothloader as it is a risky process.!! [ANDROID- KITKAT 4.4.4]

  7. I’ve unlocked my phone but I’m stuck at flashing custom recovery. Every time I get the same error – “variable not supported”. Is there anyway to root my phnoe without custom recovery??

  8. Im getting the same error: “variable not supported” while flashing the custom recovery…any tips?

  9. Your device variant is different from the one mentioned here. That’s why you are getting that error.

  10. Can you please tell me whether I can install the latest CM12.1 w/o the need to install CM11?

  11. You can flash it directly but make sure that your device is CM12.1 compatible.

  12. i have unlocked my bootloader on Moto X (XT1052) running 4.4.4… but i am unable to flash recovery using twrp latest version… in the command promt, it shows that flash completed… but when i go to recovery menu, the screen goes blank and it shows ‘No Command’… please help me…