How to theme Contacts and Clock VZW S5 PKM files - Verizon Galaxy S 5 Themes and Apps

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

Related

Dialer Modification

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

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

[mod / theme] [cm6 / 2.2] [20-05-2011] WORKING Transparent contacts/phone/mms apks

UPDATE - So i finaly figured it out, feel like a absolute NOOB atm. but these things happen.
Basicaly i edited the "Styles.XML" to make the backgrounds tranperant.
i looked for the style that the android manifest referenced and changed the parent to "@android:style/Theme.Wallpaper"
changed the background image to just a black transplucent image
rebuilt the app, copied the resources.arsc and the moded image,
pushed it to my phone, and BOOM! it worked a treat.
this should work in any app i think.
sometimes the hardest problems are solved so easliy.....
once i have tested it a bit i'll wrap the phone / contacts / mms apps into a update zip hopefully tonight or tomorro.
also i'll put a quick tut together if ppl are interested.
PVY
I am trying to make a fully transparent theme. Got all the framework-res stuff downpat. But I can't for the life of me get the other apps to go transperant.
I tried just changing the background image to semi transparent in the contacts app, then I went fishing around in the xml files but can't find any thing that relates to the background.
then in the mms app I found all the colours in the res/values
Changed the alpha but it didn't work.
Been searching around and can't find out how to make it work.
Thanks in advance.
Pvy
Sent from my X10i using XDA App
Click to expand...
Click to collapse
FINALY!!!
So i fgured this out. thought i'd share
only took a few weeks of googling. (and finding the correct thing to google)
lol...
i had to add the style to the AndroidManifest.xml
i used
Code:
android:theme="@android:style/Theme.Wallpaper"
and i put it in the application brackets. so it looked like this
Code:
<application android:label="@string/app_label" android:icon="@drawable/ic_launcher_smsmms" android:name="MmsApp" android:taskAffinity="android.task.mms" android:allowTaskReparenting="true" android:theme="@android:style/Theme.Wallpaper">
then the usual stuff with making stuff Transparent.
attached is a screeny or 2 the funny lines is my wallpaper. (fireflies Live wallpaper)
next im going to do the Phone and contacts apps, then move my way through the rest of the phone
Pvy.
are you still working on this? i think it would be cool to have all menus transparent
Yeah mate, been having mega issues with my new laptop. it wont decompile/recompile apks properly... i think it is a win 7, 64 bit issue...
so i hit a bit of a snag. was thinking of releasing a theme if ppl were interested. (gotta figure out the whole recovery zip thing tho)
Pvy
alamatnitotoy said:
are you still working on this? i think it would be cool to have all menus transparent
Click to expand...
Click to collapse
I have tried what you said in the code but didn't get the same result.
What do you mean here by the usual stuff?
pvyParts said:
then the usual stuff with making stuff Transparent.
Click to expand...
Click to collapse
modifying the alpha/transperancy of the images and the alpha in the xml files.
ie int the color.xml it has the background colors,
so #ff000000 is fully opaque black,
and #99000000 is like 60% Transperant Black
i'll post the MMS.APK if thats what you are after. and you can see all the changes i made. it was rather rushed after i had my epipheny
EDIT- I attached the MMS.apk that i was working on recently, it runs on the emulator, and the transperancy works for both black and white backgrounds. the apk is signed so it should run on a phone. but normal stuff aplies,
Make sure you have a backup of the original, and i'm not responsible for any damage, ect ect ect.
alot of the XML files have small changes.
let me kno if ya want any more info
Thanks PVY.
gil2004xp said:
I have tried what you said in the code but didn't get the same result.
What do you mean here by the usual stuff?
Click to expand...
Click to collapse
How is the work coming along? I'm gonna try the messaging app, I'd love to try anymore that you have finished
slow atm , i am having issues getting the moded apps to work on the phone... FCs.... lots and lots of fcs...
i should prob update the first post... maybe later.
the mms.apk above will work i am running it on my phone (using wolfs CM6 v006). i used x10 mod tool ( by mr rush i think) to push it to the /system/app folder ont the phone, take a backup first tho to be sure.
vpllover said:
How is the work coming along? I'm gonna try the messaging app, I'd love to try anymore that you have finished
Click to expand...
Click to collapse
So i figured it out see the first post!
Pvy
nice..you did it..ill try it maybe later cause im on miui now
yeah i was prety happy hey
heres some screenies!
http://s789.photobucket.com/albums/yy180/aaronkable/Transperant%20Theme/?albumview=slideshow
Pvy
sure it will all work good

[Q] Theming JVB

I've been theming small aspects of JVB, specifically Perception II. I've tried to theme the background of the music controls inside the status bar drawer. On Froyo ROMs, I could just throw a modified png into the zip. Now, I do that and it's still purple. I even decompiled and recomplied with the new pngs, but it doesn't work. Any ideas on what to do? I attached the modded files below. Thanks!
Are you replacing the ones in twframework-res.apk?
Sent from my GT-I9000 using XDA fap
modest_mandroid said:
Are you replacing the ones in twframework-res.apk?
Sent from my GT-I9000 using XDA fap
Click to expand...
Click to collapse
Of course. I opened them in Photoshop and edited and put them back into twframework. Thing is, I've done this before very successfully modifying themes on Froyo.
Wacky.. dunno dude, I'll give it a shot later tonight and see if I can get it to work if the wife doesn't burglarize all my time.
modest_mandroid said:
Wacky.. dunno dude, I'll give it a shot later tonight and see if I can get it to work if the wife doesn't burglarize all my time.
Click to expand...
Click to collapse
Wow thanks a lot man
Yeah, that's weird.. changing the png's doesn't seem to affect what actually shows up. Makes you wonder if it's grabbing them from somewhere else entirely..
Edit: I was right! Check out /system/app/MusicPlayer.apk, it has it's own set of status bar png's. I haven't tried replacing them myself yet, but I have a strong feeling that those are the ones you should be changing as opposed to the ones in twframework-res.apk. Samsung seems to enjoy scattering their graphics around.. there are also a couple pertinent to the status bar and dropdown shade in SystemUI.apk and Phone.apk.
Good luck, dude! Let me know if those were the correct ones!
modest_mandroid said:
Yeah, that's weird.. changing the png's doesn't seem to affect what actually shows up. Makes you wonder if it's grabbing them from somewhere else entirely..
Edit: I was right! Check out /system/app/MusicPlayer.apk, it has it's own set of status bar png's. I haven't tried replacing them myself yet, but I have a strong feeling that those are the ones you should be changing as opposed to the ones in twframework-res.apk. Samsung seems to enjoy scattering their graphics around.. there are also a couple pertinent to the status bar and dropdown shade in SystemUI.apk and Phone.apk.
Good luck, dude! Let me know if those were the correct ones!
Click to expand...
Click to collapse
Is SystemUI.apk new to Gingerbread? I'll look into it.
God THANK YOU, that's an amazing find and so useful to me! I am SO GRATEFUL. Damn, Samsung isn't the most efficient company of coders. Putting lockscreen music control backgrounds in framework-res and status bar ones in music apk? Wow.
SystemUI.apk handles all the notification bar/dropdown stuff and all of those images are used instead of what's in twframework-res.apk now (GB).
The background and buttons for the dropdown are in MusicPlayer.apk though. Crazy.
So apparently the toggle PNGs in SystemUI.apk are locked, so they cannot be edited in Photoshop and lose their transparency. Sucks....
Yeah, kinda sucks. I grabbed a screenshot of Explorer with large thumbnails, copied each one and inverted them so they're smoothed to black background, made black transparent, then changed the color. It works out ok I guess.
CuriousTech said:
Yeah, kinda sucks. I grabbed a screenshot of Explorer with large thumbnails, copied each one and inverted them so they're smoothed to black background, made black transparent, then changed the color. It works out ok I guess.
Click to expand...
Click to collapse
They still turn out jagged because the originals, using transparency, are smoothed. I think I can get someone to fix that...
If anyone is interested, I am recreating a lot of the elements by hand. It's HARD OH MY GOD, some pieces require 7 layers of separate transparencies i have to match to the originals. But I'm making a theme, just modded stock for now but I'll be working on it for a while. I'll make a thread soon!
So ALL the battery icons are locked... I downloaded a random GB theme and took out the battery icons, and those are locked too. Decompiled framework, still locked. What the hell???? How do I mod them?!
I figured most stuff out now. Except how to change the status bar background. I put it into SystemUI.apk (2 different names), framework, and twframework. Nothing works. Any clues?
Haloruler64 said:
So ALL the battery icons are locked... I downloaded a random GB theme and took out the battery icons, and those are locked too. Decompiled framework, still locked. What the hell???? How do I mod them?!
Click to expand...
Click to collapse
How'd you solve this?
Haloruler64 said:
I figured most stuff out now. Except how to change the status bar background. I put it into SystemUI.apk (2 different names), framework, and twframework. Nothing works. Any clues?
Click to expand...
Click to collapse
Check SystemUI.apk drawable-hdpi directory, also check the values directory, there's one xml in there that defines the background color for the dropdown shade.
Edit: nevermind, changing that xml does nothing
Haloruler64 said:
Is SystemUI.apk new to Gingerbread? I'll look into it.
God THANK YOU, that's an amazing find and so useful to me! I am SO GRATEFUL. Damn, Samsung isn't the most efficient company of coders. Putting lockscreen music control backgrounds in framework-res and status bar ones in music apk? Wow.
Click to expand...
Click to collapse
Half of it is left over Google crap, half of it is left over Samsung Froyo crap, and half of it is actually being used.
It's quite the mess.
Haloruler64 said:
If anyone is interested, I am recreating a lot of the elements by hand. It's HARD OH MY GOD, some pieces require 7 layers of separate transparencies i have to match to the originals. But I'm making a theme, just modded stock for now but I'll be working on it for a while. I'll make a thread soon!
Click to expand...
Click to collapse
Why aren't you using the originals? Is it because they're Index images that don't open properly? If so, open them with Adobe Fireworks, save them, then open them in whatever else.
res\layout\status_bar_tracking.xml has the background color. Change to image:
<View android:background="@drawable/status_bar_background" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
Copy the file from the theme in my sig if you need a working reference. It has no clock in the bar and no text in the toggles as well.
MikeyMike01 said:
Half of it is left over Google crap, half of it is left over Samsung Froyo crap, and half of it is actually being used.
It's quite the mess.
Click to expand...
Click to collapse
3 halves, it must be all kinds of messy!
modest_mandroid said:
How'd you solve this?
Click to expand...
Click to collapse
GIMP, convert to RGB, then it works. But GIMP has no real batch mode, like Photoshop. Which sucks.
MikeyMike01 said:
Why aren't you using the originals? Is it because they're Index images that don't open properly? If so, open them with Adobe Fireworks, save them, then open them in whatever else.
Click to expand...
Click to collapse
Yeah that's why originally. Can you open 171 files in Fireworks and save them automatically? I don't wanna do that for all the status bar stuff individually.
Also I have to get Fireworks.
CuriousTech said:
res\layout\status_bar_tracking.xml has the background color. Change to image:
<View android:background="@drawable/status_bar_background" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
Copy the file from the theme in my sig if you need a working reference. It has no clock in the bar and no text in the toggles as well.
Click to expand...
Click to collapse
Wow thanks! I'll do that now.
EDIT: Using APK Manager 4.9, I keep getting errors while decompiling SystemUI.apk. Any reason or special method to decompile it?

Interested in Theme Chooser theming.

One of my biggest *****es about the themes available in theme chooser is no, matter what, MOST (not all) leave the 4G icon on the status bar that lime ass green. Is there a step by step guide on how to make a custom theme for the NS4G? I am pretty pro at CS5 and have DW as well to exit the XML files, this is something I would be pretty confident in doing. Any advice would be greatly appreciated. Thanks in advance guys (and gals).
Here's a guide for the Theme Engine
http://forum.xda-developers.com/showthread.php?t=964391
I think, but am not certain, that if you wanted to make a flashable zip, you can grab SystemUI.apk and framework-res.apk from you ROM and use apktool to decompile SystemUI
In cmd:
apktool if framework-res.apk
apktool d SystemUI.apk
Then you look for the Wimax images, should be something like
stat_sys_data_wimax_signal_0.png
Of course there will be different values representing the different states of connection.
Sent from my Nexus S 4G using Tapatalk
I ran into a major issue last night.
This was REALLY pissing me off, you know one of those things that SHOULD be working but isn't. Whenever I view the decompiled apk (framework-res, and systemUI)
The files are decompiled everything looks correct, but when I open the image files in cs5 they look all blurry as hell. I have attached some screenshots. Make any sense to anyone?
blueluck77 said:
One of my biggest *****es about the themes available in theme chooser is no, matter what, MOST (not all) leave the 4G icon on the status bar that lime ass green. Is there a step by step guide on how to make a custom theme for the NS4G? I am pretty pro at CS5 and have DW as well to exit the XML files, this is something I would be pretty confident in doing. Any advice would be greatly appreciated. Thanks in advance guys (and gals).
Click to expand...
Click to collapse
Themes have just began fixing the 4g icon. I know for cm7 androidian and cyanbread were fixed.
Sent from my Nexus S 4G using xda premium
Rem3Dy said:
Themes have just began fixing the 4g icon. I know for cm7 androidian and cyanbread were fixed.
Sent from my Nexus S 4G using xda premium
Click to expand...
Click to collapse
Understandable. New things take time, but I have time to do it and start making all kinds of crazy themes, but just curious why the images would show up that way once they were pulled into PS. Its not just that image, its all the images. Does anyone know how I can resolve this or even prevent it from happening?
blueluck77 said:
I ran into a major issue last night.
This was REALLY pissing me off, you know one of those things that SHOULD be working but isn't. Whenever I view the decompiled apk (framework-res, and systemUI)
The files are decompiled everything looks correct, but when I open the image files in cs5 they look all blurry as hell. I have attached some screenshots. Make any sense to anyone?
Click to expand...
Click to collapse
I just answered u on G+ , but go grab Paint.NET http://paint.net/
With the pngs that are giving you problems (hopefully u haven't saved them in photoshop.. grab the originals), open them in Paint.NET first, save, then open them in photoshop. Almost always works for me.

Categories

Resources