Hovatek Forum MOBILE Android Backup H450R Phone (Mediatek chip)
Try our Online TWRP Builder..its free!
Can't login? Please, reset your password.


Backup H450R Phone (Mediatek chip)

Backup H450R Phone (Mediatek chip)

kazilmar
kazilmar
kazilmar
Newbie
3
08-03-2017, 09:12 PM
#1



Phone :              H450R  (https://www.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 :

Code:

cat the proc/emmc
 
Code:

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


Code:

cat /proc/partitions
 
 
Code:

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

Code:

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

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

Code:

cat /cache/recovery/last_log

Code:

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 :

Code:

############################################################################################################
#
#  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
AreV XP
AreV XP
AreV XP
Newbie
3
08-03-2017, 11:07 PM
#2
HuhHello  Sir, i just wanna ask you that i ahve mediatek mt6580, after backed up with miracle box, can i root the phone?
hovatek
hovatek
hovatek
Administrator
49,570
09-03-2017, 09:01 AM
#3
(08-03-2017, 09:12 PM)kazilmar Phone :              H450R  (https://www.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

Dump the firmware in scatter format using Miracle Box @ https://www.hovatek.com/forum/thread-13347.html

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
hovatek
hovatek
hovatek
Administrator
49,570
09-03-2017, 09:02 AM
#4
(08-03-2017, 11:07 PM)AreV XP HuhHello  Sir, i just wanna ask you that i ahve mediatek mt6580, after backed up with miracle box, can i root the phone?

Please, create a new thread, this is someone else's support thread
see https://www.hovatek.com/forum/thread-514.html for how to create a thread

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
kazilmar
kazilmar
kazilmar
Newbie
3
09-03-2017, 08:02 PM
#5



(09-03-2017, 09:02 AM)hovatek
(08-03-2017, 11:07 PM)AreV XP HuhHello  Sir, i just wanna ask you that i ahve mediatek mt6580, after backed up with miracle box, can i root the phone?

Please, create a new thread, this is someone else's support thread
see https://www.hovatek.com/forum/thread-514.html for how to create a thread

Miraclebox seem to not being able to detect my device ... and sp flash tool not leting me flash anyting ....
I tryed all driver i can find ....
i had the most sucess with "Mediatek Preloader USB VCOM V3.0.15.04.0"
WHen i try to flash for exemple the Recovery.img i Get this error : ERROR : STATUS_DEVICE_CTRL_EXEPTION (0xC0050001)

I dont know what to do :S ?

ERROR LOG : 


Code:

6.940 FlashTool[6064][6068][D]: AppCore::EnableROM(): enable ROM(17): 0(..\..\flashtool\Public\AppCore.cpp,371)
03/09/2017 13:49:18.653 FlashTool[6064][6068][D]: MainWindow::CreateDLSetting(): Download scene:(DOWNLOAD_ONLY).(..\..\flashtool\UI\src\MainWindow.cpp,377)
03/09/2017 13:49:18.653 FlashTool[6064][6068][D]: ISetting::set_stop_flag(): dummpy stop_flag(0x0446C848) set.(d:\home\mtk07255\for_lock_source_code\project\wcp2_cleanroom\da\download_agent_main\flashtool\setting\ISetting.h,41)
03/09/2017 13:49:18.653 FlashTool[6064][5812][D]: APCore::Connection::ConnectBROM(): Connecting to BROM...(..\..\flashtool\Conn\Connection.cpp,70)
03/09/2017 13:49:18.653 FlashTool[6064][5812][D]: APCore::ConnMediaUSB::PreConnect(): Scanning USB port...(..\..\flashtool\Conn\ConnMedia.cpp,55)
03/09/2017 13:49:18.653 FlashTool[6064][5812][D]: TiXmlDocument::LoadFile(): LoadFile filename: C:/Users/Utilisateur/Desktop/SP_Flash_Tool_V5.1636_tehnotone.com\usb_setting.xml(..\..\flashtool\XMLParser\tinyxml.cpp,977)
03/09/2017 13:49:18.653 FlashTool[6064][5812][D]: TiXmlFOpen(): open file: C:/Users/Utilisateur/Desktop/SP_Flash_Tool_V5.1636_tehnotone.com\usb_setting.xml(..\..\flashtool\XMLParser\tinyxml.cpp,52)
03/09/2017 13:49:18.653 FlashTool[6064][5812][D]: TiXmlFOpen(): create time: 2017/03/09 10:51:19(..\..\flashtool\XMLParser\tinyxml.cpp,69)
03/09/2017 13:49:18.653 FlashTool[6064][5812][D]: TiXmlFOpen(): modify time: 2016/09/04 12:35:02(..\..\flashtool\XMLParser\tinyxml.cpp,77)
03/09/2017 13:49:18.653 FlashTool[6064][5812][D]: TiXmlFOpen(): access time: 2017/03/09 10:51:19(..\..\flashtool\XMLParser\tinyxml.cpp,85)
03/09/2017 13:49:18.653 FlashTool[6064][5812][D]: APCore::ConnMediaUSB::Search(): Search usb, timeout set as 3600000 ms(..\..\flashtool\Conn\ConnMedia.cpp,21)
03/09/2017 13:51:24.012 FlashTool[6064][6068][D]: OptionDialog::winEvent(): USB Device plug in.(..\..\flashtool\UI\src\OptionDialog.cpp,562)
03/09/2017 13:51:24.112 FlashTool[6064][6068][D]: OptionDialog::winEvent(): USB Device plug in.(..\..\flashtool\UI\src\OptionDialog.cpp,562)
03/09/2017 13:51:24.152 FlashTool[6064][5812][D]: USBSetting::SearchUSBPortPool(): USB port is obtained. path name(\\?\usb#vid_0e8d&pid_0003#6&38a36d0c&0&5#{a5dcbf10-6530-11d2-901f-00c04fb951ed}), port name(MediaTek USB Port (COM22))(..\..\flashtool\Conn\USBSetting.cpp,161)
03/09/2017 13:51:24.152 FlashTool[6064][5812][D]: USBSetting::Search(): Scaning USB port succeeded!(..\..\flashtool\Conn\USBSetting.cpp,139)
03/09/2017 13:51:24.152 FlashTool[6064][5812][D]: APCore::ConnMediaUSB::PreConnect(): USB port detected: \\?\usb#vid_0e8d&pid_0003#6&38a36d0c&0&5#{a5dcbf10-6530-11d2-901f-00c04fb951ed}(..\..\flashtool\Conn\ConnMedia.cpp,68)
03/09/2017 13:51:28.207 FlashTool[6064][5812][D]: APCore::Connection::ConnectBROM(): BROM connected(..\..\flashtool\Conn\Connection.cpp,80)
03/09/2017 13:51:28.207 FlashTool[6064][5812][D]: APCore::Connection::ConnectDA(): Downloading & Connecting to DA...(..\..\flashtool\Conn\Connection.cpp,111)
03/09/2017 13:51:28.207 FlashTool[6064][5812][D]: APCore::Connection::ConnectDA(): connect DA end stage: 2, enable DRAM in 1st DA: 0(..\..\flashtool\Conn\Connection.cpp,115)
03/09/2017 13:53:28.665 FlashTool[6064][5812][D]: APCore::Connection::ConnectDA(): Failed to Connect DA: STATUS_DEVICE_CTRL_EXCEPTION(..\..\flashtool\Conn\Connection.cpp,130)
03/09/2017 13:53:28.792 FlashTool[6064][5812][D]: APCore::Connection::Disconnect(): Disconnect!(..\..\flashtool\Conn\Connection.cpp,140)
03/09/2017 13:53:28.850 FlashTool[6064][5812][D]: BackgroundWorker::run(): BROM Exception! ( ERROR : STATUS_DEVICE_CTRL_EXCEPTION (0xC0050001)
hovatek
hovatek
hovatek
Administrator
49,570
10-03-2017, 09:52 AM
#6
(09-03-2017, 08:02 PM)kazilmar Miraclebox seem to not being able to detect my device ... and sp flash tool not leting me flash anyting ....
I tryed all driver i can find ....
i had the most sucess with "Mediatek Preloader USB VCOM V3.0.15.04.0"
WHen i try to flash for exemple the Recovery.img i Get this error : ERROR : STATUS_DEVICE_CTRL_EXEPTION (0xC0050001)

I dont know what to do :S ?

Ensure to download the version with Loader.exe and install VCOM drivers using https://www.hovatek.com/forum/thread-440.html
Do not hold any button when you connect to PC (in Miracle Box)
This post was last modified: 10-03-2017, 09:53 AM by hovatek.

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
YtWhTl
live chat
whatsapp telegram instagram