[Moto Z Questions & Answers] Lif3mau5:
Flash Nougat Stock

with:

fastboot oem fb_mode_set

fastboot flash bootloader bootloader.img

fastboot flash partition gpt.bin

fastboot flash modem NON-HLOS.bin

fastboot flash fsg fsg.mbn

fastboot erase modemst1

fastboot erase modemst2

fastboot flash bluetooth BTFM.bin

fastboot flash dsp adspso.bin

fastboot flash logo logo.bin

fastboot flash boot boot.img

fastboot flash recovery recovery.img

fastboot flash system system.img_sparsechunk.0

fastboot flash system system.img_sparsechunk.1

fastboot flash system system.img_sparsechunk.2

fastboot flash system system.img_sparsechunk.3

fastboot flash system system.img_sparsechunk.4

fastboot flash system system.img_sparsechunk.5

fastboot flash system system.img_sparsechunk.6

fastboot flash system system.img_sparsechunk.7

fastboot flash system system.img_sparsechunk.8

fastboot flash system system.img_sparsechunk.9

fastboot flash system system.img_sparsechunk.10

fastboot flash system system.img_sparsechunk.11

fastboot flash system system.img_sparsechunk.12

fastboot flash system system.img_sparsechunk.13

fastboot flash system system.img_sparsechunk.14

fastboot flash system system.img_sparsechunk.15

fastboot flash system system.img_sparsechunk.16

fastboot flash system system.img_sparsechunk.17

fastboot flash oem oem.img

fastboot flash userdata userdata.img

fastboot erase cache

fastboot erase userdata

fastboot erase customize

fastboot erase clogo

fastboot erase ddr

fastboot oem fb_mode_clear

fastboot reboot

*after this, flash Oreo Soak one time with this commands:

fastboot flash bluetooth BTFM.bin

fastboot flash dsp adspso.bin

fastboot flash logo logo.bin

fastboot flash boot boot.img

fastboot flash system system.img

fastboot flash oem oem.img

fastboot erase cache

fastboot erase userdata

fastboot erase customize

fastboot erase clogo

fastboot erase ddr

fastboot reboot

and look with *06# you get your IMEI back

after it, try these commands for Nougat Rom:

fastboot oem fb_mode_set

fastboot flash partition gpt.bin

fastboot flash fsg fsg.mbn

fastboot flash bluetooth BTFM.bin

fastboot flash dsp adspso.bin

fastboot flash logo logo.bin

fastboot flash boot boot.img

fastboot flash recovery recovery.img

fastboot flash system system.img_sparsechunk.0

fastboot flash system system.img_sparsechunk.1

fastboot flash system system.img_sparsechunk.2

fastboot flash system system.img_sparsechunk.3

fastboot flash system system.img_sparsechunk.4

fastboot flash system system.img_sparsechunk.5

fastboot flash system system.img_sparsechunk.6

fastboot flash system system.img_sparsechunk.7

fastboot flash system system.img_sparsechunk.8

fastboot flash system system.img_sparsechunk.9

fastboot flash system system.img_sparsechunk.10

fastboot flash system system.img_sparsechunk.11

fastboot flash system system.img_sparsechunk.12

fastboot flash system system.img_sparsechunk.13

fastboot flash system system.img_sparsechunk.14

fastboot flash system system.img_sparsechunk.15

fastboot flash system system.img_sparsechunk.16

fastboot flash system system.img_sparsechunk.17

fastboot flash oem oem.img

fastboot flash userdata userdata.img

fastboot erase cache

fastboot erase userdata

fastboot erase customize

fastboot erase clogo

fastboot erase ddr

fastboot oem fb_mode_clear

fastboot reboot

* the Image from Oreo here:

https://drive.google.com/file/d/15tiVwLK1VtRqaPphwkKcSwTIq0CtxrVf/view?usp=sharing

When Bootloader says "modified", wait for OTA, this did the trick for us, please don't modify the Image and wait for official Oreo ;)