debug

Mt6761 Scatter File New -

Date: October 26, 2023 Subject: Structural Analysis of the MT6761 (Helio A22) NAND/eMMC Scatter File Chipset: MediaTek MT6761 (Target Platform) Tools Referenced: SP Flash Tool, MTK BROM, Python mtk-tools


If the device is bricked or not rooted, but you have a full_dump.bin (extracted via SP Flash Tool Readback), you can generate a scatter file using Python. mt6761 scatter file new

# General Configuration
# Platform: MT6761
# Project: Generic Android
# Storage Type: EMMC (Adjust to UFS if necessary)
# Block Size: 0x0
[partition_name:preloader]
partition_index: = 1
file_name: = preloader.bin
is_download: = true
partition_type: = EMMC
linear_start_addr: = 0x0
physical_start_addr: = 0x0
partition_size: = 0x40000
region: = BOOT1
storage: = HW_STORAGE_EMMC
boundary_check: = true
reserved: = false
operation_type: = BOOTLOADERS
d_type: = 0
reserve: = 0x0
is_upgradable: = true
[partition_name:proinfo]
partition_index: = 2
file_name: = proinfo.img
is_download: = false
partition_type: = EMMC
linear_start_addr: = 0x80000
physical_start_addr: = 0x80000
partition_size: = 0x300000
region: = USER
storage: = HW_STORAGE_EMMC
boundary_check: = true
reserved: = false
operation_type: = PROTECTED
d_type: = 0
reserve: = 0x0
is_upgradable: = true
[partition_name:efuse]
partition_index: = 3
file_name: = efuse.img
is_download: = false
partition_type: = EMMC
linear_start_addr: = 0x380000
physical_start_addr: = 0x380000
partition_size: = 0x20000
region: = USER
storage: = HW_STORAGE_EMMC
boundary_check: = true
reserved: = false
operation_type: = PROTECTED
d_type: = 0
reserve: = 0x0
is_upgradable: = true
[partition_name:lk]
partition_index: = 4
file_name: = lk.img
is_download: = true
partition_type: = EMMC
linear_start_addr: = 0x3A0000
physical_start_addr: = 0x3A0000
partition_size: = 0x100000
region: = USER
storage: = HW_STORAGE_EMMC
boundary_check: = true
reserved: = false
operation_type: = INVISIBLE
d_type: = 0
reserve: = 0x0
is_upgradable: = true
[partition_name:boot]
partition_index: = 5
file_name: = boot.img
is_download: = true
partition_type: = EMMC
linear_start_addr: = 0x4A0000
physical_start_addr: = 0x4A0000
partition_size: = 0x1000000
region: = USER
storage: = HW_STORAGE_EMMC
boundary_check: = true
reserved: = false
operation_type: = INVISIBLE
d_type: = 0
reserve: = 0x0
is_upgradable: = true
[partition_name:dtbo]
partition_index: = 6
file_name: = dtbo.img
is_download: = true
partition_type: = EMMC
linear_start_addr: = 0x14A0000
physical_start_addr: = 0x14A0000
partition_size: = 0x800000
region: = USER
storage: = HW_STORAGE_EMMC
boundary_check: = true
reserved: = false
operation_type: = INVISIBLE
d_type: = 0
reserve: = 0x0
is_upgradable: = true
[partition_name:tee1]
partition_index: = 7
file_name: = tee1.img
is_download: = true
partition_type: = EMMC
linear_start_addr: = 0x1CA0000
physical_start_addr: = 0x1CA0000
partition_size: = 0x500000
region: = USER
storage: = HW_STORAGE_EMMC
boundary_check: = true
reserved: = false
operation_type: = INVISIBLE
d_type: = 0
reserve: = 0x0
is_upgradable: = true
[partition_name:tee2]
partition_index: = 8
file_name: = tee2.img
is_download: = true
partition_type: = EMMC
linear_start_addr: = 0x21A0000
physical_start_addr: = 0x21A0000
partition_size: = 0x500000
region: = USER
storage: = HW_STORAGE_EMMC
boundary_check: = true
reserved: = false
operation_type: = INVISIBLE
d_type: = 0
reserve: = 0x0
is_upgradable: = true
[partition_name:vbmeta]
partition_index: = 9
file_name: = vbmeta.img
is_download: = true
partition_type: = EMMC
linear_start_addr: = 0x26A0000
physical_start_addr: = 0x26A0000
partition_size: = 0x100000
region: = USER
storage: = HW_STORAGE_EMMC
boundary_check: = true
reserved: = false
operation_type: = INVISIBLE
d_type: = 0
reserve: = 0x0
is_upgradable: = true
[partition_name:splash]
partition_index: = 10
file_name: = splash.img
is_download: = true
partition_type: = EMMC
linear_start_addr: = 0x27A0000
physical_start_addr: = 0x27A0000
partition_size: = 0x800000
region: = USER
storage: = HW_STORAGE_EMMC
boundary_check: = true
reserved: = false
operation_type: = INVISIBLE
d_type: = 0
reserve: = 0x0
is_upgradable: = true
[partition_name:odm]
partition_index: = 11
file_name: = odm.img
is_download: = true
partition_type: = EMMC
linear_start_addr: = 0x2FA0000
physical_start_addr: = 0x2FA0000
partition_size: = 0x2000000
region: = USER
storage: = HW_STORAGE_EMMC
boundary_check: = true
reserved: = false
operation_type: = INVISIBLE
d_type: = 0
reserve: = 0x0
is_upgradable: = true
[partition_name:vendor]
partition_index: = 12
file_name: = vendor.img
is_download: = true
partition_type: = EMMC
linear_start_addr: = 0x4FA0000
physical_start_addr: = 0x4FA0000
partition_size: = 0x10000000
region: = USER
storage: = HW_STORAGE_EMMC
boundary_check: = true
reserved: = false
operation_type: = INVISIBLE
d_type: = 0
reserve: = 0x0
is_upgradable: = true
[partition_name:system]
partition_index: = 13
file_name: = system.img
is_download: = true
partition_type: = EMMC
linear_start_addr: = 0x14FA0000
physical_start_addr: = 0x14FA0000
partition_size: = 0x60000000
region: = USER
storage: = HW_STORAGE_EMMC
boundary_check: = true
reserved: = false
operation_type: = INVISIBLE
d_type: = 0
reserve: = 0x0
is_upgradable: = true
[partition_name:cache]
partition_index: = 14
file_name: = cache.img
is_download: = false
partition_type: = EMMC
linear_start_addr: = 0x74FA0000
physical_start_addr: = 0x74FA0000
partition_size: = 0x10000000
region: = USER
storage: = HW_STORAGE_EMMC
boundary_check: = true
reserved: = false
operation_type: = INVISIBLE
d_type: = 0
reserve: = 0x0
is_upgradable: = true
[partition_name:userdata]
partition_index: = 15
file_name: = userdata.img
is_download: = false
partition_type: = EMMC
linear_start_addr: = 0x84FA0000
physical_start_addr: = 0x84FA0000
partition_size: = 0x0
region: = USER
storage: = HW_STORAGE_EMMC
boundary_check: = true
reserved: = false
operation_type: = INVISIBLE
d_type: = 0
reserve: = 0x0
is_upgradable: = true

Assuming you have your mt6761 scatter file new and stock ROM images, follow these steps: Date: October 26, 2023 Subject: Structural Analysis of