chenxiaolong / BCR

A Basic Call Recorder for rooted Android devices
GNU General Public License v3.0
1.49k stars 98 forks source link

The recording was discarded because the audio was completely silent. This device might not support recording calls associated with the 'com.android.phone' app. #530

Open idklevi opened 2 months ago

idklevi commented 2 months ago

using qpr2 based aosp rom

chenxiaolong commented 2 months ago

Are you on a Google Pixel device? If not, there's probably not much you can do to make it work. On non-Pixel devices, call recording usually only works on ROMs that are based on the device's stock ROM.

idklevi commented 2 months ago

Are you on a Google Pixel device? If not, there's probably not much you can do to make it work. On non-Pixel devices, call recording usually only works on ROMs that are based on the device's stock ROM.

no.. I'm using a Xiaomi phone with project elixir custom rom installed in. Apparently BCR worked fine for me in multiple roms including elixir but as soon as I updated the aosp qpr2 update , this message shows up. The rom devs told me this issue is common for qpr2 update roms and the only way to fix this issue is to wait for the BCR release that supports qpr2. That's why I thought of mentioning this hoping there would be an update for BCR.

chenxiaolong commented 2 months ago

I'd suggest changing the output format to WAV/PCM and the sample rate to 48000 Hz. If that also doesn't work, then it's a ROM issue. With those settings, the recorded audio is byte-for-byte exactly what Android sent to BCR.

(BCR is already compatible with QPR2. QPR2 had a huge number of changes and is closer to Android 15 Beta than 14, but those changes don't impact BCR.)

TomerGadol commented 2 months ago

I also have this issues after updating ROM. On previous EvolutionX (which had BCR installed by default) recording was working fine. Now on latest Derpfest (qpr2) I get the same error. Tried the above settings of WAV/PCM at 48000Hz but still silent. My device is Xiaomi Mi 9T.

TL431 commented 2 months ago

I'd suggest changing the output format to WAV/PCM and the sample rate to 48000 Hz. If that also doesn't work, then it's a ROM issue. With those settings, the recorded audio is byte-for-byte exactly what Android sent to BCR.

(BCR is already compatible with QPR2. QPR2 had a huge number of changes and is closer to Android 15 Beta than 14, but those changes don't impact BCR.)

Commenting to this issue because I had the same problem of OP on my Xperia 10 IV device with Android 14. Changing the output format to WAV/PCM at 48kHz worked.

ask9027 commented 2 months ago

i am using AwakenOS , after installing BCR with KernelSU, call recording is silent. hiw to fix this? 20240428_160640.166+0530_out_198.log.txt

heyitsj0n commented 2 months ago

Are you on a Google Pixel device? If not, there's probably not much you can do to make it work. On non-Pixel devices, call recording usually only works on ROMs that are based on the device's stock ROM.

I am a Pixel 6 Pro user and have this issue for the 1st time after updating to latest release.

Cheetoacidosis commented 1 month ago

I'm having this issue on a Pixel 3 running LineageOS 21 (Android 14). I was able to get recordings working using the WAV/PCM at 48kHz workaround

EDIT: Now the default works too! No clue why

Naushikha commented 1 month ago

Yeah this was weird,

How though? o.O

btw my specs:

9vvk commented 1 month ago

+1 essential ph-1, LineageOS 21, Magisk 27

20240521_181319.272+0300_in_tel_num.log.txt

RunasSudo commented 1 month ago

Had the same issue and very surprised to find I could reproduce the fix. After changing from WAV/PCM to OGG and recordings working correctly, changing to FLAC also works.

Specs:

ask9027 commented 4 weeks ago

install apk as normal install, then flash zip in magisk or KernelSU, it will work.

Jnss98b commented 2 weeks ago

I'd suggest changing the output format to WAV/PCM and the sample rate to 48000 Hz. If that also doesn't work, then it's a ROM issue. With those settings, the recorded audio is byte-for-byte exactly what Android sent to BCR.

(BCR is already compatible with QPR2. QPR2 had a huge number of changes and is closer to Android 15 Beta than 14, but those changes don't impact BCR.)

I just installed qpr3 on my stock pixel and I'm getting the same error despite bcr working just fine before