1 Network Lock Enable and Key is set by default

Network category is default LOCKED

Key is set by default: 12345678 (User cannot change the default value)

MCC/MNC: 46697, 46635

const nvram_sml_context_struct NVRAM_EF_SML_DEFAULT =

{ SML_MAGIC_HEAD_VALUE,

{{SML_STATE_LOCK,SML_RETRY_COUNT_N_CAT,0,2}, /* Category N */

{SML_STATE_DISABLE,SML_RETRY_COUNT_NS_CAT ,0,0}, /* Category NS */

{SML_STATE_DISABLE,SML_RETRY_COUNT_SP_CAT ,0,0}, /* Category SP */

{SML_STATE_DISABLE,SML_RETRY_COUNT_C_CAT ,0,0}, /* Category C */

{SML_STATE_DISABLE,SML_RETRY_COUNT_SIM_CAT ,0,0}, /* Category SIM */

{SML_STATE_DISABLE,SML_RETRY_COUNT_NS_CAT ,0,0}, /* Link NS-SP */

{SML_STATE_DISABLE,SML_RETRY_COUNT_C_CAT ,0,0}}, /* Link SIM-C */

{{SML_KEY_SET,{0x21,0x43,0x65,0x87,0xFF,0xFF,0xFF,0xFF}},

{SML_KEY_EMPTY,{0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}},

{SML_KEY_EMPTY,{0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}},

{SML_KEY_EMPTY,{0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}},

{SML_KEY_EMPTY,{0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}},

{SML_KEY_EMPTY,{0x77,0x88,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}},

{SML_KEY_EMPTY,{0x99,0x00,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}}},

/* Category N code */

{0x46,0x69,0x7F,

0x46,0x63,0x5F,

0xFF,0xFF,0xFF,

0xFF,0xFF,0xFF,

0xFF,0xFF,0xFF},

/* Category NS code */

{0xFF,0xFF,0xFF,0xFF,

0xFF,0xFF,0xFF,0xFF },

/* Category SP code */

{0xFF,0xFF,0xFF,0xFF,

0xFF,0xFF,0xFF,0xFF},

/* Category C code */

{0xFF,0xFF,0xFF,0xFF, 0xFF

0xFF,0xFF,0xFF,0xFF,0xFF},

/* Category SIM code */

{0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,

0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF},

/* Link Category NS-SP */

{0xFF,0xFF,0xFF,0xFF,0xFF,

0xFF,0xFF,0xFF,0xFF,0xFF },

/* Link Category SIM-C */

{0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,

0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF },

/*NS Range Size*/

{0xFF,0xFF},

SML_MAGIC_TAIL_VALUE

}





2 Network Subset Lock is UNLOCKED by default and key is empty by default

Network Subset category is default UNLOCKED

Key is empty by default: User shall assign the default value to lock the category

MCC/MNC: 46697

HLR: 0x01

const nvram_sml_context_struct NVRAM_EF_SML_DEFAULT =

{ SML_MAGIC_HEAD_VALUE,

{{SML_STATE_DISABLE,SML_RETRY_COUNT_N_CAT,0,0}, /* Category N */

{SML_STATE_UNLOCK,SML_RETRY_COUNT_NS_CAT ,0,1}, /* Category NS */

{SML_STATE_DISABLE,SML_RETRY_COUNT_SP_CAT ,0,0}, /* Category SP */

{SML_STATE_DISABLE,SML_RETRY_COUNT_C_CAT ,0,0}, /* Category C */

{SML_STATE_DISABLE,SML_RETRY_COUNT_SIM_CAT ,0,0}, /* Category SIM */

{SML_STATE_DISABLE,SML_RETRY_COUNT_NS_CAT ,0,0}, /* Link NS-SP */

{SML_STATE_DISABLE,SML_RETRY_COUNT_C_CAT ,0,0}}, /* Link SIM-C */

{{SML_KEY_EMPTY,{0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}},

{SML_KEY_EMPTY,{0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}},

{SML_KEY_EMPTY,{0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}},

{SML_KEY_EMPTY,{0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}},

{SML_KEY_EMPTY,{0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}},

{SML_KEY_EMPTY,{0x77,0x88,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}},

{SML_KEY_EMPTY,{0x99,0x00,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}}},

/* Category N code */

{0xFF,0xFF,0xFF,

0xFF,0xFF,0xFF

0xFF,0xFF,0xFF,

0xFF,0xFF,0xFF,

0xFF,0xFF,0xFF},

/* Category NS code */

{0x46,0x69,0x7F,0x01,

0xFF,0xFF,0xFF,0xFF },

/* Category SP code */

{0xFF,0xFF,0xFF,0xFF,

0xFF,0xFF,0xFF,0xFF},

/* Category C code */

{0xFF,0xFF,0xFF,0xFF,0xFF

0xFF,0xFF,0xFF,0xFF ,0xFF},

/* Category SIM code */

{0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,

0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF},

/* Link Category NS-SP */

{0xFF,0xFF,0xFF,0xFF,0xFF,

0xFF,0xFF,0xFF,0xFF,0xFF },

/* Link Category SIM-C */

{0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,

0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF },

/*NS Range Size*/

{0xFF,0xFF},

SML_MAGIC_TAIL_VALUE

};




3 Service Provider AUTOLOCK is set by default and key is set by default

Service provider category is default AUTOLOCKED

Key is set by default: 12345678 (User cannot change the default value)

MCC/MNC: 46697

GID1: 0x20

const nvram_sml_context_struct NVRAM_EF_SML_DEFAULT =

{ SML_MAGIC_HEAD_VALUE,

{{SML_STATE_DISABLE,SML_RETRY_COUNT_N_CAT,0,0}, /* Category N */

{SML_STATE_ DISABLE,SML_RETRY_COUNT_NS_CAT ,0,1}, /* Category NS */

{SML_STATE_AUTOLOCK,SML_RETRY_COUNT_SP_CAT ,5,0}, /* Category SP */

{SML_STATE_DISABLE,SML_RETRY_COUNT_C_CAT ,0,0}, /* Category C */

{SML_STATE_DISABLE,SML_RETRY_COUNT_SIM_CAT ,0,0}, /* Category SIM */

{SML_STATE_DISABLE,SML_RETRY_COUNT_NS_CAT ,0,0}, /* Link NS-SP */

{SML_STATE_DISABLE,SML_RETRY_COUNT_C_CAT ,0,0}}, /* Link SIM-C */

{{SML_KEY_EMPTY,{0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}},

{SML_KEY_EMPTY,{0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}},

{SML_KEY_SET,{0x21,0x43,0x65,0x87,0xFF,0xFF,0xFF,0xFF}},

{SML_KEY_EMPTY,{0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}},

{SML_KEY_EMPTY,{0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}},

{SML_KEY_EMPTY,{0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}},

{SML_KEY_EMPTY,{0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}}},

/* Category N code */

{0xFF,0xFF,0xFF,

0xFF,0xFF,0xFF

0xFF,0xFF,0xFF,

0xFF,0xFF,0xFF,

0xFF,0xFF,0xFF},

/* Category NS code */

{0xFF,0xFF,0xFF,0xFF,

0xFF,0xFF,0xFF,0xFF },

/* Category SP code */

{0x46,0x69,0x7F,0x20,,

0xFF,0xFF,0xFF,0xFF},

/* Category C code */

{0xFF,0xFF,0xFF,0xFF,0xFF

0xFF,0xFF,0xFF,0xFF,0xFF },

/* Category SIM code */

{0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,

0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF},

/* Link Category NS-SP */

{0xFF,0xFF,0xFF,0xFF,0xFF,

0xFF,0xFF,0xFF,0xFF,0xFF },

/* Link Category SIM-C */

{0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,

0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF },

/*NS Range Size*/

{0xFF,0xFF},

SML_MAGIC_TAIL_VALUE

};





4 Change Code Group Size of Personalization Lock

In default, the number of code groups for Network Personalization category is 5 and the number of code groups for other category is 2. They could be customized with the following steps.

Example: Change the number of code groups for Network Personalization category from 5 to 10.

1. Change the defined value of SML_MAX_SUPPORT_CAT_N to 10 in mcu\custom\common\custom_nvram_sec.h

2. Add the default code group value to NVRAM_EF_SML_DEFAULT in mcu\custom\common\custom_nvram_sec.c

3. Change the version history of NVRAM_EF_SML_LID_VERNO in mcu\custom\common\PLUTO_MMI\common_nvram_editor_data_item.h

4. Update custom