[Miscellaneous Android Development] harpreet.s:
Hi ,

Partitions are RW , but system is throwing error when I try to edit a file for no space. Example I was able to run touch test successfully, but when I tried to write into test file it threw error for no space. Output of the tool -

Nord:/data/local/tmp # ./superrepack /dev/block/sda15

---------------------------------------------------------

Super image repacker v_2 by munjeni @ xda 2021)

---------------------------------------------------------

LpMetadataGeometry magic = 0x616c4467

LpMetadataGeometry struct size = 0x34

LpMetadataGeometry sha256 = 12FF55F0ABA7B506F25CB5DA5DCA09344234E8DF1D9C93AE82A499D98019467E

LpMetadataGeometry metadata_max_size = 0x10000

LpMetadataGeometry metadata_slot_count = 0x3

LpMetadataGeometry logical_block_size = 0x1000

LpMetadataHeader magic = 0x414c5030

LpMetadataHeader major_version = 10

LpMetadataHeader minor_version = 0

LpMetadataHeader header_size = 0x80

LpMetadataHeader header sha256 = FFF49873C7B91167BED422CDD341705072AB036AD26D58A04467CD22388A4730

LpMetadataHeader tables_size = 0x3c8

LpMetadataHeader tables sha256 = 7D1486F57409CF907F94705AA4A7A5C7AE316E19A854CD78B5371B22EBD49647

LpMetadataHeader partitions offset = 0x0

LpMetadataHeader partitions num_entries = 0xa

LpMetadataHeader partitions entry_size = 0x34

LpMetadataHeader extents offset = 0x208

LpMetadataHeader extents num_entries = 0xa

LpMetadataHeader extents entry_size = 0x18

LpMetadataHeader groups offset = 0x2f8

LpMetadataHeader groups num_entries = 0x3

LpMetadataHeader groups entry_size = 0x30

LpMetadataHeader block_devices offset = 0x388

LpMetadataHeader block_devices num_entries = 0x1

LpMetadataHeader block_devices entry_size = 0x40

Partitions = 10 used, 0 not used, total 10

partition_1_name = system_b

attributes = 0x0

first_extent_index = 0x0

num_extents = 0x1

group_index = 0x1

partition_group = qti_dynamic_partitions_b

extent num_sectors = 0x26ffa8 (0x4dff5000 bytes total)

extent target_type = 0x0

extent target_data = 0xe00800 (dumping offset = 0x1c0100000)

extent target_source = 0x0

Partition: system_b, Filetype EXT4. EXT4 size = 0x4dff5000

partition_2_name = system_ext_b

attributes = 0x0

first_extent_index = 0x1

num_extents = 0x1

group_index = 0x1

partition_group = qti_dynamic_partitions_b

extent num_sectors = 0x252588 (0x4a4b1000 bytes total)

extent target_type = 0x0

extent target_data = 0x1070800 (dumping offset = 0x20e100000)

extent target_source = 0x0

Partition: system_ext_b, Filetype EXT4. EXT4 size = 0x4a4b1000

partition_3_name = product_b

attributes = 0x0

first_extent_index = 0x2

num_extents = 0x1

group_index = 0x1

partition_group = qti_dynamic_partitions_b

extent num_sectors = 0x2e3460 (0x5c68c000 bytes total)

extent target_type = 0x0

extent target_data = 0x12c3000 (dumping offset = 0x258600000)

extent target_source = 0x0

Partition: product_b, Filetype EXT4. EXT4 size = 0x5c68c000

partition_4_name = vendor_b

attributes = 0x0

first_extent_index = 0x3

num_extents = 0x1

group_index = 0x1

partition_group = qti_dynamic_partitions_b

extent num_sectors = 0x317760 (0x62eec000 bytes total)

extent target_type = 0x0

extent target_data = 0x15a6800 (dumping offset = 0x2b4d00000)

extent target_source = 0x0

Partition: vendor_b, Filetype EXT4. EXT4 size = 0x62eec000

partition_5_name = odm_b

attributes = 0x0

first_extent_index = 0x4

num_extents = 0x1

group_index = 0x1

partition_group = qti_dynamic_partitions_b

extent num_sectors = 0x3dae0 (0x7b5c000 bytes total)

extent target_type = 0x0

extent target_data = 0x18be000 (dumping offset = 0x317c00000)

extent target_source = 0x0

Partition: odm_b, Filetype EXT4. EXT4 size = 0x7b5c000

partition_6_name = system_a

attributes = 0x1

first_extent_index = 0x5

num_extents = 0x1

group_index = 0x2

partition_group = qti_dynamic_partitions_a

extent num_sectors = 0x22a9b8 (0x45537000 bytes total)

extent target_type = 0x0

extent target_data = 0xbc0 (dumping offset = 0x178000)

extent target_source = 0x0

Partition: system_a, Filetype EXT4. EXT4 size = 0x443a1000

partition_7_name = system_ext_a

attributes = 0x1

first_extent_index = 0x6

num_extents = 0x1

group_index = 0x2

partition_group = qti_dynamic_partitions_a

extent num_sectors = 0x21fa50 (0x43f4a000 bytes total)

extent target_type = 0x0

extent target_data = 0x22b7c0 (dumping offset = 0x456f8000)

extent target_source = 0x0

Partition: system_ext_a, Filetype EXT4. EXT4 size = 0x42e0d000

partition_8_name = product_a

attributes = 0x1

first_extent_index = 0x7

num_extents = 0x1

group_index = 0x2

partition_group = qti_dynamic_partitions_a

extent num_sectors = 0x2b60c0 (0x56c18000 bytes total)

extent target_type = 0x0

extent target_data = 0x44b3c0 (dumping offset = 0x89678000)

extent target_source = 0x0

Partition: product_a, Filetype EXT4. EXT4 size = 0x5561c000

partition_9_name = vendor_a

attributes = 0x1

first_extent_index = 0x8

num_extents = 0x1

group_index = 0x2

partition_group = qti_dynamic_partitions_a

extent num_sectors = 0x299650 (0x532ca000 bytes total)

extent target_type = 0x0

extent target_data = 0x7017c0 (dumping offset = 0xe02f8000)

extent target_source = 0x0

Partition: vendor_a, Filetype EXT4. EXT4 size = 0x51db6000

partition_10_name = odm_a

attributes = 0x1

first_extent_index = 0x9

num_extents = 0x1

group_index = 0x2

partition_group = qti_dynamic_partitions_a

extent num_sectors = 0xbf00 (0x17e0000 bytes total)

extent target_type = 0x0

extent target_data = 0x99afc0 (dumping offset = 0x1335f8000)

extent target_source = 0x0

Partition: odm_a, Filetype EXT4. EXT4 size = 0x176b000

Nord:/data/local/tmp # sync

Nord:/data/local/tmp #

Nord:/data/local/tmp # reboot