Skip to content

OneiOS runtime 0.1.56, OneOS 0.5.104

Choose a tag to compare

@akshaynexus akshaynexus released this 03 Dec 02:03

Changelog since v0.1.55

Full diff: v0.1.55...v0.1.56. Every item says how it was tested: phone-booted (on which phone) or host-tested only.

Warning, S24 Ultra: the batch-11/12 GPU/Metal work in this release changes userland/metal/rt/RtSwitches.inc (surplus idle age and Turnip freed-BO cache per process, METAL2VULKAN_IDLE_MS / TU_DARWIN_BO_CACHE_MB defaults) and the GPU clock ladder. Parts are phone-booted (rt 0030 and its FLUSH_PER_OVERLAP pairing were Booted in S24 Ultra Batch 11, and the 120 Hz KMS / AWDL items below carry live S24U measurements), but the newest items — the 0031/0032 rt patches, the 3-tier clock ladder (drm2kgsl patch 0015), the RtSwitches.inc per-process idle/BO defaults of Batch 12, and the safari/airplay/camera fixes — are host-tested only, not yet phone-booted. No regression has been seen in the Batch-11 A/B boots. If an S24 Ultra shows frame, touch or heat regressions, report it and stay on v0.1.55.

Galaxy S24 Ultra (120 Hz KMS, GPU clock ladder, Metal-rt, video)

  • 120 Hz dual-SSPP KMS and the atomic modeset path (display lane): probe_atomic_modeset pairs two physical SSPP planes (720+720, has_src_split=1) so the SM8650's 514 MHz MDP core clock no longer forces every active frame to 60 Hz (dual-SSPP, VRR bounce guard when the panel's vrr is stuck at 30/60 Hz, pipelined Present::Atomic with OUT_FENCE_PTR and 4 buffers, persistent 4-strip parallel DRM copy pool) (ff463128, 1b794740, 6ff8d7e8). Phone-booted (S24 Ultra, Batch 9–10b; wr_ptr_irq -> ctl_done_irq ~6.65 ms, KMS 291 frames by page flip / 10 s).
  • Revert of rt patch 0027 (WAIT_FOR_IDLE) — the pinned Turnip tu_flush_dynamic_input_attachments was injecting TU_CMD_FLAG_WAIT_FOR_IDLE + FLUSH_PER_OVERLAP_AND_OVERWRITE, regressing top-clock GPU 3.48 → 12.5–14.7 ms (1b794740). Phone-booted (S24 Ultra A/B).
  • Turnip 64-byte descriptor alignment (Mesa cd38201d), 0 render-pass splits, GMEM local-read input attachments, configurable pool idle age + TU_DARWIN_BO_CACHE_MB=96 for backboardd: backboardd render-pass splits 29,684 → 1,564 → 0, Liquid Glass blob churn 149–211 → 11 blobs/10 s (805cfe7e). Phone-booted (S24 Ultra, Batch 5/8).
  • 3-tier One UI-matched GPU/CPU clock ladder (drm2kgsl patch 0015 + gpu3d_kgsl): Governor <-> Interactive Mid (~63% clock, uclamp 384, L3 constraint, touch pre-boost) <-> Top (PWR_MAX, uclamp 640), SLOW_INTERVAL_US=35_000 to stop the mid-swipe GPU clock-drop spiral (643/643 frames at TOP clock) (6ff8d7e8). Intended for the S24 Ultra; host-tested only, not yet phone-booted (Batch 12).
  • MADV_FREE skip / memory reclaim (kernel 0116, 0117 opt-in): with memorystatus ≥ 1024 MiB and footprint < 50% of jetsam, advisory unmaps skip; live S24U: madvise 334→12 µs, backboardd fills 84k→1.4k, user TLB wait 18.9 s→0.12 s, idle SoC 45.5 °C, swipes 37.5→63.0 fps (489789f3). Phone-booted (S24 Ultra, Batch 9).
  • AWDL / AirDrop NAT, IPv6/TSF fixes and Wonder 1.6 MCC: stateless gMac <-> gAirMac link-local MAC/IPv6 NAT with RFC 1624 checksum and mDNS AAAA translation (stops wifip2pd deleting the Wonder vdev's IPv6 before PIN TCP SYNs), foreign-hardware TSF epoch teleport fix, SET_FEATURES(CH_HOPPING) when Wonder advertises subcmd 11 so same-band STA MCC is allowed (-22 fix), AirDrop over the air verified on Batch 10b (208 AWDL Action Frames, incoming TCP SYNs from a Mac) (6ff8d7e8, ff463128). Phone-booted (the Wonder MCC / AirDrop items, S24 Ultra Batch 10b) and host-tested (the NAT/TSF kernel side, pending kernel+runtime phone boot).
  • dyld __DATA_CONST unnest fix (kernel 0082): persist 0x200000 in dyld_flags before the offline owner-systemos mount overwrites the commpage with 0x8 (0cc96d48). Host-tested only.
  • Camera black screen & CPU spin: ModuleInfo now populates ModuleLensID/ActuatorID/IntegratorID/FocusID/IRFilterID (stops the 1,806 err=-12783 assertions), Android 14+ AIDL v2 SESSION_CONFIGURABLE buffer management with AHardwareBuffer_allocate fallback (0cc96d48). Host-tested only, proof lines for the next phone boot in docs/hardware.md.
  • Safari hardware video decode & AirPlay streaming encoder: prefers c2.qti.{avc,hevc,vp9,av1}.decoder.low_latency (batch-11 Safari preroll stalls of 8–137 s), wires force_key, V4L2 bitrate/GOP/fps controls and live set_bitrate for H.264 streaming (0cc96d48, 180aad25's B-frame OUTPUT_ORDER = DECODE_ORDER). Host-tested only (not yet phone-booted).
  • Return path hardening (issue #109): quiesce vCPUs, disarm POSIX timers, clear GPU_VCPU_BOOST uclamps, stop GPU workers and KGSL PWR_MAX keep-alives on end_session() before bridge teardown, and PR_SET_PDEATHSIG(SIGTERM) in the audio/encoder helpers (f850c2e1). Host-tested only.

Metal-rt bridge patches (rt 0030–0032) and the mesa patch set

  • rt 0030 VK_EXT_rasterization_order_attachment_access (with A750 FLUSH_PER_OVERLAP; the mesa-side prim-mode/clear-coherency patches it pairs with were reverted, see below): phone-booted in Batch 11 (6ff8d7e8).
  • rt 0031 (scheduled handlers strictly after vkQueueSubmit2) and rt 0032 (A8Unorm double-swizzle fix): host-tested only, not yet phone-booted (6ff8d7e8, 0cc96d48).
  • Reverted, temporarily, with a TODO to re-land: the batch-12 A750 SYSMEM mesa pair (turnip-a750-sysmem-clear-coherency.patch, turnip-a750-sysmem-prim-mode.patch) — both rewrites were corrupt patches (line-count errors at apply) and had never been applied, so the release keeps the 40-patch set that Batch 9 used on the phone (c888cd04, docs/TODO.md). Host-tested (all 40 apply in order to cecc0e9).
  • Reverted, temporarily: the unmplemented METAL2VULKAN_IDLE_MAX_MIB surplus-idle cap (the bridge called Footprint::parse_full, which no rt patch implements at the pin) — the bridge is back on parse_with_idle, and the other 180aad25 changes (rt compile deadline 60 s, encoder decode-order) stay (ceda0f0e, docs/TODO.md). Host-tested (rt bridge unit build).

Kernels

Release tooling

  • The release notes are now the changelog since the last tag — every commit linked — instead of an asset list; a line is added only when a release is unusual (293a8faf). And the changelog's "last tag" is the newest v* tag on origin, not fork tags pulled in by git fetch <fork> (v0.1.56's first publish attempt picked v1.0.0 and GitHub refused the 197 KB body; fixed in fa5851b1). Host-tested (the PREV_TAG selection for v0.1.56 → v0.1.55).
  • Dropped the "Built on a build machine" line from the notes (c8488857).

The OneOS app

  • OneOS-oneios-0.5.104-debug.apk (versionCode 233, fork oneios head 078f582, SHA-256 226186d5316acb4700420f5a0d890e5fad1c8c06dbfc377f8c7abe16d3d7c418): the same fork head as v0.1.55 — no false "An iOS session is open"/"Back to One UI" row after a return. Gradle tests at the fork head pass (0 failures; the release's --skip-tests left the host-tests lane out as asked).