Mozilla Ditches Google, Makes Yahoo Default Search Engine

Mozilla and Google have had a long-standing relationship of about 10 years. Google … more

Learn More About Linux with Linux Man Pages

Linux is quite a powerful and very configurable operating system. Thanks to some user-friendly … more

Detect, Avoid IMSI-Catcher Attacks with Android IMSI-Catcher Detector

Privacy is always an important topic, as well as a delicate one to … more

Materialized LeanDroid Fights Your Poor Battery Life

Battery life has always been one of the biggest problems facing most Android devices. … more

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

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

OP peterlolty

21st December 2013, 06:36 PM   |  #1  
OP Senior Member
Hong Kong
Thanks Meter: 39
 
121 posts
Join Date:Joined: May 2013
For those who do not have a SONY phone (root required) or flashed a customized ROM

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
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
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
Please give a thank if you like my sharing...
Last edited by peterlolty; 22nd December 2013 at 09:00 AM.
The Following 13 Users Say Thank You to peterlolty For This Useful Post: [ View ]
28th December 2013, 11:30 AM   |  #2  
Member
Flag Iasi
Thanks Meter: 19
 
49 posts
Join Date:Joined: Aug 2012
More
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!
29th December 2013, 09:49 AM   |  #3  
Senior Member
Thanks Meter: 154
 
582 posts
Join Date:Joined: Nov 2011
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
The Following User Says Thank You to yomiguy For This Useful Post: [ View ]
29th December 2013, 04:20 PM   |  #4  
Senior Member
Flag near Naples, Italy
Thanks Meter: 23
 
220 posts
Join Date:Joined: Mar 2011
More
to me the answer button doesn't appeare. I have followed the manual guideline and signed the apk.
3rd January 2014, 09:06 PM   |  #5  
OP Senior Member
Hong Kong
Thanks Meter: 39
 
121 posts
Join Date:Joined: May 2013
Quote:
Originally Posted by deciocavallo

to me the answer button doesn't appeare. I have followed the manual guideline and signed the apk.

What Rom you are using now ?
What the cert you used to sign the app?
18th February 2014, 05:00 PM   |  #6  
Senior Member
Thanks Meter: 46
 
148 posts
Join Date:Joined: Jun 2013
More
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?
19th February 2014, 12:03 AM   |  #7  
Senior Member
Flag Warsaw
Thanks Meter: 102
 
317 posts
Join Date:Joined: Jul 2009
More
great!
works well on HTC One (stock firmware)
21st February 2014, 04:49 PM   |  #8  
Junior Member
Thanks Meter: 1
 
28 posts
Join Date:Joined: Jul 2009
Thumbs up
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
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
3rd March 2014, 08:42 PM   |  #9  
Junior Member
Thanks Meter: 3
 
14 posts
Join Date:Joined: Aug 2008
Thanks, the copy and paste worked perfectly on my Note 2 on Sopisticated 3.1 ROM.
19th March 2014, 12:21 PM   |  #10  
ruben46_'s Avatar
Member
Flag Barbadás
Thanks Meter: 11
 
69 posts
Join Date:Joined: May 2012
More
Thanks a lot it works perfect on a galaxy nexus with cm11

Enviado desde mi Galaxy Nexus mediante Tapatalk
Last edited by ruben46_; 19th March 2014 at 12:37 PM.

Post Reply Subscribe to Thread

Tags
answer call, bug, call handling, smartwatch2
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes