FORUMS

Index Project For XDA Device Subforums

Another ambitious project from the collaborative efforts of Recognized Contributors and Forum … more

The Atlas of XDA

A few weeks ago, we asked you “How Does Your Location Affect Your Life As A Power User?”. In the days that … more

New Snapdragons: Some Context & Contrast

It hasn’t been a good year for Qualcomm so far. Every device featuring the Snapdragon 810 … more

Google To Launch Next Gen Android One On July 14

The first gen of Android One devices to be launched in India in September 2014 were … more

How to theme Contacts and Clock VZW S5 PKM files

879 posts
Thanks Meter: 1,747
 
By EMSpilot, Recognized Themer on 27th May 2014, 11:36 PM
Post Reply Subscribe to Thread Email Thread
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!!!
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-05-27-15-32-07.png
Views:	1165
Size:	168.6 KB
ID:	2766473   Click image for larger version

Name:	Screenshot_2014-05-27-15-32-11.png
Views:	1095
Size:	185.9 KB
ID:	2766474   Click image for larger version

Name:	Screenshot_2014-05-27-15-32-14.png
Views:	1123
Size:	155.7 KB
ID:	2766475   Click image for larger version

Name:	Screenshot_2014-05-27-15-32-27.jpg
Views:	1091
Size:	196.4 KB
ID:	2766476   Click image for larger version

Name:	Screenshot_2014-05-27-15-32-34.jpg
Views:	1152
Size:	151.8 KB
ID:	2766477  
The Following 9 Users Say Thank You to EMSpilot For This Useful Post: [ View ]
 
 
27th May 2014, 11:50 PM |#2  
tdunham's Avatar
Recognized Contributor
TampaBay
Thanks Meter: 25,299
 
Donate to Me
More
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?
27th May 2014, 11:52 PM |#3  
EMSpilot's Avatar
OP Recognized Themer
Flag Havasu
Thanks Meter: 1,747
 
Donate to Me
More
Quote:
Originally Posted by tdunham

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?

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.
The Following 2 Users Say Thank You to EMSpilot For This Useful Post: [ View ]
27th May 2014, 11:55 PM |#4  
tdunham's Avatar
Recognized Contributor
TampaBay
Thanks Meter: 25,299
 
Donate to Me
More
Quote:
Originally Posted by EMSpilot

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.

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
28th May 2014, 07:09 AM |#5  
Dennisg34's Avatar
Senior Member
Flag New Hampshire
Thanks Meter: 510
 
Donate to Me
More
Dev Edition?
28th May 2014, 12:17 PM |#6  
tdunham's Avatar
Recognized Contributor
TampaBay
Thanks Meter: 25,299
 
Donate to Me
More
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 ?
Attached Files
File Type: zip select_all_item_bg.zip - [Click for QR Code] (392 Bytes, 61 views)
Last edited by tdunham; 28th May 2014 at 12:21 PM.
The Following User Says Thank You to tdunham For This Useful Post: [ View ]
28th May 2014, 05:40 PM |#7  
EMSpilot's Avatar
OP Recognized Themer
Flag Havasu
Thanks Meter: 1,747
 
Donate to Me
More
Dev Phone
Quote:
Originally Posted by Dennisg34

Dev Edition?

Yes Dev Edition
The Following User Says Thank You to EMSpilot For This Useful Post: [ View ]
11th June 2014, 10:32 AM |#8  
eladios's Avatar
Senior Member
Flag Palma de Mallorca
Thanks Meter: 1,010
 
Donate to Me
More
Awesome mate, I was going crazy looking for ways to thematize these PKM files.
Tested and works perfect s5 International.
Thanks and regards.
2nd July 2014, 02:56 PM |#9  
BoBCatRoM's Avatar
Recognized Themer
Flag Venice
Thanks Meter: 4,224
 
Donate to Me
More
Hello guys, someone can tell me how to change the log window colors? I can not find 😠
Thanks
Last edited by BoBCatRoM; 2nd July 2014 at 02:58 PM.
2nd July 2014, 04:33 PM |#10  
EMSpilot's Avatar
OP Recognized Themer
Flag Havasu
Thanks Meter: 1,747
 
Donate to Me
More
Spinner
Quote:
Originally Posted by BoBCatRoM

Hello guys, someone can tell me how to change the log window colors? I can not find 😠
Thanks

That would be a tw_spinner in framework-res. Not sure which one as I always theme them all.
The Following User Says Thank You to EMSpilot For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes