yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] FuLgOrE2:
For your information:

I was the one who filed the bug report you mentioned in your post.

So if you have tried everything, maybe you could tell us what exactly. What I did is written in the bug report.

The keyword should be "UCM" use case manager.

As you already wrote: The sound card is recognised.

If I understood the guys in #ubuntu-touch right, UCM should communicate with the sound card. This should be the interface between the android part with the binary sound card drivers and Ubuntu Touch (please correct me, if I'm wrong). I tried to find an instruction/manual for UCM but it's hard to find.

So haralampije2:

What else did you do? How did you modify the HiFi and VoiceCall file? I simply changed the sound card name. This didn't help. Do you mabe have more information about UCM? If yes, please share.

BTW: rsalveti is working on the N5 image in his free time. He simple had no time to forward working on it.

I would guess that he didn't start working on the sound issue yet, furthermore he is also not an expert for UCM.

Please keep in mind that without rsalveti we wouldn't have a N5 image.

So maybe it will help if you guys confirm the bug on Launchpad. The more persons are interested in a fix the higher the priority will be (I guess).

If you want to have sound working on the N5 image, please confirm the bug on launchpad and/or try to find useful information about how to configure UCM.

BR

Georg
[Nexus 5 General] FuLgOrE2:
At first thank you for confirming the bug.

I got some help in #ubuntu-touch from diwic and ogra_.

If you also want to have a look, take a look here:

http :// irclogs.ubuntu.com/2014/02/18/%23ubuntu-touch.txt

diwic told me to have a look to the hammerhead (N5) source mixer_paths.xml:

https :// code-review.phablet.ubuntu.com/gitweb?p=aosp/device/lge/hammerhead.git;a=blob;f=mixer_paths.xml;h=dde6b8104a6dab2b4996a40bf576ad199c577705;hb=refs/heads/phablet-4.4.2_r1

There I should find some hints what should go to 'HiFi' and 'VoiceCall'.

So I wanted to compare the mixer_path.xml from a working Nexus device. I was told that the N10 (manta) has a mixer_path.xml, too:

https :// code-review.phablet.ubuntu.com/gitweb?p=CyanogenMod/android_device_samsung_manta.git;a=blob;f=mixer_paths.xml;h=a8b53a935c6e6fa897d28191a3ce3a8a3b8aa3bd;hb=refs/heads/phablet-10.1

So for that we "only" need the UCM-config for the nexus 10.

ogra_ helped me to find the right package with

apt-get source alsa-lib (you can find the files in the folder where you typed the command)

I found something interesting in the path ./debian/patches

There you can see a

'0004-Add-UCM-config-files-for-Nexus-10.patch'

I guess this builds up the config file.

So if I understand it right, we have

UCM-config for N10 (the patch)

mixer_path for N10 (see the link above)

mixer_path for N5 (see the other link above)

What we need is:

UCM-config for N5.

So we should compare the 3 files, to get the forth, I guess.

The patch file is in the attachments. I try to have a look on the weekend but I'm not well experienced in such things. I think you guys have much more knowledge in that direction so please also have a look.

Happy testing!

BR

Georg
[Nexus 5 General] Echse27:
Terminal App

Hi @ all...

in terminalapp the Enterbutton and the Backspacebutton are without function...

Can somebody confirm or repair? ;)
[Nexus 5 General] trh1341:
Its been said before. Thanks for getting my hopes up:P
[Nexus 5 General] Echse27:
Yes i know...

But i hope that this prob will be solved...

Greetz and a nice weekend...

Nexus 5 rocks!...
[Nexus 5 General] trh1341:
You have a nice weekend as well! I hope another build is released!
[Nexus 5 General] wishmasterf:
Is that a newer build (date 26.01.2014)? http://www.chimerarevo.com/video/ubuntu-touch-su-nexus-5-nostra-anteprima/
[Nexus 5 General] roman2861:
Sound fix!

https://mega.co.nz/#!6hQyhRaR!1_Px1RuFG5MAogRx1hN1-zMvz1jMJSk6gDFMHILxy-4

Here is the sound fix. Unpack archive and copy the folder to "/usr/share/alsa/ucm/".
[Nexus 5 General] met97:
when the official porting by canonical?
[Nexus 5 General] Echse27:
Thank you...

I have downloaded it direktly from the launchpad post...

Perhapst i will test it tomorrow...

I report when i test the fix...

Greetz, Echse...

Nexus 5 rocks!...
[Nexus 5 General] haralampije2:
Great work. Sound is working , just to add after pushing folder to phone "sudo reboot" and it is working.

:good:
[Nexus 5 General] blinqipa:
Sorry if this is a noob-like question ,but how do I push it to usr/...??
[Nexus 5 General] Echse27:
It's amazing!!!! --> It works....

Big thank's for this fix.

Sound --> works

Call's --> working

Great so far.

Greetz, Echse...

[MENTION=4790327]blinqipa[/MENTION]

Option a.) adb push msm.... /usr/share/alsa/ucm/

Option b.) after unzip the downloaded file, you can copy it using aroma-fileexplorer from inside the philzcwm... ;)
[Nexus 5 General] blinqipa:
Oh thanks :)

How do I use enter button on terminal?
[Nexus 5 General] Echse27:
Enterbutton in terminal app is without function atm...

Nexus 5 rocks!...
[Nexus 5 General] blinqipa:
Thanks Again . it seems that I can't find the alsa folder .:(
[Nexus 5 General] Echse27:
From Aroma-fileexplorer:

/data/ubuntu/usr/share/alsa/...

Nexus 5 rocks!...
[Nexus 5 General] Tyrany:
which ubuntu are u using? trusty or the preinstalled from multirom? i've successfully adb push the file and still no sound, i'm using the trusty version from 230214 on multirom
[Nexus 5 General] Plays2:
Did you reboot
[Nexus 5 General] Tyrany:
adb reboot =S and plain reboot

*Edit*

My bad i forgot to define folder name in destination =S now sound is working

This is the correct commands:

adb push msm8974-taiko-mtp-snd-card /usr/share/alsa/ucm/msm8974-taiko-mtp-snd-card

adb reboot

*Profit*
[Nexus 5 General] Echse27:
I'm using the trusty Image native installed....

And it runs great so far...

Nexus 5 rocks!...
[Nexus 5 General] 4I-I:
Deleted
[Nexus 5 General] modyt:
Can confirm sound and calls are working on Multirom version.

I copied the unzipped folder by booting into my primary rom and using root explorer to copy the folder in the mentioned directory.
[Nexus 5 General] Echse27:
Sound works great exclude of the keyboard sound... but that´s ok for me...

Today there was an update for the TerminalApp.... Now the Backspace- and the Enterbutton are working fine..... ;)

The only thing i´m missing is a xmpp/jabber client....

Greetz, Echse...
[Nexus 5 General] abtekk:
That's excellent news Echse! How smooth is the UI? Buggy or going strong?
[Nexus 5 General] Echse27:
It isn't smooth like Android... But it´s useable! ;)

I have installed a app and when i start it the system don't react...

It's a alpha.... So it works... ;)

Perhapst i will give it a allday chance at next weekend, to test and play...

Greetz Echse...

Nexus 5 rocks!...
[Nexus 5 General] Tyrany:
After add sorces and updates terminal is working on lattest trusty
[Nexus 5 General] Echse27:
There is a 2nd version of the SoundFix by Chris...

https://bugs.launchpad.net/ubuntu/+source/alsa-lib/+bug/1276901

I´ve tested it yesterday and it works great exclude the bugs descripted in post from Chris...

Greetz, Echse...
[Nexus 5 General] abtekk:
Thanks for the post, Ecshe. Going back to when I previously asked about the UI being smooth, we should keep up to date with the latest preinstalled images (found here).
[Nexus 5 General] naazgulla:
deleted
[Nexus 5 General] Galaxysm:
I'm using multirom and 1st ROM is PA. And 2nd is UT. If I want to add the sound how do I do it >.> sorry don't wanna screw my phone up lol.

Sent from my Nexus5™. On PA™.

" Nothing's ever locked..."
[Nexus 5 General] modyt:
Boot to PA. Download the attached zip for sound fix and unzip it at the download location. Now copy the extracted folder to the following path using root explorer -

/system/data/media/0/multirom/roms/ubuntutouch/data/ubuntu/usr/share/alsa/ucm

After copying, reboot to UT.

Voila.

I found this method better than using adb or terminal app.

The terminal method posted in the previous page. Whichever works for you.
[Nexus 5 General] 4I-I:
How did you get the newer terminal app? I tried "sudo apt-get upadate" and the backspace and enter buttons still didnt work(also after reboot)...

I never managed to finish "sudo apt-get upgrade (or dist-upgrade)" somehow... It always got stuck?
[Nexus 5 General] Plays2:
Try using adb shell
[Nexus 5 General] 4I-I:
Thats how i used the commands since im not able to execute them in the app...
[Nexus 5 General] Plays2:
Hey guys, i just packaged up the latest images available (Feb. 7) into a flashable zip which should work with multi rom. you need this file and the latest build from here: http://cdimage.ubuntu.com/ubuntu-touch/daily-preinstalled/current/ (trusty-preinstalled-touch-armhf.zip) and possibly the MIR package to get wifi but i'm not sure. If anyone wants to give it a shot I uploaded it here: http://d-h.st/qLR

I haven't been able to test it yet but I will be in around an hour so if anyone wants to try it first be my guest just take a backup.

All I did was take the original multirom UT package, decompress it and replace the boot.img and then unpacked the new system.img and re-compressed it into a tar.gz and replaced the old one in the rom/ directory in the zip. I'm not actually aware of the changelog but i remember reading that almost all of the apps work now and the UI is a lot smoother and there's less glitches and whatnot.

You can use the sound fix mentioned above obviously.

EDIT: So yea it doesn't seem to boot. Most likely because it didn't have the MIR packages installed. I should have it working soon , once i add the MIR files to the archive
[Nexus 5 General] Plays2:
Oh my bad i misread your comment i'm sorry i'm not sure how to get the new terminal.
[Nexus 5 General] Echse27:
Hi...

The update of the terminal app can be installed with the "Updater" inside the scope called "Installed Apps"....

Good luck.... ;)

Nexus 5 rocks!...
[Nexus 5 General] defrt:
I tried latest version of ubuntu, ogra and trusty one, sound fix is working (with right permissions) but very buggy like everything. Need moooor improvements
[Nexus 5 General] Echse27:
Do you have a working Internet connection before you update over adb or terminal?

You have to be "root" so you have to use the "adb root" command before you open the adb shell... Because the updateprozess can only be initialized by root...

I hope i could help you... ;)

Greetz, Echse...

Nexus 5 rocks!...
[Nexus 5 General] abtekk:
Is it me or is UT not detecting the SDCard? The gallery won't find pictures.
[Nexus 5 General] defrt:
Because gallery find pictures in /home/phablet directory. Not SD card
[Nexus 5 General] Truthiswithin:
Sdcard (or whatever it is) is mounted at /host/media/0, so there may eventually be a way to detect the photos there. You could always copy them over using terminal, I suppose.
[Nexus 5 General] Echse27:
Like defrt say´s....

Galery only find pics in /data/ubuntu/home/phablet/Pictures...

The root directory for Ubuntu is /data/ubuntu.... so i think it would be really strong to tell the app looking on /host/media/....

Greetz, Echse...
[Nexus 5 General] 4I-I:
i tried again and it says "adbd is already running as root". can you guys use the dist-upgrade command?

and if i try any command which needs root in the terminal app it asks for a password... is there a default password or sth?
[Nexus 5 General] Echse27:
The password for sudo command is "phablet"...

When you are logged in via adb root you only have to write "apt-get update && apt-get dist-upgrade"...

For me it works great...
[Nexus 5 General] 4I-I:
if i try the dist-upgrade command it allways gets stuck at this: http://pastebin.com/V0w1nYPG

if i wait nothing happens, the same if i press y or n....
[Nexus 5 General] Echse27:
You have to perform the sudo apt-get update && sudo apt-get dist-upgrade inside the terminalapp in UbuntuTouch....

Here is a update for the libc-library and you have to confirm a script... inside Windows there is the Problem with display the datasheets inside the shell... i think it is a utf8 de/encode problem....

This update is only possible inside UbuntuTouch terminal app....

Greetz, Echse...
[Nexus 5 General] abtekk:
Or you can enter the commands through an Ubuntu terminal via ADB.
[Nexus 5 General] 4I-I:
ok thanks guys i managed through the terminal app...:good:
[Nexus 5 General] abtekk:
Glad you got it sorted!
[Nexus 5 General] DroidOFr:
where can i found the last zip of the port to use it with multi rom?

thanks
[Nexus 5 General] Echse27:
I think it's in the multirom thread...

Nexus 5 rocks!...
[Nexus 5 General] kakailler:
Hi, how to update the distro in multirom? Is it possible? Or the only way is by falshing the zip files?
[Nexus 5 General] plmaniek:
Yes this is posible but after update ubuntu in multirom on adb shell aka dist-upgrade you must flash twrp and restore from backup the boot partition etc because many timed when you upgrade ubuntu this overwrite you kernel, recovery and boot partition.
[Nexus 5 General] rien-ne-va-plus:
Hey guys, I've just installed UT and it works great - I just can't get the sound fix to work. I extracted the tar under CM and copied the file as specified and reset the permissions according to the other files in the folder - what am I missing?

Thanks and regards!

Edit: Never mind, I set the folder permission but not the file permissions. Works now! Thanks anyway for your contributions!
[Nexus 5 General] 4I-I:
Yes you can. You can use adb to do that. You will have to dirty flash your rom after doing it though. Search this thread or the multirom thread. Youll find enough information! ;)
[Nexus 5 General] Echse27:
Now the sound fix is released:

https://bugs.launchpad.net/bugs/1276901

I don't know for sure but i think it will be implemented in future builds....

So Sound will work out of the box ;)

Nexus 5 rocks!...
[Nexus 5 General] defrt:
https://bugs.launchpad.net/ubuntu/+...m8974-taiko-mtp-snd-card_v2_and_syslog.tar.gz

Chris's sound fix v2
[Nexus 5 General] trh1341:
Wasn't it already posted?
[Nexus 5 General] defrt:
V1 was posted
[Nexus 5 General] Echse27:
V2 was posted on 25th... ;)

But better it been posted second times than never...

Greetz, Echse... ;)
[Nexus 5 General] abtekk:
On the launchpad a user said the fix has been applied to the alsa-lib. Won't that mean an apt-get update could fix?
[Nexus 5 General] Echse27:
apt-get update && apt-get dist-upgrade

I think so... ;)

But i wont test it, because i have a running system... ;)

Greetz, Echse...
[Nexus 5 General] 4I-I:
Would i see a difference after updating if i have the first sound fix already?

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 General] abtekk:
Makes sense, don't fix what isn't broken.

Probably not, no.
[Nexus 5 General] Echse27:
Normally you should not notice any difference....

Nexus 5 rocks!...
[Nexus 5 General] OldDroid:
got my n5 yesterday, gimme logcats, dsmegs, everything you can get, i will help you, worked long time on ubuntu touch for my old n4, its easy ;)

so if anyone of you needs my help, send logs to me and you will get my help!

Best reagrds,

OldDroid
[Nexus 5 General] Tyrany:
Olddroid good to see someone with knowledge here i dont know much but if u need help call me
[Nexus 5 General] haralampije2:
Every now and then I need to "pulseaudio -k" and "alsa force-reload" followed with "sudo reboot" to get sound working. To be clear sound is working, but phonecalls audio after one call goes mute, so I need to do above comands to get phonecalls working again. Good to see some reinforces in our comunity,
[Nexus 5 General] OldDroid:
what is not working like it should? can someone gimme a detailed list?
[Nexus 5 General] Tyrany:
I can try, but since i dont know how its working on others phones might be ubunto problem and not nexus 5

- internet sound playback gives some stutering, screen input sometimes fails to detect touch

---------- Post added at 05:12 PM ---------- Previous post was at 05:08 PM ----------

Its just me or swipe between apps andar APP previews are still broken
[Nexus 5 General] zintung2911:
Theoretically! It not boot because I have some trouble to repack kernel and create android-ramdisk.img for hammerhead. If you have some ideas for that, you are welcome
[Nexus 5 General] 4I-I:
Swipe between apps works for me, but app previews are also broken for me.

Do you have it installed in multiboot? You can find these options in advanced/multiboot in twrp somewhere...

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 General] Tasssadar:
Hi, I'm in the process of setting-up system-image server for hammerhead, and I'm looking for a tester who has Ubuntu installed on PC (so that he can use phablet-flash command) and is willing to re-install his ubuntu touch installation. If you can, please contact me on IRC - freenode.net, #multirom, nick Tassadar or webchat here: http://webchat.freenode.net/?channels=#multirom

Thank you.

EDIT: never mind, solved it differently already.
[Nexus 5 General] trh1341:
Can I ask how it will work?
[Nexus 5 General] Tasssadar:
http://xdaforums.com/showpost.php?p=50689471&postcount=645
[Nexus 5 General] touristy:
In multirom what Ubuntu touch option has sound working out of box? Sorry can't post in appropriate thread.
[Nexus 5 General] TheEndGame7:
Yes it does!
[Nexus 5 General] Tasssadar:
If everything goes as inteded, the next image from trusty-proposed channel on my server (should be version 213) will have another fix for audio - it should work even for subsequent phone calls. This is a fix from Ubuntu, this problem wasn't happening just on N5 but all the devices.

Version 213 should be released in a few hours, tasemnice is now building the device part and it should be ready for 213 rootfs tarball from ubuntu servers.
[Nexus 5 General] kakailler:
Great work tassadar. Thank you a lot for bringing this awsome OS to our beloved Nexus 5's.

Just a question, online video playback in sites like youtube isn't working. Is this just me or general? Is there any fix?

Enviado do meu Nexus 5 através de Tapatalk
[Nexus 5 General] trh1341:
Skipping? Yes... Not working at all...no
[Nexus 5 General] kakailler:
I don't have video, only audio. I even tried in other websites (metacafe, redtube, etc) and I still don't have image.

Enviado do meu Nexus 5 através de Tapatalk
[Nexus 5 General] trh1341:
Oh!..that's weird...

Edit: on multirom, are we supposed to use devel, or devel-proposed
[Nexus 5 General] Hugo9191:
Vale a pena instalar?

Was looking for this for a while, thanks!
[Nexus 5 General] kakailler:
I've noticed that when installing this but I'm not familiar with that. Thou I installed with devel option.

I believe that this OS has a lot of pottencial if it's well supported by the community.

The multirom install option is great and a no brainer to check the OS. Today I was for like 4 hours using Ubuntu and it was very cool. It's very easy to use and I believe that with some updates it will be butter smooth what will improve the use experience. You should try it.

Enviado do meu Nexus 5 através de Tapatalk
[Nexus 5 General] Tyrany:
Guys did you see the latest beta version running? https://www.youtube.com/watch?v=oq_G6XCCqKM#t=84
[Nexus 5 General] bill1971:
Wifi is working?
[Nexus 5 General] Tyrany:
is fully working =)
[Nexus 5 General] bill1971:
Strange,it doesnt work to me,why?today i tested both new channels and versions from multirom ,but no luck to wifi.
[Nexus 5 General] wstout12:
Is there any way to manually configure apns? I am on a Sprint MVNO. The latest build works nicely.
[Nexus 5 General] Citizen_Snips:
I'm on T-Mobile. I don't get any data on Ubuntu installed via multirom. I have to use WiFi :(
[Nexus 5 General] Galaxysm:
Same here bro. No data working.

Sent from my Nexus5™. On PA™.

" Nothing's ever locked..."
[Nexus 5 General] bill1971:
No data,and no wifi.
[Nexus 5 General] Echse27:
Yesterday i've tested the multirom installation with the 213build...all works fine for me...

DATA, WLAN-> all Ok...

I'm on O2 Germany...

Then i went back to my native nandroid Backup i updatet daily... That works great, too...

Nexus 5 rocks!...
[Nexus 5 General] wishmasterf:
Are the multirom-builds newest an best ?

Can you make phone calls?
[Nexus 5 General] Echse27:
I could make Call's and messaging...

In addition i could change the displaylanguage to german...

But the main point that I went back to my native Installation was that the terminal was without function...

So I can perform a daily apt-get update && apt-get dist-upgrade

Then i do a nandroid again and so i am on actual status, i think!

Greetz and a nice sunday @ all...

Echse

Nexus 5 rocks!...
[Nexus 5 General] wishmasterf:
Great! Version 216 works great. i can not see any open bugs. Are there any?
[Nexus 5 General] defrt:
Sound is buggy, but interface very smooth than older versions. Still Ubuntu can't read sd card. Maybe permission problem. I try manually add some pics videos and musics. File permission different from Android. Music player buggy i guess sound driver related. Cant play video. But i can play video online, only i get sound, not video, just black screen.
[Nexus 5 General] wishmasterf:
can not install apps because "Add Ubuntu One" - Account can not be created. I do not hear my call-partner.

How to i restart my phone on ubuntu touch?
[Nexus 5 General] defrt:
Push and hold power button or from terminal app with sudo reboot command
[Nexus 5 General] wishmasterf:
Isn't it a hard shutdown?
[Nexus 5 General] Vertana:
Shutdown

Yes, it is a hard shutdown if you use the power button. At this time there is currently no UI to do a soft shutdown/reboot.
[Nexus 5 General] Coldfusown:
Newest build

Where is this 216 build you speak of? I have looked through goo.im and the Google+ page. Eagerly awaiting daily driver status. Thank you all who contribute.
[Nexus 5 General] bill1971:
Its in multirom.

I have no luck with wifi and data,even 217....
[Nexus 5 General] trh1341:
I have no cellular data...but WiFi works great! Are you sure?
[Nexus 5 General] bill1971:
Yes i am sure.i put wpa number,but it asks for the number all the time.
[Nexus 5 General] alex1301:
How can I update a installed version of Ubuntu? Every time I want do install a update Multirom creates a new slot
[Nexus 5 General] 4I-I:
You can go into system settings and then on update. ;)
[Nexus 5 General] Tyrany:
How can i change backgrounds easily? My pc dont want to recognize ubunto to send wallpapers
[Nexus 5 General] haralampije2:
adb push images to /home/phablet/Pictures
[Nexus 5 General] haralampije2:
running build 223 -wifi works, mobile data working, sound working, sms working, phonecalls still buggy( during first phonecall after fresh reboot sound is working can hear recipient and he can hear me, but when making second phonecall no signal sound no recipient sound nor he could hear me) just like before.:confused:
[Nexus 5 General] gpou:
Can you please provide the link for the latest version of the two zip files needed for instalation? Also cai i flash them under TWPR recovery?
[Nexus 5 General] defrt:
Use multirom app
[Nexus 5 General] haralampije2:
use proposed images in multirom, and after instalation get future updates via ubuntu update manager on phone.;)
[Nexus 5 General] gpou:
Thank you guys, everything s up and running. I have data and call/SMS working!!

Is there an easy way to import my Google contacts;;
[Nexus 5 General] nomath4u:
Google Contacts

Add google contacts

adb shell

sudo -u phablet -i
syncevolution --configure --sync-property "username=email@gmail.com" --sync-property "password=secret" Google_Contacts

syncevolution --sync refresh-from-server Google_Contacts addressbook

If you have lots (more than 50) contacts then issue the following command multiple times until all your contacts are synced.

syncevolution --sync one-way-from-server Google_Contacts addressbook
[Nexus 5 General] haralampije2:
Go to this link http://victorpalau.net/2013/12/17/ubuntu-qml-importing-google-contacts/ adb push click package to home/phablet/Documents

and from adb shell run sudo -u phablet pkcon -p install-local /home/phablet/Documents/com.ubuntu.developer.vtuson.contactsimporter_0.9_armhf.click

This is the easiest way to import google contacts.;)