yashsingh1/xdaforums huggingface dataset:
[EVO 4G Themes and Apps] _Burst_:
oh my bad.

the listing in the back. Even with the contacts inverted, this did not change. I assume that like all sense apps, this listing still looks to htc resources to have the white listing background and black text. Not the dialer part. But part of the apk.

Hope that makes sense.... its late... zzzzz

P.S.

Started looking through music app... where you even began is beyond me. >.<
[EVO 4G Themes and Apps] JsChiSurf:
Ahh, I got ya. Okay, it's on the todo list...
[EVO 4G Themes and Apps] Jacob1369:
Any chance of this mod to be ported over to DHD? Or what to replace in your flashable zips to make it work for it?
[EVO 4G Themes and Apps] JsChiSurf:
You'd have to speak to someone in the DHD forums I suppose. I don't have that phone, so I don't develop for it.
[EVO 4G Themes and Apps] Jacob1369:
Logical, will do... Thanks!
[EVO 4G Themes and Apps] cmylxgo:
I've done a few things with the DHD dialer...I would love to see how you enabled the custom font features. I tried every link in this thread but none of them work.

If you could etiher fix the links or post some of the code and files I can work on porting this to the DHD.

Thanks

-CMYLXGO
[EVO 4G Themes and Apps] JsChiSurf:
Links are up. We had some downtime on our corporate network earlier today.
[EVO 4G Themes and Apps] cmylxgo:
Thanks. Could you tell me what xml files you edited to change the font color?

I edited /values/styles.xml without any luck. I have also tried values/colors.xml. I can change some colors in the dialer...but not the dialpad numbers.

I attached a decompiled dump of the HtcDialer.apk that i am using in my build if you would like to take a look.

from colors.xml

WHITE: <color name="color_255_255_255">#ffffffff</color>

BLACK: <color name="color_0_0_0">#ff000000</color>

I edited styles.xml lines as follows...

<style name="text_style_dialer_button_number">

<item name="android:textSize">27.0sp</item>

<item name="android:textColor">@color/color_255_255_255</item>

<item name="android:layout_gravity">center_horizontal</item>

<item name="android:layout_width">wrap_content</item>

<item name="android:layout_height">wrap_content</item>

<item name="android:shadowColor">@color/color_0_0_0</item>

<item name="android:shadowDx">2.0</item>

<item name="android:shadowDy">2.0</item>

<item name="android:shadowRadius">1.0</item>

</style>

Thanks for any help you can provide.

-CMYLXGO
[EVO 4G Themes and Apps] TMartin:
I don't mess with the dialer much but did you check in /res/color?? There is a dialer_button_text.xml & button_text.xml there as well.

EDIT: On a side note instead of

<item name="android:textColor">@color/color_255_255_255</item>

you can just use this:

<item name="android:textColor">#ffffffff</item>
[EVO 4G Themes and Apps] cmylxgo:
I should have mentioned that I have tried #FFFFFFFF as well...but appearantly I am editing the wrong .xml file cause it has not affect.

I'll take a look at those files and test :) Thanks for the pointer.

-CMYLXGO
[EVO 4G Themes and Apps] cmylxgo:
No love with dialer_button_text.xml or button_text.xml either :(

-C
[EVO 4G Themes and Apps] TMartin:
Check this thread out....http://xdaforums.com/showthread.php?t=831644&highlight=dialer
[EVO 4G Themes and Apps] cmylxgo:
Thanks for the info...so it does appear that I knew what i was doing and editing the correct values...just no sure why the changes are not showing :(

-C
[EVO 4G Themes and Apps] TMartin:
I wonder if there are some smali edits to be made since it sounds like HTC might have changed some things up.
[EVO 4G Themes and Apps] cmylxgo:
Figured it out :) Using the info from your link I decided to try editing styles.xml in /res/values-hdpi like you have to for the Phone.apk and it worked :) Now let me push a couple more edits and I'll post up a sample.

-CMYLXGO
[EVO 4G Themes and Apps] TMartin:
Good to hear!!
[EVO 4G Themes and Apps] cmylxgo:
Work in progress...
[EVO 4G Themes and Apps] msl9150:
Please someone help.

I must be slow but I'm trying to just change the font on my dialer pad. The instructions in the OP seems easy enough but something is not working. The font doesn't change. I am using root explorer to change it but it not happening. This is what I am doing:

I downloaded the zip file to the D:/ drive. Go to system font and extract the file, then change droistrant.tff to dialer.ttf. Move it to my sdcard.

After that here is my problem. I go to root explorer on my phone and to my sdcard, find dialer.ttf and (do I) move or copy the file to my system/font folder I tried both ways. When I paste it to the system/font folder I can't find the dialer.tff on the folder. I go back to the sdcard and the dialer.ttf is still there like it hadn't been moved at all. I reboot and my dialer is the same as always.

I have read and I can't figure out what I am doing wrong. I hope someone can assist me.
[EVO 4G Themes and Apps] JsChiSurf:
Are you remounting your system partition as r/w (read/write), so that you have adequate permission to copy/paste the .ttf file into /system/fonts?

Also, this is semantics, but you mention system/font, as opposed to /system/fonts, so be sure you are pasting to the folder, and not to a file named 'font' in the system folder.

Lastly, I'm assuming before doing all else that you mentioned, that you actually first flashed the actual mod itself, correct?
[EVO 4G Themes and Apps] msl9150:
Thanks for answering so quickly.

I do have adequate permission as when I click the paste button a message pops up saying pasting in process or something like that.

To the second point, yes I am pasting to the folder fonts not a file.

What do you mean by flashing the mod. Maybe that is my problem.

I rooted my phone myself but when it comes to adding things thought root explorer I'm having problems and I'm not hundred percent sure how to add with adb. Still reading and learning.
[EVO 4G Themes and Apps] JsChiSurf:
The stock dialer does not support custom fonts out of the box. The whole point of this thread is the creation of a custom dialer that supports the use of its own custom font, that you flash via recovery (supplied via a link in the OP).

You have to follow all of the instructions, not just selectively...
[EVO 4G Themes and Apps] msl9150:
I thought that since I just wanted the font and not the black background that I would just have to download the font that I wanted but I think I understand that I I have to do all steps in order for this to work. Will try again and post back.

Thanks for your assistance.
[EVO 4G Themes and Apps] cmylxgo:
Speaking of adding custom font functionality...would you mind sharing what .xml filed you edited to make this happen? I am editing a Desire HD dialer and would love to add that functionality to it.

Thanks

-CMYLXGO
[EVO 4G Themes and Apps] JsChiSurf:
That's core functionality that would not preside in XML at all, but rather, decompiled java code edits.
[EVO 4G Themes and Apps] cmylxgo:
Figured that much...I'm parsing the .smali files now...java is not my strong suite. ASM, C++, Fortan, and Cobal or in my wheelhouse. Any direction would help since there are alot of files I'm going through right now.

-C
[EVO 4G Themes and Apps] msl9150:
Thank you JS for your assistance but I am going to give this up.

I downloaded MetaMorph from the market but when I try to run it it says that I don't have enough space in /systems. I have 93.67MB in free space and I don't know why it won't work, so I will leave it as it is. I found this thread from the font thead. Maybe my phone isn't compatible with MetaMorph. I don't know.

Again thanks for your help.
[EVO 4G Themes and Apps] one_love_420:
I would love to know where and what edits you did? I'm trying to do this for the shift got everything done expect the smali edits for the custom fonts. If you could explain a little more either here in the this thread or a pm that would awesome.
[EVO 4G Themes and Apps] cmylxgo:
I've found the the files that need to be edited but my Java is not the best and I think I'm missing something.

For Phone.apk you need to edit InCallScreen.smali

For HtcDialer.apk you need to edit Dialer.smali

I think this is the code that needs to be added under .method public setupContentView()V and would like some help from someone that knows java.

:cond_0
invoke-virtual {p0, v0}, Lcom/android/htcdialer/Dialer;->setContentView(Landroid/view/View;)V

const-string v0, "/system/fonts/dialer.ttf"

invoke-static {v0}, Landroid/graphics/Typeface;->createFromFile(Ljava/lang/String;)Landroid/graphics/Typeface;

move-result-object v6
[EVO 4G Themes and Apps] :
hi i don't arrived to change font color in white for my dialer.....

somewone can help me?? i put my apk for test it if you want...thanks ;)

http://www.megaupload.com/?d=W3X5VNCL
[EVO 4G Themes and Apps] bldon:
what if i want to go back to the original dialpad. how do i do it?
[EVO 4G Themes and Apps] Diablo67:
Where would i find system fonts,so i can change my dialer font to match the moddified sytem font i installed,through "absolute system root tools".Thanks for the great guide by the way.
[EVO 4G Themes and Apps] harry46222:
I'm on HTC EVO 4G running CM 7.1, tiamat 4.1.0 with a Honeycomb modded theme which affects the dialer keypad. I've tried flashing the zip and upon reboot, my EVO remains in boot. I believe its a boot loop but I cant tell because of my animation. Ive let it sit and it won't change. What am I doing wrong? Can it be the theme I'm using? I'd like to have this work but its not. Anyone have any ideas?
[EVO 4G Themes and Apps] harry46222:
Ok. After a little investigation work, I've concluded my dialer layout is causing the issue. It doesn't look nothing like what you show in your captures. Hopefully you can see the image of my dialer. Please confirm if the dialer is the problem.
[EVO 4G Themes and Apps] tommytomatoe:
@Harry

This is a sense mod. You're on aosp. Not compatible.

Not to mention this is an outdated froyo-sense 1.0 apk.

all you need is a lovely signature.
[EVO 4G Themes and Apps] swagstr:
Tommy make this happen for Gingerbread! :D
[EVO 4G Themes and Apps] tommytomatoe:
I forgot about this mod until I perused the forums last night. It's aa cool idea for v0.0.5 :-)

JsChiSurf will always and forever be my mod hero. He is listed in pretty much all of my tthreads somewhere for credits. Its true. Lol.

But if I do get this I'll share with you and everyone else.

all you need is a lovely signature.
[EVO 4G Themes and Apps] bldon:
hi tommy.. i got a question for you. if i install this dialer but later on decide to uninstall it, how do i return to my original dialer? how do i do it?
[EVO 4G Themes and Apps] tommytomatoe:
First, this wont work on any current roms.

But to return to original state put back the files Phone.apk and HtcDialer.apk from original rom zip.

all you need is a lovely signature.
[EVO 4G Themes and Apps] bldon:
hi tommy .. well i got virtuous unity 2.39 installed on my htc inspire 4g. are you saying that your dialer skin wont work on my rom?

i really like this black dialer skin. it looks much better than the sstock android dialer.
[EVO 4G Themes and Apps] tommytomatoe:
Well this isn't my mod. Lol. It's JsChiSurf's.

And no it will.not work in zany recent roms. This is based on sense 1.0 with froyo.

all you need is a lovely signature.
[EVO 4G Themes and Apps] karaokesteve:
dialer trouble...

Hey, I've been a reader for a minute and I just signed up so I could ask about a problem I'm having. I'm pretty new to all of this flashing stuff so please excuse any noobery. I went ahead and flashed the first royal blue file in amonRA, as soon as I boot up I begin getting the force closes and I assumed this was normal. I went ahead and put the second metamorph file into the android themes folder on my sd card. I'm able to use metamorph to get the 2nd thing applied even through all the force closes. The phone freezes and goes straight to the boot animation screen. I left it there for a minute and then pulled the battery. I power it on and it gets past the splash screen to the boot animation where it stays... refuses to boot at all. Any advice? I've restored my nandroid and tried again a couple of times to no avail...

I've followed the instructions to a tee with no luck. evo 4g, synergy rls1, freedom aggressive universal. any help is greatly appreciated
[EVO 4G Themes and Apps] tommytomatoe:
Please read the mini conversation I had above your post.

This mod is outdated and is for froyo roms, EVO ota based 3.70. It will not work on synergy.
[EVO 4G Themes and Apps] karaokesteve:
well that certainly explains it, forgive me in my haste. I should have tried to read that but have been anxious. Thank you for clearing that up, though.
[EVO 4G Themes and Apps] binlad:
i got an htc inspire 4g, running virtuous unity v2.39. i dont unsderstand the instructions on how to install this dialpad. i got 3 questions:

1) what is 'update.zip'? i cant find it.

2) i just want to install the black dialpad, not change any font. how do i do this?

3) do i flash 'com.htc.resources MetaMorph for black dialer' in recovery?

all i want are step-by-step instructions on how to install the black dialpad WITHOUT installing fonts. please provide.. thank you.
[EVO 4G Themes and Apps] Papa Smurf151:
This won't work on your phone nor will it work on evos anymore cause its back before the gingerbread update. Go to your phones section and search for what you need there.
[EVO 4G Themes and Apps] binlad:
hi papa smaurf.. i tried going to my phone's section.. and theres nothing. i really need this dialer badly. can you point me in the right direction?
[EVO 4G Themes and Apps] clintwinstead:
Thanks, for the hard work. The black dialer looks great.
[EVO 4G Themes and Apps] JsChiSurf:
I based it off black since this is my personal preference, but you can really make it any color you want very easily. Since I changed the fonts to white / gray, it really only works well on a darker color background.

So, to change the dialer background / button color, all you have to do is open up 2 files, in the '/res/drawable-hdpi/' folder of com.htc.resources.apk:

phone_keypad_background.png

htc_pin_asset_rest.png

And change them (color fill) from black to whatever color you prefer. I've attached both files for your reference. I can certainly do this for you if you want / and provide another MetaMorph, but that should get you going.
[EVO 4G Themes and Apps] midnightmaraude:
well i try renaming the fonts but they say insufficient privledges

I assume i have to make dir rw? Is that command chmod +rw?
[EVO 4G Themes and Apps] myn:
Nice work buddy :)
[EVO 4G Themes and Apps] BigSK225:
Thanks....worked great. Is there any way to change the font color to red????
[EVO 4G Themes and Apps] Max_Pain:
worked great man. you got pm about making some changes for me.

but i'll ask on here for the general benefit of the people.

1) can the top and bottom grey bars be changed to match the black background, so it's all one piece?

2) what file do you edit to change the color? if you specify that here people could change it to their own color without having to request that you do it.

:D
[EVO 4G Themes and Apps] midnightmaraude:
Seriously. If i cant change the namw of the font due to insufficient permissions what do i do?
[EVO 4G Themes and Apps] noregretzzzz:
What I did for now was checked out the links from the fonts thread, downloaded the font from the source link, open up whatever file manager u use find it in the download folder, rename to dialer.ttf and replace the old dialer.ttf in the location op stated. Using hand of sean for right now.

Swyped from my fresh evo
[EVO 4G Themes and Apps] JsChiSurf:
Ha, thanks. You knew it was coming :p.

Sure, when I get a chance, I'll put together a few MetaMorphs for picking / choosing different font colors.

I'll take a look and see what I can do.

What are you using to try and put the file into /system/fonts/ and change the name? A utility on the phone, or plain old adb commands? I can help you with adb commands if you are setup, but I'm not familiar with / don't use file explorers to do this kind of stuff. It does appear to be a simple permissions issue.

That font works pretty well, nicely done.
[EVO 4G Themes and Apps] JsChiSurf:
Here are a few more option for changing the font colors on the dialer/keypad, and also swapping out the 'call' button color to match the font color.

When I changed the font, for example, to red, the green 'call' button, imho, looked horrible, so I just modified these to match. It looks complementary on the black with white dialer, but not so much, with other color fonts, where it clashes instead.

Instructions for applying are IDENTICAL to those listed in the OP. These files are completely self contained, and are a 2-step process. The first file, to be flashed via recovery, installs a default dialer font, as well as the modified apks for HtcDialer and Phone.

The second file, to be applied using MetaMorph, updates the necessary images located in the com.htc.resources.apk file. It is necessary to be a MetaMorph, again, as mentioned in the OP, to prevent undoing other themes / modifications you may already have on your phone, contained within the com.htc.resources.apk file.

As usual, MetaMorph will/may puke all over you while applying. Don't worry and LET IT FINISH. You will get many force closes, and you need to keep canceling them out until they go away and/or the MM says complete, or you see the Market eventually force close. When it has finally finished, I am typically seeing a force close on the Market. When you see this, you can feel comfortable it has completed and therefore reboot. when in doubt, wait it out. You will probably get hundreds of FCs that you need to cancel out to keep the MM moving.

The links below contain the files for changing font/buttons to red, blue, or green. I can add more as desired / time allows / requests come in, though, I consider myself more of a modder and less of a themer, and prefer to focus on that the actual modding end of things.

Note, if you want to change the background color of the dialer, as opposed to the font color, see up a few posts in this thread, where I have attached the 2 files that you need to change, as well as stating the location where they go. Be careful, as you can end up with background colors that don't work with the font colors supplied, making the numbers / letters difficult to see.

Without further ado, here are the links to the files:

Red font / button:

Step 1:

Download Red HTC Dialer <--- Flash via Recovery

Step 2:

Download com.htc.resources MetaMorph for red dialer <--- Apply using MetaMorph

Blue font / button:

Step 1:

Download Blue HTC Dialer <--- Flash via Recovery

Step 2:

Download com.htc.resources MetaMorph for blue dialer <--- Apply using MetaMorph

Green font / button:

Step 1:

Download Green HTC Dialer <--- Flash via Recovery

Step 2:

Download com.htc.resources MetaMorph for green dialer <--- Apply using MetaMorph

Royal Blue font / dialer:

Step 1:

Download Royal Blue HTC Dialer <--- Flash via Recovery

Step 2:

Download com.htc.resources MetaMorph for royal blue dialer <--- Apply using MetaMorph
[EVO 4G Themes and Apps] JsChiSurf:
Just added a green font option above as well. I think I like it better than the original white, as it matches nicely with the stock green 'call' button.
[EVO 4G Themes and Apps] BigBallin:
noob alert. i have no idea what a meta morph is. i would like to use this dialer
[EVO 4G Themes and Apps] JsChiSurf:
MetaMorph is an application you download from the market (free), that allows you to modify existing files on your phone, w/o replacing the file wholesale. This is important, especially for certain files in this mod, since, if I were to redistribute the entire apk as a flashable zip, it would end up un-doing many changes you may have previously made. Again, MetaMorph prevents this from happening.

After installing MetaMorph and running the first time, it will create an 'AndroidThemes' folder on the root of your SD card. Grab the MetaMorph file from the OP, after flashing the first from recovery, place it in the 'AndroidThemes' folder on your SD card, open up MetaMorph, select the zip you just placed on your card, extract and apply.
[EVO 4G Themes and Apps] Max_Pain:
just installed the blue metamorph (although i dont use the metamorph file, i edit the apk myself). i also made some other changes that i think would be nice to have already included.

when you press a button in the dialer it shows the original button background. i changed mine to be the same all black file as the _rest button but made it so it has a border the same color as the font. you could do this for all the colors, so that when you press a button it just shows a border around the button in the same color as the font/call button.

the file to edit is htc_pin_asset_pressed.png i believe.

i dont know how much other people would care for that but i personally like it.

mattedblues + this = win :D

now just missing to change the bars on top and below the dialer background...

EDIT: the bottom bar for the dialer is common_main_panel_navbar.9.png under com.htc.resources.apk /res/drawable-hdpi/ :-)

now only missing the top bar!
[EVO 4G Themes and Apps] BigBallin:
thanks for the reply.
[EVO 4G Themes and Apps] midnightmaraude:
Ummm im trying to rename the fonts in system/fonts using astro. What file are you talking about?
[EVO 4G Themes and Apps] Androidious:
Thanks JsChiSurf! My Warm RLS 2 is badass looking now but with this mod, everything matches perfectly. You rock

Sent from my HTC EVO running Myn's Warm TwoPointTwo RLS 2 with all the extras
[EVO 4G Themes and Apps] BigBallin:
what font did you go with? got screenies?
[EVO 4G Themes and Apps] JsChiSurf:
Dude, you're not even giving me a chance to reply to your PMs and posts w/o you going ahead and making the changes, love it! I really prefer, as mentioned above, to hack, and give people a starting point for them to take it an run with.

If I'm not mistaken, the only thing left for you to change, to your liking, is the top bar with the numbers get entered when typing. This image is in com.htc.resources.apk, located:

\res\drawable-hdpi\phone_accumulator_bg.9.png

Be careful, as it is a .9 png WITH transparency, so you'll want to make sure you run it through 9patch after editing.

When I originally did this mod, I had both the button rest and but press black, but I personally didn't like it, as you lost any sort of indication of the press. I went back and looked at what I did on the Hero (again, personal preference), and saw I kept the "press" images to what they where, so that the button highlighted. Moral of the story, based on files I've provided, it is very easy to rip them open, see what I've changed, and adjust to your liking. Nice work.

Sceen shot?
[EVO 4G Themes and Apps] JsChiSurf:
Lol, we're talking the same thing. A utility on the phone = a file manager, such as astro, versus using adb to shell into the phone and manually change things.

Either method is going to require you to be able to adjust permissions (r/w mode), in order to change things within system. If you are not comfortable doing this, attached your font to a reply, and I simply make it into a flashable zip for you to apply via recovery.
[EVO 4G Themes and Apps] JsChiSurf:
Nice, let's see that bad boy!
[EVO 4G Themes and Apps] Max_Pain:
you sure that's the right file? it seems very small and not even in the right shape for the bar im thinking of? what is 9patch? the bottom bar was a .9 png and my usual way of opening/saving with photoshop worked just fine.:confused: