/srv/irclogs.ubuntu.com/2016/03/04/#ubuntu-touch.txt

=== sakrecoer is now known as sakrecoer_
=== sakrecoer_ is now known as sakrecoer
=== saidinesh is now known as saidinesh5
=== spock is now known as Guest3006
=== dgadomski_ is now known as dgadomski
abeatoogra_, why do some scripts fail when executed from console-app in touch?08:44
ogra_you mean the terminal ?08:44
abeatoogra_, in my case : /bin/sh: bad interpreter: Permission denied08:44
abeatoyep08:45
ogra_security blocks08:45
abeatohow can I overcome that?08:45
ogra_i think mzanetti has a way08:45
ogra_through his openappstore08:45
ogra_(running the terminal unconfined)08:45
abeatoogra_, hmm, and what is the rule for preventing execution? what is not allowed?08:47
ogra_no idea08:47
ogra_you can enable ssh and do something like "ssh phablet@localhost", that gives you a full login session08:48
mzanettiogra_, abeato: that shouldn't be the case. the terminal app is allowed to run arbitrary stuff08:48
mzanettiit will still be SIGSTOPed when unfocusing the terminal app, but above error is new to me08:48
ogra_(but note that gets backgrounded and suspended when you put the terminal out of focus, if you re-focus it yopu need to type "fg" to get it back)08:48
ogra_mzanetti, it isnt allowed to spawn subshells iirc08:49
abeatoogra_, sure I know, what I want to use the app in this case :)08:49
mzanettiI think it is... at least I haven't ran into any restrictions except the pausing in background08:49
ogra_i ran into the "bad interpreter" message quite often in the past08:50
abeatomzanetti, ogre, was trying to run http://people.canonical.com/~okubik/adb.sh08:50
abeatoogra_, :)08:50
ogra_thoug i never bothered to research it  more08:50
ogra_abeato, well, i guess thats the mount call08:51
abeatoogra_, no, it is when executing the script, it does not reach the wget08:51
* mzanetti tries08:51
abeatoit just does not like spawning a shell apparently08:51
ogra_yeah08:51
ogra_as i said, no subshells08:52
ogra_you shoudl eb able to run aech of the commands manually08:52
abeatocorrect, that works08:52
mzanettiabeato, is this to fix frieza's adb?08:53
abeatomzanetti, it is a just workaround to make things easier for people08:54
abeatomzanetti, the fix will arrive in ota 1008:54
mzanettibut we're talking about frieza's not working adb? or some other adb fixes that apply to all devices?08:55
abeatomzanetti, no, forget about adb, it is just an example of a script not being launched in terminal app (I have copied it to phablet home, it is not in the image)08:58
[tj]are headphone buttons supported?09:02
[tj]like the volumne up/down or the pause button on a mic?09:02
[tj]if not I will report a bug in podbird09:02
[tj]moin09:15
popey[tj]: no, but I don't think that's a podbird bug, but a platform one09:18
[tj]yeah, looks like a platform one09:19
[tj]popey: where should they be reported?09:19
popeyhttps://launchpad.net/canonical-devices-system-image09:19
[tj]there is another with the 'headphones' volume slider09:19
popeyi would be surprised if there's not already a bug for that09:19
[tj]https://bugs.launchpad.net/canonical-devices-system-image/+bug/153823109:20
ubot5Launchpad bug 1538231 in Canonical System Image ""Volume (headphones)" incorrectly displayed when in pause" [Medium,Confirmed]09:20
[tj]https://bugs.launchpad.net/canonical-devices-system-image/+bug/130973109:22
ubot5Launchpad bug 1309731 in Canonical System Image "headphone button does not play/pause music." [High,Confirmed]09:22
[tj]https://bugs.launchpad.net/music-app/+bug/123190909:22
ubot5Launchpad bug 1231909 in Ubuntu Music App "Headphone controls aren't interacting with music-app" [Wishlist,Triaged]09:22
[tj]third one is more general09:22
=== marcusto_ is now known as marcustomlinson\
=== marcustomlinson\ is now known as marcustomlinson
pete-woodsjgdx: hey, I put a fix for the rapid property change bug in silo 75, too11:13
pete-woodshopefully it works for you, too :)11:13
jgdxpete-woods, woo11:58
jgdxpete-woods, the rapid fix is in 20160304 that was just uploaded?12:02
pete-woodsjgdx: should be, yes12:04
jgdxokay, testing12:05
jgdxpete-woods, are you able to repro this [1]? Could be debilitating, but kinda edge.12:29
jgdxpete-woods, other than that, everything seems to work great.12:29
pete-woodsjgdx: link missing?12:32
jgdxpete-woods, heh, bug 155125812:33
ubot5bug 1551258 in indicator-network (Ubuntu) "Connectivity APN VPN interfaces refuses blank secrets" [Undecided,New] https://launchpad.net/bugs/155125812:33
jgdxAPN? wut12:33
pete-woodsjgdx: I haven't tried to reproduce it12:34
pete-woodsbut it sounds bad12:34
pete-woodsI really didn't even have enough time to look at that other bug, though12:34
pete-woodshad to do it before work this morning12:34
jgdx:s12:36
* pete-woods is really behind on this snappy work12:36
* pete-woods sucks at Go12:36
jgdxmpt, hey, what constitutes a valid certificate? The spec is rather vague https://wiki.ubuntu.com/Networking#VPNs12:36
jgdxpete-woods, just use channels for everything and you're good12:37
pete-woodswell as far as the API is concerned, a valid certificate is just a path to a file that exists12:37
pete-woodsit just gets punted as a cmd line parameter to the openvpn binary12:38
pete-woodsafaict the openvpn plugin doesn't do anything to interpret the certificates itself12:38
jgdxpete-woods, yeah, i've implemented code to deal with that http://bazaar.launchpad.net/~jonas-drange/ubuntu-settings-components/vpn/view/head:/plugins/Ubuntu/Settings/Vpn/ubuntusettingsvpn.cpp12:39
jgdxjust not sure that e.g. a self signed certificate is an invalid one12:40
pete-woodsI don't think it is12:40
pete-woodsyou might be connecting to your home VPN12:40
jgdx… in our ui, not philosophically/practicly12:40
pete-woodswell I use our UI to connect my phone to my home VPN12:41
pete-woodsand that uses a self signed cert12:41
pete-woodsso it seems a pretty legit use case12:41
jgdxbut if someone handed you a self signed cert…12:41
pete-woodsI would add it to my list of trusted certs without question12:42
pete-woods;)12:42
pete-woodsat any rate, we can change that behaviour if people (like me) complain about their self-signed certs12:43
pete-woodsor maybe we add a "I know what I'm doing" checkbox12:44
jgdxpete-woods, right12:44
peat-psuwitmariogrip: devices.ubports.com seems to have trouble authenticating with Launchpad. It gives me 502 Bad gateway.12:52
=== alan_g is now known as alan_g|lunch
mptjgdx, I know that invalid certificates exist, but I don’t know what makes a certificate invalid, sorry13:04
mptIt’s hard to find technical details about the structure and validity of certificates13:04
jgdxmpt, okay, I can tell you what I interpreted it to be: blacklisted, expired, self-signed, empty13:05
jgdxmpt, I am not sure about the self-signed one13:06
mptjgdx, hmm, that seems very similar to the types of invalidity for TLS certificate13:07
jgdxmpt, good13:07
=== boiko_ is now known as boiko
MirvoSoMoN: since you're probably fast to do it, could you please double check 5.5.1+dfsg-15ubuntu1 from silo 051 still has TLDs intact? I'm 99% sure but Debian eventually started just calling that one script with LC_ALL instead of running the packaging with it13:44
=== _salem is now known as salem_
oSoMoNMirv, sure, let me check13:47
oSoMoNMirv, confirmed, it looks good13:50
MirvoSoMoN: thanks!13:50
=== dandrader is now known as dandrader|afk
oSoMoNsil2100, I’d need a core-dev ack for the packaging changes at https://code.launchpad.net/~osomon/webbrowser-app/qml-module-naming/+merge/288080, do you think you could take a look one of these days (not super urgent)?14:05
MirvoSoMoN: I've PPU for webbrowser-app nowadays so it sohuld be enough (http://people.canonical.com/~ubuntu-archive/packagesets/xenial/ubuntu-qt-packages)14:10
MirvoSoMoN: but the silo will need binNEW review from archive admin due to "new" packages14:10
MirvoSoMoN: but actually, I just spotted on another going through there's no correct Replaces for the -doc package...14:12
Mirvcommented. all of these really should be read through three times since they've so many little details in there..14:14
Mirvof course, an upgrade test to the silo when available, with all packages installed already before upgrading, is also one very useful way to check14:15
=== dandrader|afk is now known as dandrader
mariogrippeat-psuwit: I did a restart, does it work now?14:57
mariogripit seems to be working for me14:57
oSoMoNMirv, ah, thanks for spotting that14:58
peat-psuwitmariogrip: No. It still does not work.14:59
mariogrippeat-psuwit: now?15:06
peat-psuwitmariogrip: Ok, it works now. What happened?15:07
mariogripit failed to request the launchpad api, so I added a try/catch15:08
peat-psuwitmariogrip: Ok. Thank you.15:09
peat-psuwitmariogrip: BTW, is it possible to customize the install instruction? I need some special way to boot into fastboot.15:10
mariogrippeat-psuwit: I haven't added that, but I can add that in next release15:11
peat-psuwitmariogrip: Ok.15:11
peat-psuwitdoes image in devel-proposed channel boot now?15:35
ogra_peat-psuwit, probably in 6 months15:37
peat-psuwitogra_: So it's broken now, right? What happens?15:38
ogra_nothing, its nothing anyone uses15:38
ogra_once the phonne switches to a 16.04 base people will start looking after it15:39
ogra_actual development doesnt happen there anyway .... its just the place where everything gets dumped atm15:39
ogra_development happens in rc-proposed15:39
peat-psuwitogra_: Ok. Thank you.15:40
=== dandrader is now known as dandrader|afk
homahi15:51
homai want change android of fonepad7 fe375cg to ubuntu touch how can i do?15:51
homaare there every body here?15:51
dobey!devices | homa15:51
ubot5homa: You can find the full list of devices, official images, community images, and works in progress at https://wiki.ubuntu.com/Touch/Devices15:51
k1llook out if someone made a port already for that specific phone.15:52
k1lif not you would need to make a port yourself, which is not a beginners task15:52
=== JoseeAntonioR is now known as jose
=== orsonmmz is now known as orsonmmz|away
talmage_Is there a repo that contains Ubuntu Touch as packages that I can install on x86 16.04?  I have a WeTab tablet that's running 16.04.17:05
talmage_I tried the img files for x86 but I couldn't figure out how to boot from them.  I expected them to be disk images.  My WeTab couldn't boot from them, alas.17:06
kenvandinedobey, how's the battery life on your nexus 5?17:06
dobeykenvandine: well, not great17:08
kenvandinedobey, is that because of ubuntu or because your battery is old?17:08
dobeykenvandine: and recently rc-proposed results in maliit-server and unity8-dash constantly restarting; so very short life there17:08
kenvandinedobey, and the only real issue is lack of bluetooth right?17:09
dobeykenvandine: pretty sure because of ubuntu17:09
dobeywell, i can't use an image that has bluez5, because there's no EGL now :(17:09
=== dandrader|afk is now known as dandrader
dobeymy pre3 is old. it still lasts almost 3 days17:09
kenvandinedobey, i have a friend thinking about a nexus 5, i guess i should steer him away from that :)17:10
dobeymy nexus5 is nowhere near that good for battery (at least wiht ubuntu on it)17:10
dobeykenvandine: well, if i could figure out what broke and get things working, it could probably be good17:10
dobeybut alas, i'm not a kernel/egl/whatever developer17:10
dobeytalmage_: the debian packages which make up the ubuntu phone images are all available in the ubuntu archive already17:11
dobeytalmage_: the x86 "generic" image isn't really generic. it's the image for the x86 emulator17:12
dobeyand no, it's not disk images17:12
dobeykenvandine: any idea why EGL would fail to initialize after an update? :)17:12
kenvandinedobey, no clue...17:13
ogra_because something broken indeed17:14
ogra_*broke17:14
dobeythank you captain obvious17:14
* ogra_ grins17:14
dobeywell, the device tarball didn't change17:16
dobeyso i wonder why this isn't an issue on more devices :-/17:16
dobeymariogrip, mhall119: i'm curious, what exactly was the "fix" for this similar issue on fairphone?17:17
mariogripdobey: permission was the issue17:18
dobeymariogrip: what permission?17:18
mariogripdobey: dev folder17:18
mariogriphttp://people.ubuntu.com/~mariogrip/Ubuntu-touch/70-bacon.rules17:18
popey\o/ bacon17:19
popeyhttp://drool.popey.com/17:20
dobeymariogrip: so all the devices had wrong permissions? or the folder itself?17:20
mariogrippopey: have you set your irc client to notify you on bacon?17:20
mariogripdobey: in the fp2 it was because it was missing  the rule file17:21
mariogrippopey: :P17:21
ogra_dobey, the device tarbal for N5 or the device tarball for everything else ?17:22
ogra_(what didnt change)17:22
dobeyogra_: the one that's used for N517:22
ogra_right17:22
ogra_so perhaps you are lagging17:22
ogra_i think there was a new device tarball recently on my MX417:22
popeymariogrip: nope :)17:22
dobeyogra_: oh?17:22
ogra_and Mir went to 0.20.117:23
ogra_around MWC17:23
dobeythis has been broken before that, but i know about the mir release17:23
ogra_well, 0.20.0 around MWC actually17:23
dobeyhmm, it changed on mako in jan17:24
mariogripdobey: I also ordered a second hand  n5, so I can start developing on it17:24
ogra_yay17:25
dobeyhmm, why has the device tarball for mako changed so much; and what changed exactly17:26
ogra_you have to ask one of the hardware guys17:27
=== alan_g|lunch is now known as alan_g|EOW
mhall119morphis: is there anything I can add to my Nexus 4 other than silo0 to try and get wifi display working?17:49
morphismhall119: you wont get it working nexus4 right now17:49
mhall119I'm on the latest rc-proposed/bq-aquaris.en channel with apt updates17:49
morphisthe hardware encoding bits are Android 5.x only right now17:50
mhall119morphis: I was afraid of that answer, I keep trying it every update anywa :(17:50
morphismhall119: I know, and I know a lot people are after that :-)17:50
mhall119time to finally upgrade the android bits on mako17:50
morphismhall119: there will be a refactoring of how the encoder works soon to squeeze more performance out of it17:50
morphismhall119: no, no need for that17:50
morphisthat is a more risky game17:51
mhall119so will the android bits be backported for the N4?17:51
morphismhall119: no17:52
morphismhall119: basically there is a MediaCodec class in stagefright which is the base interface to interact with the OMX based codecs17:53
morphisright now we're using a class MediaCodecSource from 5.x which puts some wrapping around MediaCodec to use it in an easy write/read way17:53
morphisso what we will do anyway to have a better control how buffers are passed around is using MediaCodec directly from aethercast17:54
morphisand that then mostly works the same way on 4.x and 5.x17:54
morphis(with small differences)17:55
morphismhall119: with that it should mostly work then the same way on all devices17:56
mhall119morphis: ah, cool, well I'll keep checking on the state of things so I can jump in and test it once that change happens17:59
morphismhall119: I will ping you when it comes :-)18:00
morphisthis thing needs a lot of testing anyway so all we can get is good18:00
morphismhall119: however its still something we have to find how well miracast performs on the different devices we have18:02
mhall119morphis: anytime, just let me know. I have a spare N4 that I can break, and a miracast-capable TV18:02
morphismhall119: from which vendor?18:03
mhall119two TVs, though one lists miracast as a "beta" feature that doesn't even indicate that a connection is attempted18:03
mhall119TCL is the beta-support TV, the other is a Samsung (not sure the model off the top of my head)18:03
morphisok18:03
mhall119neither are fancy/expensive, but both are "smart"18:03
mhall119also, there's an appliance/electronics store near me with dozens of display units advertising miracast support :)18:05
mhall119I checked with aethercastctl last time I was in there18:05
dobeyi wonder wtf broke on hammerhead :(18:19
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
talmage_dobey: I'm installing the ubuntu-touch package on my x86 WeTab.19:12
talmage_When it generated the initramfs, it said "E: no boot partition found !"19:13
talmage_It said "run-parts: /etc/initramfs/post-update.d//zz-flash-touch-initrd exited with return code 1"19:14
talmage_Is it safe to reboot the WeTab and try out Ubuntu Touch?19:14
ogra_because it isnt designed for that19:14
dobeyhuh?19:16
dobeyubuntu-touch is a metapackage19:16
dobeythere are a couple packages it pulls in though, that might add some stuff that conflicts with normal Ubuntu things19:17
talmage_yes.  I did 'sudo apt-get install ubuntu-touch'19:17
talmage_There was a conflict with a language pack.19:17
talmage_I removed that.19:17
talmage_No other conflicts with installed packages.19:18
dobeyyou need ubuntu-touch-session i think19:18
ogra_dobey, initramfs-tools-ubuntu-touch is not used at all usually ... only on nexus4 for dev purposes19:18
dobeyi don't mean packaging or file conflicts19:18
ogra_all proper devices use the binary initrd19:18
dobeyi mean ideological conflicts in how things work19:18
ogra_but anyway, you cant just install it through debs19:18
dobeybecause a phone isn't a PC and a PC isn't a phone19:18
ogra_on an x86 install you can surely install the mir session though19:19
ogra_but i dont know how19:19
ogra_#ubuntu-mir would know19:19
talmage_dpkg tells me that I have ubuntu-touch-session installed.19:19
talmage_So I can probably reboot my tablet.19:20
talmage_How do I start the touch session?19:20
ogra_you cant19:20
ogra_it isnt designed that way19:20
ogra_you want a desktop install and additionally install the unity8-mir-session on that ... that is designed to be used on PCs19:21
ogra_everything else will just totally mess up19:21
talmage_So I have a tablet with 16.04 desktop installed.19:21
talmage_On top of that, I installed ubuntu-touch.19:22
ogra_right, you cant just install the phone SW on it19:22
ogra_that will probably even break booting19:22
ogra_ubuntu-touch isnt for "normal" use ... it can be used for image builds but you cant "just install" it ... the result will just be broken19:22
talmage_Oh.19:23
ogra_there is a way to get a unity8 desktop session (so you get the touch UI) ... but i dont know whats the package name for that19:23
ogra_ask in #ubuntu-desktop or in #ubuntu-mir19:23
talmage_That will give me the Ubuntu Tablet UI on my x86 tablet?19:24
talmage_ogra_: thanks.  I'll ask in #ubuntu-mir19:27
talmage_You were right that the result was broken.  I just rebooted the tablet.  initramfs failed.  Time to reinstall the desktop.19:28
dobeywhy not just fix it instead of reinstalling?19:30
dobeybut anyway19:30
talmage_Yes, I suppose.  Not sure how to fix it.19:33
dobeyboot the installer and "try out ubuntu", mount the root partition of the installed system to a directory, chroot into that directory, uninstall initramfs-tools-ubuntu-touch or whatever, rebuild the initramfs, and reboot19:36
talmage_I can try that.19:37
ogra_dobey, it will have pulled in upustart in parallel to systemd and a ton of other things ... a reinstall is really the easier way19:39
ogra_(and lxc-android-config ... adb ... etc etc )19:40
talmage_OK. Back to plan 1! :-)19:40
dobeywhatever19:40
talmage_I noticed lxc-whatever being installed.  Wondered why it needed containers.19:41
dobeyto contain things19:41
ogra_heh19:41
ogra_the android based devices all need to use the binary android drivers ... they run inside a container19:41
ogra_annd the ubuntu-touch stuff is all crafted around that19:42
ogra_which is why it breaks if you just try to install it on a normal desktop pc19:42
talmage_Good to know.  Thank you ogra_ and dobey.19:46
=== ejat_ is now known as ejat
ddd_Think I've bricked my Nexus 4 - I got impatient - Has anyone had any success with fastboot flashing back to factory when it looks  like its bricked?20:38
dobeyyes20:40
dobeyor from recovery20:40
dobeywhat do you mean it is "bricked" ?20:40
ddd_IT's booting to a purple screen saying it needs a pc to recover20:46
ddd_I've managed to get it back to Cyanogen Mod to boot20:47
ddd_Will flash touch again and be more patient this time20:47
najahhello all, is Ubuntu supported by some devices like galaxy S3 / nexus or is it possible to flash galaxy A3 with ubuntu ?20:47
ddd_Thanks so much for responding though20:47
ddd_Not sure Sir - I think there is a list of supported devices20:48
ddd_Let me get the URL20:48
najahthis one ? https://wiki.ubuntu.com/Touch/Devices20:48
ddd_https://developer.ubuntu.com/en/start/ubuntu-for-devices/installing-ubuntu-for-devices/20:48
ddd_There is a section for supported devices in there20:48
ddd_Good luck20:49
najahthanks20:51
najahi'm very sad about ubuntu is unsupported for this device20:51
ddd_That's a shame20:53
ddd_Perhaps you can pick up a 2nd hand device?20:53
dobeydo any of those devices have 4.4.2 available?20:53
najahyes, I'm going to sell it and buy a supported devices20:54
dobeygalaxy nexus doesn't; might be why it was dropped20:54
najahthanks ddd_, have a good day20:56
dobeygalaxy a3 could be ported20:56
dobeyjust needs someone to do the work20:56
dobeyat least, assuming there's an aosp tree for it somewhere20:56
ddd_You too20:56
dobeybut the hardware should be usable i guess20:56
najahwhat does 'do the work' means ? is it developing tasks ?20:56
dobeyyes20:57
najahi'm a junior sysadmin with 0 developing skills so... I think I'll brick the device20:58
adfad666ubuntu touch got renamed?21:15
dobeyeh?21:16
dobeythere is no ubuntu touch. there is only ubuntu. :)21:16
=== mathijs is now known as Guest12578
jdstrandbeuno, popey: fyi, I will handle the appear-in review21:42
Android-modsHello all. I am an android developer that is missing ubuntu and starting to have flashbacks of sublime editor and eclipse. I recently heard of ubuntu touch, and suggestions/tips on getting it to work on the note 5? Sm-n920t skyhigh kernel tekxodus n5 hybrid ur 6.322:33
mariogripAndroid-mods: the porting guide is a good place to start :) https://developer.ubuntu.com/en/start/ubuntu-for-devices/porting-new-device/22:43
=== sdk_ is now known as sdk

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