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
-
I imagine you tried restarting your phone?
Does it work when toggled to speaker phone?
I haven't experienced this.
-
Hi @Timespansoul
I have restarted the phone several times and I have also tried to switch to speaker during calls. -
@aristella Hi i dont have any issues with audio calls maybe you send some logs on the gitlab device page.
-
Some logs from the dialer-app in case it helps:
0 10:51:56 ubuntu-phablet dialer-app[4963]: qml: Starting a call to (694) 229-xxxx Aug 30 10:51:57 ubuntu-phablet dialer-app[4963]: void CallEntry::onCallStateChanged(Tp::CallState) 3 Aug 30 10:52:15 ubuntu-phablet dialer-app[4963]: void CallEntry::onCallStateChanged(Tp::CallState) 6 Aug 30 10:52:15 ubuntu-phablet dialer-app[4963]: void CallManager::onCallEnded() Aug 30 10:54:27 ubuntu-phablet dialer-app[4963]: QObject::startTimer: Timers cannot be started from another thread Aug 30 11:33:19 ubuntu-phablet dialer-app[4963]: manager set to: "galera" Aug 30 11:33:23 ubuntu-phablet dialer-app[4963]: QObject::killTimer: Timers cannot be stopped from another thread Aug 30 11:33:23 ubuntu-phablet dialer-app[4963]: QObject::startTimer: Timers cannot be started from another thread Aug 30 12:22:49 ubuntu-phablet dialer-app[4963]: qml: Starting a call to (697) 377-xxxx Aug 30 12:22:49 ubuntu-phablet dialer-app[4963]: void CallEntry::onCallStateChanged(Tp::CallState) 3 Aug 30 12:22:50 ubuntu-phablet dialer-app[4963]: [PERFORMANCE]: Last frame took 38 ms to render. Aug 30 12:23:06 ubuntu-phablet dialer-app[4963]: QObject::killTimer: Timers cannot be stopped from another thread Aug 30 12:23:06 ubuntu-phablet dialer-app[4963]: QObject::startTimer: Timers cannot be started from another thread Aug 30 12:24:27 ubuntu-phablet dialer-app[4963]: void CallEntry::onCallStateChanged(Tp::CallState) 4 Aug 30 12:24:27 ubuntu-phablet dialer-app[4963]: void CallEntry::onCallStateChanged(Tp::CallState) 5 Aug 30 12:24:27 ubuntu-phablet dialer-app[4963]: void CallEntry::onCallStateChanged(Tp::CallState) 6 Aug 30 12:24:27 ubuntu-phablet dialer-app[4963]: void CallManager::onCallEnded() Aug 30 12:24:27 ubuntu-phablet dialer-app[4963]: qt.qpa.mirclient: Attempted to deliver an event to a non-existent window, ignoring. Aug 30 12:24:27 ubuntu-phablet dialer-app[4963]: qt.qpa.mirclient: Attempted to deliver an event to a non-existent window, ignoring. Aug 30 12:24:27 ubuntu-phablet dialer-app[4963]: qt.qpa.mirclient: Attempted to deliver an event to a non-existent window, ignoring. Aug 30 12:24:28 ubuntu-phablet lomiri[3702]: [2024-08-30:12:24:28.182] qtmir.sessions: TaskController::onSessionStopping - sessionName=dialer-app Aug 30 12:24:28 ubuntu-phablet systemd[2360]: lomiri-app-launch--application-legacy--dialer-app--.service: Succeeded. Aug 30 12:24:28 ubuntu-phablet lomiri[3702]: [2024-08-30:12:24:28.384] ApplicationManager::onProcessStopped reports stop of appId= "dialer-app" which AppMan is not managing, ignoring the event Aug 30 13:55:35 ubuntu-phablet systemd[2410]: Started lomiri-app-launch--application-legacy--dialer-app--.service. Aug 30 13:55:35 ubuntu-phablet lomiri[3709]: [2024-08-30:13:55:35.707] qtmir.sessions: TaskController::onSessionStarting - sessionName=dialer-app Aug 30 13:55:35 ubuntu-phablet dialer-app[18792]: library "eglSubDriverAndroid.so" not found Aug 30 13:55:36 ubuntu-phablet dialer-app[18792]: library "libadreno_app_profiles.so" not found Aug 30 13:55:36 ubuntu-phablet dialer-app[18792]: Creating a QMirClientScreen now Aug 30 13:55:37 ubuntu-phablet dialer-app[18792]: manager set to: "galera" Aug 30 13:55:42 ubuntu-phablet dialer-app[18792]: virtual void OnlineAccountsClient::Plugin::registerTypes(const char*) Lomiri.OnlineAccounts.Client Aug 30 13:55:42 ubuntu-phablet dialer-app[18792]: file:///usr/share/dialer-app//SettingsPage/AccountSettings/ofono.qml: No such file or directory Aug 30 13:55:42 ubuntu-phablet dialer-app[18792]: file:///usr/share/dialer-app//SettingsPage/AccountSettings/ofono.qml: No such file or directory Aug 30 13:55:42 ubuntu-phablet dialer-app[18792]: file:///usr/share/dialer-app//SettingsPage/MultiSim.qml:102: TypeError: Cannot read property '0' of undefined Aug 30 13:55:42 ubuntu-phablet dialer-app[18792]: [PERFORMANCE]: Last frame took 37 ms to render. Aug 30 13:56:16 ubuntu-phablet dialer-app[18792]: QObject::startTimer: Timers cannot be started from another thread
-
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?