/srv/irclogs.ubuntu.com/2015/12/15/#ubuntu-touch.txt

=== salem_ is now known as _salem
=== _salem is now known as salem_
=== salem_ is now known as _salem
vishnudevHi guys, will ubunu 15.10 run .snap ?06:03
dholbachgood morning08:10
RMJIs Popey in the house?08:36
dholbachRMJ: he should be ... in a bit - he's in the UK, where it's 8:37 right now08:37
RMJThx, yeah I know it's still quite early there, just checking :)08:38
dufluRMJ: try popey08:39
* duflu wonders if case matters08:39
RMJah I see08:40
RMJis popey in the house?08:40
RMJdo you need an @ or something?08:41
dufluNo, just correct spelling should suffice08:42
=== Dragonkeeper is now known as yoldovah
RMJCan anyone recommend an IRC client for UT?08:45
tevewhy update check take ages over mobile 3G?09:09
lotuspsychjeRMJ: kiwi irc09:10
RMJcan it connect to here ok09:12
RMJ>?09:12
JamesTaitGood morning all; happy Tuesday and happy Cat Herders Day! 😼09:26
mcphailJamesTait: That's definitely apposite in the #ubuntu-touch channel09:46
JamesTaitmcphail, it just seemed like the perfect way to describe my life lately!09:47
mcphailJamesTait: life wouldn't be interesting if it was deterministic ;)09:48
JamesTaitmcphail, indeed. It keeps us young.09:53
=== ecloud is now known as ecloud_wfh
=== vrruiz_ is now known as rvr
=== hasselmm1 is now known as hasselmm
=== _salem is now known as salem_
=== salem_ is now known as _salem
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== alan_g is now known as alan_g|lunch
RTE89hey there13:13
RTE89I just got a BQ with ubuntu preinstalled and I'm going to ask what I'd think would be one of the most asked questions in here, but I can't find any relevant recent threads about it anywhere: what is the status of whatsapp on ubuntu touch?13:14
davmor2RTE89: there is no whatsapp for ubuntu touch and they close down any apps that they don't write, feel free to ping their developers to ask for an ubuntu port13:15
RTE89I was afraid of that, since every project that seems to have existed has misteriously gone silent over the years...13:16
Walex2RTE89: BTW with your BQ run a full update as soon as you can...13:19
RTE89Yeah, I did. It really improved after that13:19
Walex2RTE89: current UTouch releases are significantly improved, for example some few weeks ago WiFi AP mode is now available13:19
Walex2RTE89: ahhh you found out too.13:20
RTE89You mean going to "about this phone" and updating, right?13:20
Walex2RTE89: yes  mainly that, and the "update" system settings that updates the apps too13:20
RTE89I'm coming from iOS (I used to be an Android user, but I like to experiment), and to be honest, it's going to be a bit hard to readapt. I feel really spoiled :P13:23
RTE89But I'm very glad I can have a proper linux on my phone13:24
RTE89And not depend on a Google or Apple account13:24
Walex2RTE89: if you like the "proper linux" then the first thing to do is to enable developer mode so you can get in via USB and enable shell etc.13:24
Walex2RTE89: ot if you use WiFi AP mode you can login over WiFi too13:24
RTE89btw I'm having wifi drops. It also happens on my laptop (so it's probably a wider issue), but I had never had this problem on the phone13:25
Walex2RTE89: it can be an AP issue, many are buggy13:26
* Walex2 looks at the LINKSYS behind him, which sort of workish13:27
RTE89yeah, I guess it's the router. I only have this problem at work anyway13:27
RTE89with "ap mode" you mean hotspot, right? English is not my native language13:28
Walex2RTE89: yes, hotspot with tethering (gateway to 3G).13:46
mterryjdstrand, morning!13:52
RTE89I have to use whatsapp because of work. It's a bummer to carry two devices around ¬¬13:53
=== alan_g|lunch is now known as alan_g
oSoMoNmhall119, for your testing pleasure: https://launchpad.net/~osomon/+archive/ubuntu/webbrowser-app14:31
oSoMoNmhall119, I’ll try to keep it up-to-date, don’t hesitate to ping me if you see it lag behind versions in the overlay PPA14:31
=== dandrader is now known as dandrader|lunch
jgdxgreyback_, ping14:36
greyback_jgdx: pong14:38
jgdxgreyback_, the example you gave me, are you sure I am to use the qt stuff and not the qt ubuntu stuff?14:39
greyback_jgdx: let's chat, will be easier14:39
jgdxgreyback_, sure14:39
greyback_jgdx: https://plus.google.com/hangouts/_/canonical.com/gerry14:39
mhall119thaks oSoMoN14:46
mterryjdstrand, morning -- got time for brute forcing phones?  :)14:57
=== sverzegnassi_ is now known as sverzegnassi
mterrytedg, did you have more thinking about ubuntu-app-launch/warn-on-xapp changes?15:01
tedgmterry: Yup, getting a first review of api from tvoss, you're next :-)15:10
mterrytedg, oh cool thanks!15:10
jdstrandmterry: hi, yes, out of meetings/emails now15:16
jdstrandmterry: we probably want to at least have tyhicks listening. I think he is going to be online in a moment15:16
mterryjdstrand, hello -- ok15:17
mterryjdstrand, I have meetings shortly but am probably free around 10:5015:18
mterrycan poke when done15:18
jdstrandok15:18
tyhicksjdstrand: I'm here15:28
mterryjdstrand, tyhicks: ready15:42
mterryhangout or IRC?15:43
jdstrandI think hangout would be fastest15:43
jdstrandmterry, tyhicks: fyi: http://doc.qt.io/qt-5/qelapsedtimer.html16:02
jdstrandthere is hope that the monotonic can be used16:02
tyhicksah, good!16:02
mterryjdstrand, tyhicks: in qml, it's less clear what backs the Timer element: http://doc.qt.io/qt-5/qml-qtqml-timer.html16:03
mterryI will do some digging16:03
jdstrandyeah, that page doesn't give a lot of detail16:05
=== dandrader|lunch is now known as dandrader
jgdxmzanetti_, how can we add a dir to xdg data dir?16:13
mzanetti_hmm16:16
mzanetti_by asking ogra_ I'd say16:16
mzanetti_at least that's how I would approach it16:16
mzanetti_jgdx, ^16:17
* ogra_ approves ... just go ahead :P16:17
mzanetti_ogra_, I think the question is more where to put it16:17
jgdxogra_, okay I added it but it dodnt work16:22
* ogra_ is still not sure how he got into this position :P ... i havent touched any phone code in a year now 16:24
davmor2they borrow my script that auto blames ogra_ for everything they didn't touch16:26
ogra_ah16:26
jgdxogra_, any idea what project it would affect? That'll help16:27
ogra_most likely ubuntu-touch-session or so16:27
jgdxthx16:28
sturmflutnerochiaro: Ping, regarding bug 1434517, are the bandwidth values you posted an hour ago correct?16:29
ubot5bug 1434517 in camera-app (Ubuntu) "480p and 1080p video appear to use the same bitrate" [High,In progress] https://launchpad.net/bugs/143451716:29
nerochiarosturmflut: i think they are, can double check16:30
sturmflutnerochiaro: 12 kbps for a 1080p video? For the whole stream?16:31
nerochiarosturmflut: according to mplayer: VIDEO:  1920x1080  30.323 fps  12146.9 kbps16:32
sturmflutAh, that's 12 MBps ;)16:32
nerochiarosturmflut: oh, let me check the bug again :)16:32
sturmflutBecause 12 kbps wouldn't even be enough for the audio track16:33
nerochiarosturmflut: right. my mistake. fixed16:33
nerochiarosturmflut: thanks for pointing that out :)16:34
sturmflutnerochiaro: \o/16:42
=== dandrader is now known as dandrader|afk
muscleshi17:24
musclesI just started exploring ubuntu touch17:24
muscleshope everyone is doing great17:24
musclesmy question is does ubuntu touch supports ubuntu 14.04 trusty?17:25
=== dandrader|afk is now known as dandrader
musclesand also which hardware does it supports17:25
davmor2muscles: you might have to explain what you mean by does it support 14.0417:43
davmor2muscles: the phone is currently vivid based17:43
musclesOkay let me explain it a little bit17:49
musclesI want to run ubuntu 14.04 trusty17:50
musclesso I f I install ubuntu touch on my cell phone does it supports all version of ubuntu17:50
musclesi.e 13.04, 14.04 etc?17:50
davmor2muscles: you might need a rule for the device, but other than that it should connect to 14.0417:52
musclesand can you please expalin a little bit more about vivid based phone?17:52
muscleswhat do you exactly mean by this17:52
musclesthank you17:52
davmor2muscles: the phone is based off of vivid release so 15.0417:54
musclesalright. So say I purchase a nexus 4 phone with ANdroid installed on the top. The I wipe away android and install ubuntu touch on the top it would be vivid based ( 15.04) not trusty ( 14.04)17:55
musclesthats what you mean17:55
musclescorrect me if I am wrong17:55
davmor2muscles: that's correct17:56
muscles alright17:57
musclesthank you davmor217:57
=== alan_g is now known as alan_g|EOD
mterryjdstrand, tyhicks: quick follow up, after some digging, looks like qml's timer uses QElapsedTimer under the hood, which is monotonic.  So all good there18:18
tyhicksmterry: nice - thanks for looking into that18:19
vishnudevHi Guys. How to debug application in actual device?18:20
vishnudevI am getting  a wait screen please attach your device18:20
jdstrandmterry: cool18:20
vishnudevI've enabled the developer mode18:23
mterryvishnudev, I haven't done it more than a couple times, but you need to find the option in the SDK that associates your kit with your particular device18:24
mterryAnd then when it's waiting to attach your device, have your device plugged in obviously18:25
mterryBut it needs to be associated first18:25
vishnudevcool18:26
vishnudevI've to remove the previous device18:26
vishnudevnow its working18:26
mterryvishnudev, yeah I wish it could remember more than one device  :)18:27
RTE68hey there18:36
RTE68I just apt-get upgraded and dist-upgraded, everything is working, but these were updgrades that didn't show up in the UI. I assume those are more stable than doing it through the cli18:37
RTE68Anyway, I've noticed I can apt-get install thunderbird, for example, but I don't dare. Am I right in assuming stuff will break if I do so?18:38
pmcgowanRTE68, the normal updates do not use apt, they use the system-image updater, the two are not compatible18:43
RTE68did I mess up my phone then?18:43
pmcgowanRTE68, you may have, I assume you made the disk writeable before doing that18:51
RTE68yup18:51
RTE68sudo mount -o remount,rw /18:51
pmcgowanso you can live in the apt world but you cant take image updates, or at least what will happen now is a bit undetermined18:52
pmcgowanyou can reflash to a known version18:52
pmcgowannormally adding individual packages works but then gets overwritten with the next image updated, not sure what a dist-upgrade will do18:53
RTE68well, dist-upgrade actually replaced a package with another. I can't remember which one it was, but it wasn't an alternative, but a different build of the same library. Probably built against different dependencies or something like that.18:55
RTE68Do you mean image updates won't show up anymore?18:55
pmcgowanRTE68, they will but not sure what they will do if you take them18:56
pmcgowanyou should revert to a fresh image18:56
pmcgowanunless you actually want to use apt and manage it yourself, which no one really does I think18:57
ogra_apt will break ... hard ...18:58
RTE68damn18:58
RTE68So, how do I roll back?18:58
ogra_you were just lucky it worked and there was no package involved that breaks the world18:58
RTE68hehehe18:59
ogra_you can always re-flash using ubuntu-device-flash18:59
pmcgowanyou can also do it with some incantation on system-image-cli19:01
RTE68does system-image-cli work from within the very device's terminal?19:02
RTE68I've never used ubuntu-device-flash, but I've read it works through adb from a computer, right?19:03
ogra_right19:04
pmcgowanRTE68, yes that can run from the terminal19:06
vishnudevHi, I am trying to use cordova19:06
vishnudevwhen i do cordova build --device19:06
vishnudevgetting error Error: missing armhf chroot19:07
vishnudevrun:19:07
vishnudevsudo click chroot -a armhf -f ubuntu-sdk-14.10 create19:07
pmcgowanvishnudev, better to ask in #ubuntu-app-devel19:07
vishnudev ok19:07
RTE68pmcgowan: thanks, I'll explore my options19:13
sturmflutGood news: I have an strace of the FM Radio app on an MT6582 Android phone (krillin/vegetahd clone). Now I "just" have to interpret all the ioctl()s correctly ;)19:50
=== ljp is now known as lpotter
mcphailsturmflut: you'll have wi-FM up and running in no time :)20:07
tvosssturmflut, got a list handy?20:10
triplecloneshi all - I'm having issues with shutting down my phone, seems to just hang suspended and drains battery. Any hints/ clues?20:25
muscleshi again20:34
musclesjust a quick question20:34
muscleswhich cell phone do you guys recommend for installing ubuntu touch and then installing ROS on top of ubuntu touch?20:35
musclesI searched a lot on the net20:35
musclesbut couldn't find the right model20:35
sturmflutmuscles: ROS as in the Robot Operating System?20:42
sturmfluttripleclones: That might be bug https://bugs.launchpad.net/canonical-devices-system-image/+bug/147191320:43
ubot5Ubuntu bug 1471913 in Canonical System Image "Battery statistics are incorrect on MTK based devices" [High,Confirmed]20:43
sturmfluttvoss: http://paste.ubuntu.com/14036298/ is an initial excerpt of the ioctl calls issued on /dev/fm and /dev/eac when the app starts up and turns the FM Radio and the audio pipeline on. PID 149 is the Android media subsystem, PID 3983 the FM Radio.20:49
tvosssturmflut, ack20:50
sturmfluttvoss: Still needs finetuning to capture more info, but it looks like its not too wrong, e.g. line 6 is FM_IOCTL_POWERUP and line 7 FM_IOCTL_MUTE20:50
tvossyup, just looking at those lines20:51
sturmfluttvoss: But I have no idea what happens in the lines before, e.g. line 2 is 0xc008f532, that translates to function 0x32 (last 8 bits), and our header files do not seem to have a function 0x32 ioctl on the FM device20:52
tvosssturmflut, so the /dev/eac calls seem to setup the direct audio routing iirc20:52
sturmfluttvoss: Yep20:52
tvosssturmflut, which processs is 386520:53
sturmfluttvoss: One of the FM Radio app threads if I see correctly20:54
tvossah okay20:54
tripleclonessturmflut: um I'm not sure, on shutdown it seems the backlight stays on, interestingly just used the shutdown option in the recovery menu and did the same20:54
tripleclonesI'll keep playing20:54
sturmfluttripleclones: Sorry, I got your report wrong. The screen often stays on for a short time at shutdown until it is fully shut down, but that should take some seconds or so20:58
tripleclonessturmflut: this is until the battery dies - although have introduced a new issues :)20:59
tripleclonesreset the oem lock and not it doesn't seem to get pass the loading screen. I will go have a cup a tea and review21:00
tripleclonesnope that was a mistake21:04
tripleclonese2fsck check for device failed with 021:05
triplecloneswho thinks I am best of just starting again with a fresh install21:05
triplecloneshaha - now it doesn't get pass the google screen. Sometimes not fiddling is the best approach21:09
dobeymuscles: if you're not buying a retail ubuntu phone, the best supported phone otherwise is the Nexus 4 (mako)21:15
vandenoeveris it possible to flash a fresh ota-8 to the meizu?21:17
=== muscles is now known as Guest24758
pmcgowanvandenoever, sure21:26
pmcgowanchannel ubuntu-touch/stable/meizu.en21:27
RTE68evening21:28
vandenoeverpmcgowan: channel?21:28
RTE68is there a way to export/backup my contacts to SIM or some other place that isn't Google? One of the reasons I bought an Ubuntu phone was to completely abandon Google (in fact I deleted my account).21:29
pmcgowanvandenoever, yes using ubuntu-device-flash from a laptop, are you familiar with how to do that?21:29
vandenoeverpmcgowan: no, i'm an ubuntu phone newbie, i'm coming from meego21:30
pmcgowanvandenoever, ah welcome21:30
vandenoeverpmcgowan: but i'll look to install the ubuntu-device-flash, i assume it downloads the image21:31
pmcgowanvandenoever, yes, check https://developer.ubuntu.com/en/start/ubuntu-for-devices/installing-ubuntu-for-devices/21:31
pmcgowanthink thats still accurate21:31
vandenoeverah cool21:32
vandenoeveri'm running ubuntu in a vm but i should be able the make the phone availabe to it via usb21:32
pmcgowanthink so yeah21:32
RTE68I'm glad to hear that, I don't want to change my linux distro again ^^21:33
RTE68Where are contacts stored btw? Mysql? Sqlite? Some XML somewhere?21:33
vandenoeverRTE68: same here, i like ubuntu, just happen to be on nixos21:34
RTE68After years I've felt in love with Arch. Ubuntu comes close second though. :D21:34
RTE68*fallen21:35
pmcgowanRTE68, should be in ~/.local/share/evolution/addressbook/username/contacts.db21:39
pmcgowansqllite21:39
RTE68nice!21:39
RTE68that's why I love the idea of actual linux on a phone21:39
RTE68ty21:41
RTE68I have a gripe with scopes (and it's possible I'm just using them wrong). If I have more than four I find it tedious to swipe over all the way, looking for the one I'm interested in.21:55
RTE68Isn't there a way to jump directly to a specific scope?21:56
RTE68Also, can I list applications in the store by developer?21:56
Myself5ondra, I made a sucessful build! :D21:56
Myself5but how do I go ahead and flash it?21:56
tripleclonesha, for anyone following my &^%k ups - I've got back into the recovery menu21:56
Myself5following the ubuntu install guide?21:57
RTE68I'm not following, but congrats tripleclones21:57
RTE68:p21:57
RTE68Also I just realized you *can* jump directly to a scope using the list where you favorite them. I feel so dumb...21:58
tripleclonesdoing a fresh install21:59
Myself5@all, if I am installing Ubuntu Touch, am I really only suposed to flash boot and recovery?22:01
Myself5no need for system.img at all?22:01
tripleclonesso should I reset the oem lock after installing?22:09
triplecloneshaha - reinstalled, lets see if it shuts down this time22:31
tripleclonesany hints on the oem lock?22:31
tripleclonesstill doing the same, shutdown leaves backlight on :(22:41
tripleclonesI'll leave it for now as son wants to show of at school tomorrow.22:42
tripleclonesbut would like some help submitting a bug if anyone can point me to a how to or such like22:42
dobeytripleclones: what oem lock? what device?22:56
tripleclonesnexus 522:56
triplecloneslast time I re-enabled it I got e2fsck check errors22:57
dobeywhat about the oem lock?22:58
tripleclonesif I follow this page22:58
triplecloneshttps://developer.ubuntu.com/en/start/ubuntu-for-devices/installing-ubuntu-for-devices/22:58
tripleclonesit says "sudo fastboot oem unlock"22:58
dobeyyes22:58
tripleclonesbut nothing about re-enabling it22:58
triplecloneswhen I did on my last install everything want to pot22:58
tripleclonesso should I leave it unlocked?22:59
dobeyif you really want to lock it, you can do so at the fastboot screen itself, iirc22:59
dobeyor i guess do "fastboot oem lock"22:59
tripleclonesyes thats what I did - but then I got e2fsck check errors23:00
tripleclonesI'll leave unlocked this time23:00
dobeyi'm not sure what image you installed, but the nexus 5 is not an officially supported device, and the builds on the tasemnice server are all way out of date, iirc23:00
tripleclonesI'm using  tasemnice images23:01
tripleclonesthey seemed to be updated in Nov23:01
tripleclonesOS says Ubuntu 16.04 (r3) - is that massively out of date?23:01
dobeyit's massively unstable23:03
dobeyoh, looks like devel-proposed is still magically rebuilding, but that's a very unstable channel to be on23:04
dobeyi don't know what devel is actually following, but yeah, if it's 16.04, then that is pretty out of date23:05
dobeyanyway, i have to go23:06
dobeylater23:06
tripleclonesoh well will have to do for this use case, until I can get a nexus 4 cheap23:06
tripleclonesseems to be working other then not shutting down :)23:07
tripleclonesah in for a penny in for a pound - reinstalling stable image from system-image.ubports.com23:16

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!