No audio on calls
-
Does the problem exist for both incoming and outgoing?
-
@aristella I will try to duplicate, try to make a call and get:
journalctl | grep pulseaudio -
@aristella said in No audio on calls:
Hi @rubencarneiro ,
thanks for porting Ubuntu touch for oneplus nord n100.
I recently installed UT focal rc using ubports installer.
Everything is working fine except audio in calls. I cant hear and they cant hear me. However, I have audio in other apps.Please let me know of there's any workaround for this.
Thank you
Why are you using rc, use the stable channell
-
@rubencarneiro please check below the pulseaudio logs after two calls (one outgoing and one incoming )
phablet@ubuntu-phablet:~$ journalctl |grep pulseaudio -A2 -B2
Aug 30 17:11:02 ubuntu-phablet org.freedesktop.Telepathy.ConnectionManager.ofono[3672]: oFonoConnection::inspectHandles ("694229xxxx") Aug 30 17:11:02 ubuntu-phablet history-daemon[4046]: Saving account id: "ofono/ofono/ril_0" Aug 30 17:11:02 ubuntu-phablet com.lomiri.TelephonyServiceHandler[3670]: Setting up pulseaudio for voice call Aug 30 17:11:02 ubuntu-phablet com.lomiri.TelephonyServiceHandler[3670]: Recorded default sink: sink.primary_output default source: source.droid Aug 30 17:11:02 ubuntu-phablet org.freedesktop.Telepathy.ConnectionManager.ofono[3672]: getContactAttributes (2) ("org.freedesktop.Telepathy.Connection.Interface.SimplePresence") -- Aug 30 17:11:19 ubuntu-phablet media-hub-server[3570]: PulseAudio event for sink with index 1 received. Aug 30 17:11:19 ubuntu-phablet com.lomiri.TelephonyServiceHandler[3670]: Setting PulseAudio source 'source.droid' port 'input-builtin_mic' Aug 30 17:11:19 ubuntu-phablet com.lomiri.TelephonyServiceHandler[3670]: Restoring pulseaudio previous state Aug 30 17:11:19 ubuntu-phablet com.lomiri.TelephonyServiceHandler[3670]: Restoring PulseAudio default sink to 'sink.primary_output' Aug 30 17:11:19 ubuntu-phablet com.lomiri.TelephonyServiceHandler[3670]: PulseAudio audio mode changed: 0x4
Aug 30 17:12:22 ubuntu-phablet media-hub-server[3570]: media-hub: Got call started signal, pausing all multimedia sessions Aug 30 17:12:22 ubuntu-phablet history-daemon[4046]: Saving account id: "ofono/ofono/ril_0" Aug 30 17:12:22 ubuntu-phablet com.lomiri.TelephonyServiceHandler[3670]: Setting up pulseaudio for voice call Aug 30 17:12:22 ubuntu-phablet com.lomiri.TelephonyServiceHandler[3670]: Recorded default sink: sink.primary_output default source: source.droid Aug 30 17:12:22 ubuntu-phablet com.lomiri.TelephonyServiceHandler[3670]: Found card that supports voicecall: 'droid_card.primary' -- Aug 30 17:12:34 ubuntu-phablet media-hub-server[3570]: media-hub: Connection state for port changed to: 0 Aug 30 17:12:34 ubuntu-phablet media-hub-server[3570]: PulseAudio sink details for sink.primary_output with index 1 is available: Aug 30 17:12:34 ubuntu-phablet com.lomiri.TelephonyServiceHandler[3670]: Restoring pulseaudio previous state Aug 30 17:12:34 ubuntu-phablet com.lomiri.TelephonyServiceHandler[3670]: PulseAudio audio mode changed: 0x4 Aug 30 17:12:34 ubuntu-phablet com.lomiri.TelephonyServiceHandler[3670]: Restoring PulseAudio default sink to 'sink.primary_output'
-
@rubencarneiro
I installed the stable version and I upgraded to RC in order to check if this issue is resolved. Problem exists in both stable and RC version.I can try downgrading back to the stable version if this will help us with debugging
-
@aristella
I don't have this device but two questions.
What android version was on the phone before you install UT ?
Is that's the android version asked prior installing UT on it ? -
@Keneda
I had flashed oxygen OS 1.5.2 european version as it was a prerequisite in the ubports installer -
@aristella Audio is working as it should on stable channel, either you are not using the correct stock firmware or something is broken on rc channel i sugest you to review the firmware you are using and install the devel channel
-
@rubencarneiro said in No audio on calls:
@aristella Audio is working as it should on stable channel, either you are not using the correct stock firmware or something is broken on rc channel i sugest you to review the firmware you are using and install the devel channel
Beat me to it. I was about to suggest the same.
-
Hi @aristella
Currently RC and Stable should be identical.
There is no downgrading.The way RC works is that when a new OTA is almost ready, it is pushed to the RC channel which allows users to test it out.
When it is deemed stable and no major issue (like not being to place a call) remains, the code is pushed to the Stable channel to reach every user.We recommend to move to RC to test things out to avoid having the issue you're now raising several months after OTA.
Testing on RC is less likely to break your device and require a full reinstall.
In case of a major issue, one can switch to Stable in order to get functionality back (this is the only downgrading possible)...According to Ruben there is no issue with the current version, so it's likely an isolated issue due to your particular device and installation.
Have you tried to switch to Devel as suggested?
And have you tried to switch back to Stable?Switching channels is often a good way to basically reinstall your device without having to use the UBports installer.
If this does not solve your issue, you might want to try the installer.
And if it still does not work, you could think of backing up your data, flash the recommended version of android (and associated firmware), test that audio calls work, then reinstall Ubuntu Touch.Best of luck
-
thank you for the detailed explanation.
I have tested stable, rc and finally devel but with all channels I still have no sound in calls. The interesting part is that if I press some numbers in the dialpad during a call, this sound is transfered to the caller.
I have also tried to reinstall UT 20.04 stable using the ubports installer but I still have the same issue.
Before installing UT, I had installed oxygen 10.5.2 (BE83BA) by downloading the OTA image and doing a local upgrade. I will try to find a windows laptop in order to flash this image as it is listed in the supported images in the ut device page.
Do you know if there's a way to flash this image from a linux environment?
thank you
-
@aristella Your issue is that you didn't install the image stipulated in the download page . It has to be flashed through the MSMDownload tool which for me is easier on a M$ Windows machine, but I believe it can be done through Linux (which I will get round to when my Ubuntu Machine is more accessible).
Steps are:
Have the device in EDL mode - power it off.
Start up the MSM Download tool and ensure the COM ports are all displayed - RUN AS ADMINISTRATOR - it hasn't worked when I don't open it as administrator.
Plug the USB cable into the PC.
To boot to EDL mode press and hold Volume up and Volume down keys together, then plug the USB cable into the phone.
It should appear on the list.
Press start and leave it alone to do it's thing. It takes about 4 minutes. If successful the device reboots and takes you to the Android set up screen. Set up Android.The Bootloader gets relocked so unlock the bootloader and set Android up again.
Once set up and you have re-enabled Developer Options and USB debugging again, run the installer.
Any issues post back here for assistance if you struggle to work it out.
-
thank you for the instructions.
I managed to installed the required OxygenOS image using the MSM tool and there is now audio in calls! Thank you all!A problem I'm facing now is that the second sim ( I have two SIMs inserted) is not visible at all. I thought that only the cellular data is not working on the second SIM in this phone with UT.
Is there any way to have the second SIM working ?
thank you
-
@aristella If you read the section on the devices it list dual SIM functionality as partially working, so it may or may not work. This is classed as a global issue which affects multiple devices unfortunately.
-
After some reboots, the second sim is available.
However, when I have this sim inactive ( not using PIN to unlock), I'm not able to use the Cellular data on the primary sim.
Although data seems active, I have no internet at all ( route table is empty!).
If I reactivate the second sim, then cellular data on the primary sim is working.Has anyone experienced this before?