[Motorola Photon Q 4G LTE] hfase:
I just discovered that the bootloader for the Photon Q xt897 can be (re)locked with Rsdlite and a couple small edits.

To do this you will need the newest version of Rsdlite (https://sites.google.com/site/motosbf/rsdlite), the firmware for your phone available here http://sbf.droid-developers.org/asanti_c and your unlock code that you recived from Motorola when you unlocked your device.

To be able to flash this firmware with Rsd you will need to delete the "getvar" lines and add lines for the "oem lock begin" & "oem lock" commands.

When you have finished editing your xml file it should look similar to the one I have attached below. The "0000000000000000" you need to replace with your unlock code.

Please edit your own, do not copy/paste this as the MD5's may change!

I am not responsible if you brick your device.

This WILL wipe your phone!!!

The "unlocked bootloader" warning will not go away, and your warranty is still void...

PS. You can still flash a new logo with a locked loader. :cool:

<?xml version="1.0"?>
<flashing>
<header>
<phone_model model="ASANTI_CFC" />
<software_version version="asanti_c-user 4.0.4 7.7.1Q-6_SPR-125_ASA-14 15 release-keysASANTI_C_BP_1139.000.18.09P" />
<interfaces>
<interface name="AP" />
</interfaces>
</header>
<steps interface="AP">
<step operation="flash" partition="partition" filename="gpt_main0.bin" MD5="6C05E70F1DCC59AD92B0BBEC4E6100ED" />
<step operation="flash" partition="sbl1" filename="sbl1.mbn" MD5="22143B801329D93CAFCF909AA7DACBCF" />
<step operation="flash" partition="sbl2" filename="sbl2.mbn" MD5="37F5C89BB439DDB5831F6A1EB7AE918F" />
<step operation="flash" partition="sbl3" filename="sbl3.mbn" MD5="7735EFCDFBC604F093045F72E44269F1" />
<step operation="flash" partition="rpm" filename="rpm.mbn" MD5="919D0B340CFDD5FC7C541803DB65C2D6" />
<step operation="flash" partition="tz" filename="tz.mbn" MD5="E7E984C848F0B46C8A9F8E06E10DAFA9" />
<step operation="flash" partition="aboot" filename="emmc_appsboot.mbn" MD5="617658958400102A3CD5788F95D5D810" />
<step operation="reboot-bootloader" />
<step operation="oem" var="lock begin" />
<step operation="oem" var="fb_mode_set" />
<step operation="flash" partition="modem" filename="NON-HLOS.bin" MD5="313A4EC7B8DED02E135C8C676382D799" />
<step operation="flash" partition="fsg" filename="fsg.mbn" MD5="D9253046F7C7E6EE17B9B3327BB0F6BE" />
<step operation="erase" partition="modemst1" />
<step operation="erase" partition="modemst2" />
<step operation="flash" partition="logo" filename="logo.bin" MD5="0c02867ba4e0baa941ba665c4b8efbfa" />
<step operation="flash" partition="boot" filename="boot.img" MD5="38EDDB640B6889AC668FE91817B7A7F6" />
<step operation="flash" partition="recovery" filename="recovery.img" MD5="4b25ebc4662edb8bb92e6c7eec9426c6" />
<step operation="flash" partition="devtree" filename="device_tree.bin" MD5="0D2D38BE5BCC0C3F84488B2FC77B64BE" />
<step operation="flash" partition="system" filename="system.img.ext4" MD5="364D33B631EBFAE1E46BB615B2690EA4" />
<step operation="flash" partition="cdrom" filename="cdrom" MD5="DA73A05D7188132BC27031BBC252E76C" />
<step operation="erase" partition="tombstones" />
<step operation="erase" partition="cache" />
<step operation="erase" partition="userdata" />
<step operation="oem" var="fb_mode_clear" />
<step operation="oem" var="lock 0000000000000000" />
</steps>
</flashing>

((Posted in General with no links because I am "new" and this is my 3rd post :P ))