[X 2014 General] VHNDEV:
Hey Everyone!

This guide is to convert your XT1092 Indian Moto X to XT1097 Brazil to apply the android 6.0 marshmallow update.

I decided to unlock the bootloader since my 1 year warranty expired. Not adviced for people who have an active warranty!!!

WARNING!!!!

THIS WILL VOID YOUR WARRANTY!

Unlocking your bootloader and taking this guide is your OWN responsibility and I am not responsible for bricked devices!

This guide was tested only on XT1092 Retin model running android 5.1. I am not sure about other variants.

A) If u haven’t unlocked ur bootloader, Then do that first by following these steps:

1) Make sure you have backed up all your data,contacts,photos,apps,messages,etc.

2) Install the following:- https://www.androidfilehost.com/?fid=24052804347803384

3) Open the minimal fast boot and adb. Then type “adb devices”. If u get a code in return, u r safe to proceed. If not check if u have enabled USB Debugging in Developer options.

4) Type “adb reboot bootloader”

5) Type this in the CMD prompt window - fastboot oem get_unlock_data

6)You will get a return string. Copy it. [Right Click-Mark- Mark the text by pressing the shift key-Now press Ctrl+C]

7)Paste all the lines together in a notepad. Remove the empty spaces.

8)Now go to the Motorola Site:- https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-b

Sign in using your Google account or Motorola ID. Scroll down the page and paste the copied string in the field at step #6. Then click on ‘Can my device be unlocked?’, after which a "REQUEST UNLOCK KEY" button will appear at the bottom of page.

9)To get your unlock key, select the ‘I Agree’ option. Note: You will receive an email with your Unlock Key at the email address you used to log in there.

10)Copy the 20-character key that Motorola sent you via email. Make sure your device is connected. THIS IS YOUR UNIQUE _KEY

11)Then in minimal adb and fast boot type: fastboot devices (To check your device is connected)

12)Then type: fastboot oem unlock UNIQUE_KEY

B) 1)Download the following factory image of XT1097 5.1:- https://mega.nz/#!TVoCXSRC!dLDhFjAAGlUAYjiVpbogor-QGXHvMQfCovXtbJGl-Vs

2) Unpack the contents of this zip into the folder where minimal adb and fast boot is installed.

3) Now type the following set of commands:-

fastboot flash partition gpt.bin

fastboot flash motoboot motoboot.img

fastboot reboot-bootloader

fastboot flash logo logo.bin

fastboot flash boot boot.img

fastboot flash recovery recovery.img

fastboot flash system system.img_sparsechunk.0

fastboot flash system system.img_sparsechunk.1

fastboot flash system system.img_sparsechunk.2

fastboot flash system system.img_sparsechunk.3

fastboot flash system system.img_sparsechunk.4

fastboot flash system system.img_sparsechunk.5

fastboot flash system system.img_sparsechunk.6

fastboot flash system system.img_sparsechunk.7

fastboot flash system system.img_sparsechunk.8

fastboot flash modem NON-HLOS.bin

fastboot flash fsg fsg.mbn

fastboot reboot

4) Now let the phone reboot and proceed with the setup.

C) Now download the following:- https://mega.nz/#!HJBCGCCB!SC3XcOXWte6nvY-EYVQxVajpZnFSgfAXDzTrCORZGYk

Copy this zip file without Unzipping into the internal storage of your phone.

Now boot into fastboot mode by typing “adb reboot bootloader”

Navigate into recovery and press volume up button to select.

Now you get a broken android symbol. Press and hold power button for 3-5 seconds and then just press volume up button once. This should get you into recovery.

Now navigate to Apply update from SD card.

Then press power button to select. Then Select the above downloaded zip file and press power button to confirm.

Now wait patiently for about 20 minutes till the phone updates.

Once it is updated u probably would have lost signal so..

Once again put your phone in fastboot mode.

Download these two files:- https://drive.google.com/folderview?id=0B3M5-yDIIbkPYnJmWWdGbGk3RDA&usp=sharing

Copy this to the place where Minimal adb and fastboot is installed. U have to overwrite the existing files there!

Then type the following commands:-

fastboot erase modemst1

fastboot erase modemst2

fastboot flash modem NON-HLOS.bin

fastboot flash fsg fsg.mbn

fastboot reboot

13) If everything goes well u should have android 6.0 running with working cellular on your phone.

And if u have any doubt feel free to contact me.

Don't forget to hit thanks:good: