๐ฟ Dynamic Partitions (SUPER)
Utilities for SUPER partition operations.
checksuperโ
Checks if a partition/image is a SUPER image.
Argument | Description |
---|---|
PATH | SUPER partition or .img |
checksuper "$(find_block super)"
checksuper "/sdcard/super.img"
get_offsetโ
Gets the offset of a subpartition in a SUPER image.
Argument | Description |
---|---|
NAME | Subpartition name |
PATH | SUPER partition or .img |
get_offset "system$slot" "$(find_block super)"
get_groupโ
Gets the group of a subpartition in a SUPER image.
Argument | Description |
---|---|
NAME | Subpartition name |
PATH | SUPER partition or .img |
get_group "vendor$slot" "$(find_block super)"
get_total_sizeโ
Gets the total size of subpartitions in a SUPER image.
Argument | Description |
---|---|
PATH | SUPER partition or .img |
get_total_size "$(find_block super)"
get_all_subpartsโ
Lists all subpartition names in a SUPER image.
Argument | Description |
---|---|
PATH | SUPER partition or .img |
get_all_subparts "$(find_block super)"
start_loopโ
Creates a mount point for a SUPER subpartition.
Argument | Description |
---|---|
NAME | Subpartition name |
PATH | SUPER partition or .img |
start_loop "system_a" "$(find_block super)"
system_point="$LOOP"
end_loopโ
Ends the most recently created loop device.
start_loop "system_a" "/sdcard/super.img"
start_loop "vendor_a" "/sdcard/super.img"
end_loop
end_loop
unlock_allโ
Converts all SUPER subpartitions to Read/Write.
Argument | Description |
---|---|
PATH | Optional SUPER partition or .img (defaults to device super) |
unlock_all
unlock_all "/sdcard/super.img"
unlockโ
Converts a specific SUPER subpartition to Read/Write.
Argument | Description |
---|---|
NAME | Subpartition name |
PATH | Optional SUPER partition or .img (defaults to device super) |
unlock "system$slot"
unlock "vendor_a" "/sdcard/super.img"