Dialer Modding - Android Themes

Hey!
Im trying to mod the AOSP jb 4.3 dialer to make it look like the 'leaked kitkat dialer'. The background of the unmodded/original dialer is dark (green) but the one in my modded app is white, so the text looks white-on-white. I've been able to change the text color of the rest of the app to black but I can't find what to edit to change the text color of the names of the contacts under the 3rd tab in the dialer (Contacts tab). Please help me out.
Thanks.

Karanbir439 said:
Hey!
Im trying to mod the AOSP jb 4.3 dialer to make it look like the 'leaked kitkat dialer'. The background of the unmodded/original dialer is dark (green) but the one in my modded app is white, so the text looks white-on-white. I've been able to change the text color of the rest of the app to black but I can't find what to edit to change the text color of the names of the contacts under the 3rd tab in the dialer (Contacts tab). Please help me out.
Thanks.
Click to expand...
Click to collapse
I'm guessing you missed/overlooked it while editing the xml, it its running off of your roms default color (android color) they can be easy to over look but i wouldn't think it would be in smali.

LasVegasRomeo said:
I'm guessing you missed/overlooked it while editing the xml, it its running off of your roms default color (android color) they can be easy to over look but i wouldn't think it would be in smali.
Click to expand...
Click to collapse
In Smali? No, I dont think so too. But i've checked the xmls pretty thoroughly, Im not sure where I missed it. I am editing Dialer.apk, is there any other apk that might be related?

Karanbir439 said:
In Smali? No, I dont think so too. But i've checked the xmls pretty thoroughly, Im not sure where I missed it. I am editing Dialer.apk, is there any other apk that might be related?
Click to expand...
Click to collapse
From my experience I know that the the phone and contacts are obviously linked for as dialer. I haven't messed with any 4.3 system apps the much yet or atleast behold icons that is. Im still rockin 4.2.2. Got me curious, gunna take a peek around. but I would check both. its when they go off system for color. ex. @android:color/holo_blue_light is easier to look over then ...>#ff33b5e5</color> lol But doesn't matter you can still search the whole res folder for a certain color or whatever. and edit multiples entry's of a specific value.
But im going to take a look around the dailer.apk, as of now sorry couldn't give you a better answer without actually going through it yet.

LasVegasRomeo said:
From my experience I know that the the phone and contacts are obviously linked for as dialer. I haven't messed with any 4.3 system apps the much yet or atleast behold icons that is. Im still rockin 4.2.2. Got me curious, gunna take a peek around. but I would check both. its when they go off system for color. ex. @android:color/holo_blue_light is easier to look over then ...>#ff33b5e5</color> lol But doesn't matter you can still search the whole res folder for a certain color or whatever. and edit multiples entry's of a specific value.
But im going to take a look around the dailer.apk, as of now sorry couldn't give you a better answer without actually going through it yet.
Click to expand...
Click to collapse
AFAIK, phone.apk deals with the in-call part of the dialer, so I'll skip that bit. Last time I tried, Contacts.apk didn't seem to have any effect on dialer. I'll check it out again, thanks.

Nope, I cant seem to be able to find the xml related to this. Out of ideas. :/

Bump!
Sent from my HTC Explorer A310e using Tapatalk 4

Post a screen shot. And also what are you trying to it for? Exposed, Theme Engine, Chameleon theme, or apk edit.

Posting screen soon. I'm trying to make it for theme engine.
Sent from my HTC Explorer A310e using Tapatalk 4

Karanbir439 said:
Posting screen soon. I'm trying to make it for theme engine.
Sent from my HTC Explorer A310e using Tapatalk 4
Click to expand...
Click to collapse
I would. Check out the layout folder of the Apk. Google has been using that more for static text Colors. If that is the case you won't be able to do it with TC
Wayne Tech Nexus

I'm sorry, is theme engine= t mobile theme chooser? I'm trying to make a theme for it.
Attached the image below, names of contacts are not visible cause they are white-on-white

Karanbir439 said:
I'm sorry, is theme engine= t mobile theme chooser? I'm trying to make a theme for it.
Attached the image below, names of contacts are not visible cause they are white-on-white
Click to expand...
Click to collapse
Yes it theme chooser. If I remember correctly check the recents xml in layouts. I will double check when I get to a PC. I think the white color is there
Wayne Tech Nexus

Thanks! I'll try it out as soon as I get to my PC.
Edit: there is no recents xml in layout :/

Karanbir439 said:
Thanks! I'll try it out as soon as I get to my PC.
Edit: there is no recents xml in layout :/
Click to expand...
Click to collapse
I'll look today.
Wayne Tech Nexus

Thanks.
Sent from my HTC Explorer A310e using Tapatalk 4

Ok without seeing what edit you already made it is really kinda hard to nerrow it down with the limited time I have available. So what I will do is zip up my moded dialer. It has blue text with white numbers. Do a compare of the directories with something like winmerge and you should be able to find what you need to change. Look for color code #ff02a4ee
https://www.dropbox.com/s/rl6bzyj1ug67hva/Dialer.apk.7z
Here is my decompiled apk for you to compare with.

zelendel said:
Ok without seeing what edit you already made it is really kinda hard to nerrow it down with the limited time I have available. So what I will do is zip up my moded dialer. It has blue text with white numbers. Do a compare of the directories with something like winmerge and you should be able to find what you need to change. Look for color code #ff02a4ee
https://www.dropbox.com/s/rl6bzyj1ug67hva/Dialer.apk.7z
Here is my decompiled apk for you to compare with.
Click to expand...
Click to collapse
Thanks a lot! This is really useful! I'll try it soon

Karanbir439 said:
Thanks a lot! This is really useful! I'll try it soon
Click to expand...
Click to collapse
'
Let me know how it turns out. I will point a few others here just incase you still have issues and I am not around.

Thats weird! I couldn't find this colour using Winmerge. Can you post a screenshot of the edit? Also, can you tell me what folders you edited?

Karanbir439 said:
Thats weird! I couldn't find this colour using Winmerge. Can you post a screenshot of the edit? Also, can you tell me what folders you edited?
Click to expand...
Click to collapse
Give me just a second. I think I may have zipped the wrong apk. Let me double check.
Ok sorry that was my fault. Forgot I was starting fresh with that apk. Here is a link to the one on my device as it.
https://dl.dropboxusercontent.com/u/7544625/Dialer.apk.7z

Related

Need Help Theming Background Color in LauncherProPlus

Maybe what I am trying to do hasn't been attempted before but I'm stuck and hopefully, someone here is talented enough to help.
I am trying to change the background color of the LauncherProPlus widgets. It is clearly not an image in the res folder and I have been scouring the XML's to see what is driving the color to no avail. Does anyone know where I might have missed or where else to look? I'm thinking maybe I need to start looking through the smali files but would love if someone could provide a little direction.
Thanks.
okolowicz said:
Maybe what I am trying to do hasn't been attempted before but I'm stuck and hopefully, someone here is talented enough to help.
I am trying to change the background color of the LauncherProPlus widgets. It is clearly not an image in the res folder and I have been scouring the XML's to see what is driving the color to no avail. Does anyone know where I might have missed or where else to look? I'm thinking maybe I need to start looking through the smali files but would love if someone could provide a little direction.
Thanks.
Click to expand...
Click to collapse
This link may help you get in the right direction
I am familiar with Benny879 as well as that thread and he hasn't been able to find what controls the background either. He posted that theme on the LauncherPro forums and I installed it optimistic that the background would be black but it is not the case. The image on his sight is a bit deceiving due to the background color but is actually a gray gradient.
So, I'm still searching...
okolowicz said:
I am familiar with Benny879 as well as that thread and he hasn't been able to find what controls the background either. He posted that theme on the LauncherPro forums and I installed it optimistic that the background would be black but it is not the case. The image on his sight is a bit deceiving due to the background color but is actually a gray gradient.
So, I'm still searching...
Click to expand...
Click to collapse
My bad, misunderstood, I was wondering how to make it a different shade of transparent myself, so I guess we are after the same thing. let you know if I find anything
okolowicz said:
I am familiar with Benny879 as well as that thread and he hasn't been able to find what controls the background either. He posted that theme on the LauncherPro forums and I installed it optimistic that the background would be black but it is not the case. The image on his sight is a bit deceiving due to the background color but is actually a gray gradient.
So, I'm still searching...
Click to expand...
Click to collapse
Found it, (I think) here is the link to the post with the answer. Hope it helps.
goldenstorm said:
Found it, (I think) here is the link to the post with the answer. Hope it helps.
Click to expand...
Click to collapse
Yup, that's it. Make sure you decompile with Brut's apktool.
Awesome! Thanks to both of you. I had started to go through the smali files last night after having tried every remotely relevant XML.
I'll give it a shot this morning and post back my results. I haven't used Brut's APKTool but use APKManager which I believe is simply a script that utilizes the APKTool.
Actually, I take it back. It appears Signals23 has already accomplished and made available everything I was trying to do which was to make the background black.
So, I'll simply say thank you again, install his masterpiece, and pretend I'm the man.
okolowicz said:
Actually, I take it back. It appears Signals23 has already accomplished and made available everything I was trying to do which was to make the background black.
So, I'll simply say thank you again, install his masterpiece, and pretend I'm the man.
Click to expand...
Click to collapse
You can be the man too.
In my last theme of the LP0.7.7.2, I added a png to the background, that way you have control over the whole thing. If you want to mess with that, let me know and I'll post instructions.
signals23 said:
You can be the man too.
In my last theme of the LP0.7.7.2, I added a png to the background, that way you have control over the whole thing. If you want to mess with that, let me know and I'll post instructions.
Click to expand...
Click to collapse
Signals23 I love what you have done with the LP widgets, I haven't flashed yet, but it is amazing work!
goldenstorm said:
Signals23 I love what you have done with the LP widgets, I haven't flashed yet, but it is amazing work!
Click to expand...
Click to collapse
Thanks. I'm just a theming hack though, Fede is really the man with LP.

[THEME/WIP] A little theming help?

I'm trying to finish a fully done GB theme for CM 6.1, I'm having one difficulty. I can't figure out what PNG's to edit to change the colors on the notification power controls here. I would love some help. :] I'm sort of addicted to theming and I will for sure be helping people port themes if I can finish this one! :]
iskatebad45 said:
I'm trying to finish a fully done GB theme for CM 6.1, I'm having one difficulty. I can't figure out what PNG's to edit to change the colors on the notification power controls here. I would love some help. :] I'm sort of addicted to theming and I will for sure be helping people port themes if I can finish this one! :]
Click to expand...
Click to collapse
They are in system\framework\framework-res.apk res\drawable-mdpi. They start with stat... ie. stat_2g3g_off.png
Thanks for the fast reply, I've been able to theme everything I've wanted to from apps to the entire framework, however the thing I'm running into is not knowing which file to change to recolor the portion circled in red. I've already tried stat_bgon.9 and stat_bgoff.9 to no avail. What are the possibilities that this is a color picked by an XML and not just a png?
It is likely since it can be changed in cm settings I don't know where its located
iskatebad45 said:
Thanks for the fast reply, I've been able to theme everything I've wanted to from apps to the entire framework, however the thing I'm running into is not knowing which file to change to recolor the portion circled in red. I've already tried stat_bgon.9 and stat_bgoff.9 to no avail. What are the possibilities that this is a color picked by an XML and not just a png?
Click to expand...
Click to collapse
sent from my twopointtwo themed hero
iskatebad45 said:
Thanks for the fast reply, I've been able to theme everything I've wanted to from apps to the entire framework, however the thing I'm running into is not knowing which file to change to recolor the portion circled in red. I've already tried stat_bgon.9 and stat_bgoff.9 to no avail. What are the possibilities that this is a color picked by an XML and not just a png?
Click to expand...
Click to collapse
Settings / user interface / indicator color
Sent from my HERO200 using XDA App
Well played! Thanks for the help. It would seem that I got a little PNG crazy since I started theming! If anyone wants help resizing themes and porting anything I'd be more than willing to help. I'll be posting flashable zips and screen shots of what I'm running in the next day or so. Thanks a bunch guys, really!
iskatebad45 said:
If anyone wants help resizing themes and porting anything I'd be more than willing to help.
Click to expand...
Click to collapse
Dude! We'd love your help over here! See this thread: http://forum.xda-developers.com/showthread.php?t=858935
We are trying to port the MIUI ROM for our hero's, but we need someone who has the time/desire to port the images from hdpi to mdpi. There are programs to help make this faster, but we're having some problems with them and a lot of the images are gonna need to be ported by hand. Anyway...let me know what you think! Thanks man!
Actually! I'd love to help, I honestly think that the Miui rom is really legit. I downloaded the rom already, where should I start. I know that some of the apps have been done already right?
Sent from my HERO200 using XDA App
ehac1680 said:
Settings / user interface / indicator color
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Thanks - I was looking for that myself!

How to theme using Tmobile theme engine?

I have looked everywhere and can't find any info on how to theme using the tmobile theming engine.
For those of you using CM7 nightlys are probably aware that its now an option and it has a couple theme's it comes with.
I have tried using those as a template but they don't show up when I try and install my edited ones and I can't figure out how to edit the .xml file that sets ringtone etc.
Either way I thought there would be a bunch of info on this but so far nothing. Anyone out there know how to use this?
ThereĀ“s no detailed how-to yet...
I would just like to know how to successfully compile and decompile the theme apk to even begin. Normal apktool app will errors out but works fine with other apk's so there has to be something missing.
Anyone please?
Repo sync and work with eclipse..
Edit: but don't trust me, cause I haven't done any tmo theme yet
Sent from my Nexus One
rori~ said:
Repo sync and work with eclipse..
Edit: but don't trust me, cause I haven't done any tmo theme yet
Sent from my Nexus One
Click to expand...
Click to collapse
I assume I would need a linux box or something to do that. I was hoping it would be a bit more user friendly.
I found this.
http://code.google.com/p/tmobile-themes/
I have not looked deep with in the page, but I did see a reference to CM7
+1 bump
Would like to see some kind of tutorial so I can get in on the action.
MrDSL said:
I have looked everywhere and can't find any info on how to theme using the tmobile theming engine.
For those of you using CM7 nightlys are probably aware that its now an option and it has a couple theme's it comes with.
I have tried using those as a template but they don't show up when I try and install my edited ones and I can't figure out how to edit the .xml file that sets ringtone etc.
Either way I thought there would be a bunch of info on this but so far nothing. Anyone out there know how to use this?
Click to expand...
Click to collapse
if i were you PM the themer that is doing the Honeycomb theme, that theme has alot of detail on it ,
For people who found this thread: a guide is available at
http://forum.xda-developers.com/showthread.php?t=942203
thanks, i'm headed for the right direction. making my own cm7 theme.

[Q] Can't get this Handcent mod to work | Got time to check it out?

Yo!
I'm trying to modify the Handcent SMS application. Problem is after installing the mod the application instantly closes and takes me back to the homescreen. I'm really scratching my head here .. If anyone has got a couple of minutes to check it out I'm ever so grateful!
Thanks in advance
i'm scratching mine too...I compared the original with yours and tried to switch out the images to resign and it did the same thing to me.....there must be something we are missing..... :/
jasonevil said:
i'm scratching mine too...I compared the original with yours and tried to switch out the images to resign and it did the same thing to me.....there must be something we are missing..... :/
Click to expand...
Click to collapse
Yeah .. I thought the first .apk I modified was corrupt and did the operation once more. :/
Haha. Lame! xD
yeah....it's a bit odd lol
I am also getting the samething after editing 3 .9.PNG images
Couple of the panel images and the yi_ middle something.
Used draw patch 9 tool with eclipse. Even tried to match the original borders I saw after decompiled.
I am really looking forward to see if anyone can do this ... unfortunately I am not familiar with xml and I am wondering if it has something to do with that now.
Also I had no idea that this thread had anything to do with handcent .. maybe a title change?
Sent from my HTC Glacier using XDA App
Strapt said:
I am also getting the samething after editing 3 .9.PNG images
Couple of the panel images and the yi_ middle something.
Used draw patch 9 tool with eclipse. Even tried to match the original borders I saw after decompiled.
I am really looking forward to see if anyone can do this ... unfortunately I am not familiar with xml and I am wondering if it has something to do with that now.
Also I had no idea that this thread had anything to do with handcent .. maybe a title change?
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
Didn't change around any .9.pngs yet. I just wanted to make sure the images that I had already created worked. Soo, without editing any 9.pngs this is still happening. Lol, why does it matter what application I tried to modify? And says "Handcent" in the first line of the post.
zHk3R said:
Didn't change around any .9.pngs yet. I just wanted to make sure the images that I had already created worked. Soo, without editing any 9.pngs this is still happening. Lol, why does it matter what application I tried to modify? And says "Handcent" in the first line of the post.
Click to expand...
Click to collapse
You didn't alter any. 9 images and its doing that? That's not real comforting.
And the handcent thing lets people know what it is and since we aren't the only ones then maybe it will get more hits when people search for it
Or someone may think theming it is easy try and figure it out.
Sent from my HTC Glacier using XDA App

[Q] Tailoring a theme

http://forum.xda-developers.com/showthread.php?t=985053
Would it be possible to take the them from this and put it on Serendipity?
If so could someone give me the easiest way of doing this?
Edit: I know how to move over images and stuff. but i'm not quite sure how to edit xmls and any other stuff like .jar files.
i can probably port most of it over for ya. what serendipity are you running?
I'm running 6.2 right now. I'm pretty sure if you told me what you did I could probably figure out how to do it, and maintain it from version to version.
I would have used the theme porter but the theme i want is actually the leaked Gingerbread ROM from Samsung. So everything would have to be done manually.
so do you just want it took look like that theme? Because you could just use 7zip to transfer all the png's to the framework and twframework
task650 said:
so do you just want it took look like that theme? Because you could just use 7zip to transfer all the png's to the framework and twframework
Click to expand...
Click to collapse
That I know how to do but there are other things like the status bar and dropdown that are controlled by XML and .jar, and my knowledge doesn't go that far.
the status bar and dropdown are in both the tw and framework.res files bud. You're just talking about the icons and bottom bar and all that right???
is this something that you are trying to change? because all of that is in tw and framework.res
task650 said:
is this something that you are trying to change? because all of that is in tw and framework.res
Click to expand...
Click to collapse
when i tried this is what i got.
Not even close to what it's supposed to be.
i see. totally different. Give me a little bit and I'll see if i can just get it how you want it and then I'll send you the files
task650 said:
i see. totally different. Give me a little bit and I'll see if i can just get it how you want it and then I'll send you the files
Click to expand...
Click to collapse
That would be great. If you come across something that is a little more in depth, make note of it so I can learn how to do it myself.
ya no problem man. I'm not running serendipity myself because i'm stuck on phoenix. but i'm going to just change a few things a little at a time to ensure no bootloops for ya and send them to you. just fill me in on how there working out when you get them.
task650 said:
ya no problem man. I'm not running serendipity myself because i'm stuck on phoenix. but i'm going to just change a few things a little at a time to ensure no bootloops for ya and send them to you. just fill me in on how there working out when you get them.
Click to expand...
Click to collapse
I've got a revert to stock CWM zip ready to go.
hopefully this willl be what you were looking for. It's hard to know unless i'm actually running the rom. not in the mood for flashing today for once otherwise i would. try these out and let me know if they're what you want. use root explorer and drop the in system/framework
Not sure if i changed the notification text color. oh yeah! i didn't change the battery icons yet because the one from serendipity it totally different form the bezke theme but i'm working on it as i type this.
The dropdown still looks the same from when I tried.
caleb4992 said:
The dropdown still looks the same from when I tried.
Click to expand...
Click to collapse
alright. i'm working it on it now. is everything else how you want it though?
minus the apps. you can just drag and drop those yourself.
task650 said:
alright. i'm working it on it now. is everything else how you want it though?
minus the apps. you can just drag and drop those yourself.
Click to expand...
Click to collapse
Yep as far as I can tell.
alright bro. I think I've figured out why the words aren't in there. extremekilla filled me in. mikeymike took the text from the pulldown icons out of the twframework. the text is located in the resources.arsc file. I'm working on getting them put back in for ya. should only take a little bit.
task650 said:
alright bro. I think I've figured out why the words aren't in there. extremekilla filled me in. mikeymike took the text from the pulldown icons out of the twframework. the text is located in the resources.arsc file. I'm working on getting them put back in for ya. should only take a little bit.
Click to expand...
Click to collapse
See thats what kinda stuff I was talking about not being able to do. I know that you have to decompile the APK to get to the XMLs in resourses.arsc and then recompile it.
exactly. but im thinking if one of his previous roms had the text that maybe it could be as easy as just switching the two. im confirming that right now with someone who knows all about this.
task650 said:
exactly. but im thinking if one of his previous roms had the text that maybe it could be as easy as just switching the two. im confirming that right now with someone who knows all about this.
Click to expand...
Click to collapse
Well his ROM has had it that way for a while now.

Categories

Resources