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 10-21-2009, 08:18 AM
joojoobee666's Avatar
PPCKitchen Crew
Offline
Pocket PC: Touch Pro 2
Carrier: VZW
Location: Ohio
 
Join Date: Jul 2008
Posts: 1,442
Reputation: 10635
joojoobee666 can't get a higher reputation leveljoojoobee666 can't get a higher reputation leveljoojoobee666 can't get a higher reputation leveljoojoobee666 can't get a higher reputation leveljoojoobee666 can't get a higher reputation leveljoojoobee666 can't get a higher reputation leveljoojoobee666 can't get a higher reputation leveljoojoobee666 can't get a higher reputation leveljoojoobee666 can't get a higher reputation leveljoojoobee666 can't get a higher reputation leveljoojoobee666 can't get a higher reputation level
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
RecModCommon, scripted recmodding of SYS files.

As posted over on everythingdiamond.info, here is the script I use to recmod the common files of any SYS to free up Slot 0. Just thought I'd bring the love over to ppcgeeks, and give all you cooks more information on the script.

I need to officially thank Tplane37 of the "Force Developments" team for putting the RecModCommon.txt together and helping me with some testing. Also need to thank AstainHellbring AND Tplane37 for some ideas with it. Also need to thank watzone69 for getting the ball rolling on this, and Da_G for all the good VM info. You guys rock

The RecModCommonFiles.txt contains the list of module folders that you want recmodded. You may change it to whatever you want. The script is expecting recmod.exe to be in the same folder as the script. The easiest way to use this is to place a shortcut to the RecModCommon.bat your "Send To" folder, then right click on the "COMMON" folder and "Send To" the batch file. The script can also be integrated into to your kitchen. If the files are already recmodded, the script will NOT error out.

This does NOT have to be used on the COMMON folder only, you can also use it with an old stype Bepe kitchen where EVERYTHING is in the root of SYS.

You may feel free to edit/cleanup the vbscript as you see fit.

Currently, the files that are being recmodded by the source RecModCommon.txt are listed below. Keep in mind, that if you are using this on an Apahce, do NOT recmod the modules in the OS folder. One or more of those being recmodded can give you Apache guys a non-booter (Attached is a source list for the Apache). Also, I recently discovered that if the source COMMON contains the BaseAppFiles or MediaOSFile instead of BaseAppModules or MediaOSModules, the files in there should be in module form for the Apache. At this point, it is unclear as to why the Apache is being so picky....

Code:
\AdobeFlash\flashlite.dll
\AdobeFlash\flashResource.dll
\AdobeFlash\IEActiveX.dll
\AdobeFlash\si_impl.dll
\AdobeFlashCodecs\flashsnddec.dll
\AdobeFlashCodecs\flashviddec_on2_win32.dll
\AdobeFlashCodecs\flashviddec_sorenson_win32.dll
\BaseApps\Beam.exe
\BaseApps\caldl.dll
\BaseApps\calendar.exe
\BaseApps\doclist.dll
\BaseApps\fexplore.exe
\BaseApps\hotvoice.exe
\BaseApps\note_prj.dll
\BaseApps\notes.exe
\BaseApps\pimg.exe
\BaseApps\shptutil.dll
\BaseApps\VoiceBar.dll
\BaseApps\VoiceCtl.dll
\BaseApps\voicedll.dll
\BlueTooth\bthpbap.dll
\BROWSING\browser.dll
\BROWSING\iexplore.exe
\BROWSING\wmlview.dll
\BROWSINGCORE\jscript.dll
\BROWSINGCORE\mlang.dll
\BROWSINGCORE\msscript.dll
\Browsingie\browsui.dll
\Browsingie\dxtrans.dll
\Browsingie\IECEExt.dll
\Browsingie\imgutil.dll
\Browsingie\mshtml.dll
\Browsingie\msls31.dll
\Browsingie\pngfilt.dll
\Browsingie\shdoclc.dll
\Browsingie\shdocvw.dll
\Browsingie\vbscript.dll
\Browsingie\wmlview7.dll
\Bth_A2DP\Avrcp_MPplugin.dll
\Bth_HID\bthhid.dll
\Bth_HID\conshid.dll
\Bth_HID\hidparse.dll
\Bth_HID\kbdhid.dll
\GPSid\gpsid.dll
\InternetSharing\intshare.dll
\InternetSharing\ipnat.dll
\InternetSharing\IntShrUI.exe
\MediaOS\cedrmutil.dll
\MediaOS\wma9prodecoder.dll
\MediaOS\wmcore.dll
\MediaOS\wmploc.dll
\MediaOS\wmpocx.dll
\MediaOS\wmv9decoder.dll
\MediaOS\xmeevtsnd.dll
\NetCF\cgacutil.exe
\NetCF\GAC_CustomMarshalers_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_Microsoft.ServiceModel.Channels.Mail.WindowsMobile_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_Microsoft.ServiceModel.Channels.Mail_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_Microsoft.VisualBasic_v8_1_0_0_cneutral_1.dll
\NetCF\GAC_Microsoft.WindowsCE.Forms_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_Microsoft.WindowsMobile.DirectX_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_mscorlib_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_System.Core_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_System.Data.DataSetExtensions_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_System.Data_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_System.Drawing_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_System.Messaging_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_System.Net.IrDA_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_System.Runtime.Serialization_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_System.ServiceModel_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_System.Web.Services_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_System.Windows.Forms.DataGrid_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_System.Windows.Forms_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_System.Xml.Linq_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_System.Xml_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_System_v3_5_0_0_cneutral_1.dll
\NetCF\mscoree.dll
\NetCF\mscoree3_5.dll
\NetCF\netcfagl3_5.dll
\NetCF\netcfd3dm3_5.dll
\NetCF\netcfmail3_5.dll
\OS\dw.exe
\OS\dwui.dll
\OS\enrollnot.exe
\OS\machineenroller.dll
\OS\machineenrollerlaunch.exe
\OS\networkpolicycsp.dll
\OS\omadmclient.exe
\OS\quartz.dll
\OS\tcpstk.dll
\OS\tmarshaller.exe
\OS\umarshaller.exe
\Phone\simsec.dll
\Phone\tkitapp.exe
\PhoneRedist\siclnt.exe
\Redist\configmanager.dll
\Redist\configmanager2.dll
\Redist\obexapi.dll
\Redist\obexinbx.dll
\Redist\remnet.exe
\Redist\syscsps.dll
\Redist\welcome.exe
\RemoteDesktopMobile\kbdus.dll
\RemoteDesktopMobile\mstscax.dll
\RemoteDesktopMobile\MvkLib.dll
\RemoteDesktopMobile\wpctsc.exe
\Shell\autotimeupdate.exe
\Shell\CertInstaller.exe
\Shell\fbrowser.dll
\Shell\find.dll
\Shell\msnsspc.dll
\Shell\mstli.exe
\Shell\peghelp.exe
\Shell\richink.dll
\Shell\rnaapp.exe
\Shell\shfind.exe
\Shell\sndplay.exe
\Shell\taskmgr.exe
\Shell\tskschcsp.dll
\Shell\tskschedule.exe
\Shell\tskscheduleu.exe
\SkyBox\mkeeper.ini
\SkyBox\MyPhoneConsole.exe
\SkyBox\MyPhoneLauncher.cpl
\SkyBox\MyPhoneRuntime.exe
\WindowsLive\WLMCommonSettings.dll
\WindowsLive\WLMContactsDatabase.dll
\WindowsLive\WLMContactsExtension.dll
\WindowsLive\WLMContactsPlugin.dll
\WindowsLive\WLMContactsProvider.dll
\WindowsLive\WLMDeckCode.dll
\WindowsLive\WLMHSContainerCode.dll
\WindowsLive\WLMHSMailCode.dll
\WindowsLive\WLMHSSearchBarCode.dll
\WindowsLive\WLMHSSplashCode.dll
\WindowsLive\WLMHSSyncCode.dll
\WindowsLive\WLMImageUpdate.exe
\WindowsLive\WLMLauncher.exe
\WindowsLive\WLMLauncher.lnk
\WindowsLive\WLMMailPlugin.dll
\WindowsLive\WLMMailTransport.dll
\WindowsLive\WLMProfilePlugin.dll
\WindowsLive\WLMService.dll
\WindowsLive\WLMSetup.exe
\WindowsLive\WLMShared.dll
\WindowsLive\WLMSpacesExtension.dll
\WindowsLive\WLMSpacesPlugin.dll
\WindowsLive\WLMTodayScreen.dll
\WindowsLive\WLMUIFramework.dll
\WindowsLiveIM\WLMHSMeCode.dll
\WindowsLiveIM\WLMHSMessengerCode.dll
\WindowsLiveIM\WLMMessenger.exe
\WindowsLiveIM\WLMMessengerPlugin.dll
Also, line 15 of the script is defining what file to use as the source so you can create your own and use that instead. Line 15 looks like this:

InputFileName = (CurPath & "RecModCommonFiles.txt")

The bold portion is the source file that you use. Just be sure it is in the same folder as the script and recmod.exe.

On another note, if you fancy nuerecmod.exe over recmod.exe, no problem. Just edit line 39 of the vbscript. Line 39 looks like this:

strCommand1 = Chr(34) & CurPath & "\recmod.exe" & Chr(34) & " " & Chr(34) & strModuleFolder & Chr(34)

Just change recmod.exe to nuerecmod.exe and be sure nuerecmod.exe is in the same path as the script.

And finally, one last note. Sometimes modules will fail, I don't know why. But it's easy to fix, just run it twice as any module that failed ALWAYS works the second time around.
Attached Files
File Type: rar RecModCommon.rar (2.7 KB, 24 views) Click for barcode!
File Type: txt RecModCommonFilesApache.txt (4.3 KB, 14 views) Click for barcode!

Last edited by joojoobee666; 10-26-2009 at 04:06 PM.
This post has been thanked 3 times.
  #2 (permalink)  
Old 10-21-2009, 08:27 AM
raidzero's Avatar
N00b
Offline
Pocket PC: Moto Droid @ 1.1GHz
Carrier: VZW
Location: PPCG
 
Join Date: Dec 2008
Posts: 2,193
Reputation: 5220
raidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to raidzero
Re: RecModCommon, scripted recmodding of SYS files.

oooh, vbscript.. fancy. thanks! hey do you mind if I use this script in my kitchen? I love how you can just add files to the text file...
__________________

Last edited by raidzero; 10-21-2009 at 08:35 AM.
  #3 (permalink)  
Old 10-21-2009, 08:32 AM
joojoobee666's Avatar
PPCKitchen Crew
Offline
Pocket PC: Touch Pro 2
Carrier: VZW
Threadstarter
Location: Ohio
 
Join Date: Jul 2008
Posts: 1,442
Reputation: 10635
joojoobee666 can't get a higher reputation leveljoojoobee666 can't get a higher reputation leveljoojoobee666 can't get a higher reputation leveljoojoobee666 can't get a higher reputation leveljoojoobee666 can't get a higher reputation leveljoojoobee666 can't get a higher reputation leveljoojoobee666 can't get a higher reputation leveljoojoobee666 can't get a higher reputation leveljoojoobee666 can't get a higher reputation leveljoojoobee666 can't get a higher reputation leveljoojoobee666 can't get a higher reputation level
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: RecModCommon, scripted recmodding of SYS files.

Quote:
Originally Posted by raidzero View Post
oooh, vbscript.. fancy. thanks!
Yeah, I know , but it seemed easiest to do since it also leaves the ability for chefs to modify it as they see fit. I could have coded it in C# or something, but what fun would that have been?

And no I don't mind at all! Use it in your kitchen, that was half the point.

Last edited by joojoobee666; 10-21-2009 at 08:39 AM.
  #4 (permalink)  
Old 10-26-2009, 02:26 PM
SOHKis's Avatar
VIP Member
Offline
Pocket PC: EVO 4G
Carrier: Sprint
Location: VA
 
Join Date: Apr 2008
Posts: 1,140
Reputation: 2320
SOHKis is a VIPSOHKis is a VIPSOHKis is a VIPSOHKis is a VIPSOHKis is a VIPSOHKis is a VIPSOHKis is a VIPSOHKis is a VIPSOHKis is a VIPSOHKis is a VIPSOHKis is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: RecModCommon, scripted recmodding of SYS files.

don't forget about superrecmod, great to cleanup those last few modules that you don't always want to convert. http://forum.xda-developers.com/show...&postcount=928
__________________

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 04:46 AM.


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