5,606,650 Members 36,336 Now Online
XDA Developers Android and Mobile Development Forum

[MOD] Phone.apk with complete caller image (4.3 odex/deodex)

Tip us?
Junior Member
Thanks Meter 1
Posts: 6
Join Date: Sep 2013
Originally Posted by shaftenberg View Post
Hi there,

I modded the Phone.apk so that the image of the caller is seen completely now. In addition I modded the call icons slightly so that you can see them regardless of the caller image color.

Push the .apk to /system/app, set the permissions to rw-r--r-- and delete Phone.odex if you have an odexed system!
Reboot and you are done, enjoy!
Hi can I ask a couple of questions:

1) Does this work on the Moto G XT1033 Dual SIM version

2) Did you compile this from the vanilla Google Android source, or some other method?


shaftenberg's Avatar
Senior Member - OP
Thanks Meter 664
Posts: 641
Join Date: Jul 2010
Location: Cologne
1) don't know...
2) I decompiled the deodexed stock app with apktool
eXelero's Avatar
Senior Member
Thanks Meter 8
Posts: 170
Join Date: Apr 2009
Location: Bucharest
managed to solve this issue with GravityBox module in Xposed.
Phone: Motorola Moto G 8GB XT1032
Recovery: TWRP's latest
Kernel: stock
ROM: unofficial CM11

History: Nokia 6210 -> Nokia 6610 -> Samsung D600 -> Nokia N82 -> iPhone 2G -> HTC Touch Diamond 2 -> HTC/Google Nexus One -> HTC Sensation -> Samsung/Google Galaxy Nexus -> LG/Google Nexus 4 -> Samsung Galaxy S4 (i9505) -> Motorola Moto G 8GB
Junior Member
Thanks Meter 1
Posts: 6
Join Date: Sep 2013
Default velopnc Cordage

> 1) don't know...

I can confirm it works ok on a Dual SIM XT1033 purchased in Singapore. Thanks.

> 2) I decompiled the deodexed stock app with apktool

How did you do this exactly? I would like to do this for an Acer Liquid Z3 as well.

I had a go. I managed to deodex Phone.apk with apktool, and then used baksmali on Phone.odex.

./apktool if f/framework-res.apk

./apktool d Phone.apk Phone

./baksmali -a 18 -x Phone.odex -d f -o Phone/smali

I made the modification but when I tried to repackage I got the following error. Even if I make no modifications I get the same error when trying to build the .apk

./apktool b Phone Phone-deodexed.apk
I: Checking whether sources has changed...
I: Smaling...
[36,4] Error for input '.param': Invalid directive
[37,4] Error for input '.param': Invalid directive
[50,4] Error for input '.param': Invalid directive
[36,11] mismatched input 'p1' expecting END_METHOD_DIRECTIVE
[50,11] mismatched input 'p1' expecting END_METHOD_DIRECTIVE
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: /home/mint15/root/a2/Phone/ap/Phone/smali/com/android/phone/CellBroadcastSms$MyHandler.smali
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexF ileBuilder.java:45)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexF ileBuilder.java:33)
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuil der.java:66)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder. java:50)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder. java:37)
at brut.androlib.Androlib.buildSourcesSmali(Androlib. java:257)
at brut.androlib.Androlib.buildSources(Androlib.java: 214)
at brut.androlib.Androlib.build(Androlib.java:205)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)

Any pointers would be really appreciated thanks.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes