Mobile radio ciphering transparency

Android 17 QPR2 introduces mobile radio ciphering transparency, which displays details of cryptographic protection for different parts of a mobile network connection (such as 4G, 5G, and VoLTE).

This feature adds a new page under Network & internet > Mobile network security > [SIM name] (for example, Google Fi) where users can view connection security details. Previously, users were informed of cellular security status only through notifications.

Key functionalities

  • Cryptographic transparency: Users can view the ciphering and integrity algorithms in use for their active cellular connections.
  • Framework updates: Introduces @SystemApi android.telephony.SecurityAlgorithmUpdate, a parcelable class encapsulating connection encryption and integrity details. System-internal listeners (such as the Settings app) can subscribe to these events using the standard TelephonyManager.registerTelephonyCallback() API, specifically by implementing TelephonyCallback.SecurityAlgorithmUpdateListener and its onSecurityAlgorithmsChanged callback. These are not exposed to third-party app listeners.
  • HAL updates: Adds setSecurityAlgorithmsUpdatedEnabled and isSecurityAlgorithmsUpdatedEnabled in IRadioNetwork.aidl to allow the OS to toggle reports, and securityAlgorithmsUpdated in IRadioNetworkIndication.aidl for passing updates to the application processor (AP).

Implementation

For this feature to work as expected, partners must implement the new setSecurityAlgorithmsUpdatedEnabled and isSecurityAlgorithmsUpdatedEnabled methods in their Radio HAL. This feature requires IRadio HAL 3.0 for hardware compatibility.

  • Baseband and modem vendors: Must extract chosen ciphering and integrity algorithms from radio resource control messages (for example, from the Security Mode Command during the initial attach procedure) and pass them to the Android framework using the HAL. The modem must be capable of tracking the current ciphering or integrity mode used for voice, data, or signaling and invoking the securityAlgorithmsUpdated indication when the algorithm changes.
  • Battery conservation: To conserve battery, the modem should only generate reports when there is a change to the previously reported encryption or integrity state. This state should be reset upon reboot, SIM change, or access network change.

System UI

The feature integrates directly into the Android Settings UI. No custom System UI implementation is required from partners.

New versus upgrading devices

New devices launching with Android 17 QPR2 or newer on newer chipsets have the updated modem firmware required to support the new HAL APIs.

For upgrading devices, if the modem vendor doesn't backport firmware support for the new indication APIs, the HAL won't support it. In this case, the OS dynamically hides the feature and the Safety Center source because the underlying hardware support is missing.

Validation

Partners can use an on-device modem simulator (such as Cuttlefish) to test the UI functionality without needing physical modems, as it already supports the new unsolicited securityAlgorithmsUpdated indication API.