[Android Software/Hacking General [Developers Only]] yuweng:
i don't own any MTK armv8 devices so i donno if Nvram backup will work, refer to post#2 <- recovery.fstab

i've seen Katinatez's OPO recovery.fstab has all the other partitions so i guess it should also work on MTKs but you'll have to trial & error & find that out yourself, read whole page 1 for more info . . . :fingers-crossed: On 2nd thought, PhilZ Touch source might need modding to support custom partition backup/ restore . . . :cowboy:

# Android fstab file.
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK

/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,barrier=1 wait
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 noatime,nosuid,nodev,barrier=1,data=ordered,noauto_da_alloc,errors=panic wait,check,encryptable=/dev/block/platform/msm_sdcc.1/by-name/reserve4
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 noatime,nosuid,nodev,barrier=1,data=ordered,noauto_da_alloc,errors=panic wait,check
/dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 nosuid,nodev,barrier=1,data=ordered,nodelalloc,nomblk_io_submit,errors=panic wait,check
/dev/block/platform/msm_sdcc.1/by-name/boot /boot emmc defaults defaults
/dev/block/platform/msm_sdcc.1/by-name/recovery /recovery emmc defaults defaults
/dev/block/platform/msm_sdcc.1/by-name/misc /misc emmc defaults defaults
/dev/block/platform/msm_sdcc.1/by-name/modem /firmware vfat ro,shortname=lower,uid=1000,gid=1026,dmask=227,fmask=337,context=u:object_r:firmware_file:s0 wait

/devices/platform/xhci-hcd auto auto defaults voldmanaged=usbdisk:auto

/dev/block/platform/msm_sdcc.1/by-name/reserve4 /reserve4 emmc default defaults
/dev/block/platform/msm_sdcc.1/by-name/rpm /rpm emmc default defaults
/dev/block/platform/msm_sdcc.1/by-name/tz /tz emmc default defaults
/dev/block/platform/msm_sdcc.1/by-name/aboot	/aboot emmc default defaults

/dev/block/platform/msm_sdcc.1/by-name/modemst1 /efs1 emmc default defaults
/dev/block/platform/msm_sdcc.1/by-name/modemst2 /efs2 emmc default defaults

Updates

Thanks to Katinatez, he has just shared with me on how to add custom partitions backup/ restore on PhilZ Touch for MTK armv8 devices. . . :highfive:

Just add the below to default.prop & update your recovery.fstab accordingly to support the additional partitions that you wanna backup/ restore & it should work . . . :fingers-crossed:

ro.cwm.backup_partitions=/nvram
ro.cwm.forbid_format=/nvram
ro.cwm.forbid_mount=/nvram

Optionally, if you wanna backup the whole device then Eg. as below but its unnecessary as explained at Page 1.

# Android fstab file.

# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK

#<src> <mnt_point> <type><mnt_flags and options><fs_mgr_flags>
/dev/block/platform/mtk-msdc.0/by-name/boot /boot emmc defaults defaults
/dev/block/platform/mtk-msdc.0/by-name/nvram /nvram emmc defaults defaults
/dev/block/platform/mtk-msdc.0/by-name/flashinfo /flashinfo emmc defaults defaults
/dev/block/platform/mtk-msdc.0/by-name/expdb /expdb emmc defaults defaults
/dev/block/platform/mtk-msdc.0/by-name/recovery /recovery emmc defaults defaults
/dev/block/platform/mtk-msdc.0/by-name/secro /secro emmc defaults defaults
/dev/block/platform/mtk-msdc.0/by-name/seccfg /seccfg emmc defaults defaults
/dev/block/platform/mtk-msdc.0/by-name/proinfo /proinfo emmc defaults defaults
/dev/block/platform/mtk-msdc.0/by-name/para /para emmc defaults defaults
/dev/block/platform/mtk-msdc.0/by-name/logo /logo emmc defaults defaults
/dev/block/platform/mtk-msdc.0/by-name/tee1 /tee1 emmc defaults defaults
/dev/block/platform/mtk-msdc.0/by-name/tee2 /tee2 emmc defaults defaults
/dev/block/platform/mtk-msdc.0/by-name/otp /otp emmc defaults defaults
/dev/block/platform/mtk-msdc.0/by-name/lk /lk emmc defaults defaults
/dev/block/platform/mtk-msdc.0/by-name/system /system ext4 ro,noatime wait
/dev/block/platform/mtk-msdc.0/by-name/preload /preload ext4 noatime,nosuid,nodev,noauto_da_alloc,discard wait,check
/dev/block/platform/mtk-msdc.0/by-name/cache /cache ext4 noatime,nosuid,nodev,noauto_da_alloc,discard wait,check
/dev/block/platform/mtk-msdc.0/by-name/userdata /data ext4 noatime,nosuid,nodev,noauto_da_alloc,discard wait,check,resize,encryptable=/dev/block/platform/mtk-msdc.0/by-name/metadata
/dev/block/platform/mtk-msdc.0/by-name/protect1 /protect_f ext4 noatime,nosuid,nodev,noauto_da_alloc,commit=1,nodelalloc wait,check,autoformat
/dev/block/platform/mtk-msdc.0/by-name/protect2 /protect_s ext4 noatime,nosuid,nodev,noauto_da_alloc,commit=1,nodelalloc wait,check,autoformat
/dev/block/platform/mtk-msdc.0/by-name/custom /custom ext4 relatime wait,check

/devices/mtk-msdc.0/11240000.MSDC1/mmc_host/mmc1 auto auto defaults voldmanaged=sdcard1:auto

ro.cwm.backup_partitions=/nvram,/flashinfo,/expdb,/secro,/seccfg,/proinfo,/para,/logo,/tee1,/tee2,/otp,/lk,/preload,/protect_f,/protect_s,/custom
ro.cwm.forbid_format=/nvram,/flashinfo,/expdb,/secro,/seccfg,/proinfo,/para,/logo,/tee1,/tee2,/otp,/lk,/preload,/protect_f,/protect_s,/custom
ro.cwm.forbid_mount=/nvram,/flashinfo,/expdb,/secro,/seccfg,/proinfo,/para,/logo,/tee1,/tee2,/otp,/lk,/preload,/protect_f,/protect_s,/custom