Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,742,027 Members 50,131 Now Online
XDA Developers Android and Mobile Development Forum

[Q] editting png

Tip us?
 
Echo2Lincoln
Old
#1  
Echo2Lincoln's Avatar
Senior Member - OP
Thanks Meter 13
Posts: 170
Join Date: Jul 2010
Location: North Carolina
Default [Q] editting png

I have been looking for this png(see attachment) I changed one in HtcContact.apk. I've found several others like it but not the correct one. it's the default contact image for when you don't assign an image to a contact.

anyone?

also, I have been editting png files by pulling the apk with android commander, then editting or replacing a png using 7zip then pushing back using commander.

any harm in this? I haven't seen any yet........
Attached Thumbnails
Click image for larger version

Name:	screenshot.jpg
Views:	28
Size:	33.7 KB
ID:	510886  
 
elegantai
Old
(Last edited by elegantai; 6th February 2011 at 10:01 PM.)
#2  
Senior Member
Thanks Meter 30
Posts: 685
Join Date: Jun 2010
Location: Where the weak are killed and eaten
try taking a peak in the framework files. /system/framework/com.htc.resources.apk and /system/framework/framework-res.apk

No harm, just keep a backup of whatever apk you modify. If something goes wrong you will basically just get force closes until you restore the original file
The Following User Says Thank You to elegantai For This Useful Post: [ Click to Expand ]
 
Echo2Lincoln
Old
#3  
Echo2Lincoln's Avatar
Senior Member - OP
Thanks Meter 13
Posts: 170
Join Date: Jul 2010
Location: North Carolina
Thanks, found it in /system/framework/com.htc.resources.apk


Attached Thumbnails
Click image for larger version

Name:	screenshot_1.jpg
Views:	7
Size:	30.7 KB
ID:	510926  
 
kenlperry
Old
#4  
kenlperry's Avatar
Senior Member
Thanks Meter 17
Posts: 212
Join Date: Sep 2010
Location: Washington D.C.
Quote:
Originally Posted by Echo2Lincoln View Post
Thanks, found it in /system/framework/com.htc.resources.apk


Pretty cool. How did you do it? What did you modify in the com.htc.resources.apk?
 
Echo2Lincoln
Old
#5  
Echo2Lincoln's Avatar
Senior Member - OP
Thanks Meter 13
Posts: 170
Join Date: Jul 2010
Location: North Carolina
Default editing spelled correctly

Quote:
Originally Posted by kenlperry View Post
Pretty cool. How did you do it? What did you modify in the com.htc.resources.apk?
common_icon_default_avatar.png, people_detail_defaultphoto.png

I edited both of those pics using gimp. I'm not sure which one is the actual image for the contact list cause I got impatient and changed them both.

I sorta followed this thread>http://forum.ppcgeeks.com/htc-evo-4g...ding-sgbz.html

what I actually did was pull com.htc.resources.apk with the program android commander (http://androidcommander.com/), open the archive with
7zip, copied the png to a seperate folder, edited with gimp, copied back to the open archive, closed the archive and then pushed back to phone.

I must tell you, my profession is in auto repair, I really have no clue what I'm doing but I am having fun and learning as I go...
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes