PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > Windows Mobile Development > ROM/Kitchen Development

Notices



Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-05-2007, 02:57 PM
MrHappy's Avatar
PPCGeeks Regular
Offline
Pocket PC: 6800
Carrier: Sprint
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.
  #2 (permalink)  
Old 03-05-2007, 09:28 PM
gguruusa's Avatar
Deep Thinker
Offline
Pocket PC: Tin Can
Carrier: Atomic Vibration
Location: Mountain top
 
Join Date: Jan 2007
Posts: 3,252
Reputation: 4726
gguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributions
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
What's the significance of naming the folder 2577?
  #3 (permalink)  
Old 03-06-2007, 09:17 AM
MrHappy's Avatar
PPCGeeks Regular
Offline
Pocket PC: 6800
Carrier: Sprint
Threadstarter
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
naming a folder 2577 will cause any ppc device to attempt to autorun whatever is in that folder.


<snip from: http://msdn2.microsoft.com/en-us/library/aa454908.aspx>
Media cards that autoplay
Imagine an SD card behaving on your Smartphone or Pocket PC much like a CD-ROM behaves on your Windows–based desktop computer. This feature is one of the easiest things to implement on a Windows Mobile–based device. To do this, rename the application that you want to start, such as a software catalog or game, to autorun.exe, and then copy it into a folder specifically called 2577. (The number is important) Then, copy that folder and its contents to the root of your media card, insert the media card into your Windows Mobile–based device, and your application will automatically start the application.
Note The number used to name the folder indicates the CPU type that the autorun.exe is targeting. 2577 is the processor code for the ARM–based processor family and, therefore, indicates that the contained autorun.exe is to be used by ARM–based processor devices. In the case of Windows Mobile–based devices, the folder is always named 2577 because all Windows Mobile–based devices have ARM–based processors.
Closed Thread

  PPCGeeks > Windows Mobile > Windows Mobile Development > ROM/Kitchen Development

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 01:38 AM.


Powered by vBulletin® ©2000 - 2019, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com