The "reboot" command which worked in previous commits now causes the emulator to hang on "AMFI is running in RESEARCH mode!"
Boot command:
../qemu-system-aarch64 -accel tcg,tb-size=8192 -s -M t8030,trustcache-filename=static_tc,ticket-filename=root_ticket.der -kernel kernelcache.research.iphone12b -dtb Firmware/all_flash/DeviceTree.n104ap.im4p -append "debug=0x14e kextlog=0xffff serial=3 -v wdt=-1 launchd_unsecure_cache=1" -initrd 038-44135-124.dmg -cpu max -smp 4 -m 4G -serial mon:stdio -drive file=nvme.1,format=raw,if=none,id=drive.1 -device nvme-ns,drive=drive.1,bus=nvme-bus.0,nsid=1,nstype=1,logical_block_size=4096,physical_block_size=4096 -drive file=nvme.2,format=raw,if=none,id=drive.2 -device nvme-ns,drive=drive.2,bus=nvme-bus.0,nsid=2,nstype=2,logical_block_size=4096,physical_block_size=4096 -drive file=nvme.3,format=raw,if=none,id=drive.3 -device nvme-ns,drive=drive.3,bus=nvme-bus.0,nsid=3,nstype=3,logical_block_size=4096,physical_block_size=4096 -drive file=nvme.4,format=raw,if=none,id=drive.4 -device nvme-ns,drive=drive.4,bus=nvme-bus.0,nsid=4,nstype=4,logical_block_size=4096,physical_block_size=4096 -drive file=nvram,if=none,format=raw,id=nvram -device apple-nvram,drive=nvram,bus=nvme-bus.0,nsid=5,nstype=5,id=nvram,logical_block_size=4096,physical_block_size=4096 -drive file=nvme.6,format=raw,if=none,id=drive.6 -device nvme-ns,drive=drive.6,bus=nvme-bus.0,nsid=6,nstype=6,logical_block_size=4096,physical_block_size=4096 -drive file=nvme.7,format=raw,if=none,id=drive.7 -device nvme-ns,drive=drive.7,bus=nvme-bus.0,nsid=7,nstype=8,logical_block_size=4096,physical_block_size=4096 -monitor telnet:127.0.0.1:1235,server,nowait -nographic
Full log:
`Loading iOS 14.0...
kernel_low: 0xfffffff004000000
kernel_high: 0xfffffff00a4cd4f0
KPF: found apfs_vfsop_mount
KPF: found handle_eval_rootauth
KPF: Found AMFI hashtype check
kpf_amfi_callback: Found AMFI (Leaf)
kpf_amfi_callback: start @ 0xfffffff007b5d718
kpf_amfi_callback: Found lookup_in_static_trust_cache
KPF: Found mac_mount
KPF: Found mac_mount
kpf_amfi_callback: Found AMFI (Routine)
kpf_amfi_callback: start @ 0xfffffff0097edcb8
kpf_amfi_callback: Found lookup_in_trust_cache_module
KPF: Found AppleKeyStoreUserClient::handleUserClientCommandGated
Qemu FB realize
g_virt_base: 0xfffffff004000000
g_phys_base: 0x0000000802000000
entry: 0x00000008061204e8
boot_mode: 0
auto-boot=true
cmdline: [debug=0x14e kextlog=0xffff serial=3 -v wdt=-1 launchd_unsecure_cache=1]
iBoot version: qemu-t8030
Darwin Image4 Validator Version 3.0.0: Wed Aug 12 22:19:21 PDT 2020; root:AppleImage4-106.0.4.0.1~129/AppleImage4/RELEASE_ARM64E
AMFI is running in RESEARCH mode!
AUC:[0xffffffe19b7cf810]::init(0xffffffe19b80e2d8)
AUC:[0xffffffe19b7cf810]::probe(0xffffffe19b59dd60, 0xffffffe8080cbdac)
AppleCredentialManager: init: called, instance = .
ACMFirstResponderKernelService: init: called, .
ACMRM-S: init: called, starting PersistentStore service.
ACMRM-C: init: called, starting AccessoryCache service.
ACMKernelService: initValueFromBootArgAliasesUInt32: acc-cache size = 16 (default).
ACMKernelService: initValueFromBootArgAliasesUInt32: acc-cache expiration = 2592000 (default).
ACMRM: init: called, starting TRM service.
ACMRM-A: init: called, starting TRM Analytics service.
ACMKernelService: initValueFromBootArgAliasesUInt32: analytics collection period = 86400 (default).
ACMKernelService: initValueFromBootArgAliasesUInt32: policy mode timeout = 259200 (default).
ACMRM-A: notifyStandardModeTimeoutChanged: called, value = 259200 (modified = YES).
ACMKernelService: initValueFromBootArgAliasesUInt32: (bounded) grace period timeout = 3600 (default).
ACMRM-A: notifyGracePeriodTimeoutChanged: called, value = 3600 (modified = YES).
ACMKernelService: initValueFromBootArgAliasesUInt32: enabled = 1 (default).
ACMRM: _disableBy: [TRM ENABLED=YES] (mask=0, DISABLED BY: Def=NO* BtArg=NO LegHW=NO OSEnv=NO | MngCo=NO DwnOS=NO ChkBd=NO coGSw=NO).
ACMRM: _disableBy: [TRM ENABLED=YES] (mask=0, DISABLED BY: Def=NO BtArg=NO* LegHW=NO OSEnv=NO | MngCo=NO DwnOS=NO ChkBd=NO coGSw=NO).
ACMRM: _loadDisabledByOSEnvironment: disabled by OSEnvironment: NO.
ACMRM: _disableBy: [TRM ENABLED=YES] (mask=0, DISABLED BY: Def=NO BtArg=NO LegHW=NO OSEnv=NO* | MngCo=NO DwnOS=NO ChkBd=NO coGSw=NO).
ACMRM: _mapAndPublishTRM: set TRM_PolicyTimeout = 259200.
ACMRM: _mapAndPublishTRM: sending kIOMessageServicePropertyChange(n=1) while DISABLED, TRM: 259200 -/ff 4294967295 -/ff miss=ff (CUR: 259200 -/ff 4294967295 -/ff).
AppleCredentialManager: init: returning, result = true, instance = .
AppleARMBootPerf: Error: profile region not found (2)
AppleARMBootPerf: Error: failed to publish profile data (2)
virtual bool CoreAnalyticsHub::start(IOService *)::105:CoreAnalyticsHub start
AppleSSE::start called
AppleSSE::start returning, result = 1
AUC:[0xffffffe19b7cf810]::start(0xffffffe19b59dd60)
AppleSEPKeyStore:321:0: starting (BUILT: Aug 12 2020 22:51:30)
AppleSEPKeyStore:545:0: _sep_enabled = 1
AppleCredentialManager: start: called, instance = .
ACMRM: _publishIOResource: AppleUSBRestrictedModeTimeout = 259200.
AppleCredentialManager: start: initializing power management, instance = .
AppleCredentialManager: start: started, instance = .
AppleCredentialManager: start: returning, result = true, instance = .
AppleInterruptController::start: Num Shared Timestamps == 0
AppleGPIOICController::start: this: , _gpioicBaseAddress:
AppleS8000AES::start: registers at phys:0x0x235008000/0x0x23d2d0000 virt:0x/0x0x4000 / 0x/0x0x4000
AppleGPIOICController::start: this: , _gpioicBaseAddress:
AppleGPIOICController::start: this: , _gpioicBaseAddress:
virtual bool AppleARMLightEmUp::start(IOService *): starting...
AppleS5L8960XUSBPhy::start: hsic disabled
000001.007726 wlan0.A[1] start@968:Default options property found with value 4
Creating an object of AppleBCMWLANPlatformFunctionEmbeddedAMFM class
000001.032073 wlan0.A[2] start@1401: Raised adjustBusy(+1), getBusyState() -> 1
000001.032210 wlan0.A[3] start@1403:Setting up notifier for CoreAnalyticsHub
000001.046332 AppleNubSynopsysOTG3Device@: IOUSBDeviceController::prepareDefaults: model iPhone version 12.1
AppleA7IOPNub: withRegistryEntry, 47: allocated nub
Identified Serial Port uart0 at 0x235200000()
Identified Serial Port uart7 at 0x23521c000()
RTBuddy(SMC): start() - (Aug 12 2020@22:50:37)
RTBuddy(SMC): Boot args override: wdt = -1
RTBuddy(SMC): Resuming...
AppleA7IOPNub: withRegistryEntry, 47: allocated nub
Starting AppleSMC kext() - (Aug 12 2020@22:51:44)
AppleSMCEmbedded::setPowerState(): ENTER powerStateOrdinal=1, _activeKeyCommand=0 newState=1
RTBuddy(ANS2): start() - (Aug 12 2020@22:50:37)
RTBuddy(ANS2): Boot args override: wdt = -1
RTBuddy(ANS2): Resuming...
AppleA7IOPNub: withRegistryEntry, 47: allocated nub
RTBuddy(SIO): start() - (Aug 12 2020@22:50:37)
RTBuddy(SIO): Boot args override: wdt = -1
/Library/Caches/com.apple.xbs/Sources/AppleSMC/AppleSMC-589.0.5/AppleSMCEmbeddedCharger/AppleSMCCharger.cpp:408 _setPowerStateGated() ENTER powerStateOrdinal=1, _powerState=1
LPM: Log data is NOT valid. 0x0 0x0
AppleDialogSPMIPMU::start: Primary PMU detected
virtual IOService AppleANS2NVMeController::probe(IOService , SInt32 )::194:Found (ANS2) provider, returning score 100000
AppleARMRTC started!#####
AppleDialogSPMIPMURTC started!***
Failed to read info-leg_scrpadvirtual bool AppleANS2NVMeController::start(IOService *)::394:Found the ANS2Endpoint1
000001.146106 AppleNubSynopsysOTG3Device@: IOUSBDeviceController::gated_handleUSBCableConnect: cable connected, but don't have device configuration yet
AppleDialogSPMIPMURTC tick read!&&&&&&&
AppleDialogSPMIPMURTC ending!%%%
bool AppleEmbeddedNVMeController::SetNamespacesStruct()::186:Obtained 7 namespaces from DT
virtual IOFilterInterruptEventSource *AppleANS2NVMeController::CreateDeviceInterrupt(IOInterruptEventSource::Action, IOFilterInterruptEventSource::Filter, IOService *)::2719:ANS2 NVMe interrupt index - 0x4
AppleARMRTC registering service!@@@@@@
000001.150276 AppleNubSynopsysOTG3Device@: IOUSBDeviceController::gated_handleUSBCableConnect: cable connected, but don't have device configuration yet
AppleARMRTC service registered!$$$$$
AppleARMRTC publishing service!^^^^^^
apfs_module_start:2411: load: com.apple.filesystems.apfs, v1677.0.5, apfs-1677.0.5, 2020/08/12
com.apple.AppleFSCompressionTypeZlib kmod start
apfs_sysctl_register:1253: done registering sysctls.
com.apple.AppleFSCompressionTypeZlib load succeeded
L2TP domain init
L2TP domain init complete
Load request for com.apple.nke.pptp failed: -603946998
Waiting on IOProviderClassIOMediaIOPropertyMatchPartition ID0x1
virtual IOReturn IONVMeController::CreateSubmissionQueue(uint16_t, uint8_t)::2886:SQ index=0 entrysize=64
virtual IOReturn IONVMeController::CreateSubmissionQueue(uint16_t, uint8_t)::2886:SQ index=1 entrysize=128
ANS2: MMIO write to unknown vendor register, offset=0x1210 value=0x240024, returning
ANS2: MMIO write to unknown vendor register, offset=0x24004 value=0x1000, returning
ANS2: MMIO write to unknown vendor register, offset=0x24008 value=0x0, returning
ANS2: MMIO write to unknown vendor register, offset=0x24118 value=0x102, returning
ANS2: MMIO write to unknown vendor register, offset=0x24108 value=0x102, returning
ANS2: MMIO write to unknown vendor register, offset=0x24420 value=0x102, returning
ANS2: MMIO write to unknown vendor register, offset=0x24414 value=0x102, returning
ANS2: MMIO write to unknown vendor register, offset=0x2441c value=0x10002, returning
ANS2: MMIO write to unknown vendor register, offset=0x24418 value=0x10002, returning
ANS2: MMIO write to unknown vendor register, offset=0x24144 value=0x10002, returning
ANS2: MMIO write to unknown vendor register, offset=0x24524 value=0x10002, returning
ANS2: MMIO write to unknown vendor register, offset=0x24508 value=0x102, returning
ANS2: MMIO write to unknown vendor register, offset=0x24504 value=0x10002, returning
virtual void AppleANS2NVMeController::SetModeselRegister(uint32_t)::1186:Setting modesel to 0
ANS2: MMIO write to unknown vendor register, offset=0x1304 value=0x0, returning
bool AppleEmbeddedNVMeController::IdentifyNamespaces()::1964:nvme: Vendor ID : 0x1b36
bool AppleEmbeddedNVMeController::IdentifyNamespaces()::1965:nvme: Model Number : QEMU NVMe Ctrl
bool AppleEmbeddedNVMeController::IdentifyNamespaces()::1966:nvme: Serial Number : QEMUT8030ANS
bool AppleEmbeddedNVMeController::IdentifyNamespaces()::1967:nvme: Firmware Rev : 1.0
bool AppleEmbeddedNVMeController::IdentifyNamespaces()::2000:nvme: S3E A0 Invalid 1x slc 1D 0 plane 128GB NAND
bool AppleEmbeddedNVMeController::IdentifyNamespaces()::2009:ECCVersion : 0
bool AppleEmbeddedNVMeController::IdentifyNamespaces()::2010:FTL Rev : 0.0
bool AppleEmbeddedNVMeController::IdentifyNamespaces()::2011:DM_Version : 0
bool AppleEmbeddedNVMeController::IdentifyNamespaces()::2012:=======================
bool AppleEmbeddedNVMeController::IdentifyNamespaces()::2019:Found 16 namespaces in current NAND
bool AppleEmbeddedNVMeController::DetermineNamespaces()::2435:Identified nsid[1] as nstype[1]
bool AppleEmbeddedNVMeController::DetermineNamespaces()::2435:Identified nsid[2] as nstype[2]
bool AppleEmbeddedNVMeController::DetermineNamespaces()::2435:Identified nsid[3] as nstype[3]
bool AppleEmbeddedNVMeController::DetermineNamespaces()::2435:Identified nsid[4] as nstype[4]
bool AppleEmbeddedNVMeController::DetermineNamespaces()::2435:Identified nsid[5] as nstype[5]
bool AppleEmbeddedNVMeController::DetermineNamespaces()::2435:Identified nsid[6] as nstype[6]
bool AppleEmbeddedNVMeController::DetermineNamespaces()::2435:Identified nsid[7] as nstype[8]
bool AppleEmbeddedNVMeController::DetermineNamespaces()::2435:Identified nsid[8] as nstype[0]
bool AppleEmbeddedNVMeController::DetermineNamespaces()::2435:Identified nsid[9] as nstype[0]
bool AppleEmbeddedNVMeController::DetermineNamespaces()::2435:Identified nsid[10] as nstype[0]
bool AppleEmbeddedNVMeController::DetermineNamespaces()::2435:Identified nsid[11] as nstype[0]
bool AppleEmbeddedNVMeController::DetermineNamespaces()::2435:Identified nsid[12] as nstype[0]
bool AppleEmbeddedNVMeController::DetermineNamespaces()::2435:Identified nsid[13] as nstype[0]
bool AppleEmbeddedNVMeController::DetermineNamespaces()::2435:Identified nsid[14] as nstype[0]
bool AppleEmbeddedNVMeController::DetermineNamespaces()::2435:Identified nsid[15] as nstype[0]
bool AppleEmbeddedNVMeController::DetermineNamespaces()::2435:Identified nsid[16] as nstype[0]
bool AppleEmbeddedNVMeController::SetSwapWriteLimit(uint32_t)::2192: Swap limit set to 2147483648bytes, 2GB
uint32_t AppleEmbeddedNVMeNVRAM::GetNVRAMSize()::745:NVRAM size is 8192 bytes
virtual bool AppleEmbeddedNVMeController::AllocateNodes(bool)::1578:allocateAll 1
dev_init:297: disk0 device accelerated crypto: 0 (compiled @ Aug 12 2020 22:19:57)
dev_init:300: disk0 device_handle block size 4096 block count 8388597 features 0 internal
nx_kernel_mount:1134: disk0 initializing cache w/hash_size 4096 and cache size 10064
nx_kernel_mount:1234: disk0 container cleanly-unmounted flag set.
nx_kernel_mount:1402: disk0 checkpoint search: largest xid 376, best xid 376 @ 187
import_iboot_forwarded_roothash:2577: importing root hash ...
apfs_extract_root_hash_arm:10001: could not retrieve system-volume-auth-blob from device tree
import_iboot_forwarded_roothash:2580: apfs_extract_root_hash_and_manifest failed with error: No such file or directory (2)
Got boot device = IOService:/AppleARMPE/arm-io@10F00000/AppleT803xIO/ans@77400000/AppleASCWrapV2/iop-ans-nub/RTBuddyV2/RTBuddyService/AppleANS2NVMeController/NS_01@1/IOBlockStorageDriver/QEMU NVMe Ctrl Media/IOGUIDPartitionScheme/Container@1
BSD root: disk0s1, major 1, minor 1
apfs_vfsop_mountroot:2188: apfs: mountroot called!
virtual bool AppleEmbeddedNVMeController::AllocateNodes(bool)::1605:Creating blockdevice with NSID - 2, NSTYPE - 2
dev_init:297: disk0s1 device accelerated crypto: 3 (compiled @ Aug 12 2020 22:19:57)
dev_init:300: disk0s1 device_handle block size 4096 block count 8388597 features 22 internal solidstate
nx_kernel_mount:1134: disk0s1 initializing cache w/hash_size 4096 and cache size 10064
nx_kernel_mount:1234: disk0s1 container cleanly-unmounted flag set.
virtual bool AppleEmbeddedNVMeController::AllocateNodes(bool)::1605:Creating blockdevice with NSID - 3, NSTYPE - 3
virtual bool AppleEmbeddedNVMeController::AllocateNodes(bool)::1605:Creating blockdevice with NSID - 6, NSTYPE - 6
[effaceable:ERR ] unable to find content
[effaceable:INIT] started
virtual bool AppleEmbeddedNVMeController::AllocateNodes(bool)::1605:Creating blockdevice with NSID - 7, NSTYPE - 8
virtual IOReturn AppleNVMeNamespaceDevice::GetDeviceProperties()::269: Logical Blocks Size = 4096
virtual IOReturn AppleNVMeNamespaceDevice::GetDeviceProperties()::272: Block Count = 256
virtual bool AppleNVMeNamespaceDevice::start(IOService *)::111:NVMe Namespace Device registration done for NSID: 7, NSTYPE: 8
virtual bool AppleEmbeddedNVMeController::StartController()::1547:Setting NAND status to Ready
nx_kernel_mount:1402: disk0s1 checkpoint search: largest xid 376, best xid 376 @ 187
apfs_vfsop_mount:1848: Promoter has been locked for disk0s1
failed to find root-snapshot-name snapshot
handle_mount:627: vol-uuid: 75563A84-CD28-4FDF-A5CD-FDFB101AF003 block size: 4096 block count: 8388597 (unencrypted; flags: 0x1; features: 8.0.12)
handle_mount:640: setting dev block size to 4096 from 512
nx_volume_group_update:6634: Volume System is not in a volume group
apfs_vfsop_mount:2171: disk0s1s1:0 mounted volume: System
dyld: setting comm page to 0x0
Sun Apr 10 10:57:29 2022 com.apple.xpc.launchd[1] : hello
Darwin Bootstrapper Version 7.0.0: Mon Aug 10 04:09:14 PDT 2020; root:libxpc_executables-2038.0.1313/launchd/RELEASE_ARM64E
boot-args = debug=0x14e kextlog=0xffff serial=3 -v wdt=-1 launchd_unsecure_cache=1
Sun Apr 10 10:57:29 2022 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) : entering ondemand mode
Sun Apr 10 10:57:29 2022 localhost com.apple.xpc.launchd[1] : Doing boot task: fsck
** Checking the container superblock.
** Checking the object map.
** Checking volume.
** Checking the APFS volume superblock.
** The volume System was formatted by newfs_apfs (945.200.129.100.10) and last modified by apfs_kext (1934.101.3).
** Checking volume.
** Checking the APFS volume superblock.
** The volume Data was formatted by newfs_apfs (1677.0.5) and last modified by apfs_kext (1677.0.5).
** Checking volume.
** Checking the APFS volume superblock.
** The volume Hardware was formatted by newfs_apfs (1677.0.5) and last modified by apfs_kext (1677.0.5).
** Checking volume.
** Checking the APFS volume superblock.
** The volume Preboot was formatted by newfs_apfs (1677.0.5) and last modified by apfs_kext (1677.0.5).
** Checking volume.
** Checking the APFS volume superblock.
** The volume Update was formatted by newfs_apfs (1677.0.5) and last modified by apfs_kext (1677.0.5).
** QUICKCHECK ONLY; FILESYSTEM CLEAN
Sun Apr 10 10:57:30 2022 localhost com.apple.xpc.launchd[1] : Doing boot task: mount-phase-1
mount: found boot container: /dev/disk0s1, data volume: /dev/disk0s1s2 env: 1
handle_mount:627: vol-uuid: C022658D-2D8A-43EF-9511-578DEA98F3F6 block size: 4096 block count: 8388597 (unencrypted; flags: 0x1; features: 8.0.2)
handle_mount:640: setting dev block size to 4096 from 512
nx_volume_group_update:6628: Volume Preboot role 10 Not a System or data volume
apfs_vfsop_mount:2171: disk0s1s4:0 mounted volume: Preboot
/dev/disk0s1s4 on /private/preboot (apfs, local, nodev, nosuid, read-only, journaled, noatime, nobrowse)
Sun Apr 10 10:57:30 2022 localhost com.apple.xpc.launchd[1] : Doing boot task: data-protection
init_data_protection: No SEP present on this device
Sun Apr 10 10:57:31 2022 localhost com.apple.xpc.launchd[1] : Doing boot task: finish-obliteration
Obliterator: In INIT check
IORegistryEntryGetProperty failed, may be does not exist
Obliterator: No obliteration needed, continue booting, returning 0
Sun Apr 10 10:57:31 2022 localhost com.apple.xpc.launchd[1] : Doing boot task: commit-boot-mode
Sun Apr 10 10:57:31 2022 localhost com.apple.xpc.launchd[1] : boot-mode committed: (null)
Sun Apr 10 10:57:31 2022 localhost com.apple.xpc.launchd[1] : Doing boot task: restore-datapartition
Sun Apr 10 10:57:31 2022 localhost com.apple.xpc.launchd[1] : restore-datapartition: optional boot task not present
Sun Apr 10 10:57:31 2022 localhost com.apple.xpc.launchd[1] : Doing boot task: mount-phase-2
mount: found boot container: /dev/disk0s1, data volume: /dev/disk0s1s2 env: 1
spaceman_metazone_init:189: disk0s1 metazone for device 0 of size 262143 blocks (encrypted: 8126454-8257525 unencrypted: 8257525-8388597)
spaceman_datazone_init:442: disk0s1 allocation zone on dev 0 for allocations of 1 blocks starting at paddr 4096000
spaceman_datazone_init:442: disk0s1 allocation zone on dev 0 for allocations of 2 blocks starting at paddr 32768
spaceman_datazone_init:442: disk0s1 allocation zone on dev 0 for allocations of 3 blocks starting at paddr 65536
spaceman_datazone_init:442: disk0s1 allocation zone on dev 0 for allocations of 4 blocks starting at paddr 98304
dev_dump:256: Aggregate constructed: dev= di=0 dv_num_slice=15 dv_num_slice_blk=589824 dv_num_lslice_blk=131061
migrate_media_keys_if_needed:1206: no media keys to migrate for container = disk0s1
mount: failed to migrate Media Keys, error = c002
handle_mount:627: vol-uuid: 3344C381-3F31-4426-8AD2-CE2A55208C63 block size: 4096 block count: 8388597 (unencrypted; flags: 0x1; features: 8.0.2)
handle_mount:640: setting dev block size to 4096 from 512
nx_volume_group_update:6634: Volume Data is not in a volume group
apfs_vfsop_mount:2171: disk0s1s2:0 mounted volume: Data
/dev/disk0s1s2 on /private/var (apfs, local, nodev, nosuid, journaled, noatime)
handle_mount:627: vol-uuid: 1EB53D1F-1473-4853-8EB9-2AA055605BF1 block size: 4096 block count: 8388597 (unencrypted; flags: 0x1; features: 8.0.2)
handle_mount:640: setting dev block size to 4096 from 512
nx_volume_group_update:6628: Volume Update role c0 Not a System or data volume
apfs_vfsop_mount:2171: disk0s1s5:0 mounted volume: Update
/dev/disk0s1s5 on /private/var/MobileSoftwareUpdate (apfs, local, nodev, nosuid, journaled, noatime, nobrowse)
handle_mount:627: vol-uuid: A285CE9A-F9B3-4409-8E33-0BB7E2341F82 block size: 4096 block count: 8388597 (unencrypted; flags: 0x1; features: 8.0.2)
handle_mount:640: setting dev block size to 4096 from 512
nx_volume_group_update:6628: Volume Hardware role 140 Not a System or data volume
apfs_vfsop_mount:2171: disk0s1s3:0 mounted volume: Hardware
/dev/disk0s1s3 on /private/var/hardware (apfs, local, nodev, nosuid, journaled, noatime, nobrowse)
Sun Apr 10 03:57:32 2022 localhost com.apple.xpc.launchd[1] : Doing boot task: init-with-data-volume
Sun Apr 10 03:57:32 2022 localhost com.apple.xpc.launchd[1] : Doing boot task: MSUEarlyBootTask
main: MSUEarlyBootTask running
spaceman_trim_free_blocks:3361: disk0s1 scan took 0.962146 s, trims took 0.716117 s
spaceman_trim_free_blocks:3369: disk0s1 6511505 blocks free in 17343 extents
spaceman_trim_free_blocks:3377: disk0s1 6511505 blocks trimmed in 17343 extents (41 us/trim, 24218 trims/s)
spaceman_trim_free_blocks:3380: disk0s1 trim distribution 1:11316 2+:2452 4+:1743 16+:1305 64+:459 256+:68
main: Content from the ramdisk will be present at /private/var/MobileSoftwareUpdate/5118ea8f39ff61d152ba7e1f92591910cde7a2b09b867d8d58dc37e2cdc0b7c98dd296d4bf57862d143413dd17012d70-MSUData if it exists
MSUEarlyBootTask: I have nothing to do. Goodbye!!
Sun Apr 10 03:57:32 2022 localhost com.apple.xpc.launchd[1] : Doing boot task: fips
Tracing: disabled
FIPSPOST_USER [146790609] fipspost_post:158: PASSED: (7 ms) - fipspost_post_integrity
FIPSPOST_USER [146820463] fipspost_post:164: PASSED: (0 ms) - fipspost_post_hmac
FIPSPOST_USER [146829292] fipspost_post:165: PASSED: (0 ms) - fipspost_post_aes_ecb
FIPSPOST_USER [146838341] fipspost_post:166: PASSED: (0 ms) - fipspost_post_aes_cbc
FIPSPOST_USER [147183878] fipspost_post:167: PASSED: (14 ms) - fipspost_post_rsa_sig
FIPSPOST_USER [147380878] fipspost_post:168: PASSED: (8 ms) - fipspost_post_ecdsa
FIPSPOST_USER [147424804] fipspost_post:169: PASSED: (1 ms) - fipspost_post_ecdh
FIPSPOST_USER [147436170] fipspost_post:170: PASSED: (0 ms) - fipspost_post_drbg_ctr
FIPSPOST_USER [147455780] fipspost_post:171: PASSED: (0 ms) - fipspost_post_aes_ccm
FIPSPOST_USER [148233512] fipspost_post:173: PASSED: (32 ms) - fipspost_post_pbkdf
FIPSPOST_USER [148242268] fipspost_post:174: PASSED: (0 ms) - fipspost_post_kdf_ctr
FIPSPOST_USER [148452926] fipspost_post:175: PASSED: (8 ms) - fipspost_post_aes_gcm
FIPSPOST_USER [148467024] fipspost_post:176: PASSED: (0 ms) - fipspost_post_aes_xts
FIPSPOST_USER [148490219] fipspost_post:177: PASSED: (0 ms) - fipspost_post_tdes_cbc
FIPSPOST_USER [148506780] fipspost_post:178: PASSED: (0 ms) - fipspost_post_drbg_hmac
FIPSPOST_USER [148743317] fipspost_post:180: PASSED: (9 ms) - fipspost_post_ffdh
FIPSPOST_USER [149010926] fipspost_post:181: PASSED: (11 ms) - fipspost_post_rsa_enc_dec
FIPSPOST_USER [149013853] fipspost_post:201: all tests PASSED (100 ms)
Sun Apr 10 03:57:32 2022 localhost com.apple.xpc.launchd[1] : Doing boot task: keybag
****** DIAGNOSTICS MODE ENABLED, SKIP INIT ****
Sun Apr 10 03:57:32 2022 localhost com.apple.xpc.launchd[1] : Doing boot task: usermanagerd
Sun Apr 10 03:57:33 2022 localhost com.apple.xpc.launchd[1] : usermanagerd: optional boot task not present
Sun Apr 10 03:57:33 2022 localhost com.apple.xpc.launchd[1] : launchd logging initialized
Sun Apr 10 03:57:33 2022 localhost com.apple.xpc.launchd[1] : Doing boot task: xpcroleaccountd
Sun Apr 10 03:57:33 2022 localhost com.apple.xpc.launchd[1] : Doing boot task: init_featureflags
init_featureflags: skipping directory: /System/Library/FeatureFlags/Domain
init_featureflags: skipping directory: /Library/Preferences/FeatureFlags/Domain
Sun Apr 10 03:57:33 2022 localhost com.apple.xpc.launchd[1] : Doing boot task: fud
objc[19]: Class UARPManifestProperties is implemented in both /System/Library/PrivateFrameworks/CoreUARP.framework/CoreUARP and /System/Library/PrivateFrameworks/MobileAccessoryUpdater.framework/Support/fud. One of the two will be used. Which one is undefined.
fud: -FudEarlyBoot doFUDEarlyBoot:: Starting Early Boot
fud: No Early Boot Accessories
fud: -FudEarlyBoot doFUDEarlyBoot:: End Early Boot
Sun Apr 10 03:57:34 2022 localhost com.apple.xpc.launchd[1] : Doing boot task: tzinit
Sun Apr 10 03:57:34 2022 localhost com.apple.xpc.launchd[1] : Doing boot task: finish-restore
Sun Apr 10 03:57:34 2022 localhost com.apple.xpc.launchd[1] : Doing boot task: finish-demo-restore
Sun Apr 10 03:57:34 2022 localhost com.apple.xpc.launchd[1] : Doing boot task: sysstatuscheck
Sun Apr 10 03:57:34 2022 localhost com.apple.xpc.launchd[1] : Doing boot task: prng_seedctl
PRNG diagnostics:
0 user reseeds, 1 scheduled reseeds, 80 max samples in a scheduled reseed, 122 max samples in an entropy input
generator 0: 2 rekeys, 481 requests, 5808 total bytes requested, 64 max bytes requested in a request, 3656 bytes requested since rekey, 3656 max bytes requested between rekeys
generator 1: 2 rekeys, 47 requests, 836 total bytes requested, 64 max bytes requested in a request, 788 bytes requested since rekey, 788 max bytes requested between rekeys
generator 2: 2 rekeys, 10 requests, 112 total bytes requested, 16 max bytes requested in a request, 32 bytes requested since rekey, 80 max bytes requested between rekeys
generator 3: 2 rekeys, 0 requests, 0 total bytes requested, 0 max bytes requested in a request, 0 bytes requested since rekey, 0 max bytes requested between rekeys
pool 0: 0 samples, 1 drains, 80 max samples
pool 1: 122 samples, 0 drains, 122 max samples
pool 2: 41 samples, 0 drains, 41 max samples
pool 3: 69 samples, 0 drains, 69 max samples
pool 4: 87 samples, 0 drains, 87 max samples
pool 5: 114 samples, 0 drains, 114 max samples
pool 6: 34 samples, 0 drains, 34 max samples
pool 7: 50 samples, 0 drains, 50 max samples
pool 8: 88 samples, 0 drains, 88 max samples
pool 9: 41 samples, 0 drains, 41 max samples
pool 10: 83 samples, 0 drains, 83 max samples
pool 11: 49 samples, 0 drains, 49 max samples
pool 12: 40 samples, 0 drains, 40 max samples
pool 13: 50 samples, 0 drains, 50 max samples
pool 14: 122 samples, 0 drains, 122 max samples
pool 15: 70 samples, 0 drains, 70 max samples
pool 16: 0 samples, 0 drains, 0 max samples
pool 17: 0 samples, 0 drains, 0 max samples
pool 18: 0 samples, 0 drains, 0 max samples
pool 19: 0 samples, 0 drains, 0 max samples
pool 20: 0 samples, 0 drains, 0 max samples
pool 21: 0 samples, 0 drains, 0 max samples
pool 22: 0 samples, 0 drains, 0 max samples
pool 23: 0 samples, 0 drains, 0 max samples
pool 24: 0 samples, 0 drains, 0 max samples
pool 25: 0 samples, 0 drains, 0 max samples
pool 26: 0 samples, 0 drains, 0 max samples
pool 27: 0 samples, 0 drains, 0 max samples
pool 28: 0 samples, 0 drains, 0 max samples
pool 29: 0 samples, 0 drains, 0 max samples
pool 30: 0 samples, 0 drains, 0 max samples
pool 31: 0 samples, 0 drains, 0 max samples
failed to load virtual random: (-147) (-536870212)
Sun Apr 10 03:57:34 2022 localhost com.apple.xpc.launchd[1] : Doing boot task: launchd_cache_loader
0 Found valid port: 5123 Valid: 1
1 Found valid port: 0 Valid: 0
2 Found valid port: 0 Valid: 0
Using default cache paths
Code: /System/Library/xpc/launchd.plist Sig: /System/Library/xpc/launchd.plist.sig
Using unsecure cache: /System/Library/xpc/launchd.plist
Trying to send bytes to launchd: 5123 16384
Sending validated cache to launchd
Cache sent to launchd successfully
Sun Apr 10 03:57:34 2022 localhost com.apple.xpc.launchd[1] : launchd UUID: 4C2464F5-9F87-31DE-B252-584E3391D4FA
Sun Apr 10 03:57:34 2022 localhost com.apple.xpc.launchd[1] : Early boot complete. Continuing system boot.
bash-5.0# reboot
Sun Apr 10 03:57:37 2022 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) : System shutdown initiated by: reboot.27<-bash.26<-launchd.1
Sun Apr 10 03:57:37 2022 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) : shutdown UNINITIALIZED -> COMMITTED
Sun Apr 10 03:57:37 2022 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) : shutdown WAITING_ON_COALITIONS -> LAUNCH_SHUTDOWN_TEARDOWN
Sun Apr 10 03:57:37 2022 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) : Userspace teardown took: 166 ms
Sun Apr 10 03:57:37 2022 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) : Will be calling reboot(2) with flags: 0x0
Sun Apr 10 03:57:37 2022 localhost com.apple.xpc.launchd[1] : Quiescing queues
Sun Apr 10 03:57:37 2022 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) : shutdown LAUNCH_SHUTDOWN_TEARDOWN -> WAITING_ON_QUIESCE
launchd quiesce complete
apfs_stop_bg_work:1019: System is shutting down stop any bg work
apfs_vfsop_unmount:2375: disk0s1: unmounting volume 'Hardware'
apfs_vfsop_unmount:2406: waiting for cleaners to finish: purgatory
nx_volume_group_update:6628: Volume Hardware role 140 Not a System or data volume
apfs: total mem allocated: 1504392 (1 mb);
apfs_vfsop_unmount:2682: all done. going home. (numMountedAPFSVolumes 4)
apfs_vfsop_unmount:2375: disk0s1: unmounting volume 'Update'
apfs_vfsop_unmount:2406: waiting for cleaners to finish: purgatory
nx_volume_group_update:6628: Volume Update role c0 Not a System or data volume
apfs: total mem allocated: 1501756 (1 mb);
apfs_vfsop_unmount:2682: all done. going home. (numMountedAPFSVolumes 3)
apfs_vfsop_unmount:2375: disk0s1: unmounting volume 'Data'
apfs_vfsop_unmount:2406: waiting for cleaners to finish: purgatory
nx_volume_group_update:6634: Volume Data is not in a volume group
apfs: total mem allocated: 1490675 (1 mb);
apfs_vfsop_unmount:2682: all done. going home. (numMountedAPFSVolumes 2)
apfs_vfsop_unmount:2375: disk0s1: unmounting volume 'Preboot'
nx_volume_group_update:6628: Volume Preboot role 10 Not a System or data volume
apfs: total mem allocated: 1486659 (1 mb);
apfs_vfsop_unmount:2682: all done. going home. (numMountedAPFSVolumes 1)
apfs_vfsop_unmount:2375: disk0s1: unmounting volume 'System'
nx_volume_group_update:6634: Volume System is not in a volume group
dev_dump:256: Aggregate destructed: dev= di=0 dv_num_slice=15 dv_num_slice_blk=589824 dv_num_lslice_blk=131061
apfs: total mem allocated: 64 (0 mb);
apfs_vfsop_unmount:2682: all done. going home. (numMountedAPFSVolumes 0)
virtual void AppleEmbeddedNVMeController::systemWillShutdown(IOOptionBits)::4247:Entry, inOptions - 0xe0000310
virtual void AppleNVMeController::systemWillShutdown(IOOptionBits)::1311:Entry, inOptions - 0xe0000310
virtual void IONVMeController::systemWillShutdown(IOOptionBits)::509:Entry, inOptions - 0xe0000310
virtual void IONVMeController::systemWillShutdown(IOOptionBits)::559:Exit, inOptions - 0xe0000310
virtual void AppleEmbeddedNVMeController::systemWillShutdown(IOOptionBits)::4257:Exit, inOptions - 0xe0000310
IOPlatformHaltRestartAction -> AppleT8030PMGR
wdog restart
g_virt_base: 0xfffffff004000000
g_phys_base: 0x0000000802000000
entry: 0x00000008061204e8
boot_mode: 0
auto-boot=true
cmdline: [debug=0x14e kextlog=0xffff serial=3 -v wdt=-1 launchd_unsecure_cache=1]
iBoot version: qemu-t8030
Darwin Image4 Validator Version 3.0.0: Wed Aug 12 22:19:21 PDT 2020; root:AppleImage4-106.0.4.0.1129/AppleImage4/RELEASE_ARM64E
AMFI is running in RESEARCH mode!`