;=========================================================================
;                   LG Electronics Inc.
;                   CDMA Handsets Laboratory.
;                   Development Dept. 3
;=========================================================================
;  File name: VX880V04.scr
;  Made by  : LGE
;  Version  : V04_03
;  Date     : 04/16/2008
;-------------------------------------------------------------------------
;  when         version    what
;-----------  ----------  ------------------------------------------------
;Feb/22/2008    V04 
;Dec/13/2007    V03 
;Sep/28/2007    V02 
;Sep/05/2007    V01 
;Jun/15/2007    E09        
;Aug/28/2007			color_variation added
;----------    -------    ------------------------------------------------



;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 sec_code                    {"000000"}                      ; Security code
nv_write lock_code                   {"0000"}                        ; Lock_code

nv_write min1                        {0, "000-0000", "000-0000"}     ; Min0 number
nv_write min1                        {1, "000-0000", "000-0000"}     ; Min1 number
nv_write min2                        {0, "000", "000"}               ; NAM 0 has one active MIN2,
nv_write min2                        {1, "000", "000"}               ; NAM 1

nv_write name_nam                    {0, "NAM1"}                     ; NAM 1 Name
nv_write name_nam                    {1, "NAM2"}                     ; NAM 2 Name

nv_write imsi_mcc                    {0, "310"}                      ; Mobile Country Code (000)
nv_write imsi_mcc                    {1, "310"}
nv_write imsi_11_12                  {0, "00"}                       ; Mobile Network Code
nv_write imsi_11_12                  {1, "00"}
;nv_write imsi_addr_num              {0, 0}
;nv_write imsi_addr_num              {1, 0}

nv_write imsi_t_mcc                  {0, "310"}
nv_write imsi_t_mcc                  {1, "310"}
nv_write imsi_t_11_12                {0, "00"}
nv_write imsi_t_11_12                {1, "00"}
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_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

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

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,2004,65535,2004,65535,2004,65535,2004,65535,2004,65535,2004,65535,2004,65535,2004,65535,2004,65535,2004,65535,2004,65535,2004,65535,2004,65535,2004,65535,2004,65535,2004,65535,2004,65535,2004,65535,2004,65535,2004,65535}
nv_write home_sid_nid                {1,2004,65535,2004,65535,2004,65535,2004,65535,2004,65535,2004,65535,2004,65535,2004,65535,2004,65535,2004,65535,2004,65535,2004,65535,2004,65535,2004,65535,2004,65535,2004,65535,2004,65535,2004,65535,2004,65535,2004,65535}
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}
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}

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}

nv_write pref_voice_so               {0,  1, 0x0000, 0x0003, 0x0003} ; True, wildcard, EVRC, EVRC
nv_write pref_voice_so               {1,  1, 0x0000, 0x0003, 0x0003} ; True, wildcard, EVRC, EVRC

print "Programming Pref Mode"
nv_write pref_mode                   {0, "Digital Only"}
nv_write pref_mode                   {1, "Digital Only"}

nv_write voice_priv                  {1}                             ; 0=Standard  1=Enhanced  (1->0->1, by bhjo 02.08.28/09.06)

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 hybrid_pref                 {1}                             ; 1 : hybrid on,  0 : hybrid off

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

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}

nv_write stand_alone_mode            {0}                             ; 0 default OFF, 1 ON
;=========================================================================

;=========================================================================
; AUTH ITEM
;=========================================================================
nv_write a_key                       {0, 0x00000000, 0x00000000 }
nv_write a_key                       {1, 0x00000000, 0x00000000 }
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}
;=========================================================================

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

;=========================================================================
;UI ITEM
;=========================================================================
nv_write call_sounds                 {5,5,5,5,0}                     ; {Caller ID (5: VZW Default Tone), No Caller ID (5: VZW Default Tone), Restrict Calls (5: VZW Default Tone), All Calls (5: VZW Default Tone), Vibrate (0: Off, 1: On)}
nv_write ringer_lvl                  {0x4}                           ; 1(Low), 2(Medium Low), 3(Medium), 4(medium High), 5(High), 1(Vibrate only=manner_mode), 97(alarm only), 1(Sounds Off=silence_all)
nv_write ringer_spkr_lvl             {0x4}                           ; 0(Off), 1(Low), 2(Medium Low), 3(Medium), 4(medium High), 5(High), 98(High & Vib), 99(Vibrate)
nv_write beep_lvl                    {0x4}                           ; 0(Off), 1(Low), 2(Medium Low), 3(Medium), 4(medium High), 5(High)
nv_write beep_lvl_shadow             {0x4}                           ; 0(Off), 1(Low), 2(Medium Low), 3(Medium), 4(medium High), 5(High)
nv_write beep_spkr_lvl               {0x4}                           ; 0(Off), 1(Low), 2(Medium Low), 3(Medium), 4(medium High), 5(High)
nv_write spk_phone_beep_lvl          {0x4}                           ; 0(Off), 1(Low), 2(Medium Low), 3(Medium), 4(medium High), 5(High) - Keypad Volume on Speaker Phone Mode
nv_write ear_lvl                     {0x6}                           ; 1(Low)~8(High)
nv_write ear_lvl_shadow              {0x6}                           ; 1(Low)~8(High)
nv_write speaker_lvl                 {0x6}                           ; 1(Low)~8(High)
nv_write speaker_shadow              {0x6}                           ; 1(Low)~8(High) - Earpiece Volume on Speaker Phone Mode

;sjbae : add avr vol
nv_write vp_spkr_lvl                 {0x6}                           ; 1(Low), 2(Medium Low), 3(Medium), 4(medium High), 5(High), 6(High), 7(High)
nv_write vp_lvl_shadow               {0x6}                           ; 1(Low), 2(Medium Low), 3(Medium), 4(medium High), 5(High), 6(High), 7(High)
nv_write vp_bt_lvl                   {0x6}                           ; 1(Low), 2(Medium Low), 3(Medium), 4(medium High), 5(High), 6(High), 7(High)
nv_write vp_spkr_shadow_lvl          {0x6}                           ; 1(Low), 2(Medium Low), 3(Medium), 4(medium High), 5(High) , 6(High), 7(High)
nv_write vp_lvl                      {0x6}                           ; 1(Low), 2(Medium Low), 3(Medium), 4(medium High), 5(High) , 6(High), 7(High)
nv_write vibrate_factory_test        {false}                         ; vibrate_factory_test enable(TRUE), disable(FALSE)
nv_write call_restrict							 {0,0,0,0,0}											 ; 0(off), 1(on) inCall-outCall-MT-MO-DUN
nv_write restriction_lock_code			 {"0000"}												 ; 4 Digit Number
nv_write first_time_security_access	 {true}
nv_write charging_alert_onoff        {0}                             ; Charging Alert On(1), Off(0) 

nv_write sound_alerts                {0,0,0,0}                       ; {Service Change (Not use), Minute Beep, Call Connect, ERI}, On (1), Off(0)
;nv_write call_connect_alert          {false}                         ; Call connect alert    == off
nv_write backtop_beep                {true}                          ; Back To Top Sound == on       
nv_write power_onoff_sounds          {1,1}                           ; {Power On, Power Off}, On (1), Off (0)
nv_write banner                      {""}                            ; Banner - default blank, because confuse Banner with ERI text
nv_write sub_banner                  {""}                            ; Sub Banner - default blank, because confuse Sub Banner with ERI text
nv_write eri_text_onoff              {1}                             ; 1 -> On, 0 -> Off
nv_write back_light                  {7}                             ; Backlight             == after 5secs (7 -> 5, by sjbae 06.03.14)
nv_write sub_backlight               {7}                             ; Sub Backlight         == after 5secs (7 -> 5, by sjbae 06.03.14)
nv_write key_light                   {7}
nv_write wallpaper_main              {1, 6, 50}                         ; {location_type (0:phone memory, 1:phone efs, 2:sdcard), location_id (0:sdcard id), item_id (50: index)}
nv_write display_set                 {0,0,1}                         ; sub_clock, main_clock, color theme
nv_write number_size                 {0,0}                           ; (size, color(don't use)) 0:normal 1:large
nv_write auto_nam                    {off}                           ; Auto NAM              == disable
nv_write curr_nam                    {0}                             ; Current NAM           == NAM1
nv_write location_set                {0}                             ; 1 -> location on 0-> E911 only
nv_write auto_lock                   {off}                           ; phone lock            == Unlocked \ Power_up
nv_write lock                        {off}                           ; phone lock            == Unlocked \ now
nv_write emergency_num1              {"911"}                         ; Up to 48 Digits
nv_write emergency_num2              {"*911"}                        ; Up to 48 Digits
nv_write emergency_num3              {"#911"}                        ; Up to 48 Digits
nv_write language_selection          {0}                             ; Default (English/Spanish/French/Portuguese) == English
;nv_write phone_setup                 {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0} ; (pim_id, form_id, shortcut_form_index[10], call_answer, isModal, modalType)
                                                                     ; pim_id, form_id : 0 -> Schedule, call_answer : 0 -> Flip open
nv_write auto_answer                 {0, 0}                          ; Auto answer           == off
nv_write auto_redial                 {0, 0}                          ; Auto redial           == off
nv_write tty                         {3}                             ; TTY Full(0), TTY+TALK(1),TTY+HEAR(2),TTY off(3)
nv_write onetouch_dial               {1}                     					; Off (0), On (1)
;nv_write ringer_id_onoff             {1}                             ; 1 -> On, 0 -> Off   new item 2003.11.30
;nv_write picture_id_onoff            {1}                             ; 1 -> On, 0 -> Off   new item 2003.11.30
nv_write shortcut_main               {2,4,0,17}                       ; {Left->SHORTCUT_GET_PIX_FLIX, Up->SHORTCUT_GET_NEWS_INFO, Right->SHORTCUT_GET_IT_NOW, Down->SHORTCUT_CALENDAR}
;nv_write shortcut_sub                {0,0,0,0}                       ; {Left, Up, Right, Down}
;nv_write call_rstrc                  {0x00}                          ; Restrict(0:off, 1:on) 
nv_write bt_power_onoff           {0}                     ; OFF (0), ON (1)
nv_write beep_bt_lvl              {4}                     ; Off (0), 1~5 (Volume1 ~ Volume5)
nv_write bt_audio_auto_pair       {1}                     ; auto pairing mode ON(1) OFF(0) ;msmaen blocked
nv_write ear_bt_lvl               {6}                     ; 1~8 (Volume1 ~ Volume8)
nv_write media_save_option           {0,0,0}                         ; media_save_option{pix_save_location(0 : phone memory 1: sdcard) ,flix_save_location(0 : phone memory 1: sdcard) ,sound_save_location(0 : phone memory 1: sdcard) }
;nv_write alarm_sounds                {6,0}                           ; {tone(6: Ringtone 2), vibrate (0: Off)}

;nv_write fsc                         {"000000"}                      ; Field Service code
;nv_write auto_volume_enabled         {0}                             ; 0-> off , 1-> on
;nv_write cont_key_dtmf               {1}                             ; Prssed key tone       == 1: Normal, 0: Long  2: Off  (NEW)
;nv_write send_pin                    {off}                           ; Send pin?             == disable!
;nv_write carrier_logo                {0}                             ; 0 -> Verizon, 
nv_write avr_call_alerts             {0}
nv_write avr_prompts_mode            {0}
nv_write avr_choice_list             {0}
nv_write avr_prompts_timeout         {0}
nv_write avr_sensitivity             {1}
nv_write avr_audio_playback          {0}
nv_write avr_digit_dial_readout      {0}
;nv_write voice_recording_time        {0}

;nv_write sound_ringers               {4,4,4,4,0}                ; (caller ID, No Caller ID, Restrict, all calls, vibrate options) added item 4th & 5th 2003.11.30 ;KHW 2004.06.16 MODIFY in NJ

nv_write silence_all                  {0}                             ; sound on   {1} sound off
nv_write edit_font                    {0,0}
nv_write display_screen               {0}                             ; power_onoff animation
nv_write front_lcd_alignment          {0}                             ; Left Alignment{0}, Right Alignment{1}

;nv_write messaging_set               {1,1}
nv_write manner_mode                  {0}                             ; false {0}, true {1}
;nv_write wclock_choice               {30,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,0,0,0,0,47,0}
;;                                    {cur_Itm (30), Set_DST, choice_city ( NewYork: 47), line longtitude}
;;nv_write stack_idx                  {0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff} ; call history clear
nv_write power_saver                 {0}
;nv_write status_led                  {0,0,0,0,0,0,0}                 ; incoming_call, missed_call, new_sms_alert, reminders, in_service_area, roaming, battery_low
nv_write alarm_only_mode             {0}                             ; 0 -> Disable, 1 -> Enable

;nv_write gps_test_num                {"922"}                         ; Up to 48 Digits
;nv_write emer_test_num               {"911"}                         ; Up to 48 Digits

;;nv_write contrast_lvl               {81, 0x12}                      ; (Flash on/off, don't care) Camera Flash On -> 85(0x55), Off -> others
;nv_write camera_flash_test           {0x01}                          ; (Flash on/off) Camera Flash On -> 85(0x55), Off -> others


;;nv_write bd_addr                    {0x9a,0xbc,0x56,0x78,0x12,0x34} ; Bluetooth Address

nv_write pc_port                     {0}                             ; PC connection port  0 (USB), 1 (UART), 2 (BLUETOOTH), 3 (CLOSED)
;nv_write nvitem_equalizer_mode       {1}                             ; 0(flat) , 1(3D Surround) ,2 (Concert Hall) , 3 (Rock) , 4 (Jazz)  , 5 (POP) , 6 (Classical) 
;nv_write visualizer_mode             {0}                             ; 0 enable   ,  1 disable
;nv_write use_mymp3                   {0}                             ; 0: MUSIC_MOD_ONLY,     1 : MUSIC_MP3_MOD
nv_write emergency_tone_set           {2}                             ; 0 Alert , 1 Vibrate , 2 Off
nv_write screen_saver                {0,1}                           ;  ( sub ( 0 : no screen  1: digital) main ( 0 : no screen 1 : digital + calenda ,2 : digital)
nv_write lg_wdc                      {0,0,0,0,0}
nv_write location_set_lock	     {0}                             ; location_set_lock ( 0 : unlock , 1 : lock)
nv_write dual_nam_set_enable	     {1}                             ; dual_nam_set_enable(nam set menu) ( 0 : disable , 1 : enable)

nv_write service_num              {"611"}                         ; Up to 48 Digits

nv_write touch_sound				{1}
nv_write touch_vib_type			{0}
nv_write touch_vib_lvl				{0}

nv_write end_call_option			{0}
nv_write show_call_end_button		{1}
nv_write menu_font_size			{0,0}			; (font_size(0: normal, 1:large), font_color)	
nv_write screensaver_time			{0}

nv_write answer_option				{1}				; 1: Slide Up, 4: Auto with Handsfree, 5: Slide Up + Auto with Handsfree
nv_write sms_settings_font_size		{0}
nv_write set_usb_auto_detection		{1}				; 0 : Sync Music, 1 : Sync Data, 2 : Ask On Plug

nv_write color_variation		{0}				; 0 : Black Phone, 1 : Pink Phone
;=========================================================================
;=========================================================================
; 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                 {2}                             ; 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                 {20,"0000000000@vzw3g.com"}     ; Max of 127 chars in User ID

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) ,0x00012(230.4kbps)
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,0,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            {3}                             ; retry interval = n*250(ms) + 1000ms
nv_write ds_mip_pre_re_rrq_time      {0}                             ; pre-registration time - minute
nv_write ds_mip_num_prof             {1}                             ; number of profiles (max 6) 
nv_write ds_mip_2002bis_mn_ha_auth   {1}                             ; 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,20,"0000000000@vzw3g.com",1,300,1,2,1,0x00000000,0xffffffff,0xffffffff}
nv_write ds_mip_dmu_pkoid            {0,10}                          ; { Index , Public key organization indentifier }
nv_write ds_mip_dmu_mn_auth          {0,0x01,0xB2,0x07}              ; { Index , DMU MN authenticator - 111111base10 }

nv_write hdr_an_auth_user_id_long    {20,"0000000000@vzw3g.com"}     ; { 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

;Comment : MIP&SIP NAI(Network Access Identifier) for DUN 
nv_write ds_mip_rm_nai               {0,24,"0000000000@dun.vzw3g.com"} ; {index,nai_length,nai}
nv_write ds_sip_rm_nai               {24,"0000000000@dun.vzw3g.com"} ; {nai_length,nai}

;----------------------------------------------------------------------
nv_write ppp_carrier                 {0}                             ; 0-Verizon 1-USC 7-SCRIPT. Test NV Item.  
efs write "DMU/10.key"		                                     ; MIP DMU(Dynamic Mipkeys Update) key file                     ;size = 260;

;CS DLL don't write this item 
;remove the ppp password setting in script file. (Becuase ppp_password value is changed after DMU nego.)
;{16(password_len),0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF}
nv_write ppp_password                {16,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}      

;CS DLL don't write this item 
;{0~5(index),16(mn_ha_ss_length),0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,
;16(mn_aaa_ss_length),0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF}
;remove the ds_mip_ss_user_prof setting in script file. (Becuase ppp_password value is changed after DMU nego.)
nv_write ds_mip_ss_user_prof         {0,16,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,16,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}

;CS DLL don't write this item 
;Comment : remove the hdr_an_auth_passwd_long setting in script file. (Becuase it uses ppp_password value that changed after DMU nego.)
;{16(password_len),0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF,0x~0xFF}
nv_write hdr_an_auth_passwd_long     {16,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}   
;=========================================================================

;=========================================================================
; MSG ITEM
;=========================================================================
nv_write msg_settings_auto_save      {0}                             ; ON(0) Off(1) Prompt(2)
nv_write msg_settings_auto_delete    {0}                             ; On(1), Off(0)
nv_write msg_settings_entry_mode     {1}                             ; Word(0), Abc(1), ABC(2), 123
nv_write msg_settings_vibrate_alert  {0,0,0,0}                       ; On(1), Off(0)
nv_write msg_settings_signature	     {0}			     ; None(0), Custom(1)	
;=========================================================================

;=========================================================================
; SMS ITEM
;=========================================================================
nv_write sms_txt_cb_enable           {1}                             ; On(1), Off(0)
nv_write sms_orig_msg_id             {1}                             ; 0X0001 - 0XFFFF
nv_write sms_mo_max_userdata         {160}                           ; Up to 220 Byte (160 character(= 140 Byte))
nv_write sms_mo_l3_ack               {1}                             ; On(1), Off(0)
nv_write sms_mo_so                   {1}                             ; 8K(1), 13K(0)
nv_write sms_voicemail_record        {0,0}                           ; {Count,Time}
nv_write sms_settings_direct_view    {0}                             ; Off(0), On(1)
nv_write sms_voicemail_alert         {11}                            ; 5(VZW Default Tone), 6~22(Ringtone 1~17), 23(No Ring), 0xffff(Get New Ringtones)
nv_write sms_textmsg_alert           {1}                             ; 0(Low Beep Once),1(Low Beeps),2(Laud Beep Once),3(Loud Beeps)
nv_write sms_voicemail_cb            {3,"*86"}                       ; 20Byte(ASCII)
nv_write sms_urgent_voice_record     {0}                             ; None(0), Exist(1)
nv_write sms_2min_alert_sel          {3,3,3,3}                       ; Once(0), Every 2 Minutes(1), Every 15 Minutes(2), Off(3)
nv_write sms_message_cb              {10,"0000000000"}               ;
;=========================================================================

;=========================================================================
; SMS/EMS ITEM
;=========================================================================
nv_write sms_settings_auto_play      {0}                             ; On(1), Off(0)
nv_write sms_ems_enable              {1}                             ; On(1), Off(0)
;=========================================================================

;=========================================================================
;BREW ITEM modified by Kim sungkung
;=========================================================================
nv_write brew_server                 {"apps.myvzw.com,apps2.myvzw.com"} ; 64 byte character
nv_write brew_carrier_id             {200}                           ; 
nv_write brew_bkey                   {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00} 
nv_write brew_download_flags         {0x0004}                        ; 
nv_write brew_auth_policy            {1}                             ; 
nv_write brew_privacy_policy         {3}                             ;
nv_write brew_platform_id            {1206}			
nv_write brew_disallow_dormancy      {1}                             ; TRUE
nv_write brew_sid_length             {32}
;=========================================================================

;=========================================================================
; MMS ITEM
;=========================================================================
nv_write mms_set_auto_receive        {1}                             ; 0(MMS_OFF), 1(MMS_ON)
nv_write mms_set_read_ack            {0}   			     ; 0(MMS_OFF), 1(MMS_ON)
nv_write mms_set_delivery_ack        {1}                             ; 0(MMS_OFF), 1(MMS_ON)

nv_write mms_set_tone_alert          {1}                             ; 0(Low Beep Once), 1(Low Beeps), 2(Laud Beep Once), 3(Loud eeps),4(DoorBell), 5(VZW Default Tone),6~16(Ring1~Ring10), 17(No Ring)
nv_write mms_set_vibrate_alert       {0}                             ; 0(VIBRATE OFF), 1(VIBRATE ON)
nv_write mms_set_reminder_alert      {3}                             ; 0(REMIND ONCE), 1(REMIND EVERY2MIN), 2(REMIND EVERY15MIN), 3(REMIND OFF)

nv_write mms_mmsc_url                {20, "http://mms.vtext.com"}    ; 48 byte characters
nv_write mms_mmsc_upload_url         {6, "438749" }          	     ; Upload Address
nv_write mms_mmsc_uaprof_url         {44, "http://uaprof.vtext.com/lg/vx88k/vx88kv1.xml"} ; 48 byte characters

nv_write mms_set_retry_num           {0}                             ; 0, 1, 2, 3   It is changed the 3->0, because  Data Team support the retry count.
nv_write mms_send_from_add           {2}                             ; MDN Only (0), 1MDN (1),  +1MDN (2)         

nv_write mms_mmsc_user_agent         {8,"VX8800v1"}                  ; 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
nv_write mms_test_mmsc_url           {20, "http://66.174.75.171"}    ; 48 byte characters
nv_write mms_test_mmsc_upload_url    {6, "666612" }                  ; Upload Address
;=========================================================================

;=========================================================================
;F/W ITEM
;=========================================================================
nv_write rf_config                   {6}
nv_write gps_rf_config             {3}
nv_write vbatt                       {81, 218}                       ; VX8800
nv_write elapsed_time                {50}                            ; ympark 59=>50

;msmaeng audio all blocked
;nv_write audio_codec_gain            { 0, 0, 0, 0, 0, 0, 0, 0, 0 } 
;nv_write audio_voc_gain              { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
;nv_write audio_agc                   { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
;nv_write audio_rx_fir_pcm_filter     { 0, 0, 0, 0, 0, 0, 0, 0 }
;nv_write audio_tx_fir_pcm_filter     { 0, 0, 0, 0, 0, 0, 0, 0 }
;nv_write audio_qdsp                  { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }

nv_write charging_bypass_boot        {0}                             ; 0=FALSE/1=TRUE

nv_write batt_threshold  	      { 185, 160, 140, 80, 51, 30 }	; Rev. F
;nv_write batt_threshold  	      { 182, 158, 135, 76, 48, 27 }	; Rev. E
;nv_write batt_threshold              {163,147,130,93,75,35}           ; (level_4, level_3, level_2, level_1, pwr_off, call_pwr_off)
;nv_write batt_threshold              {214,193,174,119,93,27}           ; (level_4, level_3, level_2, level_1, pwr_off, call_pwr_off)
;nv_write batt_therm_threshold        {1,83,73}                       ; (warning, pwr_off, thm_activate)
;=========================================================================

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

;=========================================================================
; DATA EFS
;=========================================================================
efs write                            "DMU/10.key"                    ; MIP DMU(Dynamic Mipkeys Update) key file
;=========================================================================

;=========================================================================
; UP EFS : for magellan 
;=========================================================================
efs write "OWS/paramtable1.fil"
efs write "OWS/wdptable1.fil"
;=========================================================================

;=========================================================================
; UI EFS
;=========================================================================
;efs write "dload/bzcard/CamOCR_eng.bin" 
;=========================================================================

;=========================================================================
;ERI SOUND EFS
;=========================================================================
efs write "eri_sound/extendednetwork.qcp"
efs write "eri_sound/lossofservice.qcp"
efs write "eri_sound/roaming.qcp"
efs write "eri_sound/verizonwireless.qcp"
;=========================================================================

;=========================================================================
; DCAMERA EFS
;=========================================================================
;efs write                            "dload/dcammenu.dat"
efs write                            "dload/default_img/DecodeErrorAnimation.jpg"
efs write                            "dload/default_img/DecodeErrorImage.jpg"
efs write                            "dload/default_img/NotSupportedImage_UnknownImage.jpg"
efs write                            "dload/default_img/phoneOnConversation.jpg"
efs write                            "dload/default_img/TooBigErrorImage.jpg"
efs write                            "dload/default_img/video_FirstFrame_PMD.bmp"
efs write                            "dload/default_img/video_FirstFrame_SVG.bmp"
efs write                            "dload/default_img/VideoImageSymbol.jpg"
;efs write                            "dload/default_img/sub_DecodeErrorAnimation.jpg"
;efs write                            "dload/default_img/sub_DecodeErrorImage.jpg"
;efs write                            "dload/default_img/sub_NotSupportedImage_UnknownImage.jpg"
;efs write                            "dload/default_img/sub_phoneOnConversation.jpg"
;efs write                            "dload/defauLt_img/sub_TooBigErrorImage.jpg"
;=========================================================================

;=========================================================================
; SHUTTER SOUND EFS
;=========================================================================
;efs write                           "dload/shutter1.wav"
;efs write                           "dload/ready123.wav"
;efs write                           "dload/saycheese.wav"
;=========================================================================

;=========================================================================
; VIDEO SOUND EFS
;=========================================================================
;efs write                           "dload/videostart.wav"
;efs write                           "dload/videoend.wav"
;=========================================================================

;=========================================================================
; TTS EFS
;=========================================================================
;efs write                            "mTalk/sms-etts.cnt"
;efs write                            "mTalk/sms-etts.dat"
;efs write                            "mTalk/sms-etts.etc"
;efs write                            "mTalk/sms-etts.hdx"
;efs write                            "mTalk/sms-etts.idx"
;efs write                            "mTalk/sms-etts.key"
;=========================================================================

;=========================================================================
; AVR EFS (for Play)
;=========================================================================
efs write                            "mVoice/dict/dict_en.dat"
efs write                            "mVoice/dict/dictinfo_en.dat"

;=========================================================================
; PIM EFS
;=========================================================================
;efs write                           "pim/call_hist_nv.dat"          ;delete
;=========================================================================

;=========================================================================
;MMS IMAGE EFS
;=========================================================================
;efs write                           "brew/16452/mp/Bear_heart.bmp"
;efs write                           "brew/16452/mp/Elvis_birthday_sm.jpg"
;efs write                           "brew/16452/mp/Hi_pig_sm.jpg"
;efs write                           "brew/16452/mp/Love_you_cat_sm.jpg"
;efs write                           "brew/16452/mp/Martini.bmp"
;efs write                           "brew/16452/mp/Party_time_sm.jpg"
;efs write                           "brew/16452/mp/Roses.bmp"
;efs write                           "brew/16452/mp/Sorry_monster_sm.jpg"
;efs write                           "brew/16452/mp/Sun.bmp"
;efs write                           "brew/16452/mp/Surfing.bmp"
;=========================================================================

;=========================================================================
;MMS SOUND EFS
;=========================================================================
;efs write                           "brew/16452/ms/Beethovens_fifth.mid"
;efs write                           "brew/16452/ms/Dreamsequence.mid"
;efs write                           "brew/16452/ms/Ode_to_joy.mid"
;efs write                           "brew/16452/ms/Rainforest.mid"
;efs write                           "brew/16452/ms/Train.mid"
;=========================================================================

;=========================================================================
;ANIMATION IMAGE EFS
;=========================================================================
;efs write                           "dload/opening_01.jpg"
;efs write                           "dload/opening_02.jpg"
;efs write                           "dload/opening2_01.jpg"
;efs write                           "dload/opening2_02.jpg"
;efs write                           "dload/closing_01.jpg"
;efs write                           "dload/closing_02.jpg"
;efs write                           "dload/closing2_01.jpg"
;efs write                           "dload/closing2_02.jpg"
;=========================================================================

;=========================================================================
;FLASH CONTENT EFS
;=========================================================================
; [Menu][WallPaper][SoftKey][Tools]
efs write "flash/ui/menu/subMenuTheme1.swf"
efs write "flash/ui/menu/subMenuTheme2.swf"
efs write "flash/ui/menu/topMenuTheme1.swf"
efs write "flash/ui/menu/topMenuTheme2.swf"
efs write "flash/ui/wallpaper/wallpaperType1.swf"
efs write "flash/ui/wallpaper/wallpaperType2.swf"
efs write "flash/ui/wallpaper/wallpaperType3.swf"
efs write "flash/ui/wallpaper/wallpaperType4.swf"
efs write "flash/ui/wallpaper/wallpaperType5.swf"
efs write "flash/ui/wallpaper/wallpaperType6.swf"
efs write "flash/ui/wallpaper/wallpaperType7.swf"
efs write "flash/ui/wallpaper/wallpaperType8.swf"
;efs write "flash/ui/softkey/softKeyTheme1.swf"
;efs write "flash/ui/softkey/softKeyTheme2.swf"
efs write "flash/ui/tools/ezTip.swf"
efs write "flash/ui/tools/worldClock.swf"
;=========================================================================

;=========================================================================
;FOTA
;=========================================================================
efs write "otadm/mdmc.ini"
efs write "otadm/omadlc.ini"
efs write "otadm/MgmtTree.bin"
efs write "cert/Verisign_Public_Primary.cer"
;=========================================================================

mode reset
