[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] zerolam:
is your moto x4 XT1900-2?

I backuped all the partition.

/dev/block/mmcblk0p1
/dev/block/mmcblk0p10
/dev/block/mmcblk0p11
/dev/block/mmcblk0p12
/dev/block/mmcblk0p13
/dev/block/mmcblk0p14
/dev/block/mmcblk0p15
/dev/block/mmcblk0p16
/dev/block/mmcblk0p17
/dev/block/mmcblk0p18
/dev/block/mmcblk0p19
/dev/block/mmcblk0p2
/dev/block/mmcblk0p20
/dev/block/mmcblk0p21
/dev/block/mmcblk0p22
/dev/block/mmcblk0p23
/dev/block/mmcblk0p24
/dev/block/mmcblk0p25
/dev/block/mmcblk0p26
/dev/block/mmcblk0p27
/dev/block/mmcblk0p28
/dev/block/mmcblk0p29
/dev/block/mmcblk0p3
/dev/block/mmcblk0p30
/dev/block/mmcblk0p31
/dev/block/mmcblk0p32
/dev/block/mmcblk0p33
/dev/block/mmcblk0p34
/dev/block/mmcblk0p35
/dev/block/mmcblk0p36
/dev/block/mmcblk0p37
/dev/block/mmcblk0p38
/dev/block/mmcblk0p39
/dev/block/mmcblk0p4
/dev/block/mmcblk0p40
/dev/block/mmcblk0p41
/dev/block/mmcblk0p42
/dev/block/mmcblk0p43
/dev/block/mmcblk0p44
/dev/block/mmcblk0p45
/dev/block/mmcblk0p46
/dev/block/mmcblk0p47
/dev/block/mmcblk0p48
/dev/block/mmcblk0p49
/dev/block/mmcblk0p5
/dev/block/mmcblk0p50
/dev/block/mmcblk0p51
/dev/block/mmcblk0p52
/dev/block/mmcblk0p53
/dev/block/mmcblk0p54
/dev/block/mmcblk0p55
/dev/block/mmcblk0p56
/dev/block/mmcblk0p57
/dev/block/mmcblk0p58
/dev/block/mmcblk0p59
/dev/block/mmcblk0p6
/dev/block/mmcblk0p61
/dev/block/mmcblk0p62
/dev/block/mmcblk0p63
/dev/block/mmcblk0p64
/dev/block/mmcblk0p65
/dev/block/mmcblk0p66
/dev/block/mmcblk0p67
/dev/block/mmcblk0p7
/dev/block/mmcblk0p8
/dev/block/mmcblk0p9

via

dd if=/dev/block/mmcblk0p10 of=/external_sd/TWRP/devcfg_b
dd if=/dev/block/mmcblk0p11 of=/external_sd/TWRP/pmic_a
dd if=/dev/block/mmcblk0p12 of=/external_sd/TWRP/pmic_b
dd if=/dev/block/mmcblk0p13 of=/external_sd/TWRP/abl_a
dd if=/dev/block/mmcblk0p14 of=/external_sd/TWRP/abl_b
dd if=/dev/block/mmcblk0p15 of=/external_sd/TWRP/cmnlib_a
dd if=/dev/block/mmcblk0p16 of=/external_sd/TWRP/cmnlib64_a
dd if=/dev/block/mmcblk0p17 of=/external_sd/TWRP/cmnlib_b
dd if=/dev/block/mmcblk0p18 of=/external_sd/TWRP/cmnlib64_b
dd if=/dev/block/mmcblk0p19 of=/external_sd/TWRP/keymaster_a
dd if=/dev/block/mmcblk0p2 of=/external_sd/TWRP/xbl_b
dd if=/dev/block/mmcblk0p20 of=/external_sd/TWRP/keymaster_b
dd if=/dev/block/mmcblk0p21 of=/external_sd/TWRP/storsec_a
dd if=/dev/block/mmcblk0p22 of=/external_sd/TWRP/storsec_b
dd if=/dev/block/mmcblk0p23 of=/external_sd/TWRP/prov_a
dd if=/dev/block/mmcblk0p24 of=/external_sd/TWRP/prov_b
dd if=/dev/block/mmcblk0p25 of=/external_sd/TWRP/modem_a
dd if=/dev/block/mmcblk0p26 of=/external_sd/TWRP/modem_b
dd if=/dev/block/mmcblk0p27 of=/external_sd/TWRP/fsc
dd if=/dev/block/mmcblk0p28 of=/external_sd/TWRP/ssd
dd if=/dev/block/mmcblk0p29 of=/external_sd/TWRP/dsp_a
dd if=/dev/block/mmcblk0p3 of=/external_sd/TWRP/tz_a
dd if=/dev/block/mmcblk0p30 of=/external_sd/TWRP/dsp_b
dd if=/dev/block/mmcblk0p31 of=/external_sd/TWRP/ddr
dd if=/dev/block/mmcblk0p32 of=/external_sd/TWRP/utags
dd if=/dev/block/mmcblk0p33 of=/external_sd/TWRP/utagsBackup
dd if=/dev/block/mmcblk0p34 of=/external_sd/TWRP/modemst1
dd if=/dev/block/mmcblk0p35 of=/external_sd/TWRP/modemst2
dd if=/dev/block/mmcblk0p36 of=/external_sd/TWRP/fsg_a
dd if=/dev/block/mmcblk0p37 of=/external_sd/TWRP/fsg_b
dd if=/dev/block/mmcblk0p38 of=/external_sd/TWRP/persist
dd if=/dev/block/mmcblk0p39 of=/external_sd/TWRP/frp
dd if=/dev/block/mmcblk0p4 of=/external_sd/TWRP/tz_b
dd if=/dev/block/mmcblk0p40 of=/external_sd/TWRP/cid
dd if=/dev/block/mmcblk0p41 of=/external_sd/TWRP/carrier
dd if=/dev/block/mmcblk0p42 of=/external_sd/TWRP/metadata
dd if=/dev/block/mmcblk0p43 of=/external_sd/TWRP/kpan
dd if=/dev/block/mmcblk0p44 of=/external_sd/TWRP/boot_a
dd if=/dev/block/mmcblk0p45 of=/external_sd/TWRP/boot_b
dd if=/dev/block/mmcblk0p46 of=/external_sd/TWRP/dto_a
dd if=/dev/block/mmcblk0p47 of=/external_sd/TWRP/dto_b
dd if=/dev/block/mmcblk0p48 of=/external_sd/TWRP/misc
dd if=/dev/block/mmcblk0p49 of=/external_sd/TWRP/logfs
dd if=/dev/block/mmcblk0p5 of=/external_sd/TWRP/rpm_a
dd if=/dev/block/mmcblk0p50 of=/external_sd/TWRP/apdp
dd if=/dev/block/mmcblk0p51 of=/external_sd/TWRP/msadp
dd if=/dev/block/mmcblk0p52 of=/external_sd/TWRP/dpo
dd if=/dev/block/mmcblk0p53 of=/external_sd/TWRP/devinfo
dd if=/dev/block/mmcblk0p54 of=/external_sd/TWRP/bluetooth_a
dd if=/dev/block/mmcblk0p55 of=/external_sd/TWRP/bluetooth_b
dd if=/dev/block/mmcblk0p56 of=/external_sd/TWRP/logo_a
dd if=/dev/block/mmcblk0p57 of=/external_sd/TWRP/logo_b
dd if=/dev/block/mmcblk0p58 of=/external_sd/TWRP/vbmeta_a
dd if=/dev/block/mmcblk0p59 of=/external_sd/TWRP/vbmeta_b
dd if=/dev/block/mmcblk0p6 of=/external_sd/TWRP/rpm_b
dd if=/dev/block/mmcblk0p61 of=/external_sd/TWRP/hw
dd if=/dev/block/mmcblk0p62 of=/external_sd/TWRP/sp
dd if=/dev/block/mmcblk0p63 of=/external_sd/TWRP/oem_a
dd if=/dev/block/mmcblk0p64 of=/external_sd/TWRP/oem_b
dd if=/dev/block/mmcblk0p65 of=/external_sd/TWRP/system_a
dd if=/dev/block/mmcblk0p66 of=/external_sd/TWRP/system_b
dd if=/dev/block/mmcblk0p7 of=/external_sd/TWRP/hyp_a
dd if=/dev/block/mmcblk0p8 of=/external_sd/TWRP/hyp_b
dd if=/dev/block/mmcblk0p9 of=/external_sd/TWRP/devcfg_a

Could you tell me if I want restore the backup, do I use the commends like this?

fastboot flash system_a system_a

***

*** I forget to add ".img" for my backup, so all the backup is without ".img" at the end of file name.