[Moto G Q&A, Help & Troubleshooting] jpmaroco:
Thanks lost101, here it goes:

E:\Stock Android to GPe\GPE 5.1 Lollipop 1 click installer\GPe_5.1\GPe_5.1_OneClick>SET fastboot=fastboot.exe

E:\Stock Android to GPe\GPE 5.1 Lollipop 1 click installer\GPe_5.1\GPe_5.1_OneClick>fastboot.exe getvar max-sparse-size

max-sparse-size: 268435456

finished. total time: 0.003s

E:\Stock Android to GPe\GPE 5.1 Lollipop 1 click installer\GPe_5.1\GPe_5.1_OneClick>fastboot.exe oem fb_mode_set

...

FAILED (remote failure)

finished. total time: 0.004s

E:\Stock Android to GPe\GPE 5.1 Lollipop 1 click installer\GPe_5.1\GPe_5.1_OneClick>fastboot.exe flash partition gpt.bin

target max-sparse-size: 256MB

sending 'partition' (32 KB)...

OKAY [ 0.069s]

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

finished. total time: 0.410s

E:\Stock Android to GPe\GPE 5.1 Lollipop 1 click installer\GPe_5.1\GPe_5.1_OneClick>fastboot.exe flash motoboot motoboot.img

target max-sparse-size: 256MB

sending 'motoboot' (1953 KB)...

OKAY [ 0.100s]

writing 'motoboot'...

(bootloader) flashing tz ...

(bootloader) flashing rpm ...

(bootloader) flashing sdi ...

(bootloader) flashing aboot ...

(bootloader) flashing sbl1 ...

OKAY [ 0.941s]

finished. total time: 1.078s

E:\Stock Android to GPe\GPE 5.1 Lollipop 1 click installer\GPe_5.1\GPe_5.1_OneClick>fastboot.exe flash modem NON-HLOS.bin

target max-sparse-size: 256MB

sending 'modem' (49368 KB)...

OKAY [ 1.586s]

writing 'modem'...

OKAY [ 0.802s]

finished. total time: 2.406s

E:\Stock Android to GPe\GPE 5.1 Lollipop 1 click installer\GPe_5.1\GPe_5.1_OneClick>fastboot.exe flash fsg fsg.mbn

target max-sparse-size: 256MB

sending 'fsg' (708 KB)...

OKAY [ 0.084s]

writing 'fsg'...

OKAY [ 3.179s]

finished. total time: 3.265s

E:\Stock Android to GPe\GPE 5.1 Lollipop 1 click installer\GPe_5.1\GPe_5.1_OneClick>fastboot.exe erase modemst1

erasing 'modemst1'...

OKAY [ 0.002s]

finished. total time: 0.002s

E:\Stock Android to GPe\GPE 5.1 Lollipop 1 click installer\GPe_5.1\GPe_5.1_OneClick>fastboot.exe erase modemst2

erasing 'modemst2'...

OKAY [ 0.002s]

finished. total time: 0.018s

E:\Stock Android to GPe\GPE 5.1 Lollipop 1 click installer\GPe_5.1\GPe_5.1_OneClick>fastboot.exe flash logo logo.bin

target max-sparse-size: 256MB

sending 'logo' (76 KB)...

OKAY [ 0.100s]

writing 'logo'...

OKAY [ 0.060s]

finished. total time: 0.178s

E:\Stock Android to GPe\GPE 5.1 Lollipop 1 click installer\GPe_5.1\GPe_5.1_OneClick>fastboot.exe flash boot boot.img

target max-sparse-size: 256MB

sending 'boot' (10240 KB)...

OKAY [ 0.384s]

writing 'boot'...

OKAY [ 0.644s]

finished. total time: 1.030s

E:\Stock Android to GPe\GPE 5.1 Lollipop 1 click installer\GPe_5.1\GPe_5.1_OneClick>fastboot.exe flash recovery recovery.img

target max-sparse-size: 256MB

sending 'recovery' (10240 KB)...

OKAY [ 0.379s]

writing 'recovery'...

OKAY [ 0.621s]

finished. total time: 1.016s

E:\Stock Android to GPe\GPE 5.1 Lollipop 1 click installer\GPe_5.1\GPe_5.1_OneClick>fastboot.exe flash system system.img_sparsechunk.0

target max-sparse-size: 256MB

sending 'system' (257288 KB)...

OKAY [ 8.130s]

writing 'system'...

(bootloader) WARNING: System partition size is 0x34800000

(bootloader) Only multiples of 0x1000000 allowed for write-protection

(bootloader) Write protect will not be enabled

OKAY [ 8.051s]

finished. total time: 16.184s

E:\Stock Android to GPe\GPE 5.1 Lollipop 1 click installer\GPe_5.1\GPe_5.1_OneClick>fastboot.exe flash system system.img_sparsechunk.1

target max-sparse-size: 256MB

sending 'system' (260812 KB)...

OKAY [ 8.239s]

writing 'system'...

(bootloader) WARNING: System partition size is 0x34800000

(bootloader) Only multiples of 0x1000000 allowed for write-protection

(bootloader) Write protect will not be enabled

OKAY [ 8.069s]

finished. total time: 16.309s

E:\Stock Android to GPe\GPE 5.1 Lollipop 1 click installer\GPe_5.1\GPe_5.1_OneClick>fastboot.exe flash system system.img_sparsechunk.2

target max-sparse-size: 256MB

sending 'system' (262141 KB)...

OKAY [ 8.290s]

writing 'system'...

(bootloader) WARNING: System partition size is 0x34800000

(bootloader) Only multiples of 0x1000000 allowed for write-protection

(bootloader) Write protect will not be enabled

OKAY [ 10.090s]

finished. total time: 18.380s

E:\Stock Android to GPe\GPE 5.1 Lollipop 1 click installer\GPe_5.1\GPe_5.1_OneClick>fastboot.exe flash system system.img_sparsechunk.3

target max-sparse-size: 256MB

sending 'system' (18680 KB)...

OKAY [ 0.640s]

writing 'system'...

(bootloader) WARNING: System partition size is 0x34800000

(bootloader) Only multiples of 0x1000000 allowed for write-protection

(bootloader) Write protect will not be enabled

OKAY [ 0.633s]

finished. total time: 1.274s

E:\Stock Android to GPe\GPE 5.1 Lollipop 1 click installer\GPe_5.1\GPe_5.1_OneClick>fastboot.exe erase cache

erasing 'cache'...

OKAY [ -0.000s]

finished. total time: -0.000s

E:\Stock Android to GPe\GPE 5.1 Lollipop 1 click installer\GPe_5.1\GPe_5.1_OneClick>fastboot.exe erase userdata

erasing 'userdata'...

OKAY [ 0.027s]

finished. total time: 0.027s

E:\Stock Android to GPe\GPE 5.1 Lollipop 1 click installer\GPe_5.1\GPe_5.1_OneClick>fastboot.exe oem fb_mode_clear

...

OKAY [ 0.006s]

finished. total time: 0.022s

E:\Stock Android to GPe\GPE 5.1 Lollipop 1 click installer\GPe_5.1\GPe_5.1_OneClick>pause

Press any key to continue . . .

---------- Post added 12th December 2015 at 12:14 AM ---------- Previous post was 11th December 2015 at 11:59 PM ----------

... and I get the same results if I use mfastboot instead of fastboot.

In the Phone, after

cmd: flash:boot

I get

hab check failed for boot

after

cmd: flash: recovery

i get

hab check failed for recovery

So, this seems to me that nothing is being flashed (It still keep my old twrp-2.8.7.0.-falcon_GPE.img recovery, not the stock one in GPE5.1 Lollipop)

I can boot in TWRP (after waiting for 5-6 minutes) but I can't factory reset because it says:

E: Could not mount /data and unable to find crypto footer

E: unable to mount /data

E:unbale to recreate /data/media/folder

... done

Does the same for "Storage" (unable to mount storage)...

Factory reset complete

failed

Should I try to flash the twrp-2.8.7.0.-falcon_STOCK.img?

Thanks for all your help lost101.