[MOD][5.0][M4 Aq][PORT]TeleService: CallRecorder + Disabled Notification Data Traffic

Michele2

Senior Member
Nov 4, 2013
204
166
0
22
Manfredonia
:D I've been ported mod from my z3 compact: CallRecorder and disabled notification data traffic;
I've been deodexed and decompiled TeleService.apk than I've patched bools.xml in res-->values(to disable annoying data notification off), after that I've been edited smali\com\android\phone\CallFeaturesSetting.smali adapting @IaguCool informations:

invoke-virtual/range {v23 .. v24}, Landroid/preference/SwitchPreference;->setChecked(Z)V
.line 2031
:cond_10
#[MOD]
move-object/from16 v0, p0
const-string v1, "com.sonymobile.callrecording"
invoke-direct/range {v0 .. v1}, Lcom/android/phone/CallFeaturesSetting;->packageExists(Ljava/lang/String;)Z
move-result v1
if-eqz v1, :cond_11
invoke-direct/range {p0 .. p0}, Lcom/android/phone/CallFeaturesSetting;->createCallRecorderSettings()V
:cond_11
#[END MOD]
invoke-virtual/range {p0 .. p0}, Lcom/android/phone/CallFeaturesSetting;->getResources()Landroid/content/res/Resources;
move-result-object v23
const v24, 0x7f0d0026
Finally I've been compiled and signed back apk...​

Requirements:
- root privileges
- file manager(es file manager)
- brain

Guide:
1) With your file manager, go to system>priv-app> create new folder called CallRecording and set permissions rwx r-x r-x
2) put CallRecording.apk and set rw -r -r
3) go to system>priv-app>TeleService> backup and delete arm64 folder and TeleService.apk
4) put modded TeleService.apk with rw -r -r permissions finally you can reboot
5)Go to settings>call>enable call recorder .

Screenshots:



thanks to: :good:
@IaguCool
 

Attachments

Last edited:

Michele2

Senior Member
Nov 4, 2013
204
166
0
22
Manfredonia
Could you test it? My girlfriend have got Sony m4 aqua

---------------------------------------------------------------------------
I've tested and there aren't any problems
 
Last edited:

dani020110

Senior Member
Mar 30, 2015
284
211
0
Lima
It works, but I'm still getting data traffic notification (e2306 .167 firmware)
Also, it doesn't show the recorded calls in details of the call, but there is a callrecorder folder and there are the recordings [emoji1] [emoji1]
 
Last edited:

cyber68

Member
Aug 10, 2012
13
1
0
Tehran
hi
i have copied CallRecording.apk in specified folder but didnt set permissions.
now my phone stuck in boot animation(moving waves) :(
what can i do now?
I solved My problem :)
after 6 hour of googling my problem finally i deleted callrecording folder using adb command via pc.:good: