same problem. still looking for an answer.
I have a samsung s7. Firstly, I opened the unlocked tape recorder (in the dialer) and it works. Thus, Android 7 (and samsung) can record calls without internal actions inside Android. But at the same time, I read that developers cannot access recording calls from a higher level. There seems to be only one way to achieve our goals: changing the version of Android Android or capturing the sound stream before it hits the speaker. Correct me if I am wrong.
source share