Skip to content

Instantly share code, notes, and snippets.

@blacktop
Last active January 30, 2022 17:46
Show Gist options
  • Save blacktop/c480ec1eeb87767e714e054f78128c42 to your computer and use it in GitHub Desktop.
Save blacktop/c480ec1eeb87767e714e054f78128c42 to your computer and use it in GitHub Desktop.
AssetData/boot/Firmware/all_flash/DeviceTree.vma2macosap.im4p
❯ brew install blacktop/tap/ipsw
❯ ipsw download ota -V --macos --device Macmini9,1 --model J274AP
❯ unzip -l 8093b01ee46664b82427188ff61334501fd1b0d8.zip | grep DeviceTree
     5551  05-22-2021 00:32   AssetData/boot/Firmware/all_flash/DeviceTree.vma1ap.im4p
    40129  05-22-2021 00:32   AssetData/boot/Firmware/all_flash/DeviceTree.j457ap.im4p
    42413  05-22-2021 00:32   AssetData/boot/Firmware/all_flash/DeviceTree.j293ap.im4p
    40753  05-22-2021 00:32   AssetData/boot/Firmware/all_flash/DeviceTree.j313ap.im4p
     5555  05-22-2021 00:32   AssetData/boot/Firmware/all_flash/DeviceTree.vma2macosap.im4p
    35642  05-22-2021 00:32   AssetData/boot/Firmware/all_flash/DeviceTree.j274ap.im4p
    40589  05-22-2021 00:32   AssetData/boot/Firmware/all_flash/DeviceTree.j456ap.im4p
❯ unzip -p 8093b01ee46664b82427188ff61334501fd1b0d8.zip AssetData/boot/Firmware/all_flash/DeviceTree.vma2macosap.im4p > DeviceTree.vma2macosap.im4p
❯ ipsw dtree DeviceTree.vma2macosap.im4p -V

      • DeviceTree is LZFSE compressed
      • Model: VirtualMac2,1     
      • Board Config: VMA2MACOSAP
      • Product Name: Apple Virtual Machine 1
❯ ipsw dtree DeviceTree.vma2macosap.im4p --json | jq .
{
  "device-tree": {
    "#address-cells": 2,
    "#size-cells": 2,
    "AAPL,phandle": 1,
    "children": [
      {
        "machine-timeouts": {
          "AAPL,phandle": 2,
          "children": [],
          "debug-ack-scale": "",
          "gicr-wake-timeout-scale": "",
          "interrupt-masked-scale": "",
          "lock-panic-scale": "",
          "lock-scale": "",
          "sshot-interrupt-masked-scale": "",
          "ticket-lock-scale": ""
        }
      },
      {
        "chosen": {
          "#address-cells": 2,
          "AAPL,phandle": 3,
          "allow-ap-nonce-retrieval": "",
          "allow-whitelist-disable": 1,
          "allowed-boot-args": "trace,trace_wake,kperf,-x",
          "amfi-allows-trust-cache-load": "",
          "amfi-exec-req-tc": "",
          "amfi-only-platform-code": "",
          "apfs-preboot-uuid": "",
          "backing-color": "syscfg/CLBG",
          "backing-glass-material": "syscfg/BGMt",
          "board-id": "",
          "boot-manifest-hash": "",
          "boot-nonce": "",
          "bootp-response": "",
          "certificate-production-status": "",
          "certificate-security-mode": "",
          "children": [
            {
              "manifest-properties": {
                "AAPL,phandle": 4,
                "UnusedBooleanProperty0": "",
                "UnusedBooleanProperty1": "",
                "UnusedBooleanProperty10": "",
                "UnusedBooleanProperty11": "",
                "UnusedBooleanProperty12": "",
                "UnusedBooleanProperty13": "",
                "UnusedBooleanProperty14": "",
                "UnusedBooleanProperty15": "",
                "UnusedBooleanProperty16": "",
                "UnusedBooleanProperty17": "",
                "UnusedBooleanProperty18": "",
                "UnusedBooleanProperty19": "",
                "UnusedBooleanProperty2": "",
                "UnusedBooleanProperty3": "",
                "UnusedBooleanProperty4": "",
                "UnusedBooleanProperty5": "",
                "UnusedBooleanProperty6": "",
                "UnusedBooleanProperty7": "",
                "UnusedBooleanProperty8": "",
                "UnusedBooleanProperty9": "",
                "UnusedIntegerProperty0": "",
                "UnusedIntegerProperty1": "",
                "UnusedIntegerProperty10": "",
                "UnusedIntegerProperty11": "",
                "UnusedIntegerProperty12": "",
                "UnusedIntegerProperty13": "",
                "UnusedIntegerProperty14": "",
                "UnusedIntegerProperty15": "",
                "UnusedIntegerProperty16": "",
                "UnusedIntegerProperty17": "",
                "UnusedIntegerProperty18": "",
                "UnusedIntegerProperty19": "",
                "UnusedIntegerProperty2": "",
                "UnusedIntegerProperty3": "",
                "UnusedIntegerProperty4": "",
                "UnusedIntegerProperty5": "",
                "UnusedIntegerProperty6": "",
                "UnusedIntegerProperty7": "",
                "UnusedIntegerProperty8": "",
                "UnusedIntegerProperty9": "",
                "UnusedStringProperty0": "",
                "UnusedStringProperty1": "",
                "UnusedStringProperty2": "",
                "UnusedStringProperty3": "",
                "UnusedStringProperty4": "",
                "UnusedStringProperty5": "",
                "UnusedStringProperty6": "",
                "UnusedStringProperty7": "",
                "UnusedStringProperty8": "",
                "UnusedStringProperty9": "",
                "children": []
              }
            },
            {
              "manifest-object-properties": {
                "AAPL,phandle": 5,
                "UnusedBooleanProperty0": "",
                "UnusedBooleanProperty1": "",
                "UnusedBooleanProperty10": "",
                "UnusedBooleanProperty11": "",
                "UnusedBooleanProperty12": "",
                "UnusedBooleanProperty13": "",
                "UnusedBooleanProperty14": "",
                "UnusedBooleanProperty15": "",
                "UnusedBooleanProperty16": "",
                "UnusedBooleanProperty17": "",
                "UnusedBooleanProperty18": "",
                "UnusedBooleanProperty19": "",
                "UnusedBooleanProperty2": "",
                "UnusedBooleanProperty3": "",
                "UnusedBooleanProperty4": "",
                "UnusedBooleanProperty5": "",
                "UnusedBooleanProperty6": "",
                "UnusedBooleanProperty7": "",
                "UnusedBooleanProperty8": "",
                "UnusedBooleanProperty9": "",
                "UnusedIntegerProperty0": "",
                "UnusedIntegerProperty1": "",
                "UnusedIntegerProperty10": "",
                "UnusedIntegerProperty11": "",
                "UnusedIntegerProperty12": "",
                "UnusedIntegerProperty13": "",
                "UnusedIntegerProperty14": "",
                "UnusedIntegerProperty15": "",
                "UnusedIntegerProperty16": "",
                "UnusedIntegerProperty17": "",
                "UnusedIntegerProperty18": "",
                "UnusedIntegerProperty19": "",
                "UnusedIntegerProperty2": "",
                "UnusedIntegerProperty3": "",
                "UnusedIntegerProperty4": "",
                "UnusedIntegerProperty5": "",
                "UnusedIntegerProperty6": "",
                "UnusedIntegerProperty7": "",
                "UnusedIntegerProperty8": "",
                "UnusedIntegerProperty9": "",
                "UnusedStringProperty0": "",
                "UnusedStringProperty1": "",
                "UnusedStringProperty2": "",
                "UnusedStringProperty3": "",
                "UnusedStringProperty4": "",
                "UnusedStringProperty5": "",
                "UnusedStringProperty6": "",
                "UnusedStringProperty7": "",
                "UnusedStringProperty8": "",
                "UnusedStringProperty9": "",
                "children": []
              }
            },
            {
              "boot-object-manifests": {
                "AAPL,phandle": 6,
                "children": []
              }
            },
            {
              "secure-boot-hashes": {
                "AAPL,phandle": 7,
                "children": []
              }
            },
            {
              "memory-map": {
                "AAPL,phandle": 8,
                "MemoryMapReserved-0": "",
                "MemoryMapReserved-1": "",
                "MemoryMapReserved-10": "",
                "MemoryMapReserved-11": "",
                "MemoryMapReserved-12": "",
                "MemoryMapReserved-13": "",
                "MemoryMapReserved-14": "",
                "MemoryMapReserved-15": "",
                "MemoryMapReserved-2": "",
                "MemoryMapReserved-3": "",
                "MemoryMapReserved-4": "",
                "MemoryMapReserved-5": "",
                "MemoryMapReserved-6": "",
                "MemoryMapReserved-7": "",
                "MemoryMapReserved-8": "",
                "MemoryMapReserved-9": "",
                "children": [],
                "kernel-only": "true"
              }
            },
            {
              "carveout-memory-map": {
                "AAPL,phandle": 9,
                "children": []
              }
            },
            {
              "lock-regs": {
                "AAPL,phandle": 10,
                "children": []
              }
            },
            {
              "iBoot": {
                "AAPL,phandle": 11,
                "children": [],
                "debug-wait-start": "",
                "load-kernel-start": "",
                "populate-registry-time": "",
                "start-time": ""
              }
            },
            {
              "memory-report": {
                "AAPL,phandle": 12,
                "children": [
                  {
                    "zeroization-report": {
                      "AAPL,phandle": 13,
                      "children": []
                    }
                  }
                ]
              }
            },
            {
              "asmb": {
                "AAPL,phandle": 14,
                "children": []
              }
            }
          ],
          "chip-id": "",
          "consistent-debug-root": "",
          "cover-glass-material": "syscfg/CGMt",
          "coverglass-color": "syscfg/CLCG",
          "crypto-hash-method": "sha2-384",
          "csr-allow-device-configuration": "",
          "debug-board-revision": "",
          "debug-enabled": "",
          "development-cert": "",
          "die-id": "",
          "disable-accessory-firmware": "",
          "disable-av-content-protection": "",
          "disable-transport-rm": "",
          "display-boot-rotation": "",
          "display-corner-radius": "",
          "display-rotation": "",
          "display-scale": "",
          "dram-vendor": "",
          "dram-vendor-id": "",
          "effective-production-status-ap": "",
          "effective-production-status-sep": "",
          "effective-security-mode-ap": "",
          "effective-security-mode-sep": "",
          "enable-sep-rm": "",
          "enable-user-rm": "",
          "enclosure-material": "syscfg/EnMt",
          "ephemeral-storage": "",
          "firmware-version": "",
          "gid-aes-key": "",
          "housing-color": "syscfg/CLHS",
          "image4-supported": "",
          "mac-address-bluetooth0": "macaddr/btaddr,syscfg/BMac/6",
          "mac-address-ethernet0": "macaddr/ethaddr,syscfg/EMac/6",
          "mac-address-ethernet1": "macaddr/ethaddr1,syscfg/EMc2/6",
          "mac-address-wifi0": "macaddr/wifiaddr,syscfg/WMac/6",
          "marketing-hardware-behavior": "syscfg/MkBH",
          "marketing-software-behavior": "syscfg/MkBS",
          "max-env-partition": "",
          "max-env-var-data-size": "",
          "max-env-var-name-size": "",
          "mix-n-match-prevention-status": "",
          "non-apple-or-untrusted-code": 1,
          "nvram-total-size": "",
          "osenvironment": "",
          "production-cert": "",
          "protected-data-access": 1,
          "random-seed": "",
          "recovery-snag-key-pressed": "",
          "repair-status": "syscfg/rpcp",
          "secure-boot": "",
          "security-downgradable": 1,
          "sepfw-load-at-boot": 1,
          "software-behavior": "syscfg/SwBh/0x10,zeroes/0x10",
          "software-bundle-version": "syscfg/SBVr/0x10,zeroes/0x10",
          "system-trusted": "",
          "uid-aes-key": "",
          "unique-chip-id": "",
          "use-recovery-securityd": ""
        }
      },
      {
        "options": {
          "AAPL,phandle": 15,
          "children": []
        }
      },
      {
        "cpus": {
          "#address-cells": 1,
          "#size-cells": "",
          "AAPL,phandle": 16,
          "children": [
            {
              "cpu0": {
                "AAPL,phandle": 17,
                "bus-frequency": null,
                "children": [],
                "clock-frequency": null,
                "compatible": "ARM,v8",
                "cpu-id": "",
                "cpu-version": "",
                "device_type": "cpu",
                "fixed-frequency": null,
                "function-enable_core": "",
                "interrupt-parent": 31,
                "interrupts": null,
                "memory-frequency": null,
                "peripheral-frequency": null,
                "reg": "",
                "state": "running",
                "timebase-frequency": null
              }
            },
            {
              "cpu1": {
                "AAPL,phandle": 18,
                "bus-frequency": null,
                "children": [],
                "clock-frequency": null,
                "compatible": "ARM,v8",
                "cpu-id": 1,
                "device_type": "cpu",
                "fixed-frequency": null,
                "function-enable_core": "",
                "interrupt-parent": 31,
                "interrupts": null,
                "memory-frequency": null,
                "peripheral-frequency": null,
                "reg": 1,
                "state": "waiting",
                "timebase-frequency": null
              }
            },
            {
              "cpu2": {
                "AAPL,phandle": 19,
                "bus-frequency": null,
                "children": [],
                "clock-frequency": null,
                "compatible": "ARM,v8",
                "cpu-id": 2,
                "device_type": "cpu",
                "fixed-frequency": null,
                "function-enable_core": "",
                "interrupt-parent": 31,
                "interrupts": null,
                "memory-frequency": null,
                "peripheral-frequency": null,
                "reg": 2,
                "state": "waiting",
                "timebase-frequency": null
              }
            },
            {
              "cpu3": {
                "AAPL,phandle": 20,
                "bus-frequency": null,
                "children": [],
                "clock-frequency": null,
                "compatible": "ARM,v8",
                "cpu-id": 3,
                "device_type": "cpu",
                "fixed-frequency": null,
                "function-enable_core": "",
                "interrupt-parent": 31,
                "interrupts": null,
                "memory-frequency": null,
                "peripheral-frequency": null,
                "reg": 3,
                "state": "waiting",
                "timebase-frequency": null
              }
            },
            {
              "cpu4": {
                "AAPL,phandle": 21,
                "bus-frequency": null,
                "children": [],
                "clock-frequency": null,
                "compatible": "ARM,v8",
                "cpu-id": 4,
                "device_type": "cpu",
                "fixed-frequency": null,
                "function-enable_core": "",
                "interrupt-parent": 31,
                "interrupts": null,
                "memory-frequency": null,
                "peripheral-frequency": null,
                "reg": 4,
                "state": "waiting",
                "timebase-frequency": null
              }
            },
            {
              "cpu5": {
                "AAPL,phandle": 22,
                "bus-frequency": null,
                "children": [],
                "clock-frequency": null,
                "compatible": "ARM,v8",
                "cpu-id": 5,
                "device_type": "cpu",
                "fixed-frequency": null,
                "function-enable_core": "",
                "interrupt-parent": 31,
                "interrupts": null,
                "memory-frequency": null,
                "peripheral-frequency": null,
                "reg": 5,
                "state": "waiting",
                "timebase-frequency": null
              }
            },
            {
              "cpu6": {
                "AAPL,phandle": 23,
                "bus-frequency": null,
                "children": [],
                "clock-frequency": null,
                "compatible": "ARM,v8",
                "cpu-id": 6,
                "device_type": "cpu",
                "fixed-frequency": null,
                "function-enable_core": "",
                "interrupt-parent": 31,
                "interrupts": null,
                "memory-frequency": null,
                "peripheral-frequency": null,
                "reg": 6,
                "state": "waiting",
                "timebase-frequency": null
              }
            },
            {
              "cpu7": {
                "AAPL,phandle": 24,
                "bus-frequency": null,
                "children": [],
                "clock-frequency": null,
                "compatible": "ARM,v8",
                "cpu-id": 7,
                "device_type": "cpu",
                "fixed-frequency": null,
                "function-enable_core": "",
                "interrupt-parent": 31,
                "interrupts": null,
                "memory-frequency": null,
                "peripheral-frequency": null,
                "reg": 7,
                "state": "waiting",
                "timebase-frequency": null
              }
            }
          ]
        }
      },
      {
        "aliases": {
          "AAPL,phandle": 25,
          "children": []
        }
      },
      {
        "memory": {
          "AAPL,phandle": 26,
          "children": [],
          "device_type": "memory",
          "reg": ""
        }
      },
      {
        "pmgr": {
          "AAPL,phandle": 27,
          "children": [],
          "compatible": "ARM,psci"
        }
      },
      {
        "arm-io": {
          "#address-cells": 2,
          "#size-cells": 2,
          "AAPL,phandle": 28,
          "children": [
            {
              "aes": {
                "AAPL,phandle": 29,
                "aes-version": 3,
                "children": [],
                "clock-gates": "0",
                "compatible": "aes,s8000",
                "device_type": "aes",
                "interrupt-parent": 31,
                "interrupts": [
                  "2"
                ],
                "reg": [
                  "%",
                  "@",
                  "--",
                  "@"
                ]
              }
            },
            {
              "uart0": {
                "AAPL,phandle": 30,
                "children": [],
                "reg": null
              }
            },
            {
              "gic": {
                "#address-cells": "",
                "#interrupt-cells": 2,
                "AAPL,phandle": 31,
                "children": [],
                "compatible": [
                  "gic,vmapple1",
                  "ARM,gicv3"
                ],
                "device_type": "interrupt-controller",
                "interrupt-controller": "master",
                "reg": null
              }
            },
            {
              "rtc": {
                "AAPL,phandle": " ",
                "children": [],
                "compatible": "ARM,pl031",
                "reg": null
              }
            },
            {
              "buttons": {
                "AAPL,phandle": "!",
                "children": [],
                "compatible": "ARM,pl061",
                "interrupt-parent": 31,
                "interrupts": "%",
                "reg": null,
                "role": "VMA1_BUTTONS"
              }
            },
            {
              "pvpanic": {
                "#address-cells": 2,
                "#size-cells": 2,
                "AAPL,phandle": "\"",
                "children": [],
                "compatible": "qemu,pvpanic-mmio",
                "reg": null
              }
            },
            {
              "pcie": {
                "#address-cells": 3,
                "#size-cells": 2,
                "AAPL,phandle": "#",
                "bus-range": null,
                "children": [],
                "compatible": "pcie,vmapple1",
                "dev-range": null,
                "device-interrupt-parent": 31,
                "device_type": "pci",
                "interrupt-base": "@",
                "ranges": [
                  "P",
                  "@"
                ],
                "reg": [
                  "0"
                ]
              }
            },
            {
              "iosurface-mapper": {
                "AAPL,phandle": "$",
                "children": [],
                "compatible": "paravirtualizedgraphics,iosurface",
                "interrupt-parent": 31,
                "interrupts": "0",
                "reg": [
                  "! "
                ],
                "role": "APV_IOSFC"
              }
            },
            {
              "gfx": {
                "AAPL,phandle": "%",
                "children": [],
                "compatible": "paravirtualizedgraphics,gpu",
                "interrupt-parent": 31,
                "interrupts": "1",
                "reg": [
                  "  "
                ],
                "role": "APV_GFX"
              }
            }
          ],
          "chip-revision": "",
          "compatible": "arm-io,vmapple1",
          "device_type": "vmapple1-io",
          "ranges": [
            "p"
          ]
        }
      },
      {
        "pram": {
          "AAPL,phandle": "&",
          "children": [],
          "device_type": "pram",
          "reg": ""
        }
      },
      {
        "vram": {
          "AAPL,phandle": "'",
          "children": [],
          "device_type": "vram",
          "reg": ""
        }
      },
      {
        "defaults": {
          "AAPL,phandle": "(",
          "avp-encryption-version": "",
          "children": [],
          "ean-storage-present": "",
          "force-sep-nonce": 1,
          "kern.vm_compressor": 4,
          "no-effaceable-storage": "",
          "pmap-max-asids": [
            "@"
          ],
          "sleep-disabled": 1,
          "vmm-present": 1
        }
      },
      {
        "product": {
          "AAPL,phandle": ")",
          "RF-exposure-separation-distance": 5,
          "allow-32bit-apps": 1,
          "apple-guest-agent-port": "2rQH",
          "artwork-device-idiom": "mac",
          "artwork-device-subtype": "",
          "artwork-display-gamut": "P3",
          "artwork-dynamic-displaymode": "0",
          "artwork-scale-factor": 2,
          "assistant": "",
          "atomic-firmware-update-support": 1,
          "bluetooth-le": "",
          "builtin-mics": "",
          "children": [
            {
              "usb-device": {
                "AAPL,phandle": "*",
                "children": [],
                "configuration-string": "ncmAuxBringup",
                "ncm-control-ecid-mac": 1,
                "ncm-interrupt-ep-disabled": 1,
                "ncm-self-name-unit": "",
                "product-string": "macOS Virtual Machine",
                "vendor-id": 684
              }
            },
            {
              "util": {
                "AAPL,phandle": "+",
                "children": [],
                "fw-regions": [
                  " ",
                  "\"",
                  " "
                ],
                "low-level-fw-device-info": 1,
                "reg": "",
                "regions": [
                  "P",
                  "P",
                  "P",
                  "`"
                ]
              }
            }
          ],
          "compatible-app-variant": "MacFamily20,1",
          "compatible-device-fallback": "iPad8,6",
          "dali-mode": "",
          "device-perf-memory-class": 16,
          "dictation": "",
          "dual-iboot-support": 1,
          "ephemeral-data-mode": "",
          "graphics-featureset-class": "APPLE7",
          "graphics-featureset-fallbacks": "APPLE6:APPLE5:APPLE4:APPLE3:APPLE3v1:APPLE2:APPLE1:GLES2,0",
          "location-reminders": "",
          "lockdown-certtype": "",
          "mobiledevice-beta-min-ver": "1190.100.2",
          "mobiledevice-min-ver": "1253.40.18.100.1",
          "product-description": "virtual machine for ARM-v8.4 with Apple Silicon extensions",
          "product-id": "I/F7wA3G6rgWLhQDO+qR4Ff2FRA=",
          "product-name": "Apple Virtual Machine 1",
          "sandman-support": "",
          "single-stage-boot": 1,
          "udid-version": 2,
          "ui-weather-quality": "d"
        }
      },
      {
        "filesystems": {
          "AAPL,phandle": ",",
          "children": [
            {
              "fstab": {
                "AAPL,phandle": "-",
                "children": [
                  {
                    "system-vol": {
                      "AAPL,phandle": ".",
                      "children": [],
                      "vol.fs_file": "/",
                      "vol.fs_mntopts": "",
                      "vol.fs_mntorder": "",
                      "vol.fs_name": "System",
                      "vol.fs_passno": 1,
                      "vol.fs_role": 1,
                      "vol.fs_type": "ro"
                    }
                  },
                  {
                    "preboot-vol": {
                      "AAPL,phandle": "/",
                      "children": [],
                      "vol.fs_file": "/private/preboot",
                      "vol.fs_mntopts": "nosuid,nodev,nobrowse",
                      "vol.fs_mntorder": 1,
                      "vol.fs_name": "Preboot",
                      "vol.fs_passno": 1,
                      "vol.fs_role": 16,
                      "vol.fs_type": "ro"
                    }
                  },
                  {
                    "data-vol": {
                      "AAPL,phandle": "0",
                      "children": [],
                      "vol.fs_file": "/private/var",
                      "vol.fs_mntopts": "nosuid,nodev",
                      "vol.fs_mntorder": 3,
                      "vol.fs_name": "Data",
                      "vol.fs_passno": 2,
                      "vol.fs_role": "@",
                      "vol.fs_type": "rw"
                    }
                  },
                  {
                    "update-vol": {
                      "AAPL,phandle": "1",
                      "children": [],
                      "vol.fs_file": "/private/var/MobileSoftwareUpdate",
                      "vol.fs_mntopts": "nosuid,nodev,nobrowse",
                      "vol.fs_mntorder": 5,
                      "vol.fs_name": "Update",
                      "vol.fs_passno": 2,
                      "vol.fs_role": 0,
                      "vol.fs_type": "rw"
                    }
                  },
                  {
                    "hardware-vol": {
                      "AAPL,phandle": "2",
                      "children": [],
                      "vol.fs_file": "/private/var/hardware",
                      "vol.fs_mntopts": "nosuid,nodev,nobrowse",
                      "vol.fs_mntorder": 6,
                      "vol.fs_name": "Hardware",
                      "vol.fs_passno": 2,
                      "vol.fs_role": 64,
                      "vol.fs_type": "rw"
                    }
                  }
                ],
                "max_fs_entries": 7,
                "os_env_type": 1
              }
            },
            {
              "fstab-ephemeral-recovery-data": {
                "AAPL,phandle": "3",
                "children": [
                  {
                    "ephemeral-recovery-data-vol": {
                      "AAPL,phandle": "4",
                      "children": [],
                      "vol.fs_ephemeral": "",
                      "vol.fs_file": "/private/var",
                      "vol.fs_mntopts": "nosuid,nodev,size=262144,template=/private/var/",
                      "vol.fs_mntorder": "",
                      "vol.fs_name": "Data",
                      "vol.fs_passno": 2,
                      "vol.fs_type": "rw"
                    }
                  }
                ],
                "max_fs_entries": 1,
                "os_env_type": 2
              }
            },
            {
              "fstab-ephemeral-diag-data": {
                "AAPL,phandle": "5",
                "children": [
                  {
                    "ephemeral-diag-data-vol": {
                      "AAPL,phandle": "6",
                      "children": [],
                      "vol.fs_ephemeral": "",
                      "vol.fs_file": "/private/var",
                      "vol.fs_mntopts": "nosuid,nodev,size=1048576,template=/private/var/",
                      "vol.fs_mntorder": "",
                      "vol.fs_name": "Data",
                      "vol.fs_passno": 2,
                      "vol.fs_type": "rw"
                    }
                  },
                  {
                    "update-vol": {
                      "AAPL,phandle": "7",
                      "children": [],
                      "vol.fs_file": "/private/var/MobileSoftwareUpdate",
                      "vol.fs_mntopts": "nosuid,nodev,nobrowse",
                      "vol.fs_mntorder": 5,
                      "vol.fs_name": "Update",
                      "vol.fs_passno": 2,
                      "vol.fs_role": 0,
                      "vol.fs_type": "rw"
                    }
                  },
                  {
                    "preboot-vol": {
                      "AAPL,phandle": "8",
                      "children": [],
                      "vol.fs_file": "/private/preboot",
                      "vol.fs_mntopts": "nosuid,nodev,nobrowse",
                      "vol.fs_mntorder": 1,
                      "vol.fs_name": "Preboot",
                      "vol.fs_passno": 1,
                      "vol.fs_role": 16,
                      "vol.fs_type": "ro"
                    }
                  },
                  {
                    "hardware-vol": {
                      "AAPL,phandle": "9",
                      "children": [],
                      "vol.fs_file": "/private/var/hardware",
                      "vol.fs_mntopts": "nosuid,nodev,nobrowse",
                      "vol.fs_mntorder": 6,
                      "vol.fs_name": "Hardware",
                      "vol.fs_passno": 2,
                      "vol.fs_role": 64,
                      "vol.fs_type": "rw"
                    }
                  }
                ],
                "max_fs_entries": 7,
                "os_env_type": 3
              }
            }
          ]
        }
      },
      {
        "osenvironments": {
          "AAPL,phandle": ":",
          "children": [
            {
              "recovery-environment": {
                "AAPL,phandle": ";",
                "children": [
                  {
                    "ephemeral-recovery-data-volume": {
                      "AAPL,phandle": "<",
                      "children": [],
                      "node": "fstab",
                      "parent": "/filesystems",
                      "replacement": "fstab-ephemeral-recovery-data"
                    }
                  },
                  {
                    "ephemeral-storage": {
                      "AAPL,phandle": "=",
                      "children": [],
                      "property_name": "ephemeral-storage",
                      "value": 1
                    }
                  },
                  {
                    "no-sepfw-load-at-boot": {
                      "AAPL,phandle": ">",
                      "children": [],
                      "property_name": "sepfw-load-at-boot",
                      "value": ""
                    }
                  },
                  {
                    "no-protected-data-access": {
                      "AAPL,phandle": "?",
                      "children": [],
                      "property_name": "protected-data-access",
                      "value": ""
                    }
                  },
                  {
                    "amfi-allows-trust-cache-load": {
                      "AAPL,phandle": "@",
                      "children": [],
                      "property_name": "amfi-allows-trust-cache-load",
                      "value": 1
                    }
                  },
                  {
                    "disable-av-content-protection": {
                      "AAPL,phandle": "A",
                      "children": [],
                      "property_name": "disable-av-content-protection",
                      "value": 1
                    }
                  },
                  {
                    "use-recovery-securityd": {
                      "AAPL,phandle": "B",
                      "children": [],
                      "property_name": "use-recovery-securityd",
                      "value": 1
                    }
                  },
                  {
                    "disable-accessory-firmware": {
                      "AAPL,phandle": "C",
                      "children": [],
                      "property_name": "disable-accessory-firmware",
                      "value": 1
                    }
                  },
                  {
                    "apple-trusted-code": {
                      "AAPL,phandle": "D",
                      "children": [],
                      "property_name": "non-apple-or-untrusted-code",
                      "value": ""
                    }
                  },
                  {
                    "boot-args-not-allowed": {
                      "AAPL,phandle": "E",
                      "children": [],
                      "property_name": "allowed-boot-args",
                      "value": ""
                    }
                  },
                  {
                    "disallow-whitelist-disabled": {
                      "AAPL,phandle": "F",
                      "children": [],
                      "property_name": "allow-whitelist-disable",
                      "value": ""
                    }
                  }
                ]
              }
            },
            {
              "diagnostics-environment": {
                "AAPL,phandle": "G",
                "children": [
                  {
                    "disable-transport-rm": {
                      "AAPL,phandle": "H",
                      "children": [],
                      "property_name": "disable-transport-rm",
                      "value": 1
                    }
                  },
                  {
                    "no-protected-data-access": {
                      "AAPL,phandle": "I",
                      "children": [],
                      "property_name": "protected-data-access",
                      "value": ""
                    }
                  },
                  {
                    "amfi-allows-trust-cache-load": {
                      "AAPL,phandle": "J",
                      "children": [],
                      "property_name": "amfi-allows-trust-cache-load",
                      "value": 1
                    }
                  },
                  {
                    "enable-user-rm": {
                      "AAPL,phandle": "K",
                      "children": [],
                      "property_name": "enable-user-rm",
                      "value": 1
                    }
                  },
                  {
                    "enable-sep-rm": {
                      "AAPL,phandle": "L",
                      "children": [],
                      "property_name": "enable-sep-rm",
                      "value": 1
                    }
                  },
                  {
                    "boot-args-not-allowed": {
                      "AAPL,phandle": "M",
                      "children": [],
                      "property_name": "allowed-boot-args",
                      "value": ""
                    }
                  },
                  {
                    "disallow-whitelist-disabled": {
                      "AAPL,phandle": "N",
                      "children": [],
                      "property_name": "allow-whitelist-disable",
                      "value": ""
                    }
                  },
                  {
                    "security-not-downgradable": {
                      "AAPL,phandle": "O",
                      "children": [],
                      "property_name": "security-downgradable",
                      "value": ""
                    }
                  },
                  {
                    "apple-trusted-code": {
                      "AAPL,phandle": "P",
                      "children": [],
                      "property_name": "non-apple-or-untrusted-code",
                      "value": ""
                    }
                  },
                  {
                    "amfi-exec-req-tc-overrideable": {
                      "AAPL,phandle": "Q",
                      "children": [],
                      "property_name": "amfi-exec-req-tc-overrideable",
                      "value": 1
                    }
                  }
                ]
              }
            },
            {
              "darwinos-ramdisk-environment": {
                "AAPL,phandle": "R",
                "children": [
                  {
                    "ephemeral-recovery-data-volume": {
                      "AAPL,phandle": "S",
                      "children": [],
                      "node": "fstab",
                      "parent": "/filesystems",
                      "replacement": "fstab-ephemeral-recovery-data"
                    }
                  },
                  {
                    "ephemeral-storage": {
                      "AAPL,phandle": "T",
                      "children": [],
                      "property_name": "ephemeral-storage",
                      "value": 1
                    }
                  },
                  {
                    "no-protected-data-access": {
                      "AAPL,phandle": "U",
                      "children": [],
                      "property_name": "protected-data-access",
                      "value": ""
                    }
                  },
                  {
                    "boot-args-not-allowed": {
                      "AAPL,phandle": "V",
                      "children": [],
                      "property_name": "allowed-boot-args",
                      "value": ""
                    }
                  },
                  {
                    "disallow-whitelist-disabled": {
                      "AAPL,phandle": "W",
                      "children": [],
                      "property_name": "allow-whitelist-disable",
                      "value": ""
                    }
                  },
                  {
                    "no-sepfw-load-at-boot": {
                      "AAPL,phandle": "X",
                      "children": [],
                      "property_name": "sepfw-load-at-boot",
                      "value": ""
                    }
                  }
                ]
              }
            },
            {
              "kcgen-environment": {
                "AAPL,phandle": "Y",
                "children": [
                  {
                    "apple-trusted-code": {
                      "AAPL,phandle": "Z",
                      "children": [],
                      "property_name": "non-apple-or-untrusted-code",
                      "value": ""
                    }
                  },
                  {
                    "boot-args-not-allowed": {
                      "AAPL,phandle": "[",
                      "children": [],
                      "property_name": "allowed-boot-args",
                      "value": ""
                    }
                  },
                  {
                    "disallow-whitelist-disabled": {
                      "AAPL,phandle": "\\",
                      "children": [],
                      "property_name": "allow-whitelist-disable",
                      "value": ""
                    }
                  },
                  {
                    "amfi-exec-req-tc": {
                      "AAPL,phandle": "]",
                      "children": [],
                      "property_name": "amfi-exec-req-tc",
                      "value": 1
                    }
                  }
                ]
              }
            },
            {
              "recoveryos-environment": {
                "AAPL,phandle": "^",
                "children": [
                  {
                    "csr-allow-device-configuration": {
                      "AAPL,phandle": "_",
                      "children": [],
                      "property_name": "csr-allow-device-configuration",
                      "value": 1
                    }
                  },
                  {
                    "security-not-downgradable": {
                      "AAPL,phandle": "`",
                      "children": [],
                      "property_name": "security-downgradable",
                      "value": ""
                    }
                  },
                  {
                    "apple-trusted-code": {
                      "AAPL,phandle": "a",
                      "children": [],
                      "property_name": "non-apple-or-untrusted-code",
                      "value": ""
                    }
                  },
                  {
                    "only-dmgboot-boot-args-allowed": {
                      "AAPL,phandle": "b",
                      "children": [],
                      "property_name": "allowed-boot-args",
                      "value": "rp0"
                    }
                  },
                  {
                    "disallow-whitelist-disabled": {
                      "AAPL,phandle": "c",
                      "children": [],
                      "property_name": "allow-whitelist-disable",
                      "value": ""
                    }
                  },
                  {
                    "amfi-exec-req-tc-overrideable": {
                      "AAPL,phandle": "d",
                      "children": [],
                      "property_name": "amfi-exec-req-tc-overrideable",
                      "value": 1
                    }
                  }
                ]
              }
            },
            {
              "upgrade-environment": {
                "AAPL,phandle": "e",
                "children": [
                  {
                    "apple-trusted-code": {
                      "AAPL,phandle": "f",
                      "children": [],
                      "property_name": "non-apple-or-untrusted-code",
                      "value": ""
                    }
                  },
                  {
                    "enable-sep-rm": {
                      "AAPL,phandle": "g",
                      "children": [],
                      "property_name": "enable-sep-rm",
                      "value": 1
                    }
                  },
                  {
                    "boot-args-not-allowed": {
                      "AAPL,phandle": "h",
                      "children": [],
                      "property_name": "allowed-boot-args",
                      "value": ""
                    }
                  },
                  {
                    "disallow-whitelist-disabled": {
                      "AAPL,phandle": "i",
                      "children": [],
                      "property_name": "allow-whitelist-disable",
                      "value": ""
                    }
                  },
                  {
                    "amfi-exec-req-tc": {
                      "AAPL,phandle": "j",
                      "children": [],
                      "property_name": "amfi-exec-req-tc",
                      "value": 1
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ],
    "clock-frequency": "",
    "compatible": [
      "VMA2MACOSAP",
      "VirtualMac2,1",
      "AppleVirtualPlatformARM"
    ],
    "config-number": "syscfg/CFG#/0x40,zeroes/0x40",
    "device_type": "bootrom",
    "manufacturer": "Apple Inc.",
    "mlb-serial-number": "syscfg/MLB#/0x20,zeroes/0x20",
    "model": "VirtualMac2,1",
    "model-config": "syscfg/MdlC",
    "model-number": "syscfg/Mod#/0x20,zeroes/0x20",
    "platform-name": "",
    "region-info": "syscfg/Regn/0x20,zeroes/0x20",
    "regulatory-model-number": "syscfg/RMd#/0x20",
    "secure-root-prefix": "md",
    "serial-number": "syscfg/SrNm/0x20,zeroes/0x20",
    "target-type": "VMA2MACOS",
    "time-stamp": "Sat May 22 00:31:52 PDT 2021"
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment