Table of contents
TOC
Collapse the table of content
Expand the table of content

MMS data options

Last Updated: 12/12/2016

For some phones, the cellular data plan includes the data used to send MMS. If cellular data is turned off, so is the ability to send MMS messages. However, other data plans bill MMS data separately. In this case, it’s necessary to have a setting that allows for MMS messages to be sent even if the data toggle is off.

Partners can configure the MMS data options to:

  • Show the Allow MMS if cellular data is off toggle in the Messaging settings screen.

  • Allow MMS messaging even if data is turned off.

  • Allow MMS messaging even if data is turned off and the user is roaming.

OEMs can configure these settings on both single SIM and C+G dual SIM phones.

Constraints: None
This customization supports: per-SIM value

Instructions:

  1. Create a customization answer file using the contents shown in the following code sample.

    <?xml version="1.0" encoding="utf-8" ?>  
    <ImageCustomizations xmlns="http://schemas.microsoft.com/embedded/2004/10/ImageUpdate"  
                         Name="AllowMMSIfDataIsOff"  
                         Description="Use to configure MMS settings if data is turned off."  
                         Owner=""  
                         OwnerType="OEM"> 
    
      <!-- Define the Targets --> 
      <Targets>
         <Target Id="">
            <TargetState>
               <Condition Name="" Value="" />
               <Condition Name="" Value="" />
            </TargetState>
         </Target>
      </Targets>
    
      <Static>
        <Settings Path="Multivariant">
          <Setting Name="Enable" Value="1" />
        </Settings>
        <Settings Path="AutoDataConfig">
          <Setting Name="Enable" Value="0" />
        </Settings>
      </Static>
    
      <!-- Specify the Variant -->
      <Variant Name=""> 
        <TargetRefs>
          <TargetRef Id="" /> 
        </TargetRefs>
    
        <Settings Path="Messaging/PerSimSettings/$(__ICCID)/AllowMmsIfDataIsOff">  
          <Setting Name="AllowMmsIfDataIsOffSupported" Value="" />      
          <Setting Name="AllowMmsIfDataIsOff" Value="" />  
          <Setting Name="AllowMmsIfDataIsOffWhileRoaming" Value="" />  
        </Settings>  
    
      </Variant>
    
    </ImageCustomizations>
    
  2. Specify an Owner.

  3. Define Targets or conditions for when a variant can be applied, such as keying off a SIM's MCC, MNC, and SPN.

  4. Define settings for a Variant, which are applied if the associated target's conditions are met.

  5. To hide or show the Allow MMS if cellular data is off toggle in the Messaging settings screen, set the value of AllowMmsIfDataIsOffSupported to one of the following:

    ValueDescription

    0 or 'False'

    Hides the Allow MMS if cellular data is off toggle.

    1 or 'True'

    Shows the Allow MMS if cellular data is off toggle.

    This is the default OS value.

  6. Before you set the value for AllowMmsIfDataIsOff, note that if you do not set ExemptFromDisablePolicy to 1 (0 by default), then you must:

    • Hide the Allow MMS if cellular data is off toggle by setting AllowMmsIfDataIsOffSupported to 0 (1 by default).

    • Set AllowMmsIfDataIsOff itself to 1 (0 by default).

    For more information about ExemptFromDisablePolicy, see CM_CellularEntries CSP.

    To allow or disallow MMS messaging even if data is turned off, set the value of AllowMmsIfDataIsOff to one of the following:

    ValueDescription

    0 or 'False'

    MMS is on when data is on, and off when data is off. MMS will also be off when roaming if the user has set the phone to not use data while roaming.

    This is the default OS value.

    1 or 'True'

    MMS is on even when the data toggle is off, but not when roaming if data is off.

  7. To allow MMS if data is turned off while the user is roaming, set value of AllowMmsIfDataIsOffWhileRoaming to one of the following:

    ValueDescription

    0 or 'False'

    MMS messaging if off when roaming even if the user has set to allow MMS messaging if data is turned off.

    1 or 'True'

    MMS messaging is on when roaming even while data is off.

    Shows the user alert.

**Note**  This setting is only visible if `AllowMmsIfDataIsOff` is set.

Testing:

  1. Flash the build containing this customization to a device.

  2. Go to the Messaging settings screen.

  3. Verify if the messaging options match the values you set for each setting.

Send comments about this topic to Microsoft

© 2017 Microsoft