PDA

View Full Version : [PC-APP] RecModFolder - fast module to file conversion


serfer222
2nd November 2009, 11:28 PM
01/04/2010 update - program can read list of modules from text file.
download link: http://www.4shared.com/file/255038195/c2b5de9b/RecModFolder_04.html
mirror: http://narod.ru/disk/19297102000/RecModFolder_04.zip.html

how to use
1. create text file RecModFolder.txt,
2. write list of modules to this file, for example:
SYS\MediaOS\wmpocx.dll
SYS\OS\dw.exe
SYS\OS\dwui.dll
SYS\OS\DwXfer.dll
3. pass RecModFolder.txt as a parameter:
RecModFolder.exe RecModFolder.txt

that's it.

and, of course, you can convert all modules in folder like this
RecModFolder.exe SYS\AdobeFlash
RecModFolder.exe SYS\AdobeFlashCodecs

there are sample RecModFolder.txt and cmd file that I use with OSBuilder (http://asusmobile.ru/board/viewtopic.php?t=19866)
cmd file is executed from the root of my kitchen, program is in the tools\RecMod subfolder

================================================== ==
old post:

I developed small tool which helps me to update my kitchen with new OS build.

My device has wm6.1 kernel and I get tired with "too many modules" problem.
I know I can use RecMod to convert modules to files, but it's so slow and inconvenient:
find folder with module,
drop it on recmod.exe,
get new file out of this folder,
delete folder,
move file back,

find, drop, get, delete, move...
find, drop, get, delete, move...

GRRR!!!! =)

My tool will do all these steps for me.
I just select parameters:
1. Folder - folder with modules, for example SYS\21872,
2. Mask (optional) - any mask that is valid in windows is acceptable,
(common masks are *.dll, *.cpl, *.exe, *.mui), no mask means "*".
3. Count (optional) - how many modules to convert, no count means "convert all".
[new in v0.3] If Count is 0, program will only display all modules matching the mask,
and do not change your files.


=======================================

Example 1:
>RecModFolder.exe c:\xda\v1\SYS\21054
means - RecMod all modules in c:\xda\v1\SYS\21054 recursive

=======================================

Example 2:
>RecModFolder.exe c:\xda\v1\SYS\21054 *.exe
means - RecMod all exe modules in c:\xda\v1\SYS\21054 recursive

=======================================

Example 3:
>RecModFolder.exe c:\xda\v1\SYS\21054 *.dll 10
means - RecMod first 10 dll modules in c:\xda\v1\SYS\21054 recursive

=======================================

Algorithm

read parameters from command line
find all modules in given folder (recursive) using given mask
for each module folder
{
call RecMod
create temporary unique file name (GUID for safety reason)
move new file to parent folder and assign it temporary name
delete module folder (with all files)
rename new file, give it real module name
if (count >= requested count)
{
stop
}
}

=======================================
Installation
make sure you can run RecMod from console, add its folder to PATH or drop RecModFolder.exe to the same folder.
That's it.

=======================================
Tips
You can create shortcut to RecModFolder and drop folders on it from explorer or Total Commander. RecModFolder will convert all modules in that folder to files.

Backup your files. This tool doesn't ask any questions,
it just informs you in case of error and stops immediately.
Save log file and check it for errors.

This is console application - you can use it in bat files.

You can save output of this program to text file - add >fileName.txt to your command line.
example:
RecModFolder.exe c:\xda\v1\SYS\21054 *.dll 10 >log.txt
this command will call RecMod first 10 dll modules in c:\xda\v1\SYS\21054 recursive
and save its output to log.txt.

Do not open folders you want to delete (replace with files) in explorer (or Total Commander, FAR, etc.) while this program works.

nosedive
4th November 2009, 03:49 PM
very nice, but there is already a similar app which does it from right click menu..
see here -> recmod by OndraSter (http://forum.xda-developers.com/showthread.php?p=4821951)

you probably have more options on the whole process, but the other tool might be more convenient.. anyways i will try

pupakota
4th November 2009, 05:03 PM
serfer222, you know that you may be responsible for whole lots of nab made VERY bad rom releases now, lol?

hheh, thanks for that tool anyway.

serfer222
4th November 2009, 09:59 PM
very nice, but there is already a similar app which does it from right click menu..
see here -> recmod by OndraSter (http://forum.xda-developers.com/showthread.php?p=4821951)

you probably have more options on the whole process, but the other tool might be more convenient.. anyways i will try

I can explain what is the main difference:
If I choose one module folder, for example
SYS\21055\SHARED\COMMON\BROWSING\browser.dll\

and select osRecmod "Recmod this folder" it will work.
but if I select parent folder
SYS\21055\SHARED\COMMON\BROWSING\

osRecmod will just delete this folder and create empty file BROWSING
in the SYS\21055\SHARED\COMMON\
So, you see, it doesn't work for me.

I want to convert all modules inside folder
SYS\21055\SHARED\COMMON\BROWSING\

in one step. I drag this folder on my tool and all modules are converted to files. That's what I want =)

serfer222
4th November 2009, 10:40 PM
serfer222, you know that you may be responsible for whole lots of nab made VERY bad rom releases now, lol?
You know, there are a lot of such rom developers already here.
This tool will just save their time and maybe they will find out whole new world outside computer and then will quit rom development... =)

rickou26
4th November 2009, 10:51 PM
Thank you serfer222 for this application, which complements my kitchen.

By

serfer222
6th November 2009, 01:53 PM
New version - v0.3.

new option is added - if you set Count to 0 program will just display list of matching modules.

Example: I want to see a list of *.mui module folders that can be converted to files.
Command: >RecModFolder.exe d:\mega2\SYS\21874\ *.mui 0
Output:

d:\mega2\SYS\21874\SHARED\0409\AdobeFlash_LANG_040 9\flashresource.dll.0409.mui
d:\mega2\SYS\21874\SHARED\0409\Autoupdate_Lang_040 9\AutoUpdateRes_wpc.exe.0409.mui
d:\mega2\SYS\21874\SHARED\0409\Base_Lang_0409\comm ctrl.dll.0409.mui
d:\mega2\SYS\21874\SHARED\0409\Base_Lang_0409\comm dlg.dll.0409.mui
d:\mega2\SYS\21874\SHARED\0409\Base_Lang_0409\core dll.dll.0409.mui
d:\mega2\SYS\21874\SHARED\0409\Base_Lang_0409\core res.dll.0409.mui
d:\mega2\SYS\21874\SHARED\0409\Base_Lang_0409\cryp t32.dll.0409.mui
d:\mega2\SYS\21874\SHARED\0409\Base_Lang_0409\fatu til.dll.0409.mui
d:\mega2\SYS\21874\SHARED\0409\Base_Lang_0409\file sys.exe.0409.mui
d:\mega2\SYS\21874\SHARED\0409\Base_Lang_0409\gwes .exe.0409.mui
d:\mega2\SYS\21874\SHARED\0409\Base_Lang_0409\iece ext.dll.0409.mui
d:\mega2\SYS\21874\SHARED\0409\Base_Lang_0409\jscr ipt.dll.0409.mui
d:\mega2\SYS\21874\SHARED\0409\Base_Lang_0409\misc res.dll.0409.mui
d:\mega2\SYS\21874\SHARED\0409\Base_Lang_0409\netm ui.dll.0409.mui
d:\mega2\SYS\21874\SHARED\0409\Base_Lang_0409\noti fy.dll.0409.mui
d:\mega2\SYS\21874\SHARED\0409\Base_Lang_0409\Outl ookLiveUpdaterResources.dll.0409.mui
d:\mega2\SYS\21874\SHARED\0409\Base_Lang_0409\outr es.dll.0409.mui
d:\mega2\SYS\21874\SHARED\0409\Base_Lang_0409\quar tz.dll.0409.mui
d:\mega2\SYS\21874\SHARED\0409\Base_Lang_0409\shel lres.dll.0409.mui
d:\mega2\SYS\21874\SHARED\0409\Base_Lang_0409\shel lresapps.dll.0409.mui
d:\mega2\SYS\21874\SHARED\0409\Base_Lang_0409\sync res.dll.0409.mui
d:\mega2\SYS\21874\SHARED\0409\Base_Lang_0409\tapr es.dll.0409.mui
d:\mega2\SYS\21874\SHARED\0409\Base_Lang_0409\tshr es.dll.0409.mui
d:\mega2\SYS\21874\SHARED\0409\Base_Lang_0409\unim odem.dll.0409.mui
d:\mega2\SYS\21874\SHARED\0409\Base_Lang_0409\wave api.dll.0409.mui
d:\mega2\SYS\21874\SHARED\0409\Base_Lang_0409\wsp. dll.0409.mui
d:\mega2\SYS\21874\SHARED\0409\Browsing_Lang_0409\ browsres.dll.0409.mui
d:\mega2\SYS\21874\SHARED\0409\Browsing_Lang_0409\ mlang.dll.0409.mui
d:\mega2\SYS\21874\SHARED\0409\Browsing_Lang_0409\ shdoclc.dll.0409.mui
d:\mega2\SYS\21874\SHARED\0409\Browsing_Lang_0409\ shlwapi.dll.0409.mui
d:\mega2\SYS\21874\SHARED\0409\Browsing_Lang_0409\ urlmon.dll.0409.mui
d:\mega2\SYS\21874\SHARED\0409\Browsing_Lang_0409\ wininet.dll.0409.mui
d:\mega2\SYS\21874\SHARED\0409\CHome_Lang_0409\cmh omeres.dll.0409.mui
d:\mega2\SYS\21874\SHARED\0409\Entertainment_Lang_ 0409\bbcbres.dll.0409.mui
d:\mega2\SYS\21874\SHARED\0409\Fwupdate_Lang_0409\ MdsRes_wpc.exe.0409.mui
d:\mega2\SYS\21874\SHARED\0409\IPSECVPN_Lang_0409\ ipsecvpnres.dll.0409.mui
d:\mega2\SYS\21874\SHARED\0409\Skybox_Lang_0409\My PhoneConsole.exe.0409.mui
d:\mega2\SYS\21874\SHARED\0409\WMWidgets_LANG_0409 \riahostres.dll.0409.mui
d:\mega2\SYS\21874\SHARED\0409\WMWidgets_LANG_0409 \wmwidgetinstallerres.dll.0409.mui
d:\mega2\SYS\21874\SHARED\0419\AdobeFlash_LANG_041 9\flashresource.dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Autoupdate_Lang_041 9\AutoUpdateRes_wpc.exe.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Base_Lang_0419\comm ctrl.dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Base_Lang_0419\comm dlg.dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Base_Lang_0419\core dll.dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Base_Lang_0419\core res.dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Base_Lang_0419\cryp t32.dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Base_Lang_0419\fatu til.dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Base_Lang_0419\file sys.exe.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Base_Lang_0419\gwes .exe.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Base_Lang_0419\iece ext.dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Base_Lang_0419\jscr ipt.dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Base_Lang_0419\misc res.dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Base_Lang_0419\netm ui.dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Base_Lang_0419\noti fy.dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Base_Lang_0419\Outl ookLiveUpdaterResources.dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Base_Lang_0419\outr es.dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Base_Lang_0419\quar tz.dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Base_Lang_0419\rire sdll.dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Base_Lang_0419\shel lres.dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Base_Lang_0419\shel lresapps.dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Base_Lang_0419\sync res.dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Base_Lang_0419\tapr es.dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Base_Lang_0419\tshr es.dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Base_Lang_0419\unim odem.dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Base_Lang_0419\wave api.dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Base_Lang_0419\wsp. dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Browsing_Lang_0419\ browsres.dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Browsing_Lang_0419\ mlang.dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Browsing_Lang_0419\ msscript.dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Browsing_Lang_0419\ shdoclc.dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Browsing_Lang_0419\ shlwapi.dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Browsing_Lang_0419\ urlmon.dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Browsing_Lang_0419\ wininet.dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\CHome_Lang_0419\cmh omeres.dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Entertainment_Lang_ 0419\bbcbres.dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Fwupdate_Lang_0419\ MdsRes_wpc.exe.0419.mui
d:\mega2\SYS\21874\SHARED\0419\IPSECVPN_Lang_0419\ ipsecvpnres.dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\MediaOS_Lang_0419\w mploc.dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\RemoteDesktopMobile _Lang_0419\wpctsc.exe.0419.mui
d:\mega2\SYS\21874\SHARED\0419\Skybox_Lang_0419\My PhoneConsole.exe.0419.mui
d:\mega2\SYS\21874\SHARED\0419\WindowsLive_Lang_04 19\WLMContactsResources.dll.0419.MUI
d:\mega2\SYS\21874\SHARED\0419\WindowsLive_Lang_04 19\WLMDeckResources.dll.0419.MUI
d:\mega2\SYS\21874\SHARED\0419\WindowsLive_Lang_04 19\WLMHSContainerResources.dll.0419.MUI
d:\mega2\SYS\21874\SHARED\0419\WindowsLive_Lang_04 19\WLMHSMailResources.dll.0419.MUI
d:\mega2\SYS\21874\SHARED\0419\WindowsLive_Lang_04 19\WLMHSMeResources.dll.0419.MUI
d:\mega2\SYS\21874\SHARED\0419\WindowsLive_Lang_04 19\WLMHSMessengerResources.dll.0419.MUI
d:\mega2\SYS\21874\SHARED\0419\WindowsLive_Lang_04 19\WLMHSSearchBarResources.dll.0419.MUI
d:\mega2\SYS\21874\SHARED\0419\WindowsLive_Lang_04 19\WLMHSSplashResources.dll.0419.MUI
d:\mega2\SYS\21874\SHARED\0419\WindowsLive_Lang_04 19\WLMHSSyncResources.dll.0419.MUI
d:\mega2\SYS\21874\SHARED\0419\WindowsLive_Lang_04 19\WLMMailResources.dll.0419.MUI
d:\mega2\SYS\21874\SHARED\0419\WindowsLive_Lang_04 19\WLMMessengerResources.dll.0419.MUI
d:\mega2\SYS\21874\SHARED\0419\WindowsLive_Lang_04 19\WLMServiceResources.dll.0419.MUI
d:\mega2\SYS\21874\SHARED\0419\WindowsLive_Lang_04 19\WLMSharedResources.dll.0419.MUI
d:\mega2\SYS\21874\SHARED\0419\WindowsLive_Lang_04 19\WLMSpacesResources.dll.0419.MUI
d:\mega2\SYS\21874\SHARED\0419\WindowsLive_Lang_04 19\WLMSyncResources.dll.0419.MUI
d:\mega2\SYS\21874\SHARED\0419\WMWidgets_LANG_0419 \riahostres.dll.0419.mui
d:\mega2\SYS\21874\SHARED\0419\WMWidgets_LANG_0419 \wmwidgetinstallerres.dll.0419.mui
97 modules found.


download it from the first post.
have fun =)

zakengen
8th November 2009, 12:38 PM
good job man

serfer222
10th November 2009, 11:52 PM
I have an idea for next update.
Now I'm using 21874 with my wm6.1 kernel and just simple update it to 21876 is a headache. This tool helps me to convert modules fast, but I still must choose what should be converted. I'm lazyyyy. I did it for 21874 and want to REUSE my old work.

Idea is:
1. run application and choose good existing build AS TEMPLATE.
2. select new build folder and drink a cup of coffee.
3. my app will do the job - take old working build as template and prepare new build exactly the same way.

What do you think? Is there a program that already implement this feature or
I need to create it? (lazy question)

=)

Antix
12th December 2009, 05:39 PM
When I start doing recmod the recmodefolder.exe shows this message "Do you have RecMod.exe in PATH?" and then stops.
What happens?

serfer222
1st April 2010, 02:28 PM
program is updated, list-mode added,
first post is updated

chshrm
1st April 2010, 05:10 PM
hi, friends, it seems an excerllent apps, but how can i download it? when i visit that link, it seems a Russian web, i even don't know one letter!
can you upload it rapishare ?

serfer222
2nd April 2010, 08:43 AM
www.4shared.com (http://www.4shared.com/file/255038195/c2b5de9b/RecModFolder_04.html) link in the first post

-yasser-
23rd August 2010, 02:01 PM
useful App ,, Thanks
when selecting or specifying 1 module folder, it doesen't work for me.
It shows "RecMod 0 modules completed"
It works only using multiple (eg: *.mui).
Maybe the first prob. will be replaced by osrecmod, & ur tool for multiple files ,, LoL
------------
ANY idea of converting back file to module?
-Yasser-