Hovatek Forum DEVELOPMENT Android how to modify a scatter file
Try our Online TWRP Builder..its free!
Can't login? Please, reset your password.


how to modify a scatter file

how to modify a scatter file

Drockstar
Drockstar
Drockstar
Senior Member
504
04-10-2015, 09:12 AM
#1



how do I modify a scatter file so that all items will be tick in sp flash tool ....I heard in the video that I can modify a scatter so that all items will be tick when I load the scatter file in sp flash tool
hovatek
hovatek
hovatek
Administrator
49,570
04-10-2015, 11:57 PM
#2
(04-10-2015, 09:12 AM)Drockstar how do I modify a scatter file so that all items will be tick in sp flash tool ....I heard in the video that I can modify a scatter so that all items will be tick when I load the scatter file in sp flash tool

paste the content of the scatter file here

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
Drockstar
Drockstar
Drockstar
Senior Member
504
05-10-2015, 12:16 PM
#3
(04-10-2015, 11:57 PM)hovatek
(04-10-2015, 09:12 AM)Drockstar how do I modify a scatter file so that all items will be tick in sp flash tool ....I heard in the video that I can modify a scatter so that all items will be tick when I load the scatter file in sp flash tool

paste the content of the scatter file here

############################################################################################################
#
# 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: SYS0
partition_name: preloader
file_name: preloader_d5110_infinix.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: 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: SYS11
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: SYS12
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: SYS13
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: SYS14
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: SYS15
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: SYS16
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: SYS17
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: SYS18
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: SYS19
partition_name: system
file_name: system.img
is_download: true
type: EXT4_IMG
linear_start_addr: 0xa800000
physical_start_addr: 0xa800000
partition_size: 0x9d000000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: UPDATE
reserve: 0x00

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

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

- partition_index: SYS22
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: SYS23
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



Sent from my Z3 using Hovatek mobile
This post was last modified: 06-10-2015, 06:08 AM by Drockstar.
hovatek
hovatek
hovatek
Administrator
49,570
05-10-2015, 07:49 PM
#4
(05-10-2015, 12:16 PM)Drockstar .

Sent from my Z3 using Hovatek mobile

this is an incomplete scatter file but i'll show you what to do anyway. in this format of scatter files, you change true to false for any file you want to exclude and vice versa

e.g

- 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

the above will exlude protect1

- partition_index: SYS4
 partition_name: protect1
 file_name: NONE
 is_download: true
 type: EXT4_IMG
 linear_start_addr: 0x880000
 physical_start_addr: 0x880000
 partition_size: 0xa00000
 region: EMMC_USER
 storage: HW_STORAGE_EMMC

the above will include protect1

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
Drockstar
Drockstar
Drockstar
Senior Member
504
06-10-2015, 05:23 AM
#5



I made a mistake before I didn't copied all contents..boss please how do I identify an in complete scatter file when I open its contents?

Sent from my Z3 using Hovatek mobile
This post was last modified: 06-10-2015, 06:11 AM by Drockstar.
hovatek
hovatek
hovatek
Administrator
49,570
06-10-2015, 02:59 PM
#6
(06-10-2015, 05:23 AM)Drockstar I made a mistake before I didn't copied all contents..boss please how do I identify an in complete scatter file when I open its contents?

Sent from my Z3 using Hovatek mobile

the items. I noticed system, userdata etc were missing

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
Drockstar
Drockstar
Drockstar
Senior Member
504
06-10-2015, 09:03 PM
#7
This was the scatter file I downloaded for infinix hot2 X510 and I also flash it but my phone has not boot pass the infinix logo and the battery percentage has remained 1% over long time na....what should I do?

Sent from my Z3 using Hovatek mobile
hovatek
hovatek
hovatek
Administrator
49,570
07-10-2015, 07:50 AM
#8
(06-10-2015, 09:03 PM)Drockstar This was the scatter file I downloaded for infinix hot2 X510 and I also flash it but my phone has not boot pass the infinix logo and the battery percentage has remained 1% over long time na....what should I do?

Sent from my Z3 using Hovatek mobile

you dont need to modify the scatter file.
was your phone the 1 or 2 GB RAM version of X510?

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
Drockstar
Drockstar
Drockstar
Senior Member
504
07-10-2015, 09:48 AM
#9
2gb ram......The I wanted to unbrick the phone by backing up a working phone of my kind but mtk droid tools has been unable to detect the phone....i have already created a thread for that issue but it has not been solved....

Sent from my Z3 using Hovatek mobile
hovatek
hovatek
hovatek
Administrator
49,570
07-10-2015, 11:26 AM
#10



(07-10-2015, 09:48 AM)Drockstar 2gb ram......The I wanted to unbrick the phone by backing up a working phone of my kind but mtk droid tools has been unable to detect the phone....i have already created a thread for that issue but it has not been solved....

Sent from my Z3 using Hovatek mobile

ok. stick to that thread then
mention its a 2GB RAM X510 and supply a gmail address.
we have the ROM

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