;=========================================================================
;                   LG Electronics Inc.
;                   CDMA Handsets Laboratory.
;                   Development Dept. 1
;=========================================================================
;  File name: T81VZV07.SCR
;  Made by  : LGE
;  Version  : V07_02
;  Date     : 12/21/2005
;-------------------------------------------------------------------------
;  when         who        what
;----------    -------    ------------------------------------------------
;12/21/2005    ChoiYS      MOD Pre-loaded Ver. 1.01.004
;11/18/2005    ChoiYS      Changed version for T81VZV07_01
;10/24/2005    ChoiYS      MOD Pre-loaded Ver. 1.01.003
;10/04/2005    ChoiYS      MOD Pre-loaded Ver. 1.01.002
;09/29/2005    ChoiYS      Version name rename.
;08/26/2005    ChoiYS      Insert A12 Value. 
;                          ppp_password, ds_mip_ss_user_prof, hdr_an_auth_passwd_long
;                          These items write in Factory DLL only not in CS DLL.
;                          MIM / VOD Preloaded for PID 1104
;                          16452 sig, mod file updated for PID 1104  
;                          Changed version.txt
;08/22/2005    ChoiYS      Changed PID 1104
;                          Changed 16452.mif, mcf.mod, mcf.sig according to 1104
;08/15/2005    ChoiYS      Change use_mymp3 usage , defaultly MOD Player
;                          Platform ID is still 1065
;                          Change ds_mip_dmu_mn_auth     {0,0x01,0xB2,0x07}  
;08/03/2005    ChoiYS      brew/16452.mif, brew/16452/mcf.mod, brew/16452/mcf.sig , 
;                          brew/version.txt
;07/31/2005    ChoiYS      Version Upgrade
;07/28/2005    ChoiYS      Version Upgrade
;07/26/2005    ChoiYS      Removed dload/dload.zip -> My fault
;07/22/2005    ChoiYS      Change display_set {2,0,0} sub_clock(0: Normal, 1: Analog 2: Minimize)
;                          Vcast Wallpaper and Normal Clock are overlapped.
;07/16/2005    ChoiYS      Change default Power ON/OFF Animation (Main display Only) 
;07/15/2005    ChoiYS      Insert use_mymp3 
;07/11/2005    ChoiYS      Insert ds_mip_rm_nai , ds_sip_rm_nai
;07/06/2005    ChoiYS      Insert led_blink by bingry
;                          Delete stack_idx to prevent malfunction.
;                          Return platform id to 1065 due to VOD app removed.
;06/29/2005    ChoiYS      Changed BREW Platform ID from 1065 to 1104 for MOD.
;06/17/2005    ChoiYS      Just version rename
;06/01/2005    ChoiYS      VOD2.002 NSTL Approved. So, it is applied.
;05/12/2005    ChoiYS      VOD2.002
;05/11/2005    ChoiYS      Removed imsi_t_addr_num 
;05/08/2005    ParkWH      Modified Audio nv item value
;05/06/2005    ParkWH      Changed ment_voc.db file
;05/03/2005    ParkWH      Changed appmgr.bar file in brew(en,es)
;                          Changed ment_voc.db file
;                          Modified Audio nv item value
;04/28/2005    ParkWH      Deleted avt_mode_key
;04/26/2005    ParkWH      Changed EFS file of AVT ment(ment_voc.dat,ment_voc.idx -> ment_voc.db) 
;04/26/2005    ParkWH      Changed Audio nv item value
;04/18/2005    CHKIM       Insert MMS Item "mms_lab_mmsc_server_name_ip", "mms_mmsc_server_post_url"
;                          "mms_mmsc_server_post_cgi", "mms_lab_upload_addr", "mms_settings_authorization"
;04/11/2005    ParkWH      Inserted pc_port {0} ;0(USB), 1(UART), 2(BLUETOOTH), 3(CLOSED)
;04/06/2005    ChoiYS      Change Brew_Script\brew\es\appmgr.bar
;                          Allign Script Items.
;03/20/2005    ParkWH      Modified AVT efs file.
;                          Inserted sound nv item(audio_adj_bt, beep_bt_lvl, ear_bt_lvl)
;                          Modified appmgr.bar file in brew(en,es)
;03/20/2005    ChoiYS      Deleted pref_for_rc , duplicaed item with Data
;03/20/2005    ParkWH      Deleted start_command
;                          Inserted avt_mode_key {0}
;03/20/2005    ParkWH      Changed qdsp_snd_ctrl[11],audio_adj_hfk[0,1] value
;03/15/2005    CHKIM       Modify value for "mms_uaprof_url_in_user_agent" item
;03/14/2005    ParkWH      Inserted voice efs item(ment_voc.dat,ment_voc.idx)
;                          Changed brew version file.
;03/09/2005    ParkWH      Inserted media_save_option  { 0, 0, 0 }
;03/08/2005    ParkWH      Changed Audio NV value audio_adj_earjack, audio_adj_spk
;03/07/2005    ParkWH      Inserted gps1_pde_address {0,0,0,0}, gps1_pde_port {0}
;03/02/2005    ChoiYS      Return vbatt {165,239}
;                          Delete location_set. use gps1_lock item
;                          Changed dun_cable_block {1} -> dun_cable_mode {0}
;                          Changed dun_bt_block {1} -> dun_bt_mode {0} 
;02/28/2005    ChoiYS      Changed brew/nnn/mr -> brew/nnn/ms/
;                          Inserted nv_write stand_alone_mode {0}
;02/25/2005    ChoiYS      Changed Path brew/nnn/lk/mr/ -> brew/nnn/mr 
;                          Changed wallpaper_main {0,0,1,””}  
;                          New Item nv_write dun_cable_block {1} ;0=enable cable dun,1=disable cable dun
;                          New Item nv_write dun_bt_block {1} ;0=enable bt dun,1=disable bt dun
;02/24/2005    ChoiYS      Changed Sound EFS path "brew/nnn/lk/mr/ -> brew/nnn/mr"
;02/23/2005    ChoiYS      Changed Image EFS path "dload/img/ -> brew/nnn/mp/"
;                          Changed Sound EFS path "dload/snd/ -> brew/nnn/lk/mr/"
;                          Delete efs write "VoiceDB/All/Memos/uivrState.dat"
;                          Insert efs write "mms/DecodeErrorAnimation.jpg"
;                          Insert efs write "mms/DecodeErrorImage.jpg"
;                          Insert efs write "mms/NotSupportedImage_UnknownImage.jpg"
;                          Insert efs write "mms/phoneOnConversation.jpg"
;                          Insert efs write "mms/TooBigErrorImage.jpg"
;                          Changed display_screen {1,1,0} -> {0} 
;                          Inserted wallpaper_main {0,0,1,0}
;                          Inserted wallpaper_sub  {0,0,1,0}
;                          Inserted bt_power_onoff {0}     
;02/18/2005    ChoiYS      Changed Vbatt {165, 239} -> {164, 238} : Battery Bar Mismatch
;02/02/2005    ChoiYS      Changed qdsp_snd_ctrl[8] 62 -> 61 since Acoustic Shock Fail. 62 -> 61로 수정 
;01/13/2005    CHKIM       Inserted efs data "mms/placeholder_128x96.jpg"
;01/11/2005    ParkWH      Changed qdsp_snd_ctrl value 0 -> 62
;01/05/2005    ParkWH      Inserted best_match {1}, start_command {0}, Audio NV Value
;12/24/2004    ChoiYS      mms_settings_auto_download {0}; 0 ON 1 OFF -> {1}; 0(MMS_OFF), 1(MMS_ON)
;12/04/2004    ParkWH      Deleted used_packet_amount
;11/29/2004    ParkWH      Inserted mms_settings_pix_vibrate_alert,
;                          mms_settings_pix_2min_alert_sel
;11/19/2004    ChoiYS      Deleted mim related items
;11/19/2004    ChoiYS      Block backtop_beep   {1} : Duplicated....
;11/12/2004    ChoiYS      Changed mim_setting_conv_history {0,0,0,0} -> {10, 10, 10, 10}
;11/12/2004    ChoiYS      Deleted hdr_an_auth_passwd_long 
;11/12/2004    ChoiYS      Changed BREW Version.txt
;11/09/2004    ChoiYS      Changed sms_2min_alert_sel {0} -> {0,0,0,0},
;                          msg_settings_vibrate_alert {0} -> {0,0,0,0} 
;11/09/2004    ChoiYS      Inserted min_setting_save_password, mim_setting_conv_history,
;                          mim_setting_im_alert, mim_setting_subscribe_notif,
;                          mim_setting_get_list_mode, mim_setting_notif_sound
;10/26/2004    ParkWH      Created the initial script file. (T81VZT07.SCR)
;                          wclock_choice {46,0} -> {30,0,47,0}
;                          VBATT {166,250} => {165, 239}
;08/10/2004    ParkWH      Created the initial script file. (T81VZT01.SCR)
;----------    -------    ------------------------------------------------


;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 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 (310)
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 min1           {0, "000-0000", "000-0000"}
nv_write min1           {1, "000-0000", "000-0000"}
nv_write min2           {0, "000", "000"}            ; NAM 0 has one active MIN2,
nv_write min2           {1, "000", "000"}           

nv_write imsi_t_mcc     {0, "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_DIR_NUMBER_PCS_I      /*123456789012345*/ using 10 digits
nv_write dir_number_pcs {0, "0000000000"}        ; NAM 0 : NV_DIR_NUMBER_PCS_I
nv_write dir_number_pcs {1, "0000000000"}        ; NAM 1 : NV_DIR_NUMBER_PCS_I

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

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

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

                                                  ;{Nam Name(0, 1), EVRC Capability(0:Off, 1:ON), Home_Page_Voice_SO(0: wildcard, Others : SO), Home_Page_Voice_SO(0 or SO), Home_Page_Voice_SO(0 or SO)}
nv_write pref_voice_so {0,  1, 0x0000, 0x0003, 0x0003} 
nv_write pref_voice_so {1,  1, 0x0000, 0x0003, 0x0003}

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

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

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

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

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

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

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

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

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

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

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

;=========================================================================
;UI ITEM
;=========================================================================
nv_write sound_ringers  {4,9,6,0xFFFF,0};(0~15(Caller ID), 0~15(No Caller ID), 0~15(Restrict), 0~15,0xffff (All Calls), On/Off (Vibrate Mode)), 
                                        ; 0(Low Beep Once), 1(Low Beeps), 2(Laud Beep Once), 3(Loud Beeps), 4(VZW Default Tone), 5~14(Ringtone 1~10), 15(No Ring), 0xffff(Get New Ringtones)
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        {0x4}           ; 1(Low), 2(Medium Low), 3(Medium), 4(medium High), 5(High)
nv_write ear_lvl_shadow {0x4}           ; 1(Low), 2(Medium Low), 3(Medium), 4(medium High), 5(High)
nv_write speaker_lvl    {0x4}           ; 1(Low), 2(Medium Low), 3(Medium), 4(medium High), 5(High)
nv_write speaker_shadow	{0x4}           ; 1(Low), 2(Medium Low), 3(Medium), 4(medium High), 5(High) - Earpiece Volume on Speaker Phone Mode
nv_write sound_alerts   {0,0,0,0}       ; (Service Change, Minute Beep, don't care, ERI alert) added item 4th 2003.11.30
nv_write call_connect_alert {false}     ; Call connect alert    == off
nv_write backtop_beep   {true}          ; Back To Top Sound == on       
nv_write logo_melody    {1}             ; 1 -> On, 0 -> Off
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 (10 -> 7, by bhjo 02.08.28)
nv_write sub_backlight  {7}             ; Sub Backlight         == after 7secs (10 -> 7, by bhjo 02.08.28)
nv_write key_light      {7}
nv_write wallpaper_main {0,0,1,""}      ; wallpaper {location_type(0:phone memory 1:phone efs 2:sdcard), location_id(0:sdcard id), item_id(1: index), item_path(NULL: path)}
nv_write wallpaper_sub  {0,0,1,""}      ; wallpaper {location_type(0:phone memory 1:phone efs 2:sdcard), location_id(0:sdcard id), item_id(1: index), item_path(NULL: path)}
nv_write display_set    {2,0,0}         ; sub_clock(0: Normal, 1: Analog 2: Minimize), main_clock(0:Nomral, 1: Analog), color theme("0-default","1-Business", "2-Tropical", "3-Blue") 
nv_write number_size    {1,0}           ; (size, color(don't use)) 0:normal 1:large
nv_write display_screen {0}             ; power_onoff animation

nv_write curr_nam       {0}             ; Current NAM           == NAM1
nv_write auto_nam       {off}           ; Auto NAM              == disable
nv_write gps1_lock      {3}             ; 0 Location ON, 1 MI, 2 MT, 3 E911 Only
nv_write lock           {off}           ; phone lock            == Unlocked \ now
nv_write auto_lock      {off}           ; phone lock            == Unlocked \ Power_up
nv_write emergency_num1 {"911"}         ; Up to 48 Digits
nv_write emergency_num2 {"611"}         ; Up to 48 Digits
nv_write emergency_num3 {"*611"}        ; Up to 48 Digits
nv_write language_selection {0}         ; Default (English/Spanish/French/Portuguese) == English
nv_write phone_setup    {0,0,0,0,0,0}   ; pim_id:0(N/A) form_id:0(N/A) shortcut_form_index:0 - Schduler(0~170,FORM INDEX)
                                        ; call_answer:0(0:Flip Open, 1:Any Key, 2:Send Only, 3:Auto Answer) isModal:0(N/A) modalType:0(N/A)
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  {on}            ; One touch dial        == enable!
nv_write voice_priv     {1}             ; 0=Standard  1=Enhanced  (1->0->1, by bhjo 02.08.28/09.06)
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 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 call_rstrc       {0}           ; Restrict(0:off, 1:on) 

nv_write photo_setting_RQS   {1,2,0}    ; photo_set_Resolution(1 : 640*480), photo_set_Quality(2 : Fine), photo_set_ShutterSound(0 : Shutter1)
nv_write elapsed_time_video  {15}       ; elapsed time(15), elapsed time(20), elapsed time(25)
nv_write dcam_video_brand    {3}        ; dcam_video_brand(3) -> VIDEO_FMT_BRAND_3G2
nv_write dcam_stream_video   {0}        ; dcam_stream_video(0) -> VIDEO_FMT_STREAM_VIDEO_MPEG4
nv_write dcam_stream_audio   {1}        ; dcam_stream_audio(1) -> VIDEO_FMT_STREAM_AUDIO_QCELP13K_FULL
nv_write dcam_short_header   {0}        ; dcam_short_header(0) -> FALSE

nv_write bt_power_onoff      {0}        ; 0 for bluetooth module off, 1 for bluetooth module on -> default 0 (off)
nv_write beep_bt_lvl         {0x4}      ; 0(Off), 1(Low), 2(Medium Low), 3(Medium), 4(medium High), 5(High)
nv_write ear_bt_lvl          {0x4}      ; 1(Low), 2(Medium Low), 3(Medium), 4(medium High), 5(High)
nv_write best_match          {1}        ; 0: 1best match, 1: 4 best match
nv_write media_save_option   {0,0,0}    ; 0 : Phone memory(Default),  1: SD card memory
nv_write visualizer_mode {0}            ; 0 : visualizer OFF, 1 : visualizer ON
;nv_write avt_mode_key       {0}        ; 0 : Send key  , 1: Voice Service 
nv_write led_blink           {1}        ; Status Light ON(1) OFF(0) - Bingry
nv_write use_mymp3           {0}        ; MP3 Disable 0 - MP3 Enable 1  

;------------------------------------------------------------------------
nv_write fsc            {"000000"}      ; Field Service code
nv_write send_pin       {off}           ; Send pin?             == disable!
nv_write carrier_logo   {0}             ; 0 -> Verizon, 
nv_write silence_all    {0}             ; sound on   {1} sound off
nv_write edit_font      {0,0}
nv_write messaging_set  {1,1}
nv_write sms_sound      {1,0,0}
nv_write manner_mode    {0}             ; false {0}, true {1}
nv_write wclock_choice  {30,0,47,0}     ; default NewYork {46,0} -> {30,0,47,0}
; 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 video_setting_RQ    {0,1}      ; video_set_Resolution(0), video_set_Quality(1)
nv_write gps_test_num        {"922"}    ; Up to 48 Digits
nv_write emer_test_num       {"911"}    ; Up to 48 Digits
                                        ; use for Camera flash testing in Factory
nv_write contrast_lvl   {81, 0x12}      ; (Flash on/off, don't care) Camera Flash On -> 85(0x55), Off -> others
nv_write pc_port        {0}             ; PC connection port  0 (USB), 1 (UART), 2 (BLUETOOTH), 3 (CLOSED)

;=========================================================================
; DATA ITEM
;=========================================================================
nv_write data_pkt_orig_str      {4, "#777"}    ; {length,"dialstring"}  valu range 1-16   default value #777
nv_write data_mdr_mode          {3}            ; Service Option 33 (1x channel) = 3 Use only low-speed packet data = 2
nv_write data_auto_packet_detection {0}        ; 0-Disable   1-Enable
nv_write data_so_set            {0}            ; DS_SO_SET_PRE707 =  0     IS-707.0 (pre-707) service option numbers
nv_write diag_default_baudrate  {0x000e}       ; 0x000e(38.4kbps), 0x0011(115.2kbps) 
nv_write data_qnc_enabled       {1}            ; 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_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. 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

;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}     ; MSG_AUTO_SAVE(0), MSG_PROMPT(1), MSG_DO_NOT_SAVE(2)
nv_write msg_settings_auto_delete   {0}     ; 0(Off), 1(On)
nv_write msg_settings_entry_mode    {1}     ; MSG_T9EN(0), MSG_ABC(1), MSG_123(2)

;=========================================================================
; SMS ITEM
;=========================================================================
nv_write sms_priority_sel             {0}   ; Normal(0), High(1)
nv_write sms_mo_so                    {1}   ; 8K(1), 13K(0) 
nv_write sms_mo_l3_ack                {1}   ; On(1), Off(0)
nv_write sms_settings_callback_number {1}   ; On(1), Off(0), Edit(2)
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_settings_signature       {0}   ; None(0), Custom(1)
nv_write sms_settings_direct_view     {0}   ; On(1), Off(0)
nv_write sms_settings_voicemail_alert {10}  ; 0(Low Beep Once), 1(Low Beeps),
nv_write sms_settings_textmsg_alert   {1}   ; 2(Laud Beep Once), 3(Loud Beeps),
nv_write sms_settings_email_alert     {1}   ; 4(VZW Default Tone), 5~14(Ringtone 1~10), 
nv_write sms_settings_page_alert      {1}   ; 15(No Ring), 0xffff(Get New)
nv_write msg_settings_vibrate_alert   {0,0,0,0} ; On(1), Off(0)
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_cb_num                   {3,"*86"} ; 32Byte(ASCII)

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

;=========================================================================
; UP ITEM : for magellan 
;=========================================================================
efs write "OWS/aptable1.fil"
efs write "OWS/keytable1.fil"
efs write "OWS/paramtable1.fil"
efs write "OWS/wdptable1.fil"

;=========================================================================
;BREW ITEM
;=========================================================================
nv_write brew_primary_server    {"apps.myvzw.com"}      ; 64 byte character
nv_write brew_secondary_server  {"apps2.myvzw.com"}     ; 64 byte character
nv_write brew_primary_ip        {66,174,3,7}            ; 151,144,244,200 -> 66,174,3,7
nv_write brew_secondary_ip      {66,174,6,7}            ; 172,20,70,200 -> 199,74,153,200 -> 66,174,6,7
nv_write brew_carrier_id        {200}                   ; 8bit
nv_write brew_bkey              {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00} 
nv_write brew_wflags            {0x0004}                ; DIF_USE_A_KEY(0x0001) - A Key: 1 or B Key: 0 Option, DIF_TEST_ALLOWED(0x0002) - Test Disable: 0, Test Enable: 2
                                                        ; DIF_MIN_FOR_SID(0x0004) - Use MIN for Subscriber ID: 4,  Not use: 0, DIF_PREPAY(0x0008) - Prepay:8, Postpay:0
nv_write brew_user_auth         {1}                     ; APOLCY_NONE(0), APOLCY_SID(1), APOLCY_TEXT(2), APOLCY_NUM(3)
nv_write brew_app_policy        {3}                     ; PPOLICY_BREW(0), PPOLICY_CARRIER(1), PPOLICY_BREW_AND_CARRIER(2), PPOLICY_BREW_OR_CARRIER(3)
nv_write brew_platform_id       {1104}			; (word) 1104(VX8100 -MOD)1065(VX8100), 1031(VX8000), 1036(VX7000)

;=========================================================================
; MMS ITEM
;=========================================================================
nv_write mms_settings_auto_download             {1}   ; 0(MMS_OFF), 1(MMS_ON)
nv_write mms_settings_photo_alert               {1}   ; 0(Low Beep Once), 1(Low Beeps), 2(Laud Beep Once), 3(Loud Beeps), 4~13(Ring1~Ring10)
nv_write mms_mmsc_server_name_ip                {20, "http://mms.vtext.com"} ; 48 byte characters
nv_write mms_callback_number_support            {1}   ; 0(MMS_ON), 1(MMS_OFF)
nv_write mms_subscribed_provisioned_for_1xrtt 	{0}   ; 0(MMS_ON), 1(MMS_OFF)
nv_write mms_number_of_retried_to_send_retrieve {2}   ; 0, 1, 2, 3
nv_write mms_uaprof_url_in_user_agent           {44, "http://uaprof.vtext.com/lg/vx81k/vx81kv1.xml"} ; 48 byte characters
nv_write mms_settings_delivery_ack              {0}   ; 0(MMS_ON), 1(MMS_OFF)
nv_write mms_from_add                           {2}   ; MDN Only (0), 1MDN (1),  +1MDN (2)         
nv_write mms_upload_addr                        {13, "pix.vtext.com" }   ; Upload Address
nv_write mms_settings_read_ack                  {1}   ; 0(ON), 1(OFF)
nv_write mms_message_max_len                    {300} ; Max Message Length
nv_write mms_settings_pix_vibrate_alert         {0}   ; 0(VIBRATE OFF), 1(VIBRATE ON)
nv_write mms_settings_pix_2min_alert_sel        {3}   ; 0(REMIND ONCE), 1(REMIND EVERY2MIN), 2(REMIND EVERY15MIN), 3(REMIND OFF)
nv_write mms_lab_mmsc_server_name_ip            {20, "http://66.174.75.171"} ; 48 byte characters
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_lab_upload_addr                    {6, "666612" }               ; Upload Address
nv_write mms_settings_authorization             {0}                          ; 0 : Commercial, 1 : Lab

;-------------------------------------------------------------------------
nv_write mms_ip                                 {0,0} ; mms_ip 

;=========================================================================
;F/W ITEM
;=========================================================================
nv_write rf_config           {6}
nv_write vbatt               {165,239}    ; VX8100 2005.03.02 {165, 239} <- {164,238}

nv_write qdsp_snd_ctrl       {300,4096,0,8192,0,-500,150,54,0,6,6,-500,1200,0,6,-10} ; FUT 의뢰시 Audio 항목 삭제 예정 Aucoustic Shock Fail 62 -> 61로 수정
nv_write audio_adj_phone     {0,4096,0,0,4096,0,0,0,0}                               ; FUT 의뢰시 Audio 항목 삭제 예정
nv_write audio_adj_earjack   {20476,32767,0,4096,32767,0,0,0,0}                      ; FUT 의뢰시 Audio 항목 삭제 예정
nv_write audio_adj_hfk       {0,-4096,0,-100,4096,0,0,0,0}                           ; FUT 의뢰시 Audio 항목 삭제 예정
nv_write audio_adj_spk       {16384,0,0,16384,0,0,0,0,0}                             ; FUT 의뢰시 Audio 항목 삭제 예정
nv_write audio_adj_bt        {0,4096,0,0,2048,0,0,0,0}                               ; FUT 의뢰시 Audio 항목 삭제 예정
;=========================================================================

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


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

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

;=========================================================================
;ANIMATION IMAGE ITEM
;=========================================================================
efs write "dload/closing1.bit2"
efs write "dload/closing2.bit2"
efs write "dload/extClosing1.bit2"
efs write "dload/extClosing2.bit2"
efs write "dload/extOpening1.bit2"
efs write "dload/extOpening2.bit2"
efs write "dload/opening1.bit2"
efs write "dload/opening2.bit2"
;=========================================================================

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

;=========================================================================
; DCAMERA ITEM
;=========================================================================
efs write "dload/dcammenu.dat"
;=========================================================================

mode reset
