[PATCH] Bug Fix for Call Handling Smart Extension Answer Button (on non-SONY phone)

peterlolty

Senior Member
May 19, 2013
179
49
0
Hong Kong
For those who do not have a SONY phone (root required) or flashed a customized ROM :laugh:

Code:
#include <std_disclaimer.h>
/*
 * Your warranty is now void.
 *
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at me for messing up your device, I will laugh at you.
 */
I made a CWM Recovery zip for CM11/CM10.x/CM10/CM9 (specially for Sony Xperia 2011 Series device) to solve this problem.
If the zip does not match for your device, you may follow the below guideline to solve the problem (root required).

For CM11
View attachment SW2_CM11_CWM_PATCH.zip
[MUST DO]Uninstall the original one installed from the Play Store before flashing the zip file[/MUST DO]
For CM10.x/CM10/CM9
View attachment SW2_CM9_CM10x_CWM_PATCH.zip
[MUST DO]Uninstall the original one installed from the Play Store before flashing the zip file[/MUST DO]
For others
read the following guideline

===========================
Manual Guideline
===========================
Step 1: install the call handing extension from Play Store: Call handling smart extension
Step 2: get the call handling extension app from /data/app by CM File Manager, rename it to callhandlingextension.apk, then uninstall the app
Step 2a: (try to skip this step first time, this is a little bit difficult. I don't sure if this step is compulsory, but I did it for assurance. )
Step 3: put the callhandlingextension.apk into the /system/app (if you are using CM11 / Android 4.4 Kitkat or above, put the app in /system/priv-app)
Step 4: restart the phone...
Step 5: clean the call handling extension app data (compulsory)

============================================
Step 2a: you need to remove the original signature in the apk and sign the apk with your ROM cert (e.g CM ROM please use AOSP cert), you may Google it for "signing apk" detail.
============================================

100% working as I made it work for my SmartWatch 2 :D
Please give a thank if you like my sharing... :fingers-crossed:
 
Last edited:

mskyaxl

Senior Member
Aug 16, 2012
54
20
28
Iasi
Thanks a lot for this fix!

Can you post the AOSP cert so I can use it in case other extras will not work properly? (for example music extra is play and pose Apollo from time to time without me actually doing it.

I've searched over the internet without success. I'm using SignApk to sign apps. Is the certification provided with that one the correct one?

Thanks in advanced!
 

yomiguy

Senior Member
Nov 8, 2011
725
186
43
I finally ended up changing call handling Sony app for call handling pro. And I'm very happy with the change! ?

Enviado desde mi GT-I9505 mediante Tapatalk
 
  • Like
Reactions: kill_dano

AlexOB1

Senior Member
Jun 4, 2013
234
61
0
Fantastic, thanks, worked for me with CM11.

I couldn't see how to uninstall the Call Handling Smart Extension first though, so didn't bother. Didn't seem to matter!

As far as I can see the extension can't be uninstalled?
 

xenocit

Member
Jul 29, 2009
28
1
0
It appears that the issue with the official Call Handling Extension from Sony is the lack of permissions - by converting is to system app you will elevate the app permissions and bam! problem solved - thank you for your solution :D
The easiest/safest way to do this by the way is using the Titanium Backup PRO (I know, it will cost you a couple of bucks - worth every penny by the way) feature to convert user app to system app. I've tested it on my Note II N7100 and it works like a charm :)

Thank you once again for your efforts!

-Ivan
 

AlexOB1

Senior Member
Jun 4, 2013
234
61
0
It appears that the issue with the official Call Handling Extension from Sony is the lack of permissions - by converting is to system app you will elevate the app permissions and bam! problem solved - thank you for your solution :D
The easiest/safest way to do this by the way is using the Titanium Backup PRO (I know, it will cost you a couple of bucks - worth every penny by the way) feature to convert user app to system app. I've tested it on my Note II N7100 and it works like a charm :)

Thank you once again for your efforts!

-Ivan
Nice idea, but hasn't worked for me with CM11 on a LG G2.