Call Recorder has no sound?

I downloaded the source and build it in Android Studio and installed it in my OP5 running lineageOS 20.0.
When it records a call it just makes an empty file. My phone is not rooted.

Thanks !

1 Like

Not all phones/ROMs allow apps to record the call sounds directly.

For those you’d need root and have CallRecorder installed as a system app, etc

2 Likes

OK but just found out

In: android_packages_apps_Dialer-lineage-20.0\java\com\android\dialer\callrecord\res\xml\call_record_states.xml

It is set to true “Denmark”

<country iso=“dk,fo,gl” allowed=“true” />

So it should work ???

1 Like

Your are recompiling your whole ROM? Else…

1 Like

Nop I just downloaded it from github: GitHub - LineageOS/android_packages_apps_Dialer
And there I see that <country iso=“dk,fo,gl” allowed=“true” /> So it should work ?.

Nope, that’s not it.

Read again:

Not all phones/ROMs allow apps to record the call sounds directly.
For those you’d need root and have CallRecorder installed as a system app, etc

You can compile your own app, but that does not help.

1 Like

But it should bee possible to get it working with out root now that the permission is there.
I’m looking for an adb command.
I don’t want a rooted phone so will it work if I root make the install and unroot again ?

If the permission was there CallRecorder would have worked already, right? No need to recompile?

Which Android version?

LineageOS 20.0 android 13.