FORUMS
Remove All Ads from XDA
Honor View 10
Win an Honor 7X!

[Discussion] Developing MEIZU MX4 custom recovery & backup [MT6595]

370 posts
Thanks Meter: 141
 
By iicc, Senior Member on 28th May 2015, 06:08 PM
Post Reply Email Thread
6th August 2015, 05:28 PM |#31  
iicc's Avatar
OP Senior Member
Thanks Meter: 141
 
More
Quote:
Originally Posted by kkamil

@iicc
I have installed Ubuntu Touch again (rc5 - from 05.08.2015).
I started making dumps.... I'm on the first one - how long would it take ... ?

---------- Post added at 11:59 PM ---------- Previous post was at 11:38 PM ----------

I'm not sure which block should be dumped to which file ...

Code:
lrwxrwxrwx 1 root root  7 Aug  5 21:13 1:0 -> ../ram0
lrwxrwxrwx 1 root root 10 Aug  5 21:13 179:0 -> ../mmcblk0
lrwxrwxrwx 1 root root 12 Aug  5 21:13 179:1 -> ../mmcblk0p1
lrwxrwxrwx 1 root root 13 Aug  5 21:13 179:10 -> ../mmcblk0p10
lrwxrwxrwx 1 root root 13 Aug  5 21:13 179:11 -> ../mmcblk0p11
lrwxrwxrwx 1 root root 13 Aug  5 21:13 179:12 -> ../mmcblk0p12
lrwxrwxrwx 1 root root 13 Aug  5 21:13 179:13 -> ../mmcblk0p13
lrwxrwxrwx 1 root root 13 Aug  5 21:13 179:14 -> ../mmcblk0p14
lrwxrwxrwx 1 root root 13 Aug  5 21:13 179:15 -> ../mmcblk0p15
lrwxrwxrwx 1 root root 13 Aug  5 21:13 179:16 -> ../mmcblk0p16
lrwxrwxrwx 1 root root 13 Aug  5 21:13 179:17 -> ../mmcblk0p17
lrwxrwxrwx 1 root root 12 Aug  5 21:13 179:2 -> ../mmcblk0p2
lrwxrwxrwx 1 root root 12 Aug  5 21:13 179:3 -> ../mmcblk0p3
lrwxrwxrwx 1 root root 15 Aug  5 21:13 179:32 -> ../mmcblk0boot0
lrwxrwxrwx 1 root root 12 Aug  5 21:13 179:4 -> ../mmcblk0p4
lrwxrwxrwx 1 root root 12 Aug  5 21:13 179:5 -> ../mmcblk0p5
lrwxrwxrwx 1 root root 12 Aug  5 21:13 179:6 -> ../mmcblk0p6
lrwxrwxrwx 1 root root 15 Aug  5 21:13 179:64 -> ../mmcblk0boot1
lrwxrwxrwx 1 root root 12 Aug  5 21:13 179:7 -> ../mmcblk0p7
lrwxrwxrwx 1 root root 12 Aug  5 21:13 179:8 -> ../mmcblk0p8
lrwxrwxrwx 1 root root 12 Aug  5 21:13 179:9 -> ../mmcblk0p9
lrwxrwxrwx 1 root root 14 Aug  5 21:13 179:96 -> ../mmcblk0rpmb
lrwxrwxrwx 1 root root  8 Aug  5 21:13 253:0 -> ../zram0
lrwxrwxrwx 1 root root  8 Aug  5 21:13 7:0 -> ../loop0
lrwxrwxrwx 1 root root  8 Aug  5 21:13 7:1 -> ../loop1
lrwxrwxrwx 1 root root  8 Aug  5 21:13 7:2 -> ../loop2
lrwxrwxrwx 1 root root  8 Aug  5 21:13 7:3 -> ../loop3
lrwxrwxrwx 1 root root  8 Aug  5 21:13 7:4 -> ../loop4
lrwxrwxrwx 1 root root  8 Aug  5 21:13 7:5 -> ../loop5
lrwxrwxrwx 1 root root  8 Aug  5 21:13 7:6 -> ../loop6
lrwxrwxrwx 1 root root  8 Aug  5 21:13 7:7 -> ../loop7


Yes, some needs a lot of time (1, 1/2 h) and others are instantaneous.

http://forum.xda-developers.com/show...94&postcount=4
lrwxrwxrwx root root 2014-12-16 18:25 boot -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 2014-12-16 18:25 cache -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 2014-12-16 18:25 expdb -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 2014-12-16 18:25 flashinfo -> /dev/block/mmcblk0p16
lrwxrwxrwx root root 2014-12-16 18:25 lk -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 2014-12-16 18:25 logo -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 2014-12-16 18:25 nvram -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 2014-12-16 18:25 para -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 2014-12-16 18:25 proinfo -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 2014-12-16 18:25 protect1 -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 2014-12-16 18:25 protect2 -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 2014-12-16 18:25 recovery -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 2014-12-16 18:25 seccfg -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 2014-12-16 18:25 secro -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 2014-12-16 18:25 system -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 2014-12-16 18:25 userdata -> /dev/block/mmcblk0p15
 
 
7th August 2015, 12:22 AM |#32  
Junior Member
Thanks Meter: 4
 
More
@iicc

Dumps from UBUNTU TOUCH 15.04 (rc 15.04 - from 05.08.2015).
After flashing password: 1234
Files under link below, there's no flashinfo.img (it's bigger than partition i'm dumping it):
https://drive.google.com/folderview?...mM&usp=sharing

Code:
dd if=/dev/mmcblk0boot0 of=/home/phablet/SPFT/preloader.bin bs=512 count=512 skip=4
dd if=/dev/mmcblk0p7 of=/home/phablet/SPFT/boot.img
dd if=/dev/mmcblk0p14 of=/home/phablet/SPFT/cache.img
dd if=/dev/mmcblk0p12 of=/home/phablet/SPFT/expdb.img
/*Can't export*/ dd if=/dev/mmcblk0p16 of=/home/phablet/SPFT/flashinfo.img
dd if=/dev/mmcblk0p6 of=/home/phablet/SPFT/lk.img; 
dd if=/dev/mmcblk0p11 of=/home/phablet/SPFT/logo.img; 
dd if=/dev/mmcblk0p2 of=/home/phablet/SPFT/nvram.img; 
dd if=/dev/mmcblk0p10 of=/home/phablet/SPFT/para.img; 
dd if=/dev/mmcblk0p1 of=/home/phablet/SPFT/proinfo.img; 
dd if=/dev/mmcblk0p3 of=/home/phablet/SPFT/protect1.img; 
dd if=/dev/mmcblk0p4 of=/home/phablet/SPFT/protect2.img; 
dd if=/dev/mmcblk0p8 of=/home/phablet/SPFT/recovery.img; 
dd if=/dev/mmcblk0p5 of=/home/phablet/SPFT/seccfg.img; 
dd if=/dev/mmcblk0p9 of=/home/phablet/SPFT/secro.img; 
dd if=/dev/mmcblk0p13 of=/home/phablet/SPFT/system.img; 
dd if=/dev/mmcblk0p15 of=/home/phablet/SPFT/userdata.img;
The Following User Says Thank You to kkamil For This Useful Post: [ View ] Gift kkamil Ad-Free
7th August 2015, 03:16 AM |#33  
iicc's Avatar
OP Senior Member
Thanks Meter: 141
 
More
Quote:
Originally Posted by kkamil

@iicc

Dumps from UBUNTU TOUCH 15.04 (rc 15.04 - from 05.08.2015).
After flashing password: 1234
Files under link below, there's no flashinfo.img (it's bigger than partition i'm dumping it):
https://drive.google.com/folderview?...mM&usp=sharing

Code:
dd if=/dev/mmcblk0boot0 of=/home/phablet/SPFT/preloader.bin bs=512 count=512 skip=4
dd if=/dev/mmcblk0p7 of=/home/phablet/SPFT/boot.img
dd if=/dev/mmcblk0p14 of=/home/phablet/SPFT/cache.img
dd if=/dev/mmcblk0p12 of=/home/phablet/SPFT/expdb.img
/*Can't export*/ dd if=/dev/mmcblk0p16 of=/home/phablet/SPFT/flashinfo.img
dd if=/dev/mmcblk0p6 of=/home/phablet/SPFT/lk.img; 
dd if=/dev/mmcblk0p11 of=/home/phablet/SPFT/logo.img; 
dd if=/dev/mmcblk0p2 of=/home/phablet/SPFT/nvram.img; 
dd if=/dev/mmcblk0p10 of=/home/phablet/SPFT/para.img; 
dd if=/dev/mmcblk0p1 of=/home/phablet/SPFT/proinfo.img; 
dd if=/dev/mmcblk0p3 of=/home/phablet/SPFT/protect1.img; 
dd if=/dev/mmcblk0p4 of=/home/phablet/SPFT/protect2.img; 
dd if=/dev/mmcblk0p8 of=/home/phablet/SPFT/recovery.img; 
dd if=/dev/mmcblk0p5 of=/home/phablet/SPFT/seccfg.img; 
dd if=/dev/mmcblk0p9 of=/home/phablet/SPFT/secro.img; 
dd if=/dev/mmcblk0p13 of=/home/phablet/SPFT/system.img; 
dd if=/dev/mmcblk0p15 of=/home/phablet/SPFT/userdata.img;

Nice!

Could you make an scatter with the MTK Droid Tools?
10th August 2015, 11:31 PM |#34  
Junior Member
Thanks Meter: 0
 
More
Recovery.img
Quote:
Originally Posted by 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/0B1W...ew?usp=sharing

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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




Scatters:




MT6595 scatter:
Code:
############################################################################################################
#
#  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:
Code:
############################################################################################################
#
#  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:
Code:
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:
Code:
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:
HTML Code:
__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?shar...&uk=2654317083
Uploading...



Decompiled Stock Meizu MX4 recovery
https://drive.google.com/file/d/0B1W...ew?usp=sharing




MX4 Ubuntu Edition (same hardware) kernel source code

https://github.com/meizuosc


Usefull links

Developing custom zopo999 recovery: http://forum.xda-developers.com/gene...t2946325:good:
Custom recovery zopo999: http://forum.xda-developers.com/andr...5-soc-t2987307



Hey how can i extract the recovery. img from the update.zip file? Vers. Flyme 4.1.1a
i have a mx4 ubuntu edition .. i can not copy the update.zip to my root only to download or Dokuments.. dev mode is on!!!

and in my recovery mode i only see the ubuntu logo with no options!!

can anyone help? sorry form my bad english
11th August 2015, 12:11 AM |#35  
iicc's Avatar
OP Senior Member
Thanks Meter: 141
 
More
Quote:
Originally Posted by dazerolui

Hey how can i extract the recovery. img from the update.zip file? Vers. Flyme 4.1.1a
i have a mx4 ubuntu edition .. i can not copy the update.zip to my root only to download or Dokuments.. dev mode is on!!!

and in my recovery mode i only see the ubuntu logo with no options!!

can anyone help? sorry form my bad english

I think you cant directly from the update.zip, somebody have to have the rom installed to give you the img

I dont know, I dont own an ubuntu mx4
12th August 2015, 11:31 AM |#36  
artlov's Avatar
Senior Member
Thanks Meter: 47
 
More
Quote:
Originally Posted by kkamil

there's no flashinfo.img (it's bigger than partition i'm dumping it):

Partition /dev/mmcblk0p16 is mounted to many folders, including /home, so dumping to it isn't possible.
You can try to dump it over network to the another location, like this:
Code:
sudo dd if=/dev/mmcblk0p16 | ssh user@another.host.com dd of=/home/user/flashinfo.img
12th August 2015, 04:17 PM |#37  
Junior Member
Thanks Meter: 4
 
More
Quote:
Originally Posted by dazerolui

Hey how can i extract the recovery. img from the update.zip file? Vers. Flyme 4.1.1a
i have a mx4 ubuntu edition .. i can not copy the update.zip to my root only to download or Dokuments.. dev mode is on!!!

and in my recovery mode i only see the ubuntu logo with no options!!

can anyone help? sorry form my bad english

Hi,
you have to flash recovery by fastboot if You wish to upload recovery from FLYME use @iicc files:
recovery.img: https://drive.google.com/file/d/0B1W...ew?usp=sharing
If you wish to upload UBUNTU recovery use:
https://drive.google.com/folderview?...mM&usp=sharing

To enter fastboot mode you have to turn off the phone and press POWER+VOL_DOWN
command to run:
fastboot flash recovery recovery.img

Do you want to reinstall ubuntu or try FlyMe OS ?
12th August 2015, 08:57 PM |#38  
artlov's Avatar
Senior Member
Thanks Meter: 47
 
More
Deleted
12th August 2015, 09:03 PM |#39  
Junior Member
Thanks Meter: 4
 
More
Quote:
Originally Posted by artlov

Can you please fix link to the recovery image? This doesn't work.
Thank you.

https://drive.google.com/open?id=0B6...TRsdXhGZDVuNmM

After you upload ubuntu recovery.img from fastboot, You have to boot to recovery, and run:
ubuntu-device-flash touch --device arale --channel ubuntu-touch/rc/meizu.en

10 minutes and You have up and running ubuntu phone
It's rc channel - you have updates almoust every week.
12th August 2015, 09:16 PM |#40  
artlov's Avatar
Senior Member
Thanks Meter: 47
 
More
So, it means that I have to have Ubuntu PC?
I currently have only Slackware and Windows10
12th August 2015, 10:07 PM |#41  
Junior Member
Thanks Meter: 4
 
More
Quote:
Originally Posted by artlov

So, it means that I have to have Ubuntu PC?
I currently have only Slackware and Windows10

Yes, I have ubuntu PC. I have Windows XP in VirtualBox ... probably that's why I can't make scatter file for @iicc - there are some problems with USB porting.
------------edit
Or maybe USB porting to VB is ok, but I can only connect to adb from Ubuntu...
Post Reply Subscribe to Thread

Tags
bootloader, custom rom, cwm, meizu, recovery

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread