chenxiaolong / BCR

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

Recording issues in erofs rom with kernelsu support. #477

Closed mcurly closed 5 months ago

mcurly commented 6 months ago

Hello and thank you for your work.

I have been trying to search for a working solution/workaround but haven't managed to quite get to it.

I am on a custom android 14 ROM on Courbet device (Xiaomi Mi 11 Lite 4G).

It is EvolutionX ROM, and it has EROFS root file system and has support for KernelSU.

The issues range from a distorted recording up to silent or truncated recording.

Can anyone shed some light in here?

Thank you.

chenxiaolong commented 6 months ago

Glad you like BCR!

Please try changing the output format to WAV/PCM. If the same thing happens there, then the issue is very likely to be a bug in the ROM (because BCR, in this mode, records byte-for-byte exactly the audio it received from Android).

In general, the issues you describe (distorted audio, etc.) are caused by broken audio drivers. If you're able to, I'd suggest sticking with something as close to the stock ROM as possible. That usually has a better chance of working. If you run into the same issue there though, then you're unfortunately out of luck.

mcurly commented 6 months ago

Hello @chenxiaolong , thank you for having answered my question. I'll try your suggestions and will post back.

See you soon!

Cheers.

On Wed, Dec 20, 2023, 10:32 PM Andrew Gunnerson @.***> wrote:

Glad you like BCR!

Please try changing the output format to WAV/PCM. If the same thing happens there, then the issue is very likely to be a bug in the ROM (because BCR, in this mode, records byte-for-byte exactly the audio it received from Android).

In general, the issues you describe (distorted audio, etc.) are caused by broken audio drivers. If you're able to, I'd suggest sticking with something as close to the stock ROM as possible. That usually has a better chance of working. If you run into the same issue there though, then you're unfortunately out of luck.

— Reply to this email directly, view it on GitHub https://github.com/chenxiaolong/BCR/issues/477#issuecomment-1865231050, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6VT3CBBMDNCYTVPPKP2ADYKNRPXAVCNFSM6AAAAABA5NYZJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRVGIZTCMBVGA . You are receiving this because you authored the thread.Message ID: @.***>

mcurly commented 5 months ago

Hi again @chenxiaolong

I eventually moved onto some other ROM.

Today I am using crDroid for my device (code-named Courbet). It's even on Android 14 version. I am using other licensed software that I had purchased even before using your notable BCR. That licensed software was not working with that ROM with the same results as your BCR. So I am guessing that the error originated from the ROM itself.

Sorry for this late report.

Cheers!

chenxiaolong commented 5 months ago

No worries. Thanks for reporting back!