[Moto G 2015 Q&A, Help & Troubleshooting] sanju25:
Here is whole command prompt code @Gravemind2015

C:\Users\dell\Desktop\Moto Software\adb-fastboot-latest_win_linux>fastboot flash partition gpt.bin
target reported max download size of 268435456 bytes
sending 'partition' (32 KB)...
OKAY [ 0.007s]
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.715s]
finished. total time: 0.727s

C:\Users\dell\Desktop\Moto Software\adb-fastboot-latest_win_linux>fastboot flash bootloader bootloader.img
target reported max download size of 268435456 bytes
sending 'bootloader' (2546 KB)...
OKAY [ 0.089s]
writing 'bootloader'...
(bootloader) flashing sbl1 ...
(bootloader) flashing aboot ...
(bootloader) flashing tz ...
(bootloader) flashing hyp ...
(bootloader) flashing rpm ...
OKAY [ 1.503s]
finished. total time: 1.600s

C:\Users\dell\Desktop\Moto Software\adb-fastboot-latest_win_linux>fastboot flash logo logo.bin
target reported max download size of 268435456 bytes
sending 'logo' (1352 KB)...
OKAY [ 0.051s]
writing 'logo'...
OKAY [ 0.065s]
finished. total time: 0.122s

C:\Users\dell\Desktop\Moto Software\adb-fastboot-latest_win_linux>fastboot flash boot boot.img
target reported max download size of 268435456 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.524s]
writing 'boot'...
OKAY [ 0.761s]
finished. total time: 1.291s

C:\Users\dell\Desktop\Moto Software\adb-fastboot-latest_win_linux>fastboot flash recovery recovery.img
target reported max download size of 268435456 bytes
sending 'recovery' (16484 KB)...
OKAY [ 0.526s]
writing 'recovery'...
OKAY [ 0.767s]
finished. total time: 1.301s

C:\Users\dell\Desktop\Moto Software\adb-fastboot-latest_win_linux>fastboot flash system system.img_sparsechunk.0
target reported max download size of 268435456 bytes
sending 'system' (247489 KB)...
OKAY [ 7.767s]
writing 'system'...
OKAY [ 6.453s]
finished. total time: 14.229s

C:\Users\dell\Desktop\Moto Software\adb-fastboot-latest_win_linux>fastboot flash system system.img_sparsechunk.1
target reported max download size of 268435456 bytes
sending 'system' (230229 KB)...
OKAY [ 7.314s]
writing 'system'...
OKAY [ 5.119s]
finished. total time: 12.442s

C:\Users\dell\Desktop\Moto Software\adb-fastboot-latest_win_linux>fastboot flash system system.img_sparsechunk.2
target reported max download size of 268435456 bytes
sending 'system' (259434 KB)...
OKAY [ 8.229s]
writing 'system'...
OKAY [ 5.816s]
finished. total time: 14.055s

C:\Users\dell\Desktop\Moto Software\adb-fastboot-latest_win_linux>fastboot flash system system.img_sparsechunk.3
target reported max download size of 268435456 bytes
sending 'system' (254590 KB)...
OKAY [ 8.079s]
writing 'system'...
OKAY [ 5.677s]
finished. total time: 13.765s

C:\Users\dell\Desktop\Moto Software\adb-fastboot-latest_win_linux>fastboot flash system system.img_sparsechunk.4
target reported max download size of 268435456 bytes
sending 'system' (254861 KB)...
OKAY [ 8.111s]
writing 'system'...
OKAY [ 6.110s]
finished. total time: 14.230s

C:\Users\dell\Desktop\Moto Software\adb-fastboot-latest_win_linux>fastboot flash system system.img_sparsechunk.5
target reported max download size of 268435456 bytes
sending 'system' (258017 KB)...
OKAY [ 8.183s]
writing 'system'...
OKAY [ 5.610s]
finished. total time: 13.802s

C:\Users\dell\Desktop\Moto Software\adb-fastboot-latest_win_linux>fastboot flash system system.img_sparsechunk.6
target reported max download size of 268435456 bytes
sending 'system' (251037 KB)...
OKAY [ 7.967s]
writing 'system'...
OKAY [ 9.902s]
finished. total time: 17.876s

C:\Users\dell\Desktop\Moto Software\adb-fastboot-latest_win_linux>fastboot flash system system.img_sparsechunk.7
target reported max download size of 268435456 bytes
sending 'system' (14420 KB)...
OKAY [ 0.549s]
writing 'system'...
OKAY [ 0.372s]
finished. total time: 0.929s

C:\Users\dell\Desktop\Moto Software\adb-fastboot-latest_win_linux>fastboot flash modem NON-HLOS.bin
target reported max download size of 268435456 bytes
sending 'modem' (36988 KB)...
OKAY [ 1.258s]
writing 'modem'...
OKAY [ 0.678s]
finished. total time: 1.940s

C:\Users\dell\Desktop\Moto Software\adb-fastboot-latest_win_linux>fastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.091s]
finished. total time: 0.095s

C:\Users\dell\Desktop\Moto Software\adb-fastboot-latest_win_linux>fastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.109s]
finished. total time: 0.113s

C:\Users\dell\Desktop\Moto Software\adb-fastboot-latest_win_linux>fastboot flash fsg fsg.mbn
target reported max download size of 268435456 bytes
sending 'fsg' (2280 KB)...
OKAY [ 0.216s]
writing 'fsg'...
OKAY [ 0.084s]
finished. total time: 0.307s

C:\Users\dell\Desktop\Moto Software\adb-fastboot-latest_win_linux>fastboot erase cache
erasing 'cache'...
OKAY [ 0.102s]
finished. total time: 0.106s

C:\Users\dell\Desktop\Moto Software\adb-fastboot-latest_win_linux>fastboot erase userdata
erasing 'userdata'...
OKAY [ 0.094s]
finished. total time: 0.097s