TrungNguyen1909 / qemu-t8030

iPhone 11 emulated on QEMU
Other
1.97k stars 194 forks source link

Failed to read nvram property #59

Closed 4bh1 closed 2 years ago

4bh1 commented 2 years ago

I followed the bringing the emulator, from what I could understand from the error is there could be some issue with nvram or missing plist files.

Following is the directory strucuture

iphone:
total 5304212
-rw-r--r--  1 zoro zoro   107767835 Jan  9  2007 038-44087-125.dmg
-rw-r--r--  1 zoro zoro   104685595 Jan  9  2007 038-44135-124.dmg
-rw-r--r--  1 zoro zoro  5155389281 Jan  9  2007 038-44337-083.dmg
-r--r--r--  1 zoro zoro      729171 Jan  9  2007 BuildManifest.plist
drwxr-xr-x 18 zoro zoro        4096 Jan  9  2007 Firmware
-rw-r--r--  1 zoro zoro    15278127 Jan  9  2007 kernelcache.release.iphone11b
-rw-r--r--  1 zoro zoro    15704952 Jan  9  2007 kernelcache.release.iphone12b
-rw-r--r--  1 zoro zoro    17429507 Jan  9  2007 kernelcache.research.iphone12b
-rw-r--r--  1 zoro zoro 34359738368 May 26 17:49 nvme.1
-rw-r--r--  1 zoro zoro     8388608 May 26 17:49 nvme.2
-rw-r--r--  1 zoro zoro      131072 May 26 17:49 nvme.3
-rw-r--r--  1 zoro zoro        8192 May 26 17:49 nvme.4
-rw-r--r--  1 zoro zoro        4096 May 26 17:49 nvme.6
-rw-r--r--  1 zoro zoro     1048576 May 26 17:49 nvme.7
-rw-r--r--  1 zoro zoro        8192 May 26 18:09 nvram
-r--r--r--  1 zoro zoro        1420 Jan  9  2007 Restore.plist
drwxr-xr-x 13 zoro zoro        4096 May 26 20:17 strap
-rw-r--r--  1 zoro zoro    14458876 May 26 20:17 strap.tar.lzma

lzfse:
total 40
-rw-r--r-- 1 zoro zoro  458 May 16 17:25 appveyor.yml
drwxr-xr-x 6 zoro zoro 4096 May 16 17:25 build
-rw-r--r-- 1 zoro zoro 4231 May 16 17:25 CMakeLists.txt
-rw-r--r-- 1 zoro zoro 1514 May 16 17:25 LICENSE
drwxr-xr-x 2 zoro zoro 4096 May 16 17:25 lzfse.xcodeproj
-rw-r--r-- 1 zoro zoro 3022 May 16 17:25 Makefile
-rw-r--r-- 1 zoro zoro 2582 May 16 17:25 README.md
drwxr-xr-x 2 zoro zoro 4096 May 16 17:25 src
drwxr-xr-x 2 zoro zoro 4096 May 16 17:25 tests

qemu-t8030:
total 1924
drwxr-xr-x  8 zoro zoro   4096 May 16 17:26 accel
drwxr-xr-x  2 zoro zoro   4096 May 16 17:26 audio
drwxr-xr-x  2 zoro zoro   4096 May 16 17:26 authz
drwxr-xr-x  3 zoro zoro   4096 May 16 17:26 backends
drwxr-xr-x  4 zoro zoro   4096 May 16 17:26 block
-rw-r--r--  1 zoro zoro 247543 May 16 17:26 block.c
-rw-r--r--  1 zoro zoro 119968 May 16 17:26 blockdev.c
-rw-r--r--  1 zoro zoro   7497 May 16 17:26 blockdev-nbd.c
-rw-r--r--  1 zoro zoro  16520 May 16 17:26 blockjob.c
drwxr-xr-x 10 zoro zoro   4096 May 16 17:26 bsd-user
drwxr-xr-x 77 zoro zoro   4096 May 26 12:49 build
drwxr-xr-x  2 zoro zoro   4096 May 16 17:26 capstone
drwxr-xr-x  2 zoro zoro   4096 May 16 17:26 chardev
drwxr-xr-x  3 zoro zoro   4096 May 16 17:26 common-user
drwxr-xr-x  4 zoro zoro   4096 May 16 17:26 configs
-rwxr-xr-x  1 zoro zoro  91796 May 16 17:26 configure
drwxr-xr-x 13 zoro zoro   4096 May 16 17:26 contrib
-rw-r--r--  1 zoro zoro  17992 May 16 17:26 COPYING
-rw-r--r--  1 zoro zoro  26530 May 16 17:26 COPYING.LIB
-rw-r--r--  1 zoro zoro  12950 May 16 17:26 cpu.c
-rw-r--r--  1 zoro zoro  10318 May 16 17:26 cpus-common.c
drwxr-xr-x  2 zoro zoro   4096 May 16 17:26 crypto
drwxr-xr-x  3 zoro zoro   4096 May 16 17:26 disas
-rw-r--r--  1 zoro zoro  10982 May 16 17:26 disas.c
drwxr-xr-x 14 zoro zoro   4096 May 16 17:26 docs
drwxr-xr-x  7 zoro zoro   4096 May 16 17:27 dtc
drwxr-xr-x  2 zoro zoro   4096 May 16 17:26 dump
drwxr-xr-x  2 zoro zoro   4096 May 16 17:26 ebpf
drwxr-xr-x  2 zoro zoro   4096 May 16 17:26 fpu
drwxr-xr-x  2 zoro zoro   4096 May 16 17:26 fsdev
-rw-r--r--  1 zoro zoro  93984 May 16 17:26 gdbstub.c
drwxr-xr-x  2 zoro zoro   4096 May 16 17:26 gdb-xml
-rw-r--r--  1 zoro zoro   1835 May 16 17:26 gitdm.config
-rw-r--r--  1 zoro zoro  52286 May 16 17:26 hmp-commands.hx
-rw-r--r--  1 zoro zoro  19607 May 16 17:26 hmp-commands-info.hx
drwxr-xr-x 68 zoro zoro   4096 May 16 17:26 hw
drwxr-xr-x 25 zoro zoro   4096 May 16 17:26 include
drwxr-xr-x  2 zoro zoro   4096 May 16 17:26 io
-rw-r--r--  1 zoro zoro  12640 May 16 17:26 iothread.c
-rw-r--r--  1 zoro zoro  27882 May 16 17:26 job.c
-rw-r--r--  1 zoro zoro   4997 May 16 17:26 job-qmp.c
-rw-r--r--  1 zoro zoro    132 May 16 17:26 Kconfig
-rw-r--r--  1 zoro zoro    598 May 16 17:26 Kconfig.host
drwxr-xr-x  3 zoro zoro   4096 May 16 17:26 libdecnumber
-rw-r--r--  1 zoro zoro   1177 May 16 17:26 LICENSE
drwxr-xr-x 12 zoro zoro   4096 May 16 17:26 linux-headers
drwxr-xr-x 24 zoro zoro   4096 May 16 17:26 linux-user
-rw-r--r--  1 zoro zoro  86163 May 16 17:26 MAINTAINERS
-rw-r--r--  1 zoro zoro  11567 May 16 17:26 Makefile
-rw-r--r--  1 zoro zoro  16093 May 16 17:26 memory_ldst.c.inc
drwxr-xr-x 14 zoro zoro   4096 May 16 17:27 meson
-rw-r--r--  1 zoro zoro 138523 May 16 17:26 meson.build
-rw-r--r--  1 zoro zoro  13676 May 16 17:26 meson_options.txt
drwxr-xr-x  2 zoro zoro   4096 May 16 17:26 migration
-rw-r--r--  1 zoro zoro    113 May 16 17:26 module-common.c
drwxr-xr-x  2 zoro zoro   4096 May 16 17:26 monitor
drwxr-xr-x  2 zoro zoro   4096 May 16 17:26 nbd
drwxr-xr-x  3 zoro zoro   4096 May 16 17:26 net
-rw-r--r--  1 zoro zoro   8495 May 16 17:26 os-posix.c
-rw-r--r--  1 zoro zoro   2249 May 16 17:26 os-win32.c
-rw-r--r--  1 zoro zoro   1223 May 16 17:26 page-vary.c
-rw-r--r--  1 zoro zoro   1668 May 16 17:26 page-vary-common.c
drwxr-xr-x  7 zoro zoro   4096 May 16 17:26 pc-bios
drwxr-xr-x  2 zoro zoro   4096 May 16 17:26 plugins
drwxr-xr-x  2 zoro zoro   4096 May 16 17:26 po
drwxr-xr-x  4 zoro zoro   4096 May 16 17:26 python
drwxr-xr-x  2 zoro zoro   4096 May 16 17:26 qapi
-rw-r--r--  1 zoro zoro  12152 May 16 17:26 qemu-bridge-helper.c
-rw-r--r--  1 zoro zoro   3681 May 16 17:26 qemu-edid.c
-rw-r--r--  1 zoro zoro 163649 May 16 17:26 qemu-img.c
-rw-r--r--  1 zoro zoro   5654 May 16 17:26 qemu-img-cmds.hx
-rw-r--r--  1 zoro zoro  18269 May 16 17:26 qemu-io.c
-rw-r--r--  1 zoro zoro  66195 May 16 17:26 qemu-io-cmds.c
-rw-r--r--  1 zoro zoro   7588 May 16 17:26 qemu-keymap.c
-rw-r--r--  1 zoro zoro  38211 May 16 17:26 qemu-nbd.c
-rw-r--r--  1 zoro zoro   6916 May 16 17:26 qemu.nsi
-rw-r--r--  1 zoro zoro 235167 May 16 17:26 qemu-options.hx
-rw-r--r--  1 zoro zoro   1694 May 16 17:26 qemu.sasl
drwxr-xr-x  4 zoro zoro   4096 May 16 17:26 qga
drwxr-xr-x  2 zoro zoro   4096 May 16 17:26 qobject
drwxr-xr-x  2 zoro zoro   4096 May 16 17:26 qom
-rw-r--r--  1 zoro zoro   5575 May 16 17:26 README.rst
drwxr-xr-x  2 zoro zoro   4096 May 16 17:26 replay
-rw-r--r--  1 zoro zoro   2530 May 16 17:26 replication.c
drwxr-xr-x 17 zoro zoro   4096 May 16 17:26 roms
drwxr-xr-x 16 zoro zoro   4096 May 16 17:26 scripts
drwxr-xr-x  2 zoro zoro   4096 May 16 17:26 scsi
drwxr-xr-x  2 zoro zoro   4096 May 16 17:26 semihosting
drwxr-xr-x  2 zoro zoro   4096 May 16 17:26 setup-ios
drwxr-xr-x  4 zoro zoro   4096 May 16 17:27 slirp
drwxr-xr-x  2 zoro zoro   4096 May 16 17:26 softmmu
drwxr-xr-x  3 zoro zoro   4096 May 16 17:26 storage-daemon
drwxr-xr-x  2 zoro zoro   4096 May 16 17:26 stubs
drwxr-xr-x  3 zoro zoro   4096 May 16 17:26 subprojects
drwxr-xr-x 22 zoro zoro   4096 May 16 17:26 target
drwxr-xr-x 12 zoro zoro   4096 May 16 17:26 tcg
drwxr-xr-x 27 zoro zoro   4096 May 16 17:26 tests
drwxr-xr-x  4 zoro zoro   4096 May 16 17:26 tools
drwxr-xr-x  2 zoro zoro   4096 May 16 17:26 trace
-rw-r--r--  1 zoro zoro   5582 May 16 17:26 trace-events
drwxr-xr-x  5 zoro zoro   4096 May 16 17:26 ui
drwxr-xr-x  2 zoro zoro   4096 May 16 17:26 util
-rw-r--r--  1 zoro zoro      6 May 16 17:26 VERSION.QEMU
-rw-r--r--  1 zoro zoro    867 May 16 17:26 version.rc

qemu-t8030-tools:
total 12
drwxr-xr-x 2 zoro zoro 4096 May 16 17:19 bootstrap_scripts
drwxr-xr-x 2 zoro zoro 4096 May 16 17:19 libimobiledevice_patches
-rw-r--r-- 1 zoro zoro  327 May 16 17:19 README.md

Following is the qemu logs

../qemu-t8030/build/qemu-system-aarch64 -snapshot -s -M t8030,trustcache-filename=Firmware/038-44135-124.dmg.trustcache \ 
-kernel kernelcache.research.iphone12b \
-dtb Firmware/all_flash/DeviceTree.n104ap.im4p \
-append "debug=0x14e kextlog=0xffff serial=3 -v" \
-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
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: Found lookup_in_trust_cache_module @ 0xfffffff007b5d71c
KPF: Found mac_mount
KPF: Found mac_mount
kpf_amfi_callback: Found AMFI (Routine)
kpf_amfi_callback: Found lookup_in_static_trust_cache @ 0xfffffff0097edcb8
KPF: Found AppleKeyStoreUserClient::handleUserClientCommandGated
Qemu FB realize
g_virt_base: 0xfffffff00a000000
g_phys_base: 0x0000000802000000
slide_virt: 0x0000000007000000
slide_phys: 0x0000000001000000
entry: 0x00000008071204e8
boot_mode: 0
auto-boot=false
cmdline: [-restore rd=md0 nand-enable-reformat=1 -progress debug=0x14e kextlog=0xffff serial=3 -v]
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
AppleImage4: failed to read nvram property: nonce-seeds: 2
AppleImage4: error reading seeds: 2
AMFI is running in RESEARCH mode!
AUC:[0xffffffe19bb18950]::init(0xffffffe19bb4a0a8)
AUC:[0xffffffe19bb18950]::probe(0xffffffe19b8e2300, 0xffffffe8080abdac)
AppleCredentialManager: init: called, instance = <ptr>.
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 = <ptr>.
AppleARMBootPerf: Error: profile region not found (2)
AppleARMBootPerf: Error: failed to publish profile data (2)
virtual bool CoreAnalyticsHub::start(IOService *)::105:CoreAnalyticsHub start
virtual bool AppleARMLightEmUp::start(IOService *): starting...
AppleSSE::start called
AppleSSE::start returning, result = 1
AUC:[0xffffffe19bb18950]::start(0xffffffe19b8e2300)
AppleS5L8940XI2CController::start: smc-i2c1 this: <ptr> _i2cBaseAddress: <ptr>
AppleGPIOICController::start: this: <ptr>, _gpioicBaseAddress: <ptr>
AppleGPIOICController::start: this: <ptr>, _gpioicBaseAddress: <ptr>
AppleS5L8940XI2CController::start: i2c1 this: <ptr> _i2cBaseAddress: <ptr>
AppleInterruptController::start: Num Shared Timestamps == 0
AppleSEPKeyStore:321:0: starting (BUILT: Aug 12 2020 22:51:30)
AppleSEPKeyStore:545:0: _sep_enabled = 1
AppleCredentialManager: start: called, instance = <ptr>.
ACMRM: _publishIOResource: AppleUSBRestrictedModeTimeout = 259200.
AppleCredentialManager: start: initializing power management, instance = <ptr>.
AppleCredentialManager: start: started, instance = <ptr>.
AppleCredentialManager: start: returning, result = true, instance = <ptr>.
AppleS5L8940XI2CController::start: i2c0 this: <ptr> _i2cBaseAddress: <ptr>
AppleS5L8940XI2CController::start: i2c2 this: <ptr> _i2cBaseAddress: <ptr>
AppleS5L8940XI2CController::start: smc-i2c0 this: <ptr> _i2cBaseAddress: <ptr>
AppleGPIOICController::start: this: <ptr>, _gpioicBaseAddress: <ptr>
000002.788268 wlan0.A[1] start@968:Default options property found with value 4
AppleS5L8940XI2CController::start: i2c3 this: <ptr> _i2cBaseAddress: <ptr>
AppleS5L8960XUSBPhy::start: hsic disabled
AppleS8000AES::start: registers at phys:0x0x235008000/0x0x23d2d0000 virt:0x<ptr>/0x0x4000 / 0x<ptr>/0x0x4000
Creating an object of AppleBCMWLANPlatformFunctionEmbeddedAMFM class
000002.898100 wlan0.A[2] start@1401: Raised adjustBusy(+1), getBusyState() -> 1
000002.898560 wlan0.A[3] start@1403:Setting up notifier for CoreAnalyticsHub
000002.939384 AppleNubSynopsysOTG3Device@: IOUSBDeviceController::prepareDefaults: model iPhone version 12.1
AppleA7IOPNub: withRegistryEntry, 47: allocated nub <ptr>
Identified Serial Port uart7 at 0x23521c000(<ptr>)
Identified Serial Port uart0 at 0x235200000(<ptr>)
AppleA7IOPNub: withRegistryEntry, 47: allocated nub <ptr>
RTBuddy(SMC): start(<ptr>) - (Aug 12 2020@22:50:37)
RTBuddy(ANS2): start(<ptr>) - (Aug 12 2020@22:50:37)
LPM state clear
LPM: Log data is NOT valid. 0x0 0x0
AppleDialogSPMIPMU::start: Primary PMU detected
AppleARMRTC started!#####
AppleDialogSPMIPMURTC started!******
Failed to read info-leg_scrpadAppleDialogSPMIPMURTC tick read!&&&&&&&
AppleDialogSPMIPMURTC ending!%%%
AppleARMRTC registering service!@@@@@@
RTBuddy(SMC): Resuming...
RTBuddy(ANS2): Resuming...
AppleA7IOPNub: withRegistryEntry, 47: allocated nub <ptr>
AppleARMRTC service registered!$$$$$
AppleARMRTC publishing service!^^^^^^
virtual IOService *AppleANS2NVMeController::probe(IOService *, SInt32 *)::194:Found (ANS2) provider, returning score 100000
void AppleEmbeddedNVMeController::GetRestoreEnvironment()::444:Restore Environment!
RTBuddy(SIO): start(<ptr>) - (Aug 12 2020@22:50:37)
000003.144880 AppleNubSynopsysOTG3Device@: IOUSBDeviceController::gated_handleUSBCableConnect: cable connected, but don't have device configuration yet
Starting AppleSMC kext(<ptr>) - (Aug 12 2020@22:51:44)
AppleSMCEmbedded::setPowerState(): ENTER powerStateOrdinal=1, _activeKeyCommand=17 newState=1
virtual bool AppleANS2NVMeController::start(IOService *)::394:Found the ANS2Endpoint1
000003.164450 AppleNubSynopsysOTG3Device@: IOUSBDeviceController::gated_handleUSBCableConnect: cable connected, but don't have device configuration yet
void AppleEmbeddedNVMeController::GetRestoreEnvironment()::444:Restore Environment!
bool AppleEmbeddedNVMeController::SetNamespacesStruct()::186:Obtained 7 namespaces from DT
virtual IOFilterInterruptEventSource *AppleANS2NVMeController::CreateDeviceInterrupt(IOInterruptEventSource::Action, IOFilterInterruptEventSource::Filter, IOService *)::2719:ANS2 NVMe interrupt index - 0x4
/Library/Caches/com.apple.xbs/Sources/AppleSMC/AppleSMC-589.0.5/AppleSMCEmbeddedCharger/AppleSMCCharger.cpp:408 _setPowerStateGated() ENTER powerStateOrdinal=1, _powerState=1
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
BSD root: md0, major 3, minor 0
virtual IOReturn IONVMeController::CreateSubmissionQueue(uint16_t, uint8_t)::2886:SQ index=0 entrysize=64
apfs_vfsop_mountroot:2188: apfs: mountroot called!
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
apfs_vfsop_mANS2: MMIO write to unknown vendor register, offset=0x24004 value=0x1000, returning
ount:1745: unable to root from devvpANS2: MMIO write to unknown vendor register, offset=0x24008 value=0x0, returning
 <ptr> (ANS2: MMIO write to unknown vendor register, offset=0x24118 value=0x102, returning
roANS2: MMIO write to unknown vendor register, offset=0x24108 value=0x102, returning
otANS2: MMIO write to unknown vendor register, offset=0x24420 value=0x102, returning
_dANS2: MMIO write to unknown vendor register, offset=0x24414 value=0x102, returning
evice): 2
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
apfs_vfsop_mountroot:2192: apfs: mountroot failed, error: 2
virtual void AppleANS2NVMeController::SetModeselRegister(uint32_t)::1186:Setting modesel to 4
ANS2: MMIO write to unknown vendor register, offset=0x1304 value=0x4, 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
hfs: mounted AzulSeed18A5351d.arm64eCustomerRamDisk on device b(3, 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
virtual bool AppleEmbeddedNVMeController::InitializeController()::507:FW update not complete, create dummy block device
uint32_t AppleEmbeddedNVMeNVRAM::GetNVRAMSize()::745:NVRAM size is 8192 bytes
virtual bool AppleEmbeddedNVMeController::AllocateNodes(bool)::1578:allocateAll 1
virtual bool AppleEmbeddedNVMeController::StartController()::1547:Setting NAND status to Ready
dyld: setting comm page to 0x0
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] <Notice>: hello
Darwin Bootstrapper Version 7.0.0: Mon Aug 10 04:09:14 PDT 2020; root:libxpc_executables-2038.0.13~13/launchd/RELEASE_ARM64E
boot-args = -restore rd=md0 nand-enable-reformat=1 -progress debug=0x14e kextlog=0xffff serial=3 -v
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] <Notice>: Restore environment starting.
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) <Notice>: entering ondemand mode
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] <Notice>: Skipping boot-task: fsck
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] <Notice>: Skipping boot-task: mount-phase-1
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] <Notice>: Skipping boot-task: data-protection
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] <Notice>: Skipping boot-task: finish-obliteration
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] <Notice>: Doing boot task: commit-boot-mode
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] <Notice>: boot-mode committed: (null)
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] <Notice>: Doing boot task: restore-datapartition
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] <Notice>: restore-datapartition: optional boot task not present
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] <Notice>: Skipping boot-task: mount-phase-2
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] <Notice>: Doing boot task: init-with-data-volume
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] <Notice>: Skipping boot-task: MSUEarlyBootTask
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] <Notice>: Skipping boot-task: fips
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] <Notice>: Skipping boot-task: keybag
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] <Notice>: Skipping boot-task: usermanagerd
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] <Notice>: Skipping boot-task: init_featureflags
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] <Notice>: Skipping boot-task: fud
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] <Notice>: Skipping boot-task: tzinit
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] <Notice>: Skipping boot-task: finish-restore
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] <Notice>: Skipping boot-task: finish-demo-restore
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] <Notice>: Skipping boot-task: sysstatuscheck
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] <Notice>: Skipping boot-task: prng_seedctl
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] <Error>: Unable to open /System/Library/xpc/launchd.plist [2:No such file or directory]
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] <Notice>: Skipping boot-task: launchd_cache_loader
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] <Error>: No MRM cache found
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] <Warning>: Unable to load cache
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] <Notice>: launchd UUID: 4C2464F5-9F87-31DE-B252-584E3391D4FA
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] <Notice>: Early boot complete. Continuing system boot.
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) <Notice>: entering bootstrap mode
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] (com.apple.KeyMaker) <Warning>: Unknown key for Boolean: EnablePressureExit
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) <Error>: com.apple.KeyMaker (lint): Unable to find persona with type 6: kpersona_find returned -1
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) <Error>: com.apple.PurpleReverseProxy.ramdisk (lint): Unable to find persona with type 6: kpersona_find returned -1
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) <Error>: com.apple.diskimagesiod.ram (lint): Unable to find persona with type 6: kpersona_find returned -1
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) <Error>: com.apple.restored_external (lint): Unable to find persona with type 6: kpersona_find returned -1
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) <Error>: Failed to bootstrap path: path = /System/Library/NanoLaunchDaemonsAltAccount, error = 2: No such file or directory
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) <Error>: Failed to bootstrap path: path = /System/Library/NanoLaunchDaemons, error = 2: No such file or directory
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) <Error>: Failed to bootstrap path: path = /AppleInternal/Library/LaunchDaemons, error = 2: No such file or directory
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) <Notice>: exiting bootstrap mode
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) <Notice>: exiting ondemand mode
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] (com.apple.KeyMaker.3) <Warning>: Could not find and/or execute program specified by service: 2: No such file or directory: /usr/local/bin/KeyMaker
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] (com.apple.KeyMaker.3) <Notice>: Service setup event to handle failure and will not launch until it fires.
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] (com.apple.KeyMaker.3) <Error>: Missing executable detected. Job: 'com.apple.KeyMaker' Executable: '/usr/local/bin/KeyMaker'
Thu May 26 14:48:05 2022 localhost com.apple.xpc.launchd[1] (com.apple.KeyMaker.3) <Warning>: Service exited with abnormal code: 78
objc[4]: Class AMSupportURLConnectionDelegate is implemented in both ?? (0x1014a0000) and ?? (0x101eb0028). One of the two will be used. Which one is undefined.
objc[4]: Class AMSupportURLSession is implemented in both ?? (0x1014a0050) and ?? (0x101eb0078). One of the two will be used. Which one is undefined.
[14:48:08.0929-GMT]{1>4} CHECKPOINT ANOMALY: [check_collection]auto-boot(does_not_exist)
[14:48:08.0955-GMT]{1>4} CHECKPOINT PROGRESS: START (unknown) -> (initial_monitor_no_return)
[14:48:08.0958-GMT]{1>4} CHECKPOINT NOTICE: NVRAM access available on initial check
restore-anomalies = {0x00000000:[check_collection]auto-boot(does_not_exist)}
restore-outcome = initial_monitor_no_return
executing /usr/sbin/nvram -s restore-outcome=initial_monitor_no_return
[14:48:09.0589-GMT]{1>4} CHECKPOINT NOTICE: (NVRAM set) restore-outcome=initial_monitor_no_return [sync=true] (initial entry)
entering set_boot_stage
[14:48:09.0684-GMT]{1>4} CHECKPOINT MONITOR: [0x0204] boot_stage
restore-step-monitor = {0x11010204:"boot_stage"}
executing /sbin/mount_tmpfs /mnt5
entering show_service_nodes
disk0
IOBlockStorageDriver RegistryID : 0x10000021e Busy State : 0x0 Service State : 0x1e
NS_01 RegistryID : 0x10000021d Busy State : 0x0 Service State : 0x1e
AppleANS2NVMeController RegistryID : 0x1000001fb Busy State : 0x0 Service State : 0x1e
RTBuddyService RegistryID : 0x1000001f3 Busy State : 0x0 Service State : 0x1e
RTBuddyV2 RegistryID : 0x1000001ea Busy State : 0x0 Service State : 0x1e
iop-ans-nub RegistryID : 0x100000132 Busy State : 0x0 Service State : 0x1e
AppleASCWrapV2 RegistryID : 0x1000001d8 Busy State : 0x0 Service State : 0x0
ans RegistryID : 0x100000131 Busy State : 0x0 Service State : 0x1e
AppleT803xIO RegistryID : 0x1000001a6 Busy State : 0x5 Service State : 0x1e
arm-io RegistryID : 0x100000116 Busy State : 0x1 Service State : 0x1e
AppleARMPE RegistryID : 0x100000186 Busy State : 0x2 Service State : 0x1e
N104DEV RegistryID : 0x100000185 Busy State : 0x1 Service State : 0x1e
Root RegistryID : 0x100000100 Busy State : 0x0 Service State : 0x0
[14:48:10.0034-GMT]{1>4} CHECKPOINT MONITOR: [0x1180] create_ramdisk
restore-step-monitor = {0x11011180:"create_ramdisk"}
[14:48:10.0036-GMT]{1>4} CHECKPOINT MONITOR: [0x0206] monitoring_child
restore-step-monitor = {0x11010206:"monitoring_child"}
objc[7]: Class AMSupportURLConnectionDelegate is implemented in both ?? (0x1017f0000) and ?? (0x102200028). One of the two will be used. Which one is undefined.
objc[7]: Class AMSupportURLSession is implemented in both ?? (0x1017f0050) and ?? (0x102200078). One of the two will be used. Which one is undefined.
libMobileGestalt MobileGestalt.c:711: RestoreLog: Client Query: Image4Supported
2022-05-26 14:48:11.678882+0000 restored_external[7:370] RestoreLog: Client Query: Image4Supported
libMobileGestalt utility.c:64: Could not open /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.mobilegestaltcache/Library/Caches/com.apple.MobileGestalt.plist: No such file or directory
2022-05-26 14:48:11.698142+0000 restored_external[7:370] Could not open /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.mobilegestaltcache/Library/Caches/com.apple.MobileGestalt.plist: No such file or directory
libMobileGestalt MobileGestalt.c:743: RestoreLog: Client Response: Image4Supported : true
2022-05-26 14:48:11.717470+0000 restored_external[7:370] RestoreLog: Client Response: Image4Supported : 1
[14:48:11.0719-GMT]{4>7} CHECKPOINT NOTICE: Image4 device: AP nonce clearable
entering ramrod_clear_ap_nonce
[14:48:11.0772-GMT]{4>7} CHECKPOINT NOTICE: AP nonce consumed
[14:48:11.0791-GMT]{4>7} CHECKPOINT NOTICE: Pre-existing NVRAM variable: restore-outcome=initial_monitor_no_return
[14:48:11.0822-GMT]{4>7} CHECKPOINT ANOMALY: [check_collection]auto-boot(does_not_exist)
[14:48:11.0825-GMT]{4>7} CHECKPOINT PROGRESS: START (unknown) -> (initial_engine_no_return)
[14:48:11.0826-GMT]{4>7} CHECKPOINT NOTICE: NVRAM access available on initial check
restore-anomalies = {0x00000000:[check_collection]auto-boot(does_not_exist)}
restore-outcome = initial_engine_no_return
executing /usr/sbin/nvram restore-outcome=initial_engine_no_return
[14:48:12.0325-GMT]{4>7} CHECKPOINT BEGIN: MAIN:[0x0400] umask
restore-step-ids = {0x11030400:1}
restore-step-names = {0x11030400:umask}
restore-step-uptime = 9
restore-step-user-progress = -1
[14:48:12.0332-GMT]{4>7} CHECKPOINT END: MAIN:[0x0400] umask
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 9
restore-step-user-progress = -1
[14:48:12.0337-GMT]{4>7} CHECKPOINT BEGIN: MAIN:[0x0402] setvbuf
restore-step-ids = {0x11030402:2}
restore-step-names = {0x11030402:setvbuf}
restore-step-uptime = 9
restore-step-user-progress = -1
[14:48:12.0342-GMT]{4>7} CHECKPOINT END: MAIN:[0x0402] setvbuf
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 9
restore-step-user-progress = -1
[14:48:12.0347-GMT]{4>7} CHECKPOINT BEGIN: MAIN:[0x0403] kernel_logger_thread
restore-step-ids = {0x11030403:3}
restore-step-names = {0x11030403:kernel_logger_thread}
restore-step-uptime = 9
restore-step-user-progress = -1
[14:48:12.0352-GMT]{4>7} CHECKPOINT END: MAIN:[0x0403] kernel_logger_thread
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 9
restore-step-user-progress = -1
[14:48:12.0359-GMT]{4>7} CHECKPOINT BEGIN: MAIN:[0x0406] set_progress_0
restore-step-ids = {0x11030406:4}
restore-step-names = {0x11030406:set_progress_0}
restore-step-uptime = 9
restore-step-user-progress = -1
libMobileGestalt MobileGestalt.c:711: RestoreLog: Client Query: DeviceClass
2022-05-26 14:48:12.367467+0000 restored_external[7:370] RestoreLog: Client Query: DeviceClass
libMobileGestalt MobileGestalt.c:743: RestoreLog: Client Response: DeviceClass : iPhone
2022-05-26 14:48:12.370310+0000 restored_external[7:370] RestoreLog: Client Response: DeviceClass : iPhone
libMobileGestalt MobileGestalt.c:711: RestoreLog: Client Query: DeviceColorMapPolicy
2022-05-26 14:48:12.372004+0000 restored_external[7:370] RestoreLog: Client Query: DeviceColorMapPolicy
libMobileGestalt MobileGestalt.c:743: RestoreLog: Client Response: DeviceColorMapPolicy : 0
2022-05-26 14:48:12.382616+0000 restored_external[7:370] RestoreLog: Client Response: DeviceColorMapPolicy : 0
2022-05-26 14:48:12.393758+0000 restored_external[7:370] IOMFB: /System/Library/Frameworks/MediaToolbox.framework/MediaToolbox not found
2022-05-26 14:48:12.397712+0000 restored_external[7:370] IOMFB: /System/Library/PrivateFrameworks/MediaToolbox.framework/MediaToolbox not found
2022-05-26 14:48:12.400924+0000 restored_external[7:370] IOMFB: /System/Library/PrivateFrameworks/Celestial.framework/Celestial not found
2022-05-26 14:48:12.402334+0000 restored_external[7:370] IOMFB: FigInstallVirtualDisplay not found
unable to get display list
unable to get framebuffer
No framebuffer but an internal display. Ok on bridge but weird anywhere else.
ramrod_display_set_granular_progress_forced: 0.000000
[14:48:18.0016-GMT]{4>7} CHECKPOINT END: MAIN:[0x0406] set_progress_0
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 15
restore-step-user-progress = 0
[14:48:18.0027-GMT]{4>7} CHECKPOINT BEGIN: MAIN:[0x0407] start_gasgauge_thread
restore-step-ids = {0x11030407:5}
restore-step-names = {0x11030407:start_gasgauge_thread}
restore-step-uptime = 15
restore-step-user-progress = 0
[14:48:18.0052-GMT]{4>7} CHECKPOINT WARNING: MAIN:[0x0407] gasgauge_start_update_thread failed: -1
restored_external: gasgauge_start_update_thread failed: -1
[14:48:18.0057-GMT]{4>7} CHECKPOINT END: MAIN:[0x0407] start_gasgauge_thread
restore-step-ids = {}
restore-step-names = {}
restore-step-warnings = {0x11060407:{0:"gasgauge_start_update_thread failed: -1"}}
restore-step-uptime = 15
restore-step-user-progress = 0
[14:48:18.0074-GMT]{4>7} CHECKPOINT BEGIN: MAIN:[0x0408] listen_for_log_client
restore-step-ids = {0x11030408:6}
restore-step-names = {0x11030408:listen_for_log_client}
restore-step-uptime = 15
restore-step-user-progress = 0
[14:48:18.0097-GMT]{4>7} CHECKPOINT END: MAIN:[0x0408] listen_for_log_client
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 15
restore-step-user-progress = 0
[14:48:18.0103-GMT]{4>7} CHECKPOINT BEGIN: MAIN:[0x040D] create_listen_socket
restore-step-ids = {0x1103040D:7}
restore-step-names = {0x1103040D:create_listen_socket}
restore-step-uptime = 15
restore-step-user-progress = 0
[14:48:18.0111-GMT]{4>7} CHECKPOINT END: MAIN:[0x040D] create_listen_socket
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 15
restore-step-user-progress = 0
[14:48:18.0117-GMT]{4>7} CHECKPOINT BEGIN: MAIN:[0x0404] update_root_mount
restore-step-ids = {0x11030404:8}
restore-step-names = {0x11030404:update_root_mount}
restore-step-uptime = 15
restore-step-user-progress = 0
[14:48:18.0158-GMT]{4>7} CHECKPOINT END: MAIN:[0x0404] update_root_mount
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 15
restore-step-user-progress = 0
[14:48:18.0163-GMT]{4>7} CHECKPOINT BEGIN: MAIN:[0x0405] disable_watchdog
restore-step-ids = {0x11030405:9}
restore-step-names = {0x11030405:disable_watchdog}
restore-step-uptime = 15
restore-step-user-progress = 0
[14:48:18.0177-GMT]{4>7} CHECKPOINT END: MAIN:[0x0405] disable_watchdog
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 15
restore-step-user-progress = 0
[14:48:18.0190-GMT]{4>7} CHECKPOINT BEGIN: MAIN:[0x040E] enable_usb
restore-step-ids = {0x1103040E:10}
restore-step-names = {0x1103040E:enable_usb}
restore-step-uptime = 15
restore-step-user-progress = 0
libMobileGestalt MobileGestalt.c:711: RestoreLog: Client Query: UniqueDeviceID
2022-05-26 14:48:18.259105+0000 restored_external[7:370] RestoreLog: Client Query: UniqueDeviceID
2022-05-26 14:48:18.261258+0000 restored_external[7:370] [fast-path] taking platform fast path for key: re6Zb+zwFKJNlkQTUeT+/w
libMobileGestalt MobileGestalt.c:711: RestoreLog: Client Query: nFRqKto/RuQAV1P+0/qkBA
2022-05-26 14:48:18.263541+0000 restored_external[7:370] RestoreLog: Client Query: nFRqKto/RuQAV1P+0/qkBA
2022-05-26 14:48:18.264773+0000 restored_external[7:370] [fast-path] taking platform fast path for key: nFRqKto/RuQAV1P+0/qkBA
libMobileGestalt MobileGestalt.c:711: RestoreLog: Client Query: TF31PAB6aO8KAbPyNKSxKA
2022-05-26 14:48:18.268898+0000 restored_external[7:370] RestoreLog: Client Query: TF31PAB6aO8KAbPyNKSxKA
libMobileGestalt MobileGestalt.c:743: RestoreLog: Client Response: TF31PAB6aO8KAbPyNKSxKA : 1234605616436508552
2022-05-26 14:48:18.275121+0000 restored_external[7:370] RestoreLog: Client Response: TF31PAB6aO8KAbPyNKSxKA : 1234605616436508552
libMobileGestalt MobileGestalt.c:711: RestoreLog: Client Query: 566JrJVMlDfnslGpwUzNlQ
2022-05-26 14:48:18.277011+0000 restored_external[7:370] RestoreLog: Client Query: 566JrJVMlDfnslGpwUzNlQ
libMobileGestalt MobileGestalt.c:743: RestoreLog: Client Response: 566JrJVMlDfnslGpwUzNlQ : 32816
2022-05-26 14:48:18.283882+0000 restored_external[7:370] RestoreLog: Client Response: 566JrJVMlDfnslGpwUzNlQ : 32816
libMobileGestalt MobileGestalt.c:743: RestoreLog: Client Response: nFRqKto/RuQAV1P+0/qkBA : <CFData 0x13880e540 [0x101ee41b8]>{length = 25, capacity = 25, bytes = 0x30303030383033302d31313232333334 ... 3535363637373838}
2022-05-26 14:48:18.304635+0000 restored_external[7:370] RestoreLog: Client Response: nFRqKto/RuQAV1P+0/qkBA : {length = 25, bytes = 0x30303030 38303330 2d313132 32333334 ... 35353636 37373838 }
libMobileGestalt MobileGestalt.c:743: RestoreLog: Client Response: UniqueDeviceID : 00008030-1122334455667788
2022-05-26 14:48:18.307444+0000 restored_external[7:370] RestoreLog: Client Response: UniqueDeviceID : 00008030-1122334455667788
000017.727052 AppleNubSynopsysOTG3Device@: IOUSBDeviceController::createUSBDevice: configuration: Apple Mobile Device
000017.727788 AppleNubSynopsysOTG3Device@: IOUSBDeviceController::createUSBDevice:    interface: AppleUSBMux
000017.728893 AppleNubSynopsysOTG3Device@: IOUSBDeviceController::createUSBDevice: configuration: Reserved 1 + Apple Mobile Device
000017.729475 AppleNubSynopsysOTG3Device@: IOUSBDeviceController::createUSBDevice:    interface: Reserved
000017.730027 AppleNubSynopsysOTG3Device@: IOUSBDeviceController::createUSBDevice:    interface: AppleUSBMux
000017.730562 AppleNubSynopsysOTG3Device@: IOUSBDeviceController::createUSBDevice: configuration: Reserved 2 + Apple Mobile Device
000017.731165 AppleNubSynopsysOTG3Device@: IOUSBDeviceController::createUSBDevice:    interface: Reserved
000017.731708 AppleNubSynopsysOTG3Device@: IOUSBDeviceController::createUSBDevice:    interface: AppleUSBMux
000017.732254 AppleNubSynopsysOTG3Device@: IOUSBDeviceController::createUSBDevice: configuration: Reserved 3 + Apple Mobile Device
000017.732852 AppleNubSynopsysOTG3Device@: IOUSBDeviceController::createUSBDevice:    interface: Reserved
000017.733326 AppleNubSynopsysOTG3Device@: IOUSBDeviceController::createUSBDevice:    interface: AppleUSBMux
waiting for matching IOKit service: {
    IOProviderClass = AppleUSBDeviceMux;
}
000017.752422 AppleNubSynopsysOTG3Device@: IOUSBDeviceController::gated_registerFunction: register function Reserved
AppleUSBDeviceMux build: Aug 12 2020 22:50:42
000017.769377 AppleNubSynopsysOTG3Device@: IOUSBDeviceController::gated_registerFunction: register function AppleUSBMux
000017.770859 AppleNubSynopsysOTG3Device@: IOUSBDeviceController::startUSBStack: starting usb stack
qemu: usb_tcp_host_attach: failed to connect to server: -1
IOReturn AppleUSBDeviceMux::setPropertiesGated(OSObject *) setting debug level to 7
[14:48:21.0340-GMT]{4>7} CHECKPOINT END: MAIN:[0x040E] enable_usb
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 18
restore-step-user-progress = 0
waiting for host to trigger start of restore [timeout of 120 seconds]
000022.894390 wlan0.A[4] initWithProvider@120:amfm not matched
000022.900667 wlan0.A[5] deferredStart@1730: Lowered adjustBusy(-1), getBusyState() -> 4
TrungNguyen1909 commented 2 years ago

This shouldn't be a problem I believe.

4bh1 commented 2 years ago

Not sure but I tried same on a different linux distro(ubuntu currently on Manjaro) but still unable to get it to boot, additionally for this I removed the root_ticket.der parameter as there was no such file. Still its unable to boot.

TrungNguyen1909 commented 2 years ago

wdym by unable to boot? the VM behave exactly as expected according to the logs.

4bh1 commented 2 years ago

From from what I understood from the guide there should be a open tcp port 12345, from which I can access the device. But no such thing happens.

TrungNguyen1909 commented 2 years ago

Connect to the monitor at localhost:1235 and use the q command to force quit.

The port is localhost:1235, you can try running telnet localhost 1235

iarchiveml commented 2 years ago

You need to set up a linux vm and compile idevicerestore along with its dependencies. See usb and restore in wiki for more info.