[MOD] 4.4.2 Kitkat Call Recorder

Search This thread

meawww

Senior Member
Dec 2, 2013
521
629
Rome
Deodexed Rom

1: Pull the file SecPhone.apk from system\priv-app unpack the SecPhone.apk with apktool
2: Browse the folder SecPhone\smali\com\android\phone and look for the file name "PhoneFeature.smali"
3: Open with notepad ++ and search for the word const-string v6, "write_sleep_checking_file"
4: Above the code .line 1323 add the following codes below.

Code:
.line 1322
    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;

5: Rebuild the apk with apktool.
6: Make backup of the old file just incase.
7: Push the new built apk inside system\priv-app
8: Reboot and enjoy.


#Remove accending ringtone.
1: Browse SecPhone.apk\smali\com\android\phone\Ringer$1.smal.
2: Find the code below.
Code:
iget-object v1, v1, Lcom/android/phone/Ringer;->mAudioManager:Landroid/media/AudioManager;

invoke-virtual {v1, v6, v2, v3}, Landroid/media/AudioManager;->setStreamVolume(III)V

.line 860
3: Remove the line invoke-virtual {v1, v6, v2, v3}, Landroid/media/AudioManager;->setStreamVolume(III)V
4: Rebuild and push.


Edit: File attached only for DEODEXED! rom KITKAT 4.4.2

https://www.mediafire.com/?vu9w39yp63bdx9u
 
Last edited:

araditsas

Senior Member
Oct 19, 2012
192
71
Work?
nice job .
Build a .zip and just flash?
Galaxy Note 3
 
Last edited:

firasusman

Senior Member
Sep 13, 2011
2,190
11,236
Dubai
Just if we don't have apk tool.
Plz upload the modified one.
Thanks.

Sent from my SM-N9005 using Tapatalk
 

firasusman

Senior Member
Sep 13, 2011
2,190
11,236
Dubai
Hehehe...
Ok my dear let your wife talk till morning.
We will wait.. :sly:
Lol

Sent from my SM-N9005 using Tapatalk
 

PETKING

Senior Member
Aug 23, 2011
146
788
The mod works fine, the problem is that the new kitkat version does not support the call recording, about any mod or program call recording in kitkat only records noise as I researched I think it needs to modify the kernel to enable new audio recording

Enviado desde mi SM-N9005 mediante Tapatalk
 

Top Liked Posts

  • There are no posts matching your filters.
  • 21
    Deodexed Rom

    1: Pull the file SecPhone.apk from system\priv-app unpack the SecPhone.apk with apktool
    2: Browse the folder SecPhone\smali\com\android\phone and look for the file name "PhoneFeature.smali"
    3: Open with notepad ++ and search for the word const-string v6, "write_sleep_checking_file"
    4: Above the code .line 1323 add the following codes below.

    Code:
    .line 1322
        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;

    5: Rebuild the apk with apktool.
    6: Make backup of the old file just incase.
    7: Push the new built apk inside system\priv-app
    8: Reboot and enjoy.


    #Remove accending ringtone.
    1: Browse SecPhone.apk\smali\com\android\phone\Ringer$1.smal.
    2: Find the code below.
    Code:
    iget-object v1, v1, Lcom/android/phone/Ringer;->mAudioManager:Landroid/media/AudioManager;
    
    invoke-virtual {v1, v6, v2, v3}, Landroid/media/AudioManager;->setStreamVolume(III)V
    
    .line 860
    3: Remove the line invoke-virtual {v1, v6, v2, v3}, Landroid/media/AudioManager;->setStreamVolume(III)V
    4: Rebuild and push.


    Edit: File attached only for DEODEXED! rom KITKAT 4.4.2

    https://www.mediafire.com/?vu9w39yp63bdx9u
    6
    Actually the @meawww method works great. Thank you my friend. To get it record correctly you have to modify the mixer_paths.xml under system/etc.

    Just add the blue section and reboot. Enjoy :cool:
    Code:
    	<!-- TX part -->
    	<path name="audio-record">
    		<ctl name="MultiMedia1 Mixer SLIM_0_TX" value="1" />
    	</path>
    
    	<path name="audio-record bt-sco">
    		<ctl name="MultiMedia1 Mixer AUX_PCM_UL_TX" value="1" />
    	</path>
    
    [COLOR="Blue"]	<!-- incall recording -->
    	<path name="incall-rec-uplink">
    		<ctl name="MultiMedia1 Mixer VOC_REC_UL" value="1" />
    	</path>
    
    	<path name="incall-rec-downlink">
    		<ctl name="MultiMedia1 Mixer VOC_REC_DL" value="1" />
    	</path>
    
    	<path name="incall-rec-uplink-and-downlink">
    		<ctl name="MultiMedia1 Mixer VOC_REC_UL" value="1" />
    		<ctl name="MultiMedia1 Mixer VOC_REC_DL" value="1" />
    	</path>[/COLOR]
    	<!-- call part -->
    	<path name="voice-call">
    		<ctl name="SLIM_0_RX_Voice Mixer CSVoice" value="1" />
    		<ctl name="Voice_Tx Mixer SLIM_0_TX_Voice" value="1" />
    	</path>
    3
    Just if we don't have apk tool.
    Plz upload the modified one.
    Thanks.

    Sent from my SM-N9005 using Tapatalk

    Ill upload it in a bit my wife is using skype wit her mom or she gonna lag and kick my butt :(
    3
    The mod works fine, the problem is that the new kitkat version does not support the call recording, about any mod or program call recording in kitkat only records noise as I researched I think it needs to modify the kernel to enable new audio recording

    Enviado desde mi SM-N9005 mediante Tapatalk
    3
    Yes the mod doesn't work I made the mod yesterday same weird noise.

    Thanks for share

    Sent from my SM-N9005