[SOLVED] Change text's selection-color in dialer

MrRusch

Senior Member
Jan 31, 2009
1,190
300
0
When skinning manila ROMs nowadays nearly everything is changable. But..



Please guys, lets figure out together how to edit this. I'm thinking it's probably a RGB value inside some LUA file?

Any help is greatly appreciated.

EDIT: Solution found, see post 2.


 
Last edited:

MrRusch

Senior Member
Jan 31, 2009
1,190
300
0
Never mind, I found it :eek:



Solution:
It's a registry value.
HKLM\Software\HTC\PHONE\SmartDial\ClrMatchBkd REG_DWORD 0x00000000
And this value is really something.. I wanna say its 00RRGGBB but subtractive color model. So 0x0000ffff returns Red, 00ff00ff Green, and 00ffff00 Blue.
Play around with it.
 
Last edited:

guap

Senior Member
Sep 23, 2007
1,306
48
0
Milano
next time you should write how did you changed it :p

for others and for reference, it's SmartDial_04.bmp in \Windows, "PhoneCanvas" in kitchen
 

MrRusch

Senior Member
Jan 31, 2009
1,190
300
0
next time you should write how did you changed it :p

for others and for reference, it's SmartDial_04.bmp in \Windows, "PhoneCanvas" in kitchen
Actually no, it's a registry value.
HKLM\Software\HTC\PHONE\SmartDial\ClrMatchBkd REG_DWORD 0x00000000
And this value is really something.. I wanna say its 00RRGGBB but subtractive color model. So 0x0000ffff returns Red, 00ff00ff Green, and 00ffff00 Blue.
Play around with it.
 

MrRusch

Senior Member
Jan 31, 2009
1,190
300
0
How do you change the rest of the dialer colors? Is there a tut? Please assist if possible.
There is no tutorial for it here that I know of, but search the forum. The thing people normally miss is extracting the bitmaps from phcanImages.dll.
 

nickwar

Member
Dec 14, 2006
32
0
0
Thanks will give it a more indepth bash...

I've tried extracting the images, changing them and putting them back into the dll. This doesn't work, where do I put them after I've modified them? Straight into windows directory?
 
Last edited:

MrRusch

Senior Member
Jan 31, 2009
1,190
300
0
Thanks will give it a more indepth bash...

I've tried extracting the images, changing them and putting them back into the dll. This doesn't work, where do I put them after I've modified them? Straight into windows directory?
No you are right, they are to be inserted into the DLL again after edit.
Pointer #1. Take great care not to change bitmaps properties when editing. Must be EXACT same format when reinsterted.
Pointer #2. Remember to sign the DLL after save. This can be done with msigner (search forum).
 

nickwar

Member
Dec 14, 2006
32
0
0
OK, let me give that a bash when I get a chance. Thanks, appreciate the input.

Still no luck, the files have 1kb difference in size, but I'm not sure I'm using msigner properly. every time I use it I get an error 80070057.
 
Last edited:

nickwar

Member
Dec 14, 2006
32
0
0
Damn, so many little pointers.

Thanks for all the help. I finally managed to get the new dll across, but not all the images are being over written. I'll have to check and see if there is an over riding image somewhere.
 
Last edited:

1234556789

Senior Member
Aug 20, 2008
372
3
0
black dialer

Sorry, but there is a question left for me:
How do I change the ( white) background behind the telefonnumbers?
It is not a bmp or png file. - (for examplel :from the backgroundfile for the dialer is only used the grey coloured piece.)
It seems to be a dll file. Maybe phcanImages.dll .

But my knowledge is not good enough so i don´t know if it is the korrect file and if it is i don´t knowhow/what to change.
Do anybody have a tip?

Edit: I read the thread once more and see that you change the dll. So I chang my question : can you share the changed file? I don´t know if it works on my phone but mabe it is helpful for me or others .
If you do so- can you tell how/what you changed ?

thanks for sharing and sorry for my english
gandalf
 
Last edited:

nickwar

Member
Dec 14, 2006
32
0
0
Contact Highlight

How do I change the highlight behind the contact, the whole bar. I've edited all the green out of phcanImages.dll, but still it lingers. Is it somewhere else?
 

Attachments

1234556789

Senior Member
Aug 20, 2008
372
3
0
How do I change the highlight behind the contact, the whole bar. I've edited all the green out of phcanImages.dll, but still it lingers. Is it somewhere else?
I f you mean the green of the selected highlight- test changing
SmartDial_04.bmp- Maybe if the is no file it depends on the version of tf3d
regards
gandalf
 

1234556789

Senior Member
Aug 20, 2008
372
3
0
Actually no, it's a registry value.
HKLM\Software\HTC\PHONE\SmartDial\ClrMatchBkd REG_DWORD 0x00000000
And this value is really something.. I wanna say its 00RRGGBB but subtractive color model. So 0x0000ffff returns Red, 00ff00ff Green, and 00ffff00 Blue.
Play around with it.
Do I something wrong?
my clolouris very light. I looked for a ohter blue but
I don´t find the correct number of a darker blue.
Can you tell me ?

kind regards
gandalf
 

nickwar

Member
Dec 14, 2006
32
0
0
The way I got to my color is:-
1. open it in a graphic editor
2. invert the color
3. use invert color RGB (in Hex) in registry.

Not perfect but it's a good starting point.
 

1234556789

Senior Member
Aug 20, 2008
372
3
0
The way I got to my color is:-
1. open it in a graphic editor
2. invert the color
3. use invert color RGB (in Hex) in registry.

Not perfect but it's a good starting point.
-maybe not perfect.....but it works :)!
Thanks a lot !

Kind regards sorry for the english
gandalf

Still hoping someone will have a solution for the dll file for the background of the telefone numbers- but a ask so often, not much hope left.... Or maybe you had a tip?-I read you edit the phcanImages.dll
 
Last edited:

nickwar

Member
Dec 14, 2006
32
0
0
Text Colour when Highlight selected

Also need to change

HKLM\Software\HTC\PHONE\SmartDial\ClrMatchText_Sel REG_DWORD 0x00000000

so when you select the entry the highlight text changes too, as highlight changes to white.
 

1234556789

Senior Member
Aug 20, 2008
372
3
0
Also need to change

HKLM\Software\HTC\PHONE\SmartDial\ClrMatchText_Sel REG_DWORD 0x00000000

so when you select the entry the highlight text changes too, as highlight changes to white.
Thanks for the answer, maybe I explain it not very good:

I want to change the background of the text( the background of the whole text not only the selected number), not the textcolour.

Do you have a solution for that?
kind regards
gandalf
 
Last edited:
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone