/srv/irclogs.ubuntu.com/2013/11/28/#ubuntu-touch.txt

sergiusensdragonkeeper, http://paste.ubuntu.com/6487169/00:03
TechieElfsergiusens: You were right, fstab didn't help. Here's the last_kmsg from the boot loop. Can you take a look? http://pastebin.com/8ZQLixZv00:04
sergiusens  TechieElf that looks the same as the previous one00:05
sergiusensTechieElf, use abootimg to extract the boot img and hack around init00:05
TechieElfsergiusens: I'm not familiar with abootimg00:06
TechieElfI've installed it now. How exactly do I do this?00:08
dragonkeepersergiusens, i commented out all galaxys3 settings and renamed device/samsung/msm8960-common/DeviceSettings/Android.mk: becaue it was complaining about package name needed  but now i get http://pastebin.com/uKLRG9kQ00:14
sergiusensdragonkeeper, well get rid of the nfc stuff00:15
* sergiusens checks out00:16
dragonkeeperok00:20
rhosigmai have an install question00:21
rhosigma i have phablet-tools installed.. i have a nexus 7 grouper.. trying to install from the bootloader...l possible??00:23
ahoneybunrhosigma, from Android00:24
rhosigmaso i cant install from bootloader?00:25
ahoneybunI did not00:28
ahoneybunjust run the command00:28
ahoneybunhttps://wiki.ubuntu.com/Touch/Install#Step_4_-_Downloading_.26_Deploying_Image_to_Device00:29
TechieElfCan someone help me troubleshoot my boot loop? I have the last_kmsg: http://pastebin.com/8ZQLixZv00:31
rhosigmabetter to use channel devel or channel stable00:37
rhosigma??00:37
dragonkeeperwoo looks like i9505 jfltexx "samsung galaxy s4" port is building :)00:40
rhosigmado you think its better to use channel devel or channel stable00:43
TechieElfrhosigma: stable unless you're a dev00:44
rhosigmaok thanx00:45
TechieElfrhosigma: No problem00:45
dragonkeeperhttp://pastebin.com/KrvSEaBW   how do i resolve this build error?01:00
dragonkeeperhttp://pastebin.com/KrvSEaBW   how do i resolve this build error?01:22
=== kdub is now known as kdub^holiday
=== Namidairo`bnc is now known as Namidairo
=== duflu_ is now known as duflu
dragonkeepergiven up , time to sleep. only a few more compile errors to fix for i950502:08
=== Namidairo is now known as Namidairo`bnc
=== Namidairo`bnc is now known as Namidairo
aliaheyy02:40
=== vying is now known as Guest42268
=== anders3408 is now known as anders3408|away
=== chihchun_afk is now known as chihchun
vendrehello everyone06:21
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
dholbachgood morning07:47
nhainesdholbach: good morning  :)07:54
dholbachhi nhaines07:56
nhainesdholbach: I'm just backing up my Galaxy Nexus before I switch back over to Ubuntu again for a week or two.07:57
dholbachawesome07:57
nhainesDo you suspect 13.10 or trusty is going to be more exciting?07:57
popeynhaines: trusty08:07
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
nhainespopey: heh, the more testers the better, eh?08:14
popeywell indeed!08:14
popeyalso, if you find a bug in saucy, chances are the first thing someone will say is "upgrade to trusty" to be fair08:15
nhainesProbably after I have a chance to test that package that keeps getting bounced back, I'll jump to trusty.08:15
nhainesSpeaking of, if anyone wants to review my pending click package...  I once again think I've nailed down all the issues.08:17
nhainespopey: is there any more development ongoing with Ubuntu 13.10 or is everything devoted to trusty now?08:18
popeynhaines: there was talk of spinning an updated 13.1008:24
popeynhaines: approved your app08:25
nhainespopey: thanks!  I'm slightly annoyed (because reasons) and embarrassed (at myself) that it took four passes.  But hopefully I won't make as much work for you guys next time.08:26
popeyare you testing it yourself locally with the click-reviewers-tools ?08:27
nhainesNot for this webapp, but I'll incorporate that into my workflow when I sit down to build my first real app.08:29
popeyyeah, very wise08:31
nhainesOn the bright side, the phone's booting, so once I push my old backup, disable Mir, and reboot, it'll be screenshot time.08:35
popeyyou can take screenshots with mir08:38
popeyhttps://bazaar.launchpad.net/~popey/+junk/phablet-flash-wrapper/view/head:/mirfbdump that kind of thing08:38
nhainesNot on maguro.08:39
nhainesAlso if this has changed than I will be happy.08:40
popeyoh, ok08:40
popeyno idea08:40
popeyi dont have a maguro, sorry08:40
nhainesI guess I'll find out.  Mir used to thrash and die sometimes on maguro when the framebuffer was dumped.08:41
=== chriadam is now known as chriadam|away
nhainesOkay, time to figure out how to upgrade to trusty.09:02
nhainesI'd like to believe that 'adb shell system-image-cli -v --channel trusty -b 0' will do the trick.09:03
nhainespopey: fyi, I get pure black images when using mirfbdump on maguro on 13.10.09:07
popeynhaines: that command should work09:21
nhainespopey: it doesn't appear to have done so.  :(  Well, guess I'll just figure out how to phablet-flash it.09:23
popeynhaines: phablet-flash ubuntu-system --channel=trusty09:24
nhainespopey: extremely helpful.  Thank you very much.09:24
popeynp09:25
=== jcollado is now known as jcollado_afk
motzhi, on which tablets is it possibile to install ubuntu?10:04
sil2100mardy: ping10:18
pittiogra_, lool: would you mind top-approving https://code.launchpad.net/~elopio/dialer-app/fix1250270-pep8/+merge/194775 ? It's trivial and approved by the phone devs, but I don't want this blocked for 4 days until the US folks stopped eating turkey :)10:18
pittiand elopio has another MP on top of that10:18
nhainespitti: for your information, we also eat stuffing and mashed potatoes!10:19
elopiopitti: I need to update the other one.10:19
pittielopio: I think it'll merge cleanly to trunk once the pep8 one lands10:19
pittinhaines: what, no alcohol?10:19
elopiothat would be nice. I'll keep an eye on it.10:20
nhainespitti: well, obviously we need to have something to wash it down with after.  :)10:20
pittiogra_, lool: it got held up way too long by the e-d-s transition already :)10:21
pittinhaines: *phew* :)10:21
ogra_pitti, done10:21
pittiogra_: danke10:21
loolpitti: I was about to ask whether I need to run test this given it's pep8 fixes10:21
pittilool: well, better that than adding a "[X] trivial fix" which then gets abused :)10:22
pittiand these can introduce hard to see errors as well10:22
pittilike forgetting a trailing comma or whatnot10:23
loolpitti: FYI:10:24
looltests/autopilot/dialer_app/tests/__init__.py:16: 'GreaterThan' imported but unused10:24
looltests/autopilot/dialer_app/tests/__init__.py:22: 'sleep' imported but unused10:24
pittilool: https://code.launchpad.net/~elopio/dialer-app/fix1250275-pyflakes/+merge/194776 :)10:24
pittilool: that's the branch that goes on top of the PEP8 one10:24
lool:-)10:25
pittilool: so once that's merged, I'll ask ogra or you to top-approve that one10:25
pittithat'll re-run the tests which should succeed now10:25
pitti(again, e-d-s uninstallability had made it fail for three weeks or so)10:25
mardysil2100: pong (saw your bug report)11:11
davmor2Morning all11:11
davmor2ogra_: r35 installing11:12
popeydavmor2: do you have mako or maguro?11:13
popeydavmor2: also, do you have a list of tests you're doing manuall11:13
popey+y11:13
davmor2popey: I only have maguro11:14
popey(morning btw)11:14
=== MacSlow is now known as MacSlow|lunch
TechieElfMorning all11:28
davmor2popey: oh although I have a grouper too thinking about it :)11:32
TechieElfCan someone help me troubleshoot my bootloop? Here's the last_kmsg: http://pastebin.com/8ZQLixZv11:34
=== chihchun is now known as chihchun_afk
=== _salem is now known as salem_
sil2100mardy: any idea what's up with that problem of mine?11:41
TechieElfI need help with a boot loop. Here's the bootimg.cfg: http://pastebin.com/iSnntn0n it looks wrong. Can someone help me?11:45
loolpitti: I checked https://code.launchpad.net/~elopio/dialer-app/fix1250275-pyflakes/+merge/194776 and approved it but didn't top approve it yet11:53
loolpitti: surprized by the From -> from fix, did this fail the tests before the change then?11:53
pittilool: yeah, the pep8 fix is a bit slow to land; although I think the CI machinery should be clever enough to see that the pyflakes branch goes on top of the pep8 one11:53
pittilool: no, I was quite surprised that this worked11:54
pittiI thought "From" wasn't valid python11:54
loolweird11:54
loolyeah11:54
loolmaybe it's super old Python and cheap to keep supporting11:54
pittilool: it was already reviewer-approved, only needs top-approval now11:54
pittithis will also re-trigger the tests11:54
loolpitti: Yeah, I just wanted to do a preliminary review for myself, to top approve immediately once ready11:58
mardysil2100: not yet, I'll check it a bit later12:08
=== chihchun_afk is now known as chihchun
TechieElfGood morning everyone.12:43
=== MacSlow|lunch is now known as MacSlow
RhondaHey there.12:47
ogra_hey !12:47
=== jalcine- is now known as jalcine
RhondaI still have my nexus 4 and I guess I'm at the point where I want to give touch a try. :)12:47
RhondaI started to follow the wiki, up to the point of "adb backup -apk -shared -all"12:47
RhondaThe resulting backup.ab file is 2 gig in size, which somehow gives me the impression, that adb has troubles with LFS?12:48
sergiusensit was mentioned by someone that adb may have a size limit it can pull12:48
RhondaThat's highly disappointing for me, because I want to make sure that I don't lose any data.  What are your suggestions here?12:49
Rhondacontacts and calendar are synced to my own davical instance, and I checked the postgres database, so that's not the issue.12:49
=== dandrader is now known as dandrader|afk
RhondaAnd my photos are synced to dropbox anyway.  But I still have this gut feeling that something bad might happen.12:50
RhondaShould the "sudo fastboot oem unlock" influence the current installation somehow?12:50
=== gustavold1 is now known as gustavold
ogra_i think it wipes all userdata12:51
ogra_i.e. a factory reset12:51
Hourdit does yes12:51
Hourdbut you can then restore from your backup file and it should be the same as before you unlocked it12:52
RhondaWell, given that the backup file is only 2g, I highly doubt that. :)12:52
popeyI have seen issues with files over 2GB too12:54
popeyso i wouldn't trust that backup12:54
popeyand would expect to lose everything on the phone12:54
popeyThose are my expectations anyway ☻12:55
sergiusensI would use something that doesn't rely on adb12:55
sergiusenssome network push of the backup12:55
ogra_mtp should work too, no ?12:55
sergiusensnot everything is exposed over mtp12:56
ogra_indeed you would have to tar it up via adb in an accessible folder or so12:56
sergiusensogra_, that would work12:56
=== chihchun is now known as chihchun_afk
sergiusensif you have clockworkmod recovery already, try http://wiki.cyanogenmod.org/w/ClockWorkMod_Instructions#Making_a_backup12:59
=== dandrader|afk is now known as dandrader
pittilool: mind top-approving https://code.launchpad.net/~elopio/dialer-app/fix1250275-pyflakes/+merge/194776 now? the pep8 one just got merged13:05
loolpitti: yup, done13:09
pittilool: merci13:09
=== alan_g is now known as alan_g|lunch
lops'morning13:21
t1mpam I typing something wrong here?13:32
t1mptim@ideapad:~$ phablet-flash ubuntu-system --channel trusty-devel13:32
t1mpINFO:phablet-flash:Device detected as manta13:32
t1mpINFO:urllib3.connectionpool:Starting new HTTPS connection (1): system-image.ubuntu.com13:32
t1mpERROR:phablet-flash:https://system-image.ubuntu.com/trusty-devel/manta/index.json cannot be retrieved13:32
ogra_what is trusty-devel ?13:34
ogra_:)13:34
ogra_(you want trusty-proposed or devel-proposed (they are the same))13:35
=== Namidairo is now known as Namidairo`bnc
=== ondra is now known as ondra|lunch
pittiogra_: oh, trusty and devel are the same now, finally?13:43
ogra_yep13:43
ogra_saucy is stable13:43
ogra_lool, oh, btw, there is a saucy-proposed image containing your SRU now13:44
loologra_: cool13:44
loologra_: I dont have to retest it though, I guess it's just generic image testing at this point?13:44
loolcause I reupgraded to trusty already13:44
ogra_yeah, i guess so13:44
pittiogra_: great, that was rather confusing a few weeks ago13:45
=== Namidairo`bnc is now known as Namidairo
ogra_yeah ... took a bit until we got there ... i hipe we can be faster next release13:45
ogra_*hope13:45
=== Ursinha-afk is now known as Ursinha
* ogra_ grumbles about blueprints .... how do i add a WI thats owned by more than one person :/13:54
Saviqogra_, help, we're getting mind-twisted here...13:55
ogra_haha13:55
Saviqogra_, we're executing some commands over ssh13:55
Saviqogra_, to build/run unity8 on the device13:55
=== psivaa is now known as psivaa-lunch
Saviqogra_, so, starting with "ssh phablet@mako"13:56
Saviqogra_, that doesn't get us the env from upstart13:56
Saviqogra_, case in point13:58
mardyjdstrand: hi! Do you have an ETA for https://bugs.launchpad.net/ubuntu/+source/apparmor-easyprof-ubuntu/+bug/1245903 ?13:58
ubot5Ubuntu bug 1245903 in apparmor-easyprof-ubuntu (Ubuntu) "Online Accounts applications need a couple of more D-Bus interfaces" [Undecided,In progress]13:58
Saviqssh phablet@mako 'echo ${QML2_IMPORT_PATH}'13:58
Saviqvs.13:58
ogra_did you check your quoting ?13:58
Saviqssh phablet@mako 'bash -ic 'echo ${QML2_IMPORT_PATH}''13:58
mzanettiogra_: the whole day long :D13:58
Saviqogra_, yeah, many times ;)13:58
Saviqogra_, the first one prints, the second one doesn't13:58
mzanettiactually, the quoted example does work... its the one where quotes shouldn't be needed that doesn't13:59
ogra_Saviq, why would you use the second one with ssh ?13:59
Saviqogra_, to get the upstart env? like dbus?13:59
Saviqogra_, our complete thing is:14:00
ogra_that should be achieved by the first one already ... starting bash only fires up an additional subshell ...14:00
pittiMirv, sil2100: it seems you've done some work on  QtSensors/qtubuntu-sensors?14:00
Saviqogra_, look at the difference between 'ssh phablet@mako env' and 'ssh phablet@mako sudo -u phablet -i env'14:01
ogra_(which would be good when using adb but should not be necessary with ssh, where pam is processed at login already)14:01
TechieElfCan someone please help me troubleshoot this annoying boot loop? I have the last_kmsg14:01
Saviqogra_, the one without sudo doesn't include UPSTART session etc.14:01
Saviqogra_, I think the problem is that bash is called without -i14:01
ogra_hmm14:01
Saviqogra_, when... it's not -i14:01
sil2100pitti: hi! In my case it was mostly packaging-related though - what's up?14:01
Saviqogra_, and that's when it doesn't include the env14:01
ogra_let me set up an ssh env here ...14:01
Saviqogra_, so our whole thing is:14:02
pittisil2100: I'm tasked with investigating how to create integration tests for sensors14:02
pittisil2100: so I've looked at libhybris, qtsensors-opensource-src, and qtubuntu-sensors14:02
Saviqssh phablet@mako sudo -u phablet -i bash -ic \"$@\"14:03
pittisil2100: libhybris is rather clear, but the latter two are mostly just C++ skeleton; I have some trouble finding the actual meat14:03
Saviqogra_, I know that's tragic, but that's the only thing that worked for us14:03
pittisil2100: the only meat I've found is in src/plugins/sensors/ in qtsensors-opensource-src14:03
Saviqogra_, and now we noticed that as soon as we ./ another script from that - the env is lost again14:03
pittisil2100: so, qtubuntu-sensors claims it provides a libhybris backend, but I don't see anything there which uses libhybris or talks to Androis14:04
pittid14:04
pittisil2100: so I guess I'm missing something; what connects the dots between QtSensors and libhybris?14:04
pittisil2100: or are we using qtsensors-opensource-src's android backend?14:04
sil2100pitti: hm, sadly I don't know the code as well even, Mirv might know something, I would most probably poke kalikiana_ about this14:05
sil2100kalikiana_: ^14:05
pittisil2100: ah, thanks14:05
pittikalikiana_: hey Christian, how are you?14:06
sil2100kalikiana_: could you backtrack a bit up and try clearing up the situation?14:06
pittikalikiana_: so iahmad gave be some briefing this morning, but apparently he was missing something14:06
kalikiana_pitti: hey14:07
kalikiana_you want to know something about sensors?14:07
pittikalikiana_: yes; jfunk asked me to team up with some sensors dev to discuss how to create some initial integration tests14:07
pittikalikiana_: so as a first step I'm trying to understand the architecture of the various layers14:08
kalikiana_our backends come from https://code.launchpad.net/qtubuntu-sensors/ when you speak of "existing open source backends" it's worth noting these are largely not open and hardware specific14:08
kalikiana_so for instance the vibration backends for QtFeedback can't be re-used14:08
pittikalikiana_: so, I read the sensor bits from libhybris; I guesss that's the low-level API that we use?14:08
kalikiana_the stuff ie MeeGo uses is not open14:08
Mirvpitti: yep regarding usage kalikiana is knowledgeable14:09
kalikiana_pitti: it depends on what you mean by 'sensor' there's a cuple Qt APis that require backends14:09
pittikalikiana_: so, QtSensors is mostly C++ typing/signalling/adapter classes around possible backends like android, simulator, or the qtubuntu-sensors backend, right?14:09
ogra_Saviq, did that change recently ?14:10
Saviqogra_, I don't think it did14:10
pittikalikiana_: well, qtubuntu-sensors' description says "libhybris" backend, but there's nothing hybris-y in that14:10
Saviqogra_, we had this sudo/bash thing that work around it14:10
ogra_(there was more cgroup stuff added in trusty afaik)14:10
Saviqogra_, but we started using a script in one of the calls14:11
pittikalikiana_: so my questions are (1) are we actually talking to libhybris on the phone as the low-level API or do we use somethign else, and (2) what connects the qtubuntu-sensors to libhybris14:11
kalikiana_pitti: yes basically it's interfaces that map to C++ and QML API, and they do whatever the installed backends do or don't14:11
Saviqogra_, and that script does not inherit the env14:11
Saviqogra_, it wasn't critical for us so no one complained much14:11
ogra_right, you would have to wrap it into another subshell call14:11
Saviqogra_, meaning bash -ic? tried that - it actually didn't work..14:12
ogra_no, a fully wrapped sudo i fear14:12
kalikiana_pitti: hybris is used for camera. it's not "the" api because there's different things there14:12
Saviqogra_, whoah14:12
Saviqogra_, that would get us back to $HOME?14:13
pittikalikiana_: ah, so we are not using libhybris for the sensors; how do we get them from Android then?14:13
kalikiana_pitti: for instance QtFeedback is based on writing to /sys/something and will soon use usensord which is a service14:13
ogra_Saviq, it should., yeah14:13
Saviqogra_, we need to be in $HOME/shell for that...14:13
Saviqogra_, or well, fix the script, FWIW14:13
ogra_got a pastebin with the script or some such ?14:13
Saviqogra_, just 'echo $QML2_IMPORT_PATH'14:14
kalikiana_pitti: it would help to be more specific than "them"… there's lots of different plugins :-)14:14
Saviqogra_, well, the script is http://bazaar.launchpad.net/~unity-team/unity8/trunk/view/head:/run14:14
Saviqogra_, ran on device by http://bazaar.launchpad.net/~unity-team/unity8/trunk/view/head:/run_on_device14:14
Saviqogra_, run_on_device:109 calls ./run via ssh14:15
pittikalikiana_: sure; so, to put it this way: starting from "I turn my mobile phone", how does the information flow from the hw sensor/android drivers all the way up to an app?14:15
pittikalikiana_: where hw sensor == orientation sensor, in this case14:15
sil2100mardy: any luck with the bug? Am I doing something wrong when running the tests?14:16
pittikalikiana_: (it looks like we implement orientation and accel ATM? )14:16
mardysil2100: sorry, I'm still investigating another bug14:16
mardysil2100: just out of curiosity, what happens if you run "online-accounts-ui --desktop_file_hint=/usr/share/applications/online-accounts-ui.desktop" from the terminal?14:17
kalikiana_pitti: accelerometer and location come from libplatform-api-headers14:17
kalikiana_those are used to implement the qt backends14:17
sil2100mardy: let me try, one moment14:17
TechieElfi seriously would appreciate some assistance with my boot loop problem.. can someone help? I have the last_kmsg..14:19
pittikalikiana_: ah, so platform-api provides the actual sensor reading, and qtubuntu-sensors is just glue code?14:19
ogra_mzanetti, Saviq, how about using #!/bin/bash in http://bazaar.launchpad.net/~unity-team/unity8/trunk/view/head:/run  :)14:20
mzanettitried that14:20
kalikiana_pitti: yes14:20
Saviqogra_, not enough14:20
mzanettiogra_: Saviq: no difference14:20
ogra_hmmm14:20
Saviqogra_, again, does not do --interactive14:20
ogra_tried adding -i to the shebang ?14:20
Saviqogra_, AFAICT, bash only loads the upstart env when ran with --interactive14:20
sil2100mardy: ok, strange things happen14:20
Saviqogra_, did, no go14:20
Saviqogra_, at that point the env is borked somehow already14:21
mardysil2100: such as? :-)14:21
* Saviq tries again14:21
ogra_Saviq, mzanetti thne source /pet/profile at the top of your script14:21
ogra_/etc/profile14:21
ogra_heh, funny typo14:21
sil2100mardy: when I run it from ssh, the online-accounts-ui starts up in the background (I see it appearing in the list of active applications), but it doesn't come up - and after pressing on the app in the list, a black screen appears and then unity8 dies14:21
sil2100mardy: dies and gets restarted in a clean state14:22
Saviqogra_, sure, that would help us, but hardly feels like the right solution...14:22
mardygreyback: ^ that might be the same crash that you were investigating, or maybe not :-)14:22
ogra_well, i dont see a better one14:22
pittikalikiana_: ah, so I found the functions that qtubuntu-sensors uses in src/ubuntu/hybris/ubuntu_application_sensors_hybris.cpp -- these are magic macros to implement these in terms of libhybris?14:23
greybacksil2100: mardy: yes I suspect the same. I'm working on it, it's annoying :)14:23
Saviqogra_, is it expected / by design that this happens?14:23
ogra_Saviq, i guess thats the shell handling of ssh if you dont actually log in14:23
ogra_else you wouldnt need all that sudo nonsense14:24
mardygreyback: in the above case, we have a process (online-accounts-ui) which opens a connection to QtUbuntu but doesn't create a window until some clients connect to it14:24
sil2100greyback, mardy: do you guys think the AP failures are also because of that? Since I ran other app AP tests fine with this image14:24
Saviqogra_, :'(14:24
mardysil2100: I'll investigate tomorrow (I hope); they might be related, yes14:24
greybackmardy: which should be fine.14:24
mardygreyback: still, a window appears in unity14:24
pittikalikiana_: ah no, this also just seems to be more glue which calls a function like uas_accelerometer_event_get_acceleration_x from a dynamically loaded shlib /system/lib/libubuntu_platform_hardware_api.so14:25
mardygreyback: while the process didn't create any14:25
ogra_Saviq, the /bin/sh definitely wont process /etc/profile ... not sure how else we could set the vars we need ...14:25
greybackmardy: yes that's a bug/me being lazy14:25
Saviqogra_, well, shouldn't they be inherited from the "wrapping" environment?14:25
mzanettiogra_: but isn't it weird that it drops the env? I mean, when calling the script it's there14:25
kalikiana_pitti: I don't know the exact implementation at that level, I'm more on the consuming side. tvoss_ might be better to ask there14:26
pittikalikiana_: ok, thanks14:26
greybackmardy: can you report a separate bug for that and assign to me please? Fix should be reasonably easy for me14:26
Saviqogra_, i.e. 'echo $FOO' works, but when you put that in a script and execute it with './foo', it's gone?14:26
tvoss_pitti, hey, how can I help?14:26
pittikalikiana_: iahmad showed me https://docs.google.com/a/canonical.com/drawings/d/1sXQ3Xl8A0mvMi5Q0y7E5ipKfJbRfA6AokWdwm2gw0Bg this morning, but after our discussion and my initial code reading this looks rather wrong/incomplete14:26
mardygreyback: OK14:26
pittitvoss_: hey, how are you?14:26
pittitvoss_: I'm trying to understand the sensors API architecture14:27
tvoss_pitti, pretty good, thank you :) enjoying the US having public  holidays a.k.a. the silence :)14:27
greybackmardy:  online-accounts-ui will have to show up as separate app, until we've the window child/parent relationship stuff going14:27
mardygreyback: unity-mir or unity8?14:27
mardygreyback: yes, that's fine14:27
pittitvoss_: so far I found lots and lots of glue code in qtsensors-opensource-src, qtubuntu-sensors, the platform API, but I still don't know how a hw sensor event actually flows to an application14:27
greybackmardy: mark as affecting both. It's unity-mir primarily though14:27
pittitvoss_: do we happen to have an architecture description/diagram somewhere, or who would be a good person to explain it to me?14:28
tvoss_pitti, yup, let me find one14:28
pittitvoss_: (background: I got tasked to discuss the creation of sensor integration tests with $appropriate_developer)14:28
pittiand of course provide some initial tests14:28
Saviqogra_, sourcing /etc/profile, ~/.bashrc, nothing works :/14:28
ogra_thats cant be14:29
ogra_adding ". /etc/profile" should definitely process the profile and profile.d14:29
tvoss_pitti, yup, let me see14:29
mzanettiogra_: Saviq: the one we need is in /etc/environement14:29
mzanettinot sure how that gets sourced normally14:29
Saviqmzanetti, right, that's an important point14:29
ogra_ugh, that needs to be moved out there14:30
tvoss_pitti, so I have got https://docs.google.com/a/canonical.com/document/d/1Auu7Vjk8THFOjCnbWiTw0y7TqI2Njpd8UHY73_nqjOw/edit#heading=h.3wm9daqnlz9x14:30
Saviqmzanetti, ogra_ right, so sourcing that helps...14:30
ogra_great14:30
ogra_well, do you know how it gets in there ?14:31
* mzanetti doesn't14:31
Saviqogra_, me neither14:31
ogra_it should move to become a profile.d snippet installed by a package14:31
Saviqogra_, qtubuntu then14:31
ogra_so we can safely upgrade it if it changes14:31
Saviqricmm, do you know where the /etc/environment QML2_IMPORT_PATH comes from?14:31
tvoss_pitti, which is how we planned it out. Today, sensor events are aggregated and fusioned together by the android sensor service (running in the container), and individual clients start sessions with the service14:31
ogra_Saviq, i suspect from the build scripts actually14:32
Saviqogra_, yeah, something like that14:32
ogra_Saviq, the question is what the impact of moving it is ...14:32
pittitvoss_: ah; what is at the boundary between the Android container and our Ubuntu platform API? do we use libhybris for that, or reading binder, or whatever else to communicate with the android sensor service?14:33
Saviqogra_, it's only there for unity8's consumption14:33
ogra_preferably we should have an /etc/environment that doesnt differ from a desktop install14:33
mzanettiSaviq: you sure about that?14:33
Saviqogra_, so we can definitely improve that14:33
mzanettiSaviq: I could think of things inside Qt relying on it too14:33
Saviqmzanetti, nothing else should be using the Applications module14:33
Saviqmzanetti, it's not about the QPA14:33
ogra_and have such bits live in profile.d sippets14:33
Saviqmzanetti, it's the qml import path14:33
Saviqmzanetti, standup, btw14:33
tvoss_pitti, today, the actual events are passed over to the client via binder, handed over the libc boundary via hybris14:33
tvoss_pitti, then dispatched via platform api to higher-level runtimes (like qt)14:34
pittitvoss_: so libhybris connects to binder (in the client process) and translates that to the hybris/include/android/hardware/sensors.h API?14:35
=== dholbach_ is now known as dholbach
tvoss_pitti, hang on14:35
pittitvoss_: right, I think I understand what's going on between platform-api, qtubuntu-sensors, qtsensors-opensource-src, and the app now14:35
tvoss_pitti, cool14:36
pittitvoss_: I'm still missing the connection between platform-api and the android sensor service14:36
pittitvoss_: e. g. src/ubuntu/hybris/ubuntu_application_sensors_hybris.cpp defines the functions14:36
pitti  for qtubuntu-sensors (like uas_accelerometer_event_get_acceleration_x)14:36
pittitvoss_: but they aren't actually implemented there, but just called from a dynloaded /system/lib/libubuntu_platform_hardware_api.so14:36
tvoss_pitti, yup, the dynloaded so lives in the container14:37
tvoss_so on the android side14:37
tvoss_pitti, http://bazaar.launchpad.net/~phablet-team/platform-api/trunk/view/head:/android/hybris/ubuntu_application_sensors_for_hybris.cpp shows you the implementation14:37
pittitvoss_: what package builds that?14:37
tvoss_pitti, we used to build it as part of the android source tree. ogra_ can you give some more detail here?14:38
pittitvoss_: ah, got the file (it's actually in platform-api)14:38
tvoss_pitti, yup, in the android parts of it14:38
tvoss_pitti, iirc, that file does the translation of events14:39
pittiso libubuntu-platform-hardware-api1 ships /usr/lib/x86_64-linux-gnu/libubuntu_platform_hardware_api.so.114:39
=== alan_g|lunch is now known as alan_g
pittiso I guess we symlink/copy that into /system/ during image build time?14:39
pittitvoss_, ogra_ ^14:39
pittitvoss_: indeed, that file looks promising; the last link in the chain between HAL/hybris and the app :)14:40
ogra_i think thats a qeustion for ricmm or rsalveti14:40
ogra_the bits of the android tree are indeed built at package build time of the android package14:41
tvoss_pitti, yup14:41
ogra_and iirc the ubuntu bits are pulled in during build14:41
=== psivaa-lunch is now known as psivaa
pittiogra_, tvoss_: ok; I don't need to know how that happens in detail, just that platform-api's android/hybris/ubuntu_application_sensors_for_hybris.cpp is essentially what runs in Android and directly talks to Android's sensor service14:42
ogra_(either from bzr or with lp-pull )14:42
tvoss_pitti, yup14:43
pittitvoss_: so I think iahmad, you, and I should have a meeting in the next days to discuss how/where we can provide some mock sensors and how to get some initial integration tests14:43
pittitvoss_: do you think anyone else should participate in that, kalikiana_ or some other developer who works on that regularly?14:44
tvoss_pitti, +1 for kalikiana_, but that should be it14:44
pittitvoss_: ack14:44
pittitvoss_: so conveniently kalikiana_, you, and I are all in the same TZ; could we meet tomorrow or Monday morning, so that iahmad and perhaps jibel can join?14:46
=== dandrader is now known as dandrader|lunch
tvoss_pitti, sure, tomorrow woul dbe best for me. I'm in London Monday to Wednesday next week14:47
pittikalikiana_: does that work for you, too? some time around 9 or 10?14:47
jibelpitti, tomorrow morning works for me.14:47
ricmmI'd say invite me, considering I wrote a lot of the latest one14:48
ricmmbut tomorrow I'm flying14:48
pittiricmm: hm, so no overlap between you and tvoss_ then; could we have it tomorrow, and I talk to you next week and confirm the plan with you?14:49
dragonkeeperanyone know how to fix this http://pastebin.com/ziG7Y2dR  , trying to compile port and it keeps throwing out errors14:50
ricmmsure14:51
pittitvoss_, ricmm: I'd appreciate a quick review of my notes about the architecture: is that more or less correct? http://pad.ubuntu.com/sensors-testing15:00
kalikiana_pitti: preferrably 11 so I'm mentally more focussed, though I can make it earlier if that's better for you15:00
pittikalikiana_: 11 WFM, if it's fine for tvoss_15:01
rsalvetimorning15:05
pittikalikiana_, tvoss_: sent you an invite15:08
rsalvetipitti: the android image consumes both libhybris and platform-api during build-time15:10
rsalvetipitti: to provide /system/lib/libubuntu_platform_hardware_api.so, for example15:10
kalikiana_pitti: ok, got it15:10
rsalvetibut that's not part of any debian package, but provided by the same source package, which is consumed when we build the android image15:10
pittirsalveti: ah, so somehow libubuntu_platform_hardware_api.so gets copied out of the libubuntu-platform-hardware-api1 package (i. e. from /usr/lib) to /system/15:11
rsalvetiso that's why we need to maintain both the android and the ubuntu images in sync15:11
rsalvetipitti: not even copied, it downloads the source package and feeds that into the android build system15:11
rsalvetiif you check the source package, you'll fined a few Android.mk files15:12
rsalvetithey are the ones consumed by the android build-system15:12
pittirsalveti: ah, thanks (the details are not that relevant for creating integration testing, but good to know anyway)15:12
pittiI mostly wanted to make sure that I'm looking at the right files15:12
rsalvetipitti: yeah, just so you don't have possible issues in the future in case you want to change something in the platform-api package, for example15:13
pittias e. g. the qtsensors-opensource-src package has its own android backend; so we are not using that15:13
pittirsalveti: we still build platform-api also on the buildds, right? so if we want to put some new integration tests into "make test", they could run there, and also have access to e. g. umockdev or some other ubuntu bits?15:14
didrocksoSoMoN: hey, around? there is a yummi keyboard issue :)15:14
oSoMoNdidrocks, yeah, I’m not busy eating/digesting turkey15:15
rsalvetipitti: yes, as long you abstract the android side of it, you should be fine15:15
oSoMoNdidrocks, what’s the issue?15:15
didrocksoSoMoN: bug #125599915:15
pittirsalveti: I added some initial possible points of injection/mocking to http://pad.ubuntu.com/sensors-testing15:15
ubot5bug 1255999 in ubuntu-keyboard (Ubuntu) "[regression] if switched to non english local, the keyboard does not come up when an input field is focused" [High,Confirmed] https://launchpad.net/bugs/125599915:15
didrockseat that one then ;)15:15
didrocksoSoMoN: I think you will agree on the sane language part ;)15:15
pittirsalveti: to be discussed tomorrow with tvoss_ and kalikiana_ for which of those are feasible/practical/useful, and perhaps add some more15:16
oSoMoNhehe, love the "sane language" thing :)15:16
rsalvetilet me check15:16
didrocks;)15:16
oSoMoNtmoenicke, hey, are you aware of bug #125599915:17
ubot5bug 1255999 in ubuntu-keyboard (Ubuntu) "[regression] if switched to non english local, the keyboard does not come up when an input field is focused" [High,Confirmed] https://launchpad.net/bugs/125599915:17
tmoenickeoSoMoN: nope, thanks15:18
Ursinhaogra_, about bug 1255999, do you have it consistently or only every now and then?15:20
ubot5bug 1255999 in ubuntu-keyboard (Ubuntu) "[regression] if switched to non english local, the keyboard does not come up when an input field is focused" [High,Confirmed] https://launchpad.net/bugs/125599915:20
ogra_Ursinha, no kbd at all since upgrading to r3215:21
didrocksUrsinha: consistenly if we don't use english15:21
Ursinhaogra_, didrocks, right, because I have an intermittent issue that the keyboard doesn't come up when focusing on a textarea, mostly on browser15:21
UrsinhaI have to close it and open again when it happens, but it seems to be another issue15:22
didrocksUrsinha: yeah, I was thinking first that it's that one that ogra_ was discussing about15:22
didrocksUrsinha: I even have it in the saucy touch15:22
Ursinhadidrocks, do you know if there's a bug for that? I saw that happen since r1015:22
Ursinhaah, so it's old15:22
didrocksUrsinha: yeah, I don't know if there is a bug, it was always there, I hoped that keyboard crash fixes would fix it, but not…15:23
Ursinhadidrocks, I can file one15:23
rsalvetiricmm: tvoss_: the sensors api is still provided by /system/lib/libubuntu_application_api.so, right?15:23
tvoss_rsalveti, yup15:23
didrocksUrsinha: yeah, would be good if we can get a start of knowing how to get it15:24
rsalvetijust because I saw a libubuntu_hardware... in a header file15:24
rsalvetiwhich we don't have15:24
Ursinhadidrocks, okay, I'll see if I can find a bug and file one if I don't..15:25
didrocksthanks!15:25
t1mphmm15:29
t1mpmy galaxy nexus stays off (or it looks like that. screen is black, and I cannot connect to it via usb cable)15:29
t1mpI think the battery was empty, but since then I had it connected to power for a few hours.. still nothing15:29
t1mpI removed the battery and put it back, still nothing. I cannot switch it on with the power button.15:29
t1mpany ideas what I can try?15:30
ogra_t1mp, bug 1255045 probably15:31
ubot5bug 1255045 in unity-mir (Ubuntu) "screen does not turn on on maguro when pressing the power button" [High,Confirmed] https://launchpad.net/bugs/125504515:31
=== Namidairo is now known as Namidairo`bnc
didrocksdepends if t1mp can't even see the google logo at boot15:32
rsalvetitvoss_: pitti: so it's basically qtsensors <-> qtubuntu-sensors <-> libubuntu-application-api1 <- using hybris -> /system/lib/libubuntu_application_api.so <- binder -> android sensor service15:33
pittirsalveti: ack, thanks; that coincides with my understanding now15:33
pittirsalveti: and everything up to and including libubuntu_application_api.so is in-process; it's binder which makes the "jump" between the app and the sensor service, right?15:34
t1mpogra_, didrocks I think it had image 32 on it. and touching the screen doesn't help. I don't even see the google boot logo.15:34
rsalvetithat's why it's hard to mock binder because what uses binder is android itself15:34
rsalvetipitti: yes15:34
rsalvetiactually, you're right15:34
rsalvetiit's all in-process15:34
pittirsalveti: why? it's not a very hard protocol15:35
ogra_t1mp, oh, sorry, yeah, thats definitey not it then15:35
t1mpogra_, didrocks it seems dead. I'll keep it connected to power for a few more hours and then try again.15:35
pittirsalveti: I added it to the pad as it's the lowest possible point in the stack which we can still control, without going into Android itself15:35
rsalvetipitti: sorry, would be a bit harder if not all not part of the same process15:35
ogra_t1mp, if you have, try another USB cable too15:35
pittirsalveti: and it's generally easier to mock stuff between processes than in-process15:35
rsalvetiright, you'd just need a mock /system/lib/libubuntu_application_api.so15:36
pittirsalveti: but yeah, we'll discuss the pros and cons in tomorrow's meeting15:36
rsalveticool15:36
pittirsalveti: right, that's another option; skip binder and hybris completely and instead provide pre-defined dummy results from the platform API functions15:36
t1mpogra_: yeah. I'll try a different charger also to be sure15:36
pittirsalveti: conveniently this gets dlopened, so we can tap into that, too15:36
pittirsalveti: (slightly tricky as it's a hardcoded absolute path, but we could provide some mechanism for that in platform-api)15:37
tvoss_rsalveti, yup, as noted down in the pad iiuc15:37
rsalvetiyeah15:37
pittirsalveti: like a $UBUNTU_PLATFORM_API_PATH or whatever15:37
* pitti adds that to the list of option15:38
rsalvetiI just fixed the pad as it was saying /usr/lib/x86_64-linux-gnu/libubuntu_platform_hardware_api.so.1 was copied over to /system15:38
pittis15:38
Saviqogra_, q: does truncating the ssh.override file for you result in ssh starting automagically on boot?15:39
ogra_no15:39
ogra_it is a link15:39
ogra_you cant remove or truncate it, system-image will set it up again15:39
pittirsalveti: thanks15:39
Saviqogra_, well, it remains empty on boot15:40
ogra_right15:40
Saviqogra_, and that's one of the reasons why it's bind-mounted15:40
ogra_which wont make ssh start15:40
Saviqogra_, so that you can clear it and that should make ssh start15:41
ogra_that was my initial plan, yes15:41
Saviqogra_, right :)15:41
ogra_but that doesnt work, since upstart uses inotify iirc ...15:42
ogra_which doesnt work with bind mounts15:42
ogra_my plan for this release is to have a property and update the override job to start conditionally based on that property15:43
seb128sil2100, pete-woods: libunityvoice1-dev should Depends on qtbase5-dev since its .pc has Requires Qt5Core15:43
ogra_but thats still a bit away15:43
ogra_as i need the time for this15:43
seb128sil2100, pete-woods: -DENABLE_TESTS=NO ... why not?15:48
ricmmpitti: rsalveti what pad is this you guys talk about?15:51
ricmmand why is this a topic separate from general platform API testing15:51
pittiricmm: http://pad.ubuntu.com/sensors-testing15:51
pittiricmm: it's not really separate, it's just one part that I got told we'd be starting with15:52
pittiricmm: that pad just contains my notes from today, it's not anythign official15:52
rsalvetiricmm: guess more about understanding the stack to see how it should be tested15:52
pittiricmm: as a basis for tomorrow's meeting, and understanding the stack well enough to see how/where we can inject test data15:52
shashihii15:55
ricmmpitti: AFAIK the sensors service was meant to transition to ubuntu, that will mean a different IPC interface and API15:55
shashii want to port this on my galaxy tablet15:55
shashigalaxy note 815:55
shashin510015:55
shashiis it possible ?15:55
shashiplz help15:56
pittiricmm: ah, so it'll soon stop using binder and libhybris?15:56
pittiricmm: that's important information indeed; if that's planned, there's little sense in investing mocking at the binder level15:57
ricmmrsalveti: isnt this the plan?15:57
ricmmgiven, we dont really have any assigned to it... but the plan was for sensors (the main binder offender) to go to ubuntu15:57
ricmmanyone*15:57
pittiricmm: so the long-term plan is to do it all from drivers in the ubuntu/linux kernel through sysfs?15:58
ricmmthe long term goal is to write an ubuntu-side sensorservice15:58
ricmmprobably in Go, with a DBus interface15:59
ricmmwhich we can easily mediate access to with jamie et al15:59
tvoss_pitti, ricmm I think the ubuntu-side service still has to use the android HAL, though15:59
ricmmcertainly15:59
ricmmbut we are not talking about the hal at all, pitti is talking about injection at the process boundary15:59
rsalvetiricmm: well, I believe our first step would be just to migrate the same service, iirc16:00
ricmmfor which the service API needsto be defined16:00
rsalvetiand then move away from binder16:00
rsalvetiif we want to create another sensor service from scratch, then fine :-)16:00
ricmmwell thats a decision that needs to happen *before* we mock the comm16:00
ricmmjust saying it to be kept in mind16:01
ricmmas it wont be android sensorservice on android over binder forever, and technically the 14.04 plan is that it wouldnt be16:01
pittiricmm, rsalveti: so as a first step it might be indeed better to create a libubuntu_application_api.so which returns mock results?16:01
ricmmpitti: in the general p-api testing plan the idea is to first make the platform API smart enough to dynamically load backend plugins16:02
ricmminstead of the separate SOs we currently ship16:02
ricmmthen the first step is to provide a dummy one for the components, then make that dummy smarter to be a more dynamic mock backend16:03
ricmmdoes that make sense?16:03
rsalvetiricmm: standup :P16:03
ricmmrsalveti: sec16:03
pittiricmm: yes, it does; making it possible to mock binder would enable us to do more kinds of testing, but if we are moving away from it that is a dead end16:03
pete-woodsseb128, sil2100: unfortunately the tests need working pulseaudio to run, hence why there are also autopilot tests for it16:04
rsalvetiindeed16:04
ricmmwell exactly the first point would be just being able to plug any SO dynamically16:04
seb128pete-woods, ok16:04
pittiricmm: so providing an alternative libubuntu_hw.so is better if *that* interface will stay around16:04
ricmmit could either be a dummy-return or a more robust mocked IPC16:04
ricmmthe hardware API will stay as-is I believe, that one is direct hw access16:04
ricmmas-in it uses the HAL directly16:04
pete-woodsseb128: I will add the missing dependency16:04
ricmmin process16:04
pittiricmm: that of course would not test the platform-api backend itself (that would still need mockgin stuff at the binder level), but at least everything on top of it16:04
seb128pete-woods, thanks16:04
ricmmpitti: yes of course16:05
pittiricmm: great, thanks for your input there16:05
ricmmpitti: at what time will the call be?16:05
pittiricmm: 1000 UTC now16:05
ricmm10:00 UTC ? geez thats early16:05
pittiricmm: but as I said, I'm happy to do a followup call with you next week16:06
pittiricmm: as we can't fit all relevant people into one time anyway16:06
ricmmI will be waiting to board at around 1300 UTC16:07
mzanetticjwatson: hello, did you have a chance to think about this one yet? https://bugs.launchpad.net/ubuntu/+source/click/+bug/125163516:07
ubot5Ubuntu bug 1251635 in click (Ubuntu) "drop version numbers from users' .desktop file names" [Undecided,Confirmed]16:07
pittiricmm: updated the pad wiht this information16:08
pete-woodsseb128: https://code.launchpad.net/~pete-woods/unity-voice/missing-dep/+merge/197096 if you're interested16:11
seb128pete-woods, thanks, approved16:17
pete-woods:)16:20
lopsyou guys coding for UP? where do you usually save your data? i'm kind of lost in the api docs16:22
lopssave data in runtime, that is.16:23
labsinlops, You can save in ~/.local/share/<full-package-name>16:26
labsinthat's the only folder you get access to by default (with the restrictions)16:26
jdstrandmardy: (I'm not really here but...) re eta> I figure next week. I want to write some test cases for apparmor-easyprof-ubuntu beyond the unit tests that can be run in image tests16:26
labsinlops, but it is best not to hardcode this directory16:27
lopsthanks. what about in runtime? i don't yet understand how I'm supposed to use any vars that are in other source files.16:29
labsinlops, If you for instance need a Database, you can use U1Db and this will automatically save in that directory16:29
labsinlops, otherwise you can write a simple Qt cpp plugin for that.16:29
lopsthanks labsin ;)16:30
lopsi wish the docs were a bit more complete. they are pretty much useless now. :/ at least for qt newbies i guess16:31
labsinlops, If you plan on writing a plugin, just use the template and change as little as possible16:33
lopsthere's a template? where is that16:34
labsinlops, when you do new->project16:34
labsinthe qml extention library + tabbed T... can be a good start16:35
labsinit's file-> new project16:35
labsinThe best info on qt can be found when you but qt-project.org in the chrome address bar, then press tab and then type what you need from qt16:36
labsinlops, about the data storing, below is a question from the ubuntu-touch maillist. The follow-up mails can be interesting for you: https://lists.launchpad.net/ubuntu-phone/msg04835.html16:37
lopsthanks labsin. those mails are useful indeed. however i still have doubts about data that has been read for a file and is on memory.16:46
lopsi have javascript inside my QML page that is drawwing some plots. where should I keep the data for that plot? say, after reading in from the file.16:47
pahi16:51
paforgive me, but is ubuntu for nexus 10 officially available?16:51
paand if not, is there a planned release date?16:51
lopsthe oficial sites talks about a Pre-release version for nexus 1016:52
paso no official dates?16:53
pa14.04 perhaps?16:54
lopssorry pa, not really aware of anything16:54
ogra_pa, 14.04 has a clear focus on tablets ...16:54
ogra_pa, (while 13.10 was focusing on getting the basic phone image proper)16:55
ogra_so with 14.04 N10 should work just fine16:55
paogra_, so there will be an official release, right?16:55
ogra_yes16:55
pagreat, thanks16:55
paafter all, ubuntu touch could be the real successor of maemo/meego..16:56
paas mer seems a bit.. how to say.. weird16:57
lopsi don't understand why call this version 1.016:57
lopswhen it's not finished...16:57
labsinlops, you could keep it in the cache folder: @{HOME}/.cache/@{APP_PKGNAME} or in a database16:58
dragonkeeperis there a ubuntu-touch .zip that can be flashed to put all the ubuntu stuff on the device . ?16:58
=== dandrader|lunch is now known as dandrader
lopslabsin, i should save to disk things like lists of values?17:00
labsinlops, what kind of data do you have and how do you need to use them afterwards? Maybe a Database suits better?17:01
lopslabsin, i have a list of numbers and I want to draw a chart. i'll explore databases17:03
labsinlops, or just keep it as a list in javascript or in a custom cpp extention then it stays in memory (if it's not THAT big)17:04
lopslabsin, i might try an external javascript file. right now i only have javascript inside "onPaint" inside my Canvas in qml17:05
* ogra_ hugs davmor2 ... thanks for the mail :)17:06
davmor2ogra_: it took me a while to get to it :D  I was still playing catch up from my week off :)17:07
DroidriderIl y a t-il des Français ici ?17:19
cjwatsonmzanetti: I haven't looked at it at all yet.  I'm spending a couple of weeks working on GRUB.17:53
dragonkeeperwhats different about the ubuntu boot.img ?17:53
ogra_different in regard to ?17:54
dragonkeeperthe stock android boot.img17:54
ogra_well, an android boot.img carries the android rootfs inside17:57
ogra_the ubuntu boot.img has a normal ubuntu  initramfs in it (not much different from what you have on your desktop) to mount the readonly ubuntu rootfs image17:58
dragonkeeperok so in theory if i only had the boot.img  for ubuntu and flashed that then flashed a normal cm10.1 and then flashed saucy-preinstalled-phablet-armhf.zip  ubuntu would boot17:59
ogra_if your kernel is properly configured to run ubuntu it would most likely boot you ointo an ubuntu rootfs without UI ... you should be able t access it with adb18:00
ogra_to get a UI you will need an android system.img with the modifications explained on the porting wikipage from the channel topic to run it inside the lxc container18:01
dragonkeeperhmm alright . and just out of interest how many bytes is the ubuntu boot.img ?   or does it change depending on device18:02
ogra_(graphice, modem and sensor drivers are handled inside the lxc container18:02
ogra_)18:02
ogra_it should be below 8M18:03
ogra_or around that size18:03
dragonkeepercool i have 7.318:03
ogra_the size is really only limited by the partitioning your device has18:03
dragonkeeperthats all ive managed to get so far, which is why i asked . i cant seem to get the rest to compile18:04
ogra_https://wiki.ubuntu.com/Touch/ContainerArchitecture18:04
ogra_that has some more detailed info about the boot process18:05
dragonkeeperogra_ Thanks , would you be able to help me solve compile errors ?18:07
ogra_dunno, got a log with them ?18:07
dragonkeeperi can pastebin all my output18:07
ogra_rule of thumb: you never want to compile anything with APP in its path ... rip out all these bits from the makefiles18:07
ogra_they are usually requiring dalvik which we dont have18:08
dragonkeeperhttp://paste.ubuntu.com/6490637/  ogra_18:09
dragonkeeperogra_, if i run it again i get this one as well http://paste.ubuntu.com/6490662/18:13
ogra_i dont think we use stagefright, you should be able to safely drop it18:13
ogra_there is no error in the second one18:14
dragonkeeperits in the folder ubuntu tools made  frameworks/av/media/libstagefright18:14
dragonkeeperhow would i pull it out without causing more errors18:16
ogra_sergiusens, rsalveti, any hint for dragonkeeper18:17
sergiusensI don't think we are using the software decoders from stagefright so you can just disable that18:19
dragonkeepersergiusens, how ?18:19
sergiusensremove it from the makefiles?18:19
sergiusensand if it's too intertwined edit the code18:20
sergiusensis this based on a later version than cm10.1?18:20
dragonkeeperno its cm10.118:20
sergiusensyou can also backport the code changes if there were any18:20
sergiusensogra_, we use stagefright for the hw decoding18:20
ogra_sergiusens, oh, i thought it was completely gone, my bad then18:22
sergiusensogra_, nah, I might be mistaken18:22
ogra_heh, we need the salveti ....18:23
sergiusensanyways, removing it completely will only break video playback, so it's a start for a first build18:23
dragonkeepereither way its stopping me from compiling lol18:23
ogra_yeah18:23
studebakerchi cant find the correct command code for Terminal to flash factory image of nexus 7 back18:27
dragonkeeperok took it out of build/core/main.mk   just gotta see what happens now18:27
dakerstudebakerch: https://wiki.ubuntu.com/Touch/Install#Restoring_Android18:28
studebakerchi used the command "run ./flash-all.sh " but it said it wasnt the correct command18:28
dragonkeepercant u use fastboot ?18:29
dakerstudebakerch: without "run" just ./flash-all.sh18:29
dragonkeeperogra_ looks like its hardwired . its in alot of files18:34
dragonkeepergrep -r -H "/libstagefright" * > ../removestuff18:35
dragonkeeper is listing all files and lines containing libstagefright .  anyway i can use the output and automate it so all lines get changed to a space ?18:35
AndrewSPXhi there..18:36
AndrewSPXanyone ?18:36
dragonkeepershhh he wont see us18:36
AndrewSPX:)18:36
AndrewSPXi just wonder if i can install ubuntu touch on my HTC One S18:37
dragonkeeperyes18:37
AndrewSPXcan you help me with some download links ?18:37
AndrewSPXwith the corect package18:37
dragonkeepercurrently supported https://wiki.ubuntu.com/Touch/Devices18:38
AndrewSPXi saw that18:38
AndrewSPXbut is not mentioned my phone there18:38
dragonkeeperok if your device isnt there ull have to do what im doing18:38
AndrewSPXis just HTC One X18:38
dragonkeeperhttps://wiki.ubuntu.com/Touch/Porting18:38
AndrewSPXwhat shoud i do there?18:39
dragonkeepergo through it and it will tell u how to port ubuntu-touch to your device18:39
AndrewSPXsounds complicated18:40
AndrewSPXi'm not programmer18:40
AndrewSPXor something18:40
AndrewSPXjust regular user18:40
dragonkeeperdoesnt get done by its self sadly  if u want it badly enough thats what ull need to do, or wait for someone else to do it18:40
AndrewSPXwell.. i think is better to wait18:41
AndrewSPXand another thing...18:41
AndrewSPXwhy you guys don't join undernet ?18:41
AndrewSPXis hard for me to come here18:41
dragonkeepertheres no ops/owners here18:42
AndrewSPXuhm?!18:42
AndrewSPXhere are no ircops ?18:42
AndrewSPXor ops ?18:42
AndrewSPXX ? Q ?18:42
AndrewSPXsomething ?!18:42
dragonkeeperthe owner of this channel isnt here  or ops so i assume no offical ubuntu team members monitor this chat , as its offical channel  i doubt it will be moved by commenting in here18:43
AndrewSPXok..18:43
AndrewSPXlet it go..18:44
AndrewSPXi got a problem with ubuntu on pc18:44
dragonkeepero.O18:44
AndrewSPXis about that bar18:44
dragonkeeperthats #ubuntu18:44
AndrewSPXaa ok18:44
AndrewSPXthx anyway :)18:44
dakerdragonkeeper: it's an official channel18:44
dragonkeeperdaker yes i know it is :S18:45
=== boiko_ is now known as boiko
nhainesdragonkeeper: there are loads of Canonical employees and Ubuntu members (hi!) here.18:54
nhainesdragonkeeper: no one's op because no one needs to be op.  Anyone with channel access can issue commands through chanserv.18:55
dragonkeeperawesome18:56
nhainesdragonkeeper: The reason this (and all Ubuntu-related channels) are on Freenode is because Freenode is specifically built to host Free Software development.18:59
nhainesSo there's a big chance that upstream and related projects are also on Freenode.18:59
=== dandrader is now known as dandrader|afk
dragonkeepernhaines, yes probs are . tbh though it doesnt really bother me what server people host on19:01
* dragonkeeper has his head in source code19:01
labsinAnyone want to try my new published app? It's in the click store right now and is called Falling Blocks19:08
=== dandrader|afk is now known as dandrader
=== vying is now known as Guest89351
nhainesdragonkeeper: I am telling you this so that the next time someone asks and you want to answer them, you have accurate information to give them.19:50
rsalvetiogra_: sergiusens: dragonkeeper: you can disable the software decoders as it's not currently used, but libstagefright is needed if you want accelerated video decode to work19:55
rsalvetibut we'll be supporting the software decoders as well, soon :-)19:55
rsalvetiwonder why this is failing though, were you able to build CM first for your target?19:56
Ursinhaogra_, my screen frozen when I was unlocking it, how can I check what's going on? there's no crash in /var/crash20:00
rsalvetiUrsinha: is the device still up?20:19
Ursinharsalveti, it was, I was able to adb shell and everything looked okay, but screen was frozen20:20
UrsinhaI had to reboot20:20
Ursinhanot even power button did it20:20
Ursinhareboot as in adb shell; reboot20:20
rsalvetiUrsinha: right, maybe an issue with mir20:20
Ursinharsalveti, there was no new crash on crash folder20:20
rsalvetiUrsinha: checking /system/bin/logcat might also be useful when it happens20:20
Ursinhaokay, will do that next time, thanks20:21
rsalvetiand trying to strace the process id as well20:21
rsalvetisee if the process is completely stopped or just not rendering at the display20:21
Ursinharsalveti, the process being mir? or what?20:23
rsalvetiUrsinha: unity8 in this case (mir and unity8 are both the same process)20:24
Ursinharight20:25
sergiusensUrsinha, rsalveti also check ~/.cache/upstart/unity8.log20:36
Ursinhasergiusens, is that reset every reboot?20:37
sergiusensnot really, just rotated20:37
rsalvetisergiusens: are we rotating .cache as well?20:42
seb128rsalveti, why would you rotate cache? by definition that's datas that are not useful to store20:43
rsalvetiseb128: just concerned about the amount of disk space that the logs might end up using over time20:43
seb128rsalveti, clean those, don't rotate them20:43
rsalvetiseb128: right, but are we doing any atm?20:44
seb128rsalveti, g-s-d on the desktop is e.g cleaning thumbnail that didn't get accessed for some time20:44
sergiusensrsalveti, seb128 the why's I don't know, but I have a [1-9].gz of every job20:44
rsalvetiinteresting, might be an upstart specific thing then20:44
seb128we should have some housekeeping service20:44
seb128g-s-d is doing that on the desktop, we don't have anything on touch though20:45
rsalvetiright20:45
=== salem_ is now known as _salem
=== seb128_ is now known as seb128
=== thomi_ is now known as thomi
=== Tf_ is now known as Guest34670
Guest34670Any idea how i can connect to WLAN22:27
Guest34670No one?22:30
johnnyDHi22:35
johnnyDAnyone here?22:35
johnnyDI have fresh installed ubuntu on nexus 4 but have no wifi connection any ideas how to get it working?22:36
johnnyDWifi hardware seems to be enabled22:37
johnnyDNmcli returns no wifi device22:40
johnnyDNo one here?22:41
johnnyDOr no clue22:41
* xnox this channel is now going into a soft sleep mode. if you have answered questions please try sending email to the ubuntu-phone mailing list.22:57
=== anders3408|away is now known as anders3408
=== vying is now known as Guest368

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