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/StringZ
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
-
90.2 KB Views: 974
-
2.1 MB Views: 1,242
Last edited: