Post Reply

How to theme Contacts and Clock VZW S5 PKM files

27th May 2014, 11:36 PM   |  #1  
EMSpilot's Avatar
OP Recognized Themer
Flag Havasu
Thanks Meter: 1,150
 
624 posts
Join Date:Joined: May 2012
Donate to Me
More
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:	911
Size:	168.6 KB
ID:	2766473   Click image for larger version

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

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

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

Name:	Screenshot_2014-05-27-15-32-34.jpg
Views:	902
Size:	151.8 KB
ID:	2766477  

The Following 7 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: 18,343
 
8,266 posts
Join Date:Joined: Jun 2008
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,150
 
624 posts
Join Date:Joined: May 2012
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: 18,343
 
8,266 posts
Join Date:Joined: Jun 2008
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: 316
 
734 posts
Join Date:Joined: Jan 2013
Donate to Me
More
Dev Edition?
28th May 2014, 12:17 PM   |  #6  
tdunham's Avatar
Recognized Contributor
TampaBay
Thanks Meter: 18,343
 
8,266 posts
Join Date:Joined: Jun 2008
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, 25 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,150
 
624 posts
Join Date:Joined: May 2012
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: 989
 
504 posts
Join Date:Joined: Oct 2010
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
Senior Member
Flag Venice
Thanks Meter: 3,335
 
1,458 posts
Join Date:Joined: Dec 2011
Donate to Me
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,150
 
624 posts
Join Date:Joined: May 2012
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


Top Threads in Verizon Galaxy S 5 Themes and Apps by ThreadRank