Solved You should remove the Nexus4 from the ports list
It turns out it cannot perform the most basic function of a phone. The microphone doesn't work so you can't even use it to talk on the phone. This should not be available for testing by the general public. I'ts misleading to do so. This project is an enourmous waste of other peoples time.
@overlordofdata I have moved your post to the correct location. Not doubting you have the issue but are you sure this is a UT issue and not hardware, only I haven't seen this issue come up and it's not been mentioned here.
You could try rerunning through the installer if this is a fresh install but not sure that is the issue. Can you give more details. Does incoming and out going calls work except for the sound?
@lakotaubp According to this issue reported 2 years ago:
'Agreed this will never be fixed. Marius Gripsgard tried and concluded it was too difficult to be worthwhile.'
So why is it exposed on your website?>
@overlordofdata Maybe I am misreading this issue, but it sounds like the title is wrong and the microphone is only not working in certain apps (recoding etc).
A lot of ports have smaller issues like that. For example my OnePlus3 can't record any videos.
@overlordofdata Sorry I miss understood. Calls should work fine it's other forms of recording that fail. Then in that case unless anyone else knows different it does look like an unfixable issue from the link.
Edit: Just reread your post. Calls should work from what I understand it's recording of and playing back sound where the issue is.
We can now supply detailed informations for each device, like here: https://devices.ubuntu-touch.io/device/hammerhead/ - we will update Nexus 4 and then it will be very transparent what works and what not. So ecveryone can make an educated decision.
Removing it is one solution, but also it might be oky for some people that dont need audio recording. So we keep it online as long as possible.
@lakotaubp I am not able to call on my device. I doubt I ever would, it's a secondary phone. More important to me is the working microphone. which he says will not be fixed. My plan is to port a guitar amp I am creating in ubuntu; I think it will scale better as a small portable device.
@overlordofdata without that Nexus 4 listing I wouldn't be communicating right now. Sorry about your issues, but they aren't everyone's issues.
So, I installed again, using these instructions: https://www.martinkaptein.com/blog/ubuntu-touch-on-nexus-4-in-2018-installation-and-review/, and now I can hear my voice when I make a call, but the microphone is still not working; I verified this using the Recorder app from OpenStore.
What’s the difference? It shows entries in /etc/udev/rules.d/51-android.rules that were not included in the install instructions I follows. I see that they are also listed on https://docs.ubports.com/en/latest/userguide/install.html, but I didn’t see that until after the first install.
The first install was rough – it crashed over and over, and took me about 5 tried and 2 hours. I was following the instructions on ubuntu-touch.io for ElementaryOS, and I see today, there is a new web page that does not include those instructions for elementary, arch, etc. So I used the AppImage version.
The new install took about 10 minutes.
This should be considered resolved. The main point was that I could not talk on the phone, that was fixed by reinstalling. The microphone is not required for basic functionality, it will impact fewer users.
My carrier is dropping support for this phone at the end of the month because it’s 3g. For me, it has no purpose except to play with.
The differnce between microphone for recording and for telephony is: different audio paths. While you are in a call the microphone is basically routed by the Android container into the modem. On recording into an app the mic needs to be attached to your Ubuntu Touch app.
So while calls are handled by the Android container successfully, as its the same as in Android, routing the mic to pulseaudio fails. That can happen with our ports, we have seen this on other occasions. Whats interesting is that Nexus 4 is so resisting against being fixed