View Single Post
  #1 (permalink)  
Old 03-05-2007, 03:57 PM
MrHappy's Avatar
MrHappy
PPCGeeks Regular
Offline
Location: Sunny FL
 
Join Date: Jan 2007
Posts: 180
Reputation: 6
MrHappy is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to MrHappy Send a message via Yahoo to MrHappy
Mr Happy's Portable Extended_Rom

A while back I did a great deal of work on customizing a ROM setup for the company I worked for. We had over 300 WM5 devices all with Sprint (660x and 6700). I started this project simply as a way for the Telecom folks to provision a new phone without all the crapware from Sprint and also to install some custom cab files I created that filled out some of the Exchange OTA information.

There are 2 keys within the registry that tell the phone to run the autorun.exe in the extended ROM.
HKLM,Comm,AutoRun lists the autorun.exe
HKLM,Comm,AutoRunCFG lists the config.txt file to use.

###
If fileExists \Windows\donotremove.txt
Exit
Else
RegWriteString HKLM,Comm,AutoRun,\Storage Card\install\Autorun
RegWriteString HKLM,Comm,AutoRunCFG,\Storage Card\install\Config.txt
Copy "\Storage Card\install\donotremove.txt", "\Windows\donotremove.txt",1
Run \Storage Card\install\Autorun.exe
EndIf
Exit
###
This is the final script which is much smaller but everything else is done from the cab files. If you have a good setup on Extended_ROM and want to make it portable or if you have some programs you would like to include but they are too large for the extended rom.... This should do it.
Just copy everything off of your extended rom into a folder on your storage card.

Make sure your config.txt is changed to reflect the new location.

LOCK:Enabled
SHOW:\Storage Card\install\Sprint_Logo.bmp
CAB: \Storage Card\install\DirectShow.sa.CAB
CAB: \Storage Card\install\RTPlugin_CDMA.sa.CAB
CAB: \Storage Card\install\Cert_SPCS.sa.CAB
CAB: \Storage Card\install\Cert_SPCS.CAB
CAB: \Storage Card\install\Fetch.CAB
CAB: \Storage Card\install\Getmail.ppc2003.ARMV4Rel.sprint.CAB
CAB: \Storage Card\install\IOTA.sa.CAB
CAB: \Storage Card\install\Customize_SPCS.sa.CAB
CAB: \Storage Card\install\ButtonLock.sa.CAB
CAB: \Storage Card\install\Enable_RingTone.sa.CAB
CAB: \Storage Card\install\PhoneSetting_HelpFile.sa.CAB
CAB: \Storage Card\install\TimeSnyc.sa.CAB
CAB: \Storage Card\install\HiddenDurationPage.sa.CAB
CAB: \Storage Card\install\ResString.sa.CAB
CAB: \Storage Card\install\PP_IOTA_v1_10_Apache_206300.sa.CAB
CAB: \Storage Card\install\PP_ErrCodeForSPCS_Apache_206300.sa.CA B
CAB: \Storage Card\install\PT_RemoveHTCBatteryICON_Apache_206300 .sa.CAB
CAB: \Storage Card\install\PP_Version_Apache_206300.sa.CAB
CAB: \Storage Card\install\PP_HTC_CM_Guardian_Apache_206300.sa.C AB
CAB: \Storage Card\install\HoldEm.sa.CAB
CAB: \Storage Card\install\MortScript-3.1.CAB
CAB: \Storage Card\install\PocketBiblePktPC.ARM.CAB
CAB: \Storage Card\install\SpeedDialTodayPlugin.cab
CAB: \Storage Card\install\VJCandela0.2.cab
CAB: \Storage Card\install\DeviceLock.CAB
CAB: \Storage Card\install\Pmorrison.cab
CAB: \Storage Card\install\mail2websettings.cab
LOCKisabled
RST: Reset
This is what I have on mine.

One final step. Create a folder from the root of the SD card and name it 2577. In it, you place the mortscript.exe autorun.exe(from mortscript) and your autorun.mscr(mortscript file).


So the process goes.
1 Hard Reset
2 Soft reset when you see the 3 second warning from Extended_ROM
3 When the phone has reset pop the SD card into the phone, after 3 or so seconds the Extended Rom from the SD card will kick off and you will see it install all your custom apps.