Date: July 15, 2025
Version: F27
The following changes have been implemented:
A11y
The following updates have been made for A11y:
- Improved A11yManager modularity by making the
ColorConverter
protocol connection conditional on the AttachA11yView
flag.
Audio
The following updates have been made for Audio:
- Improved the Audio Device Registry (ADR) to gracefully handle Composite device removals, preventing potential crashes. A new platform configuration flag has also been introduced to control the eager startup of the ADR service.
- Enhanced audio drivers for improved stability and identification. AML-G12 drivers now expose
manufacturer
and product
properties, use the SDK platform-device
library, and no longer crash if Stop
is called before Start
. The intel-hda
driver now correctly handles the creation of a second ring buffer. - Updated the virtual audio driver to offer the
Composite
FIDL protocol directly, deprecating CompositeConnector
. The modern, non-legacy virtual audio driver is now included in development builds, verified by tests, and has partial support for position notifications. - Significantly enhanced the
audio_driver_tests
suite with comprehensive negative testing, fixes for race conditions, and a 25% reduction in execution time. The suite is now split into basic
, admin
, and realtime
packages for more targeted testing. - Expanded service routing for audio capabilities to aid migration away from devfs. The
StreamConfigConnectorService
has been split into distinct Input
and Output
services.
Bluetooth
The following updates have been made for Bluetooth:
- Allow multiple LE advertisements with the same local address
- Introduced a way to configure the SCO index for offloaded audio and updated the test harness to offer this capability.
- Introduced and implemented the
fuchsia.bluetooth.sys.Access.SetConnectionPolicy
FIDL API, allowing applications to control the BR/EDR connectability of the Bluetooth stack. - Refactored the Hands-Free Profile (HFP) configuration schema to explicitly enable Audio Gateway (AG) and Hands-Free (HF) roles with specific features, completing the migration from the deprecated
bluetooth.hfp.enabled
field. - Modernized MAC address handling, the
bt-hci
driver now retrieves the MAC address using the modern driver metadata library, and bt-transport-uart
forwards it using fdf_metadata::MetadataServer
, replacing legacy methods. - Removed legacy HLCPP support from
fuchsia.hardware.bluetooth
and the unused fuchsia.hardware.bt.hci
and fuchsia.hardware.bt.vendor
Banjo libraries, completing the migration to modern FIDL and C++ bindings. - Added
SuspendEnabled
and SystemActivityGovernor
capabilities to bt-init
's component manifest (CML) and its integration test harness. - Bluetooth components can now be started with an optional
config
capability, allowing for more flexible system configurations. - Added new FIDL interfaces to support Connected Isochronous Groups (CIG) management.
- Increased the timeout for
bt-gap
to find the bt-host
component from 5 to 100 seconds to enhance robustness. - Introduced the
ConnectionReceiver2
FIDL, which supports wake lease handshakes and flow control for new Bluetooth connections. - Replaced Bluetooth
devfs
capability routing with modern service routes to simplify client upgrades.
Cobalt
The following updates have been made for Cobalt:
- Improved data upload efficiency by moving system profiles to the envelope level, which significantly reduces uploaded bytes by de-duplicating system profiles across observation batches.
- Fixed a build issue by adding a missing include to comply with include-what-you-use guidelines.
- Allowed non-camel-case Rust enums in the source generator, ensuring that event codes with special characters can be used without causing build failures.
- Completed migration to
step_multiplier_float
from the deprecated step_multiplier
for integer histogram reports, including removing old field definitions and validations.
Component Framework
The following updates have been made for Component Framework:
- Added a new method
GetResolvedInfo
to the fuchsia.component.Realm
FIDL protocol, which allows for querying resolved component information. - Migrated the component model to the
fuchsia.io2
library, replacing deprecated fuchsia.io
functionality. - Included a persistent storage shard for Realm Builder, preserving component data across restarts, which is particularly useful for tests that require state persistence.
- Enhanced component manifests and tools. This includes support for weak dictionaries in CML, services in dictionaries in
cmc
, and improved error messages and argument standardization in command-line tools. - Expanded support for config capabilities. Support has been added to built-in runners, and Component Manager now performs type checking for config capabilities during routing.
- Improved performance and stability. Full Link-Time Optimization (LTO) is now enabled for Component Manager, reducing its binary size, and the
service-broker
now shuts down more promptly.
Build
The following updates have been made for Build:
- Improved performance and developer experience. This includes caching Bazel query results, optimizing the ‘balanced’ compilation mode to use ThinLTO, and enhancing error reporting for DTC and
fx build
target names. - Refactored the Bazel integration workflow. The in-tree IDK repository is now generated at
fx gen
time, and the --config=no_sdk
flag has been removed in favor of an explicit --config=host
flag for host builds, fixing incremental build issues.
Diagnostics
The following updates have been made for Diagnostics:
- Adopted the FXT format for log fetching and streaming, replacing JSON in feedback services and
ArchiveAccessor
. A new C++ log decoder built on a Rust FFI layer further enhances log parsing performance and memory efficiency. - Improved diagnostics performance and stability, including collecting performance metrics for snapshots, purging memory in the system log recorder, and fixing a crash when
get_koid
fails during logging. - Replaced
select_all_for_moniker
with select_all_for_component
, fixing an Inspect-specific bug where the root selector was incorrectly omitted. - Enhanced kernel and system-level diagnostics, adding a tally to the
k pmm dump
command and ensuring dmesg_restrict
correctly handles unprivileged syslog access. - Enhanced Power Broker observability with more efficient and comprehensive Inspect events, including bundling dependency information into
add_element
events and merging multiple update_level
events into a single event. - Added new Inspect metrics and data sources, including metrics for
ota_health_verification
and UTC time adjustments, as well as exposing structured configuration for easier debugging.
Display
Expanded pixel format support. Magma and virtio-gpu now support R8G8B8A8
formats, increasing compatibility with more hardware and applications.
Improved graphics rendering and stability. A shutdown crash in the Intel display driver has been fixed.
Driver Framework
The following updates have been made for Driver Framework:
- Completed Rust driver host transition: The C++
driver_host
has been removed, completing the transition to the Rust implementation. The Rust driver host is now enabled by default across core products and in the driver test realm, streamlining the driver execution environment.- Changes: fxr/1243198, fxr/1243197, fxr/1242624, fxr/1236336, fxr/1231056, fxr/1231055, fxr/1231054, fxr/1255646, fxr/1231053, fxr/1212286, fxr/1224746, fxr/1233528, fxr/1237624
- Improved driver host stability and debugging: Reliability is improved with fixes for shutdown ordering, lock contention, and a new protocol for driver crash introspection. Debugging is aided by a new ‘driver_dispatcher’ trace category in Perfetto.
- Added a new driver: A
usb-fastboot-function
driver has been added for userspace fastboot. - Enhanced driver development API: The
OnBind
method now provides a node_token
for referencing child nodes. Rust drivers gain pipe_if
and pipe_opt
methods for conditional logic, and new BindRules2
and ParentSpec2
types simplify using string-keyed properties. - Enhanced mocking and testing support: Diagnostics for
mock-mmio
are improved with detailed ZX_ASSERT
messages. The mock-mmio
library is now in the partner SDK, and its API has been updated for consistency. - Enhanced security and policy enforcement: The driver runtime now enforces that drivers can only use scheduler roles explicitly allowed in their component manifest, enhancing system security.
FIDL
The following updates have been made for FIDL:
- Significant C++ build time reductions have been achieved by moving generated function bodies out of headers and decoupling wire and natural bindings, reducing redundant compilation work.
- Improved ergonomics and performance for Rust wire bindings. Enhancements include support for encoding by value/reference, pre-decoded message buffers, and an escape hatch for non-blocking sends. Performance is boosted by optimized padding zeroing, and channel closure errors now explicitly include epitaphs.
- Added support for
zx::Counter
to the Rust FIDL bindings. - Added a new static Python FIDL backend (
fidlgen_python
), and bindings are generated by default for all FIDL libraries. This initial version includes support for protocol methods, robust external type imports, required struct fields, and improved IDE discoverability.
GPU and Graphics
The following updates have been made for GPU and Graphics:
- Significantly improved Magma's core. Semaphores now use
zx::counter
instead of zx::vmo
for better performance and lower memory use. Additionally, context creation now supports priorities, buffer release is safer on connection shutdown, and a new C++ to C binding library is available. - Migrated graphics drivers from
devfs
to FIDL services. This system-wide effort modernizes graphics components, including the Mali driver and Magma integrations, improving security and the clarity of exposed capabilities. Legacy DFv1 libraries have also been removed. - Expanded pixel format support. Magma and virtio-gpu now support
A2B10G10R10
, P010
, increasing compatibility with more hardware and applications. - Improved graphics rendering and stability. The Vulkan swapchain now correctly handles the
alphaComposite
mode, ensuring proper rendering of opaque surfaces. - Improved FIDL API and ABI for graphics services. The
fuchsia.vulkan.loader/Loader
protocol is now marked for ABI checking. The Magma service FIDL now more clearly exposes the CombinedDevice
protocol, simplifying the client API.
IOT, Matter, and Thread
The following updates have been made for IOT, Matter, and Thread:
- Updated the
third_party/openthread
dependency. This update includes new features and fixes such as improved border agent and routing manager functionality, support for ePSKc, and alignment of LoWPAN components with the latest OpenThread version. Fuchsia's platform code, tests, and bindings were also updated for compatibility. - Added support for pinging a device's RLOC address, a feature now handled directly within the OpenThread netstack.
Kernel
The following updates have been made for Kernel:
Implemented the ZX_VM_FAULT_BEYOND_STREAM_SIZE
flag for zx_vmar_map
. This allows memory access beyond a VMO's content size to fault, improving compatibility with POSIX mmap
semantics.
Added support for ktrace streaming. zx_ktrace_read
now consumes the data it reads, enabling userspace to stream kernel trace data by invoking this syscall in a loop. As part of this cleanup, the unused zx_ktrace_write
syscall was removed.
Added support for mappable kernel clocks. These clocks support efficient read access without entering the kernel in most circumstances. See RFC 0266 for details on the design.
Netstack
The following updates have been made for Nestack:
- Netstack3 is planned to be enabled (via a feature flag) right after F27 rolls out to 100% and before F28 starts rolling out.
- Introduced comprehensive support for TCP Selective Acknowledgement (SACK), including SACK-based loss recovery and congestion control updates, to significantly improve TCP performance over lossy networks.
- Improved TCP ACK behavior by enabling delayed ACKs by default, introducing quickack periods, and ensuring more accurate window update calculations for better performance.
- Enhanced TCP reliability and correctness by fixing several critical bugs, including an arithmetic overflow in CUBIC, a panic on out-of-order SACKs, incorrect RTT/RTO calculations, and improper retransmission timer re-arming.
- Improved TCP's response to network conditions by dynamically adjusting the Maximum Segment Size (MSS) based on Path MTU updates and aligning ICMP error propagation with Linux behavior.
- Fixed IP fragment reassembly by correcting the handling of out-of-order and duplicate fragments, and reduced the IPv4 reassembly timeout to 15s to align with RFC-791.
- Prepared for IPv4 Duplicate Address Detection (DAD) by refactoring the DAD mechanism to be IP-agnostic and adding necessary configuration options.
- Limited the Path MTU cache size using an LRU policy to mitigate a potential denial-of-service vulnerability from repeated PacketTooBig messages.
- The netstack now sends ICMP Port Unreachable messages for datagrams sent to unbound UDP ports, with protection from existing ICMP rate limiting.
- Introduced support for eBPF-based socket egress filters through the new
fuchsia.net.filter.SocketControl
FIDL protocol, enabling advanced packet filtering capabilities. - Enhanced network filtering with packet marking, allowing
fuchsia.net.filter
rules to mark packets and for these marks to be used in forwarding decisions. - Improved connection tracking to parse inner ICMP error packets, associating them with the originating connection to enable features like NAT for ICMP errors.
- The
fuchsia.netpol
FIDL library has been renamed to fuchsia.net.policy
for consistency with new API standards. - Strengthened NDP and MLD message validation to enforce that the hop-limit is correct as per RFCs, and ensured learned IPv6 parameters are reset when an interface is disabled.
- Enhanced network observability with more granular counters, including per-device IP counters, per-socket UDP counters, and MLD Inspect counters.
Platform Drivers
The following updates have been made for Platform Drivers:
- Migrated various device classes from the legacy devfs file-based system to component services. This improves system architecture and client communication by updating classes like serial, camera, audio, graphics, and network to use modern service-based protocols.
- Changes: fxr/1231484, fxr/1219466, fxr/1223348, fxr/1222012, fxr/1227049, fxr/1222011, fxr/1222010, fxr/1223204, fxr/1222688, fxr/1221224, fxr/1219085, fxr/1208828, fxr/1221166
- Added a new
usb-vsock
driver to replace overnet-usb
, enabling VSOCK-based FFX communication. This includes a new two-phase sync protocol, vsock framing, and support for additional composite device configurations (e.g., adb+vsock). - Updated the
usb-peripheral
driver to use modern metadata libraries for MAC address and serial number retrieval. Also fixed a bug related to incorrect interface counting after a reset. - Migrated the
platform-bus
driver to DFv2, now uses ParentSpec2
in its FIDL API, and supports the NodeController/OnBind
event. This simplifies integration and allows board drivers to configure wake sources directly. - Added a driver for HVDC-P Opti: This new driver has been introduced with support for
power_supply
and IIO devices, along with /dev/qbg
and /dev/qbg_battery
nodes for Starnix. It is also now permitted to fail gracefully without causing system instability.
Power Management
The following updates have been made for Power Management:
- Added the
ThermalLoadDriver
which can limit the CPU thermal client, offering an alternative to ThermalPolicy
and includes new trace counters for testing. - Added the ability for Power Manager to log the temperature when the shutdown threshold is crossed, improving diagnostics for thermal events.
- Significantly improved Power Broker's Inspect data for better observability and efficiency. These changes include enhanced event details, optimized data storage, and more streamlined event logging.
- Changes: fxr/1253437, fxr/1239246, fxr/1237426, fxr/1237425, fxr/1236527, fxr/1236384, fxr/1235052, fxr/1235524, fxr/1234284
- Bugs: fxb/404934494, fxb/404958940, fxb/404631762, fxb/404631256, fxb/404629706
Software Delivery
The following updates have been made for Software Delivery:
- Added a health check protocol to the
system-update-committer
that fails commits that take longer than five minutes, improving overall update reliability. - Improved diagnostic logging for the
system-update-checker
to detect when the connection to the UpdateManager is lost. - Migrated the recovery component to use
ArchiveReader
and a new Open
method, replacing the deprecated LogProcessor
.
Starnix
The following updates have been made for Starnix:
- Implemented a suite of security hooks for socket operations, enhancing security for creating, binding, connecting, listening on, and shutting down various socket types.
- Added a comprehensive set of security hooks for BPF operations, covering
bpf
, bpf_map
, bpf_prog
, and the allocation of BPF resources, along with necessary capability checks. - Implemented new security hooks for various kernel operations, including for
mmap
to check memory mapping permissions, file_receive
for receiving file descriptors, and task_setrlimit
for setting resource limits. - Modernized SELinux exception and policy management, replacing file-based configurations with a flexible config capability, removing obsolete exceptions, and adding support for permissive subject domains.
- Updated SEStarnix to perform extended permission (xperm) checks for
ioctl
calls, using a new API, a performance cache, and expanded test coverage to enforce fine-grained controls. - Introduced support for “private” anonymous file system nodes, which bypass SELinux checks for internal file types like
signalfd
, eventfd
, and sync_file
to improve compatibility and performance. - Improved socket labeling and classification, ensuring sockets (TCP, UDP, raw IP) are assigned the correct security class and context upon creation.
- Updated the
fuchsia.starnix.binder
FIDL API to include a WriteBytes
method, providing a more efficient way to perform small memory writes by avoiding VMO creation. - Added support in Starnix for File-Based Encryption (FBE) on Fxfs. This includes support for symbolic links and proper handling of encrypted paths. Encryption keys are now securely stored in
/data
, improving volume management and enabling reliable cold boot simulations.
Storage
The following updates have been made for Storage:
- Fixed bugs and made performance enhancements for fxfs. These changes improve filesystem robustness by preventing duplicate tombstone creation, optimizing sparse image creation, enhancing thread management for better parallelism, and ensuring the filesystem remains operational if the Crypt service becomes unresponsive.
- Changes: fxr/1263964, fxr/1259844, fxr/1258364, fxr/1258266, fxr/1245144, fxr/1236650, fxr/1224553, fxr/1221995, fxr/1222624, fxr/1215204, fxr/1241187, fxr/1241185
- Bugs: fxb/399171573
- Improved Blobfs reliability. These include preventing crashes from null pointer dereferences, adding support for atomically overwriting existing blobs, and actively checking for existing writers to prevent race conditions.
- Added support for Fxfs to persist file access times (
atime
). This ensures the atime
attribute is updated and stored correctly when a file or directory is accessed.
Testing
The following updates have been made for Testing:
- Improved host-side framework and execution. The Honeydew framework, testrunner, and host-target test workflows have been significantly enhanced. This includes migrating Honeydew to modern
fidlgen_python
bindings, adding a restart
session affordance, refactoring ffx
usage for consistency, performing device health checks after failures, and improving serial test reliability.- Changes: fxr/1262932, fxr/1263384, fxr/1258984, fxr/1255904, fxr/1261507, fxr/1261506, fxr/1256946, fxr/1256813, fxr/1255850, fxr/1243345, fxr/1228985, fxr/1228224, fxr/1148232, fxr/1230246, fxr/1222024
- Bugs: b/411422054, b/406696005
- Enhanced system and driver tests. Tests for audio, graphics, and other system drivers have been made more comprehensive and robust. Audio driver tests now include new negative test cases and stricter checks, Vulkan tests have been reorganized into a hermetic suite, boot tests now support DTBOs, and TEE tests have been re-enabled.
Timekeeping
The following updates have been made for Timekeeping:
- Introduced power management integration for Timekeeper, including a feature flag and logic to prevent premature clock updates before the clock is started.
- Enhanced RTC reliability by disallowing negative boot timeline reference adjustments, which indicate an invalid state caused by a reset.
- Enhanced Timekeeping observability and debuggability via Inspect by adding metrics for UTC adjustment successes/failures, logging last adjustment details, and exposing structured configuration data.
- Improved Starnix UTC time accuracy and configurability by correcting the reference timeline to boot, implementing a proxy for external adjustments, and finalizing routing for settable UTC time.
- Introduced a comprehensive external UTC time adjustment mechanism, including core decision logic, integration into the UTC control loop, asynchronous command handling, and configurable security-focused time window limits.
- Enabled persistent storage for Timekeeper by adding a component instance ID and experimentally making the storage AIB available.
- Improved alarm handling and RTC emulation by correcting timer index selection based on device properties and refining the use of always-on counters.
Tools
The following updates have been made for Tools:
fx
The following updates have been made for fx:
- Improved the
fx set
command for better build directory management. It now defaults to --auto-dir
to create product-specific build directories, with out/default
becoming a convenient symlink. Several bugs have been fixed, including issues with the --dir
and --fint-params-path
flags, and the build directory is no longer stored in fx.config
, preventing staleness issues. - Standardized and improved target selection flags. The
fx -d
flag is now deprecated in favor of fx -t
or fx --target
to align with ffx
. - Added a warning to the
fx build
command to warn developers against using Ninja target names instead of GN labels. This change encourages proper build argument usage and helps prepare for future Bazel integration. - Enhanced build analytics from
fx
to report more context, such as whether a build was triggered by fx test
or fx multi
, and to include more build arguments from args.json
.
ffx
The following updates have been made for ffx:
- Removed the daemon-based package server from
ffx
. All associated commands (ffx repository add
, list
, remove
, status
, etc.) are also removed. Users should now use the standalone ffx repository server
commands. - Improved networking and connectivity.
ffx
now correctly handles IPv6 addresses with scope IDs, provides more useful error messages for connection failures, and more robustly discovers and manages targets, especially over USB/VSOCK. Support for Overnet over VSOCK has also been added. - Added an opt-in Terminal User Interface (TUI) for
ffx
and fx
commands to provide enhanced formatting. This can be enabled via the ffx.ui.mode
configuration. The fx use
command is the first to adopt this. - Updated
ffx product
and ffx package
to be standalone executables, which are no longer bundled into the main ffx
binary. This change improves build times. - Updated the
ffx test run
command to be more automation-friendly, supporting strict output requirements and machine-readable JSON. - Replaced the
ffx inspect
command's --component
flag with --data
for more intuitive querying. - Improved the
ffx driver
command with a new --unbound
flag to list only unbound nodes and more accurate reporting of unbindable nodes. - Improved flashing speed and reliability. The
ffx flash
command is now significantly faster for large images due to an increased transfer buffer size. It can also now correctly handle large sparse images by automatically re-chunking them. A bug causing an “Unknown Ninja path” error in fx flash
has also been fixed. - Updated the
ffx trace
command to better visualize FIDL IPC traces. It uses a two-pass approach to correctly render asynchronous two-way FIDL calls as single, continuous flows in Perfetto and sets event names to FIDL method names for easier debugging.
zxdb
The following updates have been made for zxdb:
- Enabled host-side unwinding as the default in zxdb, leveraging full debugging information to provide higher-quality backtraces. A
--force-remote-unwind
option has been added to revert to the previous target-side behavior.
UI
The following updates have been made for UI:
- Enabled direct-to-display in Flatland. This allows for more efficient rendering by directly displaying client images instead of composing them and includes critical fixes to the buffer collection import process.
- Improved the input system and core UI stability. These changes fix an issue in Scenic's vsync interval computation to prevent crashes and add support for mouse devices.
- Enhanced performance and configurability for UI services. Scenic and Scene Manager can now be configured with thread and memory profiles, allowing integrators to fine-tune resource allocation. Additionally, Scenic's frame prediction margin is now parameterizable.
WLAN and Connectivity
The following updates have been made for WLAN and Connectivity:
- Introduced a new
GetMacAddress
FIDL method to wlanix
for retrieving the device's MAC address. - The
wlantool
command-line utility can now connect to a network using a BSSID in addition to an SSID. - Refined the roaming algorithm to be more responsive and efficient. This includes making the scan backoff exponential, resetting the backoff more intelligently, and simplifying the stationary roam profile by removing SNR as a trigger.
- Streamlined the core WLAN FIDL APIs by removing unused methods and migration flags, moving SoftMAC-specific types out of common libraries, and renaming stats-related APIs for clarity.
- Enhanced driver telemetry by exposing new counters for WLAN preemptions, SDIO bus metrics, and firmware RX/TX errors to improve monitoring.
- Resolved a stability issue by adjusting the maximum TX glom frames to prevent the batch size from exceeding protocol limits.