Mod Call record line for S4 9505 4.4.2

adrenalin100

Senior Member
May 3, 2012
196
57
0
Kyiv
This is how to enable Call recording on the Galaxy S4 -I9505 LTE on Based Samsung Android 4.4.2 Roms


I. ENABLE Call recording :

a. DEODEХING SecPhone.apk ;

b . Decompile SecPhone.apk ;

c. Open smali\com\android\phone\PhoneFeature.smali, go to :

Code:
.line 1332
    sget-object v0, 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;

[COLOR="Red"]add this  :[/COLOR]

[COLOR="Blue"]sget-object v0, 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;[/COLOR]

.line 1333
d.Save file and recompiling .


II .Disable delay incoming ring :

a. Open SecPhone\smali\com\android\phone\Ringer$1.smali ,go to :

Code:
[CODE] 

   line 859
    iget-object v1, p0, this$0:Lcom/android/phone/Ringer;

    iget-object v1, v1, Lcom/android/phone/Ringer;->mAudioManager:Landroid/media/AudioManager;

    [COLOR="Red"]invoke-virtual {v1, v6, v2, v3}, Landroid/media/AudioManager;->setStreamVolume(III)V  - DELETE THIS ;[/COLOR]

.line 860
    const-wide/16 v1, 0x7d0
b.Save file and recompiling .


This mod is tested & working on latest I9505XXUGNG8 . I think it is work for all ROMS 4.4.2
 
Last edited:

adrenalin100

Senior Member
May 3, 2012
196
57
0
Kyiv
View attachment 2947478
Hello
Is this for automatic call recording? Or manual?
Please reply
Hello .Manual . The Automatic + Manual (2 in1 ) call rec in this zip file .In settings phone apk - new menu custom settings .

This mod is tested & working on latest I9505XXUGNG8 . I think it is work for all ROMS 4.4.2
 

Attachments

Last edited: