Skip to content

Commit

Permalink
Add additional files
Browse files Browse the repository at this point in the history
  • Loading branch information
thiwaK committed Jul 4, 2023
1 parent 29becfc commit 49c22c0
Show file tree
Hide file tree
Showing 4 changed files with 375 additions and 1 deletion.
358 changes: 358 additions & 0 deletions MT6582_Android_scatter.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,358 @@
#########################################__WwR_MTK_2.50__###################################################
#
# General Setting
#
#########################################__WwR_MTK_2.50__###################################################
- general: MTK_PLATFORM_CFG
info:
- config_version: V1.1.1
platform: MT6582
project: bird82_cwet_a_kk
storage: EMMC
boot_channel: MSDC_0
block_size: 0x20000
############################################################################################################
#
# Layout Setting
#
############################################################################################################
- partition_index: SYS0
partition_name: PRELOADER
file_name: preloader_bird82_cwet_a_kk.bin
is_download: true
type: SV5_BL_BIN
linear_start_addr: 0x0
physical_start_addr: 0x0
partition_size: 0x1400000
region: EMMC_BOOT_1
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: BOOTLOADERS
is_upgradable: true
empty_boot_needed: false
reserve: 0x00

- partition_index: SYS1
partition_name: MBR
file_name: MBR
is_download: true
type: NORMAL_ROM
linear_start_addr: 0x1400000
physical_start_addr: 0x1400000
partition_size: 0x80000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: UPDATE
is_upgradable: true
empty_boot_needed: false
reserve: 0x00

- partition_index: SYS2
partition_name: EBR1
file_name: EBR1
is_download: true
type: NORMAL_ROM
linear_start_addr: 0x1480000
physical_start_addr: 0x1480000
partition_size: 0x80000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: UPDATE
is_upgradable: true
empty_boot_needed: false
reserve: 0x00

- partition_index: SYS3
partition_name: PRO_INFO
file_name: NONE
is_download: false
type: NORMAL_ROM
linear_start_addr: 0x1500000
physical_start_addr: 0x1500000
partition_size: 0x300000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: PROTECTED
is_upgradable: false
empty_boot_needed: false
reserve: 0x00

- partition_index: SYS4
partition_name: NVRAM
file_name: NONE
is_download: false
type: NORMAL_ROM
linear_start_addr: 0x1800000
physical_start_addr: 0x1800000
partition_size: 0x500000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: BINREGION
is_upgradable: false
empty_boot_needed: false
reserve: 0x00

- partition_index: SYS5
partition_name: LCM
file_name: NONE
is_download: false
type: NORMAL_ROM
linear_start_addr: 0x1D00000
physical_start_addr: 0x1D00000
partition_size: 0x100000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: INVISIBLE
is_upgradable: false
empty_boot_needed: false
reserve: 0x00

- partition_index: SYS6
partition_name: PROTECT_F
file_name: NONE
is_download: false
type: EXT4_IMG
linear_start_addr: 0x1E00000
physical_start_addr: 0x1E00000
partition_size: 0xA00000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: PROTECTED
is_upgradable: false
empty_boot_needed: false
reserve: 0x00

- partition_index: SYS7
partition_name: PROTECT_S
file_name: NONE
is_download: false
type: EXT4_IMG
linear_start_addr: 0x2800000
physical_start_addr: 0x2800000
partition_size: 0xA00000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: PROTECTED
is_upgradable: false
empty_boot_needed: false
reserve: 0x00

- partition_index: SYS8
partition_name: SECCFG
file_name: NONE
is_download: false
type: NORMAL_ROM
linear_start_addr: 0x3200000
physical_start_addr: 0x3200000
partition_size: 0x20000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: INVISIBLE
is_upgradable: false
empty_boot_needed: false
reserve: 0x00

- partition_index: SYS9
partition_name: UBOOT
file_name: lk.bin
is_download: true
type: NORMAL_ROM
linear_start_addr: 0x3220000
physical_start_addr: 0x3220000
partition_size: 0x100000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: UPDATE
is_upgradable: true
empty_boot_needed: false
reserve: 0x00

- partition_index: SYS10
partition_name: BOOTIMG
file_name: boot.img
is_download: true
type: NORMAL_ROM
linear_start_addr: 0x3320000
physical_start_addr: 0x3320000
partition_size: 0x1000000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: UPDATE
is_upgradable: true
empty_boot_needed: false
reserve: 0x00

- partition_index: SYS11
partition_name: RECOVERY
file_name: recovery.img
is_download: true
type: NORMAL_ROM
linear_start_addr: 0x4320000
physical_start_addr: 0x4320000
partition_size: 0x1000000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: UPDATE
is_upgradable: true
empty_boot_needed: false
reserve: 0x00

- partition_index: SYS12
partition_name: SEC_RO
file_name: secro.img
is_download: true
type: NORMAL_ROM
linear_start_addr: 0x5320000
physical_start_addr: 0x5320000
partition_size: 0x600000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: UPDATE
is_upgradable: true
empty_boot_needed: false
reserve: 0x00

- partition_index: SYS13
partition_name: MISC
file_name: NONE
is_download: false
type: NORMAL_ROM
linear_start_addr: 0x5920000
physical_start_addr: 0x5920000
partition_size: 0x80000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: INVISIBLE
is_upgradable: false
empty_boot_needed: false
reserve: 0x00

- partition_index: SYS14
partition_name: LOGO
file_name: logo.bin
is_download: true
type: NORMAL_ROM
linear_start_addr: 0x59A0000
physical_start_addr: 0x59A0000
partition_size: 0x300000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: UPDATE
is_upgradable: false
empty_boot_needed: true
reserve: 0x00

- partition_index: SYS15
partition_name: EXPDB
file_name: NONE
is_download: false
type: NORMAL_ROM
linear_start_addr: 0x5CA0000
physical_start_addr: 0x5CA0000
partition_size: 0xA00000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: INVISIBLE
is_upgradable: false
empty_boot_needed: false
reserve: 0x00

- partition_index: SYS16
partition_name: ANDROID
file_name: system.img
is_download: true
type: EXT4_IMG
linear_start_addr: 0x66A0000
physical_start_addr: 0x66A0000
partition_size: 0x5DC00000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: UPDATE
is_upgradable: true
empty_boot_needed: false
reserve: 0x00

- partition_index: SYS17
partition_name: CACHE
file_name: cache.img
is_download: true
type: EXT4_IMG
linear_start_addr: 0x642A0000
physical_start_addr: 0x642A0000
partition_size: 0x7E00000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: UPDATE
is_upgradable: false
empty_boot_needed: false
reserve: 0x00

- partition_index: SYS18
partition_name: USRDATA
file_name: userdata.img
is_download: true
type: EXT4_IMG
linear_start_addr: 0x6C0A0000
physical_start_addr: 0x6C0A0000
partition_size: 0x33E280000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: UPDATE
is_upgradable: true
empty_boot_needed: false
reserve: 0x00

- partition_index: SYS19
partition_name: BMTPOOL
file_name: NONE
is_download: false
type: NORMAL_ROM
linear_start_addr: 0x3AA320000
physical_start_addr: 0x3AA320000
partition_size: 0x1500000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: false
is_reserved: true
operation_type: RESERVED
is_upgradable: false
empty_boot_needed: false
reserve: 0x00

18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# TWRP-for-Discover-Note4_plus-Clone
---

**DISCLAIMER**
`I AM NOT RESPONSIBLE VOIDING YOUR WARRANTY OR ANY DAMAGE CAUSED TO YOUR DEVICE`

This is a port of TWRP 3.7.0 to Discover Note4 plus Clone only.

## Device Info
- Manufacturer : Discover
- Model : Note4_plus
Expand All @@ -11,12 +17,22 @@
- Internal Storage : 64GB(fake) / 16GB(actual)

## File Description
- `stock_recovery.img`: Extracted stock recovery image. [ALPS.KK1.MP1.V2.10]
- `stock_recovery.img`: Extracted stock recovery image(ALPS.KK1.MP1.V2.10).
- `twrp-3.7.0_9-0-tilapia.img`: Pre-build TWRP image. Use for porting.
- `MT6582_Android_scatter.txt`:
- `preloader_bird82_cwet_a_kk.bin`:
- `boot_magisk.img`: Magisk patched stock boot.img

## Instructions
- Use any MTK image unpacking/repacking tool. [Android_ROM_Tool_v2.0.3.zip](https://download2268.mediafire.com/h6kjg21odziglCYkoeFkibhrztjT4pZvd_MsYMt7pZbWlKjpjRmlYfEt9a75C5H8ejdKK0c2jQnVbVPNNUka3KVzyYK5wzcuR04kfEjknPQany-12115CzdDbSOS19A_V2H_J2Yi9zAMgxYHH6EPJeuIoObXWAxrBdIqhwsNKGc6ytY/vgqe6w7sfxqd8ur/Android_ROM_Tool_v2.0.3.zip) recommed.

- Use SP Flash Tool (fastboot not allowed to flash almost all partitions) to flash customized recovery or stock recovery.

- Install necessary MTK driverse (preloader, adb, usb). You may need to disable signature verification if you are using higher Windows versions.

-



## Changes
- remove unwanted files (fstab.x, ueventd.x.rc)
Expand Down
Binary file added boot_magisk.img
Binary file not shown.
Binary file added preloader_bird82_cwet_a_kk.bin
Binary file not shown.

0 comments on commit 49c22c0

Please sign in to comment.