sickcodes / Docker-eyeOS

Run iPhone (xnu-arm64) in a Docker container! Supports KVM + iOS kernel debugging (GDB)! Run xnu-qemu-arm64 in Docker! Works on ANY device.
https://hub.docker.com/r/sickcodes/docker-eyeos
GNU General Public License v3.0
796 stars 69 forks source link

iOS fails to boot #14

Closed 0xTen closed 2 years ago

0xTen commented 2 years ago
❯ sudo docker run -it --privileged \
    --device /dev/kvm \
    -e RAM=6 \
    -e HFS_MAIN=./images/hfs.main \
    -e HFS_SEC=./images/hfs.sec \
    -p 2222:2222 \
    -v /tmp/dbus-IBEErsEHFZ:/tmp/dbus-IBEErsEHFZ \
    -v "$PWD/images:/home/arch/docker-eyeos/images" \
    -e "DISPLAY=${DISPLAY:-:0.0}" \
    -v /tmp/.X11-unix:/tmp/.X11-unix \
    sickcodes/docker-eyeos:latest
[sudo] password for xten: 
ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519 
nohup: appending output to 'nohup.out'
iBoot version: 
corecrypto_kext_start called
FIPSPOST_KEXT [39945037] fipspost_post:156: PASSED: (8 ms) - fipspost_post_integrity
FIPSPOST_KEXT [40061725] fipspost_post:162: PASSED: (4 ms) - fipspost_post_hmac
FIPSPOST_KEXT [40110504] fipspost_post:163: PASSED: (1 ms) - fipspost_post_aes_ecb
FIPSPOST_KEXT [40160625] fipspost_post:164: PASSED: (1 ms) - fipspost_post_aes_cbc
FIPSPOST_KEXT [44170846] fipspost_post:165: PASSED: (166 ms) - fipspost_post_rsa_sig
FIPSPOST_KEXT [46516613] fipspost_post:166: PASSED: (96 ms) - fipspost_post_ecdsa
FIPSPOST_KEXT [47066704] fipspost_post:167: PASSED: (22 ms) - fipspost_post_ecdh
FIPSPOST_KEXT [47116072] fipspost_post:168: PASSED: (1 ms) - fipspost_post_drbg_ctr
FIPSPOST_KEXT [47236778] fipspost_post:169: PASSED: (4 ms) - fipspost_post_aes_ccm
FIPSPOST_KEXT [47366206] fipspost_post:171: PASSED: (4 ms) - fipspost_post_aes_gcm
FIPSPOST_KEXT [47459580] fipspost_post:172: PASSED: (2 ms) - fipspost_post_aes_xts
FIPSPOST_KEXT [47587210] fipspost_post:173: PASSED: (4 ms) - fipspost_post_tdes_cbc
FIPSPOST_KEXT [47669961] fipspost_post:174: PASSED: (2 ms) - fipspost_post_drbg_hmac
FIPSPOST_KEXT [47684493] fipspost_post:197: all tests PASSED (331 ms)
AUC[<ptr>]::init(<ptr>)
AUC[<ptr>]::probe(<ptr>, <ptr>)
Darwin Image4 Validation Extension Version 1.0.0: Tue Oct 16 21:46:27 PDT 2018; root:AppleImage4-1.200.18~1853/AppleImage4/RELEASE_ARM64
AppleCredentialManager: init: called, instance = <ptr>.
ACMRM: init: called, ACMDRM_ENABLED=YES, ACMDRM_STATE_PUBLISHING_ENABLED=YES, ACMDRM_KEYBAG_OBSERVING_ENABLED=YES.
ACMRM: _loadRestrictedModeForceEnable: restricted mode force-enabled = 0 .
ACMRM-A: init: called, .
ACMRM-A: _loadAnalyticsCollectionPeriod: analytics collection period = 86400 .
ACMRM: _loadStandardModeTimeout: standard mode timeout = 259200 .
ACMRM-A: notifyStandardModeTimeoutChanged: called, value = 259200 (modified = YES).
AppleS8000IO::start: chip-revision: A0
ACMRM: _loadGracePeriodTimeout: device lock timeout = 3600 .
ACMRM-A: notifyGracePeriodTimeoutChanged: called, value = 3600 (modified = YES).
AppleCredentialManager: init: returning, result = true, instance = <ptr>.
AUC[<ptr>]::start(<ptr>)
AppleS8000IO::start: this: <ptr>, TCC virt addr: <ptr>, TCC phys addr: 0x202240000
AppleKeyStore starting (BUILT: Oct 17 2018 20:34:07)
AppleSEPKeyStore::start: _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>.
virtual bool AppleARMLightEmUp::start(IOService *): starting...
AppleARMPE::getGMTTimeOfDay can not provide time of day: RTC did not show up
: apfs_module_start:1277: load: com.apple.filesystems.apfs, v748.220.3, 748.220.3, 2018/10/16
com.apple.AppleFSCompressionTypeZlib kmod start
IOSurfaceRoot::installMemoryRegions()
IOSurface disallowing global lookups
apfs_sysctl_register:911: done registering sysctls.
com.apple.AppleFSCompressionTypeZlib load succeeded
L2TP domain init
L2TP domain init complete
PPTP domain init
Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOService</string><key>BSD Name</key><string ID="2">disk0</string></dict>
Got boot device = IOService:/AppleARMPE/AlephStorageBlockDevice/IOBlockStorageDriver/1Aleph 1AlephBDev Media
BSD root: disk0, major 1, minor 0
apfs_vfsop_mountroot:1468: apfs: mountroot called!
dev_init:261: /dev/disk0: device accelerated crypto: 0 (compiled @ Oct 16 2018 21:46:13)
dev_init:264: /dev/disk0: device_handle block size 4096 block count 1572864 features 0 internal 
apfs_vfsop_mount:1231: unable to root from devvp <ptr> (root_device): 79
apfs_vfsop_mountroot:1472: apfs: mountroot failed, error: 79
hfs: mounted PeaceB16B92.arm64UpdateRamDisk on device b(1, 0)
Darwin Bootstrapper Version 6.0.0: Tue Oct 16 22:26:06 PDT 2018; root:libxpc_executables-1336.220.5~209/launchd/RELEASE_ARM64
boot-args = debug=0x8 kextlog=0xfff cpus=1 rd=disk0 serial=2
Thu Jan  1 00:01:08 1970  com.apple.xpc.launchd[1] <Notice>: Restore environment starting.
: : Thu Jan  1 00:01:09 1970 localhost com.apple.xpc.launchd[1] <Notice>: Early boot complete. Continuing system boot.
Thu Jan  1 00:01:10 1970 localhost com.apple.xpc.launchd[1] (com.apple.BTServer.pbap) <Error>: ThrottleInterval set to zero. You're not that important. Ignoring.
Thu Jan  1 00:01:10 1970 localhost com.apple.xpc.launchd[1] (com.apple.BTServer.map) <Error>: ThrottleInterval set to zero. You're not that important. Ignoring.
Thu Jan  1 00:01:10 1970 localhost com.apple.xpc.launchd[1] (com.apple.AdminLite) <Error>: ThrottleInterval set to zero. You're not that important. Ignoring.
Thu Jan  1 00:01:10 1970 localhost com.apple.xpc.launchd[1] (com.apple.BTServer.avrcp) <Error>: ThrottleInterval set to zero. You're not that important. Ignoring.
Thu Jan  1 00:01:10 1970 localhost com.apple.xpc.launchd[1] (com.apple.BlueTool) <Error>: ThrottleInterval set to zero. You're not that important. Ignoring.
Thu Jan  1 00:01:10 1970 localhost com.apple.xpc.launchd[1] (com.apple.CommCenter) <Notice>: This service is defined to be constantly running and is inherently inefficient.
Thu Jan  1 00:01:10 1970 localhost com.apple.xpc.launchd[1] (com.apple.CommCenterMobileHelper) <Error>: ThrottleInterval set to zero. You're not that important. Ignoring.
Thu Jan  1 00:01:10 1970 localhost com.apple.xpc.launchd[1] (com.apple.DMHelper) <Error>: ThrottleInterval set to zero. You're not that important. Ignoring.
Thu Jan  1 00:01:10 1970 localhost com.apple.xpc.launchd[1] (com.apple.CommCenterRootHelper) <Error>: ThrottleInterval set to zero. You're not that important. Ignoring.
Thu Jan  1 00:01:11 1970 localhost com.apple.xpc.launchd[1] (com.apple.ReportCrash.SimulateCrash) <Warning>: Unknown key for string: EfficiencyMode
Thu Jan  1 00:01:11 1970 localhost com.apple.xpc.launchd[1] (com.apple.ReportCrash.Jetsam) <Warning>: Unknown key for string: EfficiencyMode
Thu Jan  1 00:01:11 1970 localhost com.apple.xpc.launchd[1] (com.apple.ReportCrash) <Warning>: Unknown key for string: EfficiencyMode
Thu Jan  1 00:01:11 1970 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) <Error>: com.apple.ReportMemoryException (lint): Unrecognized MachService property: DrainMessagesOnCrash
Thu Jan  1 00:01:11 1970 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) <Error>: com.apple.ReportMemoryException (lint): Unrecognized MachService property: DrainMessagesOnCrash
Thu Jan  1 00:01:11 1970 localhost com.apple.xpc.launchd[1] (com.apple.SpringBoard) <Warning>: Unknown key for Boolean: HighPriorityIO
Thu Jan  1 00:01:11 1970 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) <Warning>: com.apple.SpringBoard (lint): The HideUntilCheckIn property is an architectural performance issue. Please transition away from it.
Thu Jan  1 00:01:11 1970 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) <Warning>: com.apple.SpringBoard (lint): The HideUntilCheckIn property is an architectural performance issue. Please transition away from it.
Thu Jan  1 00:01:11 1970 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) <Warning>: com.apple.SpringBoard (lint): The HideUntilCheckIn property is an architectural performance issue. Please transition away from it.
Thu Jan  1 00:01:11 1970 localhost com.apple.xpc.launchd[1] (com.apple.SpringBoard) <Notice>: This service is defined to be constantly running and is inherently inefficient.
Thu Jan  1 00:01:11 1970 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) <Error>: Could not import service from caller: path = /System/Library/LaunchDaemons/com.apple.SepUpdateTimer.plist, caller = launchd.1, error = 138: Service cannot be loaded on this hardware
Thu Jan  1 00:01:11 1970 localhost com.apple.xpc.launchd[1] (com.apple.UserEventAgent-System) <Notice>: This service is defined to be constantly running and is inherently inefficient.
Thu Jan  1 00:01:12 1970 localhost com.apple.xpc.launchd[1] (com.apple.WirelessRadioManager) <Notice>: This service is defined to be constantly running and is inherently inefficient.
Thu Jan  1 00:01:12 1970 localhost com.apple.xpc.launchd[1] (com.apple.adid) <Warning>: Unknown key for Boolean: com.apple.security.system-container
Thu Jan  1 00:01:12 1970 localhost com.apple.xpc.launchd[1] (com.apple.aggregated) <Notice>: This service is defined to be constantly running and is inherently inefficient.
Thu Jan  1 00:01:12 1970 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) <Warning>: com.apple.accessoryd (lint): The HideUntilCheckIn property is an architectural performance issue. Please transition away from it.
Thu Jan  1 00:01:12 1970 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) <Warning>: com.apple.accessoryd (lint): The HideUntilCheckIn property is an architectural performance issue. Please transition away from it.
Thu Jan  1 00:01:12 1970 localhost com.apple.xpc.launchd[1] (com.apple.askpermissiond) <Warning>: Unknown key for dictionary: EnvironmentalVariables
Thu Jan  1 00:01:12 1970 localhost com.apple.xpc.launchd[1] (com.apple.assertiond) <Notice>: This service is defined to be constantly running and is inherently inefficient.
Thu Jan  1 00:01:12 1970 localhost com.apple.xpc.launchd[1] (com.apple.awdd) <Error>: The ServiceIPC key is no longer respected. Please remove it.
Thu Jan  1 00:01:12 1970 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) <Warning>: com.apple.atc (lint): Unknown key for array: com.apple.security.exception.mach-lookup.global-name
Thu Jan  1 00:01:12 1970 localhost com.apple.xpc.launchd[1] (com.apple.backboardd) <Warning>: Unknown key for Boolean: HighPriorityIO
Thu Jan  1 00:01:12 1970 localhost com.apple.xpc.launchd[1] (com.apple.backboardd) <Notice>: This service is defined to be constantly running and is inherently inefficient.
Thu Jan  1 00:01:13 1970 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) <Warning>: com.apple.calaccessd (lint): The HideUntilCheckIn property is an architectural performance issue. Please transition away from it.
Thu Jan  1 00:01:13 1970 localhost com.apple.xpc.launchd[1] (com.apple.certui.relay) <Error>: ThrottleInterval set to zero. You're not that important. Ignoring.
Thu Jan  1 00:01:13 1970 localhost com.apple.xpc.launchd[1] (com.apple.configd) <Notice>: This service is defined to be constantly running and is inherently inefficient.
Thu Jan  1 00:01:13 1970 localhost com.apple.xpc.launchd[1] (com.apple.coreservices.useractivityd) <Warning>: Unknown key for Boolean: DrainMessagesAfterFailedInit
Thu Jan  1 00:01:14 1970 localhost com.apple.xpc.launchd[1] (com.apple.fairplayd.H2) <Warning>: Unknown key for string: CFBundleDevelopmentRegion
Thu Jan  1 00:01:14 1970 localhost com.apple.xpc.launchd[1] (com.apple.fairplayd.H2) <Notice>: This service is defined to be constantly running and is inherently inefficient.
Thu Jan  1 00:01:14 1970 localhost com.apple.xpc.launchd[1] (com.apple.fairplayd.H2) <Warning>: Unknown key for string: CFBundleName
Thu Jan  1 00:01:14 1970 localhost com.apple.xpc.launchd[1] (com.apple.fairplayd.H2) <Warning>: Unknown key for string: CFBundleInfoDictionaryVersion
Thu Jan  1 00:01:14 1970 localhost com.apple.xpc.launchd[1] (com.apple.familynotification) <Warning>: Unknown key for dictionary: EnvironmentalVariables
Thu Jan  1 00:01:14 1970 localhost com.apple.xpc.launchd[1] (com.apple.familycircled) <Warning>: Unknown key for dictionary: EnvironmentalVariables
Thu Jan  1 00:01:14 1970 localhost com.apple.xpc.launchd[1] (com.apple.fseventsd) <Error>: The HopefullyExitsLast key is no longer respected. Please remove it.
Thu Jan  1 00:01:14 1970 localhost com.apple.xpc.launchd[1] (com.apple.fseventsd) <Notice>: This service is defined to be constantly running and is inherently inefficient.
Thu Jan  1 00:01:14 1970 localhost com.apple.xpc.launchd[1] (com.apple.healthd) <Error>: ThrottleInterval set to zero. You're not that important. Ignoring.
Thu Jan  1 00:01:14 1970 localhost com.apple.xpc.launchd[1] (com.apple.healthd) <Warning>: Unknown key for Boolean: CFBundleAllowMixedLocalizations
Thu Jan  1 00:01:14 1970 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) <Warning>: com.apple.iapd (lint): The HideUntilCheckIn property is an architectural performance issue. Please transition away from it.
Thu Jan  1 00:01:14 1970 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) <Warning>: com.apple.iapd (lint): The HideUntilCheckIn property is an architectural performance issue. Please transition away from it.
Thu Jan  1 00:01:14 1970 localhost com.apple.xpc.launchd[1] (com.apple.icloud.fmfd) <Error>: The Debug key is no longer respected. Please remove it.
Thu Jan  1 00:01:15 1970 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) <Error>: Could not import service from caller: path = /System/Library/LaunchDaemons/com.apple.iomfb_bics_daemon.plist, caller = launchd.1, error = 138: Service cannot be loaded on this hardware
Thu Jan  1 00:01:15 1970 localhost com.apple.xpc.launchd[1] (com.apple.logd) <Warning>: Unknown key for Boolean: BeginTransactionAtShutdown
Thu Jan  1 00:01:15 1970 localhost com.apple.xpc.launchd[1] (com.apple.logd) <Notice>: This service is defined to be constantly running and is inherently inefficient.
Thu Jan  1 00:01:15 1970 localhost com.apple.xpc.launchd[1] (com.apple.lskdmsed) <Error>: ThrottleInterval set to zero. You're not that important. Ignoring.
Thu Jan  1 00:01:15 1970 localhost com.apple.xpc.launchd[1] (com.apple.lskdmsed) <Warning>: Unknown key for string: CFBundleDevelopmentRegion
Thu Jan  1 00:01:15 1970 localhost com.apple.xpc.launchd[1] (com.apple.lskdmsed) <Warning>: Unknown key for string: CFBundleName
Thu Jan  1 00:01:15 1970 localhost com.apple.xpc.launchd[1] (com.apple.lskdmsed) <Warning>: Unknown key for string: CFBundleVersion
Thu Jan  1 00:01:15 1970 localhost com.apple.xpc.launchd[1] (com.apple.lskdmsed) <Warning>: Unknown key for string: CFBundleInfoDictionaryVersion
Thu Jan  1 00:01:15 1970 localhost com.apple.xpc.launchd[1] (Listeners) <Error>: assertion failed: 16B92: launchd + 65484 [3BF1C569-F782-3856-9244-69B5EF08DAC2]: 0x2
Thu Jan  1 00:01:15 1970 localhost com.apple.xpc.launchd[1] (com.apple.lskdd) <Error>: ThrottleInterval set to zero. You're not that important. Ignoring.
Thu Jan  1 00:01:15 1970 localhost com.apple.xpc.launchd[1] (com.apple.lskdd) <Warning>: Unknown key for string: CFBundleDevelopmentRegion
Thu Jan  1 00:01:15 1970 localhost com.apple.xpc.launchd[1] (com.apple.lskdd) <Warning>: Unknown key for string: CFBundleName
Thu Jan  1 00:01:15 1970 localhost com.apple.xpc.launchd[1] (com.apple.lskdd) <Warning>: Unknown key for string: CFBundleVersion
Thu Jan  1 00:01:15 1970 localhost com.apple.xpc.launchd[1] (com.apple.lskdd) <Warning>: Unknown key for string: CFBundleInfoDictionaryVersion
Thu Jan  1 00:01:16 1970 localhost com.apple.xpc.launchd[1] (com.apple.managedconfiguration.profiled) <Error>: ThrottleInterval set to zero. You're not that important. Ignoring.
Thu Jan  1 00:01:16 1970 localhost com.apple.xpc.launchd[1] (com.apple.mediaartworkd) <Warning>: Unknown ProcessType: AdaptiveUtility
Thu Jan  1 00:01:16 1970 localhost com.apple.xpc.launchd[1] (com.apple.mediaserverd) <Notice>: This service is defined to be constantly running and is inherently inefficient.
Thu Jan  1 00:01:16 1970 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) <Warning>: com.apple.mediastream.mstreamd (lint): The HideUntilCheckIn property is an architectural performance issue. Please transition away from it.
Thu Jan  1 00:01:16 1970 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) <Warning>: com.apple.mediastream.mstreamd (lint): The HideUntilCheckIn property is an architectural performance issue. Please transition away from it.
Thu Jan  1 00:01:16 1970 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) <Warning>: com.apple.midiserver (lint): The HideUntilCheckIn property is an architectural performance issue. Please transition away from it.
Thu Jan  1 00:01:16 1970 localhost com.apple.xpc.launchd[1] (com.apple.mobile.lockdown) <Error>: The ServiceIPC key is no longer respected. Please remove it.
Thu Jan  1 00:01:16 1970 localhost com.apple.xpc.launchd[1] (MyUnixSocket) <Error>: assertion failed: 16B92: launchd + 65484 [3BF1C569-F782-3856-9244-69B5EF08DAC2]: 0x2
Thu Jan  1 00:01:16 1970 localhost com.apple.xpc.launchd[1] (com.apple.mobilewatchdog) <Notice>: This service is defined to be constantly running and is inherently inefficient.
Thu Jan  1 00:01:17 1970 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) <Error>: com.apple.mobiletimerd (lint): Invalid type for a LaunchEvent stream, should be a dictionary (stream/type): com.apple.alarm/bool
Thu Jan  1 00:01:17 1970 localhost com.apple.xpc.launchd[1] (com.apple.nfcd) <Warning>: Service has increased maximum shutdown time to 50 seconds. This will create a poor experience for the user.
Thu Jan  1 00:01:17 1970 localhost com.apple.xpc.launchd[1] (com.apple.passd) <Warning>: Unknown key for string: com.apple.application-identifier
Thu Jan  1 00:01:17 1970 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) <Error>: com.apple.pluginkit.pkd (lint): Service sets EnableTransactions=false and EnablePressuredExit=true, which makes no sense. Enabling Transactions.
Thu Jan  1 00:01:18 1970 localhost com.apple.xpc.launchd[1] (com.apple.powerd) <Notice>: This service is defined to be constantly running and is inherently inefficient.
Thu Jan  1 00:01:18 1970 localhost com.apple.xpc.launchd[1] (com.apple.preboardservice_v2) <Warning>: Unknown key for dictionary: Debug
Thu Jan  1 00:01:18 1970 localhost com.apple.xpc.launchd[1] (com.apple.preboardservice_v2) <Warning>: Unknown key for dictionary: Info
Thu Jan  1 00:01:18 1970 localhost com.apple.xpc.launchd[1] (com.apple.preboardservice_v2) <Warning>: Unknown key for dictionary: DEFAULT-OPTIONS
Thu Jan  1 00:01:18 1970 localhost com.apple.xpc.launchd[1] (Listeners) <Error>: assertion failed: 16B92: launchd + 65484 [3BF1C569-F782-3856-9244-69B5EF08DAC2]: 0x2
Thu Jan  1 00:01:18 1970 localhost com.apple.xpc.launchd[1] (Listeners) <Error>: assertion failed: 16B92: launchd + 65484 [3BF1C569-F782-3856-9244-69B5EF08DAC2]: 0x2
Thu Jan  1 00:01:18 1970 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) <Error>: com.apple.remotemanagementd (lint): Invalid type for a LaunchEvent stream, should be a dictionary (stream/type): LaunchOnDemand/string
Thu Jan  1 00:01:18 1970 localhost com.apple.xpc.launchd[1] (com.apple.replayd) <Warning>: Unknown key for Boolean: com.apple.private.security.no-sandbox
Thu Jan  1 00:01:18 1970 localhost com.apple.xpc.launchd[1] (com.apple.searchd) <Warning>: Unknown key for dictionary: NoEnvironmentVariables
Thu Jan  1 00:01:18 1970 localhost com.apple.xpc.launchd[1] (com.apple.sharingd) <Notice>: This service is defined to be constantly running and is inherently inefficient.
Thu Jan  1 00:01:18 1970 localhost com.apple.xpc.launchd[1] (com.apple.sharingd) <Warning>: The endpoint "com.apple.private.alloy.nearby-idswake" defined in plist already exists and is owned by: com.apple.rapportd
Thu Jan  1 00:01:18 1970 localhost com.apple.xpc.launchd[1] (com.apple.softwareupdateservicesd) <Notice>: This key does not do anything: OnDemand
Thu Jan  1 00:01:19 1970 localhost com.apple.xpc.launchd[1] (com.apple.sysdiagnose_helper) <Warning>: Unknown key for string: EfficiencyMode
Thu Jan  1 00:01:19 1970 localhost com.apple.xpc.launchd[1] (com.apple.sysdiagnose) <Warning>: Unknown key for string: EfficiencyMode
Thu Jan  1 00:01:19 1970 localhost com.apple.xpc.launchd[1] (com.apple.syslogd) <Error>: The HopefullyExitsLast key is no longer respected. Please remove it.
Thu Jan  1 00:01:19 1970 localhost com.apple.xpc.launchd[1] (com.apple.syslogd) <Notice>: Please switch away from OnDemand to KeepAlive.
Thu Jan  1 00:01:19 1970 localhost com.apple.xpc.launchd[1] (com.apple.voicememod) <Warning>: Unknown key for Boolean: EnabledPressuredExit
Thu Jan  1 00:01:19 1970 localhost com.apple.xpc.launchd[1] (com.apple.wifi.hostapd) <Error>: ThrottleInterval set to zero. You're not that important. Ignoring.
Thu Jan  1 00:01:19 1970 localhost com.apple.xpc.launchd[1] <Error>: assertion failed: 16B92: launchd + 186880 [3BF1C569-F782-3856-9244-69B5EF08DAC2]: 0x9
Thu Jan  1 00:01:19 1970 localhost com.apple.xpc.launchd[1] (com.apple.wifid) <Notice>: This service is defined to be constantly running and is inherently inefficient.
Thu Jan  1 00:01:19 1970 localhost com.apple.xpc.launchd[1] (com.apple.wifi.wapic) <Error>: ThrottleInterval set to zero. You're not that important. Ignoring.
Thu Jan  1 00:01:19 1970 localhost com.apple.xpc.launchd[1] (mount_sec) <Warning>: Unknown key for Boolean: HighPriorityIO
Thu Jan  1 00:01:19 1970 localhost com.apple.xpc.launchd[1] (Dropbear) <Warning>: Unknown key for Boolean: HighPriorityIO
Thu Jan  1 00:01:19 1970 localhost com.apple.xpc.launchd[1] (Dropbear) <Notice>: This service is defined to be constantly running and is inherently inefficient.
Thu Jan  1 00:01:19 1970 localhost com.apple.xpc.launchd[1] (TcpTunnel) <Warning>: Unknown key for Boolean: HighPriorityIO
Thu Jan  1 00:01:19 1970 localhost com.apple.xpc.launchd[1] (TcpTunnel) <Notice>: This service is defined to be constantly running and is inherently inefficient.
Thu Jan  1 00:01:20 1970 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) <Error>: Could not read path: path = /AppleInternal/Library/LaunchDaemons, error = 2: No such file or directory

The container starts just fine and starts booting iOS, I was even able to attach gdb during boot. But at some point it stops and gdb gets disconnected.

Notice that I added a new mounted volume /tmp/dbus-IBEErsEHFZ to the container just to avoid a file not found message but this did not affect anything else, the boot log is exactly the same with or without the extra volume and with or without gdb attached.

I suspect that the error that is stopping the boot process is Thu Jan 1 00:01:20 1970 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) <Error>: Could not read path: path = /AppleInternal/Library/LaunchDaemons, error = 2: No such file or directory but that are other errors though.

Docker image I'm using: docker pull sickcodes/docker-eyeos:latest

iOS image I'm using:

wget https://images.sick.codes/hfs.sec.zst
wget https://images.sick.codes/hfs.main.zst

# decompress images, uses about 15GB
zstd -d hfs.main.zst
zstd -d hfs.sec.zst

I also ran:

xhost +

My OS:

Linux arch 5.16.8-arch1-1 #1 SMP PREEMPT Tue, 08 Feb 2022 21:21:08 +0000 x86_64 GNU/Linux
0xTen commented 2 years ago

Ok, dumb mistake of mine. If anyone encounters this, just spam ssh until you can login.

sickcodes commented 2 years ago

Yeah it's a bit buggy! We could have the display soon

superrnovae commented 1 year ago

What to do if I log in, but can not run any command?