[Android Q&A, Help & Troubleshooting] Kazilmar:
Phone : H450R (ansmobility.com/h450r-rugged-smartphone)

OS : Android 5.1

Manufacturer: Mediatek (cheniese phone)

Chip : mt6580M

Phone Status : Rooted

My goal is to make a complete flashable backup of the phone.

I’m using the Mediatek SP flash tool v5.1628.

I’m not sure if i can do this with Mediatek flash tool because the chip doesn’t seem to be supported.

I write my own scatter file since I can’t find any that fit my phone,

So far i can read from my phone with sp flash tool but can’t push partions in it.

Maybe i can use another program? Maybe I did something wrong in the scatter file?

Help would be VERY appreciates

Info i Gathered about the phone :

cat the proc/emmc

pgpt 0x0000000000000000 0x0000000000080000
proinfo 0x0000000000080000 0x0000000000300000
nvram 0x0000000000380000 0x0000000000500000
protect1 0x0000000000880000 0x0000000000a00000
protect2 0x0000000001280000 0x0000000000a00000
seccfg 0x0000000001c80000 0x0000000000040000
lk 0x0000000001cc0000 0x0000000000060000
boot 0x0000000001d20000 0x0000000001000000
recovery 0x0000000002d20000 0x0000000001000000
para 0x0000000003d20000 0x0000000000080000
logo 0x0000000003da0000 0x0000000000800000
expdb 0x00000000045a0000 0x0000000000a00000
frp 0x0000000004fa0000 0x0000000000100000
nvdata 0x00000000050a0000 0x0000000002000000
metadata 0x00000000070a0000 0x0000000002760000
oemkeystore 0x0000000009800000 0x0000000000200000
secro 0x0000000009a00000 0x0000000000600000
keystore 0x000000000a000000 0x0000000000800000
system 0x000000000a800000 0x0000000080000000
cache 0x000000008a800000 0x000000000e000000
userdata 0x0000000098800000 0x0000000138780000
flashinfo 0x00000001d0f80000 0x0000000001000000
sgpt 0x00000001d1f80000 0x0000000000080000

cat /proc/partitions

254 0 499712 zram0
7 0 1254 loop0
179 0 7634944 mmcblk0
179 1 3072 mmcblk0p1
179 2 5120 mmcblk0p2
179 3 10240 mmcblk0p3
179 4 10240 mmcblk0p4
179 5 256 mmcblk0p5
179 6 384 mmcblk0p6
179 7 16384 mmcblk0p7
179 8 16384 mmcblk0p8
179 9 512 mmcblk0p9
179 10 8192 mmcblk0p10
179 11 10240 mmcblk0p11
179 12 1024 mmcblk0p12
179 13 32768 mmcblk0p13
179 14 40320 mmcblk0p14
179 15 2048 mmcblk0p15
179 16 6144 mmcblk0p16
179 17 8192 mmcblk0p17
179 18 2097152 mmcblk0p18
179 19 229376 mmcblk0p19
179 20 5119488 mmcblk0p20
179 21 16384 mmcblk0p21
179 96 4096 mmcblk0rpmb
179 64 4096 mmcblk0boot1
179 32 4096 mmcblk0boot0

ls -l /dev/block/platform/mtk-msdc.0/by-name/

lrwxrwxrwx root root 2010-01-01 01:00 boot -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 2010-01-01 01:00 cache -> /dev/block/mmcblk0p19
lrwxrwxrwx root root 2010-01-01 01:00 expdb -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 2010-01-01 01:00 flashinfo -> /dev/block/mmcblk0p21
lrwxrwxrwx root root 2010-01-01 01:00 frp -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 2010-01-01 01:00 keystore -> /dev/block/mmcblk0p17
lrwxrwxrwx root root 2010-01-01 01:00 lk -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 2010-01-01 01:00 logo -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 2010-01-01 01:00 metadata -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 2010-01-01 01:00 nvdata -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 2010-01-01 01:00 nvram -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 2010-01-01 01:00 oemkeystore -> /dev/block/mmcblk0p15
lrwxrwxrwx root root 2010-01-01 01:00 para -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 2010-01-01 01:00 proinfo -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 2010-01-01 01:00 protect1 -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 2010-01-01 01:00 protect2 -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 2010-01-01 01:00 recovery -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 2010-01-01 01:00 seccfg -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 2010-01-01 01:00 secro -> /dev/block/mmcblk0p16
lrwxrwxrwx root root 2010-01-01 01:00 system -> /dev/block/mmcblk0p18
lrwxrwxrwx root root 2010-01-01 01:00 userdata -> /dev/block/mmcblk0p20

cat /cache/recovery/last_log

pgpt 0x0000000000000000 0x0000000000080000
proinfo 0x0000000000080000 0x0000000000300000
nvram 0x0000000000380000 0x0000000000500000
protect1 0x0000000000880000 0x0000000000a00000
protect2 0x0000000001280000 0x0000000000a00000
seccfg 0x0000000001c80000 0x0000000000040000
lk 0x0000000001cc0000 0x0000000000060000
boot 0x0000000001d20000 0x0000000001000000
recovery 0x0000000002d20000 0x0000000001000000
para 0x0000000003d20000 0x0000000000080000
logo 0x0000000003da0000 0x0000000000800000
expdb 0x00000000045a0000 0x0000000000a00000
frp 0x0000000004fa0000 0x0000000000100000
nvdata 0x00000000050a0000 0x0000000002000000
metadata 0x00000000070a0000 0x0000000002760000
oemkeystore 0x0000000009800000 0x0000000000200000
secro 0x0000000009a00000 0x0000000000600000
keystore 0x000000000a000000 0x0000000000800000
system 0x000000000a800000 0x0000000080000000
cache 0x000000008a800000 0x000000000e000000
userdata 0x0000000098800000 0x0000000138780000
flashinfo 0x00000001d0f80000 0x0000000001000000
sgpt 0x00000001d1f80000 0x0000000000080000

ScatterFIle I made :

############################################################################################################
#
# General Setting
#
############################################################################################################
- general: MTK_PLATFORM_CFG
info:
- config_version: V1.1.1
platform: MT6580M
project: MTDTtest
storage: EMMC
boot_channel: MSDC_0
block_size: 0x20000
############################################################################################################
#
# Layout Setting
#
############################################################################################################

- partition_index: SYS1
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: SYS2
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: SYS3
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: SYS4
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: SYS5
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: SYS6
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: SYS7
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: SYS8
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: SYS9
partition_name: para
file_name: NONE
is_download: false
type: NORMAL_ROM
linear_start_addr: 0x3d20000
physical_start_addr: 0x3d20000
partition_size: 0x80000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: INVISIBLE
reserve: 0x00

- partition_index: SYS10
partition_name: logo
file_name: logo.bin
is_download: true
type: NORMAL_ROM
linear_start_addr: 0x3da0000
physical_start_addr: 0x3da0000
partition_size: 0x800000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: UPDATE
reserve: 0x00

- partition_index: SYS11
partition_name: expdb
file_name: NONE
is_download: false
type: NORMAL_ROM
linear_start_addr: 0x45a0000
physical_start_addr: 0x45a0000
partition_size: 0xa00000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: INVISIBLE
reserve: 0x00

- partition_index: SYS12
partition_name: frp
file_name: NONE
is_download: false
type: NORMAL_ROM
linear_start_addr: 0x4fa0000
physical_start_addr: 0x4fa0000
partition_size: 0x100000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: INVISIBLE
reserve: 0x00

- partition_index: SYS13
partition_name: nvdata
file_name: NONE
is_download: false
type: EXT4_IMG
linear_start_addr: 0x50a0000
physical_start_addr: 0x50a0000
partition_size: 0x2000000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: INVISIBLE
reserve: 0x00

- partition_index: SYS14
partition_name: metadata
file_name: NONE
is_download: false
type: NORMAL_ROM
linear_start_addr: 0x70a0000
physical_start_addr: 0x70a0000
partition_size: 0x2760000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: INVISIBLE
reserve: 0x00

- partition_index: SYS15
partition_name: oemkeystore
file_name: NONE
is_download: false
type: NORMAL_ROM
linear_start_addr: 0x9800000
physical_start_addr: 0x9800000
partition_size: 0x200000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: INVISIBLE
reserve: 0x00

- partition_index: SYS16
partition_name: secro
file_name: secro.img
is_download: true
type: NORMAL_ROM
linear_start_addr: 0x9a00000
physical_start_addr: 0x9a00000
partition_size: 0x600000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: UPDATE
reserve: 0x00

- partition_index: SYS17
partition_name: keystore
file_name: NONE
is_download: false
type: NORMAL_ROM
linear_start_addr: 0xa000000
physical_start_addr: 0xa000000
partition_size: 0x800000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: INVISIBLE
reserve: 0x00

- partition_index: SYS18
partition_name: system
file_name: system.img
is_download: true
type: EXT4_IMG
linear_start_addr: 0xa800000
physical_start_addr: 0xa800000
partition_size: 0x80000000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: UPDATE
reserve: 0x00