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

Permanent automatic mode

Last Updated: 12/12/2016

OEMs can enable permanent automatic mode for mobile networks that require the cellular settings to revert to automatic network selection after the user has manually selected another network when roaming or out of range of the home network.

Constraints: None
This customization supports: per-IMSI value, per-device value

Instructions:

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

    ``` syntax <?xml version="1.0" encoding="utf-8" ?>

<!-- Use for the per-IMSI case 

  <!-- 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="CellCore/PerIMSI/$(__IMSI)/General">  
      <Setting Name="AvoidStayingInManualSelection" Value="" />
    </Settings>  
  </Variant>

-->

<!-- Use for the per-device case

  <Static>  
    <Settings Path="CellCore/PerDevice/General">  
      <Setting Name="AvoidStayingInManualSelection" Value="" />
    </Settings>  
  </Static>

-->

</ImageCustomizations>
```
  1. Specify an Owner.

  2. Determine if you need to use the per-IMSI or per-device setting.

    For the per-IMSI case:

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

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

  3. Set the AvoidStayingInManualSelection``Value to either of the following:

    ValueDescription

    1

    Enable permanent automatic mode.

    0

    Disable permanent automatic mode. The cellular settings for network selection remain in manual mode.

Testing steps:
Flash the build containing this customization to a device that has a UICC.

Note
To fully test this customization, work with your mobile operator partner. The device needs to be out of range of the home network so that the user can select manual mode under Network selection in the Settings > Cellular & SIM screen.

When the device is no longer roaming or is in range of the home network, verify that the Network selection mode changed to automatic without requiring user action.

Send comments about this topic to Microsoft

© 2017 Microsoft