Removing Google Account in the phone will erase all of your data.
All described operations you are doing at your own risk.
If want saves your data do a backup before start.
1. Connect MOTOROLA XT311 Fire phone to usb cable in bootloader mode.
5. Now, wait until process end. This takes a little and phone will restart few times just wait until you will see on phone start screen without Google Account.
This software work on all Motorola / Lenovo Moto / Lenovo Nexus phone with Qualcomm processor and all android version until 11.2017 security patch(Nexus phone with 04.2017 security patch).
If the software will not see MOTOROLA XT311 Fire phone connected in bootloader mode or any connection problem just use Diag_Drivers, unpack it and update it manually in device manager.