[APPLICATION] APP.DAT Changer and creator - Windows Mobile

hello,
when I import CABs for osKitchen, he always puts "Program Files", "StartUp" and others. I'm Portuguese and my rom does not have these folders are in Portuguese. so to save me work to edit files I created this little application.
And sometimes not create APP.DAT, this little app also creates APP.DAT.
Link:APP.DAT Changer
Little Toturial:
APP.DAT Changer:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
1.From: osKitchen always create APP.DAT with that folders
2.To: Destination folder in Windows Mobile
3.Click here to change APP.DAT.
APP.DAT Creator:
1.Name of destinations folders in Windows Mobile.
2.Click to analyse folder.
after analyse folder appears this screen:
1. Select files to StartUp with windows, i recommend only links.
2.Click to create app.dat
Translation of program:
in path of exe is a file called "ChangeAPP.DAT.exe.config" if you open this file with note path you can translate de program.
And done, now you have changed or created APP.DAT.
I hope you like my application. it´s simple but useful for me.
Attention: I only have tested this with osKitchen, i never used other kitchen.
Next release soon: CabExtractor ->to extract some cabs that do not extract very well oskitchen

Nice app, now life will be a bit easy for NON-English chefs.
Thanks for sharing.
PS. I did correct your post because this line looked as this:
1.FromsKitchen always create APP.DAT with that folders
2.Toestination folder in Windows Mobile

Great tool, thank you for sharing.
If I create multiple language kitchen the app.dat I put in the corresponding
language folder. 0409, 0413, 0408 etc...
Can you modify the tool so that you can pick the language you are cooking for?
Like this:
\0409\app.dat (Program files)
\0413\app.dat (Programma bestanden)
etc...
This way you don't need to modify app.dat each time you are cooking another lang.
Grtz Leo

I have a little problem.
I select the OsKitchen EXT folder but when i click Mudar it doesnt change nothing.
Im curious to know if in ChangeAPP.DAT.exe.config we can add some other folders like Tools,Internet,etc..
Thanks.

Laurentius26 said:
Great tool, thank you for sharing.
If I create multiple language kitchen the app.dat I put in the corresponding
language folder. 0409, 0413, 0408 etc...
Can you modify the tool so that you can pick the language you are cooking for?
Like this:
\0409\app.dat (Program files)
\0413\app.dat (Programma bestanden)
etc...
This way you don't need to modify app.dat each time you are cooking another lang.
Grtz Leo
Click to expand...
Click to collapse
OK, nice sugestion, i do that this weekend
af974 said:
I have a little problem.
I select the OsKitchen EXT folder but when i click Mudar it doesnt change nothing.
Im curious to know if in ChangeAPP.DAT.exe.config we can add some other folders like Tools,Internet,etc..
Thanks.
Click to expand...
Click to collapse
i found a bug, link updated.
i can make more folders options. i will try make a XML with various folders options.

It work fine now,thank you sir
Since you are a so good programmer, i have an idea for haver a better life for us NON English:
When you want to build a TMOUS rom for NON English people you need to manual sort all the Language package.....would be awesome have such an app that auto-sort those packages for you:
Example:
Now we have :
Adobe PDF v2.5.1.0.404840.03
---------files
-----------------0409
My idea is:
Adobe PDF v2.5.1.0.404840.03
--------files
Adobe PDF v2.5.1.0.404840.03
--------0409
Adobe PDF v2.5.1.0.404840.03
--------0410
Adobe PDF v2.5.1.0.404840.03
--------0804

af974 said:
It work fine now,thank you sir
Since you are a so good programmer, i have an idea for haver a better life for us NON English:
When you want to build a TMOUS rom for NON English people you need to manual sort all the Language package.....would be awesome have such an app that auto-sort those packages for you:
Example:
Now we have :
Adobe PDF v2.5.1.0.404840.03
---------files
-----------------0409
My idea is:
Adobe PDF v2.5.1.0.404840.03
--------files
Adobe PDF v2.5.1.0.404840.03
--------0409
Adobe PDF v2.5.1.0.404840.03
--------0410
Adobe PDF v2.5.1.0.404840.03
--------0804
Click to expand...
Click to collapse
I think I understand.
you just want to copy the folders that are inside the folder "files" to the same level of the folder "files".

Great application, I already created all the files for 12 languages and it cost me 2 day's to do that, this is really a timesaver.
Thanks

Hint: oskitchen allows using variables for all system folders in the app.dat files.

Ops...sorry i guess i had explain me not well.
What i meant was an app that grab the Language folder from package and put it in another folder with the same package name ,so we should have:
Example:
AdobeReader--> (subfolder) files
AdobeReader_0409-->(subfolder) 0409 (0410,0804,etc..)
anhado said:
I think I understand.
you just want to copy the folders that are inside the folder "files" to the same level of the folder "files".
Click to expand...
Click to collapse
Airxtreme, can you explain this better please?
I dont understand how to use it.
airxtreme said:
Hint: oskitchen allows using variables for all system folders in the app.dat files.
Click to expand...
Click to collapse

af974 said:
Airxtreme, can you explain this better please?
I dont understand how to use it.
Click to expand...
Click to collapse
You put those variables inside the app.dat files and the kitchen will be replace them with the matching localized folder while the ROM is generated.

Thanks Airxtreme, i didnt know that and it is a pretty nice feature indeed.......perhaps,do you think that it will be difficult to have those variables auto-compiled from OsKitchen when you go to import a new cab?...oh well,i fell a bit lazy dont you think? lol
airxtreme said:
You put those variables inside the app.dat files and the kitchen will be replace them with the matching localized folder while the ROM is generated.
Click to expand...
Click to collapse

airxtreme said:
You put those variables inside the app.dat files and the kitchen will be replace them with the matching localized folder while the ROM is generated.
Click to expand...
Click to collapse
Directory("\Windows"):-Directory("Arranque")
Directory("\Windows\Menu Iniciar\Programas"):-Directory("Tools")
Directory("\Programas"):-Directory("ArkSwitch")
Directory("\Windows\Menu Iniciar\Programas\Tools"):-File("ArkSwitch.lnk","\Windows\_ArkSwitch.lnk")
Directory("\Windows\Arranque"):-File("ArkSwitch.lnk","\Windows\_ArkSwitch.lnk")
this is what my app create.
i need to change to
Directory("%Windows%"):-Directory("Arranque")
Directory("%Windows-StartMenu-Programs%"):-Directory("Tools")
Directory("%ProgramFiles% "):-Directory("ArkSwitch")
Directory("%Windows-StartMenu-Programs%\Tools"):-File("ArkSwitch.lnk","\Windows\_ArkSwitch.lnk")
Directory("%Windows-StartUp%"):-File("ArkSwitch.lnk","\Windows\_ArkSwitch.lnk")
and about red? osKitchen creates that but is no necessary, anyway you don't have variables to that.

af974 said:
Ops...sorry i guess i had explain me not well.
What i meant was an app that grab the Language folder from package and put it in another folder with the same package name ,so we should have:
Example:
AdobeReader--> (subfolder) files
AdobeReader_0409-->(subfolder) 0409 (0410,0804,etc..)
Click to expand...
Click to collapse
i don't konw the folder structure of a TMOUS rom for HD2 on osKitchen. now i am downloading a ROM for HD2 tomorrow i imports and try to understand what you want.

Hmm, okay not sure what everybody means, but I think I'm on the same level as af974, what I did to create my kitchen for all the languages I use is just the simple way copy-paste, to give a short example, if I use the camera-pkg, I just have one folder for the camera but I put all the mui-files in the camera-pkg, so I don't have a long list for every language, I did the same with all the other pkg.
Maybe a lot of people are gonna laugh because they now an easier way, but I did it on the 12th of september when the server was down, so I had all the time of the world
Greetz,

Yes like this:
Camera\0409\0408\0413 etc...
What I do is place the app.dat in every language folder and modify the path by hand.
Camera\0409\app.dat = start menu\example.lnk
Camera\0413\app.dat = Startmenu\example.lnk
Now in the kitchen I can set the language and it automatic pics the appropiate app.dat.
Rataplan said:
Hmm, okay not sure what everybody means, but I think I'm on the same level as af974, what I did to create my kitchen for all the languages I use is just the simple way copy-paste, to give a short example, if I use the camera-pkg, I just have one folder for the camera but I put all the mui-files in the camera-pkg, so I don't have a long list for every language, I did the same with all the other pkg.
Maybe a lot of people are gonna laugh because they now an easier way, but I did it on the 12th of september when the server was down, so I had all the time of the world
Greetz,
Click to expand...
Click to collapse

Laurentius26 said:
Yes like this:
Camera\0409\0408\0413 etc...
What I do is place the app.dat in every language folder and modify the path by hand.
Camera\0409\app.dat = start menu\example.lnk
Camera\0413\app.dat = Startmenu\example.lnk
Now in the kitchen I can set the language and it automatic pics the appropiate app.dat.
Click to expand...
Click to collapse
That's what I forgot to do, thanks for the tip, I only edited the initflashes.dat
Greetz,

anhado said:
Directory("\Windows"):-Directory("Arranque")
Directory("\Windows\Menu Iniciar\Programas"):-Directory("Tools")
Directory("\Programas"):-Directory("ArkSwitch")
Directory("\Windows\Menu Iniciar\Programas\Tools"):-File("ArkSwitch.lnk","\Windows\_ArkSwitch.lnk")
Directory("\Windows\Arranque"):-File("ArkSwitch.lnk","\Windows\_ArkSwitch.lnk")
this is what my app create.
i need to change to
Directory("%Windows%"):-Directory("Arranque")
Directory("%Windows-StartMenu-Programs%"):-Directory("Tools")
Directory("%ProgramFiles% "):-Directory("ArkSwitch")
Directory("%Windows-StartMenu-Programs%\Tools"):-File("ArkSwitch.lnk","\Windows\_ArkSwitch.lnk")
Directory("%Windows-StartUp%"):-File("ArkSwitch.lnk","\Windows\_ArkSwitch.lnk")
and about red? osKitchen creates that but is no necessary, anyway you don't have variables to that.
Click to expand...
Click to collapse
The variables are for app.dat files not for initflashfiles.dat where folders like the startup folder should be created. I could allow custom instructions in initflashfiles to create all the system folders since I know where each of them are mapped but I think would be pointless with all the all-languages initflashfiles archives Da_G released.

Thanks for the kitchen Airxtreme,
Yes system files can be set but what about a app.dat for every extended package that needs it?
Maybe I could work straight from initflash but I think creating a app.dat is more save and portable.
airxtreme said:
The variables are for app.dat files not for initflashfiles.dat where folders like the startup folder should be created. I could allow custom instructions in initflashfiles to create all the system folders since I know where each of them are mapped but I think would be pointless with all the all-languages initflashfiles archives Da_G released.
Click to expand...
Click to collapse

Laurentius26 said:
Thanks for the kitchen Airxtreme,
Yes system files can be set but what about a app.dat for every extended package that needs it?
Maybe I could work straight from initflash but I think creating a app.dat is more save and portable.
Click to expand...
Click to collapse
As I said the variables are only for app.dat; having to write the localized folders by hand with this tool is useless because instead of setting the localized path you can use one of the variables I provide and make your app.dat entries compatible with every language, also the kitchen now does all the variables mapping when a CAB file is imported.

Related

Installing & Using Ervius Visual Kitchen V1.8.1 For OPAL

Hi Everybody, I have a good news, Ervius Visual Kitchen V 1.8.1 is working well on OPAL, and with it you can make your own Up to date ROM and Multi Languange ROM.
First and Last, I am only presenting the Kitchen, Not the ROM, so if you have any nonworking app, please don't ask me, discuss it here with others Opal Owner because I DON'T HAVE OPAL. But if you ask me about the kitchen, i will answer it.
Thanks to:
- imblfmstr for tested the kitchen
- Ervius & Bepe for the great tools and kitchen
- Olipro
- tadzio
Download Link 21844 KITCHEN:
http://www.4shared.com/file/129247993/76a618f3/ERVIUS_KITCHEN_FOR_OPAL_By_BesFen.html
CONTENT OF 21844 KITCHEN
This is the kitchen root preview in Windows Explorer:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
1. EXT Folder
The External packages (EXT) folder is divided into Device Specific folders and a Shared folder:
*Device Specific folders are typically used for files (packages) that should only be applied to a specific type of the device.
Each Device Specific folder is further divided into Operating System Build Version Specific folders and a Common folder.
*Operating System Build Version Specific folders are typically used for files (packages) that should only be applied to a specific build (version) of Operating System. The Common folder is typically used for files (packages) that can be installed on any Operating System build version.
2. OEM Folder
The OEM folder can contain multiple Device Specific folders.
*Each Device Specific folder is further divided into Locale Specific folders and a Common folder.
*The Common folder is typically used for files (packages) that can be installed in any locale – not specific to a language.
*Locale Specific folders are typically used for files (packages) that should only be applied to a specific locale.
3. ROM Folder
The ROM folder is divided into Device Specific folders and a Shared folder.
*The Shared folder is typically used for kernel system files that are compatible amongst devices. (MSXIPKERNEL folder)
*Device Specific folders are typically used for kernel system files that should only be applied to a specific type of the device. (OEMXIPKERNEL folder)
-The Shared folder is further divided into Operating System Build Version Specific folders. Operating System Build Version Specific folders are typically used for kernel system files that should only be applied to a specific build (version) of Operating System.
-Each Device Specific folder is further divided into Operating System Build Version Specific folders.
4. SYS Folder
The system (SYS) folder is divided into Operating System Build Version Specific folders.
*The Build Version Specific folders will often contain files (packages) specific to the device DPI (Dot Per Inch) and Horizontal/Vertical display size.
*Each Operating System Build Version Specific folder is further divided into a ROM DPI, ROM Resolution, and Shared folder – providing a significant amount of flexibility during ROM compilation.
*The ROM DPI, ROM Resolution, and Shared folders are further divided into Locale Specific folders and a Common folder.
*The Common folder is typically used for system files (packages) that can be installed in any locale – not specific to a language.
*Locale Specific folders are typically used for system files (packages) that should only be applied to a specific locale – for example, 0409 (English).
Updating visual kitchen with new build
SOURCE OF HOT BUILD
If you want to Build a new ROM with The new Build, go to here to get the Source.
http://forum.xda-developers.com/showthread.php?t=544445
UPDATING VISUAL KITCHEN WITH NEW BUILD
We assume to update my 21844 visual kitchen for OPAL with newer Build (example 23037).
A. EXT
1. In the EXT\Opal create a new empty folder with the name of the build (example 23037).
2. copy the folder “Opal_External_Packages” inside EXT\Opal\21844 to EXT\Opal\23037.
Now your extended packages is ready
B. OEM
No need to modify this Folder
C. ROM
1. In the ROM\Opal Folder, create a new folder with the name of the build (example 23037). Copy the OEMXipKernel folder from ROM\Opal\21844 into this folder as shown below:
2. in the ROM\Shared Folder, create a new folder with the name of the build (example 23037). Copy the MSXipKernel folder from New Build into this folder as shown above.
D. SYS
In the SYS Folder, create a new folder with the name of the build (example 23037). Copy the SYS from the new Build into this folder as shown below:
DUMP XIP.BIN TO GET MSXIPKernel
TO make a new build ROM, we need MSXIPKernel, and sometime people only provide xip.bin of the new build. If it happens we need to dump it to get MSXIPKernel, download that file, and dump it with XIPPort.exe, here is the tools.:
http://www.4shared.com/file/125449740/a1b9e454/XIPPort.html
Now, put the attached file and the xip.bin in the same folder, then run XIPPort.exe, click “dump xip.bin” and wait until folder “OUT” appear, then click “make pkgs”, close the XIPPort.exe.
Go to folder “out” and you will find “Files and Modules” folder, inside each folder, you will find folder MSXIPKernel. Move the module inside OUT\MODULES\MSXIPKernel to OUT\FILES\MSXIPKernel, now you have the MSXIPKernel. And don’t forget to delete any *.txt file inside MSXIPKernel.
USING VISUAL KITCHEN
After add new build, run the kitchen, and you will get pic as below:
1. Choose your device, Opal
2. Choose your XIP Build
3. Choose your SYS Build
4. Choose your EXT Build
The default compression is XPR, you can make LZX compression by select the LZX.
You can change the PP, click "Other" Buton, you will see pic below:
Enter the number of PP as you want, the default for Opal is 12Mb, More PP make the ROM more stable and multitasking, you can make experience for the number of PP.
You can weather the package in the EXT, OEM, or SYS to include in the ROM or no by double click the name of packages.
OK that is all, you ready to click the "Create ROM" Button.
HAPPY COOKING Time to SLEEP....
Useful tools
USEFUL TOOLS
EXT PACKAGES CREATOR'S TOOL
http://forum.xda-developers.com/showpost.php?p=4489567&postcount=17
http://forum.xda-developers.com/showpost.php?p=4714566&postcount=69 Thanks XirXes
Here is some method posted by XirXes to minimize memory leak by make SLOT 0 memory free from Modules, Thanks XirXes.
Original posted by XirXes
XirXes said:
Hey BesFen, I think we need a post about memory mapping in this thread. One of the biggest things I've found that makes a rom invariably suck is poor memory mapping. It can even lead to not booting. I use this list of modules that can be converted to files from EDTP. It helped me fix my mapping issue without breaking anything. I use RightClickRecmod from this post for converting. Right click recmod needs C++ Runtimes and .NET Framework in order to work. If for any reason that doesn't work for someone they can do it from inside the kitchen itself (I've never tried it that way) or they can use a .bat script I found here.
RightClickRecmod
•C++ Runtimes
•.NET Framework
The modules that can convert to file:
Code:
AdobeFlash = ALL
AdobeFlashCodecs = ALL
BaseApps = Beam.exe, caldl.dll, calendar.exe, doclist.dll, fexplore.exe, hotvoice.exe, note_prj.dll, notes.exe, pimg.exe, shptutil.dll, VoiceBar.dll, VoiceCtl.dll and voicedll.dll
BlueTooth = bthpbap.dll ONLY!!!!
BROWSING = browser.dll, iexplore.exe and wmlview.dll
BROWSINGCORE = jscript.dll, mlang.dll and msscript.dll only.
Browsingie = ALL
BTDUN = NONE
Bth_A2DP = Avrcp_MPplugin.dll only.
Bth_HID = All except for bthidsvc.dll
GPSid = gpsid.dll
InternetSharing = ALL
MediaOS = ALL
NetCF = ALL
OS = dw.exe, dwui.dll, enrollnot.exe, machineenroller.dll, machineenrollerlaunch.exe, networkpolicycsp.dll, omadmclient.exe, quartz.dll, tcpstk.dll, tmarshaller.exe, umarshaller.exe
Phone = simsec.dll, tkitapp.exe
PhoneRedist = siclnt.exe
Redist = configmanager.dll, configmanager2.dll, obexapi.dll, obexinbx.dll, remnet.exe, syscsps.dll, welcome.exe
RemoteDesktopMobile = ALL
Shell = autotimeupdate.exe, CertInstaller.exe, fbrowser.dll, find.dll, msnsspc.dll, mstli.exe, peghelp.exe, richink.dll, rnaapp.exe, shfind.exe, sndplay.exe, taskmgr.exe, tskschcsp.dll, tskschedule.exe and tskscheduleu.exe
SkyBox = All but MyPhoneService.dll
WindowsLive = ALL but any DLL with Resource in the name.
WindowsLiveIM = ALL, unless you leave it running.
WMWidgets = unkown since I don't run any, but I imagine if you leave widgets running there should be a few.
Click to expand...
Click to collapse
Here some source of SYS, ready to use in VK Kitchen.
http://forum.xda-developers.com/showthread.php?t=587655 =====> Already Recmod/convert to file
http://forum.xda-developers.com/showthread.php?t=551470 =====> some build of SYS already Recmod/convert to file
Great BesFen, really good work! Can any mod make this post a sticky? Thanks!
I will be trying this kitchen soon...
I have successfully cooked a booting 23041 rom with this kitchen and once its working right I'll make a thread for it. Thanks BesFen, you're the man.
XirXes said:
I have successfully cooked a booting 23041 rom with this kitchen and once its working right I'll make a thread for it. Thanks BesFen, you're the man.
Click to expand...
Click to collapse
Nice to hear that the kitchen work well, Now time for you and others to build ROM and share it in Forum.
GO A HEAD, MAKE A ROM....
how to solve the following error?
ERROR: Not enough space in Slot 0!
Click to expand...
Click to collapse
**Sorry for not related to your kitchen**
lkachun9129 said:
how to solve the following error?
**Sorry for not related to your kitchen**
Click to expand...
Click to collapse
You can convert some modules to files.
If you can, try to make 0 module in slot 0 by convert some module, it will very good in releasing memory management and avoid "not enough memory" happened in your device.
Something wrong
Hey guys thanks for all your work on making this kitchen.But i think something is wrong somewhere.I build a rom 23037 and it booted and came up to the home screen,it has good speed but no backgroung,the home settings does not work,comm manager don't work and some other settings. What could be wrong?
Oh and i noticed that on boot the ONBL is 1.27.0000 and the OS is 1.26.0.0.
100% working
Guys i figured out what was wrong.The EXT folder don't have all the files for the Opal to work correctly.You can download the files from here : http://rs415.rapidshare.com/files/148930538/Opal_Stock_ROM_OEM_Folder.rar
I replaced all the files in the EXT and OEM folder with the ones i downloaded, build the rom and everything works great.By the way the SYS and XIP has to be 96dpi for it to work on the opal.
theglen35 said:
Guys i figured out what was wrong.The EXT folder don't have all the files for the Opal to work correctly.You can download the files from here : http://rs415.rapidshare.com/files/148930538/Opal_Stock_ROM_OEM_Folder.rar
I replaced all the files in the EXT and OEM folder with the ones i downloaded, build the rom and everything works great.By the way the SYS and XIP has to be 96dpi for it to work on the opal.
Click to expand...
Click to collapse
That's GOOD, This is we call THREAD for OPAL DEVELOPMENT, I hope everybody can share every knowledge in COOKING here.
Take a look others thread, they blow very quick, come on, i want to see other guys active here.
Transfer knowledge, Discuss, and Release a ROM.... Make OPAL FORUM HOT
how do i use this?
i just want to remove some apps from the rom like TouchFLO, Opera, Voice Commander etc... the ones i don't use to free up some memory.
is it like Bart PE Builder?
if i ʞɔnɟ up the cooking, will it brick my Viva when i flash it?
TheRem said:
how do i use this?
i just want to remove some apps from the rom like TouchFLO, Opera, Voice Commander etc... the ones i don't use to free up some memory.
is it like Bart PE Builder?
if i ʞɔnɟ up the cooking, will it brick my Viva when i flash it?
Click to expand...
Click to collapse
You can double click the app name from the kitchen list, or you can remove the folder name of app from EXT Folder.
The PDA may not boot (Brick) if:
1. the different version of XIP and SYS to far.
2. you don't put complete xip's files
But you can fix it by flash with others ROM, just go to Bootloader or Tricolor (I don't know which Button must press in Opal), connect your PDA to PC, and Flash again, very simple.
thanks BesFen!
i gotta try this.
ROM create is running, but very slowly. Looks like a fresh ROM. Btw, when I dump a cooked rom, it stop with error, may be protected ROM! Anybody know how to overcome that?
Including Other Apps
Does anyone know how to add Apps (.cabs) to the list on the Kitchen so its included into the ROM like other apps not included.
Diagrax said:
Does anyone know how to add Apps (.cabs) to the list on the Kitchen so its included into the ROM like other apps not included.
Click to expand...
Click to collapse
Here the tools:
http://www.4shared.com/file/131050367/e9febb08/Package_Creator.html
Put the tools and cab file in the same folder:
1. run package-creator-v2.7.exe, Click "Open Cab File", navigate to the cab file.
2. run OLD2NEW.bat
nguoc said:
ROM create is running, but very slowly. Looks like a fresh ROM. Btw, when I dump a cooked rom, it stop with error, may be protected ROM! Anybody know how to overcome that?
Click to expand...
Click to collapse
Protected ROM can not be dumped, better you dump a stock (Official) ROM.
The ROM should run fast in opal, not slow, pls inspect the xip and sys, maybe you miss some module/file, or put the module not in right place.
BesFen said:
Here the tools:
http://www.4shared.com/file/131050367/e9febb08/Package_Creator.html
Put the tools and cab file in the same folder:
1. run package-creator-v2.7.exe, Click "Open Cab File", navigate to the cab file.
2. run OLD2NEW.bat
Click to expand...
Click to collapse
Thanx but where should i place them
BesFen said:
Protected ROM can not be dumped, better you dump a stock (Official) ROM.
The ROM should run fast in opal, not slow, pls inspect the xip and sys, maybe you miss some module/file, or put the module not in right place.
Click to expand...
Click to collapse
Thank you,
I follow all the instruction in http://forum.xda-developers.com/showthread.php?t=554858, dump the orginal rom 6.1, built a rom, then I want to dump the created rom, but cannot!
The instruction does not mention anything about xip, cause the kitchen create it during building process. So just the sys. I download the sys in
http://forum.xda-developers.com/showthread.php?t=544445;
ported it in the kitchen, change the dpi to 96, res to 240x320, then create. But some time the ROM can boot, some time it cannot. Btw, if it boot, I found lots of errors, and don't know how to resolve it.
Does anybody have a stock 6.5 ROM or every thing dump from it?

[SOLVED]How to set a start menu location for an added package?

Hi, I'm trying to cook Scilor's groovemobile into my rom (I have permission done worry) and so I made it into a package the usual way (cab to oem - ext package rebuilder) but I cant find anywhere which specifies what location it goes too.. (as in startmenu\multimedia or %CE11%)
Is there a way to set its location?
Thanks
Mod edit: Solved
Post you *.dat or *.provxml, so I can guide you completely. (or if needed, attach the whole package).
Regards
TAEL said:
Post you *.dat or *.provxml, so I can guide you completely. (or if needed, attach the whole package).
Regards
Click to expand...
Click to collapse
It doesnt even create a .dat or .provxml file, it just creates a sub folder (files) with the contents of the .cab in
So gimme a screenshot from opened CAB. (like below image). I should know about default installation destination.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Here ya go
Ok, I downloaded it's CAB and looked at it. It doesn't need to be in extra folder (like \Program File\Groove\), So you can run it in \Windows folder as default. But as you say, you need to have a shortcut in start menu. I attached a .LNK and .DAT file to this post to add it's shortcut to start menu. (note: it's default is Start Menu>Multimedia, if you don't this you can change it in DAT file easily).
Structure:
PACKAGE_GrooveMobile\
----------app.dat
----------files (folder)
---------------groovemobile.lnk
Regards
TAEL said:
Ok, I downloaded it's CAB and looked at it. It doesn't need to be in extra folder (like \Program File\Groove\), So you can run it in \Windows folder as default. But as you say, you need to have a shortcut in start menu. I attached a .LNK and .DAT file to this post to add it's shortcut to start menu. (note: it's default is Start Menu>Multimedia, if you don't this you can change it in DAT file easily).
Structure:
PACKAGE_GrooveMobile\
----------app.dat
----------files (folder)
---------------groovemobile.lnk
Regards
Click to expand...
Click to collapse
Ahh thankyou very much it seems I still have alot to learn
[★] said:
Ahh thankyou very much it seems I still have alot to learn
Click to expand...
Click to collapse
Glad to help you. Feel free to ask your questions in Chef Central.
P.S: Topic title is changed to [SOLVED]
Regards
TAEL said:
Ok, I downloaded it's CAB and looked at it. It doesn't need to be in extra folder (like \Program File\Groove\), So you can run it in \Windows folder as default. But as you say, you need to have a shortcut in start menu. I attached a .LNK and .DAT file to this post to add it's shortcut to start menu. (note: it's default is Start Menu>Multimedia, if you don't this you can change it in DAT file easily).
Structure:
PACKAGE_GrooveMobile\
----------app.dat
----------files (folder)
---------------groovemobile.lnk
Regards
Click to expand...
Click to collapse
So do I need to add your stuff to my package or is it good to go like it is? you seem to have forgotten all the files, or is it just me
[★] said:
So do I need to add your stuff to my package or is it good to go like it is? you seem to have forgotten all the files, or is it just me
Click to expand...
Click to collapse
I added files which are needed to create a shortcut. You should add those 2 files to your package which you created before. (as above structure)
TAEL said:
I added files which are needed to create a shortcut. You should add those 2 files to your package which you created before. (as above structure)
Click to expand...
Click to collapse
Yes I realise that now, I have done it
thanks again
He Star,
I think I can help you with this question as well, at least I will try.
Do a search in your kitchen to initflashfiles.dat
If you found it open it with a text editor.
Two very good ones I like to recommend for this you can find in Hilaireg's Kitchen Utils here:
http://forum.xda-developers.com/showthread.php?t=651026
Now if you opened it have a good look at the start menu hierarchy.
Do a search in initflashfiles.dat with the text editor for 'start menu' and you know what I mean.
You want to specify a path for your package shortcut on a location in your start menu isn't?
Don't close initflashfiles.dat yet.
Go into the package you want to create the start menu location for and first find the shortcut so you know the name.
Next you need to create a app.dat in the root of the package (if it doesn't exist already), to do this just create a new tekst document (right klick on a empty area and choose new\tekst document) and change the name to app.dat
Open your newly created app.dat with the same editor as you opened initflashfiles.dat
Next take the initflashfiles.dat as a sample and create the path for the shortcut according where you want to have it in your app.dat.
For example:
start menu\Programs\Tools\yourapp.lnk
Offcourse you can also specify a path to the shortcut like Teal is mentioning with a provxml but I just wanted you to know this one as well.
Hope it helps.
Grtz Leo
Laurentius26 said:
He Star,
I think I can help you with this question as well, at least I will try.
Do a search in your kitchen to initflashfiles.dat
If you found it open it with a text editor.
Two very good ones I like to recommend for this you can find in Hilaireg's Kitchen Utils here:
http://forum.xda-developers.com/showthread.php?t=651026
Now if you opened it have a good look at the start menu hierarchy.
Do a search in initflashfiles.dat with the text editor for 'start menu' and you know what I mean.
You want to specify a path for your package shortcut on a location in your start menu isn't?
Don't close initflashfiles.dat yet.
Go into the package you want to create the start menu location for and first find the shortcut so you know the name.
Next you need to create a app.dat in the root of the package (if it doesn't exist already), to do this just create a new tekst document (right klick on a empty area and choose new\tekst document) and change the name to app.dat
Open your newly created app.dat with the same editor as you opened initflashfiles.dat
Next take the initflashfiles.dat as a sample and create the path for the shortcut according where you want to have it in your app.dat.
For example:
start menu\Programs\Tools\yourapp.lnk
Offcourse you can also specify a path to the shortcut like Teal is mentioning with a provxml but I just wanted you to know this one as well.
Hope it helps.
Grtz Leo
Click to expand...
Click to collapse
Ahh thankyou, yes Ive heard of (and use) initflashfiles, but I thought I wouldnt be able to make a shortcut with it as theres all that code inbetween the location and the name, how would I know what it is? Also last night I cooked wit teal's stuff and it didnt seem to work, probably my fault so I will have to look into that in a bit
It still didnt work, no shortcut is being created, heres my package, I cant see whats wrong with it
[★] said:
It still didnt work, no shortcut is being created, heres my package, I cant see whats wrong with it
Click to expand...
Click to collapse
You did wrong and didn't pay attention to what I said.
SciLor's GrooveMobile.LNK should be in "files" folder.
TAEL said:
You did wrong and didn't pay attention to what I said.
SciLor's GrooveMobile.LNK should be in "files" folder.
Click to expand...
Click to collapse
you mean ink? and so you mean the shortcut? thanks I will try again
yeah correct.
I've examined the package and noticed one last thing.
The shortcut itself is not ok.
@Star,
Open the shortcut with the editor I suggested 'Editpadlite' and you will see this line:
67#"\Windows\SciLor's GrooveMobile.exe"
This isn't correct, it should be like this:
37#"\Windows\SciLor's GrooveMobile.exe"
You need to count the characters after '#' beginning with one.
In this case 37.
I've attached the corrected package for you as an example for next time.
TAEL said:
You did wrong and didn't pay attention to what I said.
SciLor's GrooveMobile.LNK should be in "files" folder.
Click to expand...
Click to collapse
Laurentius26 said:
yeah correct.
I've examined the package and noticed one last thing.
The shortcut itself is not ok.
@Star,
Open the shortcut with the editor I suggested 'Editpadlite' and you will see this line:
67#"\Windows\SciLor's GrooveMobile.exe"
This isn't correct, it should be like this:
37#"\Windows\SciLor's GrooveMobile.exe"
You need to count the characters after '#' beginning with one.
In this case 37.
I've attached the corrected package for you as an example for next time.
Click to expand...
Click to collapse
Ahh thanks I am trying with it now, last time it did show up in the start menu, but I got an error about directory not found :S maybe this will solve that problem
[★] said:
Ahh thanks I am trying with it now, last time it did show up in the start menu, but I got an error about directory not found :S maybe this will solve that problem
Click to expand...
Click to collapse
Yeah I still am getting an error :s 'DirectoryNotFoundException' and then loads of stuff I dont know what do do :S will this be my fault or something to do with the cab
Looking at the xml included I notice now it creates a directory in the root with the name 'SciLor's GrooveMobile'.
I tried to make a app.reg from the xml but it doesn't work.
Do you have the cab so I can make a package for you myself?
The XML looks messy.
Edit; I've found the cab and will play with it.
Meanwhile a tip for you, install the cab and check directory, the shortcut you can copy from device and use in your package.
The shortcut itself you need to redirect to that dir instead of Windows or change all path of the files in the XML.
[★] said:
Yeah I still am getting an error :s 'DirectoryNotFoundException' and then loads of stuff I dont know what do do :S will this be my fault or something to do with the cab
Click to expand...
Click to collapse

[TUT] How to cook another lang than WWE in EVK

HOW TO COOK IN MANY LANGS
For Ervius Visual Kitchen​
Remeber you cant translate a ROM is not easy... there are many things to know before to do this...
1.- The kitchen can handles multidevice multilang and multimulti so, we will set the device for another lang, same device.
2.- We will set the EXT PKGS in multilang format
3.- We will translate some MUI's
4.- We will learna alot so stay on otouch and...
You must to get this things:
1.- DL the rollup SYS from DaG latest 6.5.X SYS thread, its almost 200MB remember be patience
2.- Restorator 2007
3.- Your WWE kitchen
4.- Your native lang STOCK ROM "Dumped"
5.- The most PKG you can get in your own Native Lang
6.- Initflashfiles.dat in your native lang
7.- So much time to read and spent and of course... a big cup of coffe
All the things are here on CC so get them i gues restorator the trial version is ok cause its trial for a week more lees i dont know remeber DONT CRACK or share here that kind of things
Explaining the LANG
The EVK has a special arrange or estructure for pkgs, this structure can offer many customizing and manage to get the purpouse about cooking for many devices and many langs.
The way it manage the pkgs is Resolution, screen size, and Language, all of this structure assist the device models...
The OEM folder
The OEM folder is the folder where you must to add the Drivers for each device you will use, as you can see in the structure:
C:\XDA\OEM\Hermes
C:\XDA\OEM\Elfin
C:\XDA\OEM\Raphael
C:\XDA\OEM\Leo
you can have many devices folder for each device you will cook (we will center our tuto in just one device), inside of every OEM folder it has some folders:
C:\XDA\OEM\Hermes\.VM (This is the folder that contains the Virtual memory specs of your device)
C:\XDA\OEM\Hermes\0409 (This is the LANG folder WWE in this case)
C:\XDA\OEM\Hermes\COMMON (This is the folder that contains the Device drivers in this case WWE drivers)
Inside of the 0409 folder must be this PKGS:
C:\XDA\OEM\Hermes\0409\OEM_Lang_0409 (Inside you wil find some template files and the most important thing the initflashfiles.dat, file needed to create the 6.5 structure)
C:\XDA\OEM\Hermes\0409\LangDB (Idont have this PKG so its not needed)
This is the first step to change when you want to cook diferent LANGS, If you dump a Stock WWE rom you will have 0409 OEM PKGS, if you dump your native's lang ROM you will have your native LANG OEM folders like me: IM Spanish... so I took a ESN ROM and i have dumped it so I have now in OEM:
C:\XDA\OEM\Hermes\0409 (it contains now the OEM_Lang_0C0A, Inside i have to copy the initflashfiles.dat 6.5 0c0a accordly to the EVK tutorial)
C:\XDA\OEM\Hermes\.vm
C:\XDA\OEM\Hermes\COMMON (and of course i have here many DRIVERS coded in 0C0A lang) ***so here is the first question****
We have in the same C:\XDA\OEM\Hermes folder this pkgs...
VM
COMMON
0409
0C0A
But what about the duplicated VM and the COMMON FOLDERS???
The answer is kinda big but, lets start
NOTE: Different devices has diferent folders so you need to have common sense to know wich pkgs are the principal and wich are the apps oem pkgs, all the times when we dump a ROM all the apps of that OS comes into OEM format and inisde OEM folder COMMON, we gonna see that the principal OEM FOLDERS are the pkgs that dont have nothing to mean like an application as an example I will show you the ones that are my principal PKGS:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
We gonna dig into OEM\COMMON\ folders and lets see what we have inside of them.
The things we gonna found inside are things like...
Modules in exe and dll and maybe muis
and of course some files like images RGUs and ofcourse as we talk about OEM pkgs DSM files
The lang in the applications are encoded in mui files... this files can be files or modules, so if we dig into the WWE common folders we should have many of this kind of files...
So the answer to our question is...
We gonna made a EXT PKG with all the same MUI files in our native lang as an example:
This is a mui from the WWE oem common folder OEMDrivers:
and as you can see here is the same MUI that i took from the dumped 0C0A rom:
In fact I must to took all the MUIS that was on the WWE OEM pkgs and add them into one folder EXT format, and All the same muis but from the ESN OEM pkgs and put them into a folder in EXT format.
HOW does the kitchen knows wich muis it must use???
There aretwo registry entries that the ROM use to know wich Lang MUI to us when the room starts to boot
we gonna talk about it later.
NOW we must to learn about EXT PKGS​
Hi + Que PPC, thank you for your tutorial.
I hope you can complete it soon.
I have a HD2 EU (ITA).
In my EVK I have 2.13 TMOUS (WWE) as base Rom.
Now I want to change to italian the language.
First question:
I must to took the entire folder "OEM\LEO\0410" (from stock 1.66 ITA) or "OEM\LEO\0410\OEM_Lang_0410" only?
If I change only "OEM\LEO\0409\OEM_Lang_0409" to "OEM\LEO\0410\OEM_Lang_0410" (from 1.66 stock ITA) I must add that sub-folder and I must change the folder name "OEM\LEO\0409" to "OEM\LEO\0410" too?
Second question:
In fact I must to took all the MUIS that was on the WWE OEM pkgs and add them into one folder EXT format, and All the same muis but from the ESN OEM pkgs and put them into a folder in EXT format.
HOW does the kitchen knows wich muis it must use???
There are two registry entries that the ROM use to know wich Lang MUI to use when the rom starts to boot
Click to expand...
Click to collapse
You referred to have to edit in boot.rgu those 2 keys?
[HKEY_LOCAL_MACHINE\MUI]
“SysLang”=dword:”LangID”
[HKEY_CURRENT_USER\MUI]
“CurLang”=dword:”LangID”
And I have to create 2 folders in EXT format (from OEM packages):
one for WWE muis and another for ITA muis?
The app.dat must to have set to copy all the mui files (ITA) in \Windows (I guess)?
How to create those packages and set app.dat?
Thanks.
1.- In your folder OEM/LEO/ you can have both folders 0409 and 0410 each folder has its own oem_lang_XXXX folder so it doesnt matters. You dont need to change folder names.
why? cause if you switch that reg entries, the kitchen will discard automatycally the WWE and it will cook all langID pkgs accordly to the one in that regs you has entered
2.- Yes you will cut all the files and modules in all OEM/COMMON pkgs that contains in the name the lang ID 0409, something like this ex: sdfgh.0409.dll
and make a EXT PKG called A_OEMLANGFILES... inside you must to create a folder called 0409, and inside that folder put all your WWE files i mentioned
do the same with your 0410 OEM/COMMON pkgs files and modules in the same EXT PKG but in another folder called 0410 this way the kitchen will select automatcally wich lang OEM files in that EXT PKG to cook
dont worry about the app.dat you dont need to create one cause all the files inside EXT pkgs goes to /windows.
Thank you for your answer.
So:
1. I copy the entire folder "OEM\LEO\0410" (from stock 1.66 ITA)" as is it (with all the files and sub-folders inside).
2. I create in EXT a folder called "A_OEMLANGFILES" with 2 sub-folders 0409 and 0410 and cut and paste the relative files or modules.
I have in EXT i.e AdobePDF_2_5_1_0_404840_03 with sub-folders 0409.
I have to rename the sub-folder in 0410 (I guess)?
And is the same procedure for the files 0409 in SYS?
You are very helpfull!
oups my bad dude... the folders in te ext pkgs must be 0409/files and inside the files folders insert the wwe files with lang codes in the name and same into the 0410.
the other apps in ext pkgs is another thing to do but almost the same create a new 0409 folder and a 0410 folder... then rename the 0409 files to 4010 and put them into the new files folder inside the 0410 folder.
So the procedure above
(create in EXT a folder called "A_OEMLANGFILES" with 2 sub-folders 0409 and 0410 and cut and paste the relative files or modules)
is valid only for OEM?
For Ext packages I have to create a sub-folder 0410 for any pkg and put in it the relative mui for my language (from stock rom)?
.....then rename the 0409 files to 0410 and put them into the new files folder inside the 0410 folder.
Click to expand...
Click to collapse
But in this way the other apps in ext pkgs remain in their original language (WWE)?
no no you must to create a EXT PKG called "A_OEMLANGFILES" inside make two folders 0409 and 0410 and inside bot folders a folder called "FILES" inside the files folder you must to transfer all the files and modules located in OEM/common pkgs.
Yes that way the lang in the apps will be WWE in your ITA ROM... but... if you found the "same" pkg muis files so do the same with that apps if the app is an EXT PKG you can divide the wwwe muis into a folder called files ina new folder called 0409 and your ITA muis in another folder 0410 files folder in the same app pkg.
eMail tab, Inbox issue...
Hello, XDA developers.
I have tried to cook a ROM with other language, for me 040d (Hebrew).
And also, made a cab with the mui needed for language translate.
WM ver 23569.
I have tried, 3 Languages in test but same result (except English).
when i am entering Inbox at eMail tab, i get a picture of the previous page, and not the mails or conversation of mails.
Any idea, why it is happening to other lang than English ?
Any idea, how to fix it will be welcome
Thanks for your time!
well yeah the messaging system has many PKGS so, maybe those pkgs needs the dll or/and muis from your native lang... just maybe cause i dont cook for newer devices like yours.
+ Que PPC said:
well yeah the messaging system has many PKGS so, maybe those pkgs needs the dll or/and muis from your native lang... just maybe cause i dont cook for newer devices like yours.
Click to expand...
Click to collapse
the windows have package in 040d, but
messaging system is not in my language (it comes in 0409 ENG), i have made mui file for it to cover the xxxx.0409.mui with xxxx.040d.mui and then in CurLang i change it to 040d.
Do you know what files (mui) do i need to cover to make it work, not with error that i had before?
Thanks in Advance!
More information:
I believe it have connection with Outlook translation to Hebrew (040d), so i have to translate or use :
1. outres.dll.040D.mui
2. OutlookLiveUpdaterResources.dll.040D.mui
There are more configuration to make the problem vanish?
More specific question:
What is the part that deal with SMS conversation and e-Mail conversation in WM ver 23569?
(DLL, MUI, and other files...)

[SOLVED] Include .cabs in ROM?

I'm trying to include a newer Google Maps and a few other applications and converted the .cab installers to EXT in osKitchen. They get included in the list in EXT Packages and I select all of them but still I cant find them when I have flashed my ROM to my device.
Am I supposed to do something more?
Double check that they are in the windows folder. All you should have to do is check the package.
djr83 said:
I'm trying to include a newer Google Maps and a few other applications and converted the .cab installers to EXT in osKitchen. They get included in the list in EXT Packages and I select all of them but still I cant find them when I have flashed my ROM to my device.
Am I supposed to do something more?
Click to expand...
Click to collapse
If your ROM is not in english you have to edit the app.dat to use the correct start menu folder.
look into or show us your buildlog...
airxtreme said:
If your ROM is not in english you have to edit the app.dat to use the correct start menu folder.
Click to expand...
Click to collapse
Thanks! Havent tried the new rom yet but the paths in app.dat was wrong.
But I do have to change the path to the programs folder too, I guess?
When I check the path in file explorer it says \Program and in app.dat it says \Program Files.
If you use cab 2 oem and oem 2 ext the app.dat is automatic created with the correct path.
So if you use a WWE package it will be 'Program files' and for the shortcut 'start menu'. If you use another language (Dutch for example) 'program files' has another name 'programma bestanden' and 'start menu' becomes 'startmenu' in Dutch.
So you need to correct that path according to the language you use.
You can use initflashfiles.dat as an example for every language you use.
djr83 said:
Thanks! Havent tried the new rom yet but the paths in app.dat was wrong.
But I do have to change the path to the programs folder too, I guess?
When I check the path in file explorer it says \Program and in app.dat it says \Program Files.
Click to expand...
Click to collapse
Laurentius26 said:
If you use cab 2 oem and oem 2 ext the app.dat is automatic created with the correct path.
So if you use a WWE package it will be 'Program files' and for the shortcut 'start menu'. If you use another language (Dutch for example) 'program files' has another name 'programma bestanden' and 'start menu' becomes 'startmenu' in Dutch.
So you need to correct that path according to the language you use.
You can use initflashfiles.dat as an example for every language you use.
Click to expand...
Click to collapse
I'm using osKitchen Zero 1.31 beta1 and cab 2 oem doesnt seem to exist anymore. I think it was in my old kitchen, osKitchen 1.25 but I dont use that anymore.
One of my cabs is actually a today screen plugin. How do I choose what plugins which should be selected from start?
Hmm the program files gets into the correct folder and a link is created in the start menu, but the link doesnt start the program. I guess it's still pointing to the wrong path.
How do I fix this?
djr83 said:
I'm using osKitchen Zero 1.31 beta1 and cab 2 oem doesnt seem to exist anymore. I think it was in my old kitchen, osKitchen 1.25 but I dont use that anymore.
One of my cabs is actually a today screen plugin. How do I choose what plugins which should be selected from start?
Click to expand...
Click to collapse
Everything is in the universal package converter now
djr83 said:
Hmm the program files gets into the correct folder and a link is created in the start menu, but the link doesnt start the program. I guess it's still pointing to the wrong path.
How do I fix this?
Click to expand...
Click to collapse
Just edit the shortcut; total commander works well.
Farmer Ted said:
Just edit the shortcut; total commander works well.
Click to expand...
Click to collapse
Cant I change that in the ROM? I dont want to have to change a lot after flashing.
I did a quick search for you:
http://forum.xda-developers.com/showthread.php?t=510806&highlight=cab2oem
Today items you enable/disabled like the sample of registry below.
1 is enabled and 0 is disabled.
[HKEY_LOCAL_MACHINE\Software\Microsoft\Today\Items\HTC Sense]
"Enabled"=dword:1
djr83 said:
I'm using osKitchen Zero 1.31 beta1 and cab 2 oem doesnt seem to exist anymore. I think it was in my old kitchen, osKitchen 1.25 but I dont use that anymore.
One of my cabs is actually a today screen plugin. How do I choose what plugins which should be selected from start?
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Laurentius26 said:
Today items you enable/disabled like the sample of registry below.
1 is enabled and 0 is disabled.
[HKEY_LOCAL_MACHINE\Software\Microsoft\Today\Items\HTC Sense]
"Enabled"=dword:1
Click to expand...
Click to collapse
Thanks! But the plugin doesnt even show up in plugin list when I pre-install it in the ROM. The plugin is TodayAgenda. Do I need to do something more when adding today screen plugins?
djr83 said:
Cant I change that in the ROM? I dont want to have to change a lot after flashing.
Click to expand...
Click to collapse
Just edit the shortcut and then swap the new one into your package for the bad one. Although this whole topic is confusing. Are you trying to install cabs during customization, or are you trying to make actual packages from cabs? If it's the former, then you'll need to edit the .cab file to fix the shortcuts (if they are the problem).
Farmer Ted said:
Just edit the shortcut and then swap the new one into your package for the bad one. Although this whole topic is confusing. Are you trying to install cabs during customization, or are you trying to make actual packages from cabs? If it's the former, then you'll need to edit the .cab file to fix the shortcuts (if they are the problem).
Click to expand...
Click to collapse
I want to be able to select which programs I want to include in the ROM. How it gets included doesnt matter (I think?).
What's the difference between installing them during customization and making packages?
I found the bad shortcuts now, thanks, so I guess that problem is solved now. But please tell me the difference between customization installing and packages. I want to do it the correct way
There are different ways to include apps into a rom. Installing a cab during customization isn't a whole lot different then just installing a cab normally. There's nothing really special about it, except that the cab file is stored in rom. This could be a good thing or a bad thing, depending on how you look at it. You don't get any of the benefits of cooking an app into rom when you use cab files.
Creating a package means extracting the files (and reg keys, if there are any) from the cab file and then cooking them directly into the rom. In many cases, you can re-locate the application directly into the \windows folder (from \program files), and this saves space and shortens the time for first boot. You may also be able to convert some of the files to modules, which can increase performance (mainly, the apps boot up faster), but it doesn't always work. Modules can also save a bit of ram by loading code into the page pool. As an example, you can create a package with TCPMP (core player) that loads all of the files directly into the rom. This is much better than having the files in their own folder in \program files\tcpmp, because you don't end up having duplicate files in \windows (if you use an app.dat to copy the files into the program file directory) or one big cab file sitting in \windows. It saves on storage. Also, some of the .dll's and the .exe can be made into modules.
On the other hand, some apps just don't work if the files aren't placed in the proper directory. I've had a bugger of a time getting the new resco keyboard to work properly. Most of the time, you can just move files and sub-folders from program files straight into \windows, but it doesn't work with resco keyboard. The bloody skin files have to be located in \program files\resco keyboard pro\skins (the same goes for the language and sound files). It's not a big deal, but I could save a bit of space if I could locate some of the files in \windows. I get these files into the program files directory by unzipping a zip file with a mortscript during customization. Zips are easier to edit than cabs, and install faster, so that's what I prefer to use. You also don't have to bother with uninstall info (I always seem to leave that crap in when I pack a cab, even though it's pretty much useless to me).
Customization is the step after the screen alignment. It's basically the time when you pretty up your rom, and put in the final touches so that when the phone is fully booted up, it's just the way you want it.
Your post is just kind of unclear. It sounds like you're just trying to install cabs during customization, but some people are telling you how to extract cabs to make EXT's. I'm not really sure what you're asking.
Farmer Ted said:
There are different ways to include apps into a rom. Installing a cab during customization isn't a whole lot different then just installing a cab normally. There's nothing really special about it, except that the cab file is stored in rom. This could be a good thing or a bad thing, depending on how you look at it. You don't get any of the benefits of cooking an app into rom when you use cab files.
Creating a package means extracting the files (and reg keys, if there are any) from the cab file and then cooking them directly into the rom. In many cases, you can re-locate the application directly into the \windows folder (from \program files), and this saves space and shortens the time for first boot. You may also be able to convert some of the files to modules, which can increase performance (mainly, the apps boot up faster), but it doesn't always work. Modules can also save a bit of ram by loading code into the page pool. As an example, you can create a package with TCPMP (core player) that loads all of the files directly into the rom. This is much better than having the files in their own folder in \program files\tcpmp, because you don't end up having duplicate files in \windows (if you use an app.dat to copy the files into the program file directory) or one big cab file sitting in \windows. It saves on storage. Also, some of the .dll's and the .exe can be made into modules.
On the other hand, some apps just don't work if the files aren't placed in the proper directory. I've had a bugger of a time getting the new resco keyboard to work properly. Most of the time, you can just move files and sub-folders from program files straight into \windows, but it doesn't work with resco keyboard. The bloody skin files have to be located in \program files\resco keyboard pro\skins (the same goes for the language and sound files). It's not a big deal, but I could save a bit of space if I could locate some of the files in \windows. I get these files into the program files directory by unzipping a zip file with a mortscript during customization. Zips are easier to edit than cabs, and install faster, so that's what I prefer to use. You also don't have to bother with uninstall info (I always seem to leave that crap in when I pack a cab, even though it's pretty much useless to me).
Customization is the step after the screen alignment. It's basically the time when you pretty up your rom, and put in the final touches so that when the phone is fully booted up, it's just the way you want it.
Your post is just kind of unclear. It sounds like you're just trying to install cabs during customization, but some people are telling you how to extract cabs to make EXT's. I'm not really sure what you're asking.
Click to expand...
Click to collapse
What I'm doing now is definitly makeing EXT's. But that doesnt mean I'm sure that it is what I want to do. I just want to include some programs in the ROM from the beginning and EXT's seems like a good way to go.
But if I want to install cabs during customization, how do I do that?
You create an EXT:
Sample:
Yourpackage\
Yourpackage\files\your cab
And you add a line to config.txt so it will be autoinstalled during device setup.
A sample of that line:
CAB: \Windows\your_app.cab
djr83 said:
What I'm doing now is definitly makeing EXT's. But that doesnt mean I'm sure that it is what I want to do. I just want to include some programs in the ROM from the beginning and EXT's seems like a good way to go.
But if I want to install cabs during customization, how do I do that?
Click to expand...
Click to collapse
Laurentius26 said:
You create an EXT:
Sample:
Yourpackage\
Yourpackage\files\your cab
And you add a line to config.txt so it will be autoinstalled during device setup.
A sample of that line:
CAB: \Windows\your_app.cab
Click to expand...
Click to collapse
Where should this config.txt be? Yourpackage\config.txt?
And can I add an app.reg to this EXT so I get some settings installed too? Will these settings be applied before or after the cab-install?

[Q] Can I rename StartMenu -> Settings

Hello,
To be as short as possible:
I'm trying to cook a Polish ROM out of the dump of a well known WWE ROM around here (of course under a permission of the noble Chef). I managed to find/edit/translate all the neccesary *.mui, *_manila and *.htm files and the outcome appears OK but I have one issue I can't really work out by an easy way. I mean the "Settings" shortcut in StartMenu. I want it to be called "Ustawienia" as it's called in Polish.
I know that the names/paths of several system folders are stored in the package called Base_Lang_0415 which consists of several mui files. I know that the Settings name/path is stored in "shellres.dll.mui".
Now the problem: I got a Base_Lang_0415 from one of Polish chefs but the package changes physical paths to almost all the system folders like
Start Menu -> Menu Start
Programs -> Programy
Settings -> Ustawienia
Favorites -> Ulubione
My Documents -> Moje dokumenty
and many other (i don't even know which ones).
Since I can only work on the ROM dump without any kitchen (and honestly I don't need a kitchen since I only exchange some mui and manila files and add some reg entries - at least up to now), I try to avoid influence on the folders structure. On the other hand I think it doesn't make sense to rename all these folders because an average user will not even notice the change. I want the change only the appearance of the Start Menu and I don't really care about what would be the names of physical folders.
So I started trying to edit only the shellres.dll.mui (with Unsign -> ResHacker -> Sign procedure). First I changed only the string Settings into Ustawienia living the physical path string intact.
But after exchanging the mui file in \Windows\ the Start Menu showed only one icon - Today.
So I changed the name entry and the path entry and changed the physical path of the \Windows\Start Menu\Settings into \Windows\Start Menu\Ustawienia.
But the effect with the new mui was the same and additionally my "Ustawienia" folder has been moved to the Programs folder.
I tested some other combinations of the strings inside mui and physical paths but without any positive effect.
Does some of you know what do I have to do to change only the Settings folder but not to change all the rest?
I understand that you want to do these out of kitchen? I think you should dump an original rom of your own lang and take a look at the initflashfiles.dat. This archive describes the names of windows folders, including Settings
or using a good Mortscript.......
Well, working on dump is not very convinient but as soon as I perform only file/registry operations it's not so bad.
I have the original initflashfiles.dat from stockROM, so I know more less which paths I should change in to new ones. The problem is that everytime my Chef releases new version of his ROM I would have to compare his new initflashfiles with the old initflashfiles for changes and apply the changes manually to the initflashfiles from the stockROM.
But for me it would be the best If I could edit shellres.dll.0415.mui only once changing the name and/or path ONLY for Settings folder, and eventually rename only the Settings folder. Thats a solution I am looking for.
I used MortScript to rename shortcuts inside StartMenu -> Programs. But the problem is that I can run mort i.e. by a config.txt file, but in this moment all the system folders which have the -permdir- attribute in initflashfiles are not moveable or renameable. Also the files inside all the system folders are not deleteable and this means I would have to COPY all the files into new catalogues making the ROM bigger and bigger.
That's why I think I must influence the initflashfiles if I am to use Base_Lang_0415. And this is OK if I would have to modify 1 or 2 paths, but I don't want to modify 25 paths or so...
So my only chance is that somebody would post yet another way to make the Settings appear as Ustawienia (with or without modyfying physical directories).
I don't know how to explain it better because of my English...
Well, i have to agree that Initflashfiles thing is the best way and ,dont worrie, i doubt that your Chef will change Initflashfile for every Rom,even, i never change it from the beginning.
Isn't the initflashfiles a place where are all the files that are indended to be copied/linked to other locations than \Windows\?
That means every new program file or even start menu shortcut will appear in initflashfiles, doesn't it?
Nope.
You can also create Folders in it..little example:
Code:
Directory("\Windows\Start Menu"):-PermDir("Settings")
Skrobel said:
Isn't the initflashfiles a place where are all the files that are indended to be copied/linked to other locations than \Windows\?
Click to expand...
Click to collapse
Nope.
When we import a new program file we have an app.dat file that has inside the instructions to copy files/shortcut over Windows, Initflashfiles its no more touched for that purpose.
Another little example:
Code:
Directory("\Windows\Start Menu\Programs\Tools"):-File("Total Commander.lnk","\Windows\Total Commander.lnk")
This come from App.dat , as you can see it works like Initflashfile.
That means every new program file or even start menu shortcut will appear in initflashfiles, doesn't it?
Click to expand...
Click to collapse
But in case you have to do Hard Reset, all will be lost. And twice...
I think the best option is cook it in first time. Best regards
Well that's what I meant that initflashfiles consists of the paths (directories and files) of all the things we want to put in different folders than \Windows\.
And yes - I want to cook all the Polish files to make it a normal ROM (also after HR).
But in order to clarify:
You Guys say that the only way to rename the Settings in StartMenu is to cook the whole Base_Lang_0415 and to change all the paths in initflashfiles?
Hello all
Sorry for refreshing such an old thread but over a year later I bumped into the exactly same problem.
The only difference is that I use PRB kitchen this time (Jackos's kitchen to be exact).
And all I want to do is to rename the freakin' "Settings" into "Ustawienia" in Start Menu. I thought I found all the references to the Start Menu. I altered the Shellres.dll.0415.mui (responsible for most of system paths), I altered initflashfiles.dat to prepare a permDir in \Windows\Start Menu\Ustawienia, I changed all the keys in registry that I could find...
But still after a flash I have an empty Start Menu with only "Today" link. When I look into the directory structure with Total Commander, everything seems to be OK (all the structure in \Windows\Start Menu\programs is fine) except that my "Ustawienia" folder has been moved from \Start Menu\ to \Start Menu\Programs\
I don't know how, I don't know what else am I missing.
Please help me to get my full translation of the Start Menu...
You're missing "Settings" folder
Actually, full fixing of this stuff isn't that easy, these paths should be hardcodded somewhere (i think so)
Actually it is as easy as it can be.
Made a quick test with Polish language without changing anything and all works as it should.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Well, I've seen Polish ROMs so it actually has to be possible.
@Spiaatie - can you tell me HOW you actually did it?
I see that all the Start Menu links are in Polish on your screenshot. I presume you exchanged at least Base_Lang_0415 package and at least initflashfiles.dat?
Skrobel said:
@Spiaatie - can you tell me HOW you actually did it?
I see that all the Start Menu links are in Polish on your screenshot. I presume you exchanged at least Base_Lang_0415 package and at least initflashfiles.dat?
Click to expand...
Click to collapse
I took 23153 as the Base and all Polish language packages from 28205.
And initflashfiles.dat from [here]
Well... This is a proof that it can be done. However I don't wan't to build up a new ROM. I downloaded Jackos' kitchen just to be able to prepare his ROM in Polish.
Jackos used 21690 for his ROMs as a Base. But actually it is a mixture of packages from many different builds choosen carefully and tested for maximum compatibility and stability.
I want to stay as close to the original as possible except for the language. Honestly I had to prepare many of the .mui files myself because none of the "ready" 0415 build packages worked with Jackos ROM. And now as I have a set of fully working .muis I want to include them into the kitchen (actually I already did it), change any further files I have to change (I copied all the 0409 packages, checked each of them file by file including app.reg, app.dat, provxml etc. altering them basing on files I found in polish packages over the internet). And I bumped into the Start Menu problem.
I will check everything once again but I thought some of you might know where else the paths are stored in the system besides .mui, initflasfiles and the [HKLM\Security\Shell\StartInfo\Start].
There must be a way to change the paths properly...
I finally found a proper copy of shellres.dll.0415.mui. I had to adjust the initflashfiles.dat a bit, and of course paths in all my app.dat. But I have no idea why this shellres.....mui works with this ROM and the other ones doesn't work. The resource structure looks completely the same. All the resource IDs are filled.
Only RCML_DLGDATA section looks differently. I mean the resource IDs are the same, but they have different data. I don't know what and how should I change because everything in there is binary data.
However ultrashot must had been right. The paths have to be hardcoded somewhere else, because in this .mui file the name "Today" is translated differently into "Główny", which directly means "Main". I tried to change this translation, but there are many occurences of this word in this file, and whatever I change in any of it (of course I started with changing all of them) I immediately havethe problem that my Start Menu consists only of the Today link (correctly translated ).
So I left it like it is.
I'm sure however that everythings that concerns Start Menu naming and structure is stored in this single file, because I changed only this file out of the whole Base_Lang_0415 package.
You need to use an mxip_lang.vol that already contains the translation for the call to the settings. Best is to pick one from any shipped ROM of the same version that has your language included.
On smartphone it is settings.lnk, on your device possible settings.cpl (not sure).
Look at the provxml files how other localizations are done and create one in a similar way for your item.
Edit: look at the "Beginners Guide to Windows Mobile (prepare for cooking)" in my signature - you find all the basics for localization there.
Hello Tobbbie,
Thanks for the advice. I read your tutorial many months ago. Actually I kept an eye on your discussion within the OSbuilder thread...
This time I'm almost sure that mxip_lang.vol has not much to do as I have one copy of shellres....mui with which I get "Settings" in my start menu, and I have 2 different versions of the same file which gives me "Ustawienia" (the one I want). So it has to be independent on the other files. The problem starts when I try to adjust the paths myself. It seems like the String resources are somehow connected with binary data stored in this file.
If about the mxip_lang and generally .vol files: do you know how they can be edited by any chance?
Skrobel said:
If about the mxip_lang and generally .vol files: do you know how they can be edited by any chance?
Click to expand...
Click to collapse
Those are databases, that's my clue for you today.
Surprisingly I know!
But that's not a big clue for me. I never had much to do with databases, and in this particular case uncle Google refused to help me...

Categories

Resources