• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Enable Native Call Recording [OOS] [ROOT/NON-ROOT] [APP/MAGISK MODULE/ADB/TASKER]

Search This thread

Gruber008

Senior Member
Jul 17, 2011
313
122
Split
I completely forgot about this module and after flashing it on OnePlus 7T Pro with the latest stable firmware and Magisk - I can confirm it works. Thanks you @shadowstep , you've always made my life easier on OnePlus devices through the years with many, many modules you've made and/or contributed. :)
 
  • Love
Reactions: shadowstep

sansanc

Senior Member
Oct 1, 2014
690
121
The apk here stops working after a while. I'm on 8T EU 11.0.8.14. Any ideas?
I could try the magisk module, but i'm afraid i forget to uninstall it before updating the ROM :)
 

shadowstep

Forum Moderator
Staff member
Jun 6, 2014
5,516
11,397
30
Ambala
OnePlus 5
The apk here stops working after a while. I'm on 8T EU 11.0.8.14. Any ideas?
I could try the magisk module, but i'm afraid i forget to uninstall it before updating the ROM :)
Yeah, because the APK just runs the command once. The background TeleService app will disable the native call recording if it detects it shouldn't be enabled for your region. You can bypass that by using the Magisk module. Even if you forget to remove it before updating the ROM, you can always uninstall and reinstall it post the update. :)
 

sansanc

Senior Member
Oct 1, 2014
690
121
Yeah, because the APK just runs the command once. The background TeleService app will disable the native call recording if it detects it shouldn't be enabled for your region. You can bypass that by using the Magisk module. Even if you forget to remove it before updating the ROM, you can always uninstall and reinstall it post the update. :)

Thanks for the explanation.

But now, nothing works! Magisk module, app, joneplus tools (both options checked), nothing!

Am i missing something obvious? I had the butterlimits mod installed, but uninstalled it. Rebooted several times, waiting one minute, granted root to the app, etc.

I'm using oneplus dialer and contacts apps and not the original google dialer in the ROM.


P.S. - Oneplus is becoming annoying. Proud and hard nosed.
 

shadowstep

Forum Moderator
Staff member
Jun 6, 2014
5,516
11,397
30
Ambala
OnePlus 5
Thanks for the explanation.

But now, nothing works! Magisk module, app, joneplus tools (both options checked), nothing!

Am i missing something obvious? I had the butterlimits mod installed, but uninstalled it. Rebooted several times, waiting one minute, granted root to the app, etc.

I'm using oneplus dialer and contacts apps and not the original google dialer in the ROM.


P.S. - Oneplus is becoming annoying. Proud and hard nosed.
Not sure what's up. Maybe try another method from the OP and see if it works for you. If nothing works, going for a third party app could be your last resort.

Can the xml file be used on another automation app other than Tasker? Tasker is not free. Plus, i don't know if it's going to work.
I don't think so; I haven't made that XML nor have I tried it myself.
 

francesco.carzaniga

New member
Jul 22, 2020
1
0
I can confirm that (the Magisk module at least) this mod does not work on a OP7 with Android 11, while with Android 10 it's functioning.

If you install and reinstall the module sometimes it starts working for a few reboots, then it goes back to crashing the phone app and rendering the telephone part (include mobile data) unusable.

Is there a way to fix the module? Or should I look for a different dialer?
 

shadowstep

Forum Moderator
Staff member
Jun 6, 2014
5,516
11,397
30
Ambala
OnePlus 5
I can confirm that (the Magisk module at least) this mod does not work on a OP7 with Android 11, while with Android 10 it's functioning.

If you install and reinstall the module sometimes it starts working for a few reboots, then it goes back to crashing the phone app and rendering the telephone part (include mobile data) unusable.

Is there a way to fix the module? Or should I look for a different dialer?
You could try a different method from the first post. Or try giving jOnePlus Tools a shot.
 

Homeless2

Senior Member
Jan 4, 2011
85
6
Does anyone have an issue with call recording where the person on the other end of the call with hear themselves echo when recording? The echo isn't picked up during the recording. Using a Oneplus 7 Pro on Oxygen OS 10.3.8
 

OnkeIM

Member
Oct 17, 2016
23
2
magisk module stopped working after couple days after flashing android 11 on 6T.
(crashing com.android.phone)
uninstall -> reboot -> install -> reboot of module does not help

i hope there will be some kind of update to this module
 

shadowstep

Forum Moderator
Staff member
Jun 6, 2014
5,516
11,397
30
Ambala
OnePlus 5
magisk module stopped working after couple days after flashing android 11 on 6T.
(crashing com.android.phone)
uninstall -> reboot -> install -> reboot of module does not help

i hope there will be some kind of update to this module
There have been mixed results with OOS 11. For some, the module has worked flawlessly, for some, it hasn't. You can try other methods from the first post and maybe one of them will work better for you.

Hi. Are there links to previous versions of the module for Magisk? Version 8.0 for example.
Sure, I've attached it with this post.
 

Attachments

  • EnableOOSNativeCallRecording-Magisk v8.0.zip
    6.4 KB · Views: 10

Top Liked Posts

  • There are no posts matching your filters.
  • 117
    Introduction

    Hello everyone! You might/might not know that OxygenOS (and ROMs based on it) have an in-built/native call recording feature. However, it is not enabled for everyone as it is region-locked and it might/might not be illegal to record calls where you are, with/without notifying the other party that the call is being recorded.

    This thread has been created with the intent of enabling this call recording feature on OxygenOS (and ROMs based on it). There are several ways to achieve this, which have been listed below. You can use any method, as per your preference, and it should work. Let's get straight to it then!

    Ways to Enable

    Non-Root Method(s)
    • ADB command via a computer
    Root Method(s) (in order of recommendation)
    • Magisk module
    • Flashable zip
    • Tasker profile
    • App which runs on boot

    Detailed Information and Usage

    Non-Root Method(s)
      • Requirements: A working ADB interface on a computer, USB debugging enabled on the device
      • Usage: Run the following command to enable native call recording:
        Code:
        adb shell settings put global op_voice_recording_supported_by_mcc 1
      • Reboot Survival: No
    Root Method(s) (in order of recommendation)
      • Requirements: Magisk
      • Usage: Download and copy the EnableOOSNativeCallRecording-Magisk v9.1.zip to your device. Once done, install it in Magisk Manager as a module.
      • Reboot Survival: Yes
      • Requirements: TWRP
      • Usage: Download and copy the EnableOOSNativeCallRecording-Flashable v8.0.zip to your device. Once done, reboot to recovery (TWRP) and just flash the zip.
      • Reboot Survival: Yes
      • Note: This method should work for rootless users too, but it needs TWRP and hence an unlocked bootloader.
      • Requirements: A rooted device, Tasker
      • Usage: Download and copy the EnableOOSNativeCallRecordingv2.prf.xml to your device. Once done, import it in Tasker as a profile.
      • Reboot Survival: Yes
      • Requirements: A rooted device
      • Usage: Download and install the EnableOOSNativeCallRecording v2.0.apk and run it. At the first launch, grant root access to the app.
      • Reboot Survival: Yes

    Downloads

    Compatibility

    Device(s)
    • All OnePlus Devices
    ROM(s)
    • OxygenOS

    Important Read-Me Points
    • [Magisk module only] The module installation has been designed to use the existing TeleService.apk from your device and modify it. Hence, if you update your ROM, there is a chance that the original apk that was modified is updated with the ROM update, which might lead to bootloops/other issues after installing the update, with this module installed. To avoid this from happening, always update your ROM by following these steps: Uninstall the existing module -> Reboot -> Download and apply the system update -> Reboot -> Download and install the latest module -> Reboot your phone again once the installation is complete.
    • [App method only] After your device fully boots up, a notification message will appear in the status bar/pull down notification panel to let you know that call recording has been enabled (which will go after 10 seconds if you don't swipe it away).
    • [App method only] There is also a "Read Me" link in the notification message if you want to read a short information regarding the app.
    • [All methods] Please make sure that you wait for at least 30 seconds after boot before checking if the call recording menu option is visible for you under the stock dialer's settings.
    • [All methods] All your recordings will be stored either at /storage/emulated/0/Record/PhoneRecord OR /storage/emulated/0/Android/data/com.oneplus.communication.data/files/Record in the aac format.
    • [All methods] The mod works only works when using the stock OxygenOS dialer, and it will not enable call recording in any other app, like Google Dialer, etc.
    • [All methods] If something that is supposed to run on boot is not executing on boot, you need to turn off advanced optimisation: Settings -> Battery -> Battery optimisation -> Three dot menu (⋮) -> Advanced optimisation -> Turn off.
    • [All methods] The mod enables native call recording option, but may not turn on auto-recording of the calls. If you wish to do that, after using one of the methods listed above, open the Stock Dialer App -> Three dot menu (⋮) -> Settings -> Auto-record calls -> Turn on.
    • [All methods] If you have hidden root from the stock dialer app via Magisk Hide, the call recording option might disappear after sometime. Make sure that the stock dialer is not checked in the Magisk Hide selection list.

    Disclaimers
    • I am not the developer of the Enable OOS Native Call Recording app. I merely stumbled upon it in OnePlus 3T's Themes, Apps and Mods forum and I take no credit for it. Please direct all your thanks and/or donations towards @padlad, the original developer of the app. Link to the original thread is here.
    • I am not the developer of the flashable zip. The zip was posted later in this thread and I take no credit for it. Please direct all your thanks and/or donations towards @Zackptg5, the original developer of the flashable zip.
    • I am not the developer of the Tasker profile. The profile was posted later in this thread and I take no credit for it. Please direct all your thanks and/or donations towards @strongst, the original creator of the Tasker profile (original idea by @Fif_).
    • You are doing this at your own risk. I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed. Please do some research if you are unsure of how to go about something.
    • It might be illegal in your country to record calls with/without notifying the other party that the call is being recorded. Either ways, you are responsible for using this mod.

    Thanks To
    • @padlad, for creating the Enable Call Recording app and the Tasker profile
    • @Zackptg5, for creating the flashable zip
    • @strongst, for creating the Tasker profile and for being super helpful to everyone
    • @My Name is ShaoXIa, for doing excellent research work and making great recommendations for improving the stability and effectiveness of the Magisk module
    • @Taknok, for improving race condition handling at boot
    • @topjohnwu, for Magisk and all the work he's ever done for the community
    • @osm0sis, for the AnyKernel3 template and all the work he's ever done for the community
    • @joaomgcd, for Tasker
    • @Tomek Kondrat, for the mention in this XDA article
    • All of you guys for viewing this thread

    Changelog
    • v1.0 - Initial release
    • v2.0 - Enable run-on-boot
    • v1.0 - Initial release for Magisk v13.1, v13.2, v13.3
    • v2.0 - Update for Magisk v14.0
    • v3.0 - Update for Magisk v15.0
    • v3.1 - Reduced the script execution delay from 2 minutes post boot to 10 seconds post boot
    • v3.2 - Slightly increased the script execution delay from 10 seconds post boot to 30 seconds post boot
    • v4.0 - Update for Magisk v16.0
    • v5.0 - Update for Magisk v17.0
    • v5.1 - Made the script execute the command 5 times at an interval of 30 seconds after boot
    • v5.2 - Made the script execute the command every minute infinitely post the initial run
    • v5.3 - Adjusted the script to make the infinite loop run asynchronously
    • v5.4 - Reverted changes made in v5.2 and v5.3 as most of the users preferred and had no issues with v5.1
    • v6.0 - Fixed call recording automatically getting disabled after a while
    • v6.1 - Reverted the last change which caused SIM settings force closes
    • v7.0 - Permanently fixed call recording automatically getting disabled after a while and fixed the SIM settings force close issue that was caused by the release of v6.0
    • v8.0 - Update for Magisk v19.0
    • v9.0 - Updated template and added manufacturer check
    • v9.1 - Base template update and manufacturer check bug fix
    • v9.2 - Improve race condition handling at boot and fixed installation failures with Magisk Canary
    • v1.0 - Initial release
    • v2.0 - Updated to remove the separate init file and run the command from existing the init.rc file
    • v3.0 - Updated to include device codenames in addition to the official device names
    • v4.0 - Synced with the latest AnyKernel template and new BusyBox
    • v5.0 - Synced with the latest AnyKernel template and changed backup/restore method
    • v6.0 - Completely re-wrote flashable zip; now works for rootless users too who have an unlocked bootloader and TWRP installed
    • v7.0 - Added a slight delay in command execution to support Treble OOS; shifted the script to /system/etc/init
    • v8.0 - Permanently fixed call recording automatically getting disabled after a while
    • v1.0 - Initial release
    • v2.0 - Updated parameters for stability and effectiveness

    OP Update Information

    Created: July 10, 2017
    Last Updated: January 17, 2021
    13
    Guys, sorry to inform, but the module has been removed from Magisk Repo. John decided that the repo should not have any device/manufacturer specific modules, and he cleaned up the repo. I will still update the module, and post about the same here, but the update won't be available in the repo anymore, so you'll have to manually download the module from the first post and install. I recommend bookmarking this thread. :good:
    9
    Hi all - OP updated with a new Magisk module. Thanks to the research done by @My Name is ShaoXIa, the module (in addition to executing the command that enables native call recording) also disables the activity that is responsible for turning off native call recording automatically after some time, so it should hopefully persist now. :)
    9
    If you aren't rooted, you'll have to manually run the command every time you reboot. There is no known workaround for that, unfortunately.

    Thanks for your reply. I found a way to change the setting value without root and without having to use adb on a computer after each reboot. You still need to do it manually, but at least you can do it easily using the phone. I'm sharing below how I did in case you may want to add it to the existing methods:

    1. Install Settings Database Editor app.
    2. Allow the app to change system setting by running the following adb command on a computer:
    Code:
    adb shell pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS
    Fortunatelly this is a persistent change, so you only need to run this comman once, the permission granted to the app will be there even after reboots.

    Once the above is done, you don't need a computer anymore to enable call recording, you can do it with the app following these simple steps:

    1. Open the app, change the top right drop down to "Global Table".
    2. Look for op_voice_recording_supported_by_mcc setting and tap on it.
    3. Then tap on "EDIT VALUE", change it to 1, and tap on "SAVE CHANGES".

    Done! :D

    It's not as good as having the change applied automatically on each boot, but at least you don't need to have a computer at hand to enable call recording.
    7
    Hi everyone - OP updated! :)

    New stable Magisk module (v7.0) is now available for download from the OP as well as from Magisk Repo. To avoid any issues, I recommend the following upgrade path -
    • Uninstall the existing module (test/old stable) from Magisk Manager
    • Reboot your phone
    • Download and install the latest module (v7.0) from Magisk Manager's Download section
    • Reboot your phone again once the installation is complete
    Enjoy the weekend!