[Upgrading, Modifying and Unlocking] iicc:
Hello!

I create this thread to discuss and to have everything located about building custom recovery for the MEIZU MX4, and also for unbricking MX4.

Just the same as they did with Zopo999, lets see if we can make something for this device ;)

I have made a full rom backup and I have found some dispersed utilities around in internet, I'm putting all here in order to be accessible to everyone and to make things easier:

Stock Rom Backup (Flyme 4.5.2A leaked beta, Android 5.0.1)

system.img: https://drive.google.com/file/d/0B1WZs_VfDdzYR205Q2ljMTU5OGs/view?usp=sharing

boot.img: https://drive.google.com/file/d/0B1WZs_VfDdzYTFZKdm5LX1RKMHM/view?usp=sharing

cache.img: https://drive.google.com/file/d/0B1WZs_VfDdzYZGhBUEFRNC14QlE/view?usp=sharing

lk.bin: https://drive.google.com/file/d/0B1WZs_VfDdzYNEsybWx4QUFoc2c/view?usp=sharing

logo.bin: https://drive.google.com/file/d/0B1WZs_VfDdzYNFdjdTJzYmhwYjg/view?usp=sharing

preloader.bin(not sure if it was extracted correctly): https://drive.google.com/file/d/0B1WZs_VfDdzYVUQ2YXlTcjl0c2s/view?usp=sharing

recovery.img: https://drive.google.com/file/d/0B1WZs_VfDdzYRU5iTjk1UHJ6bTA/view?usp=sharing

secro.img: https://drive.google.com/file/d/0B1WZs_VfDdzYRFFTYmYzVm5yQlE/view?usp=sharing

proinfo.txt: https://drive.google.com/file/d/0B1WZs_VfDdzYNFhJaEp5V1pkX1E/view?usp=sharing

protect1.img: https://drive.google.com/file/d/0B1WZs_VfDdzYVFJPWUJCTDVFZTA/view?usp=sharing

protect2.img: https://drive.google.com/file/d/0B1WZs_VfDdzYYTVDSG5GX2steGc/view?usp=sharing

nvram.img: https://drive.google.com/file/d/0B1WZs_VfDdzYVVIxejYyQzl3TDQ/view?usp=sharing

para.img: https://drive.google.com/file/d/0B1WZs_VfDdzYVVV1dy1yRVJpdVE/view?usp=sharing

seccfg.bin: https://drive.google.com/file/d/0B1WZs_VfDdzYY3N4dGE2MHVJZ28/view?usp=sharing

expdb.bin: https://drive.google.com/file/d/0B1WZs_VfDdzYSFpGSzYwdFp1ZzA/view?usp=sharing

custom.bin: https://drive.google.com/file/d/0B1WZs_VfDdzYdFk0d3VsTGlNZm8/view?usp=sharing

Scatters:

MT6595 scatter:

############################################################################################################
#
# General Setting
#
############################################################################################################
- general: MTK_PLATFORM_CFG
info:
- config_version: V1.1.2
platform: MT6595
project: x2eu
storage: EMMC
boot_channel: MSDC_0
block_size: 0x20000
############################################################################################################
#
# Layout Setting
#
############################################################################################################
- partition_index: SYS0
partition_name: preloader
file_name: preloader_x2eu.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: 0xa00000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: INVISIBLE
reserve: 0x00

- partition_index: SYS14
partition_name: preload
file_name: preload.img
is_download: true
type: EXT4_IMG
linear_start_addr: 0x55a0000
physical_start_addr: 0x55a0000
partition_size: 0x20260000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: UPDATE
reserve: 0x00

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

- partition_index: SYS16
partition_name: cache
file_name: cache.img
is_download: true
type: EXT4_IMG
linear_start_addr: 0x85800000
physical_start_addr: 0x85800000
partition_size: 0x8000000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: UPDATE
reserve: 0x00

- partition_index: SYS17
partition_name: userdata
file_name: userdata.img
is_download: true
type: EXT4_IMG
linear_start_addr: 0x8d800000
physical_start_addr: 0x8d800000
partition_size: 0x49c00000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: UPDATE
reserve: 0x00

- partition_index: SYS18
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: SYS19
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

MTK droid tools automatic MX4 scatter:

############################################################################################################
#
# General Setting
#
############################################################################################################
- general: MTK_PLATFORM_CFG
info:
- config_version: V1.1.2
platform: MT6595
project: MTDTtest
storage: NAND
boot_channel: NONE
block_size: 0x290000
############################################################################################################
#
# Layout Setting
#
############################################################################################################
- partition_index: SYS0
partition_name: PROINFO
file_name: NONE
is_download: false
type: NORMAL_ROM
linear_start_addr: 0x0
physical_start_addr: 0x0
partition_size: 0x400
region: NONE
storage: HW_STORAGE_NAND
boundary_check: true
is_reserved: false
operation_type: INVISIBLE
reserve: 0x00

- partition_index: SYS1
partition_name: NVRAM
file_name: NONE
is_download: false
type: NORMAL_ROM
linear_start_addr: 0x400
physical_start_addr: 0x0
partition_size: 0x1C00
region: NONE
storage: HW_STORAGE_NAND
boundary_check: true
is_reserved: false
operation_type: BINREGION
reserve: 0x00

- partition_index: SYS2
partition_name: PROTECT1
file_name: NONE
is_download: false
type: NORMAL_ROM
linear_start_addr: 0x2000
physical_start_addr: 0x0
partition_size: 0x4400
region: NONE
storage: HW_STORAGE_NAND
boundary_check: true
is_reserved: false
operation_type: INVISIBLE
reserve: 0x00

- partition_index: SYS3
partition_name: PROTECT2
file_name: NONE
is_download: false
type: NORMAL_ROM
linear_start_addr: 0x6400
physical_start_addr: 0x0
partition_size: 0x9400
region: NONE
storage: HW_STORAGE_NAND
boundary_check: true
is_reserved: false
operation_type: INVISIBLE
reserve: 0x00

- partition_index: SYS4
partition_name: SECCFG
file_name: NONE
is_download: false
type: NORMAL_ROM
linear_start_addr: 0xF800
physical_start_addr: 0x0
partition_size: 0xE400
region: NONE
storage: HW_STORAGE_NAND
boundary_check: true
is_reserved: false
operation_type: INVISIBLE
reserve: 0x00

- partition_index: SYS5
partition_name: UBOOT
file_name: lk.bin
is_download: true
type: NORMAL_ROM
linear_start_addr: 0x1DC00
physical_start_addr: 0x0
partition_size: 0xE600
region: NONE
storage: HW_STORAGE_NAND
boundary_check: true
is_reserved: false
operation_type: UPDATE
reserve: 0x00

- partition_index: SYS6
partition_name: BOOTIMG
file_name: boot.img
is_download: true
type: NORMAL_ROM
linear_start_addr: 0x2C200
physical_start_addr: 0x0
partition_size: 0xE900
region: NONE
storage: HW_STORAGE_NAND
boundary_check: true
is_reserved: false
operation_type: UPDATE
reserve: 0x00

- partition_index: SYS7
partition_name: RECOVERY
file_name: recovery.img
is_download: true
type: NORMAL_ROM
linear_start_addr: 0x3AB00
physical_start_addr: 0x0
partition_size: 0x16900
region: NONE
storage: HW_STORAGE_NAND
boundary_check: true
is_reserved: false
operation_type: UPDATE
reserve: 0x00

- partition_index: SYS8
partition_name: SECRO
file_name: NONE
is_download: false
type: NORMAL_ROM
linear_start_addr: 0x51400
physical_start_addr: 0x0
partition_size: 0x1E900
region: NONE
storage: HW_STORAGE_NAND
boundary_check: true
is_reserved: false
operation_type: INVISIBLE
reserve: 0x00

- partition_index: SYS9
partition_name: PARA
file_name: NONE
is_download: false
type: NORMAL_ROM
linear_start_addr: 0x6FD00
physical_start_addr: 0x0
partition_size: 0x21900
region: NONE
storage: HW_STORAGE_NAND
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: 0x91600
physical_start_addr: 0x0
partition_size: 0x21D00
region: NONE
storage: HW_STORAGE_NAND
boundary_check: true
is_reserved: false
operation_type: UPDATE
reserve: 0x00

- partition_index: SYS11
partition_name: CUSTOM
file_name: NONE
is_download: false
type: NORMAL_ROM
linear_start_addr: 0xB3300
physical_start_addr: 0x0
partition_size: 0x25D00
region: NONE
storage: HW_STORAGE_NAND
boundary_check: true
is_reserved: false
operation_type: INVISIBLE
reserve: 0x00

- partition_index: SYS12
partition_name: EXPDB
file_name: NONE
is_download: false
type: NORMAL_ROM
linear_start_addr: 0xD9000
physical_start_addr: 0x0
partition_size: 0x125D00
region: NONE
storage: HW_STORAGE_NAND
boundary_check: true
is_reserved: false
operation_type: INVISIBLE
reserve: 0x00

- partition_index: SYS13
partition_name: ANDROID
file_name: system.img
is_download: true
type: NORMAL_ROM
linear_start_addr: 0x1FED00
physical_start_addr: 0x0
partition_size: 0x12C000
region: NONE
storage: HW_STORAGE_NAND
boundary_check: true
is_reserved: false
operation_type: UPDATE
reserve: 0x00

- partition_index: SYS14
partition_name: CACHE
file_name: cache.img
is_download: true
type: NORMAL_ROM
linear_start_addr: 0x32AD00
physical_start_addr: 0x0
partition_size: 0x3BC000
region: NONE
storage: HW_STORAGE_NAND
boundary_check: true
is_reserved: false
operation_type: UPDATE
reserve: 0x00

- partition_index: SYS15
partition_name: USRDATA
file_name: data.img
is_download: true
type: NORMAL_ROM
linear_start_addr: 0x6E6D00
physical_start_addr: 0x0
partition_size: 0x3F4000
region: NONE
storage: HW_STORAGE_NAND
boundary_check: true
is_reserved: false
operation_type: UPDATE
reserve: 0x00

- partition_index: SYS16
partition_name: FLASHINFO
file_name: NONE
is_download: false
type: NORMAL_ROM
linear_start_addr: 0xADAD00
physical_start_addr: 0x0
partition_size: 0x3A35C00
region: NONE
storage: HW_STORAGE_NAND
boundary_check: true
is_reserved: false
operation_type: INVISIBLE
reserve: 0x00

- partition_index: SYS17
partition_name: BMTPOOL
file_name: NONE
is_download: false
type: NORMAL_ROM
linear_start_addr: 0xFFFF0050
physical_start_addr: 0x0
partition_size: 0xCD00000
region: NONE
storage: HW_STORAGE_NAND
boundary_check: false
is_reserved: true
operation_type: RESERVED
reserve: 0x00

Other scatter:

preloader 0x0
pgpt 0x0
proinfo 0x80000
nvram 0x380000
protect1 0x880000
protect2 0x1280000
seccfg 0x1c80000
lk 0x1cc0000
boot 0x1d20000
recovery 0x2d20000
secro 0x3d20000
para 0x4320000
logo 0x43a0000
custom 0x4ba0000
expdb 0x24ba0000
system 0x25800000
cache 0x77800000
userdata 0x7e800000
flashinfo 0xFFFF0084
sgpt 0xFFFF0004

Firmware info:

emmc_p1: 00000400 00001800 "proinfo"
emmc_p2: 00001c00 00002800 "nvram"
emmc_p3: 00004400 00005000 "protect1"
emmc_p4: 00009400 00005000 "protect2"
emmc_p5: 0000e400 00000200 "seccfg"
emmc_p6: 0000e600 00000300 "lk"
emmc_p7: 0000e900 00008000 "boot"
emmc_p8: 00016900 00008000 "recovery"
emmc_p9: 0001e900 00003000 "secro"
emmc_p10: 00021900 00000400 "para"
emmc_p11: 00021d00 00004000 "logo"
emmc_p12: 00025d00 00100000 "custom"
emmc_p13: 00125d00 00006300 "expdb"
emmc_p14: 0012c000 00290000 "system"
emmc_p15: 003bc000 00038000 "cache"
emmc_p16: 003f4000 0195dc00 "userdata"
emmc_p17: 01d51c00 00008000 "flashinfo"

Automatic Scatter from Firmware.info by MtKtools:

__NODL_PROINFO 0x0{}__NODL_NVRAM 0x400{}__NODL_PROTECT1 0x2000{}__NODL_PROTECT2 0x6400{}__NODL_SECCFG 0xf800{}UBOOT 0x1dc00{}BOOTIMG 0x2c200{}RECOVERY 0x3ab00{}__NODL_SECRO 0x51400{}__NODL_PARA 0x6fd00{}LOGO 0x91600{}__NODL_CUSTOM 0xb3300{}__NODL_EXPDB 0xd9000{}ANDROID 0x1fed00{}CACHE 0x32ad00{}USRDATA 0x6e6d00{}__NODL_FLASHINFO 0xadad00{}__NODL_BMTPOOL 0xffff0050{}

Temporal CWM for MX4 made by Cofface

http://bbs.flyme.cn/thread-258466-1-1.html

http://pan.baidu.com/share/link?shareid=708016960&uk=2654317083

Uploading...

Decompiled Stock Meizu MX4 recovery

https://drive.google.com/file/d/0B1WZs_VfDdzYWFh6UGV3b0dtYWc/view?usp=sharing

MX4 Ubuntu Edition (same hardware) kernel source code

https://github.com/meizuosc

Usefull links

Developing custom zopo999 recovery: http://xdaforums.com/general/rooting-roms/how-to-mod-recovery-modded-zopo-zp999-3x-t2946325:good:

Custom recovery zopo999: http://xdaforums.com/android/software/recovery-mod-mtk6595-soc-t2987307

​