[Samsung Galaxy Nexus] autoprime:
/////////////////////////////////////////////////////////////////////////
///// CRICKET //// FULL //// FLASH //////////////////
///////////////////////////////////////////////////////////////////////
////// //////// SCRIPT BY AUTOPRIME ////// ///////
/////////////////////////////////////////////////////////////////////

//POWERS DOWN RADIO
ETS, Id=CP Power, Power=Down

//SETS WAIT TIME BETWEEN COMMANDS
WAIT 3000

[B]///WRITE PHONE NUMBER[/B]
ETS, Id=CP VAL PSW Parm Set Mdn, PswParmOperationId=PSW_PARM_SET_MDN, opType=Parm Custom Value, Mdn_Digits=[B]1234567890[/B]
/\/\/\/\/\/\/\/\ EDIT LINE ABOVE - [B]REPLACE 1234567890 WITH PHONE NUMBER[/B]

WAIT 100

[B]///WRITE MSID[/B]
ETS, Id=CP Write Raw IMSI, Update=Update IMSI_M, Raw IMSI_S=[B]1234567890[/B], Update IMSI_11_12=0, Raw IMSI_11_12=, Update MCC=0, Raw MCC=, Overwrite MDN with IMSI_S=0
/\/\/\/\/\/\/\/\ EDIT LINE ABOVE - [B]REPLACE 1234567890 WITH MSID[/B]

[B]//////////WRITE MIP PROFILE 1 USERNAME[/B]
ETS, Id=CP HSPD Mn Nai Set, ParmOperationId=HL_PARM_SET_MN_NAI, opType=Parm Custom Value, Profile Id=1, MN NAI=[B]phonenumber[/B]@mycricket.com
/\/\/\/\/\/\/\/\ EDIT LINE ABOVE - [B]REPLACE "phonenumber" WITH ACTUAL PHONE NUMBER[/B]

WAIT 100

[B]///WRITE PPP AN USERNAME[/B]
ETS, Id=CP AN NAI Set, ParmOperationId=AN NAI(A12 Testing)Set, opType=Parm Custom Value, AN_NAI=[B]phonenumber[/B]@mycricket.com
/\/\/\/\/\/\/\/\ EDIT LINE ABOVE - [B]REPLACE "phonenumber" WITH ACTUAL PHONE NUMBER[/B]

WAIT 100

[B]///WRITE SIP USERNAME[/B]
ETS, Id=CP SIP NAI Set, ParmOperationId=SIP NAI Set, opType=Parm Custom Value, SIP_NAI=[B]phonenumber[/B]@mycricket.com
/\/\/\/\/\/\/\/\ EDIT LINE ABOVE - [B]REPLACE "phonenumber" WITH REAL PHONE NUMBER[/B]

WAIT 100

[B]///WRITE SIP DUN USERNAME[/B]
ETS, Id=CP SIP DUN NAI Set, ParmOperationId=SIP DUN NAI Set, opType=Parm Custom Value, SIP_NAI=[B]phonenumber[/B]@mycricket.com
/\/\/\/\/\/\/\/\ EDIT LINE ABOVE - [B]REPLACE "phonenumber" WITH REAL PHONE NUMBER[/B]

WAIT 100

//WRITE SIP PASSWORD
ETS, Id=CP SIP Password String Set, ParmOperationId=SIP Password String Set, opType=Parm Custom Value, SIP_PASSWORD=cricket

//WRITE MIP PROFILE 1 HA AND AAA PASSWORD
ETS, Id=CP MIP Password String Set, ParmOperationId=MIP Password String Set, opType=Parm Custom Value, Profile ID=1, MIP HA PASSWORD=cricket, MIP AAA PASSWORD=cricket

WAIT 100

//WRITE PPP AN PASSWORD
ETS, Id=CP AN Password Hex Set, ParmOperationId=AN Password HEX Set, opType=Parm Custom Value, AN Password Len=16, AN Password=0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x63 0x72 0x69 0x63 0x6b 0x65 0x74

WAIT 100

//WRITE MCC
ETS, Id=CP Write Raw IMSI, Update=Update IMSI_M, Raw IMSI_S=, Update IMSI_11_12=0, Raw IMSI_11_12=, Update MCC=1, Raw MCC=310, Overwrite MDN with IMSI_S=0

WAIT 100

//WRITE SCI
ETS, Id=CP VAL PSW Parm Set Slot Cycle Index, PswParmOperationId=PSW_PARM_SET_SLOT_CYCLE_INDEX, opType=Parm Custom Value, SlotCycleIndex=2

WAIT 100

//WRITE HOME SYS REGISTRATION
ETS, Id=CP VAL PSW Parm Set Home Sys Registration, PswParmOperationId=PSW_PARM_SET_HOME_SYS_REGISTRATION, opType=Parm Custom Value, Home_System_Registration=1

WAIT 100

//WRITE FOREIGN SID REGISTRATION
ETS, Id=CP VAL PSW Parm Set Foreign Sid Registration, PswParmOperationId=PSW_PARM_SET_FOREIGN_SID_REGISTRATION, opType=Parm Custom Value, Foreign_Sid_Registration=1

WAIT 100

//WRITE FOREIGN NID REGISTRATION
ETS, Id=CP VAL PSW Parm Set Foreign Nid Registration, PswParmOperationId=PSW_PARM_SET_FOREIGN_NID_REGISTRATION, opType=Parm Custom Value, Foreign_Nid_Registration=1

WAIT 100

//WRITE HYBRID MODE
ETS, Id=CP DO Hybrid Mode Set, ParmOperationId=Hybrid Mode Set, opType=Parm Custom Value, HybridMode=Hybrid

WAIT 100

//WRITE PREF MODE
ETS, Id=CP DO Pref Mode Set, ParmOperationId=Pref Mode Set, opType=Parm Custom Value, Prefered Mode=Automatic

WAIT 100

//WRITE ACTIVE PROFILE
ETS, Id=CP Active Profile ID Set, ParmOperationId=Profile Id of Active Profile Set, opType=Parm Custom Value, ActiveProfile=1

WAIT 100

//WRITE MIP MODE
ETS, Id=CP Mobile IP Mode Set, ParmOperationId=MIP Mode Set, opType=Parm Custom Value, IP Service Type=Mobile IP Only

WAIT 100

//WRITE REV TUN
ETS, Id=CP HSPD Mn Reverse Tunneling Set, ParmOperationId=HL_PARM_SET_MN_REVERSE_TUNNELING, opType=Parm Custom Value, Profile Id=1, MN Reverse Tunneling=1

WAIT 100

//WRITE MN HA SPI ENABLE
ETS, Id=CP HSPD Mn Ha Spi Enable Set, ParmOperationId=HL_PARM_SET_MN_HA_SPI_ENABLE, opType=Parm Custom Value, Profile Id=1, MN HA SPI Enable=1

WAIT 100

//WRITE MN HA SPI
ETS, Id=CP HSPD Mn Ha Spi Set, ParmOperationId=HL_PARM_SET_MN_HA_SPI, opType=Parm Custom Value, Profile Id=1, MN HA SPI=300

WAIT 100

//WRITE MN AAA SPI ENABLE
ETS, Id=CP HSPD Mn Aaa Spi Enable Set, ParmOperationId=HL_PARM_SET_MN_AAA_SPI_ENABLE, opType=Parm Custom Value, Profile Id=1, MN AAA SPI Enable=1

WAIT 100

//WRITE MN AAA SPI
ETS, Id=CP HSPD Mn Aaa Spi Set, ParmOperationId=HL_PARM_SET_MN_AAA_SPI, opType=Parm Custom Value, Profile Id=1, MN HA SPI=2

//WRITE MOBILE NODE HA AUTH MODE
ETS, Id=CP Mobile Node HA Authentication Mode Set, ParmOperationId=Mobile Node-HA Authentication Set, opType=Parm Custom Value, MN_HA_AUTH=RFC2002bis

WAIT 100

//WRITE MN HOME IP ADDRESS
ETS, Id=CP HSPD Mn Home Ip Address Set, ParmOperationId=HL_PARM_SET_MN_HOME_IP_ADDRESS, opType=Parm Custom Value, Profile Id=1, MN Home IP Address=0 0 0 0

WAIT 100

//WRITE HA PRIMARY IP ADDRESS
ETS, Id=CP HSPD Home Agent Primary Ip Address Set, ParmOperationId=HL_PARM_SET_HOME_AGENT_PRIMARY_IP_ADDRESS, opType=Parm Custom Value, Profile Id=1, MN HA Pri IP Address=0 0 0 0

WAIT 100

//WRITE HA SECONDARY IP ADDRESS
ETS, Id=CP HSPD Home Agent Secondary Ip Address Set, ParmOperationId=HL_PARM_SET_HOME_AGENT_SECONDARY_IP_ADDRESS, opType=Parm Custom Value, Profile Id=1, MN HA Sec IP Address=0 0 0 0

WAIT 100

//WRITE PREFERRED RADIO CONFIG
ETS, Id=CP Preferred Radio Config Set, ParmOperationId=Preferred Radio Config Set, opType=Parm Custom Value, PrefRc=RC3

WAIT 100

//WRITE DATA THROTTLING
ETS, Id=CP Data Throttling Enable Set, ParmOperationId=Data Throttling Enable Set, opType=Parm Custom Value, DataTrtlEnabled=False

WAIT 100

//WRITE DORMANT HANDOFF OPTIMIZATION
ETS, Id=CP Dormant Handoff Optimization Set, ParmOperationId=Dormant Handoff Optimization Set, opType=Parm Custom Value, DormantHandoffOptSet=True

WAIT 100

//WRITE VJ COMPRESSION
ETS, Id=CP VJ Compression Enable Set, ParmOperationId=VJ Compression Enable Set, opType=Parm Custom Value, VJ Compression Enabled=0

WAIT 100

//WRITE DATA SCRM
ETS, Id=CP Data SCRM Enable Set, ParmOperationId=Data SCRM Enable Set, opType=Parm Custom Value, DataScrmEnabled=True

WAIT 200

//POWERS ON RADIOETS, Id=CP Power, Power=Up

WAIT 500

//REBOOTS PHONE
ETS, Id=CP Reset Processor, Processor Id=CBP_AP

//////////////////////////////////////////////////////////////////////////////
/\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
//////////////////////////////////////////////////////////////////////////////
/\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
/////// FINISHED ////////////////////////////////////////////////////
/\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
////////////////////////////////////////////////////////////////////////////

WAIT 5000