Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phone: Call recording failed #22

Open
xaras2 opened this issue Apr 3, 2022 · 59 comments
Open

Phone: Call recording failed #22

xaras2 opened this issue Apr 3, 2022 · 59 comments
Labels
bug Something isn't working

Comments

@xaras2
Copy link

xaras2 commented Apr 3, 2022

Screenshot_2022-04-03-14-08-47-543_com google android dialer

Why?
All permission in Google Duo app are enable.

Xiaomi mi 9 and Google Duo beta.

How can i send logcat?

@PatrzKomuUfaszGb
Copy link

I had exactly same problem. Use magisk module and select yes two times in installation screen= Two times volume up.

@xaras2
Copy link
Author

xaras2 commented Apr 11, 2022

I had exactly same problem. Use magisk module and select yes two times in installation screen= Two times volume up.

Thx but not working for me, some issue :/

@jacopotediosi jacopotediosi changed the title Registration failed Call recording failed Nov 24, 2022
@jacopotediosi jacopotediosi added the bug Something isn't working label Nov 24, 2022
@jacopotediosi
Copy link
Owner

jacopotediosi commented Nov 24, 2022

Unfortunately I cannot replicate your bug.

Does it happen with the latest GoogleDialerMod v1.06 too?

Could you please start the Dialer from ADB in debug mode, using the adb shell "am start -D com.google.android.dialer" command, and send me the logcat captured during the failed recording?

Thanks.

@shlomi10
Copy link

shlomi10 commented Nov 28, 2022

Yes in my pixel 7 pro it is the same, also in 1.0.6

Unfortunately I cannot replicate your bug.

Does it happen with the latest GoogleDialerMod v1.06 too?

Could you please start the Dialer from ADB in debug mode, using the adb shell -c 'am start -D com.google.android.dialer' command, and send me the logcat captured during the failed recording?

Thanks.

Yes in my pixel 7 pro it is the same, also in 1.0.6
and about the debug it sais adb shell: unknown option -- c

@jacopotediosi
Copy link
Owner

About the debug it sais adb shell: unknown option -- c

You probably typed adb shell --c 'am start -D instead of adb shell -c 'am start -D

@shlomi10
Copy link

adb shell -c 'am start -D com.google.android.dialer'

nope

@jacopotediosi
Copy link
Owner

nope

Sorry, my bad. The correct command is adb shell "am start -D com.google.android.dialer".

@shlomi10
Copy link

shlomi10 commented Nov 28, 2022

nope

Sorry, my bad. The correct command is adb shell "am start -D com.google.android.dialer".

Ok I did that, where is the logs?

@jacopotediosi
Copy link
Owner

Ok I did that, where is the logs?

Steps to collect logs:

  1. Force close the dialer
  2. Move the terminal to the folder of your choice using the cd command (e.g. cd %userprofile%\desktop to later save log files on your desktop)
  3. adb shell "am start -D com.google.android.dialer"
  4. adb logcat > logs.txt
  5. Make a call, try to record, obtain the error message, end the call
  6. CTRL+C to stop the logs collection
  7. Upload here logs.txt

@shlomi10
Copy link

shlomi10 commented Nov 28, 2022

@jacopotediosi

here you go

@jacopotediosi
Copy link
Owner

@shlomi10 Can you please confirm that call recording doesn't work even with the "Silence call recording alerts" switch turned off?

@shlomi10
Copy link

@shlomi10 Can you please confirm that call recording doesn't work even with the "Silence call recording alerts" switch turned off?

yes, they were and they are on OFF

@jacopotediosi
Copy link
Owner

yes, they were and they are on OFF

Sadly, that means this is a Google Dialer bug, which fails to play the Call Recording disclosure announcement (his original audio file, which he generated itself) on your device.
I don't know if I'll be able to fix it, because it should be Google's job to make sure its piece of code works.

@shlomi10
Copy link

But the recording is failed thurgh the call, and I don't want the sound (the small bips while recording) so there is still what to play?
And in the other hand how there is no bug on this at Google side?

@jacopotediosi
Copy link
Owner

jacopotediosi commented Nov 29, 2022

How there is no bug on this at Google side?

There is: https://support.google.com/phoneapp/thread/123105349/call-recording-not-working?hl=en

@shlomi10
Copy link

shlomi10 commented Nov 29, 2022 via email

@bagarwa
Copy link

bagarwa commented Dec 5, 2022

Fwiw, I've also started getting this "Recording Failed" error. The first time I had tried the record option, it had worked. But there after, every time I tried, I got this error.

Pixel 7 Pro, running Android 13 QPR1 Beta 3, Magisk Canary 25205. Google Dialer Mod 1.06

@jacopotediosi
Copy link
Owner

Fwiw, I've also started getting this "Recording Failed" error

Could you please also confirm that the problem occurs with the "Silence call recording alerts" switch turned off?
Thanks

@bagarwa
Copy link

bagarwa commented Dec 7, 2022

Could you please also confirm that the problem occurs with the "Silence call recording alerts" switch turned off? Thanks

In my case, the issue is now occurring only when "Silence call recording alerts" switch is turned on. With it off, the recording is working. But I do want to keep it on.

@kartikbillimoria
Copy link

Could you please also confirm that the problem occurs with the "Silence call recording alerts" switch turned off? Thanks

In my case, the issue is now occurring only when "Silence call recording alerts" switch is turned on. With it off, the recording is working. But I do want to keep it on.

I have the same issue on my Pixel 4XL with the latest beta version of the dialer app.

@jacopotediosi
Copy link
Owner

jacopotediosi commented Dec 13, 2022

Hi @bagarwa and @kartikbillimoria,

Could you please try this test version I just created?

You have to turn on the "Silence call recording alerts" switch and force close and reopen the Google Dialer a couple of times.
Then, try to record a call and please check if the "Recording Error" error still appears.

Thanks!

@kartikbillimoria
Copy link

Thanks a lot for the test version but unfortunately it didn't work. I'll reply the same on Github. Getting the same message.

@jacopotediosi
Copy link
Owner

Thanks a lot for the test version but unfortunately it didn't work. I'll reply the same on Github. Getting the same message.

With the switch turned off instead it works (and you hear the "this call is now being recorded" audio)?

@kartikbillimoria
Copy link

kartikbillimoria commented Dec 13, 2022 via email

@bagarwa
Copy link

bagarwa commented Dec 14, 2022

Confirming the same as Kartik.

@Kingistador
Copy link

Kingistador commented Dec 18, 2022

Can confirm, it's not working with silencing, so i'm just using auto recording switch, and for silencing i'm using TTSLexx.

@jacopotediosi
Copy link
Owner

jacopotediosi commented Dec 20, 2022

Can confirm, it's not working with silencing, so i'm just using auto recording switch, and for silencing i'm using TTSLexx.

Can you share the content of your /data/data/com.google.android.dialer/callrecordingprompt folder when using TTSLexx?

@jacopotediosi
Copy link
Owner

the dialer is looking for localized files

No, the "silence call recording alerts" flag forces the dialer to use US files and replace them with an empty audio

@NirAsulin
Copy link

@shlomi10
Change the system language to English.
I had the same problem as you described, try changing the system language to English, force stop the dialer and reopen it and it should work.

@shlomi10
Copy link

@shlomi10 Change the system language to English. I had the same problem as you described, try changing the system language to English, force stop the dialer and reopen it and it should work.

yes you right, it worked but after call ended I didn't find it on Recordings folder, so that is intereset, and niw @jacopotediosi got one solution I guess

@jacopotediosi
Copy link
Owner

@shlomi10 which was your language?

@shlomi10
Copy link

@jacopotediosi Hebrew

@NirAsulin
Copy link

@jacopotediosi
Hebrew here too.

@shlomi10
I think there is no recording folder. Anyway, I have access to the recordings through the dialer and it works fine when the language is English.
Any attempt to change the language back to Hebrew will lead to a recording error.

@shlomi10
Copy link

I have access to this too, but I don't see the recordings, just the option to remove them, anyhow its interest where is the folder of it

@jacopotediosi
Copy link
Owner

The folder is in /data/data/com.google.android.dialer/files/callrecording (#41).

@shlomi10
Copy link

yes it's there, interest , so now the idea is that it will work in all languages

@jacopotediosi
Copy link
Owner

jacopotediosi commented Jan 18, 2023

The discovery about the Hebrew/English language is very interesting. It may be that setting the language to Hebrew cause the call recording announcement audio file to become corrupted and the recording to fail.

Unfortunately the latest Dialer versions rewrite that audio at the beginning of each recording (#50), so there is currently no way to replace it with a working one.

This whole project is a nightmare :(

@shlomi10
Copy link

But I didn't set the settings for annnounce that it's record something

@jacopotediosi
Copy link
Owner

But I didn't set the settings for annnounce that it's record something

No options for it. Dialer forces that audio to play every time a recording is started.

@shlomi10
Copy link

shlomi10 commented Jan 18, 2023

So the switch to not announce the recording (Silence call record) is not actualy working?
And also maybe it's better to revert to older version?

@Kingistador
Copy link

Unfortunately the latest Dialer versions rewrite that audio at the beginning of each recording (#50), so there is currently no way to replace it with a working one.

I'm a little bit out of topic, but I think the dialer on my phone has been auto updated, and it's getting very weird. I'm still using TTSLexx for silencing warnings and now when I call somebody, I hear that warning in the beginning, but it's much quieter, and the person on the other side doesn't hear it at all. But if somebody calls me, then there is no warning even for me...
And recording still works fine.

@NirAsulin
Copy link

@jacopotediosi
Why can't I find this folder in /data/data/com.google.android.dialer/files/callrecording?

Regarding the Hebrew - I know it from my use of a Xiaomi device. The device came with the Google dialer by default. The recording option did not appear in the Hebrew language. Changing the language to English made it possible to record and left the option even after returning the device language to Hebrew. Which does not happen in this case. And in Xiaomi it was without root and installing one or another mod.

@shlomi10
Something more interesting - I removed the Google dialer updates. I did the steps I described earlier, changed the language back to Hebrew, and the recordings still work.
I can't say if it will work for you too because I played with a few things that might have caused it but it's worth a try.
The "silence call recording alerts" flag is off for me and despite this, "this call is now being recorded" audio is not played.

@shlomi10
Copy link

In google dialer at my pixel 7 pro there is no updates :)

@shlomi10
Copy link

@jacopotediosi
It's interest because if it's something of the dialer itself then we can change the Dialer app language only (something we can't do in google settings by the way), but if it's something of the system then whats inside the system?
Anyhow you have any solution?

@NirAsulin
Copy link

@jacopotediosi
Regarding what is written here:
#50 (comment)

For reference: latest Google Dialer version in which we can silence call recording announcement is https://www.apkmirror.com/apk/google-inc/google-phone/google-phone-94-0-490096008-release/.

Does this mean that the latest version of Google Dialer that I can use without changing the device language to English is the version you linked to?

Any more recent version will actually try to replace the files with each recording and lead to an error? (because there are no such files in the Hebrew language apparently).

@jacopotediosi
Copy link
Owner

@jacopotediosi Regarding what is written here: #50 (comment)

For reference: latest Google Dialer version in which we can silence call recording announcement is https://www.apkmirror.com/apk/google-inc/google-phone/google-phone-94-0-490096008-release/.

Does this mean that the latest version of Google Dialer that I can use without changing the device language to English is the version you linked to?

Any more recent version will actually try to replace the files with each recording and lead to an error? (because there are no such files in the Hebrew language apparently).

Probably. I'll have to test it.

@jacopotediosi
Copy link
Owner

This ticket remains open just for the Hebrew thing.
Currently, the only other known cause for "recording failed" error we could do something for is the dialer not installed as system app (currently managed in a separate #46 issue).

@shlomi10
Copy link

actualy I have the latest dialer form google, and the recorder from here and it worked with hebrew - yesterday I tested it

@jacopotediosi
Copy link
Owner

actualy I have the latest dialer form google, and the recorder from here and it worked with hebrew - yesterday I tested it

@NirAsulin can you please test if the bug still happens with the latest version of the Dialer?
Thanks.

Otherwise I'll close this thread, because the problem seems to be solved for everyone involved.

@NirAsulin
Copy link

actualy I have the latest dialer form google, and the recorder from here and it worked with hebrew - yesterday I tested it

Is "this call is now being recorded" audio played in recordings?
Can you detail when and how the problem was solved for you? I remember that in the previous versions the recordings did not work for you.

@NirAsulin can you please test if the bug still happens with the latest version of the Dialer? Thanks.

Otherwise I'll close this thread, because the problem seems to be solved for everyone involved.

@jacopotediosi I will definitely check it out in the next few days and update, thank you.

@shlomi10
Copy link

@NirAsulin the "this call is now being recorded" is just played to your side, but when you play the recordings you won't hear it.

@NirAsulin
Copy link

@shlomi10 But does the other side hear the message at the start of the recording?

@shlomi10
Copy link

@shlomi10 But does the other side hear the message at the start of the recording?

I need to test it, can you too?
Thanks

@jacopotediosi jacopotediosi changed the title Call recording failed Phone: Call recording failed May 11, 2023
@NirAsulin
Copy link

NirAsulin commented May 14, 2023

can you please test if the bug still happens with the latest version of the Dialer?
Thanks.

@jacopotediosi
I apologize for the delay, there were some technical issues.
The device has been updated to version TQ2A.230505.002, as well as Magisk 26.1 and GoogleDialerMod version 3.00.
Google Dialer version 105.0.529096231-publicbeta.

As I described a few months ago - when the device is on the English language, everything works fine.
Any attempt to change the language back to Hebrew will lead to a recording error.

editing:

It's a little more complex:
At first the recording did not work in Hebrew.
After changing to English, making a recording and returning the language to Hebrew it seems that the recordings still work.
If I "force stop" the dialer and then reopen it, an attempt to record encounters an error.

I need to test it, can you too?
Thanks

@shlomi10
Is there anything new about this?
If the recording still works for you in the Hebrew language, could you tell me what version of Google Dialer you have?

@shlomi10
Copy link

@NirAsulin still works
104.0.527367108-pixel2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

9 participants