Dialer Modification - Droid Incredible Themes and Apps

Hey guys - looking to mess around with some custom UIs. I can't figure out what files need to be edited to change the dialer buttons. Can anyone point me in the right direction?

adb pull the framework-res.apk (located in /system/framework) and check the drawable folders (located in res). you could also check the htcdialer.apk (located in /system/app)

I've tried both files and I'm having no luck.I even tried pushing the htc dialer apk and the phone apk from other roms with no luck. I don't see anything in the framework or htc framework files.if someone knows the exact files to edit I'd be thankful.
Sent from my Droid Incredible using XDA App

Its in the contacts.apk

Aha! Didn't try that one. Thanks for the tip.
Sent from my Droid Incredible using XDA App

Anyone know how to change the text color on the keys?
Sent from my Droid Incredible using XDA App

Okay, so I had no luck with the contacts.apk either... anyone have any clue what I'm doing wrong?

try using someone elses theme, and re-edit theres..

ACD168 said:
try using someone elses theme, and re-edit theres..
Click to expand...
Click to collapse
I've actually tried that too. I just can't seem to find the correct PNG files. There are some in the Phone.apk but I tried swapping those and nothing changed. I downloaded thew framework theme of Redemption Revolution Rom - I literally pulled apart every apk and then did a search for all png files. Still didn't see the dialer buttons. I applied the theme to my phone, and the dialer buttons changed, so they have to be in there somewhere!!

I know on virtuous they are in HtcDialer.apk /res/drawable-hdpi if i remember right. and the button press color was in com.htc.resources.apk id have to look on my pc to be absolutly sure
•Sent from my Incredible

Well I found the actual button graphic, it's in com.htc.resources.apk. Now i'm just trying to find out how to patch the text color.
Anyone know that part? I'm almost there!

I'm pretty sure the dialer text is controlled by an xml file in the dialer.apk - what program should I use to make edits to the xml files?

Is there any way to edit the way the Android dialer displays the numbers you dial on the phone? This is something that the iPhone does really well, where it will split the numbers up into something like (800) 555-5555 instead of showing 8005555555.

Still looking for help on this...
I am trying to change the dialer button text to have white numbers instead of black. I'm having a hell of a time decompling the apks, finding the right xml file to edit, and then getting my changes to stick when I recompile. Anyone want to take a whack at it for me? I don't even know which apk I definitely have to edit to make the change.
I uploaded both the HtcDialer.apk and the Phone.apk from my phone in a rar file below... if anyone wants to take a look I'd appreciate it.
http://www.mediafire.com/file/3p5x5pavl2aceyq/VirtuousAPKS.rar

dg32 said:
Is there any way to edit the way the Android dialer displays the numbers you dial on the phone? This is something that the iPhone does really well, where it will split the numbers up into something like (800) 555-5555 instead of showing 8005555555.
Click to expand...
Click to collapse
I've been trying to find the answer to this question for a long long time. Still no answer.
Sent from my ADR6300 using Tapatalk

Related

[Q] Black Lockscreen Sliders

Just wondering if someone is already working on changing the lockscreen sliders to a glossy black, moto sliders are fugly. I have seen many posts for people requesting this in other threads and being a noob to theming I have no idea where to start.
What is the name of the file that needs to be modified and in which .apk is it located? I might make this my first "theme" project if I find the file and if this has not already been done.
The sliders are part of framework. Pull framework-res.apk from /system/framework and open the apk in any zip program like 7zip or WinRAR. Then look in the drawable-hdpi and drawable-land-hdpi folders and you should see the sliders. Then edit in Photoshop or something. Put back in framework-res.apk then push back to the phone and reboot.
Explodee said:
The sliders are part of framework. Pull framework-res.apk from /system/framework and open the apk in any zip program like 7zip or WinRAR. Then look in the drawable-hdpi and drawable-land-hdpi folders and you should see the sliders. Then edit in Photoshop or something. Put back in framework-res.apk then push back to the phone and reboot.
Click to expand...
Click to collapse
Not that simple...they're .9.png's. if you just edit them in photoshop they'll mess things up and not turn out right.
Even with just simply changing the color?
Sent from my DROIDX using XDA App
MXMike said:
Even with just simply changing the color?
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
nope.. when saved in photo editor it loses its .9 properties...
have to used draw9patch in android sdk to apply guides..
just decompile original apk with apktool or apkmanager to get the original showing you where the guides are located
I changed the colors of the sliders from the dark green whatever color to red using photoshop and they work fine.
Explodee said:
I changed the colors of the sliders from the dark green whatever color to red using photoshop and they work fine.
Click to expand...
Click to collapse
You got lucky somehow. All .9's have a 1 pixel border that exist as guides to the OS of where to stretch and where to anchor the image. Changing the color can remove/alter these guides. Rarely can you just change the color of a .9 and expect it to work/appear as it should. I would look at the thread with the how to video for draw9patch if you want to edit the lock sliders or any other .9 image.
Thanks for the info.
Sent from my DROIDX using XDA App
Something like this?
BTW this if fully functional, drop it in your framework (rename it!) and push it. If its what you need let me know, ill finish the rest.
Black sliders
If you see page four ... Clear / cant see sliders
you might be able to use ninja morph to apply these, or you need to know how to add files to an apk and push back. These go in framework-res.apk/res/drawable-hdpi
Dont add these to a decompiled apk! drop these straight into the apk with your perfered method.
Yeah that is what im looking for...if you wanna finish em that would be awesome!
Sent from my DROIDX using XDA App
MXMike said:
Yeah that is what im looking for...if you wanna finish em that would be awesome!
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
shoot me a pm with your email, wont have em to ya till 3-4. Unless someone beats me to em.
bad4u6669 said:
Something like this?
BTW this if fully functional, drop it in your framework (rename it!) and push it. If its what you need let me know, ill finish the rest.
Click to expand...
Click to collapse
I downloaded your theme and you successfully changed the color, but the slider doesnt slide. But it is still functional. Just doesnt actually show the bar sliding. This is where the .9.png comes into play
My current update.zip that's up right now? The sliders in that don't work? Every one else reports no problems. Could you be more specific.
Sent from my DROIDX using Tapatalk
I just decompiled my whole theme and checked the sliders. They are compiled and working correctly. Something might of went screwy on your install.
Sent from my DROIDX using Tapatalk
bad4u6669 said:
I just decompiled my whole theme and checked the sliders. They are compiled and working correctly. Something might of went screwy on your install.
Sent from my DROIDX using Tapatalk
Click to expand...
Click to collapse
lol, nevermind. I was thinkin you did Froyo Dynomite. The slider doesnt slide in that one.
You can easily changed the color of the sliders. But you have to decompile first. If you just unzip the apk it loses the 9 patch info(see below). If you have a theme and the slider does not slide then this is the reason.
Natemz said:
lol, nevermind. I was thinkin you did Froyo Dynomite. The slider doesnt slide in that one.
Click to expand...
Click to collapse
Ahh crap you're right. I never noticed because I always use WidgetLocker. I fixed the notification font and now I'll get going on fixing the sliders. Update will be tonight.
black sliders sent, post up a screen shot after you get them on your phone.
Any way I can get the black sliders from you as well?
phissionkorps said:
Any way I can get the black sliders from you as well?
Click to expand...
Click to collapse
As long as you can post a pic after you apply them. pm me with an email addres to send them too.

[REQ] Inverse Notification Icon Color (Black Status Bar)

I was wondering if there is a way to reverse icon colors in the status bar. I just downloaded a black status bar and a lot of the icons blend into the black bar (if that makes sense).
If anyone can help me out, thanks. I don't know anything at all about coding and very little about the root process, so a Metamorph option would be the easiest way for me, although I can figure out theming.
Maybe you like those...http://forum.cyanogenmod.com/topic/...tatusbar-icons/page__view__findpost__p__33425
rori~ said:
Maybe you like those...http://forum.cyanogenmod.com/topic/...tatusbar-icons/page__view__findpost__p__33425
Click to expand...
Click to collapse
I saw those. I wasn't quite sure if it changes the Messaging, Gmail, Voice and other icons since all I see is the USB and USB Tethering icons. Do you know if those are changed?
Haven´t checked that...best, open file and have a look before you morph.
rori~ said:
Haven´t checked that...best, open file and have a look before you morph.
Click to expand...
Click to collapse
Wow that is a great idea. I never thought of that haha (still brand new to this stuff). Well, unfortunately it doesn't have icons for Messaging, Gmail and a few others. Thanks for the idea though. Now I know I can check.
Any other ideas?
Anyone know of anything else to do?
Shameless bump because I really want this.
There is a desire morph around somewhere, locate the files or images you want and I can make a morph, just need to know what rom and icons.
Also bumping. Now that CM has theming, I think someone should have one out.
Use ninja morph and inverse the images u want in framework-res.apk ...really easy
Sent from my Nexus One using XDA App
Made this one a while back...
http://forum.xda-developers.com/showthread.php?t=766561
martin0285 said:
Use ninja morph and inverse the images u want in framework-res.apk ...really easy
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
I checked out ninja morph. You're right, it does exactly what you said...EXCEPT you have to modify every icon individually, which ends up being an enormous pain.
Also, I could have missed something but how do you inverse icons directly on the phone? I looked around and still couldnt find anything. Ended up transfering them to the pc and editing them from there.
In the end, I'm just amazed that android doesn't have a unified icon / theming system yet. To edit messages, you have to go in to mms.apk (took me forever to figure that one out), to edit gmail you have to look in gmail.apk, system icons were in framework, etc. What a pain.

black on black text while DL notification bar????

Hey all, question for ya,
been messing around with the notification pull down. Got it just the way I want it, except for when downloading from the market I get black on black text. Hard to read. really no big deal but it is bugging the heck out of me. Read tons of posts/sites where people have had the same prob. on various phones/roms but can't find a solution.
Anyone know what to change or do???
Here is a pic for clarification.
Thanks Nycorduroy
There is a post a few pages back about modding the xmls.
Do a search in the theme thread for "xml edit"
phim, gets pretty in depth, easier way is to use apk manager, decompile the apk, modify the xml, recompile the apk. DO NOT PUSH THE RECOMPILED FRAMEWORK! pushing a recompiled frame work will give you endless fc's
open the new compiled framework with 7zip and drag your newly compiled xmls into your good framework. then push that one.
Dont forget to do a back up first!
If you dont want to edit the xmls, feel free to grab one of my themes and pull them out.
Thanks for the quick response!! Which xml files am I looking to edit?? they are in the framework file I assume. Any other info you have is appreciated. Right now it looks like it is just when downloading files to phone. After download all is good and in white. thanks again
Nycorduroy
ps i love this android community!! Freedom!!!!
Cant remember exactly which one it was, sorry.
i think status_bar or status_bar_expanded.
nycorduroy said:
Which xml files am I looking to edit??
Click to expand...
Click to collapse
You need to edit the status_bar and status_bar_latest_event.xmls from framework-res/res/layout
Sweet. I will make an attempt. Worse case I might take you up on the offer bad4u6669. Thanks for the generosity.
Sent from my DROIDX using XDA App
The easiest way for you to do it is just grab the xml files that have already been edited from one of the other themes and plug them into your phone...
How do we know which xml is the right one to apply? And where?
@ ny - no worries, i like to help out any way i can, so I dont put a major lockdown on most stuff i have made
@ hack - yeah but then you dont learn anything by modding and pushing bad files then having to sbf and start ALL OVER!!! haha
@jr hack said it 4 posts up...
Currently at work by chance could any1 post a xml or even pm me and ill use ninjamorph to apply

Stuck while making a new theme because of an icon!

Hi everyone! Im making a theme for Gingerbread for the Galaxy Tab and am stuck because of an icon I cant get rid of or find where it is! Can someone help and tell me WHERE the icon (below attached) that pops up on the task bar during Media Scanning, is hidden? I looked everywhere, all system APKs I can think of including framework-res.apk and SystemUI.apk and cannot find it anywhere. Its driving me crazy!
I've successfully modded stat_notify_sdcard.png, stat_notify_sdcard_prepare.png and stat_notify_sdcard_usb.png from framework-res.apk and during PREPARE SD CARD operations the new updated icons show up.
However during MEDIA SCANNING operations, the old shows up again, no matter what. This stock icon I want to replace is hiding still somewhere else (..I cleaned all caches multiple times just in case and doesn't fix it)
Thanks in advance for the tip!
maybe you find in under music player ?
who knows
i never saw it before ~~
VeEuzUKY said:
Hi everyone! Im making a theme for Gingerbread for the Galaxy Tab and am stuck because of an icon I cant get rid of or find where it is! Can someone help and tell me WHERE the icon (below attached) that pops up on the task bar during Media Scanning, is hidden? I looked everywhere, all system APKs I can think of including framework-res.apk and SystemUI.apk and cannot find it anywhere. Its driving me crazy!
I've successfully modded stat_notify_sdcard.png, stat_notify_sdcard_prepare.png and stat_notify_sdcard_usb.png from framework-res.apk and during PREPARE SD CARD operations the new updated icons show up.
However during MEDIA SCANNING operations, the old shows up again, no matter what. This stock icon I want to replace is hiding still somewhere else (..I cleaned all caches multiple times just in case and doesn't fix it)
Thanks in advance for the tip!
Click to expand...
Click to collapse
You will find that on the mediaProvider.apk. in system/apps
If you need any help just PM me....
Sent from my SCH-I510 using XDA App
Thanks
XDAholic said:
You will find that on the mediaProvider.apk. in system/apps
If you need any help just PM me....
Sent from my SCH-I510 using XDA App
Click to expand...
Click to collapse
Thanks, that solved the issue of the missing icon for me.
Cheers
XDAholic said:
You will find that on the mediaProvider.apk. in system/apps
If you need any help just PM me....
Sent from my SCH-I510 using XDA App
Click to expand...
Click to collapse
YES! UR absolutely right, it actually made sense to be inside that package! thank you very much! I have one more (last) icon I cant trace where it is I want to modify for my theme; its the icon that pops on the left on the taskbar afetr an app is installed (for example after a package ins downloaded from Market and then installed, this is the notification icon). Can U help help me locate inside which package its hiding?
Thanks a lot again XDAholic
VeEuzUKY said:
YES! UR absolutely right, it actually made sense to be inside that package! thank you very much! I have one more (last) icon I cant trace where it is I want to modify for my theme; its the icon that pops on the left on the taskbar afetr an app is installed (for example after a package ins downloaded from Market and then installed, this is the notification icon). Can U help help me locate inside which package its hiding?
Thanks a lot again XDAholic
Click to expand...
Click to collapse
That's in the vending.apk itself. I think drawable.mpdi. but just look in the Res folders you'll see it.. definately vending.apk tho...
Sent from my SCH-I510 using XDA App
XDAholic said:
That's in the vending.apk itself. I think drawable.mpdi. but just look in the Res folders you'll see it.. definately vending.apk tho...
Sent from my SCH-I510 using XDA App
Click to expand...
Click to collapse
You're right again, thank you very very much!! Im almost done with all the graphics except one and editing some XMLs:
First, the download successful graphic was indeed in the vending.apk but when the download is not successful the standard red warning triangle is displayed. This graphic is not part of the vending.apk so im assuming its pulled from the standard stat_sys_warning.png from framework-res.apk?
Finally, I need to change and that is the size of the fonts for the date display on the top right of the taskbar. Do you know which XML or file I need to edit to change that font size?
Thanks again for all you amazing knowledge and help on this
VeEuzUKY said:
You're right again, thank you very very much!! Im almost done with all the graphics except one and editing some XMLs:
First, the download successful graphic was indeed in the vending.apk but when the download is not successful the standard red warning triangle is displayed. This graphic is not part of the vending.apk so im assuming its pulled from the standard stat_sys_warning.png from framework-res.apk?
Finally, I need to change and that is the size of the fonts for the date display on the top right of the taskbar. Do you know which XML or file I need to edit to change that font size?
Thanks again for all you amazing knowledge and help on this
Click to expand...
Click to collapse
I do believe the status bar clock is controlled by the services.jar and not a particular. Xml file, but ive never edited that clock so i am not 100% positive. Im horrible with smali code. Sorry! Yes the stat-notify-error.png in framework-res would control the statusbar icon for errors while downloading apps.
Sent from my SCH-I510 using XDA App
Out of curiosity, Ive seen the icon on the WIFI tab that shows the signal strength and encryption status some where in an APK resource but now, cant find it anymore. Does anyone know where its located? (Screenshot below in case UR not sure what Im talking about).
Thanks much!!
VeEuzUKY said:
Out of curiosity, Ive seen the icon on the WIFI tab that shows the signal strength and encryption status some where in an APK resource but now, cant find it anymore. Does anyone know where its located? (Screenshot below in case UR not sure what Im talking about).
Thanks much!!
Click to expand...
Click to collapse
It's been a while but I'm pretty sure that one is either framework-res or twframework-res (if you're still on a TW ROM). I thought I saw it in amongst the stat_sys_* images, but I could be completely wrong. I don't think I've tried editing that one.
EDIT: By the way, check in status_bar_expanded.xml and status_bar.xml for some parameters regarding the clock, but be careful cos they can ruin a theme (everything from graphical artifacts to bootloops) quite easily.

How to theme Contacts and Clock VZW S5 PKM files

So I am sure many of you have noticed that when you decompile ClockPackage.apk or SecContacts_Phone_FLAGSHIP_USA.apk you see a bunch of PKM image files. I have managed to replace most of them with PNG files and sucessfully theme both APK's.
Here is a link to both of my ASU Sun Devil themed ClockPackage.apk and SecContacts_Phone_FLAGSHIP_USA.apk. http://d-h.st/q5D
You are welcome to theme them as you see fit. I spent over 100 hours on these. PS: the text color code I use is ffffb310 hex and -0x4cf0 smali. There are some smali edits in ClockPackage. None in Contacts.
Thanks for looking!!!
Enjoy!!!
Ok, I'm stumped. I took ALL the images from XXHDPI and vrthemed them into another SecContacts_Phone_FLAGSHIP_USA.apk file and it didn't appear to do anything except maybe change the statusbar.
I pulled the apk just to be certain and sure enough, the themed png files were there. Any ideas?
tdunham said:
Ok, I'm stumped. I took ALL the images from XXHDPI and vrthemed them into another SecContacts_Phone_FLAGSHIP_USA.apk file and it didn't appear to do anything except maybe change the statusbar.
I pulled the apk just to be certain and sure enough, the themed png files were there. Any ideas?
Click to expand...
Click to collapse
You can't do that. The PKM files will still exist. You must morph the whole folder if you are going to do that so it erases the stock one.
Best way is to just decompile and theme it. Use my APK's as a base.
EMSpilot said:
You can't do that. The PKM files will still exist. You must morph the whole folder if you are going to do that so it erases the stock one.
Best way is to just decompile and theme it. Use my APK's as a base.
Click to expand...
Click to collapse
Ahhh!!! Gotcha. Totally forgot about that. I don't do a lot of theming I work on other development stuff mainly but this particular release is going to keep us busy for a while I think. LOL
Dev Edition?
Ok figured out that your contacts apk flashes and works fine on the Sprint S5 variant btw (very nice, this could come in handy later).
However, it does not play nice with apktool 2.0x so I decompiled it with apktool 1.5.2 and it 'almost' recompiled fine except for an apktool dummy error that was being generated by res/drawable/select_all_item_bg.xml. The resource is definitely there but it gave it that value for this line anyway.
Code:
<item android:state_pressed="true" android:drawable="@*android:drawable/APKTOOL_DUMMY_0b03" />
To correct for that, I pulled the stock select_all_item_bg.xml, copied right over the decompiled one with the apktool dummy code (I know I could have just fixed the line but whatever ) and it now recompiles perfectly. I am attaching that file for anyone that may have issues. This xml file is ALREADY decompiled.
Edit: EMSPilot, I heard you got the original images from the S4. You don't still happen to have an stock/unthemed version of contacts we can work from do you ?
Dev Phone
Dennisg34 said:
Dev Edition?
Click to expand...
Click to collapse
Yes Dev Edition
Awesome mate, I was going crazy looking for ways to thematize these PKM files.
Tested and works perfect s5 International. :laugh::laugh:
Thanks and regards.:good:
Hello guys, someone can tell me how to change the log window colors? I can not find ?
Thanks
Spinner
BoBCatRoM said:
Hello guys, someone can tell me how to change the log window colors? I can not find ?
Thanks
Click to expand...
Click to collapse
That would be a tw_spinner in framework-res. Not sure which one as I always theme them all.
EMSpilot said:
That would be a tw_spinner in framework-res. Not sure which one as I always theme them all.
Click to expand...
Click to collapse
thanks, I try to see in the framework
This is awesome work. Would love to see someone develop a dark contacts and SMS stock app darkened too. If anyone can do sothat would be awesome. But not dark MMS like the old school stuff but dark MMS with ways to change the bubble colors too. Would love to see where this goes thanks again devs
Of course we can make dark contacts, lol. Working on some now
Sent from my SM-G900P using Tapatalk
EMSpilot said:
So I am sure many of you have noticed that when you decompile ClockPackage.apk or SecContacts_Phone_FLAGSHIP_USA.apk you see a bunch of PKM image files. I have managed to replace most of them with PNG files and sucessfully theme both APK's.
Here is a link to both of my ASU Sun Devil themed ClockPackage.apk and SecContacts_Phone_FLAGSHIP_USA.apk. http://d-h.st/q5D
You are welcome to theme them as you see fit. I spent over 100 hours on these. PS: the text color code I use is ffffb310 hex and -0x4cf0 smali. There are some smali edits in ClockPackage. None in Contacts.
Thanks for looking!!!
Enjoy!!!
Click to expand...
Click to collapse
Do you also theme /system/app/InCallUI.apk? That's the contacts screen during a phone call.
InCallUI
blulite said:
Do you also theme /system/app/InCallUI.apk? That's the contacts screen during a phone call.
Click to expand...
Click to collapse
Yes of course I theme InCallUI.apk.
i decided that i would try and make a theme for the tmo s5 varient even tho i do not have the device and boy i had no idea what i got myself into when it was time to theme contacts!!! i have never seen anything like this over my past years theming the s2-s4 and note 3! i was like a pkm what??? i was able to edit in my own images for dialer buttons and dialer bg but stopped there! lol. I was truly amazed when coming across this thread and just wanted to take my hat off to you! i have a question tho... sorry if you already answered for i attempted to search for the answer in this thread but am still a little confused.. so again how did you replace the pkm with a png? just by using another seccontacts image and replacing the pkm with the png?? i doubt thats how because you would have to change it in the values folder or something like that correct? kinda like i and i also saw you figured out how to edit our own dialer button image? ive just been so stumped with these pkms that i am like i need to know how you did it! lol.
@EMSpilot
Great work in here Sir..... made couples adjustment for AT&T S5 SM-G900A And everything look good....
EDIT: Sept 15
Hi Bill @EMSpilot
I really appreciated all your guide and pointers

Categories

Resources