;================================================================================================
;
; NV-items are programmed using the nv_write command:
;
;   nv_write itemname { [nam index,] val1, val2, ..., valn }
;
; Only NAM 0 has meaningful values.  Values for NAMs 1-3 are
; zeroed out or set to default values.
;
; Some items require a nam index (0-1). The curly braces
; are required and they surround the values to be written.
; You must supply every value the item expects. Hex values
; you supply need the 0x prefix.
;
; Semi-colons introduce comments. Whole line and
; to-end-of-line comments are possible.
;
; THE FOLLOWING PARAMETERS SHOULD BE SET FOR EACH PHONE:
;-------------------------------------------------------------------------------------------------
;
;   1. CDMA preferred serving system (Automatic A or Automatic B)
;   2. Analog preferred serving system (System A or System B)
;   3. Analog Home SID (the SID of the preferred serving system)
;   4. Analog first paging channel (for system A or system B)
;   5. CDMA primary and seconday channels (including PCN, if in use)
;   6. CDMA SID/NID pairs (the SID of the preferred serving system)
;   7. MIN1 and MIN2 parameters.
;   8. Default settings for TM250
;==================================================================================================
;** print "Start Service Programming"
;** Enter the Service Programming Code (factory defaulted to 000000)
;** If you don't have version 116 or later, this command will fail.
;** This allows access to the SP items (both reading _and_ writing)

spc "000000"

wait 2

; Put the DMSS in offline mode
mode offline-d

;==================================================================================================
; SYSTEM ITEM
;==================================================================================================
;** Display the ESN and permanent physical station
;** configuration parameters
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
nv_write scm {0x3A}       ; mx800.3A ( rsvd, cdma only, slotted, meid support, 25Mhz, con transmission, pwr class)
nv_write slot_cycle_index {2}
nv_write hw_config {1}
nv_write mob_cai_rev {6}

;** MIN items
;** The 2 MIN1s for each NAM, in order from 0 to 1
;** THESE ITEMS MUST BE SUPPLIED FOR EACH USE
;** Notice that because the MIN1 contains a '-', it is actually a
;** string, not a number. The double quotes distinguish it from a
;** number.
;**
;** The first MIN in each NAM is the analog MIN, the second MIN in each NAM is
;** the CDMA MIN
;**
;** One active min in NAM0, no active mins in NAM1, NAM2, or NAM3
print "Programming MIN1"
nv_write min1 {0, "000-0000", "000-0000"}
nv_write min1 {1, "000-0000", "000-0000"}

;** The 4 MIN2s for each NAM, in order from 0 to 3
;** THESE ITEMS MUST BE SUPPLIED FOR EACH USE

print "Programming MIN2"
nv_write min2 {0, "000", "000"}           ; NAM 0 has one active MIN2,
nv_write min2 {1, "000", "000"}

;** Phone Number.
print "Programming NV_DIR_NUMBER_I"
nv_write dir_number {0, "0000000000"}     ; NAM 0 : NV_DIR_NUMBER_I
nv_write dir_number {1, "0000000000"}

;** IMSI
print "Programming IMSI data"
nv_write imsi_mcc {0, "724"}              ; Mobile Country Code
nv_write imsi_mcc {1, "724"}
nv_write imsi_11_12 {0, "00"}             ; Mobile network code
nv_write imsi_11_12 {1, "00"} 
nv_write imsi_addr_num {0, 0xff}          ; Class 0 IMSI
nv_write imsi_addr_num {1, 0xff} 

;print "Programming TRUE IMSI data"
nv_write imsi_t_mcc {0, "724"}            ; Mobile Country Code
nv_write imsi_t_mcc {1, "724"}            

nv_write imsi_t_11_12 {0, "00"}           ; Mobile Network Code
nv_write imsi_t_11_12 {1, "00"}           

nv_write imsi_t_s1 {0, "000-0000","000-0000"}   ; S1
nv_write imsi_t_s1 {1, "000-0000","000-0000"}           

nv_write imsi_t_s2 {0, "000", "000"}      ; S2
nv_write imsi_t_s2 {1, "000", "000"}    

nv_write imsi_t_addr_num {0, 0xff}
nv_write imsi_t_addr_num {1, 0xff}

print "Programming Pref Mode"
;semann, DEC/15/04: changed "Automatic" -> "Digital Only"
;inforpc 2005.12.19 chaged "Digital Only" -> "Automatic"
;NV_MODE_DIGITAL_ONLY = 0x01 
;NV_MODE_CDMA_ONLY = 0x09 - hybrid_pref should be set to off.
;NV_MODE_HDR_ONLY = 0x0A  - hybrid_pref should be set to off.
nv_write pref_mode {0, 0x01}
nv_write pref_mode {1, 0x01}

print "Programming Band Preferred"
;NV_BAND_PREF_BC0_A = 1 = 0x0001
;NV_BAND_PREF_BC0_B = 2 = 0x0002
;NV_BAND_PREF_BC0 = 3   = 0x0003
;NV_BAND_PREF_BC1 = 4   = 0x0004
;NV_BAND_PREF_BC3 = 16  = 0x0010
;NV_BAND_PREF_BC4 = 32  = 0x0020
;NV_BAND_PREF_BC5 = 64  = 0x0040
;NV_BAND_PREF_ANY = 65535 = 0xffff
nv_write band_pref {0, 0xffff}
nv_write band_pref {1, 0xffff}

print "Programming Roam Preferred"
;CM_ROAM_PREF_HOME = 0x01 = 1
;CM_ROAM_PREF_AFFIL = 0x03 = 3
;CM_ROAM_PREF_ANY = 0xFF = 255
nv_write roam_pref {0, 0xff}
nv_write roam_pref {1, 0xff}

;semann, DEC/15/04: Block system_pref - not used for SD2.0
;print "Programming System Preferred"
;nv_write system_pref {0, "standard"}

;semann, DEC/20/04: added 'hybrid_pref'
nv_write hybrid_pref  {1}    ; 1 : hybrid on,  0 : hybrid off

;** PRL value
; print "Programming PRL value"
;nv_write prl_enabled {0, 1}                ; obsolete
nv_write prl_enabled {0,1} ;
nv_write prl_enabled {1,1} ;

;** CDMA SID/NID pairs
;** SID/NIDs come in pairs, 1 pairs for each NAM/MIN
;** combination. The first parameter in the braces is
;** NAM, the second is the MIN, the rest are SID, NID
;** pairs. All non-zero SIDs have to have the same
;** even/odd parity.
;** Only the CDMA (MIN=1) sid_nid is programmed.
;** The analog one has no meaning.

;** NV_SID_NID_I - sid_nid
;semann, DEC/20/04: SSPR feature is enabled. Use NV_HOME_SID_NID_I instead of NV_SID_NID_I 
print "Programming NV_HOME_SID_NID_I"
;print "Programming NV_SID_NID_I"
;nv_write sid_nid {0, 1, 0, 0xffff}
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}
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}

;** NV_SID_NID_LOCK_I - sid_nid_lock
;print "Programming NV_SID_NID_LOCK_I"
nv_write sid_nid_lock {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
nv_write sid_nid_lock {1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}

;** CDMA SIDs to lock out
;print "Programming CDMA SID Lock List"
;nv_write cdma_sid_lock {0,  0, 0, 0, 0, 0, 0} ; obsolete
nv_write cdma_sid_lock {0,  0, 0, 0, 0, 0, 0}
nv_write cdma_sid_lock {1,  0, 0, 0, 0, 0, 0}

;** CDMA SID to acquire
;print "Programming CDMA SID Acq List"
;nv_write cdma_sid_acq {0,  0, 0, 0, 0, 0, 0} ; obsolete

;** 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}

print "Programming MRU table clear"
;semann, DEC/20/04: use mru3_table instead of mru2_table
;nv_write mru2_table {0, "mru00"}
; 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};

;** Analog SIDs to lock out
;print "Programming Analog SID Lock List"
;nv_write analog_sid_lock {0,  0, 0, 0, 0, 0, 0} ; obsolete

;** Analog SID to acquire
;print "Programming Analog SID Acq List"
;nv_write analog_sid_acq {0,  0, 0, 0, 0, 0, 0} ; obsolete

;** Analog first paging channel
;semann, DEC/15/04: AMPS is not supported
;print "Programming Analog First Paging Channel"
;nv_write analog_firstchp {0, 334}         ; Set for the preferred carrier

;** Analog home SID
;semann, DEC/15/04: AMPS is not supported
;print "Programming Analog Home SID"
;nv_write analog_home_sid {0, 0}           ; Set to the preferred carrier SID

;** Analog registration setting
;semann, DEC/15/04: AMPS is not supported
;print "Programming Analog Registration setting"
;nv_write analog_reg {0, "whereabouts known"}

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

;** ACCOLCp
print "Programming ACCOLCp"
nv_write accolc {0, 0, 0}
nv_write accolc {1, 0, 0}

;** MOB_TERM_HOME registration flag
print "Programming MOB_TERM_HOME"
nv_write mob_term_home {0, true, true}
nv_write mob_term_home {1, true, true}

;** MOB_TERM_FOR_SID registration flag
print "Programming MOB_TERM_FOR_SID"
nv_write mob_term_for_sid {0, true, true}
nv_write mob_term_for_sid {1, true, true}

;** MOB_TERM_FOR_NID registration flag
print "Programming MOB_TERM_FOR_NID"
nv_write mob_term_for_nid {0, true, true}
nv_write mob_term_for_nid {1, true, true}

;** MIN checksum
print "Programming MIN checksums"
nv_write min_chksum {0, 0xffff, 0xffff}
nv_write min_chksum {1, 0xffff, 0xffff}

print "Programming Pref Voice SO"
nv_write pref_voice_so {0, 1, 3, 3, 3}  ; NAM #No., EVRC Capability Disabled/Enabled, 0=Home Page SO(Wild Card)  3=Home Orig. SO(8K EVRC) 3=Roam Orig. SO(8K EVRC) 
nv_write pref_voice_so {1, 1, 3, 3, 3}

nv_write pref_for_rc {3}

;** Voice Privacy 
print "Programming Voice Privacy"
nv_write voice_priv {0}                   ; 0=Standard  1=Enhanced

;efs write "pim/tsb58a.dat"

;efs write "pim/call_hist_nv.dat" 

;err_clr 0xff                             ; error clear

;==================================================================================================
; TTY  ITEM
;==================================================================================================

;nv_write tty {3}    ; TTY : 0(tty_full = enable), 1(tty_talk=enable), 2(tty_hear=enable), 3(tty_off = disable)

;==================================================================================================
; Auth & OTA ITEM
;==================================================================================================

;** Authentication NAM items
;** These are all zero now
;** Authentication A Key
print "Programming Authentication NAM items"
nv_write a_key {0, 0x00000000, 0x00000000 }
nv_write a_key {1, 0x00000000, 0x00000000 }

;** SSD_Asp
print "Programming SSD_A"
nv_write ssd_a {0, 0x00000000, 0x00000000 }
nv_write ssd_a {1, 0x00000000, 0x00000000 }

;** SSD_Bsp
print "Programming SSD_Bsp"
nv_write ssd_b {0, 0x00000000, 0x00000000 }
nv_write ssd_b {1, 0x00000000, 0x00000000 }

;** Authentication counter
nv_write count {0, 0}
nv_write count {1, 0}


;** OTAPA Enabled
print "Programming OTAPA Enabled"
nv_write otapa_enabled {0, 1}			;enabled
nv_write otapa_enabled {1, 1}

;** NAM Lock
print "Programming NAM Lock"
nv_write nam_lock {0, 1}			;enabled
nv_write nam_lock {1, 1}

;** SPC Change Enabled
print "Programming SPC Change Enabled"
nv_write spc_change_enabled {1}
; OTA process동안 SPC를 다른 값으로 바꿀 수 있는지 여부를 알려주는 값, 
;단말기가 Default Value "000000"를 가지면, spc_change_enabled 는 '0'이 되어야 함.
;그 외의 값을 갖는 경우, S/W 내부적으로 자동 '1'로 설정됨.


;=========================================================================
;DATA ITEM관련 
;=========================================================================

nv_write data_qnc_enabled 		{0} 		;NV_DATA_QNC_ENABLED_I	0-QNC Disable  1-QNC Enable
nv_write data_so_set 			{0}  		;NV_DATA_SO_SET_I
							; DS_SO_SET_PRE707 =  0     IS-707.0 (pre-707) service option numbers
							; DS_SO_SET_PROPTRY = 1     Qualcomm proprietary service option numbers
							; DS_SO_SET_IS707 =   2     IS-707 service option numbers
nv_write data_mdr_mode 			{3} 		;NV_DATA_MDR_MODE_I
							; DS_MDR_MODE_MDR_ONLY = 0  Use only MDR packet data services
							; DS_MDR_MODE_IF_AVAIL = 1  Use MDR if available, else use low-speed
							; DS_MDR_MODE_NO_MDR   = 2  Use only low-speed packet data services
							; DS_MDR_MODE_NO_MDR   = 3  Use only high-speed packet data services
nv_write data_pkt_orig_str 		{5, "#777"}    	;NV_DATA_PKT_ORIG_STR_I {length,"dialstring"}  valu range 1-16   default value #777
nv_write data_auto_packet_detection 	{0}   		;NV_DATA_AUTO_PACKET_DETECTION_I   0-Disable   1-Enable
nv_write dmt_timer 			{120} 		;NV_DMT_TIMER_I   dormant timer 120 sec
nv_write ppp_carrier            	{0}           	;0-VIVO		7-SKT
nv_write hdr_an_auth_user_id_long 	{26,"0000000000@a12.vivo.com.br"} 
							;NV_HDR_AN_AUTH_USER_ID_LONG_I { Length , EVDO AN authetication user id }

;=========================================================================
;Sound Cal관련 
;=========================================================================
nv_write qdsp_snd_ctrl {-18,0,0,0,0,0,0,0,0,0,0,0,0,-10,17,0}
nv_write audio_adj_phone {0,0,0,0,0,0,0,0,0}
nv_write audio_adj_earjack {15,0,0,15,0,0,0,0,0}
nv_write audio_adj_hfk {20,15,0,20,15,0,0,0,0}  ;BT
;nv_write audio_adj_spk {0,0,0,0,0,0,0,0,0}  ;DO NOT write


;=========================================================================
;GPS관련 
;=========================================================================

;print "Programming GPS"
nv_write gps1_gps_rf_loss {42}		
nv_write gps1_lo_cal {-3}		
nv_write gps_dopp_sdev {2}
nv_write gps1_cdma_rf_delay {5990}		
nv_write gps1_pcs_rf_delay {5930}		
nv_write gps1_gps_rf_delay {0}	


nv_write gps1_pde_address {0xC88E826E}  ; ip address 200.142.130.110
nv_write gps1_pde_port {0x22b8}         ; 8888
nv_write gps1_mpc_address {0xC88E826E}  ; mpc address 200.142.130.110
nv_write gps1_mpc_port {0x22b7}         ; 8887
nv_write use_mpc {0}                    ; mpc disable



;=========================================================================
;UI ITEM
;=========================================================================
; Default User Settings 
; Init Value
nv_write key_lock {0}                     	; key_lock // NV_KEY_LOCK_I = 4187
nv_write lock_code {"0000"}               	; Lock_code // NV_LOCK_CODE_I = 82
nv_write sec_code {"000000"}              	; Security code // NV_SEC_CODE_I = 85
nv_write fsc {"000000"}                   	; Field Service code // NV_FSC_I = 184
nv_write sec_code_two {"953047"}		; SPC2 Long NAM code // NV_SEC_CODE_TWO_I = 4179
nv_write otksl {"000000"}                 	; OTKSL code // NV_OTKSL_I = 219

nv_write name_nam {0, "    VIVO    "} 		; NAM0~1 Name // NV_NAME_NAM_I = 43
nv_write name_nam {1, "    VIVO    "} 		; NAM0~1 Name // NV_NAME_NAM_I = 43
nv_write auto_nam {off}                   	; Auto NAM == disable // NV_AUTO_NAM_I = 42
nv_write curr_nam {0}                     	; Current NAM == NAM 1 // NV_CURR_NAM_I = 40

nv_write auto_lock {off}                  	; phone lock == Unlocked \ Power_up // NV_AUTO_LOCK_I = 83
nv_write lock {0}			  	; 0(Unlocked),1(Lock) // NV_LOCK_I = 81

;Display Items
; jkim changed 2006.1.27
nv_write banner {"VIVO"}		; // NV_BANNER_I = 71
nv_write display_set {0,1,0,0,0}		; NV_DISPLAY_SET_I = 4157
                                                ;Menu Style       => 0(Grid), 1(List)
                                                ;Main Keys        => 0(Off), 1(On)
                                                ;clock & Calendar => 0(Normal),1(Analog),2(Digital),3(Dual Clock),4(Clocks & Calendar),5(No Clock)
                                                ;(not use)
                                                ;Display Themes   => 0(Black),1(Silver)

nv_write display_screen {0,0,0,0}               ; NV_DISPLAY_SCREEN_I = 4158
                                                ;Wall Paper => 0(Default(Vivo Logo)) 
                                                ;Screen Saver(not use), 
                                                ;Power On  => 0(Vivo) 
                                                ;Power Off => 0(Vivo)
nv_write key_light {0x05}			; 5 seconds(0x05), 10 seconds(0x0A), 30 seconds(0x1E), 120 seconds(0x78), Alwyas Off(0x0) // NV_KEY_LIGHT_I = 4155
nv_write back_light {0x07}			; 7 seconds(0x07), 15 seconds(0x0F), 30 seconds(0x1E), 120 seconds(0x78) // NV_BACK_LIGHT_I = 77

;;; Sound Items
nv_write sound_ringers {0, 0, 0}		;CallerID Ringer   => 0(Ring 1)
                                                ;NoCallerID Ringer => 0(Ring 1)
                                                ;Roaming Ringer(not use) // NV_SOUND_RINGERS_I = 4151
nv_write silence_all {0}			; 0(Deactivate),1(Activate)  // NV_SILENCE_ALL_I = 4153
nv_write sound_alerts {0,0,0}			;Service Change:0(Off),1(On) 
                                                ;Minute Beep:0(Off),1(On) 
                                                ;Call lost(not use) // NV_SOUND_ALERTS_I = 4154
nv_write cont_key_dtmf {0} 			; Key Tones:1(Short),0(Long) // NV_CONT_KEY_DTMF_I = 67
nv_write ringer_lvl {4}			; Ringer Volume 0(off),1~5level,6(vibrate+ringer),7(vibrate) // NV_RINGER_LVL_I = 64
nv_write ringer_spkr_lvl {4} 			; // NV_RINGER_SPKR_LVL_I = 229
nv_write ear_lvl {3}				;  Voice Volume 1~5level // NV_EAR_LVL_I = 62
nv_write ear_lvl_shadow {3}			; // NV_EAR_LVL_SHADOW_I = 165
nv_write speaker_lvl {3}			; // NV_SPEAKER_LVL_I = 63
nv_write beep_lvl {3}				; Key Beep Volume 0(off),1~5level // NV_BEEP_LVL_I = 65
nv_write beep_spkr_lvl {3}			; // NV_BEEP_SPKR_LVL_I = 230
nv_write beep_lvl_shadow {3}			; // NV_BEEP_LVL_SHADOW_I = 164


;;; Settings etc
nv_write phone_setup {0, 0, 0, 0, 0, 0, 2, 0, 1}    ;NV_PHONE_SETUP_I = 4162	
                                                    ;Pim ID(not use), 
                                                    ;Phone ID(not use),
                                                    ;up_id(not use),
                                                    ;down id(not use)
                                                    ;right id(not use)
                                                    ;shell id(not use)
                                                    ;call_answer_ans    => 0(Slide up),1(Any Key),2(SEND Only)
                                                    ;call_answer_end(not use)
                                                    ;language          => 0(Enlgish),1(Portuguneas),2(Spanish)

					  	; Language : 0(English),1(Portuguese),2(Spanish)
nv_write auto_answer {0,0}			; 0(off),1(on) // NV_AUTO_ANSWER_I = 74
						; 1(After 1 ring), 2(After 3 rings), 3(Answering Machine


;;; Vivo CSP
nv_write prefcarrier_mode {0}  			; 0: manual, 1: prompt, 2: automatic  // NV_PREFCARRIER_MODE_I = 4172
nv_write prefcarrier_info{0} 			; 0: disable, 1: enable // NV_PREFCARRIER_INFO_I = 4174
nv_write prefcarrier_list { 0, 0, "0","0","","","","","","", "0", "","","","","","",""} ;total, default, name(1-8), number(1-8) // NV_PREFCARRIER_LIST_I = 4173

;;; Vivo etc
nv_write carrier_id {0x01}  			; 0x0:skt 0x01:telesp 0x02:rj 3:global 4:vco 5:vrs // NV_CARRIER_ID_I = 4183
nv_write pri_ver {"VIV_PRI_10M"}  		; only 11chars vivo pri version // NV_PRI_VER_I = 4184
nv_write voiceportal {"*2211"}  		; max 11digits vivo voice portal number // NV_VOICEPORTAL_I = 4182

nv_write minlock {0} 				; disable:0  // NV_MINLOCK_I = 4181
nv_write minlock_list {11,"2***","5***","7***","02**","05**","07**","08**","105*","111*","305*","917*","****","****","****","****"}
						; minlock 갯수, 리스트15개 // NV_MINLOCK_LIST_I = 4185
;;; Others
nv_write call_connect {0}  		; 1(On) , 0(Off) // NV_CALL_CONNECT_I = 4167
nv_write voice_priv {0} 			; 0(Standard) , 1(Enhanced) // NV_VOICE_PRIV_I = 179
nv_write auto_volume_enabled {0} 		; 0(Off) , 1(On) // NV_AUTO_VOLUME_ENABLED_I = 301
nv_write onetouch_dial {1}			; 0(Disabled) , 1(Enabled) // NV_ONETOUCH_DIAL_I = 145
nv_write mainlcd_brightness {60}			; 0~100(6 steps) 0,20,40,60,80,100 // NV_MAINLCD_BRIGHTNESS_I = 4176
nv_write wclock_choice {15,0,0}		;NV_WCLOCK_CHOICE_I = 4162
                                        ;choice_city: 0~52(53 cities), 15:Brasilia(default value) 
                                        ;line_longitude 
                                        ;dst: 1(On), 0(Off) 
nv_write power_save_mode {0}            ;Off(0),On(1)

nv_write logo_lvl {1}                           ; 0(Off),1(On)
nv_wirte auto_redial{0,0}             ; {0,0}(off),{1,1}(10 sec),{1,3}(30 sec),{1,6}(60 sec)
nv_write location_set {1}             ; 0(Off), 1(On)

;=========================================================================
;SMS ITEM
;=========================================================================

nv_write bom_mnc {20, 0} ; select:20(Other), default mnc:0
;print "SMS nv item"

nv_write sms_settings {0, 1, 0, 0, 1, 0, "", 6, 0, 1}        ;NV_SMS_SETTINGS_I
								;Auto Save        		=> Auto Save(0), Prompt(1), Do not Save(2)
								;Auto Erase       		=> Off(0) , On(1)
								;txt AutoView    		=> 0(Off), 1(On)
								;auto Receive    		=> 0(Off), 1(On)
								;entry Mode      		=> T9 Word(0), Abc(1), 123(2)
								;signature         		=> 0(None) 1(Custom) flag for signature setting
								;signature         		=> signature content
								;smsAlert	 		=> "sms alert, page alert" Silent(0) Vibrate Once(1) Vibrate and sound(2) Low beeps Once(3) Low beeps(4) Loud beep once(5) Loud beeps(6)
								;two minute alert		=> Off(0), On(1)
								;delivery Notice		=> Off(0), On(1)

nv_write sms_hidden_settings {0,1,0,0} 		;NV_SMS_HIDDEN_SETTINGS_I
								;serviceOption 		=> SMS_SO6(0), SMS_SO14(1)
								;l3Ack            		=> Off(0), On(1)
								;errorClass      		=> sms error class
								;causeCode     		=> sms cause code
nv_write sms_mo {130, 0,0}				;NV_SMS_MO_I
								;maxDataLen			=> sms mo max msg data length
								;msgId				=> bearer data - message identifier - message_id
								;smsId				=> smsId
nv_write sms_voice {6,"*555", 0}		;NV_SMS_VOICE_I
								;voiceMailAlert			=> "sms alert, page alert" Silent(0) Vibrate Once(1) Vibrate and sound(2)Low beeps Once(3) Low beeps(4) Loud beep once(5) Loud beeps(6)
								;number					=> voice mail number
								;nRecords				=> # of voice mail 

;=========================================================================
;MMS관련 
;=========================================================================

nv_write mms_settings_auto_download   {0}                                                  ; Auto(1), Manual(0)

nv_write mms_mmsc_server_name_ip      {35, "http://termnat.vivomms.com.br:8088/"}          ; 

nv_write mms_gateway_server_name_ip   {22, "http://200.142.130.150"}                       ; 

nv_write mms_http_method_uri          {4, "mms/"}      ; 

nv_write mms_uaprof_url_in_user_agent {42, "http://lguaprof.vivomms.com.br/lgmx800.xml"}  ; 

;nv_write mms_use_korea_mmsc           {0}                                                  ; 0(Off),1(On)

;=========================================================================
;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"
efs write "mms/Only_Sound_video.jpg"
;=========================================================================

;=========================================================================
;BREW ITEM
;=========================================================================
nv_write brew_server {"brewtcpos.zaaap.com.br,brewtcpre.zaaap.com.br"}      ;byte[64] (char) 
;nv_write brew_secondary_server {"brewtcpre.zaaap.com.br"}    ;byte[64] (char)
nv_write brew_primary_ip {200,142,130,8}                     ;byte[4] (digit)    
nv_write brew_secondary_ip {200,142,130,11}                  ;byte[4] (digit)
nv_write brew_carrier_id {51}                                ;byte[1] (digit)
nv_write brew_bkey {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00} ;byte[16] (digit)
nv_write brew_download_flags {0x04}                                ;word  
nv_write brew_auth_policy {0}                                  ;byte
nv_write brew_privacy_policy {3}                                 ;byte
nv_write brew_platform_id {1144}                             ;word
;=========================================================================

;=========================================================================
; Browser Setting MMC Object ( editted by LaTeX 2006.03.07 ) 
;  
; Primary Proxy   : 200.142.130.150(C4000050C88E8296) 
; Secondary Proxy : 200.142.131.150(C4000050C88E8396)
; homepage        : http://termwap.vivo.com.br
; trusted domain  : http://.vivo.com.br
; linger timer    : 120 sec
; Search URL      : http://termwapsearch.vivo.com.br
; IM URL          : http://imwapsp.vivo.com.br
; Chatting URL    : http://chatwapsp.vivo.com.br
; Email URL       : http://emailwapsp.vivo.com.br
; UAProf URL      : http://lguaprof.vivomms.com.br/lgmx800.xml
;=========================================================================
efs write "OWS/MMC/proxy..0.address..0.wdp"
efs write "OWS/MMC/proxy..1.address..0.wdp"
efs write "OWS/MMC/homepage"
efs write "OWS/MMC/domain.trusted"
efs write "OWS/MMC/slmode"
efs write "OWS/MMC/lingertimer"

efs write "OWS/MMC/search.url"

efs write "OWS/MMC/banks"
efs write "OWS/MMC/blackfish"
efs write "OWS/MMC/cabum"
efs write "OWS/MMC/chatting"
efs write "OWS/MMC/cupido"
efs write "OWS/MMC/email"
efs write "OWS/MMC/games"
efs write "OWS/MMC/guideleisure"
efs write "OWS/MMC/instantmessenger"
efs write "OWS/MMC/portals"
efs write "OWS/MMC/quiz"
efs write "OWS/MMC/galeria"
efs write "OWS/MMC/sports"
efs write "OWS/MMC/toneimage"

efs write "OWS/MMC/uaprof..0.url"
;=========================================================================

mode reset
