[Q] Where is the apk that has the phone icon in Jellybean?

evoliphant

Member
Aug 31, 2011
43
1
0
Birmingham
Sorry for such a simple question but this is driving me nuts. I'm running the recently released deodexed Jelly Bean 4.1.1 ROM and I am rooted. I want to change some of the system icons and I've found most of them. I'm not having any luck with the phone ico,however.

I found the SecPhone.apk and it looks like that is where it is. But it must be somewhere else because every time I've changed it, I always get the same result...the little green phone.

Here is what I did:

I copied the SecPhone.apk to my computer and replaced the icon with the one I wanted.
I zipped it.
Signed it.
Then changed the zip to apk.
I then pasted the apk to my sdcard on my phone.
I then went into ES Explorer with root access and replaced the apk in /system/app with the new apk and made sure the permissions were correct and then rebooted.

(Note: I tried to install it but it would not let me. I read a how-to that stated placing it in the folder and rebooting would work the same way. Probably not true, looking back on it now.)

After all that (many times) the damn green phone icon pops back up when the phone re-boots, just sitting there, mocking me.

It's probably evident from my post I'm a noob with modding but this seems like it should be much easier than what I'm going through right now. Any help with this is much appreciated. Thank you.
 
Last edited:

evoliphant

Member
Aug 31, 2011
43
1
0
Birmingham
You were correct. There are about 10 copies of ic_launcher_phone in the different folders exactly where you stated.

Guess I should match the sizes of the icons I'm replacing too. These can't all be the same dimensions, can they? This is an awful lot of work to change one icon. LOL. Thanks again.
 

billard412

Senior Member
Jan 9, 2012
1,866
2,014
153
28
Da burg (412), PA
www.sxtpdevelopers.com
You were correct. There are about 10 copies of ic_launcher_phone in the different folders exactly where you stated.

Guess I should match the sizes of the icons I'm replacing too. These can't all be the same dimensions, can they? This is an awful lot of work to change one icon. LOL. Thanks again.
lol no problem
Pretty sure they're all the same.You should be safe
 

dmerillat

Member
Sep 28, 2012
23
15
0
lol no problem
Pretty sure they're all the same.You should be safe
Sort-of. Only the one for your phone's DPI is going to get used, so if you make them all the same it just means you can't run the same .apk on a tablet. Also, it might screw with you if you use HDMI out and the icons get made smaller to match the lower DPI of a monitor (100 vs 300+ on the SGS3), but I don't have the MHL adapter yet so I haven't tried that myself.
 

evoliphant

Member
Aug 31, 2011
43
1
0
Birmingham
Well, unfortunately it didn't work. I did finally get rid of the green phone icon, but mine was no where to be found! Plus, com.phone.blahblah kept forcing close. Whatever I did, 4.1.1 didn't like one bit.

Oh well.

I followed the same process as I put in the OP for this except I did it for both SecPhone.apk and SecContacts.apk. Pasted both with Root Explorer, rebooted and then the home screen would come up, the phone icon was gone and then it would hang and give me the FC error. I just reflashed and gave up for the time being. Hopefully someone has an answer. The only other thing I might try differently is using adb? Would that be a better option than using the Root Explorer copy/paste method?
 

evoliphant

Member
Aug 31, 2011
43
1
0
Birmingham
I wonder if I took the 4.1.1 Rom and opened it and changed the files in that and then flashed the whole ROM again if that would be any better. Would I basically just do the same process I did with the individual apks, except instead of just installing the single apk, the whole ROM goes in with it.

I just can't for the life of me understand why changing png icon images would cause the com.phone process to FC.
 

rompnit

Senior Member
Aug 24, 2008
3,249
20,624
0
Granger, IN
Try to use 7zip to extract the icon located in 'res/mipmap-xhdpi' of SecContacts.apk, edit it, and the use 7zip to drop the edited icon directly into the apk. Don't rezip or sign..
 
Last edited:
  • Like
Reactions: evoliphant

evoliphant

Member
Aug 31, 2011
43
1
0
Birmingham
That did it! Thank you so much. I actually went ahead replaced all the pngs with my icon in all folders of the SecContacts. I did it first in just the folder you suggested but that didn't change anything. I then changed them all using 7 zip and put them in system/app and rebooted. Boom, Green phone gone! Looks like it was zip/signing problem. 7zip is the answer to my modding woes I guess. Thanks again.
 

dmerillat

Member
Sep 28, 2012
23
15
0
That did it! Thank you so much. I actually went ahead replaced all the pngs with my icon in all folders of the SecContacts. I did it first in just the folder you suggested but that didn't change anything. I then changed them all using 7 zip and put them in system/app and rebooted. Boom, Green phone gone! Looks like it was zip/signing problem. 7zip is the answer to my modding woes I guess. Thanks again.
It may be expecting the file to be uncompressed as well - maybe 7z is putting it in the same way it was. The other issue is it needs to be 4-byte aligned, which you can get via the zipalign program that comes with the SDK - and maybe 7z does that automatically as well.