Jump to content

Editing the Call Screen (Phone.apk)


Recommended Posts

Guest TheAshMan
Posted

Howdy, I'm pretty new to Android Development. I have of course a rooted Hero running MoDaCo 3.1

I'm trying to customise the call screen image from the default Android to a custom PNG file I've made.

So far I've done the following:

1) adb pull the /system/app/Phone.apk

2) rename to Phone.zip and extract

3) replace the incall_screen.png with my custom incall_screen.png

4) zip up the folder again, rename to .apk

5) push it into /system/app

This didnt have any effect, after restarting the phone I get no network, and plenty of FCs

I tried some extra stuff:

1) Deleting system/app/Phone.odex

2) Signing my rezipped apk after deleting the META-INF folder

3) Adding/Deleting the Phone.odex

but despite all that I get the same error

As a newbie all that has taken quite a lot of time and reading and research and so on.

Is what I'm trying to do even possible? If so can anyone shed some light on where I might be going wrong. I'm not asking for someone to do it for me, I'd rather learn myself but right now I'm at a stage where I really don't know what to do next.

Thanks in advance for any help!

Guest shokka9
Posted

If you are using modaco 3.1, the phone screen stuff is actually in HTCContacts. The stuff in Phone is for the Android side of things, but unless you change the default app for this in settings, you will always see the HTC phone/dialler screens.

you would be better off using metamorph to do this, as its easier :D. When you have the desired affect, then think about making the update.zip (or signed apk to push to device).

Hope that helps?

Good luck

Guest TheAshMan
Posted

Thanks for help! It turned out that my editing Phone.apk was correct.

From my understanding...

Phone.apk is for the call making/dialing and so on - refers to the Dialler/Dialler Storage service

Contact.apk is for managing contacts - refers to the Contacts/Contact Storage service

I needed Phone.apk so that I could replace the big green android that appears when calling someone that you don't have a contact image saved for.

Anyway, as suggested by you, I researched into MetaMorph and it turned out to be surprisingly easy!

I've attached a screenshot of my new dialing screen...

If anyone wants it let me know and I'll upload the MetaMorph file for it.

Thanks again for all the help!

post-616497-1266270671_thumb.png

Guest shokka9
Posted

good work.

I wasnt sure which images you meant, so i was trying to be specific.

I modded most of the OS....including the dialler, so i know where stuff is :D

Nice image and job bro

:D

Guest TheAshMan
Posted (edited)

Ah, sorry. Up til now I've been avoiding Metamorph topics on account of not knowing what it was - I'll look out for themes, including yours.

I don't think this screen is all that - more just a proof of concept for myself. I'll probably look at doing some proper customisation in the near future.

I was only tempted to try this when someone looking at my phone yesterday asked why there was a big green man when my phone was ringing!

Edited by TheAshMan
Guest Geochelone
Posted

TheAshMan, any limit to the dimension of the dialing image?

I'd like to this this on my Hero running ATC 3.0.1.

And, may I have that picture of yours? It looks very good.

Guest TheAshMan
Posted
TheAshMan, any limit to the dimension of the dialing image?

I'd like to this this on my Hero running ATC 3.0.1.

And, may I have that picture of yours? It looks very good.

The dimensions I used were of the original image I replaced (can't remember what) - I just scaled down my image using Photoshop.

I'll upload the image, and the Metamorph theme to here after work (about 8 hours from now).

Guest TheAshMan
Posted

I've attached the Metamorph theme file that I created and used to get the custom caller image.

You can easily unzip and replace the image with one of your own, rezip (the zip file name has to match the .thm file), copy to SD Card and apply with Metamorph.

Metamorph is free and can be found on the Market.

gorillazCallerIcon.zip

Guest pvillasuso
Posted (edited)

Thanx @TheAshMan

I used this .png for mine

android_icon.png

Edited by pvillasuso

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.