[Upgrading, Modifying and Unlocking] SevenMaxs:
The great work Master Shifu Carliv! :highfive: I'll try to compile similar to msm8916 (Lenovo Vibe Z2).

Here probably need to replace it:

TW_USE_MODEL_HARDWARE_ID_FOR_DEVICE_ID := true
TW_INTERNAL_STORAGE_PATH := "/data/media/0"
TW_INTERNAL_STORAGE_MOUNT_POINT := "data"

Here probably need to replace it:

[COLOR="Red"]#[/COLOR]/sdcard	vfat	/dev/block/mmcblk0p16 flags=display="Internal SDcard";storage;wipeingui;backup=0

Because scatter file no FAT partition.

############################################################################################################

#

# General Setting

#

############################################################################################################

- general: MTK_PLATFORM_CFG

info:

- config_version: V1.1.2

platform: MT6595

project: vanzo95_lwt_ds_kk

storage: EMMC

boot_channel: MSDC_0

block_size: 0x20000

############################################################################################################

#

# Layout Setting

#

############################################################################################################

- partition_index: SYS0

partition_name: preloader

file_name: preloader_vanzo95_lwt_ds_kk.bin

is_download: true

type: SV5_BL_BIN

linear_start_addr: 0x0

physical_start_addr: 0x0

partition_size: 0x40000

region: EMMC_BOOT_1

storage: HW_STORAGE_EMMC

boundary_check: true

is_reserved: false

operation_type: BOOTLOADERS

reserve: 0x00

- partition_index: SYS1

partition_name: pgpt

file_name: NONE

is_download: false

type: NORMAL_ROM

linear_start_addr: 0x0

physical_start_addr: 0x0

partition_size: 0x80000

region: EMMC_USER

storage: HW_STORAGE_EMMC

boundary_check: true

is_reserved: false

operation_type: INVISIBLE

reserve: 0x00

- partition_index: SYS2

partition_name: proinfo

file_name: NONE

is_download: false

type: NORMAL_ROM

linear_start_addr: 0x80000

physical_start_addr: 0x80000

partition_size: 0x300000

region: EMMC_USER

storage: HW_STORAGE_EMMC

boundary_check: true

is_reserved: false

operation_type: PROTECTED

reserve: 0x00

- partition_index: SYS3

partition_name: nvram

file_name: NONE

is_download: false

type: NORMAL_ROM

linear_start_addr: 0x380000

physical_start_addr: 0x380000

partition_size: 0x500000

region: EMMC_USER

storage: HW_STORAGE_EMMC

boundary_check: true

is_reserved: false

operation_type: BINREGION

reserve: 0x00

- partition_index: SYS4

partition_name: protect1

file_name: NONE

is_download: false

type: EXT4_IMG

linear_start_addr: 0x880000

physical_start_addr: 0x880000

partition_size: 0xa00000

region: EMMC_USER

storage: HW_STORAGE_EMMC

boundary_check: true

is_reserved: false

operation_type: PROTECTED

reserve: 0x00

- partition_index: SYS5

partition_name: protect2

file_name: NONE

is_download: false

type: EXT4_IMG

linear_start_addr: 0x1280000

physical_start_addr: 0x1280000

partition_size: 0xa00000

region: EMMC_USER

storage: HW_STORAGE_EMMC

boundary_check: true

is_reserved: false

operation_type: PROTECTED

reserve: 0x00

- partition_index: SYS6

partition_name: seccfg

file_name: NONE

is_download: false

type: NORMAL_ROM

linear_start_addr: 0x1c80000

physical_start_addr: 0x1c80000

partition_size: 0x40000

region: EMMC_USER

storage: HW_STORAGE_EMMC

boundary_check: true

is_reserved: false

operation_type: INVISIBLE

reserve: 0x00

- partition_index: SYS7

partition_name: lk

file_name: lk.bin

is_download: true

type: NORMAL_ROM

linear_start_addr: 0x1cc0000

physical_start_addr: 0x1cc0000

partition_size: 0x60000

region: EMMC_USER

storage: HW_STORAGE_EMMC

boundary_check: true

is_reserved: false

operation_type: UPDATE

reserve: 0x00

- partition_index: SYS8

partition_name: boot

file_name: boot.img

is_download: true

type: NORMAL_ROM

linear_start_addr: 0x1d20000

physical_start_addr: 0x1d20000

partition_size: 0x1000000

region: EMMC_USER

storage: HW_STORAGE_EMMC

boundary_check: true

is_reserved: false

operation_type: UPDATE

reserve: 0x00

- partition_index: SYS9

partition_name: recovery

file_name: recovery.img

is_download: true

type: NORMAL_ROM

linear_start_addr: 0x2d20000

physical_start_addr: 0x2d20000

partition_size: 0x1000000

region: EMMC_USER

storage: HW_STORAGE_EMMC

boundary_check: true

is_reserved: false

operation_type: UPDATE

reserve: 0x00

- partition_index: SYS10

partition_name: secro

file_name: secro.img

is_download: true

type: EXT4_IMG

linear_start_addr: 0x3d20000

physical_start_addr: 0x3d20000

partition_size: 0x600000

region: EMMC_USER

storage: HW_STORAGE_EMMC

boundary_check: true

is_reserved: false

operation_type: UPDATE

reserve: 0x00

- partition_index: SYS11

partition_name: para

file_name: NONE

is_download: false

type: NORMAL_ROM

linear_start_addr: 0x4320000

physical_start_addr: 0x4320000

partition_size: 0x80000

region: EMMC_USER

storage: HW_STORAGE_EMMC

boundary_check: true

is_reserved: false

operation_type: INVISIBLE

reserve: 0x00

- partition_index: SYS12

partition_name: logo

file_name: logo.bin

is_download: true

type: NORMAL_ROM

linear_start_addr: 0x43a0000

physical_start_addr: 0x43a0000

partition_size: 0x800000

region: EMMC_USER

storage: HW_STORAGE_EMMC

boundary_check: true

is_reserved: false

operation_type: UPDATE

reserve: 0x00

- partition_index: SYS13

partition_name: expdb

file_name: NONE

is_download: false

type: NORMAL_ROM

linear_start_addr: 0x4ba0000

physical_start_addr: 0x4ba0000

partition_size: 0xc60000

region: EMMC_USER

storage: HW_STORAGE_EMMC

boundary_check: true

is_reserved: false

operation_type: INVISIBLE

reserve: 0x00

- partition_index: SYS14

partition_name: system

file_name: system.img

is_download: true

type: EXT4_IMG

linear_start_addr: 0x5800000

physical_start_addr: 0x5800000

partition_size: 0x52000000

region: EMMC_USER

storage: HW_STORAGE_EMMC

boundary_check: true

is_reserved: false

operation_type: UPDATE

reserve: 0x00

- partition_index: SYS15

partition_name: cache

file_name: cache.img

is_download: true

type: EXT4_IMG

linear_start_addr: 0x57800000

physical_start_addr: 0x57800000

partition_size: 0x7000000

region: EMMC_USER

storage: HW_STORAGE_EMMC

boundary_check: true

is_reserved: false

operation_type: UPDATE

reserve: 0x00

- partition_index: SYS16

partition_name: userdata

file_name: userdata.img

is_download: true

type: EXT4_IMG

linear_start_addr: 0x5e800000

physical_start_addr: 0x5e800000

partition_size: 0x49c00000

region: EMMC_USER

storage: HW_STORAGE_EMMC

boundary_check: true

is_reserved: false

operation_type: UPDATE

reserve: 0x00

- partition_index: SYS17

partition_name: flashinfo

file_name: NONE

is_download: false

type: NORMAL_ROM

linear_start_addr: 0xFFFF0084

physical_start_addr: 0xFFFF0084

partition_size: 0x1000000

region: EMMC_USER

storage: HW_STORAGE_EMMC

boundary_check: false

is_reserved: true

operation_type: RESERVED

reserve: 0x00

- partition_index: SYS18

partition_name: sgpt

file_name: NONE

is_download: false

type: NORMAL_ROM

linear_start_addr: 0xFFFF0004

physical_start_addr: 0xFFFF0004

partition_size: 0x80000

region: EMMC_USER

storage: HW_STORAGE_EMMC

boundary_check: false

is_reserved: true

operation_type: RESERVED

reserve: 0x00