Flash the latest XT1032 Factory Firmware Image using Fastboot. If this is not successful, it would help to see a log of the flashing process. Copy and paste command prompt screen. Take screenshots if necessary.
Firmware Images:
http://forum.xda-developers.com/moto-g/general/index-moto-g-falcon-factory-firmware-t3110795
Fastboot Tutorial:
http://forum.xda-developers.com/showthread.php?t=2542219
Thanks for the reply
He had already tried several of these stock ROMs, I tried it again to copy the output of the commands here.
But this time fastboot returns the "hab check failed" error for the boot partition.
I've seen similar problems in other threads and I think the IMEI is lost for this phone.
Just to try something, I copied the files boot.img, NON-HLOS.bin and fsg.mbn to the phone using adb push, then flash with the dd command in their respective partitions.
I installed CM13 from TWRP (because with the stock ROMs wifi don't work) and got the same result as before. The phone works as a tablet ...
the following appears in the output of the dmesg command:
[ 316.604681,0] pil-q6v5-mss fc880000.qcom,mss: mba: loading from 0x0c300000 to 0x0c33a000
[ 316.659915,0] pil-q6v5-mss fc880000.qcom,mss: mba: Brought out of reset
[ 316.662128,0] pil-q6v5-mss fc880000.qcom,mss: modem: factory modem check
[ 316.662328,0] pil-q6v5-mss fc880000.qcom,mss: modem: found modem cert 40
[ 316.662431,0] pil-q6v5-mss fc880000.qcom,mss: modem: loading from 0x08400000 to 0x0c300000
[ 316.664946,0] pil-q6v5-mss fc880000.qcom,mss: MBA returned error -3 for headers
[ 316.665123,0] RMB_MBA_IMAGE: 0c300000
[ 316.665214,0] RMB_PBL_STATUS: 00000001
[ 316.665303,0] RMB_MBA_COMMAND: 00000000
[ 316.665454,0] RMB_MBA_STATUS: fffffffd
[ 316.665545,0] RMB_PMI_META_DATA: 250cc000
[ 316.665636,0] RMB_PMI_CODE_START: 00000000
[ 316.665789,0] RMB_PMI_CODE_LENGTH: 00000000
[ 316.665889,0] pil-q6v5-mss fc880000.qcom,mss: modem: Invalid firmware metadata
I'm not sure when it happened, but it looks like something broke.
What should be the type of file system on /modem partition?