i've stumbled on brillo on google's source code website. on it, i've found several files extension bpt
. these json files appear describe partitions on devices. here contents of base file:
{ "settings": { "disk_size": "4 gib" }, "partitions": [ { "ab": true, "label": "boot", "size": "32 mib", "guid": "auto", "type_guid": "brillo_boot" }, { "ab": true, "label": "system", "size": "512 mib", "guid": "auto", "type_guid": "brillo_system" }, { "ab": true, "label": "odm", "size": "512 mib", "guid": "auto", "type_guid": "brillo_odm" }, { "label": "misc", "size": "1 mib", "type_guid": "brillo_misc" }, { "label": "userdata", "grow": true, "guid": "auto", "type_guid": "brillo_userdata" } ] }
i can't find documentation on this. new partition scheme (e.g., mbr, gpt, apm, tegra pt, mtd's command line partition table parsing, etc.)?
json files .bpt extensions consumed bpttool - tool partitioning disk images brillo , android.
this open sourced , hosted @ https://android.googlesource.com/platform/system/tools/bpt/+/master/
partitioning directives expressed in .bpt json file.
looking @ history of repository (relatively new, 4 months old). first introduced brillo , end in android versions (in nougat perhaps?). may replacement gpt partitioning scheme or derivative of it.
Comments
Post a Comment