Root access on Moto X gives enormous opportunities for users. For instance, they can implement missing features, flash custom ROMs, remove bloatware apps or apply various tweaks and changes that the manufacturer sees ?t to make. However, sometimes people need to return to stock firmware, for instance, when they run into problems when perform customizing or feel nostalgic about stock firmware and features after using few custom ROMs, etc.
Whatever the case will be, if you have rooted your Moto X and later would like to return to stock firmware, you can do that using a utility called RSD Lite (flashing tool for Motorola Devices). There is a good guide at XDA and it is rather simple to follow. This guide supports all Moto X carriers (AT&T/Sprint/T-Mobile/USC/Verizon).
1. Download and Install ADB drivers from here, if not installed
2. Install driver for Moto X. Download it from here (Motorola Device Manager)
3. Download suitable RSD Lite (version 6.1.5) from here. It is Windows only.
4. Download original Moto X stock Firmware from here (Android 4.2.2 Jelly Bean)
Disclaimer: This guide should give you all the info you need to restore your Moto X to stock firmware, but we can’t take responsibility for anything that goes wrong.
Important: Back up your data first. Download, Titanium Backup, for instance, from Play Store and back up all your data first.
Guide to Restore Rooted Moto X to Stock Firmware:
– Unzip the downloaded Moto X firmware using 7zip or similar app.
– Open the extracted folder and locate a file with an XML extension. Open it with Notepad or WordPad and find a line that has the word getvar (). Delete the entire line out of the file. Then save the xml file.
– Enable USB debugging on your phone and connect it to PC.
– Open command prompt and type the following command and hit enter:
adb reboot bootloader
This will boot the device into fastboot mode, so RSD will recognize your phone.
– Launch RSD Lite from PC by right clicking and selecting run as administrator. Browse the edited xml file by clicking the button next to Filename.
If everything OK, press the “Start” button to start flashing. It’ll take 10-20 minutes to complete the process, so please be patient. When the flashing is successful your device will reboot. [Source]
The above video will give you an idea about all the process mentioned in this post.