Wie bekomme ich und echo nur die partition_index: SYS18
, linear_start_addr: 0x8020000
, physical_start_addr: 0x8020000
und partition_size: 0x100000
?Wie bekomme ich frp Partition über cmd in Scatter-Datei
Darüber hinaus kann scatter.txt je nach Android-Gerätemodell variieren.
Ich brauche nur die FRP-Teil der scatter.txt
.
partition_index: SYS17
partition_name: metadata
file_name: NONE
is_download: false
type: NORMAL_ROM
linear_start_addr: 0x6020000
physical_start_addr: 0x6020000
partition_size: 0x2000000
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: 0x8020000
physical_start_addr: 0x8020000
partition_size: 0x100000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: PROTECTED
reserve: 0x00
partition_index: SYS19
partition_name: pad
file_name: NONE
is_download: false
type: NORMAL_ROM
linear_start_addr: 0x8120000
physical_start_addr: 0x8120000
partition_size: 0x6E0000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: INVISIBLE
reserve: 0x00
'findstr/R„^ Partition^linear^physisch "" scatter.txt "' ist das selbe wie Ihr Skript, aber es würde nicht den gewünschten Teil mit 'partitionsname: frp' Zeile extrahieren! – JosefZ
Danke für die Antwort Herr Xingxing Qiao Ihr Code ist nett, aber ich brauche nur die FRP-Linie. – Drxtool
@AndroMazo Ich habe den Code bearbeitet. –