[Huawei Ascend P6, Mate] millo1978:
Huawei P9 lite (VNS-L21C432B394) Nougat,

with the command (Windows cmd)

adb shell
su
ls -al /dev/block/platform/hi_mci.0/by-name

I have

ls -al /dev/block/platform/hi_mci.0/by-name
total 0
drwxr-xr-x 2 root root 1020 2018-03-18 23:51 .
drwxr-xr-x 4 root root 1140 2018-03-18 23:51 ..
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 boot -> /dev/block/mmcblk0p28
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 bootfail_info -> /dev/block/mmcblk0p41
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 cache -> /dev/block/mmcblk0p36
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 cust -> /dev/block/mmcblk0p45
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 dfx -> /dev/block/mmcblk0p34
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 dts -> /dev/block/mmcblk0p30
lrwxrwxrwx 1 root root 20 2018-03-18 23:51 fastboot -> /dev/block/mmcblk0p5
lrwxrwxrwx 1 root root 20 2018-03-18 23:51 frp -> /dev/block/mmcblk0p4
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 fw_hifi -> /dev/block/mmcblk0p27
lrwxrwxrwx 1 root root 20 2018-03-18 23:51 fw_lpm3 -> /dev/block/mmcblk0p3
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 hisitest0 -> /dev/block/mmcblk0p37
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 hisitest1 -> /dev/block/mmcblk0p38
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 hisitest2 -> /dev/block/mmcblk0p39
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 misc -> /dev/block/mmcblk0p20
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 modem_fw -> /dev/block/mmcblk0p31
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 modem_om -> /dev/block/mmcblk0p18
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 modemnvm_backup -> /dev/block/mmcblk0p10
lrwxrwxrwx 1 root root 20 2018-03-18 23:51 modemnvm_factory -> /dev/block/mmcblk0p6
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 modemnvm_img -> /dev/block/mmcblk0p11
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 modemnvm_system -> /dev/block/mmcblk0p12
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 modemnvm_update -> /dev/block/mmcblk0p21
lrwxrwxrwx 1 root root 20 2018-03-18 23:51 nvme -> /dev/block/mmcblk0p7
lrwxrwxrwx 1 root root 20 2018-03-18 23:51 oeminfo -> /dev/block/mmcblk0p8
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 patch -> /dev/block/mmcblk0p40
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 persist -> /dev/block/mmcblk0p16
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 product -> /dev/block/mmcblk0p48
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 recovery -> /dev/block/mmcblk0p29
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 recovery2 -> /dev/block/mmcblk0p22
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 reserved1 -> /dev/block/mmcblk0p17
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 reserved2 -> /dev/block/mmcblk0p23
lrwxrwxrwx 1 root root 20 2018-03-18 23:51 reserved3 -> /dev/block/mmcblk0p9
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 reserved4 -> /dev/block/mmcblk0p14
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 reserved5 -> /dev/block/mmcblk0p15
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 reserved6 -> /dev/block/mmcblk0p35
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 reserved7 -> /dev/block/mmcblk0p32
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 reserved8 -> /dev/block/mmcblk0p33
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 reserved9 -> /dev/block/mmcblk0p43
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 rrecord -> /dev/block/mmcblk0p42
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 secure_storage -> /dev/block/mmcblk0p13
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 sensorhub -> /dev/block/mmcblk0p26
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 splash2 -> /dev/block/mmcblk0p19
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 system -> /dev/block/mmcblk0p44
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 teeos -> /dev/block/mmcblk0p24
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 trustfirmware -> /dev/block/mmcblk0p25
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 userdata -> /dev/block/mmcblk0p49
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 vendor -> /dev/block/mmcblk0p47
lrwxrwxrwx 1 root root 21 2018-03-18 23:51 version -> /dev/block/mmcblk0p46
lrwxrwxrwx 1 root root 20 2018-03-18 23:51 vrl -> /dev/block/mmcblk0p1
lrwxrwxrwx 1 root root 20 2018-03-18 23:51 vrl_backup -> /dev/block/mmcblk0p2

I have to edit Profiles.xml file so:

[...]
<Profile name="Huawei P9 lite - Marshmallow" author="millo1978">
<Files>
<File type="crc" filetype="checksum">crc.img</File>
<File type="curver">curver.img</File>
<File type="efi">efi.img</File>
<File type="sha256rsa" filetype="signature">sha256rsa.img</File>
<File type="verlist">verlist.txt</File>
<File type="xloader">xloader.img</File>
<File type="boot" partition="/dev/block/mmcblk0p28">boot.img</File>
<File type="cache" partition="/dev/block/mmcblk0p36">cache.img</File>
<File type="cust" partition="/dev/block/mmcblk0p41">cust.img</File>
<File type="dfx" partition="/dev/block/mmcblk0p34">dfx.img</File>
<File type="dts" partition="/dev/block/mmcblk0p30">dts.img</File>
<File type="fastboot" partition="/dev/block/mmcblk0p5">fastboot.img</File>
<File type="frp" partition="/dev/block/mmcblk0p4">frp.img</File>
<File type="fw_hifi" partition="/dev/block/mmcblk0p27">fw_hifi.img</File>
<File type="fw_lpm3" partition="/dev/block/mmcblk0p3">fw_lpm3.img</File>
<File type="hisitest0" partition="/dev/block/mmcblk0p37">hisitest0.img</File>
<File type="hisitest1" partition="/dev/block/mmcblk0p38">hisitest1.img</File>
<File type="hisitest2" partition="/dev/block/mmcblk0p39">hisitest2.img</File>
<File type="misc" partition="/dev/block/mmcblk0p20">misc.img</File>
<File type="modem_fw" partition="/dev/block/mmcblk0p31">modem_fw.img</File>
<File type="modem_om" partition="/dev/block/mmcblk0p18">modem_om.img</File>
<File type="modemnvm_backup" partition="/dev/block/mmcblk0p10">modemnvm_backup.img</File>
<File type="modemnvm_factory" partition="/dev/block/mmcblk0p6">modemnvm_factory.img</File>
<File type="modemnvm_img" partition="/dev/block/mmcblk0p11">modemnvm_img.img</File>
<File type="modemnvm_system" partition="/dev/block/mmcblk0p12">modemnvm_system.img</File>
<File type="modemnvm_update" partition="/dev/block/mmcblk0p21">modemnvm_update.img</File>
<File type="nvme" partition="/dev/block/mmcblk0p7">nvme.img</File>
<File type="oeminfo" partition="/dev/block/mmcblk0p8">oeminfo.img</File>
<File type="persist" partition="/dev/block/mmcblk0p16">persist.img</File>
<File type="recovery" partition="/dev/block/mmcblk0p29">recovery.img</File>
<File type="recovery2" partition="/dev/block/mmcblk0p22">recovery2.img</File>
<File type="reserved1" partition="/dev/block/mmcblk0p17">reserved1.img</File>
<File type="reserved2" partition="/dev/block/mmcblk0p23">reserved2.img</File>
<File type="reserved3" partition="/dev/block/mmcblk0p9">reserved3.img</File>
<File type="reserved4" partition="/dev/block/mmcblk0p14">reserved4.img</File>
<File type="reserved5" partition="/dev/block/mmcblk0p15">reserved5.img</File>
<File type="reserved6" partition="/dev/block/mmcblk0p35">reserved6.img</File>
<File type="reserved7" partition="/dev/block/mmcblk0p32">reserved7.img</File>
<File type="reserved8" partition="/dev/block/mmcblk0p33">reserved8.img</File>
<File type="secure_storage" partition="/dev/block/mmcblk0p13">secure_storage.img</File>
<File type="sensorhub" partition="/dev/block/mmcblk0p26">sensorhub.img</File>
<File type="splash2" partition="/dev/block/mmcblk0p19">splash2.img</File>
<File type="system" partition="/dev/block/mmcblk0p40">system.img</File>
<File type="teeos" partition="/dev/block/mmcblk0p24">teeos.img</File>
<File type="trustfirmware" partition="/dev/block/mmcblk0p25">trustfirmware.img</File>
<File type="userdata" partition="/dev/block/mmcblk0p42">userdata.img</File>
<File type="vrl" partition="/dev/block/mmcblk0p1">vrl.img</File>
<File type="vrl_backup" partition="/dev/block/mmcblk0p2">vrl_backup.img</File>
</Files>
</Profile>
<Profile name="Huawei P9 lite - Nougat" author="millo1978">
<Files>
<File type="crc" filetype="checksum">crc.img</File>
<File type="curver">curver.img</File>
<File type="efi">efi.img</File>
<File type="sha256rsa" filetype="signature">sha256rsa.img</File>
<File type="verlist">verlist.txt</File>
<File type="xloader">xloader.img</File>
<File type="boot" partition="/dev/block/mmcblk0p28">boot.img</File>
<File type="bootfail_info" partition="/dev/block/mmcblk0p41">bootfail_info.img</File>
<File type="cache" partition="/dev/block/mmcblk0p36">cache.img</File>
<File type="cust" partition="/dev/block/mmcblk0p45">cust.img</File>
<File type="dfx" partition="/dev/block/mmcblk0p34">dfx.img</File>
<File type="dts" partition="/dev/block/mmcblk0p30">dts.img</File>
<File type="fastboot" partition="/dev/block/mmcblk0p5">fastboot.img</File>
<File type="frp" partition="/dev/block/mmcblk0p4">frp.img</File>
<File type="fw_hifi" partition="/dev/block/mmcblk0p27">fw_hifi.img</File>
<File type="fw_lpm3" partition="/dev/block/mmcblk0p3">fw_lpm3.img</File>
<File type="hisitest0" partition="/dev/block/mmcblk0p37">hisitest0.img</File>
<File type="hisitest1" partition="/dev/block/mmcblk0p38">hisitest1.img</File>
<File type="hisitest2" partition="/dev/block/mmcblk0p39">hisitest2.img</File>
<File type="misc" partition="/dev/block/mmcblk0p20">misc.img</File>
<File type="modem_fw" partition="/dev/block/mmcblk0p31">modem_fw.img</File>
<File type="modem_om" partition="/dev/block/mmcblk0p18">modem_om.img</File>
<File type="modemnvm_backup" partition="/dev/block/mmcblk0p10">modemnvm_backup.img</File>
<File type="modemnvm_factory" partition="/dev/block/mmcblk0p6">modemnvm_factory.img</File>
<File type="modemnvm_img" partition="/dev/block/mmcblk0p11">modemnvm_img.img</File>
<File type="modemnvm_system" partition="/dev/block/mmcblk0p12">modemnvm_system.img</File>
<File type="modemnvm_update" partition="/dev/block/mmcblk0p21">modemnvm_update.img</File>
<File type="nvme" partition="/dev/block/mmcblk0p7">nvme.img</File>
<File type="oeminfo" partition="/dev/block/mmcblk0p8">oeminfo.img</File>
<File type="patch" partition="/dev/block/mmcblk0p40">patch.img</File>
<File type="persist" partition="/dev/block/mmcblk0p16">persist.img</File>
<File type="product" partition="/dev/block/mmcblk0p48">product.img</File>
<File type="recovery" partition="/dev/block/mmcblk0p29">recovery.img</File>
<File type="recovery2" partition="/dev/block/mmcblk0p22">recovery2.img</File>
<File type="reserved1" partition="/dev/block/mmcblk0p17">reserved1.img</File>
<File type="reserved2" partition="/dev/block/mmcblk0p23">reserved2.img</File>
<File type="reserved3" partition="/dev/block/mmcblk0p9">reserved3.img</File>
<File type="reserved4" partition="/dev/block/mmcblk0p14">reserved4.img</File>
<File type="reserved5" partition="/dev/block/mmcblk0p15">reserved5.img</File>
<File type="reserved6" partition="/dev/block/mmcblk0p35">reserved6.img</File>
<File type="reserved7" partition="/dev/block/mmcblk0p32">reserved7.img</File>
<File type="reserved8" partition="/dev/block/mmcblk0p33">reserved8.img</File>
<File type="reserved9" partition="/dev/block/mmcblk0p43">reserved9.img</File>
<File type="rrecord" partition="/dev/block/mmcblk0p42">rrecord.img</File>
<File type="secure_storage" partition="/dev/block/mmcblk0p13">secure_storage.img</File>
<File type="sensorhub" partition="/dev/block/mmcblk0p26">sensorhub.img</File>
<File type="splash2" partition="/dev/block/mmcblk0p19">splash2.img</File>
<File type="system" partition="/dev/block/mmcblk0p44">system.img</File>
<File type="teeos" partition="/dev/block/mmcblk0p24">teeos.img</File>
<File type="trustfirmware" partition="/dev/block/mmcblk0p25">trustfirmware.img</File>
<File type="userdata" partition="/dev/block/mmcblk0p49">userdata.img</File>
<File type="vendor" partition="/dev/block/mmcblk0p47">vendor.img</File>
<File type="version" partition="/dev/block/mmcblk0p46">version.img</File>
<File type="vrl" partition="/dev/block/mmcblk0p1">vrl.img</File>
<File type="vrl_backup" partition="/dev/block/mmcblk0p2">vrl_backup.img</File>
</Files>
</Profile>
[...]

Here there is my profile for marshmallow