where can i find this file? - Windows Mobile Development and Hacking General

where can i find this picture circled in red in the picture attached, i would like to change it

it is hardcoded in shell32.exe
see this experimental mkrom script for how to change it in a 3.17.52 rom.
for other roms you would have to figure out which offset to use your self.

Related

How to change icons to file types??

I'm trying to figure out how to assign icons back to file types from the default program used.
As you can see in the first image, the icons are blank for my .jpg files. Currently, SPB Imageer is the app that opens it by default. For some reason, I dont know how, but the icons change to the blank ones.
In the second image, the address bar shows the key in the registry to change the default icon image for jpg files.
The third image shows the string. What number do I put to use the Imageer icon for jpg files or any other app that you may want. That number you see was put by me and it does not work.
Other apps use different numbers for there own icons for the file types that they are associated with. Some examples are: Opera uses -131, TCPMP uses -1000, WMplayer uses -2002, Word uses -13072, PowerPoint uses -200
How do I find out the number??
Try the Pike Icon editor. I forgot where I got it, and couldn't figure it out after I had it installed. Maybe if you try this and are able to do something with it,you can help me. I know it's a cab file unzipped from a zip file.Cingular 8125ROM 2.25.11.1
hotdog53 said:
Try the Pike Icon editor. I forgot where I got it, and couldn't figure it out after I had it installed. Maybe if you try this and are able to do something with it,you can help me. I know it's a cab file unzipped from a zip file.Cingular 8125ROM 2.25.11.1
Click to expand...
Click to collapse
Can you please upload the editor so I can try it?
Sorry to up a so old thread but i've exactly the same problem, and i don't find any way to solve it... My jpg/bmp/png icons are blank, and i want have the default icon back. How can i do?

Custom Dialpad

I've been using the unskinned dialer on my Vogue for the last couple weeks because its much snappier and features an embedded call history. However, after looking at some of the new Diamond custom dialers I've realized I'm not happy with the default skin, so I started pouring over the Windows directory looking for the images that govern the unskinned dialer in hopes I could directly skin it instead of using the dialer overlays.
I was able to find a few files of use, in particular the gifs that control the background color for the call and end keys, the call history images on the left (for call missed/out/in), and the background image. But after changing the files via TotalCommander and soft-resetting, I see no change.
Is there any way to do this without cooking? And does anyone know where else files might be kept for editing this dialer?
ANY help at all would be greatly appreciated.
I'm curious about this too. I've looked all over, but havent been able to find what i'm looking for. Is there a PSD somewhere for the iphone-ish dialers that has the correct splits and things to create our own?
The custom dialers are an alternative to the original dialer...
Look at the files in the CABs for custom dialers, and you will see they have a different set of files. Look at those, and edit them as you want.
Yes, but the custom dialers lose the embedded call history functionality and are sluggish in comparison with wm's default dialer. I don't mind having to cook a rom to get this to work, but I still don't know where all of the images are stored, particularly the ones for the actual number buttons. And perhaps an xml file governing their placement?
Red49er said:
Yes, but the custom dialers lose the embedded call history functionality and are sluggish in comparison with wm's default dialer. I don't mind having to cook a rom to get this to work, but I still don't know where all of the images are stored, particularly the ones for the actual number buttons. And perhaps an xml file governing their placement?
Click to expand...
Click to collapse
Okay...
Maybe this will work...
In the dll files related to the dialer (can't remember there names off hand), there will be graphic files that can be replaced...
Okay, after much searching (now that I knew what I was looking for), I've come up with a list of dlls that may be related:
phcanhtc.dll
phcanoverBMP.dll
dpadmenu.dll
tapres2.dll
tapres.dll.0409.mui
tapres.dll
also, the reg key hklm/security/resover might allow something
Only problem is I realized after continued reading that some of the info I got was related to wm5 roms trying to get smartdialing working like wm6....so if anyone could help me narrow down which dlls are the right ones to edit, that would be fantastic!
also, whats the best way to edit dll and mui files?
Red49er said:
Okay, after much searching (now that I knew what I was looking for), I've come up with a list of dlls that may be related:
phcanhtc.dll
phcanoverBMP.dll
dpadmenu.dll
tapres2.dll
tapres.dll.0409.mui
tapres.dll
also, the reg key hklm/security/resover might allow something
Only problem is I realized after continued reading that some of the info I got was related to wm5 roms trying to get smartdialing working like wm6....so if anyone could help me narrow down which dlls are the right ones to edit, that would be fantastic!
also, whats the best way to edit dll and mui files?
Click to expand...
Click to collapse
phcanhtc.dll -- Contains some BMPs/images
phcanoverBMP.dll -- Contains most of the images
dpadmenu.dll -- Is to do with the dialer workings... Contains no images (I think)
tapres2.dll -- may contain some images
tapres.dll.0409.mui -- is localisation. Mostly just text strings, but may be some images
tapres.dll -- may contain some images
I use "ResHacker" to open up dlls and modify them...
Just tried copying the needed dlls over to my storage card, tried both totalCommander and RescoExplorer, with flight mode off/on, can't get access to tapres.dll, tapres.96.dll, or tapres.dll.0409.mui
Edit: Thanks for the info and the heads up on reshack!
That may be a problem... I'd guess they need to be cooked into the ROM, in which case it may be easiest to take a ROM, dump it, edit the files there, rebuild it and then flash it...
Yeah, I just realized they're rom files and I can't get at them this way.
But I was able to successfully edit phcanoverBMP and change the call history icons.
Thanks for all your help, its cooking time
Red49er said:
Yeah, I just realized they're rom files and I can't get at them this way.
But I was able to successfully edit phcanoverBMP and change the call history icons.
Thanks for all your help, its cooking time
Click to expand...
Click to collapse
No probs!
There are also some files in the WM5 ROM I've dumped in an OEM pack called "Phone_DPI_96" that may be of interest...
they are:
Code:
backarrow_glyph.gif
clg_in.gif
clg_miss.gif
clg_out.gif
cmdpad_land.gif
cmdpad_port.gif
cmdpad_sqre.gif
dialpad_land.gif
dialpad_port.gif
dialpad_sqre.gif
anything beginning with "dlr"
handset_glyph.gif
spd_lst.gif
Okay, so I got ahold of a kitchen, but when I found the tapres dlls in the sys folder, they're not compiled -- its a bin file, 2 txts, and an s000. Reshack can't do anything with these files. What do I do?
You need to use "Reversemode" to turn those into a dll, then you can edit that.
I googled reversemode, and all I came up with was reversemode.com which didn't look like any sort of software that would help with this.
Red49er said:
I googled reversemode, and all I came up with was reversemode.com which didn't look like any sort of software that would help with this.
Click to expand...
Click to collapse
I'll be more helpful then
This post: http://forum.xda-developers.com/showthread.php?t=331094
well this seems to be a brick wall. no matter which file I try to use revresmode on, it says it doesn't work on .net files.
Thanks for the help anyways tho.
I don't know about changing the font of the dialer, but you can change the dialer within the rom contents (only the buttons and background) I found that there are two separate folders in the SYS folder. the files are read only. unlock them and edit in photoshop. you don't have to relock them to cook them back in, just save them in the same exact format they were in before you unchecked the "readonly". That is how I edited mine. I have no idea why why anyone would bother trying to mess with the dll's?!!!
S.V.I said:
I don't know about changing the font of the dialer, but you can change the dialer within the rom contents (only the buttons and background) I found that there are two separate folders in the SYS folder. the files are read only. unlock them and edit in photoshop. you don't have to relock them to cook them back in, just save them in the same exact format they were in before you unchecked the "readonly". That is how I edited mine. I have no idea why why anyone would bother trying to mess with the dll's?!!!
Click to expand...
Click to collapse
There are embedded images in the DLLs...
You need to use reversmode on the folder, not the files within it...
l3v5y said:
You need to use reversmode on the folder, not the files within it...
Click to expand...
Click to collapse
Doing that gives me a "cannot open input file" error. And yes, all files and folders are not marked as read only.
Red49er said:
Doing that gives me a "cannot open input file" error. And yes, all files and folders are not marked as read only.
Click to expand...
Click to collapse
My mistake! Reversmod does dll to module, RecMod (attached) does the reverse...
Sorry!

Woot! Changing default icons in WM6.1

First of all, the start menu icon
i got help from this post: http://forum.xda-developers.com/showpost.php?p=2271995&postcount=8
and u can see how i got it on my BA
Want it??
the file is attached too. (signed already)
rename the file as shellres.96.dll
and paste this file in ur \Windows folder in ur device
Ofcourse u have to make a backup of originall shellres.96.dll too
Njoy this nice gray start menu icon
MORE ICONS ON THE WAY, I AM STILL DISCOVERING bout the icon changing thingi.
POST UR ICONS IN "PNG" with transparent background and in a multiple of 8 width and height that is 16x16, 24x24, 64x64, 128x128, 256x256.
so that i may get more time in modding rather in finding
GL all and happy modding. Atlast folder icon changing will work
Step 2, Changing the default folder icons
here are they
EDIT: the resource hacker is showing the folder icons in two pairs (16x16 and 32x32). If i am gonna replace one, the whole icon group gets changed. so uptill here no luck. will some body help me making a dll file with two icons (one for 16x16 and other for 32x32)
One small note,
the complete name of the file being replaced is shellres.96.dll.0409.mui
The reason I am making this comment is because depending on the rom (WWE or any other country ID), this might change. For instance, WWE is 0409, but I believe that German was 040C.
Other than that, good post. Let us know when you are able to change the system folders.
the mui exists there for localization thingi
I have used shellres.96.dll, the one i have pasted here and the screenshot is of my BA's. So I say authentic. I havent tried ur method since i am going fine
Now about the folders, the problem comes with pointing two icons in same icondump (i-e i need to have a file (like shell32.dll in windows for PC) which should only contain 32x32 folder icon (normal) and 16x16 icon (small). I dont know how to make such icon resource files. I have all PNG sets for my desired icons. I straight away convert them through an activeX based converter. Then THE PROBLEM IS ABOUT DUMPING TWO .ICO FILES IN ONE .ICO

Manila editing and lua:tutorial

Hey people,
Many people were pm'ing me n asking me to write tutorials on how to edit manila files n write lua.
As its a very less known topic im one of the few people who knows how to write it and edit it.
I will try to explain the basics first n then the advanced stuff
WHAT WE DO
---
To be frank
manila editing is complicated.Not cause its hard but cause it need a lot of imagination
UnLike other languages that uses graphics like flash or vb or whatever lua and manila editing DOES NOT give you a visual workspace
You have to image what you write in real time and so it needs a lot of trial /error
THE BASICS
What we need
1>m9editor
the files we want to work on
1>As the basics i would like to explain how the background for all tabs mod was made
1.we have a file called 5c9aa261_manila.
for me this is the most important file that a developer needs
in manila this is a file that controls backgrounds
1>For example it runs on every tab and executes its functions on every tab
It is the shadow of tf3d
So anything that you want in the background in every tab or u want to be seen in every tab u put here
So by common sense the slider and the background are in this file
Now what we do for the bgfor all mod
STEP 1
1>Make a png file size 512 X 512
Manila cant take a image of any size.Therea re fixed sizes.i personally always use the size 512 X 512
So now we have a image named lets say sample.png
STEP 2
copy the file 5c9aa261_manila from the windoes folder and open it in m9editor
doubl click it
NOw the hard part
the structure of a manila file was something that took me loads of thinking to figure out
a basic structure
Group (named whatever)
--FIle in group(top most layer)--this is what is seen right on top
--File in group(second layer)--this is what is seen underneath the upper file
and so on a and so forth
LUA
lua files are action script that are recognised by the tf3d
usually lua files are either of two types
1>binaries(damn its just a name nothing more)
using the search button you can search for "binary"
click on it and you will see code in it underneath
2>files that we ad..they always end in .lua ..so using search search for ".lua" and you will find it
Lua is scanned through by tf3d when u start it the first time
lua is usually at the top of the file
so for example lets write a little lua
Code:
money=function()
rotastrainsdonations=whatpeopledonated
if rotastrainsdonations>200$ then
title.String="rotastrainsrich"
else
title.String="need smore donations"
end
end
slider.onPress:money
this is seen by tf3d
whenever you will press the slider this function will be called
and it will display what the function does!!
So when u move around in the file you will see groups and files in them..
if you understand this much its enough to make whatever the hell u want
ok now getting back to what we want to do
Step 3
Searching for the existing background
images are always .qtc files
So search for ".qtc"
you will come to a file called "backgroundlevel1..blahblahblah.qtc"
now that we found it we need to place the file we want on top of it..so thats its seen in right on top and in every tab
so how to make a file that we want?heres secret no1
1>copy any qtc file thats existing by right clicking its entry ..for example the file now is "backgroundlevel1..blahblahblah.qtc"
right click copy
now right click on the entry again
click paste below
so now we have two entries of the same name
Group
--backgroundlevel1..blahblahblah.qtc
--backgroundlevel1..blahblahblah.qtc
change the top entries name
---change this name to whatever you want--for example firstbg
so now we have two entries
--firstbg.qtc
--backgroundlevel1..blahblahblah.qtc
now click ok
move your mouse over the entry
a small popup will appear
with a name like gftfgrh455_manila
thats the name of your file
Write it down somewhere
Click save
owerwrite
Step 4
now we need a qtc file to put ur image in
just take any _manila file from the windeos foler which is a image file
For example the file that i have used in my panoramic background mod
i will attach that here
paste it in the same place as the 5c9aa261_manila file
open it in m9editor
right click it
save as png
open the png file
paste your image in
save
open m9editor
right click the qtc file
load from png
rename the file to what we got earlier "gftfgrh455_manila"
done
Now paste both these files in ur widows folder
and walla
bgforall tabs in a second
This is a basic thing to do
Next step will be to integrate images with lua..
!!
Cheers
Rotastrain
Thank you, thank you!
Awesome... exactly what I was looking for! Please, do go on....
xoxo Maureen
thats a great idea!
you are tha man!
This is very nice... I can not wait for the followup. image editing is pretty nice but I am having more trouble with decompiling the lua files. Also is there an easy way to break out the scripts and files into there directory structure? so that we can find all the internet tab items in one folder and all the common in another? I tried a few of the lua kitchens that I have seen around but most of them seem to crash when I try to use them on the 2.5 manila files. is there a difference?
Thanks for this. It is nice to see someone sharing there knowledge and expertise.
SoBBie

SOLVED! How to set WM 6.5 theme elements without using a formal TSK?

Hello all. I am being driven crazy not being able to make this work. I am trying to set all my theme elements in my ROM via registry in the kitchen, so as not to have to wait a few seconds for the TSK (Livven SimpleGloss Blue) to be formally set via RunCC. I can get everything working except for one color. Where I have it set to be 0000ff (blue) in my TSK, when the ROM boots it is an awful teal color. This of course goes away as soon as I go tot start>settings>home and set the theme. What I have done so far is take the TSK, open in WinCE Cab Manager, export all its reg's and files and put the registry into an app.reg and files into the files section of my EXT package (I use platformrebuilder in my kitchen). My registry entries look exactly like my TSK registry (I compared with windiff). What am I missing here? I hae heard that there might be issues with exporting the long binary regstry values in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Color... But I think I exported them correctly? (they are identical when copied and pastes and when exported from ceregeditor from the running ROM..)
Any idea?
THANKS!
EDIT: I have removed all the values in mxipcold_wpc_2.provxml.
solved...
there is a registry key that I cannot explain how it gets set, since it is not visible in the TSK file when viewed in Wince Cab Manager:
HKEY_LOCAL_MACHINE\System\GWE\SysColor
I ended up flashing the ROM, letting it boot and verifying the ugly teal was present. I then dumped HKCR, HKCU, and HKLM using CeRegeditor. I applied my tsk and dumped the keys again. I compared with Windiff. HKCR was identical. HKCU and HKLM were different as I was expecting. I would have never found HKEY_LOCAL_MACHINE\System\GWE\SysColor if it weren't for Windiff.
:-D

Categories

Resources