Quote:

FLASH AND RELOCK YOUR DEVICE





After downloading the image for your device:



Unzip the image.



Put your device in fastboot mode.



NOTE: You must use the Motorola fastboot utility to flash (included in the Darwin/, Linux/ or Windows/ directory). Please do NOT use the Android fastboot utility



Follow the flashing steps in the .xml file that was included in the package.



A typical flashing sequence includes all these partitions, but might vary depending on your product - so please use the sequence in the .xml file in your package:



$ fastboot flash partition gpt.bin

$ fastboot flash motoboot motoboot.img

$ fastboot flash logo logo.bin

$ fastboot flash boot boot.img

$ fastboot flash recovery recovery.img

$ fastboot flash system system.img

$ fastboot erase modemst1

$ fastboot erase modemst2

$ fastboot flash fsg fsg.mbn

$ fastboot reboot



You also have the option to erase all the data on your device with

$ fastboot erase userdata

$ fastboot erase cache



After performing this sequence, you can relock your device with

$ fastboot oem lock