yashsingh1/xdaforums huggingface dataset:
[EVO 4G Themes and Apps] JsChiSurf:
Ha, that's the first person that's asked me if I'm sure in quite some time :D.

That's your bad boy, and if you already went ahead and edited the other .9 png w/o properly applying the 9patch values, you are going to run into trouble elsewhere on your phone where the image is shared. You are also lucky that you did not get a boot loop when pushing back to your phone.

A 9patch png allows you to create an image that is both stretchable on the x and y axis, as specified when creating a 9patch, as well as instructing where within the image text may appear. This allows you to create a single image that can be utilized across multiple locations within android / htc's file system, rather than having a different fixed size image / button for every single instance based on the width of the text within or resolution of the phone.

http://developer.android.com/guide/developing/tools/draw9patch.html

Nine patch files actually need to be created then compiled into an apk and then pulled out of the newly compiled apk for insertion back into the original apk. That's old style, but that's how I do it. I think apktool can assist in modifying / applying 9patch parameters automatically, but I've never gone that route.

If you want, modify the file to your color specification, and I can create the 9patch for you and attach back to this thread.

EDIT: So, I took a look at the bottom bar graphic, and can see why you did NOT run into trouble with that one. Even though it is a 9png file, it still appears to be fully sized, w/o any patches applied / instructions for stretching. Not sure why they made it that way...
[EVO 4G Themes and Apps] Max_Pain:
wow i had no clue .9.pngs were so complex. no wonder i always see people talk about them.

yes please!

i attached the file. i want it to be black. i made it black on photoshop but if its a transparent file, is it going to look grey?:confused:
[EVO 4G Themes and Apps] JsChiSurf:
Not if you removed the transparency / opacity. I'll patch it up and reattach.
[EVO 4G Themes and Apps] markeloakes:
sorry to bother u again but could u make a meta theme with black background for the dialer and green dialer buttons
[EVO 4G Themes and Apps] JsChiSurf:
Here you go, give this a shot and let me know if it works for you, untested.
[EVO 4G Themes and Apps] midnightmaraude:
No im good. I used to hack tivos and have a lil unix under my belt
[EVO 4G Themes and Apps] JsChiSurf:
Okay, then I'm confused on why you're finding this problematic...
[EVO 4G Themes and Apps] Max_Pain:
thanks. worked great. the phone did bootloop once, but it did it with the other flashes i did before this .9.png file. after the first bootloop it works fine and doesnt bootloop again.

i attached a picture of how it looks now. the blue box around the 0 is how it looks when the button is pressed.

two things

1) need that modified resources.arsc to match the font to my blue (i pmed you the hex code for it)

2) when you're in a call and you bring up the dialer, it seems that dialer uses another xml file. it still has the same files, but the font is the stock one. i'm assuming it's just a matter of editing another .xml file?
[EVO 4G Themes and Apps] makskylan:
I am trying to resize a png from 284 X 74 to 158 X 81. The program that I have will not let me. Any program I can try. I tried PhotoShop but my netbook won't install it.....
[EVO 4G Themes and Apps] JsChiSurf:
Are you looking for solid green or a green outline / border on black?

Here's an example of one I did by request w/ a green highlight / border on the button press:

I've attached the button press image at the end of this post. You can grab it and drop in the /res/drawable-hdpi folder of com.htc.resources.apk.

Looking good.

At your service (remove .txt extension and drop in root of HtcDialer.apk)...

Blue color match font

Yea, just noticed this too. I have to dig in, but I'm pretty sure once you're in a call, you are switched from HtcDialer.apk to Phone.apk, so I suspect I need to dig around and find it there. I'm on it.

Most / any / all editors allow you to do that as a basic function. Sounds like you are changing the proportions, and as such, whatever program you are using, you need to tell it to not 'constrain proportions'. If not, give Gimp a shot.
[EVO 4G Themes and Apps] Max_Pain:
thanks for the continued support!

i'm in school all day today, but as soon as I get home i'll try out that resources.arsc file and report on it.

regarding the other dialer, even if its Phone.apk, it's still use the same images, so it's still going to be down to a code issue correct? let me know what you find out. would like to have them matching:D
[EVO 4G Themes and Apps] JsChiSurf:
Right, it's code that is the issue, not images, but that's the hard part! I have to rip it apart and see if I can even apply the same coding changes for applying custom fonts, xml changes for layout, etc. It's basically starting from square one. All of that, based on the knowledge / assumption that I have to switch focus now to Phone.apk...
[EVO 4G Themes and Apps] JsChiSurf:
Okay, after four hours straight of coding and debugging, I was finally able to retrofit Phone.apk with the same mod for custom font and layout, to match what was done in HtcDialer.apk (original mod).

The links in the OP have been updated accordingly. They are the same file names, so if you've already applied both files, just re-download and re-apply, in order to make sure that the "in call" keypad (Phone.apk) matches with your dialer keypad (HtcDialer.apk).

I am next going to work on modifying the other MetaMorphs I put up for changing font color from default white, to red/blue/green. Once done, I will post a follow up.
[EVO 4G Themes and Apps] Max_Pain:
damn dude! thats a lot of time and effort you put into this...i hop you get some money for your time.

can't wait to get home and try this out.

is the phone.apk going to use the same resources.arsc implemented under htcdialer.apk? (i.e. do I need to request another custom blue resources from you or can I use the other one?)

donation coming your way tonight for your hard work!

Swyped from my HTC Evo 4G on the MetroPCS 1X network!
[EVO 4G Themes and Apps] JsChiSurf:
Yah, this stuff can take up a lot of your time. Ironically, I'm home from the office today w/ strep throat, so I have plenty of time to work on this stuff.

It is a separate / standalone .arsc file, so if it is not part of the stock red/blue/green I've already done and an redoing, then it will require another redo.
[EVO 4G Themes and Apps] JsChiSurf:
Okay, all links to downloads in this thread have been updated to include BOTH the dialer & keypad mod.

I initially provided the font color change options as a MetaMroph after applying the initial mod in the first post, but after adding another apk to the MetaMorph (Phone.apk), I simply could not get MM to complete successfully on changing all three apk files during a single run.

So, I made the font color change options (red, blue, green) a self-contained 2 step application as well, just like the OP. You do not need to apply the mod from post 1 before applying a specific font color version.
[EVO 4G Themes and Apps] Max_Pain:
thanks for the effort you've put into this!

one more request...can I have a matching blue resources.arsc for the phone.apk?

Swyped from my HTC Evo 4G on the MetroPCS 1X network!
[EVO 4G Themes and Apps] JsChiSurf:
I'll probably get to it a little later tonight. I need a break for a bit!

Here's one more thing, for those who want it. After applying any of the mods provided, if you want your top and bottom bars to be black, to match the main black background, similar to what Max_Pain did, attached is a MM to apply the black bars, both of which have properly edited .9 png files :p. Thanks Max_Pain for the suggestion.

Black Dialer / Keypad Header & Footer <--- Apply using MetaMorph
[EVO 4G Themes and Apps] JsChiSurf:
Okay, below is a link to the resources file for Phone.apk (be sure to remove the .phone.txt extension)

Blue-ish Phone.apk Resources.arsc File
[EVO 4G Themes and Apps] Max_Pain:
thanks a ton for the work dude. everything worked. the phone.apk, the htcdialer, the custom blue resources files (both). this came out great and exactly how i envisioned it after i first saw your work.

sent a little donation your way. i'm still in school so dont have a lot of free cash, but at least something to buy you a couple of beers and show my appreciation for your work:D

now if everyone else here sent you something you could quit your daily job and work for the Android community at large!:cool:
[EVO 4G Themes and Apps] JsChiSurf:
Ha, glad it worked for you out of the box. No screenies of the final product?

Thank you for the donation by the way. Certainly not necessary, but greatly appreciated.
[EVO 4G Themes and Apps] Max_Pain:
looks the same as my last screenshot but with matching blue :-)

Swyped from my HTC Evo 4G on the MetroPCS 1X network!
[EVO 4G Themes and Apps] JsChiSurf:
Lol, forgot you posted that one up earlier...
[EVO 4G Themes and Apps] JsChiSurf:
Black Dialer Green font / button / button press / black header & footer:

Step 1:

Download Green/Black HTC Dialer <--- Flash via Recovery

Step 2:

Download com.htc.resources MetaMorph for green/black dialer <--- Apply using MetaMorph
[EVO 4G Themes and Apps] makskylan:
I using have been trying to modify my dialer. What is the file name for the area above the keypad background? I would like to make it black instead of gray.... thanks.

Sent from my PC36100
[EVO 4G Themes and Apps] JsChiSurf:
Okay, since it's Friday, I'm going to be nice :).

Two pages back is this very thread you'll find this:

http://xdaforums.com/showpost.php?p=8861768&postcount=47

And one page back, you'll find a MM for making both the top and bottom black:

http://xdaforums.com/showpost.php?p=8880343&postcount=60
[EVO 4G Themes and Apps] makskylan:
I installed the two files by copy and pasting through 7zip. Flashed the new theme that I added them to, and all is well except on my two browsers that I have force close. Any idea why this happens??? Can I do this with (. 9 png) files like normal png files?

Sent from my PC36100
[EVO 4G Themes and Apps] JsChiSurf:
Huh? I'm completely confused on what you are asking.

The files I provided you are 100% self contained to apply all the changes as shown in the screen captures.

What are you asking now? The sentence above is incoherent to me.
[EVO 4G Themes and Apps] JsChiSurf:
No idea, but not related to this mod.
[EVO 4G Themes and Apps] Max_Pain:
actually it is related. one of the two files we made black is now the top bar in the stock froyo browser (behind the address bar). so i'm thinking his file didnt go in there right and that's messing up his browser.:confused:
[EVO 4G Themes and Apps] JsChiSurf:
No, it's not. At least not if it was applied using the files "I" provided.

Did he apply the black header footer with my metamorph, using the properly edited .9 pngs? If so, there "shouldn't" be any force closes related to my mods. Now, if he's using an improperly modified .9 png, as mentioned previously, that's a different story...

Sent from my HTC Evo
[EVO 4G Themes and Apps] markeloakes:
this...........(Here's an example of one I did by request w/ a green highlight / border on the button press:)

the button turns grey when i press the dialer keypad.
[EVO 4G Themes and Apps] JsChiSurf:
Did you apply the MetaMorph in step 2 from the post I provided for the green/black dialer? If not, you must. If you did, retry, as it must not have taken. The green highlight is part of the button press image in the Step 2 MetaMorph.
[EVO 4G Themes and Apps] markeloakes:
ok thanks . i did all the steps .everything looks good except when i press the button . im goin to do step 2 again
[EVO 4G Themes and Apps] ewalk4866:
Ok so what fant are you using for this dialer? I really like the way it looks
[EVO 4G Themes and Apps] JsChiSurf:
I'm not sure it's clear which screen capture you're referring to...
[EVO 4G Themes and Apps] ewalk4866:
ok sorry on the first page bottom right
[EVO 4G Themes and Apps] erack3:
Works perfectly. Can someone one with orange call button and orange when button pressed?
[EVO 4G Themes and Apps] JsChiSurf:
I think you're talking about fatboy.ttf, which you can pull from the killer fonts thread.
[EVO 4G Themes and Apps] ewalk4866:
Thanks for your help
[EVO 4G Themes and Apps] JsChiSurf:
You just want orange for the call button and button press highlight, but keep the font color you are already using?
[EVO 4G Themes and Apps] erack3:
yeah. and if you have time could u also use the same call button that xxbabiboi228xx used in his carbon theme?

Just want a BLACK and ORANGE look for my phone. SF Giants gonna win the World Series.

Here's the orange SF logo with transparent background for anyone who wants it. I recommend using with DV.

http://db.tt/UJcMFfS
[EVO 4G Themes and Apps] JsChiSurf:
The attached MetaMorph, after applying the full mod of your selected dialer, will change the bottom button to orange, and apply a matching orange box around each key when pressed.
[EVO 4G Themes and Apps] erack3:
Just downloaded it. Thanks
[EVO 4G Themes and Apps] jeffsanace:
You can change the fonts on the fly using root explorer. Put the font you want on sd, rename to dialer.ttf and move it to system/font and paste. Match the permissions and reboot, works like a charm every time.
[EVO 4G Themes and Apps] JsChiSurf:
Sure thing. Any means by which you can place the file into your /system/fonts folder will suffice, be it adb push, using and update-script, root explorer, etc.
[EVO 4G Themes and Apps] JsChiSurf:
Assuming this did the trick for you?
[EVO 4G Themes and Apps] Max_Pain:
hey bud got my pm?

Swyped from my HTC Evo 4G on the MetroPCS 1X network!
[EVO 4G Themes and Apps] erack3:
Yes sir no complaints
[EVO 4G Themes and Apps] chillenandy321:
I just added the Green font one as well but only the * and # came in green?
[EVO 4G Themes and Apps] JsChiSurf:
Sounds to me like you applied the MetaMorph w/o first flashing the main mod via recovery.
[EVO 4G Themes and Apps] chillenandy321:
I flashed the first and metamorph the second
[EVO 4G Themes and Apps] chillenandy321:
I'm gonna do both steps all over again see if that works
[EVO 4G Themes and Apps] chillenandy321:
Everything works when you press buttons they hightlight and # and * light green but other green numbers are not green.. Thanks
[EVO 4G Themes and Apps] JsChiSurf:
Are you using the green dialer in the post with the 3 colors, or the alternative green dialer where the head/foot are made black?
[EVO 4G Themes and Apps] chillenandy321:
the alternative green dialer with when you press number and green box comes up around it and head/foot is black
[EVO 4G Themes and Apps] JsChiSurf:
Try re-downloading just the Step 1 zip to flash via recovery and let me know if it fixes the issue. I think I provided the wrong zip file for the link.
[EVO 4G Themes and Apps] chillenandy321:
Ok I will try now and get back in a min thanks
[EVO 4G Themes and Apps] chillenandy321:
Same as before..
[EVO 4G Themes and Apps] chillenandy321:
I get a few FC but not too many and the phone doesn't freeze like you were saying when applying the second step
[EVO 4G Themes and Apps] JsChiSurf:
I flashed / verified / and uploaded to confirm. So I can personally confirm / vouch for the file, so I'm not sure what's going on for you. You are flashing GreenBlack_Htc_Dialer.zip, correct?
[EVO 4G Themes and Apps] chillenandy321:
Yes Maybe I will try the other Green one in the first 3 color section.
[EVO 4G Themes and Apps] JsChiSurf:
Humor me if you could. I'm thinking my upload and your download crossed paths. Try one more time if you could by re-downloading the GreenBlack_Htc_Dialer.apk, and if you still don't get green fonts, I'm at a loss...
[EVO 4G Themes and Apps] chillenandy321:
Ok lol I flashed the Green one in the first set of 3 and on reboot it worked for the alternative one. OK last thing a simple font change procedure for the dialer. Can I just flash a font over your dialer mod to change the phone and dialer all in one?
[EVO 4G Themes and Apps] JsChiSurf:
Cool. Just follow the instructions in to OP to change your font and you should be good to go.
[EVO 4G Themes and Apps] chillenandy321:
Can I just flash a font over your mod to change the dialer and phone all in one?
[EVO 4G Themes and Apps] JsChiSurf:
The whole point of the mod is to be able to customize the font for the dialer.

Just pick your font, rename it to dialer.ttf, push it to /system/fonts and reboot, as explained in the OP.
[EVO 4G Themes and Apps] chillenandy321:
Thanks so much for the Help!! I'm telling all my Evo friends tomorrow to do your mod
[EVO 4G Themes and Apps] chillenandy321:
How do you push this? I dl the font zip I wanted and renamed it to dialer.tff so after that now what?
[EVO 4G Themes and Apps] JsChiSurf:
Assuming the 'dialer.ttf' file is in the same location (folder) where you are issuing your adb push commands, issue the follow commands:

adb remount
adb push dialer.ttf /system/fonts/
adb reboot

When your phone comes back up, you will see your shiny new font on your dialers.

Alternately, if you use Root Explorer, drop the dialer.ttf on your sdcard, navigate to it using root explorer, long press to copy to your clipboard, navigate to your /system/fonts/ folder, click 'Mount r/w', and paste.
[EVO 4G Themes and Apps] chillenandy321:
Wow now I have a black dialer screen!! What to do? i used root explorer and did step by step..
[EVO 4G Themes and Apps] JsChiSurf:
Not sure what you mean by "take". The adb push method will automatically over write the existing file.
[EVO 4G Themes and Apps] chillenandy321:
Now my dialer is black except the * and # what to do? i used the root explorer method. All I did was dl a font.zip file and put into sdcard then renamed it to dialer.ttf and went into root explorer copied it then went into system/font folder then pasted it then reboot. Do you need to unzip that file or something or just rename it?
[EVO 4G Themes and Apps] JsChiSurf:
You just fubar'ed your font completely!

You have to extract the fonts out of the .zip file.

After opening the zip file, grab the font named droidsans.ttf, rename it to dialer.ttf, and drop that file into the /system/fonts/ folder.
[EVO 4G Themes and Apps] JsChiSurf:
FYI, the OP has been updated to include detailed instructions for downloading a font pack, extracting the 'DroidSans.ttf' file, renaming it to 'dialer.ttf' and moving to your phone. I was probably a little too near sighted in assuming everyone would know how to do this w/o instruction.
[EVO 4G Themes and Apps] chillenandy321:
Thanks!! Your the BOMB it looks rockin!!!
[EVO 4G Themes and Apps] JsChiSurf:
Come on, let's see your work! Post up a screen shot.
[EVO 4G Themes and Apps] chillenandy321:
Here ya go and thanks again
[EVO 4G Themes and Apps] JsChiSurf:
Nice. What font did you go with?
[EVO 4G Themes and Apps] popular nobody:
JS, do you think you could create one with the royal blue color? I want to switch it up between that and sky blue, with Rip's theme. Thanks for the mod, though. I knew as soon as you made the switch from Hero to EVO, we'll get work like this. Now I need you to come over to Epic 4G as well. And Koni, wherever he disappeared to.
[EVO 4G Themes and Apps] JsChiSurf:
Ha, thanks! I really struggled between the Epic and the EVO, but it really came down to my comfort / familiarity with modding HTC ROMs, and the majority of Hero owners that went to the EVO as well (familiar faces).

If you want to let me know the exact RGB hex code for the blue you want to use, Ill knock it out for you.

And yes, wondering where Koni went as well. He used to PM me a lot for assistance with some of his stuff, and I was always glad to help.
[EVO 4G Themes and Apps] bboy_201:
thanks

trying it now! thanks for the customized files!
[EVO 4G Themes and Apps] popular nobody:
I've told a few others about that same fact. Epic 4G is a great phone, but its community will not compare to HTC and its hacker presence. That will be something to think about, with LG and Mototola next year, as well.

#0000FF is the one I'm going to go with. Thanks again.

Edit: I don't want to dwell on this for too long , since I'm not sure if it's considering warez. Have you ever tried to theme swype, if that's what you use?
[EVO 4G Themes and Apps] bboy_201:
Thanks again

before i can think of changing the color i find them here. I now have the red with the groupsex font which it lol!!!
[EVO 4G Themes and Apps] JerzyIroc:
Hey dude.. Absolutely amazing work. I've been working on my own personal theme for a few days now (not just the dialer). The last thing I'm working on is actually the dialer. I've changed everything I've needed to change but I've been searching for literally hours trying to find the XML file to just change the font color. I want to leave the font, and layout exactly how it is, I just want to change the font color. Not sure what color yet though. What's the XML file name where I can change the font color?
[EVO 4G Themes and Apps] chillenandy321:
Font-Comfortaa
[EVO 4G Themes and Apps] JerzyIroc:
Does this work on Nonsense roms?? I flashed the first one, htc dialer and font on VaelPak, and now my Contacts and Phone dialer are gone....
[EVO 4G Themes and Apps] NilsP:
I have tried these in my 3.26.605.1 based ROM and the Phone.apk breaks the voice mail notification. In other words you do not get the notification bar icon for new voice mail. I have tried changing the color of the text in the Phone.apk and can't get it to take.

Could you point me to what files need to be edited to make the dialer and phone button text white. OR just mod the attached stock ones for me? I am not worried about rearranging the text or font just the color.

By the way, I did give you credit in my ROM for the dialer since I really do appreciate your work.

Thanks Nils
[EVO 4G Themes and Apps] JsChiSurf:
Just straight / stock blue? No problem :-) Sorry for the delay, I've been a little overwhelmed with stuff lately and crashed early last night. BTW, yes, I've customized Swype in the past, and even hacked the code to change the trace color, etc

Below is a link to the files to flash then morph for turning your dialers to stock blue (royal). I also added a nice little tweak to this one, just for fun, as I can't stand it when things don't match, and that is to turn the 'search' highlight from green to blue as well, when you are entering a name / number to call, notice the numbers up top are highlighted in blue rather than stock green:

Royal Blue font / dialer:

Note, the font in the screen capture is the custom one I am using, the files provided just flash the stock font for the 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:
For HtcDialer, the font color is controlled / can be changed in the '/res/values/styles.xml' file.

And, no, this is not for non-sense ROMs, as this is a mod to the HTC specific dialer and phone apk(s).
[EVO 4G Themes and Apps] JsChiSurf:
I'm currently running 3.29.651.5, and am not having any issues with vm notifications.

For HtcDialer.apk, see a post up for font color. For Phone.apk it's in '/res/values-hdpi/style.xml'.
[EVO 4G Themes and Apps] JerzyIroc:
Awesome. Thanks dude. Found it and changed it. Btw, it does work on some Nonsense roms as long as they included the Sense Dialer in it. I use the Sense Dialer on VaelPak and it's a Nonsense rom. Awesome job on this dialer theme. It's really really really sick.
[EVO 4G Themes and Apps] NilsP:
I guess I have reached my level of incompetence.

I try to make the changes but with both APK Manager and straight apktools but I can't get a working apk with either.

With APK Manager I get in trouble when I have to decide what to include from the old or remove from the keep folder. Obviously if I include everything it overwrites the changed files.

Getting very frustrated and ready to give up after not being able to get a simple change font color through.

If anyone more competent then me can just change the button font in the 2 apk's I posted above I would really appreciate it. Just the color of the number to white is all I need.