[Moto G Q&A, Help & Troubleshooting] huzeifa88:
new problem

i did as you said, this is first time i will be flashing 5.1 directly my system was already on 5.1 and now system is not booting did system userdata wipe and cache wipe

i flahed this file XT1033_FALCON_ASIA_DS_5.1_LPB23.13-56_cid7 and the phone keeps stuck on bootloader logo

bootloader version is 41.1A

i can enter fastboot and am thinking of going back to 5.02 cannot enter recovery (stock)

now am flashing ASIARETAIL_XT1033_5.0.2_LXB22.46-28_cid7_CFC.xml.zip i dont think 2nd sim will work but at least working system.

still if anyone has both sims working do tell me your baseband version

thank you..

here is the log

C:\adb>mfastboot flash partition gpt.bin

target reported max download size of 536870912 bytes

sending 'partition' (32 KB)...

OKAY [ 0.032s]

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.335s]

finished. total time: 0.369s

C:\adb>mfastboot flash motoboot motoboot.img

target reported max download size of 536870912 bytes

sending 'motoboot' (1953 KB)...

OKAY [ 0.109s]

writing 'motoboot'...

(bootloader) flashing tz ...

(bootloader) flashing rpm ...

(bootloader) flashing sdi ...

(bootloader) flashing aboot ...

(bootloader) flashing sbl1 ...

OKAY [ 1.105s]

finished. total time: 1.216s

C:\adb>mfastboot flash logo logo.bin

target reported max download size of 536870912 bytes

sending 'logo' (295 KB)...

OKAY [ 0.077s]

writing 'logo'...

OKAY [ 0.114s]

finished. total time: 0.194s

C:\adb>mfastboot flash boot boot.img

target reported max download size of 536870912 bytes

sending 'boot' (10240 KB)...

OKAY [ 0.394s]

writing 'boot'...

OKAY [ 0.948s]

finished. total time: 1.344s

C:\adb>mfastboot flash recovery recovery.img

target reported max download size of 536870912 bytes

sending 'recovery' (10240 KB)...

OKAY [ 0.407s]

writing 'recovery'...

OKAY [ 0.961s]

finished. total time: 1.370s

C:\adb>mfastboot flash system system.img_sparsechunk.0

target reported max download size of 536870912 bytes

erasing 'system'...

(bootloader) Erase allowed in unlocked state

OKAY [ 0.216s]

sending 'system' (257755 KB)...

OKAY [ 8.142s]

writing 'system'...

OKAY [ 15.825s]

finished. total time: 24.187s

C:\adb>mfastboot flash system system.img_sparsechunk.1

target reported max download size of 536870912 bytes

erasing 'system'...

(bootloader) Erase allowed in unlocked state

OKAY [ 0.318s]

sending 'system' (256949 KB)...

OKAY [ 8.339s]

writing 'system'...

OKAY [ 16.032s]

finished. total time: 24.692s

C:\adb>mfastboot flash system system.img_sparsechunk.2

target reported max download size of 536870912 bytes

erasing 'system'...

(bootloader) Erase allowed in unlocked state

OKAY [ 0.341s]

sending 'system' (260404 KB)...

OKAY [ 8.322s]

writing 'system'...

OKAY [ 16.104s]

finished. total time: 24.777s

C:\adb>mfastboot flash system system.img_sparsechunk.3

target reported max download size of 536870912 bytes

erasing 'system'...

(bootloader) Erase allowed in unlocked state

OKAY [ 0.317s]

sending 'system' (166184 KB)...

OKAY [ 5.299s]

writing 'system'...

OKAY [ 11.333s]

finished. total time: 16.952s

C:\adb>mfastboot flash modem NON-HLOS.bin

target reported max download size of 536870912 bytes

sending 'modem' (49376 KB)...

OKAY [ 1.604s]

writing 'modem'...

OKAY [ 2.331s]

finished. total time: 3.937s

C:\adb>mfastboot erase modemst1

erasing 'modemst1'...

OKAY [ 0.067s]

finished. total time: 0.068s

C:\adb>mfastboot erase modemst2

erasing 'modemst2'...

OKAY [ 0.067s]

finished. total time: 0.069s

C:\adb>mfastboot flash fsg fsg.mbn

target reported max download size of 536870912 bytes

sending 'fsg' (103 KB)...

OKAY [ 0.059s]

writing 'fsg'...

OKAY [ 5.309s]

finished. total time: 5.371s

C:\adb>mfastboot erase cache

******** Did you mean to fastboot format this partition?

erasing 'cache'...

OKAY [ 0.117s]

finished. total time: 0.118s

C:\adb>mfastboot erase userdata

erasing 'userdata'...

OKAY [ 0.577s]

finished. total time: 0.578s

C:\adb>mfastboot reboot

rebooting...

finished. total time: 0.002s

C:\adb>