{
  "$schema": "/dev/null",
  "metadataVersion": 1,
  "name": "stock partitions",
  "version": "1.0.0",
  "description": "stock partitions",
  "steps": [
    {
      "type": "bulkcmd",
      "value": "amlmmc part 1"
    },
    {
      "type": "restorePartition",
      "value": {
        "name": "env",
        "data": { "filePath": "env.dump" }
      }
    },
    {
      "type": "restorePartition",
      "value": {
        "name": "fip_a",
        "data": { "filePath": "fip_a.dump" }
      }
    },
    {
      "type": "restorePartition",
      "value": {
        "name": "fip_b",
        "data": { "filePath": "fip_b.dump" }
      }
    },
    {
      "type": "restorePartition",
      "value": {
        "name": "logo",
        "data": { "filePath": "logo.dump" }
      }
    },
    {
      "type": "restorePartition",
      "value": {
        "name": "dtbo_a",
        "data": { "filePath": "dtbo_a.dump" }
      }
    },
    {
      "type": "restorePartition",
      "value": {
        "name": "dtbo_b",
        "data": { "filePath": "dtbo_b.dump" }
      }
    },
    {
      "type": "restorePartition",
      "value": {
        "name": "vbmeta_a",
        "data": { "filePath": "vbmeta_a.dump" }
      }
    },
    {
      "type": "restorePartition",
      "value": {
        "name": "vbmeta_b",
        "data": { "filePath": "vbmeta_b.dump" }
      }
    },
    {
      "type": "restorePartition",
      "value": {
        "name": "boot_a",
        "data": { "filePath": "boot_a.dump" }
      }
    },
    {
      "type": "restorePartition",
      "value": {
        "name": "boot_b",
        "data": { "filePath": "boot_b.dump" }
      }
    },
    {
      "type": "restorePartition",
      "value": {
        "name": "system_a",
        "data": { "filePath": "system_a.ext2" }
      }
    },
    {
      "type": "restorePartition",
      "value": {
        "name": "system_b",
        "data": { "filePath": "system_b.ext2" }
      }
    },
    {
      "type": "restorePartition",
      "value": {
        "name": "misc",
        "data": { "filePath": "misc.dump" }
      }
    },
    {
      "type": "restorePartition",
      "value": {
        "name": "bootloader",
        "data": { "filePath": "bootloader.dump" }
      }
    },
    {
      "type": "writeEnv",
      "value": { "filePath": "env.txt" }
    },
    {
      "type": "bulkcmd",
      "value": "saveenv"
    }
  ]
}
