;=========================================================================
;                   LG Electronics Inc.
;                   CDMA Handsets Laboratory.
;                   Development Dept. 3
;=========================================================================
;  File name: T56ATV01.SCR
;  Made by  : LGE
;  Version  : V01
;  Date     : 10/09/2007
;-------------------------------------------------------------------------
;	File Modification history
; When			Who			Comments
; 2007/10/02            HK Shin			changed back_light, key light, low battery alert
; 2007/09/24		kylelee			firmware acoustic calibration changed
; 2007/09/20		eshin			Added music player settings
; 2007/09/18		kylelee			firmware acoustic calibration changed
; 2007/05/10		eshin			Changed values for fm_trans_freq
; 2007/04/24		eshin			Added fm_trans_on, fm_trans_info, fm_trans_selected_ch, fm_trans_freq
; 2007/04/24		arvind			Added msg_ems_inactivity_time
; 2006/08/07		arvind			Added msg_settings_speed_messaging
;						for Alltel Speed messaging requirement
; 2006/10/13            Don Nguyen	        Adding FOTA Items
; 2006/10/16            John Woo                Adding BREW Primary/Secondary DNS IP
;                                               Commenting out Data DNS IP
; 2006/10/17            John Woo                pref_voice_so for roam changed to 13K
; 2006/10/26		Don Nguyen		brew_airtime_charge 
; 2006/11/08		arvind			Changed MMS UAProf URL
; 2007/01/08		myoung			vbatt item parameter value changed
; 2007/01/08		myoung			efs power-on/off.gif file deleted 
; 2007/01/15		yskim			wallpaper deleted 
; 2007/01/19		yskim			back_light  {5} -> {7}
; 2007/01/24 		myoung			qdsp_agc_ctrl value changed  
; 2007/02/01		yskim			wallpaper_main 0 ->4 (flash->bmp)
; 2007/02/02		myoung			qdsp_snd_ctrl rx codec -> 7446  
; 2007/02/12		inforpc  		added lcd_re_init_en item
; 2007/03/02		jskim			mms nv item changed 
; 2007/03/05		myoung			amp volume added. 
; 2007/03/06		browser			wap_username, wap_uaprof prameter changed 
; 2007/03/08		kgl			pref_voice_so prameter changed 
; 2007/03/08		jskim			mms_mmsc_uaprof_url changed 43->44
;-------------------------------------------------------------------------
;spc "000000"                         ; does not need at LGDP DLL
;wait 2
mode offline-d
nv_read esn
nv_read verno_maj
nv_read verno_min
nv_read scm
nv_read slot_cycle_index
nv_read mob_firm_rev
nv_read mob_model
wait 2

;=========================================================================
; SYSTEM ITEM
;=========================================================================

nv_write lock_code 		{"0000"}               ; Lock_code
nv_write sec_code       {"000000"}                   ; Security code
nv_write fsc 			{"000000"}                   ; Field Service code;?????????????????
nv_write name_nam       {0, "NAM1"}                  ; NAM 1 Name
nv_write name_nam       {1, "NAM2"}                  ; NAM 2 Name

nv_write imsi_mcc       {0, "311"}                   ; Mobile Country Code (310)
nv_write imsi_mcc       {1, "311"}
nv_write imsi_11_12     {0, "27"}                    ; Mobile Network Code
nv_write imsi_11_12     {1, "27"}
nv_write min1           {0, "000-0000", "000-0000"}
nv_write min1           {1, "000-0000", "000-0000"}
nv_write min2           {0, "000", "000"}            ; NAM 0 has one active MIN2,
nv_write min2           {1, "000", "000"}           

nv_write imsi_t_mcc     {0, "311"}               
nv_write imsi_t_mcc     {1, "311"}
nv_write imsi_t_11_12   {0, "27"}
nv_write imsi_t_11_12   {1, "27"}
nv_write imsi_t_s1      {0, "000-0000", "000-0000"}
nv_write imsi_t_s1      {1, "000-0000", "000-0000"}
nv_write imsi_t_s2      {0, "000", "000"}
nv_write imsi_t_s2      {1, "000", "000"}
                                                 ; NV_DIR_NUMBER_PCS_I      /*123456789012345*/ using 10 digits
nv_write dir_number_pcs {0, "0000000000"}        ; NAM 0 : NV_DIR_NUMBER_PCS_I
nv_write dir_number_pcs {1, "0000000000"}        ; NAM 1 : NV_DIR_NUMBER_PCS_I

                                                 ; Primary CDMA Channels for A carrier and B carrier
print "Programming Primary CDMA Channel"
nv_write pcdmach        {0, 283, 384}            ; A and B primary CDMA channels
nv_write pcdmach        {1, 283, 384}

                                                 ; Secondary CDMA Channel
print "Programming Secondary CDMA Channel"
nv_write scdmach        {0, 691, 777}            ; set only if secondary channels offered
nv_write scdmach        {1, 691, 777}

nv_write home_sid_nid {0,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535}; Home SID+NID pair item
nv_write home_sid_nid {1,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535} ; Home SID+NID pair item
nv_write sid_nid_lock {0,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535} ; CDMA SID/NID pair to lockout for the given NAM and given index(0-9)
nv_write sid_nid_lock {1,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535} ; CDMA SID/NID pair to lockout for the given NAM and given index(0-9)

nv_write mob_term_home    {0, true, true}
nv_write mob_term_home    {1, true, true}
nv_write mob_term_for_sid {0, true, true}
nv_write mob_term_for_sid {1, true, true}
nv_write mob_term_for_nid {0, true, true}
nv_write mob_term_for_nid {1, true, true}

nv_write accolc {0, 0, 0}
nv_write accolc {1, 0, 0}

nv_write slot_cycle_index {2}

                      ;{Nam Name(0, 1), EVRC Capability(0:Off, 1:ON), Home_Page_Voice_SO(0: wildcard, Others : SO), Home Orig.SO(13K QCELP,8K EVRC), Roam Orig.SO(13K QCELP,8K EVRC)
nv_write pref_voice_so {0,  1, 0x0003, 0x0003, 0x0003} ; EVRC Capable, Home Page SO, Home Orig.SO, Roam Orig.SO
nv_write pref_voice_so {1,  1, 0x0003, 0x0003, 0x0003} ; EVRC Capable, Home Page SO, Home Orig.SO, Roam Orig.SO

print "Programming Pref Mode"
nv_write pref_mode     {0, "Digital Only"}
nv_write pref_mode     {1, "Digital Only"}
nv_write hybrid_pref   {1}                        ; 1 : hybrid on,  0 : hybrid off

print "Programming Band Preferred"
nv_write band_pref {0, "pref_any"}
nv_write band_pref {1, "pref_any"}

print "Programming Roam Preferred"
nv_write roam_pref {0, "pref_any"}
nv_write roam_pref {1, "pref_any"}

nv_write system_pref {0, "automatic b"}          ; System preference, actually default to band preference
nv_write system_pref {1, "automatic b"}



;------------------------------------------------------------------------
print "Programming MRU table clear"
                                                 ; except nam (first 0), '0' are 48(=4 X 12) times.
nv_write mru3_table {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
nv_write mru3_table {1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};

                                                 ; NAM Checksums must all be 0xffff
print "Programming NAM Checksums"
nv_write nam_chksum {0, 0xffff}
nv_write nam_chksum {1, 0xffff}
nv_write min_chksum {0, 0xffff, 0xffff}
nv_write min_chksum {1, 0xffff, 0xffff}

;=========================================================================
; OTA ITEM
;=========================================================================
nv_write nam_lock           {0, 0}
nv_write nam_lock           {1, 0}
nv_write otapa_enabled      {0, 1}   ; enable
nv_write otapa_enabled      {1, 1}   ; enable
nv_write spc_change_enabled {1}

;-------------------------------------------------------------------------
; nv_write imsi_t_addr_num    {0, 255}
; nv_write imsi_t_addr_num    {1, 255}

;=========================================================================
; AUTH ITEM
;=========================================================================
nv_write a_key {0, 0x00000000, 0x00000000 } ; Nam 1 64 bits A-Key. Published at factory with Random number.
nv_write a_key {1, 0x00000000, 0x00000000 } ; Nam 2 64 bits A-Key. Published at factory with Random number.

;-------------------------------------------------------------------------
nv_write ssd_a {0, 0x00000000, 0x00000000 }
nv_write ssd_a {1, 0x00000000, 0x00000000 }
nv_write ssd_b {0, 0x00000000, 0x00000000 }
nv_write ssd_b {1, 0x00000000, 0x00000000 }
nv_write count {0, 0}
nv_write count {1, 0}
;=========================================================================

;=========================================================================
;UI ITEM
;=========================================================================
;Volume
nv_write ringer_lvl          	{0x4}     ; 0(Silent All), 1(Vibrate All), 2(Level 1), 3(Level 2), 4(Level 3), 5(Level 4), 6(Level 5)
nv_write beep_lvl             {0x4}     ; 0(Off), 1(Level 1), 2(Level 2), 3(Level 3), 4(Level 4), 5(Level 5)
nv_write ear_lvl              {0x4}     ; 1(Level 1), 2(Level 2), 3(Level 3), 4(Level 4), 5(Level 5)
;nv_write speaker_lvl          {0x4}     ; 1(Level 1), 2(Level 2), 3(Level 3), 4(Level 4), 5(Level 5)
nv_write ringer_spkr_lvl        {0x4}     ; 1(Level 1), 2(Level 2), 3(Level 3), 4(Level 4), 5(Level 5)
nv_write beep_spkr_lvl          {0x4}     ; 0(Off), 1(Level 1), 2(Level 2), 3(Level 3), 4(Level 4), 5(Level 5)
nv_write beep_lvl_shadow        {0x4}     ; 0(Off), 1(Level 1), 2(Level 2), 3(Level 3), 4(Level 4), 5(Level 5)
nv_write ear_lvl_shadow         {0x4}     ; 1(Level 1), 2(Level 2), 3(Level 3), 4(Level 4), 5(Level 5)
nv_write spk_phone_beep_lvl 	{0x4}     ; 0(Off), 1(Level 1), 2(Level 2), 3(Level 3), 4(Level 4), 5(Level 5)
nv_write speaker_shadow 	{0x4}     ; 0(Off), 1(Level 1), 2(Level 2), 3(Level 3), 4(Level 4), 5(Level 5)
nv_write beep_bt_lvl            {0x4}     ; 0(Off), 1(Level 1), 2(Level 2), 3(Level 3), 4(Level 4), 5(Level 5)
nv_write ear_bt_lvl		{0x4}     ; 1(Level 1), 2(Level 2), 3(Level 3), 4(Level 4), 5(Level 5), 6(Level 6), 7(Level 7), 8(Level 8)
;System Setting
nv_write auto_nam               {off}     ; Auto NAM              == disable
nv_write curr_nam               {0}       ; Current NAM           == NAM 1
nv_write pc_port        	{0}       ; PC connection port  0 (USB Modem), 1 (USB Drive), 2 (UART), 3 (BLUETOOTH), 4 (CLOSED)
nv_write location_set  	{0}	  ; 1 -> location on 0-> E911 only

;Call Settings
nv_write auto_answer            {0, 0}    ; Auto answer           == off
nv_write auto_redial            {0, 0}    ; Auto redial           == off;?????????????
nv_write onetouch_dial          {on}      ; One touch dial        == enable!
nv_write voice_priv     	{0}	  ; 0=Standard  1=Enhanced
nv_write auto_volume_enabled    {0}       ; 0-> off , 1-> on
nv_write stand_alone_mode 	{0}       ; 0 default OFF, 1 ON
nv_write tty                    {3}       ; TTY Full(0), TTY+TALK(1),TTY+HEAR(2),TTY off(3)

;Security
nv_write call_rstrc             {0}    ; Restrict(0:off, 1:on) 
nv_write lock                   {off}     ; phone lock            == Unlocked \ now
nv_write auto_lock              {off}     ; phone lock            == Unlocked \ Power_up
nv_write emergency_num1  	{"911"}	  ; Up to 48 Digits
nv_write emergency_num2  	{"611"}	  ; Up to 48 Digits
nv_write emergency_num3 	{"*611"}  ; Up to 48 Digits	

;Display 
nv_write banner         	{"",0}            ; Banner 
nv_write sub_banner     	{"",0}            ; Sub Banner
nv_write back_light             {10}       ; Backlight    
;nv_write sub_backlight         {7}      ; Sub Backlight         == after 7secs (10 -> 7, by bhjo 02.08.28) 
nv_write key_light       	{10}       ; Key light
nv_write language_selection     {0}       ; Default (English/Spanish/French/Portuguese) == English
nv_write edit_font  	{0,0}
nv_write display_set  	{0,0,0}   ; front clock(0:Minimize), main clock(0:Normal), color theme(0:default)
nv_write manner_mode  	{0}       ; 0(false), 1(true)
nv_write number_size 	{1,2}	  ; size(0:Normal, 1:Large), style(0:Magic,1:Digital,2:Basic)
nv_write wallpaper_main 	{0,0,8,""}      ; wallpaper {location_type(0:phone memory 1:phone efs 2:sdcard), location_id(0:sdcard id), item_id(1: index), item_path(NULL: path)}
nv_write wallpaper_sub  	{0,0,0,""}      ; wallpaper {location_type(0:phone memory 1:phone efs 2:sdcard), location_id(0:sdcard id), item_id(1: index), item_path(NULL: path)}
nv_write bgm_wallpaper_main     {0,0,0,""}      ; wallpaper {location_type(0:phone memory 1:phone efs 2:sdcard), location_id(0:sdcard id), item_id(1: index), item_path(NULL: path)}
nv_write bgm_wallpaper_sub      {0,0,0,""}      ; wallpaper {location_type(0:phone memory 1:phone efs 2:sdcard), location_id(0:sdcard id), item_id(1: index), item_path(NULL: path)}
nv_write overall_font_style {0}		; Vector Font Style Setting --- 1)Arial, 2)Script, 3)HYSerif

;Sound
nv_write backtop_beep     {1}     ; Back To Top Sound     0 = off , 1 = On
nv_write call_connect_alert     	{0}     ; Call connect alert     0 = off , 1 = On
nv_write logo_melody       {1}       ; 1(On), 0(Off)
nv_write sound_ringers 	{9,20,13,0,0xffff,0}  ; Caller ID(Blues Mania), No Caller ID(Feel the Breeze), Restricted Calls(Secrete of Nature), Roam Calls(None)--NOT USED, All Calls(None), Vibrate Alert(Off)
nv_write silence_all 	{0}       ; 0(sound on), 1(sound off)
nv_write sound_alerts 	{0,0,0,0} ; ( Service Change, Minute Beep, Call Connect, ERI alert)
nv_write lowbatt_sound		{1}	  ; 0 (Announce), 1(Tone) /*LG_SDRND, lyseng :merge from AX380 */ 
nv_write fliptone_onoff         {0}	  ; 0 (Off), 1 (On)

;Add for one-Beep DNguyen
nv_write  onebeep_mode   		{0}       ; 0(one_beep off), 1(one_beep on)

;MISC  setting
nv_write cont_key_dtmf          {1}       ; key tone length      == 1: Normal, 0: Long  2: Off  (NEW) ; there is no menu in settings
nv_write power_saver            {0}
nv_write eri_text_onoff 	{1}             ; 1 -> On, 0 -> Off
nv_write lg_carrier_id     {1}       ; 0(Alltel), 1(USC), 2(MetroPCS), 3(BP) 
nv_write gps_test_num      {"922"}    ; Up to 48 Digits
nv_write emer_test_num     {"911"}    ; Up to 48 Digits
nv_write alltel_mycircle_warning {1}

;AVT Setting
nv_write best_match          	{1}        ; 0: 1best match, 1: 4 best match
nv_write announce_alerts	{0}		; 0: Disable, 1:Announce, 2:Announce + Ring /*LG_SDRND, lyseng :merge from AX380 */ 

;Bluetooth Power
nv_write bt_power_onoff      	{0}        ; 0 for bluetooth module off, 1 for bluetooth module on -> default 0 (off)

;camera setting
nv_write dcam_photo_setting_RQS  	{1,1,1,0,1}   ; (photo_set_Resolution,photo_set_Quality,photo_set_ShutterSound,photo_set_Brightness,photo_set_reverse)
nv_write dcam_video_setting_RQ       {0}   ; (video_set_Resolution) /*LG_SDRND, lyseng :merge from AX380 */ 
nv_write media_save_option   	{0,0,0}    ; 0 : Phone memory(Default),  1: SD card memory

;Worlclock Setting
nv_write wclock_choice  	{30,0,46,""}     ; default New York {46,0} 

;Need change DLL(Crystal)
nv_write phone_setup        {0,0,14,0,0,"",""}   ;(pim_id,form_id,shortcut_form_index,isModal,modalType,mymenu_level1_index[12],mymenu_level2_index[12)
nv_write call_answer_options 	{0}
nv_write alarm_vibrate		{0}
nv_write sch_vibrate		{0}

;FM Transmitter
nv_write fmtrans_on		{1} ; 1 = off, 0 = on
nv_write fmtrans_info		{0}
nv_write fmtrans_selected_channel	{1} ; 1 is default selected channel
nv_write fmtrans_freq		{"88.1", "88.1", "88.1", "88.1", "88.1", "88.1", "88.1", "88.1", "88.1", "88.1", "88.1", "88.1"} ; 88.1 is default frequency

;Music Player
nv_write aod_player_settings 	{1,0,0,3} ; shuffleType, repeatType, BGMSetting, volLevel

;=========================================================================
; Merge From VX 86000
;=========================================================================

nv_write avr_callalerts          {0}
nv_write avr_prompts_mode         {0}
nv_write avr_choicelist          {0}
nv_write avr_prompts_timeout      {0}
nv_write avr_sensitivity          {1}
nv_write touch_sensitivity        {1}                     ; AX565 has vibrated touchpad Off(0), On(1), Harder(2)


;=========================================================================
; DATA ITEM
;=========================================================================
nv_write data_pkt_orig_str      {5, "#777"}    ; {length,"dialstring"}  valu range 1-16   default value #777
nv_write data_mdr_mode          {3}            ; Service Option 33 (1x channel) = 3 Use only low-speed packet data = 2
nv_write data_auto_packet_detection {0}        ; 0-Disable   1-Enable
nv_write data_so_set            {0}            ; DS_SO_SET_PRE707 =  0     IS-707.0 (pre-707) service option numbers
nv_write diag_default_baudrate  {0x000e}       ; 0x000e(38.4kbps), 0x0011(115.2kbps) 
nv_write data_qnc_enabled       {0}            ; 0-QNC Disable  1-QNC Enable
nv_write ppp_user_id            {0,""}         ; Max of 127 chars in User ID
nv_write ppp_password           {0,""}
nv_write data_scrm_enabled      {1}            ; 0-SCRM Disable 1-SCRM Enable
nv_write data_trtl_enabled      {1}            ; 0-TRTL Disable 1-TRTL Enable
nv_write pref_for_rc            {3}            ; 1(RC1),2(RC2),3(RC3),4(RC4),5(RC5)    
nv_write ds_default_baudrate    {0x0011}       ; 0x0000 (19.2kbps),0x0011(115.2kbps)
nv_write ds_qcmip               {1}            ; 0-SIP(MobileIP disable), 1-MIP preferred(Default Value), 2-MIP only
nv_write ds_mip_active_prof     {0}            ; current active profile index
nv_write ds_mip_enable_prof     {1,1,0,0,0,0}  ; diable - 0, enable - 1 {1st Profile, 2nd Profile, 3rd Profile, .... }
nv_write ds_mip_retries         {2}            ; number of retries
nv_write ds_mip_retry_int       {8}            ; retry interval = n*250(ms) + 1000ms
nv_write ds_mip_pre_re_rrq_time {10}            ; pre-registration time - minute
nv_write ds_mip_num_prof        {2}            ; number of profiles (max 6) 
nv_write ds_mip_2002bis_mn_ha_auth  {0}        ; disable - 0, enable -1
nv_write ds_mip_qc_drs_opt      {1}            ; dormant handoff optimization. disable - 0, enable - 1
                                               ; Comment : MIP general profile information {index, nai_length, nai, mn-ha spi-set, mn-ha spi, mn-aaa spi-set, mn-aaa spi,
                                               ; Comment : reverse tunneling, home address, primary ha address, secondary ha address}
nv_write ds_mip_gen_user_prof {0,0,"",1,257,1,1000,1,0x00000000,0x00000000,0x00000000}
nv_write ds_mip_gen_user_prof {1,0,"",1,257,1,1000,1,0x00000000,0x00000000,0x00000000}


nv_write hdr_an_auth_user_id_long {0,""}       ; { Length , EVDO AN authetication user id }
nv_write dun_cable_mode         {1}            ; 0=disable cable dun,1=enable cable dun
nv_write dun_bt_mode            {1}            ; 0=disable bt dun,1=enable bt dun

nv_write ds_mip_rm_nai {0,0,""}	               ;	{index,nai_length,nai}					       
nv_write ds_sip_rm_nai {0,""}		       ;	{nai_length,nai}

nv_write alltel_fallback_flag          {0}            ; 0 - Auto , 1 - 1X , 2 - QNC 
nv_write ppp_carrier            {2}            ; 0-Verizon 1-USC 7-SCRIPT. Test NV Item.  

nv_write hdr_an_auth_passwd_long  {0,""}

;=========================================================================
; MSG ITEM
;=========================================================================
nv_write msg_settings_auto_save         {0}     ; MSG_AUTO_SAVE(0), MSG_PROMPT(1), MSG_DO_NOT_SAVE(2)
nv_write msg_settings_auto_delete       {0}     ; 0(Off), 1(On)
nv_write msg_settings_entry_mode        {1}     ; MSG_T9EN(0), MSG_ABC(1), MSG_123(2)
nv_write msg_settings_vibrate_alert   	{0} ; On(1), Off(0)
nv_write msg_ems_inactivity_time	{60}	; EMS inactivity time - valid values between 0 and 600 seconds, default 60 seconds
nv_write msg_settings_speed_messaging	{1}		; On(1), Off(0)

;=========================================================================
; SMS ITEM
;=========================================================================
nv_write sms_priority_sel 		{0}             ; 0(Normal), 1(Urgent)
nv_write sms_mo_so 			{1}             ; 0(8K), 1(13K) -> 1(8K), 0(13K) 
nv_write sms_mo_l3_ack 			{1}             ; 0(Off), 1(On)
nv_write sms_default_cb  	{1}     ; 0(Off), 1(On)
nv_write sms_orig_msg_id  		{1}             ; 0x00 - 0xFFFF  
nv_write sms_mo_max_userdata 		{160}           ; 0x0(=180) - 0xFFFF	; 180 -> 170 (by eklee 02.08.22)
nv_write sms_signature_sel 	{0}     ; 0(None), 1(Custom)
nv_write sms_directview_sel 	{0}     ; 0(Off), 1(On)
nv_write sms_voicemail_alert	{26}     ;0~33(Audio Tones)- Low Beep Once(0), Low Beeps(1),Loud Beep Once(2), Loud Beeps(3), Ring1~10(4~13), No Ring(14)
nv_write sms_textmsg_alert	{30}     ;0~33(Audio Tones)- Low Beep Once(0), Low Beeps(1),Loud Beep Once(2), Loud Beeps(3), Ring1~10(4~13), No Ring(14)
nv_write sms_email_alert       {30}     ; 0~33(Audio Tones) - Low Beep Once(0), Low Beeps(1),Loud Beep Once(2), Loud Beeps(3), Ring1~10(4~13), No Ring(14)
nv_write sms_page_alert        {30}     ; 0~33(Audio Tones)- Low Beep Once(0), Low Beeps(1),Loud Beep Once(2), Loud Beeps(3), Ring1~10(4~13), No Ring(14)
nv_write sms_all_alert        	{0xFFFF}     ; Low Beep Once(0), Low Beeps(1),Loud Beep Once(2), Loud Beeps(3), Ring1~10(4~13), No Ring(14)
nv_write sms_2min_alert_sel           	{3} ; Once(0), Every 2 Minutes(1), Every 15 Minutes(2), Off(3)
nv_write sms_cb 			{0, ""}      ; sms_call_back
;=========================================================================
; EMS ITEM
;=========================================================================
nv_write sms_ems_enable               	{on}  ; On(1), Off(0)    
nv_write sms_auto_play       	{off} ; On(1), Off(0)
;nv_write sms_ems_seg_num        	{10}        ; 1~20 
;nv_write sms_info_alert		{1}
;nv_write sms_ems_seg_waiting		{1}
;nv_write sms_ems_obj_enable		{on}

;=========================================================================
; UP ITEM : for magellan 
;=========================================================================
nv_write wap_domain_name1 {"wap1.alltel.net"}                          ; WAP Primary Domain Name default.
nv_write wap_port1 {"80"}                                              ; WAP Primary Port default.
nv_write wap_lvl_port1 {"0443"}                                        ; WAP Primary Secure Port default.
nv_write wap_domain_name2 {"wap2.alltel.net"}                        ; WAP Secondary Domain Name default.
nv_write wap_port2 {"80"}                                            ; Wap Secondary Port default.
nv_write wap_lvl_port2 {"0443"}                                      ; WAP Secondary Secure Port default.
nv_write wap_username {""}                                          ; WAP User Name
nv_write wap_password {""}                                                    ; WAP User Password.
nv_write wap_homepage {"proxy:homepage"}                                      ; WAP Homepage
nv_write wap_uaprof {"http://www.alltel.net/uaprof/lg/ax565/ax565.xml"}     ; WAP UAProf

;=========================================================================
;BREW ITEM
;=========================================================================
nv_write brew_carrier_id {41}
nv_write brew_platform_id {1202}		            ; AX565 Platform ID
nv_write brew_bkey {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00} 
nv_write brew_server    {"brewdownload.alltel.net,brewdownload.alltel.net"}  ; 64 byte character
nv_write brew_download_flags {0x0444}                       ; DIF_USE_A_KEY(0x0001) - A Key: 1 or B Key: 0 Option, DIF_TEST_ALLOWED(0x0002) - Test Disable: 0, Test Enable: 2
                                                            ; DIF_MIN_FOR_SID(0x0004) - Use MIN for Subscriber ID: 4,  Not use: 0, DIF_PREPAY(0x0008) - Prepay:8, Postpay:0
nv_write brew_auth_policy {1}                               ; APOLCY_NONE(0), APOLCY_SID(1), APOLCY_TEXT(2), APOLCY_NUM(3) 
nv_write brew_privacy_policy {3}                            ; PPOLICY_BREW(0), PPOLICY_CARRIER(1), PPOLICY_BREW_AND_CARRIER(2), PPOLICY_BREW_OR_CARRIER(3)
nv_write brew_sid_length {32}				    ; SID(Subscriber ID) Length lyseng : keep 32 per Nam 
nv_write brew_disallow_dormancy {0}		            ; FALSE	
nv_write brew_primary_ip        	{166,102,165,11}
nv_write brew_secondary_ip      	{166,102,165,13}
nv_write brew_airtime_charge		{TRUE}
;=========================================================================
; MMS ITEM
;=========================================================================
;New MMS ITEMS
nv_write mms_set_auto_receive        {1}                             ; 0(MMS_OFF), 1(MMS_ON)
nv_write mms_set_read_ack            {1}                             ; 0(ON), 1(OFF)
nv_write mms_set_delivery_ack        {0}                             ; 0(MMS_ON), 1(MMS_OFF)

nv_write mms_set_tone_alert          {29}                             ; 0(Low Beep Once),1(Low Beeps), 2(Laud Beep Once), 3(Loud Beeps), 4~13(Ring1~Ring10)
nv_write mms_set_vibrate_alert       {0}                             ; Not used item now [0(VIBRATE OFF), 1(VIBRATE ON)]
nv_write mms_set_reminder_alert      {3}                             ; Not used item now [0(REMIND ONCE), 1(REMIND EVERY2MIN), 2(REMIND EVERY15MIN), 3(REMIND OFF)]

nv_write mms_mmsc_url                {21, "http://mms.alltel.com"}   ; 48 byte characters
nv_write mms_mmsc_upload_url         {14, "mml.alltel.com" }   	     ; Upload Address
nv_write mms_mmsc_uaprof_url         {43, "http://www.alltel.net/mms/AX565_MMS_V01.xml"} ; 48 byte characters

nv_write mms_set_retry_num           {3}                             ; 0, 1, 2, 3
nv_write mms_send_from_add           {0}                             ; MDN Only (0), 1MDN (1),  +1MDN (2)         

nv_write mms_mmsc_user_agent         {5,"AX565"}                  	 ; User Agent Profile name
nv_write mms_mmsc_server_post_url    {13, "/servlets/mms"}           ; Post URL
nv_write mms_mmsc_server_post_cgi    {12, "?message-id="}            ; CGI URL

nv_write mms_test_authorization      {0}                             ; 0 : Commercial, 1 : Lab  2 : Test Bed
nv_write mms_test_mmsc_url           {36, "http://mms.alltel.com/servlets/mms_t"} 			   ; 48 byte characters
nv_write mms_test_mmsc_upload_url    {14, "mml.alltel.com" }   			 ; Upload Address

nv_write mms_gateway_server_name_ip  {21, "http://mms.alltel.com"} 
nv_write mms_http_method_uri     		 {34, "http://mms.alltel.com/servlets/mms"} 
nv_write mms_mmsc_secondary_name_ip  {0, ""} 

;=========================================================================

;=========================================================================
;F/W ITEM
;=========================================================================

nv_write rf_config           	{6}
nv_write vbatt               	{0,255}     
nv_write rx_pcm_filter_ctrl  	{-33,214,120,-857,1827,1564,14131}           
nv_write batt_level_threshold  	{148,153,167,167,175,181,181, 32, 202, 202, 0, 0, 0, 0}
nv_write batt_level_threshold_charging  {146,151,151,162,180,190,178, 32, 202, 202, 0, 0, 0, 0}
nv_write audio_amp_volume    	{0,0,0,0,0,0,0,0,0,0,0,0,0,0}
nv_write send_pin				{0} ; disable service testmode including sound (ring+vib), Touch, and etc.

;=========================================================================

;=========================================================================
;GPSONE ITEM
;=========================================================================
nv_write gps1_pde_address {0,0,0,0}
nv_write gps1_pde_port {0}
;=========================================================================

;=========================================================================
;MMS IMAGE ITEM
;=========================================================================
efs write "mms/DecodeErrorAnimation.jpg"
efs write "mms/DecodeErrorImage.jpg"
efs write "mms/NotSupportedImage_UnknownImage.jpg"
efs write "mms/phoneOnConversation.jpg"
efs write "mms/TooBigErrorImage.jpg"
;=========================================================================

;=========================================================================
;VOICE ITEM
;=========================================================================
efs write "mVoice/ment/ment_voc.db"
;=========================================================================

;=========================================================================
;FOTA ITEM
;=========================================================================
;nv_write dm_sec_nai_enabled {1}                         ;Secondary NAI test, To test in roam area must set to 0, in commercial version must set to 1

efs write "cert/getrootcert.der"

;=========================================================================
;Flash Contents
;=========================================================================
efs write "flash/ezTip.swf"
efs write "flash/flashPhoneDial1.swf"
efs write "flash/flashPhoneDial2.swf"
efs write "flash/worldClock.swf"
;=========================================================================



mode reset
