[Upgrading, Modifying and Unlocking] rickou26:
Tuto: Modification of a Dialer​

Hello everyone,

This Tuto allowing to intervene directly on the resources of your dialer. Ie DLL.

Advantages: No additional resource, only those origins. So, not one gram of fat added. A Dialer 0% :)

The items made available or examples are from the rom of my LG KS20 QVGA (Rom KisS20 of Spocky), you've got to bring such changes to your devices.

1) Resources (DLL)

First you must know that your dialer is mainly used two resources:

The first is by "default" of WM. It tapres.dll.0xxx.mui nome. XXX is the language ID (FR = 040C -> tapres.dll.040C.mui).

The second is usually the manufacturer. It is here to provide additional functionality (type video calls), and / or skin.

The name of this DLL can be found here ->

[HKEY_LOCAL_MACHINE\Security\Phone\Skin] [HKEY_LOCAL_MACHINE \ Security \ Phone \ Skin]

"Enabled" = dword: 00000000

"ext" = "\ windows \ Your DLL.dll"

To activate one or the other DLLs just go "Enabled" = dword: 0000000 0 (DLL by default) to 1 (DLL constructor).

Every two are in the Windows directory on your PPC.

2) Images

Your default dialer is composed of the following images:

dlrback_land.png--------->Background dialer

dlrback_port.png

dlrbtndef_dwn_land.gif--> buttons for the functions call, speed dial, etc.

dlrbtndef_dwn_port.gif

dlrbtndef_up_land.gif

dlrbtndef_up_port.gif

dlrbtnend_up_land.gif----> button "Done"

dlrbtnend_up_port.gif

dlrbtntalk_up_land.gif----> button "Call"

dlrbtntalk_up_port.gif

dlrbtn_dwn_land.gif------> other keys (numbers / letters)

dlrbtn_dwn_port.gif

dlrbtn_up_land.gif

dlrbtn_up_port.gif

"Port" for the portrait, "Land" for landscape mode. "Up" for keys not pressed, "dwn" for keys pressed.

Note: The images used for the buttons' functions are identical to the keys "call status".

3) Tools

A resource editor (Restorator, Resource Tuner etc)

Unsigned MSigner and to sign your DLL amended

Drawing software (Photoshop and others)

The notepad ...

4) Modification of resources (DLL)

With the help of your editor and open your DLL go to the directory Dialog.

Resources 22500 (dialer, landscape mode), 22507 (call status landscape mode), 22509 (dialer, portrait mode) and 22510 (call status portrait) define your dialer.

Change the size and location of images of different elements. The keyboard, calling area, the SmartDial ....

Example using 0 to 9

CONTROL "", 23041, "MS_PHONE_BUTTON", 1, 122, 52, 36 ----> Size

CONTROL "", 23042, "MS_PHONE_BUTTON", 54, 122, 52, 36 ----> Implantation

CONTROL "", 23041, "MS_PHONE_BUTTON", 1 , 122 , 52 , 36 CONTROL "", 23041, "MS_PHONE_BUTTON", 1, 122, 52, 36

The first 2 values Y = X and X is the location left / right and Y up / down

Les 2 autres = taille de l'image, longueur / largeur The other 2 = image size, length / width

Save your new DLL, sign here and test.

5) Edit pictures

Nothing special ...

In my previous example the size of my images is increased to 52x36. So I created new images to this size. They replace the original (dlrbtndef_dwn_port.gif, dlrbtndef_up_land.gif, dlrbtndef_up_port.gif ...).

Open a simple image viewer, Edit -> resize -> Save 52x36

Go to the experts :D Edit -> change color -> Save.

6) Putting

I change my DLL tapres.dll.040C.mui as follows:

Dialog 22509

..... .....

CONTROL "", 23041, "MS_PHONE_BUTTON", 1, 122, 52, 36

CONTROL "", 23042, "MS_PHONE_BUTTON", 54, 122, 52, 36

CONTROL "", 23043, "MS_PHONE_BUTTON", 107, 122, 52, 36

CONTROL "", 23044, "MS_PHONE_BUTTON", 1, 159, 52, 36

CONTROL "", 23045, "MS_PHONE_BUTTON", 54, 159, 52, 36

CONTROL "", 23046, "MS_PHONE_BUTTON", 107, 159, 52, 36

CONTROL "", 23047, "MS_PHONE_BUTTON", 1, 196, 52, 36

CONTROL "", 23048, "MS_PHONE_BUTTON", 54, 196, 52, 36

CONTROL "", 23049, "MS_PHONE_BUTTON", 107, 196, 52, 36

CONTROL "", 23051, "MS_PHONE_BUTTON", 1, 233, 52, 36

CONTROL "", 23050, "MS_PHONE_BUTTON", 54, 233, 52, 36

CONTROL "", 23052, "MS_PHONE_BUTTON", 107, 233, 52, 36

CONTROL "", 23001, "MS_PHONE_BUTTON", 160, 122, 79, 36

CONTROL "", 23012, "MS_PHONE_BUTTON", 160, 159, 79, 36

CONTROL "", 23011, "MS_PHONE_BUTTON", 160, 196, 79, 36

CONTROL "", 23014, "MS_PHONE_BUTTON", 160, 233, 79, 36

..... .....

I also modified the original image and I let [HKEY_LOCAL_MACHINE \ Security \ Phone \ Skin]

"Enabled" = dword: 0000000 0 for do not call for anything else (DLL or manufacturer, or a skin external).

Here is the result