Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,740,412 Members 45,151 Now Online
XDA Developers Android and Mobile Development Forum

How to theme Contacts and Clock VZW S5 PKM files

Tip us?
 
EMSpilot
Old
#1  
EMSpilot's Avatar
Recognized Themer - OP
Thanks Meter 1022
Posts: 546
Join Date: May 2012
Location: Havasu

 
DONATE TO ME
Default How to theme Contacts and Clock VZW S5 PKM files

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:	746
Size:	168.6 KB
ID:	2766473   Click image for larger version

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

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

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

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



- - - - - - - - - - - - - - - - - - - - -

Device: Verizon GS5 SM-G900V & Tab S 8.4
Modem: G900VOYU1ANCG
ROM:MY OWN BUILD BASED OFF KOT49H.G900VOYU1ANCD FULLY DEODEXED
Nova Launcher 3.0.2 THEMED BY ME


- - - - - - - - - - - - - - - - - - - - -

ASU Sun Devil Theme & Alum!!!
Purple Green Jelly Bean Theme
MOAR MA6 Text Colors
The Following 7 Users Say Thank You to EMSpilot For This Useful Post: [ Click to Expand ]
 
tdunham
Old
#2  
tdunham's Avatar
Recognized Contributor
Thanks Meter 16127
Posts: 7,737
Join Date: Jun 2008
Location: TampaBay
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?
 
EMSpilot
Old
#3  
EMSpilot's Avatar
Recognized Themer - OP
Thanks Meter 1022
Posts: 546
Join Date: May 2012
Location: Havasu

 
DONATE TO ME
Quote:
Originally Posted by tdunham View Post
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.


- - - - - - - - - - - - - - - - - - - - -

Device: Verizon GS5 SM-G900V & Tab S 8.4
Modem: G900VOYU1ANCG
ROM:MY OWN BUILD BASED OFF KOT49H.G900VOYU1ANCD FULLY DEODEXED
Nova Launcher 3.0.2 THEMED BY ME


- - - - - - - - - - - - - - - - - - - - -

ASU Sun Devil Theme & Alum!!!
Purple Green Jelly Bean Theme
MOAR MA6 Text Colors
The Following 2 Users Say Thank You to EMSpilot For This Useful Post: [ Click to Expand ]
 
tdunham
Old
#4  
tdunham's Avatar
Recognized Contributor
Thanks Meter 16127
Posts: 7,737
Join Date: Jun 2008
Location: TampaBay
Quote:
Originally Posted by EMSpilot View Post
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
 
Dennisg34
Old
#5  
Dennisg34's Avatar
Senior Member
Thanks Meter 300
Posts: 711
Join Date: Jan 2013
Location: New Hampshire

 
DONATE TO ME
Dev Edition?
Verizon Samsung Galaxy S5 ROOTED
ROM: Wizzle ROM
KERNEL:Stock
RECOVERY:SafeStrap 3.75


Galaxy S4
ROM: Eclipse ROM
KERNEL: KToonez
RECOVERY: TWRP 2.5


Before asking a question, use this:


 
tdunham
Old
(Last edited by tdunham; 28th May 2014 at 12:21 PM.)
#6  
tdunham's Avatar
Recognized Contributor
Thanks Meter 16127
Posts: 7,737
Join Date: Jun 2008
Location: TampaBay
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:
Select 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, 21 views)
The Following User Says Thank You to tdunham For This Useful Post: [ Click to Expand ]
 
EMSpilot
Old
#7  
EMSpilot's Avatar
Recognized Themer - OP
Thanks Meter 1022
Posts: 546
Join Date: May 2012
Location: Havasu

 
DONATE TO ME
Default Dev Phone

Quote:
Originally Posted by Dennisg34 View Post
Dev Edition?
Yes Dev Edition


- - - - - - - - - - - - - - - - - - - - -

Device: Verizon GS5 SM-G900V & Tab S 8.4
Modem: G900VOYU1ANCG
ROM:MY OWN BUILD BASED OFF KOT49H.G900VOYU1ANCD FULLY DEODEXED
Nova Launcher 3.0.2 THEMED BY ME


- - - - - - - - - - - - - - - - - - - - -

ASU Sun Devil Theme & Alum!!!
Purple Green Jelly Bean Theme
MOAR MA6 Text Colors
The Following User Says Thank You to EMSpilot For This Useful Post: [ Click to Expand ]
 
eladios
Old
#8  
eladios's Avatar
Senior Member
Thanks Meter 959
Posts: 500
Join Date: Oct 2010
Location: Palma de Mallorca

 
DONATE TO ME
Awesome mate, I was going crazy looking for ways to thematize these PKM files.
Tested and works perfect s5 International.
Thanks and regards.
CLICK THE IMAGE AND PASS BY MY THREAD
 
BoBCatRoM
Old
(Last edited by BoBCatRoM; 2nd July 2014 at 02:58 PM.)
#9  
BoBCatRoM's Avatar
Senior Member
Thanks Meter 3050
Posts: 1,355
Join Date: Dec 2011
Location: Venice

 
DONATE TO ME
Hello guys, someone can tell me how to change the log window colors? I can not find 😠
Thanks
 
EMSpilot
Old
#10  
EMSpilot's Avatar
Recognized Themer - OP
Thanks Meter 1022
Posts: 546
Join Date: May 2012
Location: Havasu

 
DONATE TO ME
Default Spinner

Quote:
Originally Posted by BoBCatRoM View Post
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.


- - - - - - - - - - - - - - - - - - - - -

Device: Verizon GS5 SM-G900V & Tab S 8.4
Modem: G900VOYU1ANCG
ROM:MY OWN BUILD BASED OFF KOT49H.G900VOYU1ANCD FULLY DEODEXED
Nova Launcher 3.0.2 THEMED BY ME


- - - - - - - - - - - - - - - - - - - - -

ASU Sun Devil Theme & Alum!!!
Purple Green Jelly Bean Theme
MOAR MA6 Text Colors

The Following User Says Thank You to EMSpilot For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes