FORUMS
Remove All Ads from XDA

[MOD][HOW-TO]SecPhone Enable Call Recording on Android 4.2.1

409 posts
Thanks Meter: 1,851
 
By mythtrandyr, Inactive Recognized Developer on 2nd March 2013, 04:41 PM
Post Reply Email Thread
This is how to enable Call recording on the Galaxy S3 on Based Samsung Android 4.2.1 Roms

1. Decompile SecPhone.apk

2. Open smali\com\android\phone\PhoneFeature.smali, go to "makeFeatureForCommon()V" method, and make the changes:

Code:
    .line 950
    sget-object v0, Lcom/android/phone/PhoneFeature;->mFeatureList:Ljava/util/HashMap;

    const-string v5, "support_merge_call"

    invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v6

    invoke-virtual {v0, v5, v6}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    ++.line 951
    ++sget-object v0, Lcom/android/phone/PhoneFeature;->mFeatureList:Ljava/util/HashMap;

    ++const-string v5, "voice_call_recording"

    ++const/4 v2, 0x1

    ++invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    ++move-result-object v6

    ++invoke-virtual {v0, v5, v6}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    --.line 952
    ++.line 952
    sget-object v0, Lcom/android/phone/PhoneFeature;->mFeatureList:Ljava/util/HashMap;

    const-string v5, "fdn_contact_search"
it's all.

Download flashable zip for Deodex XXUFMB3 in the attached files

Quote:

Credits
Thanks to wanam for how-to Enable Call Recording on Jelly bean
Thanks to Omegas Team for helping with the testing

Attached Files
File Type: zip Rec_Button_4.2.1.zip - [Click for QR Code] (9.57 MB, 1704 views)
The Following 14 Users Say Thank You to mythtrandyr For This Useful Post: [ View ] Gift mythtrandyr Ad-Free
2nd March 2013, 07:18 PM |#2  
egel1's Avatar
Senior Member
Thanks Meter: 79
 
More
Sorry for the ignorance I just do not understand.The File ready to flash?Or do I need to make the change code before! thanks!
2nd March 2013, 08:43 PM |#3  
Junior Member
Flag Blaker
Thanks Meter: 0
 
Donate to Me
More
Thumbs up
Thanks mythtrandyr

I works nice on my odex XXUFMB3 any chance you gone make this with the automatically record option


-tronnw
2nd March 2013, 08:51 PM |#4  
works great

I look forward to your mod with automatic call recording (fully customizable) for 4.2.1
2nd March 2013, 11:02 PM |#5  
OP Inactive Recognized Developer
Flag Kyiv
Thanks Meter: 1,851
 
More
Quote:
Originally Posted by egel1

Sorry for the ignorance I just do not understand.The File ready to flash?Or do I need to make the change code before! thanks!

Attached file ready to flash...not need any change

Quote:
Originally Posted by tronnw

Thanks mythtrandyr

I works nice on my odex XXUFMB3 any chance you gone make this with the automatically record option


-tronnw

http://forum.xda-developers.com/show...&postcount=160
3rd March 2013, 02:50 AM |#6  
paulosaopaulino's Avatar
Member
Flag Natal
Thanks Meter: 6
 
Donate to Me
More
where do I see the call recording button? I couldn't find anything even after flashing it!
4th March 2013, 06:39 PM |#7  
masterex567's Avatar
Senior Member
Thanks Meter: 1,811
 
More
I admire you and your work.
#Respect.

Thanks a lot, mythrandar.
25th March 2013, 11:09 PM |#8  
Member
Flag Pezinok
Thanks Meter: 4
 
More
Will this work on Cyanogenmod 10.1-20130324-NIGHTLY?
Quote:
Originally Posted by mythtrandyr

This is how to enable Call recording on the Galaxy S3 on Based Samsung Android 4.2.1 Roms

1. Decompile SecPhone.apk

2. Open smali\com\android\phone\PhoneFeature.smali, go to "makeFeatureForCommon()V" method, and make the changes:

Code:
    .line 950
    sget-object v0, Lcom/android/phone/PhoneFeature;->mFeatureList:Ljava/util/HashMap;

    const-string v5, "support_merge_call"

    invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v6

    invoke-virtual {v0, v5, v6}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    ++.line 951
    ++sget-object v0, Lcom/android/phone/PhoneFeature;->mFeatureList:Ljava/util/HashMap;

    ++const-string v5, "voice_call_recording"

    ++const/4 v2, 0x1

    ++invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    ++move-result-object v6

    ++invoke-virtual {v0, v5, v6}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    --.line 952
    ++.line 952
    sget-object v0, Lcom/android/phone/PhoneFeature;->mFeatureList:Ljava/util/HashMap;

    const-string v5, "fdn_contact_search"
it's all.

Download flashable zip for Deodex XXUFMB3 in the attached files


Will this app work on Cyanogenmod 10.1-20130324-NIGHTLY?

Thanks
27th March 2013, 12:09 AM |#9  
Junior Member
Flag montreal
Thanks Meter: 102
 
More
How about The Canadian and US version ?
is it possible for you to port it to the Canadian S3 SGH-I747M ?
there are a lot of people around waiting for this ,
if the Secphone.apk is needed , please let me know .

thanks in advance.
1st April 2013, 04:23 PM |#10  
Member
Flag Pezinok
Thanks Meter: 4
 
More
Does not work on Cyanogenmod or AOKP ROMs
Quote:
Originally Posted by rastip

Will this app work on Cyanogenmod 10.1-20130324-NIGHTLY?

Thanks

So I tried, and it does not work on Cyanogenmod or AOKP ROMs. Just to let know other guys out here.
11th April 2013, 04:05 PM |#11  
Senior Member
Thanks Meter: 23
 
More
cyanogenmod
This mod will work ONLY on stock ORIGINAL samsung firmware, as uses the samsung framework for recording.
Post Reply Subscribe to Thread

Tags
android 4.2, call recording, jelly bean

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes