[Moto Z Questions & Answers] Lif3mau5:
Found a interesting Fastboot Command on Miui Site and create more of the commands for our Moto Z, for testing or after you have flash the Oreo Soak Image and get back to 7.1.1 - here ist it:

fastboot getvar max-sparse-size

fastboot oem fb_mode_set

fastboot flash –S "serial number" partition gpt.bin

fastboot flash modem NON-HLOS.bin

fastboot erase boot

fastboot flash bluetooth BTFM.bin

fastboot flash fsg fsg.mbn

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 erase carrier

fastboot erase cache

fastboot erase userdata

fastboot erase customize

fastboot erase clogo

fastboot erase DDR

fastboot oem config carrier reteu

fastboot oem fb_mode_clear

pause

fastboot oem lock

fastboot oem lock

fastboot flash oem oem.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 oem lock

pause

fastboot reboot

(This method only works for unlocked bootloader..

Try to flash persist.img file

Extract the fastboot Rom

Find the persist.img file

On window image folder, shift +right click

Open command window here

Connect your phone to PC in fastboot mode

Enter fastboot command

Fastboot devices

Fastboot erase persist

Fastboot flash persist persist.img

Fastboot reboot

For Flashing guides using fastboot command Try to read this threads..

http://en.miui.com/thread-250455-1-1.html

I think that's not the complete command, but it still working

There is some missing command..

Fastboot flash persist persist.img

Fastboot flash cmnlib cmnlib.mbn

Fastboot flash cmnlibbak cmnlib.mbn

Fastboot flash keymaster keymaster.mbn

Fastboot flash keymasterbak keymaster.mbn)

For Xiaomi Smartphones:

fastboot flash tz tz.mbn

fastboot flash sbl1 sbl1.mbn

fastboot flash rpm rpm.mbn

fastboot flash aboot emmc_appsboot.mbn

fastboot flash hyp hyp.mbn

fastboot flash tzbak tz.mbn

fastboot flash sbl1bak sbl1.mbn

fastboot flash rpmbak rpm.mbn

fastboot flash abootbak emmc_appsboot.mbn

fastboot flash hypbak hyp.mbn

fastboot erase boot

fastboot flash modem NON-HLOS.bin

fastboot –S 512M flash system system.img

fastboot flash cache cache.img

fastboot flash userdata userdata.img

fastboot flash recovery recovery.img

fastboot flash boot boot.img

fastboot flash sec sec.dat

fastboot flash dsp adspso.bin

fastboot flash mdtp mdtp.img

fastboot erase splash

fastboot flash splash splash.img

fastboot erase DDR

fastboot flash cust cust.img