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

strongst

Forum Moderator
Staff member
Sep 18, 2007
11,655
8,643
253
prolific location
prolific-page.com
There's definitely something wonky going on with the module, not sure if OP can look into it at all but on Q the module sometimes breaks the phone seeing your sim card, sim & network settings crash immediately (and cause the phone to lose service temporarily), and occasionally the phone will just lose connection to LTE (toggling airplane mode or tapping the sim & network settings causing a crash in telephony fixes it for a while). If you use the tasker profile everything works perfectly, settings don't crash, no sim issues, no data loss issues. Seems like there must be more to the module than flipping the adb string, why else would it have such drastic differences compared to the tasker method?
The internal work was explained, you can search how the module works :)

Otherwise: you did not mention your phone, os, etc, so nobody can help/compare your issue, neither op.
BTW: I never had issues with Q on OP7 for example, check other posts here
 

SubjectGinger

Senior Member
Oct 6, 2010
91
20
0
The internal work was explained, you can search how the module works :)

Otherwise: you did not mention your phone, os, etc, so nobody can help/compare your issue, neither op.
BTW: I never had issues with Q on OP7 for example, check other posts here
What exactly am I searching for? "How it works", "internal", and "module" have countless pages of results, I don't plan on going through each reply to find a single post proving what's already known, that the module and the tasker profile do not do the exact same thing. They simply can't, if they did they wouldn't have different results on the same phone and software version.

For the record, OP7 (non-pro, international) on 10.0 stable, which multiple people here have also stated the same issues I did.
 

shadowstep

Forum Moderator
Staff member
Jun 6, 2014
4,292
8,105
263
30
Ambala
What exactly am I searching for? "How it works", "internal", and "module" have countless pages of results, I don't plan on going through each reply to find a single post proving what's already known, that the module and the tasker profile do not do the exact same thing. They simply can't, if they did they wouldn't have different results on the same phone and software version.

For the record, OP7 (non-pro, international) on 10.0 stable, which multiple people here have also stated the same issues I did.
I've explained how the module works in the first post, under the important read-me points. For your convenience, I've quoted the relevant section from the first post below:

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 from Magisk Manager's Download section -> Reboot your phone again once the installation is complete.
In simple words, the module modifies a system app (TeleService.apk, which disables the native call recording if enabled manually in a non-supported region) and replaces the disable command with a random command which has no impact on call recording, and thereby making sure that call recording does not get disabled if the app detects it has been enabled manually in a non-supported region. :)
 
  • Like
Reactions: strongst

andr01d3

Senior Member
Feb 26, 2009
361
58
58
The adb command t's working great for latest 6T ROM (9.0.17), but I wonder if there's any way to run this command automatically on phone boot without root.
 

SubjectGinger

Senior Member
Oct 6, 2010
91
20
0
I've explained how the module works in the first post, under the important read-me points. For your convenience, I've quoted the relevant section from the first post below:



In simple words, the module modifies a system app (TeleService.apk, which disables the native call recording if enabled manually in a non-supported region) and replaces the disable command with a random command which has no impact on call recording, and thereby making sure that call recording does not get disabled if the app detects it has been enabled manually in a non-supported region. :)
Yeah I had seen that before, so maybe there's something with the way it's being done that's causing the issues? I don't pretend to be well versed in these things, but there seems to be a pretty common issue with the module breaking the sim & network settings and causing the sim card to not be seen by the phone every now and then, where neither issue exists with the tasker implementation that's just running the adb command. I've tried the module on a dirty upgrade and a fresh install of 10 on the international 7, both installs had the same problem, and I followed the instructions to a tee.
 

shadowstep

Forum Moderator
Staff member
Jun 6, 2014
4,292
8,105
263
30
Ambala
Yeah I had seen that before, so maybe there's something with the way it's being done that's causing the issues? I don't pretend to be well versed in these things, but there seems to be a pretty common issue with the module breaking the sim & network settings and causing the sim card to not be seen by the phone every now and then, where neither issue exists with the tasker implementation that's just running the adb command. I've tried the module on a dirty upgrade and a fresh install of 10 on the international 7, both installs had the same problem, and I followed the instructions to a tee.
I understand, absolutely. I have an OP5 and frankly without a device in hand, I can't really narrow down what's the issue. The good thing is that the Tasker option is working for you, so just stick to it. That's the best thing about having options. :)
 
  • Like
Reactions: strongst

SubjectGinger

Senior Member
Oct 6, 2010
91
20
0
I understand, absolutely. I have an OP5 and frankly without a device in hand, I can't really narrow down what's the issue. The good thing is that the Tasker option is working for you, so just stick to it. That's the best thing about having options. :)
For sure, I'm happy as long as I have the feature in some way or another. Thanks for the replies! :)
 

andr01d3

Senior Member
Feb 26, 2009
361
58
58
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.
 
Last edited:

frisoft

New member
Sep 17, 2010
4
1
0
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
Should not this work for the "Enable OOS Native Call Recording Apk" too? So we can run it without root?
 

shadowstep

Forum Moderator
Staff member
Jun 6, 2014
4,292
8,105
263
30
Ambala
is there any way to record calls in ".WAV" format instead of ".AAC". AAC recording nearly garbage when you will try to understand details of voice.
That's something that would have to be built into OOS. Don't think there's a choice at the moment.

Is there a way to hide the icon that appears in the notifications I would like to hide or disable it.
Try long pressing on it, clicking on i icon, going to notifications menu on the window that opens and disabling the highlighted notification.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone