[Q] Theme HtcDialer/Phone.apk - EVO 4G Q&A, Help & Troubleshooting

Help!
I am about to go bald pulling all my hair out over this. Why wont it theme???
I want to change the dialer buttons but they wont change in android mode. WTH?
>_<
http://dl.dropbox.com/u/7197242/froyo/z.Burst.PlurStarAlpha.zip
(link may not work at first, still uploading)

check the com.htc.resources.apk in system/framework. That contains some dialer buttons also.

ok well i went through htc res again and i couldnt find it.
is it that the button itself is a png and then the numbers are controlled by an xml color?

_Burst_ said:
ok well i went through htc res again and i couldnt find it.
is it that the button itself is a png and then the numbers are controlled by an xml color?
Click to expand...
Click to collapse
png files in the drawable-hdpi

I can't find them either.. LOL I have changed all the dialer buttons i can find in resources, htcdialer, phone and nothing is changing. Can someone be specific as to what folder and the exact filename of at one dial button?
Thanks

hey thanks!
I kinda got it. now just need to find what changes the number colors. facepalmed myself after this. ha!

So clue me in already... Which files are you editing?

Riptide9 said:
So clue me in already... Which files are you editing?
Click to expand...
Click to collapse
htc_pin_asset_pressed and htc_pin_asset_rest png
com.htc.resources/res/drawable-hdpi
now just need to find what controls the color of the numbers and letters on the buttons.

_Burst_ said:
htc_pin_asset_pressed and htc_pin_asset_rest png
com.htc.resources/res/drawable-hdpi
now just need to find what controls the color of the numbers and letters on the buttons.
Click to expand...
Click to collapse
DAMN!!! I had changed all those with numbers and did'nt even bother with the 2 blank ones... I should have known better because they were blank in 2.1 LOL Thanks!!! I will let you know if I find the text xml

Find it yet? tired of xml edits >.<

Related

{question} TF3D Music Library background?

Does anyone know where to set the color / background of the white music library menu ?
I've managed to isolate most of the visual manila properties but cannot seem to locate the file that fills the background.
By now my hunch is that it's an inverted version of the default tab backgrounds.
I've searched for hours all over the place but i couldn't find an answer for this part of the background.
Can somebody help me out?
thanks
here you are
edit: sorry i didn't read the question correctly it is manila file 0d1412f9_manila
happy skinning!
Giznetic said:
edit: sorry i didn't read the question correctly it is manila file 0d1412f9_manila
Click to expand...
Click to collapse
That's what I thought at first as well.
But somehow if I replace the file with a grey one it doesn't change the background
I have attached the grey filled manila file i copied to my device.
I used the mode9editor which does a great job with the normal background 4 all tabs without any hex editing.
do you have an idea what is going wrong?
hmmm... I am am clueless..... sorry... maybe it is unetitable....
Giznetic said:
hmmm... I am am clueless..... sorry... maybe it is unetitable....
Click to expand...
Click to collapse
That would be a shame!
Did you manage to rebuild it in your theme (couldn't find screenshots )
the background for all tabs i used... did work for the settings tab... but... there was some bugs...
:-(
but i am not sure about the music tab..... i'll check it up later...
Giznetic said:
the background for all tabs i used... did work for the settings tab... but... there was some bugs...
:-(
but i am not sure about the music tab..... i'll check it up later...
Click to expand...
Click to collapse
WHen I use the background for all tabs the '3d' grid part of the music library does disappear but the background stays white
maybe that is a preset..... yes it could be....
i think htc has coded it to have a white background and invert the tiles.....
that is the only way i can think of...
Giznetic said:
maybe that is a preset..... yes it could be....
i think htc has coded it to have a white background and invert the tiles.....
that is the only way i can think of...
Click to expand...
Click to collapse
I feared such a thing..
And I guess you can't tell me either where that code can be revoked?
hmm.... off the top of my head i can not... but i'll be sure to help you on your project
hmmmmmmmmmmmmm..............
give me some time... i might be able to come up with something...
Giznetic said:
hmm.... off the top of my head i can not... but i'll be sure to help you on your project
hmmmmmmmmmmmmm..............
give me some time... i might be able to come up with something...
Click to expand...
Click to collapse
that would be awesome!
I have to confess.. I haven't checked the lua scripts yet.
But did dissect all mode9 files in search for this element..
I think i did it!!!!!!
ok replace this .png file with
0d1412f9_manila
it should work....
i can't believe it
lol i think if found it out
try it and then tell me results
I tried that one.. to make the side (where yours is black) grey and also the whole pic black..
I tried yours just now.. but doesn't work either
do you use the touchHD or the X1?
can you zip your manila file that worked to just be 100% sure I don't mess up while creating the manila file.
Touch HD
hmm.... i was sure that was it.... hmm.... i'll look some more....
now i am depressed :-(
don't be depressed
can I have your 0d1412f9_manila file to double check
I don't have the file as i am at work on a mac.
you will have to replace it in manila editor or Mode9 editor
Giznetic said:
I don't have the file as i am at work on a mac.
you will have to replace it in manila editor or Mode9 editor
Click to expand...
Click to collapse
That's interesting how do you know it works?
I tried with mode9editor.. no succes
i don't know it works....
i was hoping it worked.... thats why i asked you to try it out...

looking for 2 manila files :(

does anybody knows the manila files for the little white telephone and calendar icon on homescreen just under clock......
thx
daffy duckati said:
does anybody knows the manila files for the little white telephone and calendar icon on homescreen just under clock......
thx
Click to expand...
Click to collapse
its 1BBFDC9B_manila, or "TabSinglesandNotificationIcons.qtc", and its only one file
thank you for your help but when i convert this file to png i get something simular to bottum slider in manila, it looks transparent. I actually want to change the two icons encircled in the pic.
ps : don't mind the other user name its daffy
touch hd said:
thank you for your help but when i convert this file to png i get something simular to bottum slider in manila, it looks transparent. I actually want to change the two icons encircled in the pic.
ps : don't mind the other user name its daffy
Click to expand...
Click to collapse
This is how it should look like (that one is from gold theme) ... the background isnt actually white but transparent.
thx for your help, i modified your file and it worked,
thx
6Fg8,
In new manila in the Communications tab ----> 'Wi-Fi', it gives you the available networks.
Do you happen to know the file that gives you the highlight icon when you press the network you want to connect to?
(I altered some manila files to change the theme and now when I press at the desired network it highlite part or the name
Thanks in advance
jolas said:
6Fg8,
In new manila in the Communications tab ----> 'Wi-Fi', it gives you the available networks.
Do you happen to know the file that gives you the highlight icon when you press the network you want to connect to?
(I altered some manila files to change the theme and now when I press at the desired network it highlite part or the name
Thanks in advance
Click to expand...
Click to collapse
Sorry, i dont know the filename for that. But to me it looks more like a problem with the sizes of the images you replaced. Did you keep the exact heights and widths of the graphics?
6Fg8 said:
Sorry, i dont know the filename for that. But to me it looks more like a problem with the sizes of the images you replaced. Did you keep the exact heights and widths of the graphics?
Click to expand...
Click to collapse
They are the same (original) pictures, I just edited them with photoshop.
jolas said:
They are the same (original) pictures, I just edited them with photoshop.
Click to expand...
Click to collapse
you didnt change image transparency, did you? Could be a reason too. Or a wrong mode9 file.
6Fg8 said:
you didnt change image transparency, did you? Could be a reason too. Or a wrong mode9 file.
Click to expand...
Click to collapse
No, I didn't. But I'm not sure about the files I borrowed from the theme from Diamond thread.
I'm looking on them right now.
Thank you for your replies.
How to change weather update intervals?
I didn't find anything about, I'm still searching...
I have another question regarding weather update intervals, this time.
Does anyone knows which manila files to edit, so we can change the update intervals when we have selected 'Download weather automatically' in weather tab (e.g. make it update every 4 hours)?

[Q] Theming Phone.apk in HTC Sense

Edit::
So now I know that that htcresources supercedes anything I do to the phone.apk, what controls the color of the numbers & text in the keypad?
Thank you for any help.
DJZager said:
Edit::
So now I know that that htcresources supercedes anything I do to the phone.apk, what controls the color of the numbers & text in the keypad?
Thank you for any help.
Click to expand...
Click to collapse
u would need to decompile the apk.
look inside res/values
and res/values-hdpi
maybe a few more.
inside those foldrs u would see colors.xml
from there u should be able to figure out which one is the text color.
p.s.
im havn't done it myself, but thats how u get can get a bunch of color changed in all of your apps.
thats how i made my app drawer transparent, and changed animations etc... screw those hex editing tweaks... its a huge waste of time to figure out what does what.
just decompiling the apk gives u everything u need and its all in English.
keep in mind that u might need to actually change in in a different apk... not necessarily in phone.apk.
and i do hope that u found the images inside com.htc.resources.apk for the actual keypad images.
just use apktool.
version 1.3.2 might give u issue cuz it compresses the resources.arsc... so if u need version 1.3.1 let me know... i got that one also.
Values\styles.xml
<Line 196> <item name="android:textColor">@color/color_255_255_255</item>
<Line 200> <item name="android:shadowColor">@color/color_0_0_0</item>
<Line 220> <item name="android:textColor">@color/color_255_255_255</item>
<Line 224> <item name="android:shadowColor">@color/color_0_0_0</item>
These are the ones you are looking for. In HTCDialer.apk
The way they are shown here will make them black with a white shadow. you can replace the @color/color_0_0_0 part with any hex color code (ex. #ffffffff) so you can choose any color. Hope this helps
Wow, thank you for that. I'm going to try that and report back.
Related Topic: I'm trying to change the color for the text that appears in the accumulator in HtcDialer.apk
There are 3 nearly identical files in /res/layout: dialer.xml dialer_cdma.xml, and dialer_cdma_sp.xml
Each of these has coding which refers to the text within the accumulator (i.e. where the numbers you dial show up). So far, changing the colors there either accomplishes nothing, or it causes acore FCs.
Am I poking the wrong beehive?
how do u change button color?

[Q] Status bar dimensions

Hey all, I have a quick question for you.
I am running cm6.1 on a Htc Evo, have a gingerbread theme, and have applied a density of 180. At this density, everything looks awesome - besides the status bar. Is it at all possible to adjust the density, change the size of the graphic, change some code to make the status bar and icon appear larger while still keeping the overall density setting?
Adam
anaglich said:
Hey all, I have a quick question for you.
I am running cm6.1 on a Htc Evo, have a gingerbread theme, and have applied a density of 180. At this density, everything looks awesome - besides the status bar. Is it at all possible to adjust the density, change the size of the graphic, change some code to make the status bar and icon appear larger while still keeping the overall density setting?
Adam
Click to expand...
Click to collapse
u can... if u know how to decompile the framework and change sizes in the specific xml... its doable.
i never checked... but from what u saying the size is pre-set, at least i would think so cuz the status bar image is usually a png 9 image that gets stretched to the pre set size.
i dont have time to try and help u find it and/or much more... but decompliling the framework-res apk and looking at the xmls that have something to do with the status bar (they r named with "status_bar..." usually) should set u in the right direction atleast.
About that, I am not sure how to decompile an apk, although I feel comfortable searching for and adjusting the xml. Thanks for your help.
anaglich said:
About that, I am not sure how to decompile an apk, although I feel comfortable searching for and adjusting the xml. Thanks for your help.
Click to expand...
Click to collapse
i've been making animations for the past 2 hours... so ill look real quick.. i'd bet the framework for u dont look much different when it comes to that... ill let u know where it is.
That would be amazing! Thanks again.
anaglich said:
That would be amazing! Thanks again.
Click to expand...
Click to collapse
ok... 180 would mean smaller things on the screen right?
anyways... i thought of something u can try without decompiling the apk.
do this.
pull the framework-res out from your /system/framework folder...
keep a backup just in case also.
then... open the apk with 7 zip and extract the "status_bar.xml" from the /res/layout folder.
then take the file u just pulled out and put it inside the res/layout-hdpi/ folder and overwrite the existing one.
that will give u lower sizes/values and such...
now... im not sure if that would help or make it worse... but if u feel like trying it.. knock yourself out... just keep a backup of the original framework so that u can revert.
btw... if it will work... than u would want to basically do the same with the layout-land and layout-land-hdpi folders to take care of landscape also.
there are more file that i might need to move around and such... but if that will work for u... i might be on the right track to helping u do it without decompiling anything.
keep in mind that i never tried it... and i also dont know how the whole changing the dpi even looks like.... so until i really see it and try for myself... im just guessing here.
edit:
oops... just saw u want them bigger...
my bad.
igonre what i just said.
anyways... look inside res/layout-hdpi folder of the decompiled apk.... any files that has to do with "status_bar....xml" u can edit icons sizes and text sizes in it.
i dont have your framework res file and i cant really change things up for u without having it... not to mention that i will need to try different sizes until it looks right.
for me it is set to 38 pixels... so u might wanna go bigger.
i also saw that it basically determine the sizes by the actual icon size... so im not 100% sure here about what to do exactly cuz im obviously not using the same thing as u, so i cant test it out right.
anyways... i would assume it shouldn't be hard to do if u play with some value a little bit.
anaglich said:
About that, I am not sure how to decompile an apk, although I feel comfortable searching for and adjusting the xml. Thanks for your help.
Click to expand...
Click to collapse
the statusbar_background.png is the file you are looking for for your status bar and many files for your icons like(stat_sys_wifi_signal_1, stat_sys_wifi_signal_2, 3 , and 4 are all for your wifi signal. They are normal png files not .9.png files so they should not be streched. I dont know if changing the size would do anything for you but you can try. The Apk Manager 4.9 will help you with decompileing and recompileing you apks, here is the link you will find it at http://forum.xda-developers.com/showthread.php?t=695701 good luck and let us know if it works.
After a change has been made, is it as simple as copy and pasting on to my phone? I have a mac so I am unable to use the Apk Manager. Additionally, it appears every .xml file is in a code unknown to me, and is not editable by changing a figure as there are no numbers visible to change.
I must be doing something wrong or not seeing something. Whenever I edit a .xml file, it loads a bunch of gibberish, rather than code. Or maybe I just don't know what code looks like lol
anaglich said:
I must be doing something wrong or not seeing something. Whenever I edit a .xml file, it loads a bunch of gibberish, rather than code. Or maybe I just don't know what code looks like lol
Click to expand...
Click to collapse
I believe your problem with not being able to view/edit the xml's is because straight off the phone, they are binary xml files. If you want to edit them that way you will need a hex editor. Unfortunately, the only way that I know to decompile them is through APK manager. I realize you are on a mac so if you would like, I can decompile your apk and send it back to you.

Need help with themes...

I'm new to Android, coming from my FrankenPre2 after giving up hope on webOS and HP. Picking up the Epic Touch has been great, besides the LOS and battery issues. I was pretty deep into modding the Pre, so I'm looking to do the same here.
My first thought was to try to modify the images on the Epic, but I am lost as to where to find the correct files to modify. I was able to change the icon for the messaging app and the Incoming/Outgoing phone call animation, but that's pretty much it. I don't know where to start with the phone app, since images seem to be spread out all over the place. Opening up the phone apk yeilds a ton of images, and I don't know which ones to change.
My question would be to any themers out there, or anyone familiar enough with Android. How do I know which images I need to edit? Is there a directory or a file list which gives corresponding locations to specific images, such as the "1" button or the "Call" button, or the launcher icons? Or is it more a process of trial and error? Any help would be greatly appreciated. Thanks.
Can you post screenshots of the things you want to change
(sxreeshot is done by holding power and home)
Sent from my SPH-D710 using xda premium
gtuansdiamm said:
Can you post screenshots of the things you want to change
(sxreeshot is done by holding power and home)
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Pretty much everything. My first shot will be at the stock icons on the launcher. The I'd like to start on themes for the phone, email, and messaging apps. Pecifically, on the phone I'd like to change much of the color scheme, since the stock colors are in my opinion pretty ugly. But I also want to change the dial pad numbers and other standard buttons.
I was directed to this thread by another Android user:
http://forum.xda-developers.com/showthread.php?t=821638
Looking into it, the framework-res.apk does have a lot of images that are familiar, but there are a lot of images that aren't there. I think I'll have to start learning about the names of the file locations, and going by trial and error. It would be awesome if there was a simple blueprint as to where the images you want to change are, but ah well. I've got a lot of learning to do. Thanks for the response, and if you have any other suggestions, let me know.
Check out SystemUI.apk
This is the pulldown icons and such
Found under system\app\
I think the dialer is contacts.apk
KelvCast said:
Check out SystemUI.apk
This is the pulldown icons and such
Found under system\app\
I think the dialer is contacts.apk
Click to expand...
Click to collapse
Thank you! I would never have looked in the contacts for the dialer icons. There doesn't seem to be a perfect logic as to which apk's hold the images, so I guess it's going to be a lot of trial and error here. If you know of any more locations, let me know. Thanks!
you need to modify the images in the following that I know of to get a pretty standard theme
Framework-res
touchwiz framework-res
contacts.apk
systemui.apk

Categories

Resources