;=========================================================================
;                   LG Electronics Inc.
;                   CDMA Handsets Laboratory.
;                   Development Dept. 3
;  when         version    what
;-----------  ----------  ------------------------------------------------
;11/15/2007    T99VZV04_00 Created T99VZV04_00.SCR
;04/26/2007    T99VZO02_01 Modified mms_mmsc_user_agent {8,"VX9900v1"} -> {8,"VX9900v2"}
;03/13/2007    T99VZV03_01 Inserted Color variation nv item (fn_hot_key, is_color_variation, fn_key_table)
;03/05/2007    T99VZV02_07 Changed MOD application
;02/13/2007    T99VZV02_05 Changed onetouch_dial {off} -> {on}
;                          Changed wireless sync
;02/09/2007    T99VZV02_04 Changed VZNavi app
;10/25/2006    T99VZV02_03 Changed call_sounds {4,9,6,4,0} -> {4,4,4,4,0}
;                          Changed Booting image to EFS File.
;10/09/2006    T99VZV01_12 Upgraded MOD application
;09/14/2006    T99VZV01_11 Inserted brew MIM, LBS application
;08/09/2006    T99VZV01_05 Changed qdsp_snd_ctrl 100 -> -100
;                          Changed keyguard timer default value 30secs -> 7secs
;08/06/2006    T99VZV01_04 Changed Wallpaper 1EA
;08/04/2006    T99VZV01_03 Changed TTS EFS(sms-etts.cnt, sms-etts.dat, sms-etts.etc, sms-etts.hdx, sms-etts.idx, mTalk/sms-etts.key)
;                          Changed elapsed_time {50} -> {48}
;07/29/2006    T99VZV01_02 Inserted wallpaper image(main & front) & flix image
;                          Inserted Booting IMG EFS(closing.bit2, opening.bit2, extclosing.bit2, extopening.bit2)
;                          Changed TTS EFS(sms-etts.cnt, sms-etts.dat, sms-etts.etc, sms-etts.hdx, sms-etts.idx, mTalk/sms-etts.key)
;07/22/2006    T99VZV01_01 Changed wallpaper_11_160x99.gif,wallpaper_11_320x204.gif to wallpaper_10_160x99.gif, wallpaper_10_320x204.gif
;07/13/2006    T99VZE40    Changed appmgrln.bar and MOD files
;07/11/2006    T99VZE40    Changed ear_lvl, ear_lvl_shadow, speaker_lvl, speaker_shadow, ear_bt_lvl {0x6} -> {0x4}
;07/08/2006    T99VZE40    Inserted NV_MUSIC_ONLY_MODE_I(nv_write music_only_mode {0})
;07/06/2006    T99VZE40    Inserted wallpaer(wallpaper_11_160x99.gif, wallpaper_11_320x204.gif)
;06/29/2006    T99VZE31    Inserted vibrate_factory_test {false}
;                          Changed display_set {0,0,4} -> {0,0,1}, sms_message_cb {0,0} -> {10,0}
;06/28/2006    T99VZE31    Inserted AVR NV Item(NV_VP_SPKR_LVL_I, NV_VP_LVL_SHADOW_I, NV_VP_BT_LVL_I, NV_VP_SPKR_SHADOW_LVL_I, NV_VP_LVL_I)
;06/23/2006    T99VZE31    Changed onetouch_dial {On} -> {Off}
;                          Inserted efs file "dload/default_img/video_FirstFrame_SVG.bmp"
;06/19/2006    T99VZE30    Changed call_sounds {4,9,6,0xFFFF,0} -> {4,9,6,4,0}
;06/14/2006    T99VZE23    Inserted dual_nam_set_enable {0}
;06/09/2006    T99VZE22    Changed mms_mmsc_upload_url {13, "pix.vtext.com" } -> {6, "438749" }
;                          Removed Shutter Sound EFS, Video Sound EFS
;06/01/2006    T99VZE21    Changed display_set items {0,0,0} -> {0,0,4}
;                          Changed vbatt {169,239}, batt_threshold {185,164,138,77,34,2}
;                          Inserted location_set_lock {0}
;05/29/2006    T99VZE20    Changed audio nv items and batt_threshold item.
;05/14/2006    T99VZE10    Changed use_mymp3 {1} -> {0}
;05/09/2006    T99VZE09    Changed number_size {1,0} -> {0,0}
;                          Changed tts efs files.
;                          Deleted VoiceDB/All/Memos/uivrState.dat.
;                          Added wclock_choice item.
;05/02/2006    T99VZE09    Changed avr_sensitivity {0} -> {1}
;04/11/2006    T99VZE08    Changed elapsed_time_video -> dcam_video_sec, photo_setting_RQS -> dcam_photo_setting_RQS
;                          video_setting_RQ -> dcam_video_setting_RQ , batt_fakeon -> batt_threshold ,
;                          thm_fakeon -> batt_therm_threshold.
;                          Added lg_sys_cdg_enable {0}, lg_wdc (0,0,0,0,0}
;                          Changed batt_therm_threshold {1,83,70} -> {1,83,73}
;                          Changed batt_threshold {183,160,136,75,42,11} -> {183,160,136,77,36,5}
;04/10/2006    T99VZE08    Created T99VZE08 for TTS EFS and added batt_fakeon, thm_fakeon
;04/07/2006    T99VZE07    Created T99VZE07 for changed mms nv items(17EA), SMS(2EA), appmgrls.bar(2EA)
;03/30/2006    T99VZE06    Created T99VZE06 for brew efs data
;03/22/2006    T99VZE05    Changed data_qnc_enabled{1}->{0}, data_so_set {0}->{2}
;03/14/2006    T99VZE04    Changed back_light, sub_backlight, key_light {7} -> {5}
;03/14/2006    T99VZE03    Changed mob_model {0xD3} -> {0xD4}
;03/12/2006    T99VZE02    Changed vbatt {180,240} -> {170,240}
;03/10/2006    T99VZE01    Changed OWS file & delete aptable1.fil, keytable.fil
;                          Changed vbatt {180,240}, deleted ds_mip_rrq_if_tfrk
;03/06/2006    T99VZE01    Renamed T99TST04 to T99VZE01 
;03/03/2006    T99VZE01    Deleted bzcard.bin and added shortcut_main,sub, 
;                          avr_call_alert/prompts_mode/choice_list/prompts_timeout/sensitivity (T99TST04)
;                          changed 7 items for SMS
;02/20/2006    T99VZE01    Changed logo_melody -> power_onoff_sounds / display_screen / wallpaper_main / wallpaper_sub , add alarm_sounds
;02/11/2006    T99VZE01    Modified T98VZV03_01 to T99TST02
;----------    -------    ------------------------------------------------


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

;=========================================================================
;UI ITEM
;=========================================================================
nv_write call_sounds                 {4,4,4,4,0}                     ; {Caller ID (4: VZW Default Tone), No Caller ID (4: VZW Default Tone), Restrict Calls (4: VZW Default Tone), All Calls (4: 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), 2(Medium Low), 3(Medium), 4(medium High), 5(High), 6(High), 7(High)
nv_write ear_lvl_shadow              {0x6}                           ; 1(Low), 2(Medium Low), 3(Medium), 4(medium High), 5(High), 6(High), 7(High)
nv_write speaker_lvl                 {0x6}                           ; 1(Low), 2(Medium Low), 3(Medium), 4(medium High), 5(High), 6(High), 7(High)
nv_write speaker_shadow              {0x6}                           ; 1(Low), 2(Medium Low), 3(Medium), 4(medium High), 5(High), 6(High), 7(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 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 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                  {5}                             ; Backlight             == after 5secs (7 -> 5, by sjbae 06.03.14)
nv_write sub_backlight               {5}                             ; Sub Backlight         == after 5secs (7 -> 5, by sjbae 06.03.14)
nv_write key_light                   {5}
nv_write wallpaper_main              {0,0,1}                         ; {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,1}                         ; {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,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              {"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,20,18,130,146,190,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               {on}                           ; One touch dial        == disable!
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               {0,0,0,0}                       ; {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), 6(High), 7(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}                             ; 0 -> Ring Only,   1 -> Caller ID + Ring,  2 -> Name Repeat 
nv_write avr_prompts_mode            {0}                             ; 0 -> Prompts,     1 -> Readout,           2->Tone Only 
nv_write avr_choice_list             {0}                             ; 0 -> Always On,   1 -> Always off 
nv_write avr_prompts_timeout         {0}                             ; 0 -> 5 seconds,   1 -> 10 Seconds 
nv_write avr_sensitivity             {1}                             ; 0 -> Reject More, 1 -> Automatic ,        2 -> Reject Less 

;nv_write sound_ringers              {4,9,6,0xFFFF,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               {7}                             ; 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	     {0}                             ; dual_nam_set_enable(nam set menu) ( 0 : disable , 1 : enable)
nv_write music_only_mode             {0}                             ; music only mode  enable(TRUE), disable(FALSE)

nv_write fn_hot_key                  {0}                             ; set fnkey index
nv_write is_color_variation          {0}                             ; check color variation ver
nv_write fn_key_table                {0,1,2,3,4,5,6,7,8,9}           ; set fnkey (0:V CAST Music 1:V CAST Video 2:TXT Msg 3:Picture Msg 4:Video Msg 5:Email 6:IM 7:Pacman 8:Wireless Sync 9:Tetris)
;=========================================================================

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

;=========================================================================
; 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_signature      {0}                             ; None(0), Custom(1)
nv_write sms_settings_direct_view    {0}                             ; Off(0), On(1)
nv_write sms_voicemail_alert         {10}                            ; 4(VZW Default Tone), 5~14(Ringtone 1~10), 15(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,0}                          ;
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            {1145}                          ;
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            {1}                             ; 0(ON), 1(OFF)
nv_write mms_set_delivery_ack        {0}                             ; 0(MMS_ON), 1(MMS_OFF)

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         {44, "http://uaprof.vtext.com/lg/vx99k/vx99kv1.xml"} ; 48 byte characters

nv_write mms_set_retry_num           {3}                             ; 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,"VX9900v2"}                  ; 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 vbatt                       {169, 239}                      ; VX9900
nv_write elapsed_time                {48}                            ; ympark 59=>50

nv_write qdsp_snd_ctrl               {-100, 0, 0, 0, 0, -500, 150, 25, 30, 6, 6, 0, 1300, 20, 6, 0}
nv_write audio_adj_phone             {4241, 0, 0, -400, 0, 0, 0, 0, 0}
nv_write audio_adj_earjack           {4096, 0, 0, 0, 0, 0, 0, 0, 0}
;nv_write audio_adj_hfk              {0, 0, 0, 0, 0, 0, 0, 0, 0}
nv_write audio_adj_spk               {4096, 0, 0, 4096, 0, 0, 0, 0, 0}
nv_write audio_adj_bt                {0, 0, 0, 0, 0, 0, 0, 0, 0}

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

nv_write batt_threshold              {185,164,138,77,34,2}           ; (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"
;=========================================================================

;=========================================================================
;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                            "default_img/DecodeErrorAnimation.jpg"
efs write                            "default_img/DecodeErrorImage.jpg"
efs write                            "default_img/NotSupportedImage_UnknownImage.jpg"
efs write                            "default_img/phoneOnConversation.jpg"
efs write                            "default_img/TooBigErrorImage.jpg"
efs write                            "default_img/video_FirstFrame_PMD.bmp"
efs write                            "default_img/sub_DecodeErrorAnimation.jpg"
efs write                            "default_img/sub_DecodeErrorImage.jpg"
efs write                            "default_img/sub_NotSupportedImage_UnknownImage.jpg"
efs write                            "default_img/sub_phoneOnConversation.jpg"
efs write                            "default_img/sub_TooBigErrorImage.jpg"
efs write                            "default_img/video_FirstFrame_SVG.bmp"
;=========================================================================

;=========================================================================
; FLIX EFS
;=========================================================================
efs write                            "default_img/sub_VideoImageSymbol.jpg"
efs write                            "default_img/VideoImageSymbol.jpg"
;=========================================================================

;=========================================================================
; Wallpaper EFS
;=========================================================================
efs write                            "default_img/wallpaper_3_160x99.bmp"
efs write                            "default_img/wallpaper_4_160x99.bmp"
efs write                            "default_img/wallpaper_5_160x99.bmp"
efs write                            "default_img/wallpaper_6_160x99.bmp"
efs write                            "default_img/wallpaper_7_160x99.bmp"
efs write                            "default_img/wallpaper_8_160x99.bmp"
efs write                            "default_img/wallpaper_9_160x99.bmp"
efs write                            "default_img/wallpaper_10_160x99.bmp"

efs write                            "default_img/wallpaper_3_320x204.bmp"
efs write                            "default_img/wallpaper_4_320x204.bmp"
efs write                            "default_img/wallpaper_5_320x204.bmp"
efs write                            "default_img/wallpaper_6_320x204.bmp"
efs write                            "default_img/wallpaper_7_320x204.bmp"
efs write                            "default_img/wallpaper_8_320x204.bmp"
efs write                            "default_img/wallpaper_9_320x204.bmp"
efs write                            "default_img/wallpaper_10_320x204.bmp"
;=========================================================================

;=========================================================================
; Booting IMG EFS
;=========================================================================
efs write                           "default_img/opening.bit2"
efs write                           "default_img/closing.bit2"
efs write                           "default_img/extOpening.bit2"
efs write                           "default_img/extClosing.bit2"
;=========================================================================

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

;=========================================================================
; Top Menu Animation IMG EFS
;=========================================================================
efs write                           "default_img/lg_Contacts.bit2"
efs write                           "default_img/lg_Email.bit2"
efs write                           "default_img/lg_GetItNow.bit2"
efs write                           "default_img/lg_Messaging.bit2"
efs write                           "default_img/lg_MobileIM.bit2"
efs write                           "default_img/lg_Navigator.bit2"
efs write                           "default_img/lg_RecentCalls.bit2"
efs write                           "default_img/lg_Settings.bit2"
;=========================================================================

;=========================================================================
; FOTA (Firmware Over-the-Air) EFS
;=========================================================================
;efs write                           "otadm/mdmc.ini"
;efs write                           "otadm/omadlc.ini"
;efs write                           "otadm/MgmtTree.bin"
;=========================================================================

;=========================================================================
; SSL CERT(Certificate) EFS
;=========================================================================
;efs write                           "cert/Verisign_Public_Primary.cer"
;=========================================================================

mode reset
