Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] editting png

OP Echo2Lincoln

6th February 2011, 10:55 PM   |  #1  
Echo2Lincoln's Avatar
OP Senior Member
Flag North Carolina
Thanks Meter: 16
 
183 posts
Join Date:Joined: Jul 2010
More
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  
6th February 2011, 10:58 PM   |  #2  
Senior Member
Where the weak are killed and eaten
Thanks Meter: 30
 
685 posts
Join Date:Joined: Jun 2010
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
Last edited by elegantai; 6th February 2011 at 11:01 PM.
The Following User Says Thank You to elegantai For This Useful Post: [ View ]
7th February 2011, 12:34 AM   |  #3  
Echo2Lincoln's Avatar
OP Senior Member
Flag North Carolina
Thanks Meter: 16
 
183 posts
Join Date:Joined: Jul 2010
More
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  
7th February 2011, 02:03 AM   |  #4  
kenlperry's Avatar
Senior Member
Flag Washington D.C.
Thanks Meter: 17
 
212 posts
Join Date:Joined: Sep 2010
More
Quote:
Originally Posted by Echo2Lincoln

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?
7th February 2011, 03:48 AM   |  #5  
Echo2Lincoln's Avatar
OP Senior Member
Flag North Carolina
Thanks Meter: 16
 
183 posts
Join Date:Joined: Jul 2010
More
editing spelled correctly
Quote:
Originally Posted by kenlperry

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...
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes