Customize wm6.5's dial-up interface, dialer,

Source: Internet
Author: User

Customize wm6.5's dial-up interface. The article I saw on xda shows a lot of useful settings,

Original address: http://forum.xda-developers.com/showthread.php? T = 525055

 

 

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 & #37;

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. itTapres. dll.0xxx. MuiNome. 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 CALS), 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: 00000000(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 values, dlrbtndef_up_land.gif, dlrbtndef_up_port.gif ...).

Open a simple image viewer, edit-> resize-> Save 52x36
Go to the Experts 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 ).

7) The base Registry

From the registry you can almost touch any settings for your skin, images, text, color Etc ..

In the example above you can see that the text is centered, the figures are white, the letters are gray. Here's how to proceed.

"Enabled" = DWORD: 00000001---> Skin active

[HKEY_LOCAL_MACHINE/security/phone/skin/dialer/land scape/dialbutton]
"Majorflags" = DWORD: 00000005 -------> centered position of figures dialer
"Minorflags" = DWORD: 00000005 -------> centered position of letters from the dialer
"Majorcolor" = DWORD: 00 ffffff -------> color numbers (00 ffffff = white)
"Minorcolor" = DWORD: 00 cccccc -------> color letters (00 cccccc = gray)

[HKEY_LOCAL_MACHINE/security/phone/skin/dialer/port RAIT/dialbutton]
"Minorflags" = DWORD: 00000005
"Majorflags" = DWORD: 00000005
"Majorcolor" = DWORD: 00 ffffff
"Minorcolor" = DWORD: 00 cccccc

It can also affect the style majorrcmlstyle...

For the "textflags" position is defined:
DWORD 0: Top left
DWORD 1: Top center
DWORD 2: Top right
DWORD 4: middle left
DWORD 5: middle center (default value)
DWORD 6: middle right
DWORD 8: Bottom left
DWORD 9: Bottom center
Dword a: Bottom Right

In my case I have 5, one centering vertically and horizontally (almost perfect because the numbers and letters are struggling a bit them secret ))

"Textlayoutflags": "textlayoutflags ":

DWORD 0: numbers, then letters
DWORD 1: letters, numbers then
DWORD 2: Just numbers (no letters)

In my case I have 0...

Here are the keys to BDR that you can learn:

HKLM/security/phone/skin/= This is the main key for phone skins

Dialer = This is the main dial pad that you dial phone numbers on
Landscape and portrait = the orientation or the dialpad phone you shoshould change the same key in both orientation to stay consistant

TEXT = text in the "Information Window" the one that shows last number dialed, contact info, etc.
Textcolor = color of the text in the Information Window
Dialbutton = button that displays the numbers you dial
Majorcolor = color of the dial button digits
Minorcolor = color of the dial button text (ABC, DEF)
Majorrcmlstyle = size of the dial button digit, hex values are smaller for the 1 through 20 for the largest (1A, 1B, 1C, etc .)
Minorrcmlstyle = size of the dial button text, hex values are smaller for the 1 through 20 for the largest (1A, 1B, 1C, etc .)
Majorflags = position of the number on the dial button, values are 1-13 (decimal), ie, upperleft, bottomright, center, etc. (hex 400 makes the text invisible)
Minorflags = position of the text on the dial button, values are 1-13 (decimal), ie, upperleft, bottomright, center, etc. (hex 400 makes the text invisible)
BMP normal = path to the bitmap you see when you are not touching the keys
BMP pressed = path to the bitmap you see when you press a dial key
BMP flags = adjusts the alignment of the bitmap on the key, not commonly used
BMP transparency = transparency of the bitmap and ability to show through backgound Image
BMP Disabled = bitmap that displays if the button goes disabled, like "hold" is disabled if you are not in call
Erasebutton = button that erases digits you typed (usually the back arrow)
BMP normal = path to the bitmap you see when you are not touching the keys
BMP pressed = path to the bitmap you see when you press a dial key
BMP flags = adjusts the alignment of the bitmap on the key, not commonly used
BMP transparency = transparency of the bitmap and ability to show through backgound Image
BMP Disabled = bitmap that displays if the button goes disabled, like "hold" is disabled if you are not in call
Verbbutton = button (f0f0f special value will make the text invisible on the textflags key)
Textcolor = color of the "call history" Text
Textrcmlstyle = size of the "call history" text, hex values are smaller for the 1 through 20 for the largest (1A, 1B, 1C, etc .)
Textflags = position of the "call history" button on the text, values are 1-13 (decimal), ie, upperleft, bottomright, center, etc.
BMP normal = path to the bitmap you see when you are not touching the keys
BMP pressed = path to the bitmap you see when you press a dial key
BMP flags = adjusts the alignment of the bitmap on the key, not commonly used
BMP transparency = transparency of the bitmap and ability to show through backgound Image
BMP Disabled = bitmap that displays if the button goes disabled, like "hold" is disabled if you are not in call
Textdisabledcolor = text of the disabled in the event a button goes disabled
Other = only used to define the page background
BMP normal = path to the image used in the background
Talkendbutton = the setting for the combined talk/end button
BMP disabledend = bitmap that displays when the end button goes disabled
BMP disabledtalk = bitmap that displays when the talk button goes disabled
BMP flagsend = adjusts the alignment of the bitmap on the key, not commonly used
BMP flagstalk = adjusts the alignment of the bitmap on the key, not commonly used
BMP normalend = path to the bitmap you see when end is active
BMP normaltalk = path to the bitmap you see when talk is active
BMP pressedend = path to the bitmap you see when end is pressed
BMP pressedtalk = path to the bitmap you see when talk is pressed
BMP transparencyend = end of the bitmap and ability to show through backgound Image
BMP transparencytalk = transparency of the talk bitmap and ability to show through backgound image transparency

Progress = This is the "in call" page you see when on a call
Verbbutton = call history button (special value f0f0f will make the text invisible on the textflags key)
Textcolor = color of the "call history" Text
Textrcmlstyle = size of the "call history" text, values are hex 1a for the smaller through 20 for the largest (1A, 1B, 1C, etc)
Textflags = position of the "call history" text on the button, values are 1-13 (decimal), ie, upperleft, bottomright, center, etc
BMP normal = path to the bitmap you see when you are not touching the keys
BMP pressed = path to the bitmap you see when you press a dial key
BMP flags = adjusts the alignment of the bitmap on the key, not commonly used
BMP transparency = transparency of the bitmap and ability to show through backgound Image
BMP Disabled = bitmap that displays if the button goes disabled, like "hold" is disabled if you are not in call
Other = only used to define the background page
BMP normal = path to the image used in the background
Talkendbutton = the setting for the combined talk/end button
BMP disabledend = bitmap that displays when the end button goes disabled
BMP disabledtalk = bitmap that displays when the talk button goes disabled
BMP flagsend = adjusts the alignment of the bitmap on the key, not commonly used
BMP flagstalk = adjusts the alignment of the bitmap on the key, not commonly used
BMP normalend = path to the bitmap you see when end is active
BMP normaltalk = path to the bitmap you see when talk is active
BMP pressedend = path to the bitmap you see when end is pressed
BMP pressedtalk = path to the bitmap you see when talk is pressed
BMP transparencyend = transparency of the end bitmap and ability to show through backgound Image
BMP transparencytalk = transparency of the talk bitmap and ability to show through backgound Image
TEXT = text in the "Information Window" the one that shows last number dialed, contact info, etc
Textcolor = color of the text in the Information Window

8) Problems

For those who have already installed a dialer skin you must delete all keys added to the Registry.

HKEY_LOCAL_MACHINE/security/phone/skin/dialer (entire directory)
HKEY_LOCAL_MACHINE/security/phone/skin/progress (entire directory)

For HTC but also look here, if problems in displaying and/or color persisted.

[HKEY_LOCAL_MACHINE/software/HTC/phone]
[HKEY_LOCAL_MACHINE/software/HTC/smartdialing]

You have to play.

Thank you to mat for the tuto clarification and all those involved in its improvement.

Rickou26 (or Arthur emus ).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.