[Moto G Q&A, Help & Troubleshooting] [Acme]:
http://www.droidviews.com/restore-moto-g-2014-to-stock-and-lock-the-bootloader/

Thank you very much for your reply, I try it but something was wrong.

C:\Program Files (x86)\Minimal ADB and Fastboot>adb reboot-bootloader

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

error: device not found

C:\Program Files (x86)\Minimal ADB and Fastboot>mfastboot.exe flash partition gp

t.bin

target max-sparse-size: 256MB

sending 'partition' (32 KB)...

OKAY [ 0.028s]

writing 'partition'...

(bootloader) Battery Low!!

FAILED (remote failure)

finished. total time: 0.053s

C:\Program Files (x86)\Minimal ADB and Fastboot>mfastboot.exe flash motoboot mot

oboot.img

target max-sparse-size: 256MB

sending 'motoboot' (1953 KB)...

OKAY [ 0.107s]

writing 'motoboot'...

(bootloader) Battery Low!!

FAILED (remote failure)

finished. total time: 0.158s

C:\Program Files (x86)\Minimal ADB and Fastboot>mfastboot.exe flash logo logo.bi

n

target max-sparse-size: 256MB

sending 'logo' (1060 KB)...

OKAY [ 0.071s]

writing 'logo'...

(bootloader) Battery Low!!

FAILED (remote failure)

finished. total time: 0.114s

C:\Program Files (x86)\Minimal ADB and Fastboot>mfastboot.exe flash boot boot.im

g

target max-sparse-size: 256MB

sending 'boot' (10240 KB)...

OKAY [ 0.380s]

writing 'boot'...

(bootloader) Battery Low!!

FAILED (remote failure)

finished. total time: 0.433s

C:\Program Files (x86)\Minimal ADB and Fastboot>mfastboot.exe flash recovery rec

overy.img

target max-sparse-size: 256MB

sending 'recovery' (10240 KB)...

OKAY [ 0.412s]

writing 'recovery'...

(bootloader) Battery Low!!

FAILED (remote failure)

finished. total time: 0.471s

C:\Program Files (x86)\Minimal ADB and Fastboot>mfastboot.exe flash system syste

m.img_sparsechunk.0

target max-sparse-size: 256MB

sending 'system' (260913 KB)...

OKAY [ 8.280s]

writing 'system'...

(bootloader) Battery Low!!

FAILED (remote failure)

finished. total time: 8.628s

C:\Program Files (x86)\Minimal ADB and Fastboot>mfastboot.exe flash system syste

m.img_sparsechunk.1

target max-sparse-size: 256MB

sending 'system' (257716 KB)...

OKAY [ 8.273s]

writing 'system'...

(bootloader) Battery Low!!

FAILED (remote failure)

finished. total time: 8.504s

C:\Program Files (x86)\Minimal ADB and Fastboot>mfastboot.exe flash system syste

m.img_sparsechunk.2

target max-sparse-size: 256MB

sending 'system' (232611 KB)...

OKAY [ 7.585s]

writing 'system'...

(bootloader) Battery Low!!

FAILED (remote failure)

finished. total time: 8.103s

C:\Program Files (x86)\Minimal ADB and Fastboot>mfastboot.exe flash modem NON-HL

OS.bin

target max-sparse-size: 256MB

sending 'modem' (47152 KB)...

OKAY [ 1.658s]

writing 'modem'...

(bootloader) Battery Low!!

FAILED (remote failure)

finished. total time: 1.746s

C:\Program Files (x86)\Minimal ADB and Fastboot>mfastboot.exe erase modemst1

erasing 'modemst1'...

OKAY [ 0.033s]

finished. total time: 0.036s

C:\Program Files (x86)\Minimal ADB and Fastboot>mfastboot.exe erase modemst2

erasing 'modemst2'...

OKAY [ 0.035s]

finished. total time: 0.037s

C:\Program Files (x86)\Minimal ADB and Fastboot>mfastboot.exe flash fsg fsg.mbn

target max-sparse-size: 256MB

sending 'fsg' (707 KB)...

OKAY [ 0.082s]

writing 'fsg'...

(bootloader) Battery Low!!

FAILED (remote failure)

finished. total time: 0.135s

C:\Program Files (x86)\Minimal ADB and Fastboot>mfastboot.exe erase cache

erasing 'cache'...

OKAY [ 0.400s]

finished. total time: 0.403s

C:\Program Files (x86)\Minimal ADB and Fastboot>mfastboot.exe erase userdata

erasing 'userdata'...

OKAY [ 7.365s]

finished. total time: 7.368s

C:\Program Files (x86)\Minimal ADB and Fastboot>mfastboot.exe oem lock

...

(bootloader) FAIL: Please run fastboot oem lock begin first!

(bootloader) sst lock failure!

OKAY [ 0.040s]

finished. total time: 0.042s

C:\Program Files (x86)\Minimal ADB and Fastboot>mfastboot.exe reboot

rebooting...

finished. total time: 0.004s

C:\Program Files (x86)\Minimal ADB and Fastboot>