Hovatek Forum MOBILE Android [Please help] Modifying/editing a Scatter file for GIONEE m5mini but encountered some problems.
Can't login? Please, reset your password.
Hovatek is recruiting! Apply Now


[Please help] Modifying/editing a Scatter file for GIONEE m5mini but encountered some problems.

[Please help] Modifying/editing a Scatter file for GIONEE m5mini but encountered some problems.

Pages (4): 1 2 3 4 Next
lakunle1love
lakunle1love
lakunle1love
Respected Member
108
22-04-2016, 02:20 AM
#1



Good Morning guys, please when i was modifying the scatter file i encountered 2 problems :

1 In the Block Map, there's BMTPOOL but in the Scatter file that i'm modifying, it's not there. So how do i do that please?

2 In the Block Map, under PROINFO scatter column, it displayed only zeros,e.g. 000000000000000000. How do i modify that please?


But i tried to use my own idea, i ignored the BMTPOOL that is not in the Scatter file that i'm modifying but in my BLOCK MAP and i also modified the PROINFO that was showing only zeros (00000000000000000) , as 0x and i deleted others that are in the scatter file but not in the Block Map and i saved it.



And i tried to load it in SP FLASH TOOL but it's showing " error : initializing scatter file failed, please check the name of the scatter file which you load is legal"

I followed this thread ? https://www.hovatek.com/forum/thread-12719.html in modifying the scatter file.

I've also attached an image for the Sp flash tool error,
Attached also is a screenshot of the BLOCK MAP information from MTK DROID TOOLS ,
Attached also is the modified scatter file using the information from the BLOCK MAP in MTK DROID TOOLS.



Please, your kind assistance will be highly appreciated, thanks in advance.

Sent from my M5 mini using Hovatek mobile
This post was last modified: 22-04-2016, 11:43 AM by lakunle1love.
Attached Files
.jpg
IMG_20160422_014621.jpg
Size: 177.94 KB / Downloads: 13
.png
Screenshot (1).png
Size: 83.74 KB / Downloads: 15
lakunle1love
lakunle1love
lakunle1love
Respected Member
108
22-04-2016, 11:58 AM
#2
Mistake*
This post was last modified: 22-04-2016, 05:40 PM by lakunle1love.
hovatek
hovatek
hovatek
Administrator
49,570
22-04-2016, 02:52 PM
#3
(22-04-2016, 02:20 AM)lakunle1love Good Morning guys, please when i was modifying the scatter file i encountered 2 problems :

1 In the Block Map, there's BMTPOOL but in the Scatter file that i'm modifying, it's not there. So how do i do that please?

2 In the Block Map, under PROINFO scatter column, it displayed only zeros,e.g. 000000000000000000. How do i modify that please?


But i tried to use my own idea, i ignored the BMTPOOL that is not in the Scatter file that i'm modifying but in my BLOCK MAP and i also modified the PROINFO that was showing only zeros (00000000000000000) , as 0x and i deleted others that are in the scatter file but not in the Block Map and i saved it.



And i tried to load it in SP FLASH TOOL but it's showing " error : initializing scatter file failed, please check the name of the scatter file which you load is legal"

I followed this thread ? https://www.hovatek.com/forum/thread-12719.html in modifying the scatter file.

I've also attached an image for the Sp flash tool error,
Attached also is a screenshot of the BLOCK MAP information from MTK DROID TOOLS ,
Attached also is the modified scatter file using the information from the BLOCK MAP in MTK DROID TOOLS.



Please, your kind assistance will be highly appreciated, thanks in advance.

Sent from my M5 mini using Hovatek mobile

1. Ignore BMTPOOl
2. It's supposed to be 0x0

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
lakunle1love
lakunle1love
lakunle1love
Respected Member
108
22-04-2016, 03:20 PM
#4
Done that but i'm getting this error [WHITE RIGHT POINTING BACKHAND INDEX] "address or length bytes not align" while trying to backup a single partition which is boot.img.

What should i do please?

Sent from my M5 mini using Hovatek mobile
hovatek
hovatek
hovatek
Administrator
49,570
22-04-2016, 05:22 PM
#5



(22-04-2016, 03:20 PM)lakunle1love Done that but i'm getting this error [WHITE RIGHT POINTING BACKHAND INDEX] "address or length bytes not align" while trying to backup a single partition which is boot.img.

What should i do please?

Sent from my M5 mini using Hovatek mobile

paste the content of the scatter file here and a screenshot of the Blocks Map

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
lakunle1love
lakunle1love
lakunle1love
Respected Member
108
22-04-2016, 05:32 PM
#6
(22-04-2016, 05:22 PM)hovatek
(22-04-2016, 03:20 PM)lakunle1love Done that but i'm getting this error [WHITE RIGHT POINTING BACKHAND INDEX] "address or length bytes not align" while trying to backup a single partition which is boot.img.

What should i do please?

Sent from my M5 mini using Hovatek mobile

paste the content of the scatter file here and a screenshot of the Blocks Map

############################################################################################################
#
# General Setting
#
############################################################################################################
- general: MTK_PLATFORM_CFG
info:
- config_version: V1.1.2
platform: MT6580
project: d5110_infinix
storage: EMMC
boot_channel: MSDC_0
block_size: 0x20000
############################################################################################################
#
# Layout Setting
#
############################################################################################################




- partition_index: SYS2
partition_name: proinfo
file_name: NONE
is_download: false
type: NORMAL_ROM
linear_start_addr: 0x0
physical_start_addr: 0x0
partition_size: 0x400
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: 0x400
physical_start_addr: 0x400
partition_size: 0x1C00
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: 0x2000
physical_start_addr: 0x2000
partition_size: 0x4400
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: 0x6400
physical_start_addr: 0x6400
partition_size: 0x9400
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: 0xF800
physical_start_addr: 0xF800
partition_size: 0xE400
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: 0x1DC00
physical_start_addr: 0x1DC00
partition_size: 0xE600
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: 0x2C200
physical_start_addr: 0x2C200
partition_size: 0xE900
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: 0x3AB00
physical_start_addr: 0x3AB00
partition_size: 0x16900
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: UPDATE
reserve: 0x00

- partition_index: SYS10
partition_name: para
file_name: NONE
is_download: false
type: NORMAL_ROM
linear_start_addr: 0x51400
physical_start_addr: 0x51400
partition_size: 0x1E900
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: INVISIBLE
reserve: 0x00

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

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











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

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

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

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

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

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

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

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

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

- partition_index: SYS27
partition_name: flashinfo
file_name: NONE
is_download: false
type: NORMAL_ROM
linear_start_addr: 0xC6EE00
physical_start_addr: 0xC6EE00
partition_size: 0x1D16C00
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: false
is_reserved: true
operation_type: RESERVED
reserve: 0x00



Sent from my M5 mini using Hovatek mobile
This post was last modified: 22-04-2016, 05:35 PM by lakunle1love.
Attached Files
.png
Screenshot (1).png
Size: 83.74 KB / Downloads: 9
lakunle1love
lakunle1love
lakunle1love
Respected Member
108
22-04-2016, 05:48 PM
#7
(22-04-2016, 05:32 PM)lakunle1love
(22-04-2016, 05:22 PM)hovatek
(22-04-2016, 03:20 PM)lakunle1love Done that but i'm getting this error [WHITE RIGHT POINTING BACKHAND INDEX] "address or length bytes not align" while trying to backup a single partition which is boot.img.

What should i do please?

Sent from my M5 mini using Hovatek mobile

paste the content of the scatter file here and a screenshot of the Blocks Map

############################################################################################################
#
# General Setting
#
############################################################################################################
- general: MTK_PLATFORM_CFG
info:
- config_version: V1.1.2
platform: MT6580
project: d5110_infinix
storage: EMMC
boot_channel: MSDC_0
block_size: 0x20000
############################################################################################################
#
# Layout Setting
#
############################################################################################################




- partition_index: SYS2
partition_name: proinfo
file_name: NONE
is_download: false
type: NORMAL_ROM
linear_start_addr: 0x0
physical_start_addr: 0x0
partition_size: 0x400
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: 0x400
physical_start_addr: 0x400
partition_size: 0x1C00
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: 0x2000
physical_start_addr: 0x2000
partition_size: 0x4400
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: 0x6400
physical_start_addr: 0x6400
partition_size: 0x9400
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: 0xF800
physical_start_addr: 0xF800
partition_size: 0xE400
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: 0x1DC00
physical_start_addr: 0x1DC00
partition_size: 0xE600
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: 0x2C200
physical_start_addr: 0x2C200
partition_size: 0xE900
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: 0x3AB00
physical_start_addr: 0x3AB00
partition_size: 0x16900
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: UPDATE
reserve: 0x00

- partition_index: SYS10
partition_name: para
file_name: NONE
is_download: false
type: NORMAL_ROM
linear_start_addr: 0x51400
physical_start_addr: 0x51400
partition_size: 0x1E900
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: INVISIBLE
reserve: 0x00

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

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











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

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

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

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

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

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

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

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

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

- partition_index: SYS27
partition_name: flashinfo
file_name: NONE
is_download: false
type: NORMAL_ROM
linear_start_addr: 0xC6EE00
physical_start_addr: 0xC6EE00
partition_size: 0x1D16C00
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: false
is_reserved: true
operation_type: RESERVED
reserve: 0x00



Sent from my M5 mini using Hovatek mobile

Done Sir

Sent from my M5 mini using Hovatek mobile
hovatek
hovatek
hovatek
Administrator
49,570
22-04-2016, 07:18 PM
#8
Ok

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
lakunle1love
lakunle1love
lakunle1love
Respected Member
108
22-04-2016, 07:28 PM
#9
Please help take a look at it and check if there's anything wrong.

Thanks in advance.

Sent from my M5 mini using Hovatek mobile
hovatek
hovatek
hovatek
Administrator
49,570
23-04-2016, 09:43 AM
#10



(22-04-2016, 07:28 PM)lakunle1love Please help take a look at it and check if there's anything wrong.

Thanks in advance.

Sent from my M5 mini using Hovatek mobile

still expecting the Blocks Map screenshot

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