2G connectivity toggle

In Android 16, two changes are introduced for the 2G toggle. The toggle enables or disables 2G connectivity on the device.

Minor UX adjustment

To align with the rest of the Settings, the following changes are introduced to the 2G toggle present under SIM Settings. These changes are also shown in the following figure:

  • The title is changed from Allow 2G to 2G network protection.
  • The description is updated to align with the title.
  • The default toggle state is updated to align with the title and the description.

2G Toggle in SIM Settings

Figure 1. Illustration of changes to the 2G toggle.

Additional entry point

An additional entry point for 2G toggle corresponding to each of the SIMs (physical SIM or eSIM) on the device is added to the Mobile network security section in the Safety Center under Settings.

2G Toggle in Mobile network security section

Figure 2. Additional entry point for the 2G toggle.

Disable 2G by default

Android 17 QPR1 introduces new carrier configuration flags to enhance device security by restricting 2G connectivity. These flags allow carriers to set the default 2G state to "Off," mitigating risks associated with legacy network vulnerabilities.

For carriers who want to disable 2G by default on user devices, Android 17 introduces the carrier_default_2g_protection_enabled_bool carrier configuration flag. A value of true disables 2G on user devices, even if it was manually enabled before the update. The default value is false (2G remains allowed).

When this policy is applied, users receive a one-time notification stating this change was applied on their device. If a user attempts to manually re-enable 2G after their carrier has set this default, a confirmation dialog appears explaining the security implications.

Important: Due to Android security policies, this toggle is designed only to disable 2G. If the carrier_default_2g_protection_enabled_bool flag is reversed in a subsequent release, 2G isn't automatically re-enabled on user devices. Furthermore, carriers are prohibited from re-enabling 2G on behalf of the user using flags or carrier-specific applications once the initial "Disabled" default is set.

Carrier requirements for roaming

The Android carrier configuration framework isn't roaming-aware, meaning the home carrier's configuration remains active globally. Android doesn't track VoLTE enablement or specific carrier and OEM interoperability agreements, so the home carrier is solely responsible for ensuring voice connectivity while roaming.

Carriers who disable 2G by default are strongly encouraged to implement the following:

  • Active roaming detection: Carriers must identify when subscribers travel to regions or networks lacking VoLTE roaming agreements.
  • Subscriber notification: It's strongly recommended that carriers send an immediate SMS to users entering these areas. This message should inform the user that they might need to manually re-enable 2G in their device settings to maintain voice services.
  • Persistence awareness: Carriers must account for the fact that the "2G Disabled" state persists on foreign networks, even if those networks require 2G for basic calling.

Declaring 2G is required for emergency calling

Android 17 QPR1 introduces the enable_2g_for_emergency_call carrier flag for carriers to self-declare if they don't consistently support emergency calling without 2G fallback enabled. This is relevant for users who have manually disabled 2G or previously had it set as a default on their phone using the carrier_default_2g_protection_enabled_bool flag.

While the 2G toggle allows the modem to bypass it for emergency calls, there are scenarios where it isn't possible for the modem to handle this due to non-compliant, legacy network design. Carriers operating such networks should consider setting this flag.

If this flag is set, and the right conditions are met, Android takes an extra step of enabling 2G before connecting to an emergency call. The user receives a notification letting them know a security setting was disabled on their device. If the user attempts to disable 2G again, they receive an extra confirmation dialog.

OEM resource overlay

For OEMs, AOSP supports an additional resource overlay for countries where emergency calling over 2G is a known widespread issue. Device manufacturers can add countries to the config_enable_2g_for_emergency_call_countries string array in frameworks/base/core/res/res/values/config_telephony.xml.

  • Bangladesh
  • India
  • Maldives
  • Nepal
  • Pakistan
  • Sri Lanka

Setting the countries correctly allows Android to handle this for users from other countries who are traveling to these regions.