[Moto G General] nashaden:
boot loop after flashing stock 5.1

My Moto is XT1032 retail eu (falcon). I tried to flash the stock 5.1 rom: XT1032_FALCON_RETEU_5.1_LPB23.13-56_cid7_CFC.xml.zip.

It went like this:

d:\Dokumenty\android\moto g 1st gen xt1032\>mfastboot flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.037s]
writing 'partition'...
(bootloader) This may take a few seconds, if a
(bootloader) different partition table is being
(bootloader) flashed since we need to backup
(bootloader) and restore a few partitions
(bootloader) Flashing primary GPT image...
(bootloader) Flashing backup GPT image...
OKAY [ 0.340s]
finished. total time: 0.399s

d:\Dokumenty\android\moto g 1st gen xt1032\>mfastboot flash motoboot motoboot.img
target max-sparse-size: 256MB
sending 'motoboot' (1953 KB)...
OKAY [ 0.096s]
writing 'motoboot'...
(bootloader) flashing tz ...
(bootloader) flashing rpm ...
(bootloader) flashing sdi ...
(bootloader) flashing aboot ...
(bootloader) flashing sbl1 ...
OKAY [ 1.069s]
finished. total time: 1.172s

d:\Dokumenty\android\moto g 1st gen xt1032\>mfastboot flash logo logo.bin
target max-sparse-size: 256MB
sending 'logo' (295 KB)...
OKAY [ 0.055s]
writing 'logo'...
OKAY [ 0.100s]
finished. total time: 0.161s

d:\Dokumenty\android\moto g 1st gen xt1032\>mfastboot flash boot boot.img
target max-sparse-size: 256MB
sending 'boot' (10240 KB)...
OKAY [ 0.443s]
writing 'boot'...
OKAY [ 0.714s]
finished. total time: 1.166s

d:\Dokumenty\android\moto g 1st gen xt1032\>mfastboot flash recovery recovery.img
target max-sparse-size: 256MB
sending 'recovery' (10240 KB)...
OKAY [ 0.404s]
writing 'recovery'...
OKAY [ 0.711s]
finished. total time: 1.126s

d:\Dokumenty\android\moto g 1st gen xt1032\>mfastboot flash system system.img_sparsechunk.0
target max-sparse-size: 256MB
sending 'system' (257755 KB)...
OKAY [ 8.861s]
writing 'system'...
OKAY [ 11.337s]
finished. total time: 20.249s

d:\Dokumenty\android\moto g 1st gen xt1032\>mfastboot flash system system.img_sparsechunk.1
target max-sparse-size: 256MB
sending 'system' (256937 KB)...
OKAY [ 8.966s]
writing 'system'...
OKAY [ 11.015s]
finished. total time: 19.992s

d:\Dokumenty\android\moto g 1st gen xt1032\>mfastboot flash system system.img_sparsechunk.2
target max-sparse-size: 256MB
sending 'system' (260404 KB)...
OKAY [ 8.981s]
writing 'system'...
OKAY [ 10.840s]
finished. total time: 19.829s

d:\Dokumenty\android\moto g 1st gen xt1032\>mfastboot flash system system.img_sparsechunk.3
target max-sparse-size: 256MB
sending 'system' (165780 KB)...
OKAY [ 5.732s]
writing 'system'...
OKAY [ 8.147s]
finished. total time: 13.887s

d:\Dokumenty\android\moto g 1st gen xt1032\>mfastboot flash modem NON-HLOS.bin
target max-sparse-size: 256MB
sending 'modem' (49376 KB)...
OKAY [ 1.777s]
writing 'modem'...
OKAY [ 1.287s]
finished. total time: 3.073s

d:\Dokumenty\android\moto g 1st gen xt1032\>mfastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.024s]
finished. total time: 0.030s

d:\Dokumenty\android\moto g 1st gen xt1032\>mfastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.024s]
finished. total time: 0.031s

d:\Dokumenty\android\moto g 1st gen xt1032\>mfastboot flash fsg fsg.mbn
target max-sparse-size: 256MB
sending 'fsg' (103 KB)...
OKAY [ 0.062s]
writing 'fsg'...
OKAY [ 5.571s]
finished. total time: 5.654s

d:\Dokumenty\android\moto g 1st gen xt1032>mfastboot erase cache
erasing 'cache'...
OKAY [ 0.296s]
finished. total time: 0.300s

d:\Dokumenty\android\moto g 1st gen xt1032\>mfastboot erase userdata
erasing 'userdata'...
OKAY [ 2.300s]
finished. total time: 2.308s

d:\Dokumenty\android\moto g 1st gen xt1032\>mfastboot reboot
rebooting...

finished. total time: 0.024s

So, no errors, but the phone does not start - it shows the 'bootloader unlocked warning', shows broken android robot for a sec and goes blank flashing the robot image once in a while... HELP!

EDIT

---------------------------------

I resolved the error by downloading the 5.0.2 stock rom (XT1032_FALCON-RETEU_5.0.2_LXB22.46-28.1_1_cid7_CFC_1FF.xml.zip) and flashing it. During the flashing process I got errors about downgrading the bootloader and stuff. After a reboot the phone stopped at 'bootloader unlocked warning'. I then flashed the 5.1 stock rom again and the phone works again.