;=========================================================================
;                   LG Electronics Inc.
;                   CDMA Handsets Laboratory.
;                   Development Dept. 3
;  when         version    what
;-----------  ----------        ------------------------------------------------

;10/30/2006    T8eVZVE01_01      initialize T8eVZE01_01  (from T87VZE01)
;11/21/2006    VX835E02_01       sms updated , name changed
;11/24/2006    VX835E03_01       sms updated
;12/04/2006    VX835E04_01       audio nv_item delete and add 
;12/05/2006    VX835E05_01       audio nv_item value chnanged 
;12/06/2006    VX835E06_01       shortcut_main value chnanged 
;12/06/2006    VX835E07_01       Flash Contents chnanged 
;12/06/2006    VX835E08_01       battery value  chnanged 
;12/19/2006    VX835E10_01       QTv images(EFS_SCR\dload inserted) updated
;12/19/2006    VX835E11_01       AVR value changed
;12/20/2006    VX835E12_01       Shortcut setting value changed
;12/20/2006    VX835E13_01       Flash UI Contents, AVR, 5 midi files updated
;12/28/2006    VX835E14_01       Ringtone value updated
;01/03/2007    VX835E15_01       Flash updated
;01/08/2007    VX835E16_01       avr_choice_list changed, new VP recorded
;01/08/2007    VX835E17_01       ERI sound available, delete bootlogo directory, 
;                                call_restrict item added, service_num added..
;01/09/2007    VX835E18_01       dual_nam_set_enable changed
;01/10/2007    VX835E19_01       unused sms items deleted
;01/15/2007    VX835E20_01       DATA EFS (10.key) available ..
;01/16/2007    VX835E21_01       Sub Clock items changed..
;01/25/2007    VX835E22_01       vibrate_factory_test, key_guard_set updated.
;01/25/2007    VX835E23_01       return to version 21..(22 error occured) 
;01/29/2007    VX835E24_01       version.txt included, AVR VP data deleted
;02/07/2007    VX835E25_01       audio_agc value updated, charging_bypass_boot batt_level_threshold deleted
;02/16/2007    VX835E27_01       One Touch Dial, Sub clock Default value 
;02/22/2007    VX835E28_01       audio_agc value updated
;02/28/2007    VX835E29_01       settings, audio_agc updated
;02/28/2007    VX835E30_01       For Test Mode deleted mediaplayer directory
;03/10/2007    VX835E31_01       MMS, brew>mod>10888 added
;03/14/2007    VX835E32_01       images updated
;03/21/2007    VX835E33_01       BT updated
;03/23/2007    VX835E34_01       menuType1.swf updated
;03/23/2007    VX835E35_01       Brew, sms, Snd updated
;03/29/2007    VX835E36_01       MMS user agent, profile updated
;03/29/2007    VX835E37_01       tools image, answer_option updated
;04/04/2007    VX835E38_01       vibrate_factory_test enabled 
;04/05/2007    VX835E39_01       flash contents inserted with code 
;04/25/2007    VX835E40_01       wallpaper_main,_sub updated 
;04/25/2007    VX835E41_01       Snd, batt updated 
;04/26/2007    VX835E42_01       brew version.txt updated 
;05/02/2007    VX835E43_01       5 images changed 
;05/09/2007    VX835E44_01       8350 mov vod im UPDAETD 
;05/11/2007    VX835E45_01       Default Theme, Default Wallpaper updated 
;05/13/2007    VX835E46_01       wClock city value updated 
;05/18/2007    VX835E47_01       agc, ase updated
;05/20/2007    VX835V01_01       version name changed
;06/06/2007    VX835V01_02       key_guard_set inactive, avr auto play back 
;06/15/2007    VX835V01_03       wallpaper changed to building requested by Verizon 
;09/18/2007    VX835V02_01       version changed LCD 
;12/12/2007    VX835V03_01       V03 for RC (mms, voice_priv comment)
;06/09/2008    VX835V03_01       V03 for RC (emergency_tone_set)
;06/09/2008    VX835V03_01       V03 for RC (Nam_Lock Disable)
;----------    ----------        ------------------------------------------------


;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=Off  1=On  (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}
nv_write nam_lock                    {1, 0}
;=========================================================================

;=========================================================================
;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 restriction_lock_code       {"0000"}                        ; 4 Digit Number
nv_write first_time_security_access  {true}


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 7secs (5 -> 7, dreamytree 20070227)
nv_write sub_backlight               {7}                             ; Sub Backlight         == after 7secs (5 -> 7, dreamytree 20070227)
nv_write key_light                   {7}
nv_write wallpaper_main              {0,0,7}                         ; {location_type (0:phone memory, 1:phone efs, 2:sdcard), location_id (0:sdcard id), item_id (1: index)}
nv_write wallpaper_sub               {0,0,7}                         ; {location_type (0:phone memory, 1:phone efs, 2:sdcard), location_id (0:sdcard id), item_id (1: index)}
nv_write display_set                 {0,0,0}                         ; 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 answer_option               {3}                             ; Send key(0), Send key or Flip open(1), Send key or Any key(2), 
                                                                     ; Send key or Flip open or Any key(3), Send key or Auto with handsfree(4), Send key or Flip Open or Auto with handsfree(5),Send key or Any Key or Auto with handsfree(6), 
                                                                     ; Send key or Flip open or Any Key or Auto with handsfree(7)
;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               {on}                            ; One touch dial        == enable!
;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, Up, Right, Down}
;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}                             ; 1 -> On, 0 -> Off
nv_write beep_bt_lvl                 {0x4}                           ; 1(Low), 2(Medium Low), 3(Medium), 4(medium High), 5(High)
nv_write ear_bt_lvl                  {0x6}                           ; 1(Low), 2(Medium Low), 3(Medium), 4(medium High), 5(High)
;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 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 messaging_set               {1,1}
nv_write manner_mode                  {0}                             ; false {0}, true {1}
nv_write backtop_beep                 {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 key_guard_set               {0}                            ; key_guard   0(Always off)  7( 7 Seconeds)  30( 30 Seconeds)  120( 2 Min)
;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 lg_sys_cdg_enable           {0}                             ; 0 DISABLE , 1 ENABLE
;nv_write screen_saver                {0,0}                           ;  ( 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 charging_alert_onoff        {0}                             ; Charging Alert On(1), Off(0)
nv_write call_restrict               {0,0,0,0,0}                     ; 0(off), 1(on) inCall-outCall-MT-MO-DUN
nv_write service_num                 {"611"}                         ; Up to 48 Digits
nv_write audio_ase                   {0}                             ; audio ase 0 : off, 1 : on
nv_write emergency_tone_set          {2}                             ; Default(2)--> Alert(0), vibrate(1), Off(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}                             ; DS_MDR_MODE_MDR_ONLY = 0  Use only MDR packet data services
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(115kbps)
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
;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}      
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(115kbps) ,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
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_rrq_if_tfrk         {0}                             ; send a registration only in use : disable-0, enable-1
nv_write ds_mip_qc_drs_opt           {1}                             ; dormant handoff optimization
                                                                     ;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}
;Comment : MIP shared secret         {index,mn-ha ss length,mn-ha ss,mn-aaa ss length,mn-aaa ss,
;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,"testtesttesttes$",3,"vzw"}
nv_write ds_mip_dmu_pkoid            {0,10}                          ; 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"}     ; 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}


;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}   
nv_write ppp_carrier                 {0}                             ; 0-Verizon 1-USC
;=========================================================================

;=========================================================================
; MSG ITEM
;=========================================================================
nv_write msg_settings_auto_save      {0}                             ; MSG_AUTO_SAVE(0), MSG_DO_NOT_SAVE(1), MSG_PROMPT(2)
nv_write msg_settings_auto_delete    {0}                             ; On(1), Off(0)
nv_write msg_settings_entry_mode     {1}                             ; MSG_T9EN(0), MSG_ABC(1), MSG_123(2)
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}                            ; Low Beep Once(0), Low Beeps(1),Loud Beep Once(2), Loud Beeps(3),Door Bell(5), VZW Default Tone(6) Ring1~12(7~17), No Ring(18)
nv_write sms_textmsg_alert           {1}                             ;Low Beep Once(0), Low Beeps(1),Loud Beep Once(2), Loud Beeps(3),Door Bell(5), VZW Default Tone(6) Ring1~12(7~17), No Ring(18)
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"}                          ;
;nv_write sms_settings_name_card      {0}                             ; Off(0)  On(1)
;nv_write sms_tts_readout             {0}                             ; Manual(0), Auto(1)
;=========================================================================

;=========================================================================
; 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            {1184}                          ;
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 Beeps),4(VZW Default Tone),5~14(Ring1~Ring10), 15(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         {45, "http://uaprof.vtext.com/lg/vx8350/vx8350v1.xml"} ; 48 byte characters

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

nv_write mms_mmsc_user_agent         {8,"vx8350v1"}                  ; 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                       {90, 227}                       ; VX8700
;nv_write elapsed_time                {50}                            ; ympark 59=>50

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                   {1,8192,0,2500,65362,6600,62259,0,0,32613,0,1920,65434,6924,62259}     
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,150,0,6,6,25,30,20}       

;nv_write charging_bypass_boot        {0}                            ; 0=FALSE/1=TRUE
;nv_write batt_level_threshold        {12,43,76,137,160,184}         ; (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"                    
;=========================================================================

;=========================================================================
; 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"
;=========================================================================

;=========================================================================
;VOICE EFS
;=========================================================================
;efs write                           "VoiceDB/All/Memos/uivrState.dat"

;efs write                           "mVoice/ment/ment_adpcm.db"
;efs write                           "mVoice/ment/ment_adpcm_spn.db"
;efs write                           "mVoice/ment/ment_voc.db"
;efs write                           "mVoice/ment/ment_voc_spn.db"

;efs write                           "mVoice/name/eng-cid.dat"
;efs write                           "mVoice/name/eng-cid.idx"
;efs write                           "mVoice/name/spn-cid.dat"
;efs write                           "mVoice/name/spn-cid.idx"
;efs write                           "mVoice/name/etts_name.dat"     ;CMX.
;efs write                           "mVoice/name/etts_name.idx"     ;CMX.

;efs write                           "mVoice/recog/en_digit_recog_mfcc.bin"
;efs write                           "mVoice/recog/en_lex_data.bin"
;efs write                           "mVoice/recog/en_name_recog.bin"
;efs write                           "mVoice/recog/sp_digit_recog_mfcc.bin"
;efs write                           "mVoice/recog/sp_lex_data.bin"
;efs write                           "mVoice/recog/sp_name_recog.bin"
;=========================================================================

;=========================================================================
; 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"
;=========================================================================

;=========================================================================
; 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
;=========================================================================
;efs write "flash/ui/wallpaper/wallpaperType1.swf"
;efs write "flash/ui/wallpaper/wallpaperType2.swf"
;efs write "flash/ui/menu/menuType1.swf"
;efs write "flash/ui/tools/ezTipType1.swf"
;efs write "flash/ui/tools/worldClockType1.swf"
;=========================================================================

mode reset
