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

spc "000000"

wait 2

; Put the DMSS in offline mode
mode offline-d

;=========================================================================
; SYSTEM ITEM
;=========================================================================
; Display the ESN and permanent physical station
; configuration parameters
nv_read esn
nv_read verno_maj
nv_read verno_min
nv_read scm
nv_read slot_cycle_index
nv_read mob_firm_rev
nv_read mob_model

factory reset

wait 2


;=========================================================================
; PDK PXO & SPO Modules 
;=========================================================================
efs write "c\Bluetooth.pxo"
efs write "c\BtSpy.spo"
efs write "c\Calculator.pxo"
efs write "c\Callhistory.pxo"
efs write "c\DCamera.pxo"
efs write "c\FMRadio.pxo"
efs write "c\Game.pxo"
efs write "c\HiddenMenu.pxo"
efs write "c\Memo.pxo"
efs write "c\MP3.pxo"
efs write "c\MsgMenu.pxo"
efs write "c\MyStuff.pxo"
efs write "c\NotiSpy.spo"
efs write "c\PhoneBook.pxo"
efs write "c\PhoneMenu.pxo"
efs write "c\ProfilesMenu.pxo"
efs write "c\ScheManager.pxo"
efs write "c\ShortCutMenu.pxo"
efs write "c\SMSChat.pxo"
efs write "c\smsMTSpy.spo"
efs write "c\StopWatch.pxo"
efs write "c\UnitConverter.pxo"
efs write "c\UTK.pxo"
efs write "c\VoiceRecorder.pxo"
efs write "c\VoiceService.pxo"
efs write "c\WorldClock.pxo"


;=========================================================================
; biultin files 
;=========================================================================
efs write "builtin\animation\ani_alarm.paf"
efs write "builtin\animation\ani_alarm_b.paf"
efs write "builtin\animation\ani_msg.paf"
efs write "builtin\animation\ani_msg_b.paf"
efs write "builtin\animation\ani_pc_sync.paf"
efs write "builtin\animation\BT_Searching_black.paf"
efs write "builtin\animation\BT_Searching_white.paf"
efs write "builtin\animation\BT_TitleSearching.paf"
efs write "builtin\animation\BT_Waiting_black.paf"
efs write "builtin\animation\BT_Waiting_white.paf"
efs write "builtin\animation\Callhistory_T1.paf"
efs write "builtin\animation\Callhistory_T2.paf"
efs write "builtin\animation\Contacts_T1.paf"
efs write "builtin\animation\Contacts_T2.paf"
efs write "builtin\animation\Def_Call_Ani.paf"
efs write "builtin\animation\delete_pro_bg.paf"
efs write "builtin\animation\delete_pro_sel_l.paf"
efs write "builtin\animation\delete_pro_sel_m.bmp"
efs write "builtin\animation\delete_pro_sel_r.bmp"
efs write "builtin\animation\downloading_ani.paf"
efs write "builtin\animation\downloading_bg.paf"
efs write "builtin\animation\imusic_T1.paf"
efs write "builtin\animation\imusic_T2.paf"
efs write "builtin\animation\Message_T1.paf"
efs write "builtin\animation\Message_T2.paf"
efs write "builtin\animation\mms_connecting_black.paf"
efs write "builtin\animation\mms_connecting_white.paf"
efs write "builtin\animation\Mobile_World_T1.paf"
efs write "builtin\animation\Mobile_World_T2.paf"
efs write "builtin\animation\MP3_BGM_Title.paf"
efs write "builtin\animation\MP3_Skin_Wave00.paf"
efs write "builtin\animation\MP3_Skin_Wave01.paf"
efs write "builtin\animation\Multimedia_T1.paf"
efs write "builtin\animation\Multimedia_T2.paf"
efs write "builtin\animation\OK2.paf"
efs write "builtin\animation\OK.paf"
efs write "builtin\animation\openwave_splash.bmp"
efs write "builtin\animation\Organiser_Tools_T1.paf"
efs write "builtin\animation\Organiser_Tools_T2.paf"
efs write "builtin\animation\Premium_Serv_T1.paf"
efs write "builtin\animation\Premium_Serv_T2.paf"
efs write "builtin\animation\QQ_T1.paf"
efs write "builtin\animation\QQ_T2.paf"
efs write "builtin\animation\ReservedCall.paf"
efs write "builtin\animation\sch_alarm_ani.paf"
efs write "builtin\animation\sch_alarm_b.paf"
efs write "builtin\animation\scroll_arrow_down.bmp"
efs write "builtin\animation\scroll_arrow_down_old.bmp"
efs write "builtin\animation\scroll_arrow_m.bmp"
efs write "builtin\animation\scroll_arrow_up.bmp"
efs write "builtin\animation\scroll_arrow_up_old.bmp"
efs write "builtin\animation\scroll_slider_b.bmp"
efs write "builtin\animation\scroll_slider_m.bmp"
efs write "builtin\animation\scroll_slider_t.bmp"
efs write "builtin\animation\Surfing_Campus_T1.paf"
efs write "builtin\animation\Surfing_Campus_T2.paf"
efs write "builtin\animation\Settings_T1.paf"
efs write "builtin\animation\Settings_T2.paf"
efs write "builtin\animation\Todo.paf"
efs write "builtin\animation\Todo_alarm.paf"
efs write "builtin\animation\umax_intro.paf"
efs write "builtin\animation\UMS_Black.paf"
efs write "builtin\animation\UMS_White.paf"
efs write "builtin\animation\uni_intro.paf"
efs write "builtin\animation\vd_playing.paf"
efs write "builtin\animation\voice_ani_rec.paf"
efs write "builtin\animation\voice_ani_rec_b.paf"
efs write "builtin\animation\wap_b_receive.paf"
efs write "builtin\animation\wap_b_send.paf"
efs write "builtin\animation\Warning2.paf"
efs write "builtin\animation\Warning.paf"

efs write "builtin\ringers\Farewell.pmd"
efs write "builtin\ringers\Going Into Town.pmd"
efs write "builtin\ringers\Kids.pmd"
efs write "builtin\ringers\Sunday Drive.pmd"
efs write "builtin\ringers\Sunday Morning.pmd"

efs write "builtin\theme\ani_call_in.paf"
efs write "builtin\theme\ani_call_in_b.paf"
efs write "builtin\theme\ani_call_out.paf"
efs write "builtin\theme\ani_call_out_b.paf"
efs write "builtin\theme\bgm_wallpaper.paf"
efs write "builtin\theme\ChinaTelecom1.paf"
efs write "builtin\theme\ChinaTelecom2.paf"
efs write "builtin\theme\ChinaTelecom3.paf"
efs write "builtin\theme\ChinaTelecom4.paf"
efs write "builtin\theme\Nature.paf"
efs write "builtin\theme\Off.paf"
efs write "builtin\theme\On.paf"
efs write "builtin\theme\Petals.paf"

print "End of Service Programming"
mode reset

