[Q] Can I rename StartMenu -> Settings - Windows Mobile

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...

Related

[SKN] Customizing the Windows Taskbar [UPDATE-26/10/2008]

As my [SKN] FInixNOver VGA Battery/Network Icons thread as become cluttered with unusable information, and it went out of the thread's range, I've decided to get it closed and create a new one with more useful information.
So now, instead of just the battery and network icons, we can discuss about all the icons on the taskbar, in a thread that was created with that purpose.
It will be divided by sections. Each section will correspond to the icons changed by each dll and/or mui file. So this means I'll have to update this, and for that I'll need your help. How? Simple! By sending me a PM when:
you have found a different dll/mui - name of the dll and which icons does it change in the taskbar;
you have made a contribution - small description, which section does it belong to and the link to the post.
NOTE:
This is not an application; it’s just aesthetics, so no extra memory will be consumed.
Whether your device is running an official ROM or a cooked ROM, it may not work until you install the sdkcerts.cab. This cab will only set your device to accept the digital signature used to sign phcanOverbmp.dll and the other modified dll’s, so the device can be able to display the icons.
Do this at your own risk! I cannot be held responsible if you brick your device. I'm just supplying information from my own and others experience.
Installing:
(using phcanOverbmp.dll as an example)
Download the cab and/or zip file you wish to use.
If you’re using the cab, just copy it to your device and run it; if you’re using the zip, you have to copy the phcanOverbmp.dll to Windows folder in your device (using a file explorer like Total Commander or Resco explorer), and import FInix VGA Battery and Network Icons.reg with a registry editor in your device (if you don't have one, you can use Dotfred taskmanager with registry editor included); in both cases you’ll have to perform a soft reset to apply the changes.
To replace a file which has already been replaced before, you'll need to follow the steps 1 and 2 of the uninstalling process (for some files you may not need to soft reset the device).
Uninstalling:
(using phcanOverbmp.dll as an example)
If you have installed from the zip, there’s a few steps you’ll have to follow to get the old icons back.
Go to Windows folder on your device and rename phcanOverbmp.dll to phcanOverbmp.dll.bak and soft reset the device.
Now you can delete the phcanOverbmp.dll.bak that is no longer being used by the device.
To finalize the uninstall process and have the old battery icon back, you have to edit the following reg entry:
[HKEY_LOCAL_MACHINE\security\ResOver\Bitmaps]
"BatteryIconLevels"=dword:65 (hexadecimal) or 101 (decimal) -> dword:15 (hexadecimal) or 21 (decimal)
NOTE:
You can follow the steps 1 and 2 to remove any dll/mui you have customized.
To perform file operations such as renaming and/or deleting, you must use a more powerful file explorer than the built in one. You should use something like Total Commander or Resco Explorer.
There's no need to backup the files you're going to edit! Why? Because you'll be replacing ROM files, and theses files are not really replaced.
The best way to explain it is that, they will remain "hidden" under the new file. Once you delete your edited file, the original ROM file will be "unhidden". So, to have the original file, just delete your edited one.
How to make your own set of Battery Icons:
You'll need some programs, and of course, the dll.
Unsigner - to remove the digital signature from the dll.
Reshack / PE Explorer / Restorator - resource editor to extract/replace the icons inside the dll
iconFX or any other icon editor (GIMP can also handle .ico files) - to edit/create icons
Multiple file Signer - to digitally re-sign the finished dll.
How to do it?
First, remove the digital signature from the dll you’re going to edit, because the icons you’ll be replacing later can have different color depths and that will leave you with an unusable dll (meaning that you’ll not be able to re-sign it).
To unsign a file, all you have to do is drag the dll/mui file over the unsigner.exe and release it. A command window will open and close. You will know if the file has been unsigned by checking its size (it will be smaller). Also remember that the file can't be as read only or the tool will not be able to unsign it.
Then, using the resource editor extract the icons, you wish to edit, from the dll.
With the icon creator application, or by searching the web, make/get your icons.
After this, use the resource editor once again to replace the now edited icons inside the dll.
To finish, re-sign the dll using the Multiple File Signer tool.
That's it!
Before we start, here's the link to the first post on my old thread, where you can get some of the contributions already made. (I've updated the first post there)
I'll be separating them into the right sections in this thread, so, I you're one of the contributers, you can help me by checking your links in that post, and sending me a PM with the description for each link.
Thanks to you all!! And enjoy!!
phcanOverbmp.dll and HTCVolumeControl.dll
phcanOverbmp.dll
Icons you can change in this dll
{
"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"
}
In this file you can find the battery, network, signal strength, activesync, Wi-Fi and sound(as long as you're not using the HTCVolumeControl) icons.
Important:
In order to see all of the icons included in this file, the dialer skin must be enabled.
Contributions from the users:
Battery icons White from 100% to 30% and color from 30% to 1% by mccune.
Percentage Battery icons by tyler08.
3G, H, battery, charging, activesync, wifi, etc by omniwolf.
Battery Icons by shareloader.
battery icons, headset icons by Ghostrider.
Battery Simple version, Battery Simple V2 by Netsnoop.
Battery icons - cab here by Teppic24.
Battery and other icons - cab here by carloshdez.
gold theme Battery & some icons mods by ch99_lee.
Full taskbar makeover by kooled.
Battery and other icons by shonan70.
HTCVolumeControl.dll
Icons you can change in this dll
In this file you can find the sound icons.
Contributions from the users:
VolumeControl icons by omniwolf.
VolumeControl icons by Ghostrider.
VolumeControl icons by soterisk.
VolumeControl icons by afterburn.
© Copyright. Copyright in the pages, screens, text, files and images appearing in this thread is owned by originating owner(s) or others as indicated. The information and materials contained in the thread may not be distributed, licensed, modified, published, reposted, reproduced, reused, sold, transmitted, used to create a derivative work or otherwise used for public or commercial purposes without express written permission of the originating owner(s).​
shellres.192.dll / shellres.192.dll.0409.mui and LargeTitleBar.dll
shellres.192.dll / shellres.192.dll.0409.mui
Icons you can change in this dll/mui
In this file you can find the start logo icon, along with some others that will not be discussed here.
If you're not using the dialer skin, you can also find the network, signal strength, activesync, Wi-Fi and sound(as long as you're not using the HTCVolumeControl) icons.
Contributions from the users:
syncing progress and signal strength by omniwolf.
Full taskbar makeover by kooled.
Battery and other icons by shonan70.
LargeTitleBar.dll
Icons you can change in this dll
In this file you can find the some of the mainly used icons.
Important:
I haven't tested it myself but, in order to see all of the icons included in this file you probably must have the Large TitleBar enabled.
MMSRes_480x640.Dll and notify.dll / notify.dll.0409.mui
MMSRes_480x640.Dll
Icons you can change in this dll
In this file you can find the MMS status icons.
notify.dll / notify.dll.0409.mui (I still haven't tested this one but someone reported that the device will crash)
Check here
Icons you can change in this dll/mui
In this file you can change the icon for the notifications.
outres.192.dll and tapres.192.dll
outres.192.dll
Icons you can change in this dll
In this file you can find the received Email and SMS icons.
tapres.192.dll
Icons you can change in this dll
In this file you can find the voicemail and notification by SMS icons, along with a few other icons.
Reserved 5
Reserved 6
Rabangus said:
Would it be an idea to post unmodified phcanOverbmp.dll, shellres.192.dll and htcvolumecontrol.dll files?
Would be useful for people who mess things up without taking a backup, and also useful for those (like me) who can't copy shellres.192.dll from their Windows folder cos it's a hidden system file.
Click to expand...
Click to collapse
The 1st rule: never change the file unless you have keep a backup of it safely.
You should use something like "ROM Extractor" to copy the hidden system file out. It's free and safe to do so.
I can tell you different version of phcanoverbmp.dll, shellres.192.dll & htcvolumecontrol.dll may not work on different version of ROM (I have tried and proved). So, one should backup his only system files before modifying those files. In case something went wrong and can't start your deveice, just hard reset it and those files will be restored automatically.
Cheers - I didn't know abour ROMExtractor - it works a treat.
Here's the file and some instructions: http://forum.xda-developers.com/showthread.php?p=1571715
angler said:
I prefer seeing the memory status just like the battery in the task bar. Currently I use the top bar of SBSH iLauncher to have a memory meter displays on the task bar.
Click to expand...
Click to collapse
This thread is meant for tweaking all the icons in the taskbar, not just the battery.
Rabangus said:
Would it be an idea to post unmodified phcanOverbmp.dll, shellres.192.dll and htcvolumecontrol.dll files?
Would be useful for people who mess things up without taking a backup, and also useful for those (like me) who can't copy shellres.192.dll from their Windows folder cos it's a hidden system file.
Click to expand...
Click to collapse
Here's your answer
NLS said:
...erm... you don't REALLY have to backup ROM based files. If you delete the file you "overwritten" them with, automagically, the ROM based surfaces. Didn't you know?
Click to expand...
Click to collapse
But I guess I can put the "untouched" files for those of you that can't extract them from the ROM (the files from an official ROM also work, so this would be another reason for not having to post them )
diamax said:
No screenshots?
Click to expand...
Click to collapse
No screenshots because this is not specific. This topic, is not about something I made, is to help everyone in tweaking the taskbar, and unless you don't know what the taskbar is, I guess there's no need for screenshots at this point.
BassX said:
I want to use my old Battery Icons (org. HTC) but i can't uninstall your Icons because the file phcanOverbmp.dll can't rename to phcanOverbmp.dll.bak!
I don't understand the Programm Unsigner / what i must to do with it ?
Can any one help me?
Click to expand...
Click to collapse
To perform file operations such as renaming and/or deleting, you must use a more powerful file explorer than the built in one. You should use something like Total Commander or Resco Explorer.
To unsign a file, all you have to do is drag the dll/mui file over the unsigner.exe and release it. A command window will open and close. You will know if the file has been unsigned by checking its size (it will be smaller). Also remember that the file can't be as read only or the tool will not be able to unsign it.
First post has been updated with these informations.
sms and new mail icons
Here's my latest. i found the new mail notification and sms notification file, i've put some colours in
the left one is SMS, the right one is new mail notification.
same install procedure as always.
FInixNOver: for your install procedure, you might want to add that if total commander doesn't allow you to overwrite the file in the windows folder, you should try renaming the file in the windows folder first.
Here my variant of arrival new sms.
http://4pda.ru/forum/index.php?showtopic=86876&view=findpost&p=2038777
And this is mine "NEW SMS"
DOWNLOAD FROM HERE
i had done an sms icon hope u guys like it
SkizZO said:
Originally Posted by lmr2003
Hi all,
Sorry in advance if this issue is solve for others but I'm facing a strange probleme.
I can change all the icons, it works fine but for the volume I can't and I don't know why
I have the icon and the when I enter my pin code it desapear and i have then the standard one.
Is there someone who can help me ?
-----------------------------
Problem solved ! Thanks
Click to expand...
Click to collapse
No way to have it working, i have the same issue. Also i've installed the sdkcerts & the two cabs from Kooled
Click to expand...
Click to collapse
Bandit13 has already answered your question.
Bandit13 said:
The volume icons (speaker,silent and vibrate) are located in htcvolumecontrol.dll
Sebastien
Edit : oups, your problem is solved !
Click to expand...
Click to collapse
davidebeatrice said:
even if ive unsigned the dll file i cant replace the icons with another one with different color depth...(ie 8bit to 32bit).
someone can help me please?
Click to expand...
Click to collapse
If you're using PE Explorer, it will not allow you to replace icons with ones that have different color depths.
To achieve that you must use either Restorator or ResHack.
orkorolev said:
Here my variant of arrival new sms.
http://4pda.ru/forum/index.php?showtopic=86876&view=findpost&p=2038777
Click to expand...
Click to collapse
and
massi959 said:
And this is mine "NEW SMS"
DOWNLOAD FROM HERE
Click to expand...
Click to collapse
and
shonan70 said:
i had done an sms icon hope u guys like it
Click to expand...
Click to collapse
I'll add it to the correct section at the initial posts when I get to that dll. Thanks for the contribution.
pencilcase said:
First of all thanks for this thread I spent hours browsing the last one... this is SO much nicer Anyway I hope this is not the totally wrong thread for this but has anyone managed to change the icon for the taskmanager? I know this is not related to the actual windows icons but it IS a part of the taskbar ... Then at least we'd have all icons done
I am no coder so I sadly don't know but perhaps someone can help out here?
Thanks!
Click to expand...
Click to collapse
The task manager icon, is actually a bmp.
This is the list of files for the task manager
Code:
closeallbutton.bmp
close_all.png
close_all_16.png
close_all_32.png
close_all_64.png
close_all_disable.png
close_all_disable_16.png
close_all_disable_32.png
close_all_disable_64.png
down_disable_16.bmp
down_disable_32.bmp
down_disable_64.bmp
down_enable_16.bmp
down_enable_32.bmp
down_enable_64.bmp
exitbutton.bmp
Exit_Button_Down.png
Exit_Button_Down_16.png
Exit_Button_Down_32.png
Exit_Button_Down_64.png
Exit_Button_Up.png
Exit_Button_Up_16.png
Exit_Button_Up_32.png
Exit_Button_Up_64.png
memory.png
memorybutton.bmp
memory_16.png
memory_32.png
memory_64.png
optionsbutton.bmp
quickmenudown.bmp
quickmenuicon.bmp
quickmenuup.bmp
redexitbutton.bmp
settings.png
settings_16.png
settings_32.png
settings_64.png
TaskManager.cpl
TaskManager.cpl.0816.mui
TaskManager.htm
TaskManager.lnk
TaskManagerApp.exe
TaskManagerApp.exe.0816.mui
TaskManagerLite.exe
TaskManagerLite.exe.0816.mui
taskmgrCustRes.dll
taskservice.dll
TmAppLauncher.exe
uncheckable.bmp
up_disable_16.bmp
up_disable_32.bmp
up_disable_64.bmp
up_enable_16.bmp
up_enable_32.bmp
up_enable_64.bmp
X-Button.htm
X-Button.lnk
I think the one you want is quickmenuicon.bmp.
ok another one from me this time with an email notification as well too bad i do not have a email account setup so will not be able to show the result but i will be glad if someone can post the screenshot anyway u guys njoy
Of course.
In the attachment you can find all the files I have used : phcanOverbmp.dll, HTCVolumeControl.dll, outres.192.dll, shellres.192.dll.0410.mui (you must rename this file from 0410 to 04xx according with the localisation of your ROM).
massi959 said:
Of course.
In the attachment you can find all the files I have used : phcanOverbmp.dll, HTCVolumeControl.dll, outres.192.dll, shellres.192.dll.0410.mui (you must rename this file from 0410 to 04xx according with the localisation of your ROM).
Click to expand...
Click to collapse
Thank you very much, now is my homescreen more nicer !
The Radio signal is into shellres.192.dll.0410.mui.
Have you renamed this file from 0410 to your localisation?
tnyynt said:
Renamed to 0409 and installed through a CAB, battery readings are wrong, shows 13% instead of 70something
Click to expand...
Click to collapse
For battery problem - you have to edit registry and change value 21 to 101 in in HKLM\Security\... it is in the first post.
[HKEY_LOCAL_MACHINE\security\ResOver\Bitmaps]
"BatteryIconLevels"=dword:101 (decimal)
Has anybody idea, where is stored icon for missed call ? I want to change it too.

[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

[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?

[APPLICATION] APP.DAT Changer and creator

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.

[Q] How to replace \Windows\ .dlls

I want to replace phcanhtc.dll and phcanrc.dll with these dll (http://forum.xda-developers.com/showthread.php?p=5910397#post5910397) for wm6.5.3 with all fixes but I do not know how to do it.
I've searched on forum without relevant results.
Please help
me too, i really dont know
Why not simply, when device is booting i.e. processing HKLM\init, override old dll-version with new dll-version?
Code:
Launch9999="CopyDLLs.exe"
Depend9999=hex:14,00,1E,00
Could You elaborate a bit on that information? I mean, what is "CopyDLLs.exe" and how does it work? Where to find more information about it (Google doesn't return much...)? What is the "Depend" key and what does that HEX mean?
TIA
Thought the concept behind the solution proposal I outlined above is reconstructable to everyone:
1) you simply add two lines to [HKEY_LOCAL_MACHINE\init] with which an executable ( of your choice, I use freeware TULL.exe for those reasons - you can name it how you want to do it, ex. CopyDLLs.exe ) is started. BTW: 'DependXXXX' is the load order index for 'LaunchXXXX' and 'hex' indicates that it's a binary value.
2) using TULL.exe you create a related .INI-file that is read by TULL.exe (or renamed to CopyDLLs.exe, what I think is more meaningful) with contents like this:
Code:
;overide xyz dll
C "\Save\xyz.dll" "\Windows\xyz.dll"
;done
FYI: TULL.exe you can downlad here
Thank You for that valuable information! I have been using and customizing WM four years now and I have so far understood that it's impossible to replace DLL-s which are in ROM and cannot be overwritten with Resco or similar file manager. Although I don't need it anymore (I would have a year ago), it's still good to know. One question tho, if I may... By asking "what does hex mean" I didn't really mean that, I know there are DWORDs, binary values etc, sorry about that I actually meant what does that value do. But You already answered that. I still wonder, how is that load order index constructed, I mean, how do I know what to put there?
TIA.
OverWrite vs. Override
1) You have to distinguish between terms 'overwrite' (i.e. physical replacement) and 'override' (i.e. logical replacement). The method I suggested is to 'override' a DLL before its first use. If a DLL is already loaded, the method of course will NOT work (only the internal DLL counter is incremented by 1)!
2) With regards to how determine DependXXXX value (excerpt from http://msdn.microsoft.com/en-us/library/aa446914.aspx):
The other option for launching an application at boot time is to use the HKLM\Init keys, this requires that the application call back into the operating system by calling SignalStarted( ); to let the operating system know that the application is running. The reason for this is that the HKLM\Init keys have two parts, LaunchXX and DependXX. The LaunchXX key (where XX is a numeric value) simply points at the executable to launch. For example, take the following snippet from my operating system image registry file (once the operating system is built, the complete registry can be examined in text form in the build release folder as reginit.ini)
[HKEY_LOCAL_MACHINE\init]
"Launch10"="shell.exe"
"Launch20"="device.exe"
"Depend20"=hex:0a,00
"Launch30"="gwes.exe"
"Depend30"=hex:14,00
The snippet from the registry above launches three processes, Shell, Device, and GWES. Notice that device.exe (Launch20) has a dependency on Hex:0a (10 decimal). This equates to Launch10, or shell.exe, so the Shell process needs to signal the operating system that it's up and running so that any dependencies (in this case device.exe) can then be started. The same is also true of gwes.exe (launch30), device.exe depends on hex:14 (20 decimal), so GWES can't run until device.exe calls SignalStarted.
OK, thank You again for the thorough explanation. I just want to confirm one thing - as far as I understand from that description, it would also be possible to launch an *.exe which will copy and overwrite the original DLL before it's loaded in boot order? I ask because a bunch of the DLL files cannot be overwritten after the device has booted. Like I said, some of the files in ROM can be overwritten and some cannot be. I have so far suspected that the ones that cannot be overwritten cannot be overwritten because a) they are already loaded; b) they are locked by some process. I cannot imagine any other mechanism that distinguishes between one DLL and another. Would it work or am I missing something here?
You didn't read it carefully
Again: YOU HAVE TO DISTINGUISH BETWEEN OVERWRITE AND OVERRIDE. We all know that a file located in ROM never can be 'overwritten', but 'overridden', this due to the fact how WinCE searches for a DLL called by an application: 1 -> in directory where the application is located, 2 -> in folder \Windows, 3 -> in folder declared in CE's SystemPath and 4) finally in ROM.
Ending this excursion into the world of WinCE: If you make the desired DLL-copy-operations directly after device.exe (CE 5) / device.dll (CE 6) has done its job (means file system is mounted and ready to be used) you can 'override' each ROM-located DLL if it isn't already lasting (loaded) in RAM, means you simply copy new version of DLL to folder \Windows. BTW: The DLLs you see in \Windows might be located in ROM, or not ( i.e. located in RAM - folder \Windows itself is RAM), this depends on how OEM implemented this.
Only a practical example I've in use:
Code:
;
;increase storage memory (KB)
W \NandFlash\CE-Utilities\SetSystemMemoryDivisionKB.exe, 3072
; delay execution by the passed value in milliseconds
D 1000
;load backlight settings
W \NandFlash\CE-Utilities\regimp.exe, /f:\NandFlash\MyRegistry\backlight.ini /s
W \NandFlash\CE-Utilities\RegFlushKeys.exe
;prepare using .NET CF 3.5 instead .NET CF 2.0 (ROM located)
C "\NandFlash\NetCFCfg\device.config" "\Windows\device.config"
[COLOR="Red"]C "\NandFlash\MyCESystemPath\mscoree.dll" "\Windows\mscoree.dll"[/COLOR]
; delay execution by the passed value in milliseconds
D 1000
Original ROM-located mscoree.dll (part of pre-installed .NET CF 2.0) gets overriden with mscoree.dll that comes with .NET CF 3.5, thus now .NET CF 3.5 is running instead of .NET CF 2.0
Thanks again for Your answer, which is again thorough and informative. Basically You answered "Yes" to my question I say this because - as I am not as knowledgeable about WinCE system as You are - it seems I just call the process that You describe as "overriding" simply "overwriting". This is because I wasn't aware how WinCE searches for a file or how the \Windows\ folder contents is handled / processed. And also because when I copy a DLL file to \Windows\ folder, Resco simply asks "Do You want to overwrite...?" etc I am not a WinCE developer, I'm simply an enthusiast and I might call things more simply, sorry for that. But I think I got valuable information from You one way or another and the most important thing is, I got the point. However You call it.
@jwoegerbauer: Thanks friend for the nice examples and explanations .
Cheers!!!
I want to copy a new NLS file to a WinCE device, before system was loaded.
I've tried to do what you suggested here, jwoegerbauer, with my Mio C520.
I've wrote registry keys to activate the sciprt I wrote, before the system loaded - with no success.
I've tried both MortScript and TULL as script-language - both with no success.
The registry keys that I've tried to import are:
Code:
[HKEY_LOCAL_MACHINE\init]
"Launch25"="\My Flash Disk\Temp\CopyNLS.exe"
I've tried also to import
Code:
"Depend25"=hex:14,00
which cause the system to freeze in the main menu (before MP is loaded), and
Code:
"Depend30"=hex:14,00,28,00
which cause the system to freeze in the boot load.
I'll be happy to know what else can I try to activate the code.
If the wince.nls is located in the XIP already you cannot override it. It is loaded before the FAT partition is there and the filter driver could redirect calls to the FAT copy of a dll.
You need to re-cook with the wince.nls moved to the SYS, seems however that some specialties need to be taken care of when doing so (search here at XDA for this).
So, I understand that my only option is to implant a soft-reset during the installaion of MioPocket.
Do you know how to do soft-reset with those chinese devices?
Reset does not help you if the wince.nls is located in the XIP. You will not be able to replace it with any means - the OS will load it before you have any chance to interfere.
Your only option is to replace the OS (with a cooked one) where the wince.nls is different from the start - or where it is not located in the XIP partition.
Why do you want to replace the wince.nls? Probably your problem can be solved another way?
Well, actually, in the Mio C520 - reset does help me. It's re-written the wince.nls file with the one I copied, and used it very well.
My problem now is my Chinese device, based on WinCE 6.0 embedded.
I've installed MioPocket on it, and translate some of the words to Hebrew. The problem is that the hebrew is 'backwards', meaning if for ex. instead of "Hello" - It'll show "olleH".
Here is screenshot of both devices, to the left is the Mio C520, which is OK, and to the right is the Chinese device, which is written 'backwords'
{
"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"
}
So I thoght - maybe, if I'll made the Chinese device to do soft-reset, just like the Mio - maybe the problem will be solved.
But maybe you are right, and there's completely another solution to this problem. I sure hope there is...
Well, I can neither read Chinese nor Hebrew - so nothing to guide you here.
Not sure what you wanted to achieve with the new wince.nls
What I understood is that this files basically gives you all the entries in the Locale panel of the settings file - so where you can select the format of the time/date or currency. First you select the Locale (not UI language which is a different setting) and then you can pick for each of the items defined by this locale set the relevant options that are stored in the wince.nls file. It also holds all menu items of that local setting in all languages - which makes it quite big depending on the number of languages supported.
So if you could "replace" the wince.nls, then for sure it is not in the XIP and all my previous comments are useless for you.
If you are after swapping the direction of writing on your device this is a totally different thing. I am sure it is not part of the .nls but a system setting for the UI part of the device. You may need to search for "Arabic Support" or alike in the Windows CE forums around the world. I have not seen much discussed here at XDA for this specialty.
Good luck!
After a search inside the GPS file system (I forgot to mention that in the original menu of the GPS the Hebrew was just fine - meaning from right to left - what led me to think there's something in the OS responsible for that) - I found a file named SetLanguage.exe which may be repsosible to display the hebrew in the right direction.
Anyone in here can hex the file and understand what's it's usage?
I attached also file named Arab.dll, maybe is also related..
Any help will be much appriciate!
Absolute OFF-TOPIC
@Cheetah64d
SetLanguage.exe (by Lenovo Beijing Ltd.) you attached depends on libraries
Arab.dll, MultiLanDll.dll, ApicalDrvApi.dll, AppLoginDll.dll, MFC80U.dll and COREDLL.dll.
Click to expand...
Click to collapse
This executable is only useable on very specific devices.
As stated by MS, Windows CE by default uses the fonts as listet next to implement hebrew
Arial (subset 1_08) arial_1_08
Arial Bold (subset 1_08) arialbd_1_08
Courier New (subset 1_08) cour_1_08
Tahoma (subset 1_08) tahoma_1_08
Tahoma Bold (subset 1_08) tahomabd_1_08
Click to expand...
Click to collapse

Categories

Resources