Apple's open-source XNU kernel on Android phones: its own loader and drivers, Metal on the Adreno. Runs from RAM; a reboot gives the phone back to Android.
C
cloudd was never the problem: it was waiting on a daemon that was not there
vcvkkfe0855751bff
diff --git a/README.md b/README.mdindex c2b4c3f..562bcb5 100644--- a/README.md+++ b/README.md@@ -1161,6 +1161,11 @@ Qualcomm, так что за драйвером нет и того, к чемутом же `DENY` тремя строками выше. В копии sileo2 его оттуда уже убрали (без него у приложения не начинаетсяни одна фоновая загрузка — Sileo вечно показывает «Queued»); убран он теперь и здесь. Что `nsurlsessiond` сампо себе ничего не стоит, видно по телефонному сеансу той копии: 118 процессов и 20 виджетов.+С `nsurlsessiond` в образе `cloudd` загрузку больше не держит: шторм исчезает совсем (ноль переспросов против+406), и домашний экран приходит — 100 процессов и 12 процессов виджетов и постеров против 76–78 и ни одного+за весь сеанс без него. То есть `cloudd` и не был виноват: виновато было ожидание демона, которого не было.+В `DENY` он пока остаётся только потому, что это измерено в QEMU уже после телефонных сеансов; один запуск+с корнем на флеше, `ALLOW="cloudd"` и `nsurlsessiond` в образе — и его можно включать насовсем.`syncdefaultsd` (`com.apple.kvsd`) падает сам по себе: отдаёт cloudkeychainproxy3 его хранилище и аварийнозавершается внутри `changeTokenForStoreWithConfiguration:reply:` — «`-[NSURL initFileURLWithPath:isDirectory:]: nil string parameter`»,то есть строит файловый URL из пути, который ему дали пустым. Первым подозрением был каталогdiff --git a/userland/mkjobs.py b/userland/mkjobs.pyindex 1ba53c1..7891367 100755--- a/userland/mkjobs.py+++ b/userland/mkjobs.py@@ -80,8 +80,13 @@ import sys# the word is already gone: the sileo2 copy removed nsurlsessiond for Sileo's downloads and it is removed# here too. On its own it costs nothing -- that copy's phone session reaches 118 processes and 20 widgets# with nsurlsessiond in and cloudd still denied -- so cloudd deserves another try now that it is there.-# Two measurements outstanding: mobileassetd alone (it is not the one spinning, 2 retries against cloudd's-# 2351), and cloudd with nsurlsessiond actually present.+# Measured: cloudd with nsurlsessiond actually present does NOT stall the boot. The storm is gone+# altogether -- 0 retries against 406 -- and the home screen arrives: 100 processes and 12 widget and poster+# processes, where the same image without nsurlsessiond reached 76-78 and never one at any point in the run.+# So cloudd was never the problem; being made to wait on a daemon that was not there was. It is left in DENY+# here only because this was measured in QEMU after the phone runs were done, and the phone is where it+# matters -- one flash-root run with ALLOW="cloudd" and nsurlsessiond shipped should settle it for good.+# (mobileassetd alone was not measured separately; it is not the one that spins, 2 retries against 2351.)# One thing still unexplained: ALLOW="syncdefaultsd appstored" loses the home screen the same way (77# processes, no widgets) with no retry storm at all -- a dozen nsurlsessiond lookups, nothing spinning. So# the stall has at least one other cause, and whoever picks this up should not assume nsurlsessiond is all of