/srv/irclogs.ubuntu.com/2013/06/05/#ubuntu-touch.txt

stgraberslangasek: ok. I'll also reflash mine tomorrow, currently I apparently managed to mess up my partitions or the system in a way that I end up with a read-only data partition, so can't do a whole lot at the moment00:00
slangasekok00:00
slangasekso at a minimum, I've proved that the N4 bootloader doesn't mind if you resize the system+userdata partitions00:00
slangasekand with the raring image, booting to the shell worked fine... so this current problem is some new glitch with the container flip00:01
=== chriadam|away is now known as chriadam
=== krabador is now known as krabador|Doom3
mhall119just phablet-flashed to 152, and man is it so nice having a terminal there by default!00:36
mhall119sergiusens: when is powerd 0.12 going to be in the device images?01:17
mhall119glad I still had a package built in /home/phablet01:18
coder543Hey everyone. I'm excited about the upcoming Ubuntu Touch project, but I had begun to think about various challenges. First and foremost, is there going to be an API for simple second screen support? On iOS, this is useful for Keynote and MLB.tv, among other things. Having this from the beginning would be necessary if it is ever to be supported by developers.01:33
coder543The other thing was memory management. It would be unique and rather advantageous if we could use something like "kill -STOP <procid>" whenever a task gets backgrounded and hasn't requested backgrounding, and then when we run low on memory, we could save that app's memory to disk in a swap-like fashion. The user would get a continuous experience regardless of how much memory their device has, even if the app would take a moment 01:35
coder543Just some thoughts.01:36
coder543The channel doesn't seem as active right now as it is at other times of day though.01:36
mhall119yeah, it's way late in Europe, and pretty late in the US01:41
coder543unfortunately. Should I submit these ideas as bugs, maybe? I don't know.01:42
mhall119coder543: better to write it up in detail on the wiki first, as a full spec01:48
mhall119as for memory management, we already suspend app processes when they lose focus01:49
mhall119and there's work for allowing select forms of background execution01:49
coder543Ok, I figured that app execution would be being paused by now most likely. The last time I used the developer preview was a few months ago, but saving and restoring from disk in low memory situations is something not done by iOS or Android at this point I'm fairly certain and could be nice, if anyone ever has time to do that. Second screen support (or the lack thereof) is something I see as a rather serious blunder in Android. O01:53
coder543else ever happens. Android 4.2 finally introduced support for the second screen though, I think... but yeah.01:53
coder543I'm excited, regardless.01:54
mhall119the kernel should swap out inactive process memory to disk if it needs more01:59
fginthermhall119, it looks to be a packaging bug, I think the source format is goofed for an inline package.  I'll update and try again02:57
mhall119fginther: hmm, I've seen inline packages with that source format03:00
mhall119fginther: though we can probably just apply the patches to the branch  instead of carrying patch files03:01
fginthermhall119, that's what I'm attempt and converting to native03:01
fginthershould have a update pushed in a minute or two03:02
mhall119cool03:02
mhall119if there's anything you need me for, just let me know03:02
=== chihchun_afk is now known as chihchun
fginthermhall119, \o/ now it passes03:10
mhall119yay!03:13
Riussi_http://summit.devaamo.fi/2013/program/05:51
samuraibsdHaving some trouble flashing the image to my Nexus 406:01
samuraibsdI followed all the steps, but the recovery it flashed over my CWM gives an error when I try to use autodeploy.zip06:02
samuraibsdAre my messages actually visible?06:06
samuraibsd!ping06:27
ubot5pong!06:27
dholbachgood morning06:30
samuraibsddholbach: Can you see this?06:30
dholbachsamuraibsd, that you just asked me if I could see your message? :)06:31
samuraibsdYes.  Thank god, someone alive.06:31
samuraibsdYou wouldn't know anything about the flash process would you?06:32
dholbachNot much. What are you after?06:32
samuraibsdTrying to install it on my Nexus 4 and while I got the auto deploy zip onto the internal storage, it gave me an error, and now I can't seem to mount my /sdcard from the recovery06:32
dholbachWhat was the error message?06:33
samuraibsdE: Bad06:33
samuraibsdAnd now, when I try to do anything to /sdcard, it gives me E: Unable to mount /usb-otg06:34
samuraibsdCan't adb push the manual image either, since for some reason it won't mount06:34
samuraibsdWith no OS on the device, I can't do it from inside Android either06:35
samuraibsdSince booting just immediately turns off the device06:35
samuraibsdI don't even get a boot animation, just the Google splash and the noff06:36
samuraibsdthen off*06:36
dholbachI never heard of this issue before.06:36
dholbachLet me see if I can find anything.06:36
samuraibsdNeither have I06:36
samuraibsdAnd apparently neither has Google, I've been searching for hours06:36
dholbachI couldn't find any trace of that "error message" in the phablet-flash code06:37
samuraibsdI don't remember exactly what it said, but I remember E: and bad06:37
samuraibsdmy plan was to play around but then...this06:38
samuraibsdAnd now phablet-flash won't work either, so I can't even have it do that06:39
samuraibsdTells me I have an unsupported device06:40
dholbachSorry, it looks like I'm of no help. Maybe you just wait in the channel a bit more until more of Europe wakes up. You might also want to send a message to ubuntu-phone@lists.launchpad.net06:40
dholbachJust so you're all covered and somebody can help you out with this.06:40
samuraibsdEh, worst case scenario I just stay up for the rest of the night and figure it out on my own...but yeah, I didn't know about the launchpad list, that's good to know.06:41
dholbachAll the best!06:41
samuraibsdAh, figured it out...though now it seems Ubuntu won't boot06:47
samuraibsdStep in the right direction06:47
samuraibsdInteresting...CM 10.1 boots06:48
batman_Hi07:27
batman_can i install ubuntu touch on htc sensation07:27
AskUbuntuubuntu on nexus 10 shutdown/suspend | http://askubuntu.com/q/30427608:13
mzanettiwe need fitbit integration with the infographics :D08:28
=== zsombi is now known as zsombi|afk
=== chriadam is now known as chriadam|away
ograslangasek, thanks for the session fixes, there is https://code.launchpad.net/~phablet-team/session-manager-touch/trunk as upstream branch fyi08:50
ograslangasek, in the adbd build ADB_HOST is already set in the makefile .... and we will also throw away that patch in favour of lool's proper upstream merge in debian once i finally managed to test it08:51
=== Hourd_ is now known as hourd
purwoytest09:08
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== [SLB]` is now known as [SLB]
=== ckpringle_ is now known as ckpringle
=== matzipan_ is now known as matzipan
=== b0bben_ is now known as b0bben
=== psivaa_ is now known as psivaa
=== vrruiz_ is now known as rvr
folfHi: Has anyone gotten the catchpodder podcast agent to work on a phone? (I'm running ubuntu touch on a samsung galaxy nexus).10:05
netcurlifolf: as I am waiting for the download in the background feature, development for catchpodder is currently on halt10:07
netcurlibut if you want to run the current version, I can help you10:07
ograSaviq, if you make such changes, can you let me know so i can update the saucy seeds and packages in the archive accordingly ?10:08
Saviqogra, you mean the s/qml-phone-shell/unity8/?10:09
ograSaviq, right, for saucy we currently build two images ... one via jenkins and the other on cdimage10:09
ograthey use different seeds and session managers10:10
ograonce the container flip is done we'll drop the jenkins build10:10
Saviqogra, oh, didn't know that10:10
ograno worries :)10:10
Saviqogra, anyway, would definitely let more people know before merging that10:10
ograok10:11
ograinclude me then :)10:11
Saviqogra, will do10:11
ograthanks :)10:11
folfnetcurli: I just want to try out the current version :-) so some advice on how to set it up would be nice10:11
netcurliso at the moment, you will need to grab this plugin code https://code.launchpad.net/~djfun/catchpodder/filedownload10:13
netcurliand compile and install it on the device10:14
samuraibsdSo just installed this guy on my N4 and got it to boot.  Seems like it'll be pretty legit once it's actually ready for release.  I dig it.10:14
ogra:)10:14
netcurliand then you should be able to run the qml app from trunk10:15
folfnetcurli: is starting it from the phone supported? I mean, can it be added to the list of installed apps?10:21
netcurliI have not added any packaging yet, it is possible, but you need to place the .desktop file in the correct directory (/usr/share/applications ?!) yourself10:23
folfnetcurli: ok thanks :-)10:26
=== chihchun_ is now known as chihchun
asackgunn: do you feel you own the "primary phone unlock experience with SIM-PIN/PUK" or is it jasons team?10:40
=== ckpringle_ is now known as ckpringle
davmor2hey guys I noticed an issue on the nexus 7 last night.   if you set an alarm leave the clock app open, and then let the device sleep every 10 seconds or so there is a burst of light from it  I'm assuming it is a bad thing for that to be happening but I have no idea what is doing it or where or what to file it against any clues?11:12
davmor2you however won't see it during the day so I'm assuming it isn't that bright in reality but you certainly notice it at night :)11:14
=== chihchun is now known as chihchun_afk
=== dandrader is now known as dandrader|lunch
nik90davmor2: what do you mean by burst of light? The whole screen? Do you have any screenshots for better clarification?11:46
sil2100didrocks: https://code.launchpad.net/~sil2100/qtvideo-node/fix_ftbfs_with_new_libhybris/+merge/16750911:47
davmor2nik90: yeap whole screen lights up for a split second and then is dark again11:47
nik90davmor2: that's wierd11:47
nik90davmor2: is this only with the clock app?11:47
nik90davmor2: for bug related to clock app, you can report them at https://bugs.launchpad.net/ubuntu-clock-app/+filebug11:48
davmor2nik90: no idea it is the first time that the tablet had been useful enough to take to bed and use in place of my Xoom.  It may be the tablet as a whole doing it rather than the clock app I was just highlighting what I did for reproduction :)11:49
nik90davmor2: :)11:49
=== shadeslayer_ is now known as shadeslayer
mardymzanetti: hi! Do you want to resume our OAuth chat?11:58
mzanettimardy: hey, sure11:59
mzanettimardy: so... yesterday I failed because I realized that qca2 seems to build and link with Qt5 but then crashes in init()11:59
mardymzanetti: so, I've been giving it some more though, and probably understood that we have different goals in mind11:59
mardymzanetti: qhat is qca2?11:59
mardy*what12:00
mzanettimardy: Qt's openssl implementation12:00
mzanettimardy: qoauth is build on top of that for example12:00
mardymzanetti: OK12:00
mardymzanetti: so, there is nothing preventing apps from dealing with OAuth themselves12:00
mardymzanetti: but what UOA (Ubuntu Online Accounts) provides is a bit different12:01
mzanettimardy: yeah... for some things I think it really makes sense to integrate into the UOA. But not for everything I think12:01
mardymzanetti: we don't handle just OAuth, but all authentication methods12:01
mzanettimardy: yeah... I understood that too when looking at the architecture pics of UOA12:01
mzanettimardy: but think about this use cases:12:02
mardymzanetti: we add support for multiple OAuth accounts for the same provider, which is something very difficult to do for an app handling OAuth itself12:02
mzanettimardy: a) I have an app that lets me find car2go's. I can create bookings if I'm oauth authenticated. But that doesn't give me any contacts or anything that would make sense showing up in all accounts. Its just that one app that needs to authenticate itself12:03
mzanettib) same goes for a fitbit app wanted to create. However, as I realized that it would be ubercool to have the fitbit stats directly in the infographics, I think that's actually use case for UOA12:03
mardymzanetti: yes, for (a) the benefit of using UOA is not much12:04
mardymzanetti: that is generally the case with app using a single account, for a well known provider12:05
mzanettimardy: yep12:05
mzanettimardy: anyways, exactly for this use case I came up with the in-process WebView to do the auth12:05
mardymzanetti: UOA is mostly useful for apps like Empathy, Shotwell, Evolution, which support many accounts/services, and of different types12:05
mzanettimardy: yep I understood that12:06
mzanettimardy: is the UOA team still the right one to talk about a in-app OAuth API or should I rather go to the SDK guys with that?12:07
mardymzanetti: but even for simpler apps, I think that now we have a QML API which is infinitely simple (despite the complex architecture it hides): http://bazaar.launchpad.net/~online-accounts/accounts-qml-module/trunk/view/head:/examples/simple-view.qml12:07
mardymzanetti: good quesion, I don't know :-)12:08
mardymzanetti: however, I wonder if it's worth it12:11
mardymzanetti: as you said yourself, it's not difficult for a developer to setup a QtWebKit view and perform the oauth in there12:11
mardymzanetti: and that's more portable than using a component we provide12:11
mardymzanetti: so, I'm not sure there's much point for someone to use our API12:12
mzanettimardy: yeah... ok... the more I think about it, the more it seems a SDK thing (making libqoauth work on the phone etc)12:13
=== dandrader|lunch is now known as dandrader
=== digitalfiz_ is now known as digitalfiz
didrockssil2100: maybe try with upstream for this fix? they can maybe look at the other ones as well12:36
sil2100didrocks: which fix?12:37
crigalaxy tab2 p3100 enable 3g and call phone?12:40
ogracri, talk to the person doing the port ... he/she should be noted on the wikipage for the device12:41
criogra, tanks12:43
=== pete-woods1 is now known as pete-woods-lunch
ckingstgraber, did you get my email with the ext4 comparisons?12:57
mhall119Ubuntu Touch Clinic Hour starts now13:03
mhall119Dr. Pope isn't in, so it's just me today13:03
jussiooh13:03
mhall119if you have any questions, go ahead and ask 'em13:03
jussiso how the heck do I install anything?  the install icons don't work. (main screen at the bottom)13:04
mhall119yeah, that's not working yet, it's going to be part of Unity 813:04
mhall119for now you need to apt-get from the terminal13:04
jussioh, right. well that explains it.13:04
mhall119but, the good new is, there's a terminal installed by default now!13:05
jussi:)13:05
mhall119you can search the Apps lens by tapping the "Search" on the top panel while in the Apps lens13:05
blarocheare there any build docs for indidual apps like phone-app?13:07
blarochei wanted to start hacking on it and maybe others... see if i can fix a bug or two .. or more13:07
blarochejust started looking at it last night, and was hoping to get time this weekend to really dig in13:08
mhall119blaroche: they should all have something13:08
mhall119it looks like the gallery-app just uses qmake .pro files13:08
mhall119and they should all have inline ./debian/ packaging too13:08
blarochemhall119: i think i just have to spend time at it.  work out the cmake dependencies13:08
mhall119if you have the bzr-builddeb package installed, you can just cd into the bzr branch directory and run "bzr builddeb -- -us -uc" to get a binary package13:09
mhall119build dependencies should all be listed in ./debian/control on the Build-Depends line13:09
blarochemhall119: thank you.  i think that will get me going :)13:10
mhall119blaroche: good luck, you can always come back with more questions anytime13:10
blarochemhall119: thanks, i will13:11
=== ckpringle_ is now known as ckpringle
=== _salem is now known as salem_
=== Tassadar is now known as Guest48666
* h01ger just thought the weather app was broken, as it showed "sunny" for each day until june 10th in hamburg ;-) i was reliefed to see clouds+rain on the 11th 8-)13:19
mhall119h01ger: sounds like a bug in hamburg13:20
h01gerdefinitly. but tagged "worksforme" too13:20
mhall119we can be a pessimistic bunch through can't we?  I almost files a bug yesterday because my battery wasn't draining as fast as I expected it to :)13:21
h01ger:)13:21
=== Darkwing_ is now known as Darkwing
=== zsombi|afk is now known as zsombi
=== mesq_ is now known as mesq
=== daker_ is now known as daker
m-b-oh01ger:  I've double checked and looked out the window: sun is actually shining in HH :)13:33
om26erHey! How do I check my build number ?13:34
=== davmor2_ is now known as davmor2
=== b0bben_ is now known as b0bben
=== ckpringle_ is now known as ckpringle
brejochi there, are clinic hours still taking place?13:39
=== pete-woods-lunch is now known as pete-woods
mhall119om26er: good questions, I've wondered that myself13:42
mhall119om26er: usually I just check the highest number in ~/Downloads/phablet-flash13:42
mhall119brejoc: yes13:42
mhall119for the next 20 minutes13:42
mhall119popey and I do this every Wednesday13:44
mhall119of course, you can ask questions any time in here13:44
=== hallyn is now known as 21WAASE4I
om26ermhall119, that's different for me as I have a few  devices connected to the same machine, so I am not sure which one of them is updated and which is not13:44
mhall119but we've set this hour as a committed time for helping folks13:44
brejocnice. i've already asked that on the mailing list ([Ubuntu-phone] push to device messaging). Is there already a push notification system planned or is this something we'd have to initiate?13:45
mhall119brejoc: there's been a push notification system discussed, but I don't think it's being planned yet13:46
mhall119aquarius and I discussed how it might be done as part of Ubuntu One13:46
brejocmhall119: cool. will there be plans publicly available to participate in the discussion?13:48
=== Zic_ is now known as Guest8512
=== jishnu7 is now known as Guest65762
=== ashams is now known as Guest15032
=== JamesMR is now known as Guest53996
=== JanC is now known as Guest69968
mhall119brejoc: I'm sure there will be13:49
mhall119possibly at the next UDS13:49
=== Guest53996 is now known as Jameth
mhall119which I believe will be around August13:50
brejocmhall119: thanks!13:50
mhall119no problem13:50
stgrabercking: I did, thanks! I forwarded it to the rest of the people involved in yesterday's discussion.13:54
ckingstgraber, cool, if it needs revisiting with different tests, let me know I will see what we can do, but I'm tight on time nowadays13:55
stgrabercking: it currently looks like we'll be using loop mounted images for devices where we can't grow/shrink the system and userdata partition to match what we need13:56
stgrabercking: so hopefully use physical partitions on the devices we support ourselves and use loop-mounted partitions on the others (unless whoever is doing the community port figures out how to resize the partitions safely on their device, then they can do it too)13:56
=== chihchun_afk is now known as chihchun
h01germ-b-o, yeah its strange. and whats even more strange: since 5 days basically.13:57
ogracking, revisiting with different device would help a lot13:57
brejocone more question. i've been porting (no work at all) and testing saltstack, a remote admin tool, to ubuntu touch. salt has to be started via upstart. has anything to be done to make this work with the new container concept - especially in "touch mode"?13:57
ckingstgraber, ok, well, I didn't account for any tweaks on mount options or the vm to ensure we flush data more periodically to ensure data loss is minimised13:57
ogracking, the device category we target is like a third of the n413:57
stgrabercking: if you have a galaxy nexus, test results on it would be great. Otherwise I think sergiusens said he could do those measurements if you can provide him with instructions13:57
ogra(read: we target the galaxy nexus class (dual core 1.2GHz/512M ram) by default13:58
ckingogra, third in sense of what? CPU cycles, memory, etc?13:58
ograyeah13:58
ogramight even be only 900MHz ... i'm not 100% sure13:58
ograbut definitely a lot lower than the n413:58
ograi guess that will have some impact on the results13:58
ckingstgraber, if he's got a 6.5 digit precision multimeter, then it's repeatable13:58
bobweaverping jstill no way to daul boot the n4 ?13:59
bobweaverwoops13:59
ograbobweaver, nope, and it will get more and more unlikely13:59
bobweaverstill no way to boot the n4 ?  *13:59
bobweaverogra,  why is that ?13:59
ogra(dual booting that is ... booting alone should work since ages :) )14:00
ograbobweaver, because we move away from android more and more14:00
ograthe flipped images already use an ubuntu initrd and require a certain setup that will likely break with dual boot hacks14:00
ograand see above14:01
ograthere are even plans to re-partition the devices14:01
bobweaverthat is a good idea but for us people irl  we can not afford to loose money with missed text messages and what not14:01
ogra(though i think we cznt really do that)14:01
ogra*can't14:01
ograyou shouldnt lose text messages at all if you use the stable image14:02
ckingogra, I'll email sergiusens a guide on how to rig up the test14:02
ogracking, awesome, thanks !14:02
bobweaverogra,  I figured out why "Ubuntu Touch could not stream movies over the net" with qtmultimedia14:02
sergiusenscking: I can get a hold of electronics... not ASAP, but I can14:03
bobweaverhas nothing to do with gstreamer as I was told in the past14:03
AskUbuntuPhones that support Ubuntu Touch? | http://askubuntu.com/q/30439914:03
ogra!devices | AskUbuntu14:03
ubot5AskUbuntu: You can find the full list of devices, official images, community images, and works in progress at https://wiki.ubuntu.com/Touch/Devices14:03
bobweaverit is that my movies where not in intervals of 500 so they would not play not that I did that, they play fine and dandy. (qt 5.1beta)14:04
ograofficially supported are only the nexus devices ...14:04
ograbobweaver, cool14:04
sergiusensogra: I see Nexus S4 :-P Might be confused with Samsung's S4 (or I am out of sync and these are Nexus indeed)14:04
ograheh14:05
* ogra has no clue about non google nexuses 14:05
bobweaverogra,  Example of text that I missed http://paste.ubuntu.com/5735859/    I lost about 300 usd because of it14:06
=== lan3y is now known as Laney
brejoc#doublepost  -- one more question. i've been porting (no work at all) and testing saltstack, a remote admin tool, to ubuntu touch. salt has to be started via upstart. has anything to be done to make this work with the new container concept - especially in "touch mode"?14:06
ograbobweaver, thats what you get using a device clearly marked for development and dogfooding in financially critical production context14:07
ograbobweaver, seriously, if you hevily rely on SMS to make money, dont use ubuntu touch yet14:07
ograbrejoc, does it require anything on the android side ?14:08
ograif it can run on i.e. ubuntu-desktop it wont make any difference wether the container is flippped or not14:09
bobweaverogra,  yeah lesson learned but I guess that all these people that are saying that everything works great in all there blogs and there posts on g+ made me feel a little saver maybe they are to blame and my stupidity14:09
bobweaverIDK what dogfooding is14:10
ograeating your own dogfood ...  -> using your own unstable software to find its issues14:11
ogra(emphasis on "unstable" :) )14:11
bobweaverI see thanks ogra14:11
ograit surely works great regarding the expectations ...14:11
ograbut i wouldnt 100% rely on it14:11
ograsince bugs are expected14:12
brejocogra: no, just plain ubuntu14:12
bobweaveryeah I have it on my m7 but not on my n4 any more14:12
ograbrejoc, then the container flip shouldnt have any influence14:12
bobweavern7 *14:12
ograyeah, thats what i would od as well14:12
ogra(if my n7 coould boot the flipped container images :P )14:12
=== lilstevie_ is now known as lilstevie
didrockssil2100: it seems you missed https://launchpadlibrarian.net/141698927/buildlog_ubuntu-saucy-i386.unity-scope-gdrive_0.9daily13.06.05-0ubuntu1_FAILEDTOBUILD.txt.gz14:14
=== dobey_ is now known as dobey
didrockssil2100: and https://launchpadlibrarian.net/141693500/buildlog_ubuntu-saucy-armhf.dee_1.2.5ubuntu1daily13.06.05-0ubuntu1_FAILEDTOBUILD.txt.gz :(14:15
brejocogra: good to know, thanks. one thing i still don't get is the method that has been chosen to determine which daemons are running in touch and desktop mode. is there a document available with more insight?14:15
didrocksI'm relaunching the second14:15
ograbrejoc, no, we dont have anything like that yet, i guess thats a matter of convergence which is a 14.04 task14:16
ograbrejoc, i think upstart offers a way to find whats running though ... i guess we will make use of that14:17
ograbut thats really up fro discussion still, converged setups are not in focus for 13.1014:18
brejocokay. thank you very much!14:18
didrocksdavidcalle: still around?14:23
ubunteroI will present a lecture on Ubuntu and Ubuntu Touch tonight and would like to show Ubuntu Touch with core-apps. There is a way to put the core-apps in Ubuntu touch menu?14:24
blarocheubuntero: i use http://bazaar.launchpad.net/~popey/+junk/phablet-flash-wrapper/view/head:/add_apps.sh14:28
blarocheline 5614:28
ubunteroblaroche, thanks14:29
blarochethank popey :)14:29
=== nikkimccavee_ is now known as nikkimccavee
davidcalledidrocks, sure14:31
didrocksdavidcalle: unity-scope-gdrive failed https://launchpadlibrarian.net/141698927/buildlog_ubuntu-saucy-i386.unity-scope-gdrive_0.9daily13.06.05-0ubuntu1_FAILEDTOBUILD.txt.gz14:32
didrocksdavidcalle: do you mind giving it a look (and poking sil2100__ once he's back)14:32
didrockssil2100__: I've fixed the second one by a rebuild14:32
mhall119ubuntero: line 56 on that is really all you need14:33
mhall119that will let you expand the Installed Apps section14:34
davidcalledidrocks, a segfaulting test? For me? Thanks! :p14:37
didrocksdavidcalle: yw! ;)14:39
* bobweaver has just added Ubuntusdk toolkit to qt5.1 android lets see if it works on android 14:40
bobweaverahh stupid gio things are getting in the way14:40
didrockssil2100__: btw, you didn't remove the shopping lens from the config :/14:40
* bobweaver dont care aout icons 14:40
mhall119bobweaver: the Ubuntu.Components have been built on MacOSX, so I'm sure they'll work on Android too14:42
bobweaverjhodapp,  ping14:43
bobweaverjhodapp,  I was able to get streaming happening on qt5.1 qtmultimedia14:43
bobweaverjhodapp,  I am uploading a video atm will post when done14:43
jhodappbobweaver, hey14:44
jhodappbobweaver, does it have its own set of streaming sources?14:45
bobweavernot sure what you mean by that14:45
bobweaverit was a bug in android and not qt or anything like that14:45
bobweavervideos have to be in intervals of 50014:45
=== ckpringle_ is now known as ckpringle
jhodappbobweaver, well what do you mean by streaming then?14:46
bobweavermy souce is from my myth tv backend here on my lan14:46
bobweaverbefore it would not play  my videos14:46
bobweaverremember14:46
jhodappbobweaver, ok, it's using gstreamer underneath?14:46
bobweaverIDK Or IDTS14:47
bobweaverlet me look at log14:47
jhodappbobweaver, join #ubuntu-media14:47
ckingsergiusens, ogra, benchmarking notes posted14:57
sergiusenscking: thanks14:58
ogracking, yay14:59
=== ckpringle_ is now known as ckpringle
=== Guest69968 is now known as JanC
AskUbuntuAsus Vivotab Smart ME400C | http://askubuntu.com/q/30440015:05
=== sil2100__ is now known as sil2100
h01gerit seems neither phablet-flash -d grouper -b nor phablet-flash -b seems to work on a nexus7. both get stuck in the bootloader, trying to write to /sdcard/15:09
=== 21WAASE4I is now known as hallyn
=== philhug_ is now known as philhug
=== Riddelll is now known as Riddell
* h01ger used an outdated version of phablet-flash15:15
MacSlowSaviq, backend is correctly exported now and working... but something with snap-decisions is broken... looking into it15:16
ogracking, oh, you actually tested with only one loop mounted img ... great (the actual implementation would have like 4 loop mounts, i wonder if the impact would be worse)15:18
ckingogra, i expect so, pressure on vm will be higher I guess15:18
ograyeah15:18
ckingogra, i suspect that there will be far more dirty pages flying around which is always bad.15:19
ograyup ...15:20
* ogra thinks we should just keep what we have atm ... probably with some changes and improvements but just use the existing partitions15:20
ckingogra, I admit my tests were naive, but they give one an idea of the impact at best case15:20
ograyeah15:20
ograand i expect it to be a lot worse it multiple images on a galaxy nexus15:21
bobweaverogra,  do you if there is a way to run x11 on android that is not vnc15:22
bobweaverlike how the n7 images where15:22
ogranope, i dont think there is one15:22
ograthe n7 images didnt use any android15:23
=== racarr_ is now known as racarr
bobweaverogra,  I see thanks15:23
bobweaverogra,  btw your awesome !!!!15:23
ograwith the flipped container it might be possible to get xfbdev up though15:23
ograbut without any GLES support ... i doubt that would help much15:23
ograheh, thanks :)15:23
SaviqMacSlow, cool15:24
rickspencer3awe_, rsalveti, et al .. have I mentioned how much I enjoy having cellular data now?15:24
ChickenCutlassrickspencer3, is it working ok for you?15:25
rickspencer3ChickenCutlass, yeah, I just followed rsalveti's directions in his blog15:25
rickspencer3worked fine15:25
ChickenCutlassrickspencer3, excellent.15:25
rickspencer3looking forward to having the indicator support and all, of course15:26
ChickenCutlassme too15:26
bobweaverogra,  why no gles support ?15:27
=== Guest8512 is now known as Zic
bobweaverE/libEGL  (27730): eglDestroySurface:383 error 300d (EGL_BAD_SURFACE)15:27
ograbobweaver, because xfbdev directly attaches to fb0 and thats it15:27
=== dandrader is now known as dandrader|afk
ograit might not even work without kernel changes15:27
ogra(since we dont have any framebuffer console enabled etc)15:28
ograwe should see Mir on the images soon though, that should make everything better :)15:28
ogra(and once XMir exists you will even be able to run X apps)15:28
awe_rickspencer3, thanks!  glad you like it!15:35
=== daker_ is now known as daker
rickspencer3:)15:36
rsalvetirickspencer3: awesome15:36
rsalvetifirst step, more to come15:37
rsalvetiit'll only get better ;-)15:37
rickspencer3:)15:37
rickspencer3rsalveti, I understand that copying the network configuration file over and using the terminal to up/down the network connection are hacks for now15:37
rickspencer3but, the data actually working seems like the foundation15:38
rsalvetirickspencer3: yeah :-) we're happy we're able to communicate with the modem properly, and setting up the connection15:38
rsalvetinow we just need to hook that up properly with the higher stacks15:38
rickspencer3rsalveti, will you be able to reuse NM code for writing out the configuration file?15:40
* rickspencer3 presumes that someone will have to write a new GUI15:40
awe_rickspencer3, that work is underway15:40
rsalvetirickspencer3: yeah, cyphermox_ is working on getting that more kind of automatic15:41
awe_the idea is that NM will talk to ofono and get the config information directly15:41
rsalveticrap, another net split15:41
rsalvetiso in theory all you'll need to do is setting up 'I want data call' :-)15:41
rsalvetiand in case your sim card doesn't offer you the right apn settings, you can then manually create the config15:42
=== zumbi is now known as Guest41081
=== dandrader|afk is now known as dandrader
rickspencer3rsalveti, sounds cool15:46
rickspencer3meantime, looks like the container flip and move to 100% saucy are both going well too15:46
rsalvetirickspencer3: yup, lot of progress on both15:48
minhassehi15:48
=== oreneeshy_ is now known as oreneeshy
=== ken_ is now known as Guest1980
minhassehello, i have a problem trying install the unbuntu touch15:50
minhassefailed to copy 'Descargas/raring-preinstalled-phablet-armhf.zip' to '/sdcard/autodeploy.zip': Permission denied15:50
minhassesomeone can help me¿?15:50
stgraberslangasek: tried today's build yet? I'm downloading it now so just wondering whether it'll boot or not :)15:53
slangasekstgraber: I have not15:53
slangasekstgraber: ubuntu-touch or ubuntu-touch-preview?15:53
=== barry` is now known as barry_
stgraberslangasek: I'm grabbing ubuntu-touch15:55
=== lan3y is now known as Laney
=== Laney is now known as Guest71473
=== barry_ is now known as barry
=== Guest71473 is now known as Laney
slangasekstgraber: yep - I haven't tried it at all yet; certainly, the previous build didn't work so hot for me15:57
slangasekogra: which is the last ubuntu-touch image that works for you?15:57
=== ckpringle_ is now known as ckpringle
=== Cimi_ is now known as Cimi
cjwatsonWhat's the recovery path like if I try ubuntu-touch and it explodes?15:57
stgraberslangasek: yeah, I suspect we may still have some problems related to video4linux15:57
stgrabercjwatson: boot to recovery, adb push the touch-preview .zip, reboot to recovery to have it flash15:58
=== lool- is now known as lool
=== zumbi_ is now known as Guest66489
slangasekogra: btw, where's the best place to work around bug #1187189?  I think we probably need to apply a divert in some common ubuntu-touch package, since we don't have per-device images15:58
ubot5bug 1187189 in linux-mako (Ubuntu) "Kernel crash and reboot when accessing video device" [High,Confirmed] https://launchpad.net/bugs/118718915:58
cjwatsonok, so not too terrible15:58
stgrabercjwatson: worst case is 2 run through recovery (once for each .zip) and a fastboot flash of the boot partition15:59
=== jibel_ is now known as jibel
stgrabercjwatson: but yeah, we don't touch the recovery partition, so you can't really brick the device, worst case is really just restoring the boot partition and reset the data partition (which the .zip + recovery do)15:59
=== chihchun is now known as chihchun_afk
AskUbuntuproblem trying install unbuntu touch | http://askubuntu.com/q/30443916:07
=== daker_ is now known as daker
=== plars is now known as plars-afk
ograslangasek, funny, i dont see it on maguro16:11
slangasekogra: sure, it's hardware-specific16:11
slangasekor kernel-specific16:11
slangasekbut the rules are in the hardware-independent udev package, which means we need to apply a workaround to the rootfs16:11
ograslangasek, i would put is into lxc-android-config ... if you dont have android containers you probably want the device and its full function16:11
slangasekok16:12
slangasekto be honest, I don't think it's related to the Android container, but I don't really care - we just need somewhere to put a dpkg diversion temporarily until the kernel bug can be fixed16:12
ograudev should really have a way to just put a rules file in place with lower sequence number that says "ignore" or so16:12
slangasekhmm, maybe it does16:13
ograwell, android vs x86 native images16:13
slangasekstgraber: ^^ can you think of anything?16:13
=== Guest1980 is now known as kenvandine
=== mmrazik is now known as mmrazik|afk
stgraberogra: did you change something wrt how the partitions are mounted? I seem to always end up with a read-only data partition after boot now which prevents the lxc container from starting16:23
stgraber(that's after manually removing the udev v4l rule file, otherwise the device won't even boot)16:23
=== gustavold1 is now known as gustavold
seb128mardy, hey16:25
mfischChickenCutlass: we listen for IncomingMessage to turn the screen on, but what about ImmediateMessage?16:26
mfischChickenCutlass: The docs mention a "Class 0 SMS", not sure what that is though16:26
slangasekrsalveti: hi, so I see you've marked "investigate ueventd vs. udev" as "Done" - what's the result of that investigation?16:27
=== hallino1_ is now known as hallino1
rsalvetislangasek: our investigation was more to know if it'd be possible to have udev and uevent running at the same time16:29
rsalvetias we were more worried that uevent could be broken because of it16:29
rsalvetiwhich is not the case16:29
rsalvetiso I marked it as done16:30
slangasekright16:30
slangasekogra still has concerns about double-loading of firmware16:30
slangasekare you saying that's not an issue?16:30
rsalvetiwhich firmware specifically?16:31
slangasekI don't know16:31
rsalvetithe way android loads the firmware is not as standard as we have16:31
rsalvetiit's mostly part of init scripts and such16:31
slangasekfwiw, my experience was that ueventd was *not* managing to load the firmware for me, because udev was too quick and had the modules loaded before the android container ever started16:31
rsalvetiI'm only concerned with the wifi drivers, but that's broken anyway16:32
slangasekwhich is why I suggested udev should read /system/firmware and /vendor/firmware directly (and pitti has already uploaded this change)16:32
rsalvetiright16:32
slangasekwe may have to guarantee that /system and /vendor are mounted before we start udev, to ensure the drivers get their firmware16:32
rsalvetihm, right16:33
rsalvetithat might complicate things around, but yeah, don't see an easier way16:34
slangasekrsalveti: I'm merely calling this out as a reminder - I believe *currently* these are mounted from the initramfs before we ever start upstart, so no problem.  We just have to take care to guarantee this in the future if we do change the partitioning16:34
rsalvetiright, ok16:34
rickspencer3anyone else noticing QtCreator spawning little windows for now discernable reason?16:35
rickspencer3bzoltan1, ^ ?16:35
bzoltan1rickspencer3:  It is a known issue for few weeks already... it is a present from upstream16:35
rickspencer3it's pretty annoying16:35
bzoltan1rickspencer3:  it is16:36
ograslangasek, /system and /vendor are now handled by mountall16:36
=== desrt_ is now known as desrt
ograslangasek, should be sufficient for udev16:36
slangasekogra: no, handled by mountall is much too late for udev.16:36
bzoltan1rickspencer3:  it will go away with newer Qt16:36
ograslangasek, oh, really ? i thought the rootfs mountall starts later16:37
ograerr16:37
ogras/mountall/udev/16:37
bzoltan1rickspencer3: the workaround is to delete ~/.config/QtProject and never click on the "Develop" tab.16:38
ograoh, yeah16:38
* ogra sees it starts on virtual-filesystems16:38
rickspencer3bzoltan1, ok, I'll try that16:38
ograslangasek, thats bad, we might need to apply an override file that makes it wait until the container is up16:38
slangasekogra: the standard ordering is that /mountall/ relies on /udev/ to probe the disks for it and make them available so that mountall can mount them... so if udev in turn needs mountall to mount /system and /vendor for firmware, you've got a race16:38
ograso that we are sure android has done its duty16:39
slangasekogra: no, there's nothing that should wait for the container; we just need to early-mount /system and /vendor from the initramfs16:39
bzoltan1rickspencer3:  I hope it helps. This issue came with the Qt 5.0.2 and known to exist in the upstream distributed releases too16:39
ograslangasek, then we might end up with double loading the firmware16:39
slangasekogra: please discuss that with rsalveti :)16:39
ograandroid will definitely force load it once we bring up the container16:39
ograi have no idea if thats bad or not ... but if there are any options handed to the fw we definitely want them to come from android, not from ubuntu16:40
rsalvetiI don't see that waiting android to load as an issue16:40
bzoltan1rickspencer3: I have checked that either with the 2.8 QtC it is gone as with the Qt 5.1 it is resolved too.  So the problem is solved, we just need to reach with our roadmap the 2.8 QtC or the 5.1 Qt ... July-August16:40
ogra(i know the broadcom fw needs the right parameters applied when loading it ... i guess there are others as well)16:41
rsalvetiyup, android usually gets a quite custom init script for most of the things16:41
rsalvetithat's why I'd prefer not touching it unless it's really needed16:41
ograrsalveti, well, if  the already laoded fw blocks loading it again and udev already loaded it with wrong args, we're screwed16:41
rsalvetiand wait cyphermox_ to understand all the issues with the wifi drivers16:41
=== SkavenXXI-[OFF] is now known as SkavenXXI
rsalvetiyup, that's why for now I'd not make udev to load them16:42
ograso i would prefer if we could make sure that android has it in its hands16:42
slangasekah16:42
rsalvetiyup, at least for now16:42
rsalvetiuntil we can understand things a bit better16:42
slangasekok, so if we are delegating the firmware loading to android anyway16:43
slangasekthen we can probably revert this udev change (yay)16:43
ograand if slangasek/stgraber actually find a way for v4l to suppress udev we might want to use the same thing for all devices we know ship with fw16:43
slangasekand just make udev start later16:43
ograwell, we want udev to apply the android rules if the container comes up16:43
slangasekwhat do you mean, "the android rules"?16:43
ograthere are already quite a few links and permission changes i ship in lxc-android-config16:43
slangasek/lib/udev/rules.d/65-android.rules ?16:44
ograand i expect that to grow a lot16:44
ograyeah16:44
slangasekudev will apply those whether the container is running or not16:44
slangasekand ueventd will of course create them initially with the right perms, not relying on udev for this16:44
ograhmm16:45
ograk16:45
ograthen it should be no issue16:45
ograthe point is that only loading the driver will get you a kernel event for some of them16:45
ograso udev actually should be up before the container since thats what loads them16:46
ograi guess we're good then16:46
slangasekhow do we know when the container is done "starting"?16:46
ogranot sure if lxc-init blocks ...16:46
slangasek"udev actually should be up before the container" - hmm?16:46
ograi was kind of assumeing that (if you look at the upstart job)16:47
slangasekthat's exactly the opposite of making sure ueventd loads the firmware16:47
ograyou want udev to be up to catch the uevents16:47
slangaseklxc-init has no way to block16:47
ograhmm, k16:47
slangasekwhy do you want udev to catch the events?  you said you want them handled by ueventd16:47
ograthen we might have to add a parker in init.rc16:47
ogras/parker/marker16:47
ograsigh, my typing16:48
ograslangasek, i want udev to create the links once devices show up16:48
slangasekogra: udev always creates links for *all* devices; see the udevtrigger job16:48
ograi'm not sure it catches the uevents if they were processed by ueventd already ... do they stay in the queue ?16:48
ograyes, udev isnt my concern, the kernels queue is16:49
ograif ueventd processed the event, does it still stay in the queue ?16:49
slangasekit's not a queue... udevtrigger forces "coldplug" reprocessing of all hardware events16:49
ograah16:49
slangasekit walks the hardware tree and forces re-emitting of events for everything16:49
* ogra always thought the kernel had an even queue 16:49
ograok16:49
slangasekit does, but that's not what's used for udevtrigger16:50
ograthen there are no issues i suppose16:50
slangasekright, the only issue is properly deferring the udev startup until ueventd is done16:50
slangasekand I don't know how you represent that16:50
ograwell, if udevtrigger re-processes everyhting we could just call that16:51
ograregardless when udevd is started16:51
ogralike ... call it from the lxc upstart job16:51
slangasekhow does that help us avoid races between udev and ueventd for loading the firmware?16:51
ograit doesnt16:51
slangasekbut that's the problem we need to solve16:51
slangasekwe need to not start udev until ueventd is done with its firmware loading; anything else will be a race16:52
slangasekwell16:52
ograthe question is if thats true :) we operate on assumptions :)16:52
slangasekudev won't *see* the firmware, so it won't get double-loaded... but it *will* nack the firmware requests16:52
=== rickspencer3_ is now known as rickspencer3
slangasek(I've seen this here, that's what led me to symlinking things around for /lib/firmware)16:53
ograif a driver doesnt care if it gets loaded the firmware twice it wouldnt be an issue16:53
ograwe would only need to make sure android is last in the game16:53
ograso the right options are applied16:53
slangasekit's not double-loading that's the problem16:53
slangasekit's udev giving a nack before ueventd has a chance to ack16:53
ograif drivers block that we cant16:53
slangasekthere's no way to make sure android is "last in the game"16:54
ograif drivers dont block, we just need to make sure udev is done and then start lxc16:54
slangasekthe ordering is totally non-deterministic16:54
ograwell, we have a way to know when udevtrigger is done16:54
slangaseker, again, that's the opposite of what we were talking about above - why are you wanting to run udev *first* before lxc again?  just because we know when udevtrigger ends?16:54
adeolahello all16:55
ograslangasek, i want to be sure that android applies the firmware config16:55
ograif the drivers dont care about it being loaded twice udev can do waht it wants as long as we can start android late enough to override it by loading it again16:55
slangasekogra: once we revert the udev patch, ueventd will be the only thing that sees the firmware, so there will be *no double-loading*16:56
ograexcept for devices that have something in linux-firmware16:56
slangasekso the only thing we have to care about is making sure that udev is *not* nacking firmware requests that are supposed to go to ueventd16:56
slangasekogra: linux-firmware isn't installed in the image16:57
ogradoesnt it come with the kertnel package ?16:57
ograwhich i assume we will install at some point16:57
slangasekthe kernel package isn't installed in the image ;)16:57
ograeven though we dont atm16:57
slangasekI don't see why we would install it16:57
ograwell, will it stay that way ?16:57
ograok16:57
slangasekgiven that we have separate hardware packs16:57
slangasekand the kernels have all drivers built in16:57
ograright16:58
ograwell, not all16:58
rsalvetislangasek: where is the nack code?16:58
rsalvetiand why is that happening? lack of files that udev can't find?16:58
slangasekif we *do* need modules at some point, we probably still don't want to install full kernel package on the rootfs16:58
ograthere are some modules listed in init.rc ... they are just not loaded on boot16:58
slangasekrsalveti: systemd-udev has an internal 'firmware' handler that will send a nack if it can't find the file, yes16:58
ograrsalveti, can we make sure /lib/modules from the package ends up on the android side in the right place ?16:59
rsalvetiogra: we could, but why?16:59
ograwell, for potential modules that only get loaded on demand16:59
ograby init.rc16:59
slangasekwell, it can't be in the device-independent rootfs17:00
ograright17:00
slangasekbecause we won't have the same kernel package everywhere17:00
ograwe install the kernel package during android creation17:00
slangasekso we'll have to be creative there17:00
didrockssil2100: any progress on the gdrive scope btw? :)17:00
ograso we should be able to copy the modules over17:00
rsalvetiwhy not bind mounting /lib/modules?17:01
rsalvetias the kernel is the same anyway17:01
ograrsalveti, because we dont have anything in /lib/modules17:01
ograwe dont actually install the kernel package17:01
slangasekyes, that comes from the kernel package, the kernel packages are not device-independent, so they're not on the rootfs17:02
ograbut we do it at android build tome17:02
ogra*time17:02
ograso adding a simple cp -a is what i suggest17:02
rsalvetiright, we're not installing that package17:02
rsalvetithat's the first issue17:02
ograthats not an issue if android ships the modules (if there are any)17:02
rsalvetiright, I can make sure that happens17:03
rsalvetithen we need a post inst in the kernel package itself to copy the modules over17:03
rsalvetibut looks dirty17:03
slangasekcp -a from where to where?17:03
bfillersergiusens, ogra : what is the recommended way for a package to install a file in the user's home dir? i.e. maliit wants to drop a conf file in ~/.config/maliit.org/server.conf17:03
slangasekit's not clear to me what "android creation" is - you mean the container extraction / setup?17:04
rsalvetislangasek: android image creation17:04
ograbfiller, hmm, sounds like a good question for a desktop guy ... seb128 ^^^17:04
bfillerassuming line 41 in this diff is not the right way: https://code.launchpad.net/~thomas-moenicke/phablet-extras/maliit-plugins_wordribbon/+merge/16559017:04
seb128ogra, bfiller: we don't17:04
ograslangasek, the creation of the content of /system17:04
ograseb128, we dont, but we could add a session service that does it17:05
rsalvetibut we might have issues if we don't build /system at the same time we build our boot.imgs17:05
seb128ogra, bfiller: the user directory might be encrypted, not mounted (on nfs), etc17:05
=== chrtr_ is now known as chrtr
seb128ogra, right, that's out of packaging though17:05
mhall119bfiller: why doesn't maliit create it on-demand when the user needs it?17:05
mhall119that's usually the right way to do it17:05
seb128bfiller, ogra: either teach the software to look for a default in /etc before the user dir or teach the software to create the file on first run17:06
mhall119if it exists use it, otherwise create it with some defaults17:06
bfillerseb128, mhall119 : makes sense, thanks17:06
slangasekogra: ok - so it would be /lib/modules -> /system/lib/modules or such?17:06
rsalvetiyup17:06
slangasekok, sounds fine17:06
bfillerseb128: what about dropping something into /etc/skel? thought those got copied into user's home dir on user creation17:07
rsalvetiugly but would allow us to have a single rootfs17:07
ogralike we update the xdg dir names etc in a gnome session17:07
ograrsalveti, we dont build boot imgs anymore in the flipped world17:07
ograwe only build initrds on the android side17:07
rsalvetiogra: our own bootimgs17:07
seb128bfiller, they do, but that's hackish and that let users upgrading out17:07
rsalvetias that's when we choose the kernel to be used17:07
stgraberbfiller: bad idea as that'd only work for any user created after the package is installed not for any existing user17:07
=== IReboot is now known as 36DAARST9
ogra(or at least thats all we need to)17:08
ograrsalveti, boot.img creation is in live-build in the flipped container setup17:08
seb128bfiller, what's the issue with making the code look into /etc if there is no user config?17:08
ogrageez ... freenode stop splitting ...!17:08
seb128bfiller, that's more robust and cleaner17:08
rsalvetiogra: so we need to make sure /system gets all the modules from the same kernel we use when we create our own boot.img17:08
bfillerseb128: no issue, just slightly more work in the code. but sounds like it's the proper way so that's what we'll do17:08
seb128bfiller, thanks17:08
slangasekogra: bearing in mind that if I get my way, the system partition won't be /system anymore ;)17:09
ograrsalveti,, hmm17:09
ograslangasek, it will always be ... in android ... no matter what you shove underneath it17:09
ograand we will always need that dir in ubuntu17:09
mhall119ogra: rsalveti: I'm going to be filing some bugs about nexus 7 functionality, do we have device-specific tags on Launchpad ?17:10
ograunder /system ...17:10
rsalvetimhall119: not yet17:10
ogranot necessarily a partition indeed17:10
=== Pinkpony is now known as Guest47906
=== tiagoscd is now known as Guest15290
rickspencer3oh geez17:10
mhall119rsalveti: would you prefer common name od code name? "nexus7" or "grouper"?17:10
rsalvetimhall119: grouper17:10
ogra++17:10
mhall119will do, thanks17:10
* rsalveti needs go grab some food17:10
=== Guest15290 is now known as tiagoscd
rsalveti*to17:10
ograto go ? :)17:10
rsalveti:-)17:11
slangasekogra: right.  But if we're putting Ubuntu on the system partition already, we may just blat the hardware-specific bits onto the same filesystem in their separate directories, and there wouldn't be any 'cp -a' involved anymore - just a couple of symlinks17:11
ograsure17:11
ograi'm still not convinced it is a good idea to touch the partitioning though17:12
ograbuut loop mounting doesnt seem to be the solution either17:12
ogra(waiting for gnex test results though ... but i expect them to be much worse ... gnex is essentially a panda and i know how badly live images suck on pandas)17:13
ogra(though that involves a squashfs additionally)17:13
stgraberyeah, at least in our case it'd be ext4 partition file on ext4 partition which should be pretty different from squashfs partition file on vfat17:14
stgraberwe'd be skipping the compression part of squashfs at the very least17:14
LokiScarletHi. Nexus 4, raring, installed using zips in CWM. Where do I go in the UI for settings and shiz?17:15
ograstgraber, right, but i'm still not convinced17:15
stgraberogra: well, the thing is, we don't have many choices there. We need separate storage so we can deal with updates and have the system read-only. So we either resize the existing partitions to accomodate that or we need to use loop mounts.17:16
ograLokiScarlet, only from the top panel atm ... the settings UI is designed but not done yet17:16
stgraberboth solutions have their own problems, but we'll need to pick one of the two for each piece of hardware we have17:17
LokiScarletThanks.17:17
ograstgraber, well, i'm strongly against changing partitions17:17
ograusers wont be able to revert to android17:17
stgraberand the sooner we do that the better, because it's going to need a bit of work and it's currently preventing some work from being done (image based upgrades)17:17
ograand as long as we dont have a factory device we shouldnt touch it17:18
ograstgraber, on devices where we cant touch the part table at all we will have to use loop anyway17:18
stgraberwell, that's not true, they'd be able to restore Android just fine, they'd just end up loosing around 1GB of their userdata partition (or a bit more depending on device)17:18
ograno matter what17:18
ograso i guess thats the one thing we need to implement now17:19
stgraberI don't see why Android would refuse to boot if its system partition is twice the usual size17:19
ografastboot will fall over17:19
ograwhen flashing17:19
ograhas nothing to do with booting17:19
ograthe img files have the excat partition size inside17:19
ogra*exact17:20
ograso the user would have to change the partitioning back to the original setup ...17:20
=== Stskeepz is now known as Stskeeps
stgraberah, yeah, that's a bit annoying then. We'd have to provide a binary in Ubuntu to restore the partition table and reboot into fastboot17:20
ograwhich is quite an advanced task17:20
ograsince it differs by device17:20
stgraberslangasek: ^17:20
ograand even by device model17:20
ograi think we should go with the same setup everywhere and not have two17:22
slangasekhmm, and I suppose fastboot would be the preferred method for restorting android, wouldn't it17:22
ograonly if we ship factory images we should touch partitioning17:22
ograslangasek, depends on the device17:22
stgraberslangasek: yep, that's what Google provides in their factory images...17:22
stgraberslangasek: so based on what ogra's saying, trying a restore would essentially brick the phone (or fail if you're lucky)17:22
slangasekok.  So, *if* we repartition, we need to have provisions for rolling this back17:23
ograright17:23
slangasekogra: oh, but wait; you don't fastboot restore the userdata partition17:23
ograi would keep the partitoning option for factory only17:23
slangasekwhich is the only partition that's becoming smaller17:23
ograand not have two ways for the non factory setups17:23
slangasekso you should be able to fastboot an undersized image onto the expanded system partition with no problems17:23
ograyeah, userdata might just be formatted17:24
slangasekit just wouldn't be resize2fs'ed to use the full partition17:24
slangasekso I think this is not actually a problem either17:24
slangasekthough I can do some more real-world testing if you like17:24
ograso you wouldnt change /system but /data then17:24
stgraberwe're currently growing /system and shrinking /data17:25
stgraberso as long as fastboot allows flashing to a bigger partition, we're fine17:25
ograwell, just leave /system alone as is17:25
LokiScarlet... That reminds me, I actually tried formatting the user data... Had to reinstall so I went for Raring after that number17:25
stgrabernope, we can't do that without creating new partitions and we certainly don't want to do that17:25
ogralet it be what it is ... shrink /data and grab 2-4 G for /17:25
LokiScarletI don't like being this lola person ^_^17:26
slangasekLokiScarlet: "lola person"?17:26
ograstgraber, why not ?17:26
ograslangasek, lola chang is in the demo contacts :)17:26
slangasekogra: ah17:27
LokiScarletslangasek: Whoever has these contacts and messages when you install touch17:27
ograLokiScarlet, see the release notes wikipage17:27
slangasekogra: I don't think leaving the system partition empty and stealing all 2GB from the userdata partition is safer17:27
ograit has instructions how to get rid of that17:27
LokiScarletThaaaaaaank youuuuuuuuuuuuu17:27
ograslangasek, i didnt say empty17:27
ograslangasek, leave it be what it is17:27
ograandroids /system17:27
ograthat way fastboot wont have issues for flashing to it17:28
stgraberogra: well, we'd waste whatever space is already allocated to system and we'd risk causing bigger changes to the partition table which may cause problems with the bootloaders/android17:28
slangasekogra: mmm.  possible.  Still, I think we can make better use of the available space, without exposing users to any risk.17:28
=== psivaa is now known as psivaa_AFK
Utohi there17:28
slangasekI think the resize is safe17:28
ograwhat "available space" ?17:28
ogramy /system on maguro is 600M17:28
slangasekogra: the system + userdata partitions17:28
ograthere is not much wasted space here17:28
Utosomeone can tell me why I stuck at blackscreen please?17:28
slangasekthe "available space" on the disk that is allocated for the OS + data17:28
Utohttp://pastebin.com/qtSgvUs517:28
kenvandinepopey, can you add plonk to the collections meta package?17:29
stgraberogra: right, and around a GB on nexus4, that's not negligible on a 8GB device, so re-using it to make a bigger system partition is definitely worth it17:29
slangasekright - these aren't huge disks17:29
slangasekI think we do care about not letting 600M, or 1GB, go to waste17:30
stgraberogra: what slangasek is doing is grow /system from 600MB to 2GB and shrink userdata by 1200MB to make this possible. Partition numbers don't change, only the start/end offsets do17:30
ograwell, but that means 80% of our porters wont be able to use that setup, all users that just try ubuntu will have to be handled special with a rollback mechanism etc17:30
stgraberwhich is a far smaller change to the table than shrinking + adding partitions17:30
slangasekogra: the need for this special rollback mechanism is unproven17:30
* ogra would prefer if we went with loop for the public images and do the partition dance only on factory17:30
slangasekas I said, I expect fastboot to have no problems blatting an undersized image onto a partition17:30
stgraberslangasek: well, it's quite likely that people won't like loosing 1.2GB of usable storage just because they tried Ubuntu17:31
ograinstead of having to implemet two ways right now17:31
slangasekogra: that would mean a completely different and untested boot layout for the factory17:31
ograslangasek, we can test it on the n4 i supppose17:31
ograi just wouldnt ship two setups17:31
slangasekstgraber: sure; in that case we can factor in the partition resizing rollback17:31
slangasekI guess we would want to stash the original partition geometry in the recovery partition or something?17:33
ograor in the cache one17:33
stgrabercache is between system and userdata on the nexus4 so probably not the best place to store that data on (as it's likely to be re-formated in the resizing process)17:34
* ogra still doesnt like that we have to implement two completely different things ...17:34
stgraberogra, slangasek: anyway, let me update yesterday's pad with what I think are the next steps so we can hopefully move forward with that stuff17:34
slangasekogra: well, I think we can minimize the differences... use loop devices on the generic ports, use raw partitions on the supported devices... that at least gives us alignment on the initramfs17:35
ograslangasek, we need to do two different builds ...  will have to handle different bugs etc etc ... and it costs extra time we are getting short of17:36
ograonce we have a vendor we can dedicate someone to implement the partitioning stuff and extra builds etc ... havving support for both in the initrd already might make sense though17:37
ogra(i assume factory builds wouldnt come from cdimage anyway)17:38
slangasekogra: I am frankly more concerned about the many potential bugs resulting from the current differences between the touch rootfs and the standard ubuntu rootfs.  mountall is still not working right, and I'm not enthusiastic about trying to make all this work right with the current model17:39
ograto me it seems like we're splitting effort where we need all hands on deck already17:39
ograslangasek, mountalll works as defined in the blueprint (adding an override for fsck in fstab for /dev/root so /lib/init/fstab doesnt kick in) ... plymouthj is our issue17:40
ograsystem. data and vemdor are alll automounted by mountall in the latest flipped image17:41
slangasekogra: no, mountall is not working correctly here17:42
ograi didnt see any complaints from it in the logs either ...17:42
ograslangasek, whats wrong then ?17:42
slangasekthat's because mountall doesn't log anywhere useful by default17:42
ograah, i would have expected something in either dmesg, syslog or the upstart job log17:43
slangasekby default, mountall logs everything to plymouth ;P17:43
ograheh17:43
slangasekbut if you edit /etc/init/mountall.conf to run with --verbose, and disable 'console output', you'll get some interesting stuff in /var/log/upstart/mountall.log17:43
* ogra will try 17:44
ograi assume it doesnt like to have / on a bindmount17:44
stgraberogra, slangasek: bottom of http://pad.ubuntu.com/ubuntu-touch-fs-structure17:44
ograbut either of the above discussed stuff will fix that17:44
slangasekmountall: root filesystem isn't mounted17:45
slangasekso it's possible that's not hurting anything17:45
slangasekbut it doesn't make me comfortable17:45
slangasekas for fixing that ... having the system partition be an Ubuntu rootfs would fix it17:45
ograyeah, thats surely the bind mount17:46
slangasekstgraber: hmm, what about the pad?17:47
stgraberslangasek: yeah, the loop mount should fix that as /dev/loop0 will be the rootfs, so as / will be backed by a block device, mountall should be happy17:47
slangasekwell17:47
stgraberslangasek: I added a "proposed implementation" section, detailing what I think we should do at the moment to support both setups and what are the changes for all the bits I can think of17:48
slangasekright17:48
slangasekso I don't think it makes sense to move to *just* the loop mount configuration, given the performance penalty17:48
* ogra just got some kebab on his lap ... 17:49
ograback in a few ...17:49
slangasekI think this is all worth doing only if we're preferentially implementing/supporting the native partition approach17:49
stgraberslangasek: sure, we should support both, though I think my updated proposal should limit the performance issue by quite a bit as only the base system will be loop mounted and will be read-only so should cache pretty well17:50
stgrabereverything else is bind-mounts straight from the data partition (that we'll have to mount --move to /data so we don't end up with the same mess we have at the moment)17:50
slangasekah, did cking say we're ok for read-only performance?17:51
rsalvetistgraber: slangasek: ogra: also, remember we can't rely on fastboot necessarily17:51
rsalvetiwe're also supporting phones that are not fastboot compatible17:51
rsalvetiand changing partition might break the proprietary method to flash the devices17:51
rsalvetiif they are not creating the partition table and formating the filesystem properly when flashing the device17:51
slangasekrsalveti: we're only proposing to change partitions on our "supported" devices, and only if we can demonstrate that it works: so mako maguro grouper $otheroneiforgot17:52
rsalvetiso it's quite scary to change partitions17:52
slangasekrsalveti: and for products I assume we have control over the partition table from the factory17:52
rsalvetiright, but how shold we apply to the rest of the other devices?17:52
rsalvetipeople doing ports?17:52
slangasekrsalveti: that's the loop mount fallback17:52
rsalvetihm, so we'd need to support both17:53
rsalvetistgraber: is there any file system that we could put at /data that would reduce the side effect of loop mount files?17:53
slangasekyes - hopefully with minimized differences between the support requirements for the two...17:53
rsalvetithat sounds painful17:54
stgraberslangasek: no, he didn't say that, however his biggest concern with the loop mount idea was data corruption which should be reduced by not having writeable loop mounted partitions. The read speed results are rather odd to be honest with mostly good speeds except for a couple of runs that had awful speed.17:54
ograrsalveti, ++17:54
rsalvetiand the problem is that we'd only test the option we're using17:54
stgraberslangasek: also, read speeds of > 500MB/s on a mobile device suggests it was reading from cache (that or we have 6Gbps access to the flash which sounds surprising)17:54
ograespecially since it's an eMMC17:55
rsalvetiyup17:55
ogragetting more than 30M/s would be surprising17:55
rsalvetiyeah17:55
slangasekrsalveti: so to my mind, we're going to end up supporting two options no matter what once there are phones shipping - because I don't see us wanting production devices to have the OS on the userdata partition17:56
slangasekrsalveti: do you agree?17:56
ograand the loop mount is apparently bad at reading ...17:56
ogranot at writing17:56
ograso redonly wont change anything i suppose17:56
stgraberrsalveti: I personally would expect the overhead to be minimal if we only have the read-only system partition loop mounted from userdata and that it's written in one big continuous file (no fragmentation)17:56
rsalvetislangasek: right, but who and how we're going to test without the repartitioning option?17:56
stgraberogra: well, that's the part I'm not sure of, would have to talk to cking but his measurements are way higher than what we should be getting on flash17:57
ogradefinitely17:57
ckingstgraber, i guess we need to test I/O patterns that are not getting cached with something more exhaustive, like bonnie++17:58
slangasekrsalveti: well, my point is that if we're going to have two different layouts anyway by the time we get to the product stage, it's better to get our "preferred" layout as close as possible to production now, not wait until later; and to minimize the differences between what we're supporting17:58
stgraberogra: they are in MB/s so that kind of speed suggests he was testing the cache, not the actual partition, so therefore those measurements are meaningless. The write ones look reasonable and the few slow read ones look reasonable too. I just think that any > 100MB/s was from cache and so should be discardded.17:58
slangasekrsalveti: as for who would do the validation of the loopback option, if it exists for community ports, shouldn't that be a community validation?17:58
stgrabercking: right, that or flush the cache between the tests? (echo 3 > /proc/sys/vm/drop_caches IIRC)17:58
ogracking, dd woth cache disabled should do as well17:58
ogra*with17:58
stgrabercking: anyway, I was mostly interested in the power and write impact myself, so those measures I believe were correct and look reasonable to me17:59
rsalvetislangasek: right, but I just want to avoid people having issues with the ports just because we don't test or validate if we're breaking that option17:59
ograslangasek, first someone needs to do the implementation ... and create these special images etc17:59
rsalvetithat's why I'd prefer if we could use a common solution at least initially17:59
ograand we'd have the community getting totally different bugs18:00
ckingstgraber, yep, I was more concerned with the overhead in terms of power, but we can repeat the tests with larger file I/O and different tests if required, it's not a big deal to re-measure18:00
stgraberrsalveti: so the only change would be mounting /dev/mmcblk0pX instead of /dev/loopX, if we have any other code difference between the two setups it's because we badly implemented it18:00
rsalvetistgraber: right18:00
slangasekogra, rsalveti: I'm confident we can minimize the bug surface with a proper design.  But I think ogra's last comment is my cue to stop discussing it now, and go off and try to implement something sane ;)18:01
stgraberoh, unless we want to have mountall mount the data partition instead of the initrd, in which case we'd indeed have a pretty different booth path18:01
ograstgraber, as i said above ... we need different images, different install methods and users will have different bugs we cant reproduce easily18:01
rsalvetislangasek: right, as long we do the implementation and review it properly, I'm fine18:01
rsalvetiand if we would need the loop solution anyway, I'd go and implement that first18:02
ogra++18:02
rsalvetiand it seems easier18:02
slangasekogra: oh, coming back around to ueventd vs. udev, I'm not sure we converged on a solution yet18:02
* ogra would go with loop only as i said in the beginning18:02
slangasekI think we still want ueventd to go first18:02
stgraberwell, Steve's is actually easier as long as you aren't scared of using gfdisk on a phone ;)18:02
ograso make udev start on started lxc-android-config18:03
stgraber(which I tend to be with pieces of hardware where I can't pull the disk and fix the partition table by hand)18:03
slangasekogra: that doesn't delay it long enough18:03
ograslangasek, i know it isnt 100% reliable ...18:03
slangasekwe need it to start after ueventd is *done*18:03
slangasekit's not even 50% reliable18:03
rsalvetislangasek: would that solve the nack problem?18:03
rsalvetior udev would still nack firmware requests?18:03
ograwe can implement something in init.rc that sets a parker once init.rc is done18:03
rsalvetilater on18:03
ograthats the only idea i have18:03
ogras/parker/marker/18:04
slangasekrsalveti: TTBOMK, the firmware requests will not get handled again by udev18:04
ograbut that will only tell you when androids init is finished18:04
stgraberslangasek: want me to quickly implement the loop mount setup, then you can use that but dd my system.img to your system partition and look at what needs changing to have it working for you too?18:04
slangasekstgraber: sure, go for it18:04
stgraberrsalveti: btw, any hope of patching Android's init not to mount partitions? it's creating quite a bit of a mess on my device with it trying to mount everything. I'd much rather have Ubuntu mount the partitions and LXC bind-mount them before starting the container.18:05
ograstgraber, that will be hard to do since we would have to inject device specific fstabs into the ubuntu root18:06
rsalvetistgraber: do you want to remove all the mount requests?18:06
rsalvetiright18:06
ograyou could just drop fstab from android18:06
ograto prevent it mounting18:06
slangasekogra: doesn't the container already fail to mount anything due to permissions?18:06
stgraberslangasek: nope, we don't have apparmor, so it's unfortunately allowed to do whatever it wants at the moment18:07
ograit usually just calls "mount /$mountpoint" in eth init scripts18:07
slangasekstgraber: ah18:07
ograslangasek, it mounts its partitions just fine18:07
ograand i sanitized that bit a lot over the last days18:07
rsalvetistgraber: only partition I see there we could not make android mount is /data18:07
stgraberogra: for a definition of "just fine" that currently makes my / become read-only and the kernel complaining quite a bit (data corruption)18:08
rsalvetistgraber: there are device specifics and also /system, /modem, /cache and such18:08
ograstgraber, on todays flipped image from cdimage ?18:08
stgraberogra: yep, that image gets me a read-only root and no container running18:08
ograon maguro ?18:08
rsalvetithat's weird18:08
ogra(i have no mako to test)18:08
rsalvetiour fstab should be mounting /data with ro18:09
rsalvetiops, rw18:09
stgraberrsalveti: right. So at the very least we want to prevent it from mounting /data, /system and /cache. The rest I don't really care about18:09
stgraberogra: mako18:09
ograit definitely works for a few people i spoke to today18:09
stgraberogra: I don't have maguro here18:09
rsalvetistgraber: why not mounting /system and /cache?18:09
rsalvetiwe're not using such partitions anyway18:09
ograstgraber, note that todays image has a bug that requires you to boot twice after the first install18:09
stgraberrsalveti: we use /cache for our updates, so we need it on the Ubuntu side and /system will be the Ubuntu rootfs or will be unused so we don't want it mounted18:09
rsalvetirootfs under /system?18:10
ograheh18:10
rsalvetiwe can't unless we redo the partition18:10
ograthats what they plan18:10
rsalvetiright, let's just do the loop mount solution under /data for now18:10
rsalvetiwhat is the problem with that?18:10
* ogra is laughing his butt off ... seeing rsalveti as shocked as i was in the beginning18:10
ograrsalveti, performance18:11
rsalvetiare we increasing the size of /cache as well?18:11
ograbut i'm fully in the loop camp as well here18:11
ograi think repartitioning isnt a good idea18:11
rsalvetiright, +118:11
rsalvetiwe should go with steps, first have the loop based solution working, and then we can try to repartition with some devices18:12
ogra++18:12
rsalvetiand have both solutions as supported by our install && upgrade methods18:12
ograi was even suggesting to keep the repartitioning only for factory18:12
stgraberso, my expectation is that the Ubuntu rootfs will contain /var/lib/lxc/android/rootfs which will contain what's currently in the Android initrd AS WELL AS /var/lib/lxc/android/rootfs/system/ which is what we currently have in the Android system partition18:12
stgraberthose won't come from the generic rootfs tarball but from a separate tarball which is stacked on the first18:12
* ogra got that by now ... after two days of discussion18:13
stgraberso we don't need to mount /system in the container as it's already there18:13
rsalvetiright, but we could18:13
ograwe need to have full read access to /system from ubuntu18:13
stgraberwe'll mount a tmpfs to /cache as we don't need persistence in there and we actually need the real cache partition for our updates in Ubuntu18:13
ograas well as the included /vendor18:13
stgraberand we'll bind-mount a sub-directory of the real /data as Android's /data18:13
ograand links didnt work when i tested here18:13
ograthey need to be real bind mounts18:14
ogra9at least soft links didnt)18:14
=== mmrazik|afk is now known as mmrazik
stgraberogra: that didn't work because Android was mounting the partitions18:14
ograno18:14
stgraberogra: if we mount the partition in Ubuntu and bind-mount them within the container, it'll work18:14
ograwe mount the partitions way before android18:14
rsalvetiwhat is the problem with having android image flashed under /system?18:14
stgraberogra: as they'll be visible under /var/lib/lxc/android/rootfs as standard mount points18:14
ogramountall does18:14
rsalvetias that would be way easier for people doing ports18:14
ograrsalveti, we might lose a few 100M18:15
stgraberogra: then Android mounted it again creating a huge mess, yeah, that's what I'm trying to fix18:15
rsalvetiogra: why?18:15
ograthats the cobncern i heard from slangasek at least18:15
ogratsimpson, because /system isnt 100% full ?18:15
ograno idea18:15
ograerr18:15
ograsorry tsimpson that was for rsalveti18:15
rsalvetiright, but we don't care about /system18:15
rsalvetiunless we're doing the partitions again18:15
ograstgraber, androids mounts shouldnt even be vsible to you18:16
ograi dont get that here18:16
ograstgraber, are you soure you completekly wiped /data before trying todays image ?18:16
ogranone of that should happen18:16
=== yofel_ is now known as yofel
stgraberogra: the problem is that you're not allowed to mount the same block device twice. The kernel apparently is very confused when that's done in a container and let you do it anyway, which means /dev/mmcblkX is mounted twice in two different namespaces and read-write in both, which means very likely data corruption and similar mess18:17
rsalvetimy solution would be having android flashed under /system (at least for now, and supporting that as an option for later), removing /cache and /userdata from android fstab, and doing the ubuntu rootfs with loop mount files under /data18:17
ograstgraber, except /data nothing is mounted rw anywhere18:17
* ogra wonders if stgraber really tested the right image ... i have no complaints at all anywhere 18:18
ograi can imagine to see data corruptiion if both would write to the same place in /data, but that cant happen at all18:18
stgraberogra: right, and when Android attempts to mount /data in the container that fails, the kernel remounts it read-only and as my / comes from /data, my / becomes readonly18:18
ograhuh ?18:18
=== racarr_ is now known as racarr|lunch
ogra /data is definitely mounted fine here in both OSes18:18
rsalvetistgraber: that we can easily remove18:19
stgraberogra: yes, and that's a bug, that shouldn't be possible and is very very bad18:19
rsalvetibut android would need a /data which is rw18:19
ograand since android will never write to /data/ubuntu nor will ubuntu write to a toplevel dir in /data we should be totally safe18:19
rsalvetieither a directory, mount loop as well or partition18:19
rsalvetiremember we have blobs writing stuff under /data18:20
stgraberogra: ext doesn't support being mounted more than once at any given time, if you do that, you're going to eventually mess with the journal or have both try to write the same block at some point18:20
ografrom the ubuntu side ?18:20
ograstgraber, right, so the loop mount will fix that for /data ... i still dont see an issue for /system18:20
ograsince thate readonly everywheer18:20
ogra*thats18:20
ogra(and i still dont get whats wrong with your image ... )18:22
stgraberogra: well, in slangasek's case, the system partition won't quite contain an Android system, so letting Android mount that sounds like a bad idea. It's much simpler to simply have the tree under /var/lib/lxc/android/rootfs/ already contain the system directory. That way, no need to mount it, it's perfectly readable from Ubuntu and everyone is happy18:22
rsalvetistgraber: so if we remove /system, /data and /cache from the android specific fstab, how should we mount them from the ubuntu side? we'd need to have hw specifics even if we want to boot with the loop mount option (which we don't care about /system)18:22
stgraberrsalveti: so /system would be part of the Ubuntu rootfs partition, no need to mount that one then. /data is already mounted from the initrd so we'll have the logic there. Only missing one is /cache which we may also mount from the initrd if easier.18:24
stgraberI have a feeling slangasek will disagree with me there, but I think we should mount all the partitions from the initrd and only have mountall deal with the bind-mounts18:24
rsalvetistgraber: in the loop mount case /system is not going to be used, right?18:24
slangasekogra: I have several concerns here: - inefficient use of available (limited) disk space; - OS on read-write filesystem (even if there's a loop-mounted ro image) increasing risk of corruption, etc; - the filesystem heirarchy is very different from standard Ubuntu, increasing the risk of touch-specific bugs in the foundations layer18:24
stgraberrsalveti: correct. We won't touch it and won't mount it (so we'll waste it but at least we'll be consistent with the non-loop setup)18:25
rsalvetistgraber: so the device specific boot.img would need the device specific fstab to be consumed there, and mounted during boot18:25
ograslangasek, i agree about /data .... i dont get the /system bit and would expect android to actually have picked the /system size carefullt already18:25
stgraberrsalveti: right, my though is that we should only be mounting physical partitions from the initrd as the bootimg is already hardware specific, so it doesn't hurt hardcoding them in there18:25
rsalvetiotherwise there's no easy way to know where the partitions are18:25
stgraber*thought18:26
rsalvetiright18:26
ograslangasek, as i suggested way up ... just shrink /data and split it in two ...18:26
rsalvetithe size of /system would only work for android, most of the times18:26
ograwe wouldnt even need to touch the anroid fstab18:27
ograyeah18:27
rsalvetistgraber: so I'd agree to move fstab from android to our boot.img, and have that mounted during boot18:27
rsalvetithat wouldn't cause us any issue18:27
ogratouching /system seems really unneeded18:27
slangasekstgraber: actually, I don't disagree with you; I hadn't made up my mind about whether the initramfs or mountall should be responsible for mounting, but certainly for the loop-mount case, the initramfs is gonna have to have some smarts18:27
ograrsalveti, except that we use totally different mount oprions most likely18:28
ogra*options18:28
rsalvetiogra: that's true18:28
slangasekogra: android has picked the /system size carefully for android, not for Ubuntu, and we aren't installing a full android on it.  And again, I think resizing system is safer than splitting userdata.18:28
stgraberslangasek: ok. I think we should have the initrd always mount all the partitions we need, in both setups. As we unfortunately don't have a reliable way of figuring out what partition is what on all devices (labels are great but unfortunately they aren't identical on all devices...)18:28
ograslangasek, does it ? i think loop mounting is supported ootb18:28
slangasekogra: loop-mounting a root filesystem is supported in initramfs-tools?18:29
slangasekthis idea scares me :)18:29
ograi think so, yes18:29
rsalvetistgraber: android ships a device specific fstab per device, as they don't have a rule for label, so there's not much we can do I'd guess18:29
ograthere is mountall code in the local script for it18:29
ograerr18:29
stgraberrsalveti: right18:29
ogramountooor18:29
ograbah18:29
ogramountroot18:29
Utoplease can you have a look on this?18:30
Utohttp://pastebin.com/uQt3v7Gh18:30
ograstgraber, even the labels differ18:30
stgraberogra: isn't that what I just said? :)18:31
ograstgraber, well, i didnt see your sentence above :) ... was correcting my typos18:32
rsalvetistgraber: so we only need to remove /system, /data and /cache from android's fstab, the rest can still be mounted by android, right?18:32
ograyou can easily find them by looking at the mountpoints in fstab18:32
ograoh, definitely18:32
ograeach device has device specific mounts you dont want to rip out18:33
stgraberrsalveti: yep, I expect the rest to be safe as we won't mount them in Ubuntu18:33
ogramaguro has a habndfulll of things under /mnt18:33
ografor example18:33
rsalvetistgraber: ok18:33
rsalvetichanged the pad to state that18:34
* stgraber is almost done generating his new system.img file18:34
stgraberogra: is there a tool I can use to convert saucy-preinstalled-touch-armel+mako.zip into its filesystem representation (equivalent of /system)?18:36
stgraberogra: or do I need to parse updater-script myself and apply all the changes by hand (would be a bit annoying)18:37
rsalvetistgraber: would probably be better to use the system.img file18:37
ograunzip it :)18:37
=== eXtremo_ is now known as eXtrmeo
=== eXtrmeo is now known as eXtremo
ograright, that contains the img18:37
rsalvetistgraber: that should already have all the modifications done by the updater-script18:37
stgraberrsalveti: sure, I would if I had it :)18:37
ograand that you can just loop moont18:37
rsalvetistgraber: you can grab from jenkins I guess, let me check18:37
ograstgraber, pull it from cdimage18:37
ograubuntu-touch-preview has it18:38
rsalvetitrue18:38
stgraberogra: ah, ok, will do that then. Wasn't sure it'd be identical to the .zip18:38
ogra(vs ubuntu-touch which is the flipped img)18:38
rsalvetiguess that's used with phablet-flash -b18:38
ograyeah18:38
rsalvetiindeed18:38
rsalvetistgraber: then just consume from the img18:38
stgraberyep, doing that now, much much simpler ;)18:39
stgraberI'll have to talk with ogra about producing shiny .tar.xz for all those bits, but the current .tar.gz and .img are easy enough to convert (unpack + repack)18:39
sergiusensstgraber: it is... it should be identical18:39
sergiusensrsalveti: look at my MR! :-)18:40
sergiusensrsalveti: I want to rebuild saucy ;-)18:40
stgraberstgraber@castiana:~/Desktop/phablet/fs/tmp$ sudo mount -o loop -t ext4 raring-preinstalled-system-armel+mako.img android/18:40
stgrabermount: wrong fs type, bad option, bad superblock on /dev/loop1,18:40
stgraberogra: ^ you lied! ;)18:40
rsalvetisergiusens: sure, sorry, long discussion about repartitioning the device and such :-)18:40
stgraberogra: is there some kind of padding I need to skip?18:41
rsalvetihm, I think you need a step before that18:41
ograstgraber, hmm, you probably need simg2img from android-tools-fsutils18:41
rsalvetiyeah18:41
rsalvetiexactly18:41
sergiusensrsalveti: yeah I am following... didn't want to add a 5th nagger18:41
=== Ursinha is now known as Ursinha-afk
stgrabermuch better, thanks18:41
rsalvetisergiusens: your new mountall.override is the same from the one from the previous mountall package, right?18:42
sergiusensrsalveti: yeah... pulled it from maguro/raring tbh :-)18:42
rsalvetisergiusens: don't you need to install the file?18:42
ograheh18:43
ogradetails18:43
rsalvetior are we copying all overrides already?18:43
rsalvetibranching to see18:43
sergiusensrsalveti: look at the install rule18:43
rsalvetigood18:43
rsalvetisergiusens: happroved18:43
sergiusensrsalveti: great, image #2 will have everything but NM... unless we just do a bin copy for now18:44
ogramight not help18:44
rsalvetisergiusens: depends on cyphermox_18:44
ograsaucys NM is newer18:44
rsalvetiwe might need to bump the version18:44
rsalvetiyeah18:44
=== Ursinha-afk is now known as Ursinha
ograslangasek, stgraber FYI my mountall log http://paste.ubuntu.com/5736624/18:49
ogra(and there are no complaints anywhere else in other logs i can find)18:50
ograi did actually put quite some effort into reworking and testing that yesterday18:50
slangasekogra: really?  so you get no warning about root not being mounted?18:50
ogranope18:50
slangasekogra: perhaps I need to pull a new version of the image18:51
slangasek(will do that shortly)18:51
ograwipe /data i'm not sure the zip does clear up everything18:51
ograand you will be booting to a black screen on first boot (already fixed for the next image, just waiting for unity8 to land for a respin)18:52
ograsecond boot is fine then18:52
slangasekok18:52
ograthats on maguro though18:52
ogranot sure if mako will behave differently18:52
ogra(according to stgraber it does)18:52
sergiusensogra: slangasek the zips don't touch /data in a damaging way18:52
=== racarr|lunch is now known as racarr
slangaseksergiusens: I'd be more concerned about wrong stale data left behind in /data that needs to be purged18:53
ograsergiusens, it doesnt wipe /data/ubuntu ?18:53
* ogra didnt check the code yet 18:53
slangasekogra: so as of the last update I applied (yesterdays, I think?) mako is not booting to the UI at all for me18:53
ograi thought i saw a "mv ubuntu_tmp_unpack ubuntu"18:53
sergiusensogra: slangasek stuff saved in /data/ubuntu is limited to ofono, /home/phablet, /etc/NetworkManager/system-connections18:54
ograslangasek, yeah, thats fixed18:54
ograslangasek, that was the oom bit18:54
sergiusensogra: yeah and if i succeeds it replaces the prev /data/ubuntu18:54
ograwhich teared down ubuntu-session18:54
slangasekogra: no, I fixed the oom bit locally18:54
slangasekqml-phone-shell was segfaulting for me18:54
ograah, you also had udev issues18:55
ograthese should be fixed too18:55
ograso you get the right device permissions for the graphics stuff18:55
stgraberalright, I'm done with all my changes now, let's see if I can get my phone to boot that stuff18:55
slangasekogra: no, the device permissions were correct18:56
slangasekI had the version of the image that already included those udev fixes18:56
slangasekand that was the image that *didn't* work for me18:57
stgraberI basicaylly have one system.img file containing the rootfs, an unpacked copy of the Android initrd in /var/lib/lxc/android/rootfs, an unpacked copy of the Android system partition in /var/lib/lxc/android/rootfs/system, I removed the LXC pre-start script, removed the 60*v4l* udev rule, added an LXC fstab to mount the cache and data partition in Android, disabled those in the Android fstab and updated the initrd to do the loop mount and then18:57
slangasekthe one *before* those changes is the one I was able to get booting to shell after adjusting the dev perms18:57
ograhmm18:57
ograi would love to have a mako i can play with ... damned18:57
slangasekogra: well... since you don't currently, let me boot the latest image and see what I can see18:58
ograyeah18:58
slangasekgrr, what is this stupid 'download mode' the n4 keeps putting itself in when I boot it while connected over USB?19:00
stgraberslangasek: it's annoying, isn't it. You need to press the two buttons right after the phone vibrates. If you do it before, you get that download mode stuff.19:01
stgraberslangasek: (I just gave up and unplug my nexus4 before rebooting into the bootloader ;))19:01
* ogra thought you always get the DL mode when only pressing vol dn19:01
ograat least it is like that on most android devices i have here19:01
sergiusensogra: fyi I linked your lp:~phablet-team/session-manager-touch/trunk branch to trunk19:02
ograthanks19:02
=== Stskeepz is now known as Stskeeps
ograi kind of got desparately lost in LPs UI yesterday when trying that19:02
stgraberogra: mako seems a bit special in that regard. If you hold all 3 buttons you get into DL mode. So you need to press the on button for 2s, then press up+down to get to the menu19:02
ograintresting19:03
stgraberpushing 2GB over adb is slow... Looking forward to having our own upgrader and being able to push .tar.xz instead ;)19:03
ograthat wont make the USB connection faster19:03
stgraberno, but will make the file to push smaller19:04
ograheh, yeah19:04
ograwhy didnt you produce a tar.xz ?19:05
ograpushing it uncompressed seems like a waste19:05
ogra(or at least a gz, not sure recovery ships xz support)19:05
stgraberI could have, but I was lazy and so just created the 2GB large system.img directly on my laptop19:06
stgraberanyway, finished now, 7MB/s isn't too bad I guess19:06
stgraberalright, all flash now, let's see what happens19:07
stgraberstgraber@castiana:~$ adb shell19:07
stgraberroot@ubuntu-phablet:/#19:07
stgraberfirst time around!19:07
ograis the shell up ?19:08
ogradoes rild work ?19:08
stgraberhmm, / is read/write, that wasn't expected. I guess mountall tried to be clever there and remounted it19:08
* ogra never doubted that you can get ubuntu to boot ... 19:08
sergiusensogra: https://code.launchpad.net/~sergiusens/session-manager-touch/unity8/+merge/16762219:08
stgraberogra: well, I'm surprised I managed not to mess up my changes to the initrd ;) that's a loop-mounted boot + a bunch of bind-mounts19:09
sergiusensI guess it's useless, but it was incorrect :-)19:09
ograsergiusens, oh ! thanks19:09
ogradefinitely19:09
ograi thought i had grepped ... seems i didnt19:09
=== Stskeepz is now known as stskeeps
ograstgraber, well, you only see if the bind mounts worked once you see the shell and rild working19:10
ogra(admittedly my image only got one of that done yet either)19:10
ogragetting the design implemented isnt the issue ... making sure android gets along with it is19:10
awe_ogra, rild *isn't* android, it's a proprietary blob that android uses19:11
awe_;D19:11
sergiusensogra: unity8 built btw19:11
ograsergiusens, \o/19:12
=== dobey_ is now known as dobey
ograawe_, nah its a proprietary blob designed to make developers commit suicide as i understood it19:12
slangasek[    6.839829] kgsl kgsl-3d0: |_load_firmware| request_firmware(a300_pm4.fw) failed: -219:13
slangasekogra: ^^ so that's about what I was expecting to see; kgsl asks for the firmware and udev doesn't have it.19:13
ograas it shouldnt19:13
ograhmm19:13
slangasekbut before even when I addressed that problem, I was still getting segfaults from qml-phone-shell19:13
ograthats from dmesg right ?19:14
slangasekyes19:14
ograso how do you know its udev ?19:14
slangasekbecause when I adjusted the system so that udev could see the firmware, the error went away? :)19:14
ograheh19:15
slangasekstgraber: +1 on adb shell -> /bin/bash :-)19:15
ograyeah19:15
ogra+100 for that19:15
stgraberslangasek: do you know what would trigger a remount of / read/write at boot? My fstab is empty yet it's still happening.19:15
slangasekogra: also, there's systemd-udev stuff earlier in the log19:15
ograi urgently need to find some time to test lool's adbd package19:16
slangasekstgraber: mountall may have some internal handling of that19:16
stgraberslangasek: know of any way to prevent it from doing that?19:16
ograstgraber, edit /lib/init/fstab19:16
=== stskeeps is now known as Stskeeps
ograadd ro to the /dev/root line19:16
ograit gets processed if there is no entry in /etc/fstab for the mount19:17
slangasekor, add an equivalent line to /etc/fstab, which would shadow /lib/init/fstab19:17
ograyeah19:17
=== mibofra is now known as krabador_sticass
stgraberok, trying that now19:18
stgraberroot@ubuntu-phablet:/# touch /a19:19
stgrabertouch: cannot touch '/a': Read-only file system19:19
stgrabermuch better, thanks19:19
Bzerohi someone speak spanish19:20
=== krabador_sticass is now known as mibofra
=== SkavenXXI is now known as SkavenXXI-[OFF]
stgraberoh, small LXC bug, if the container config dir is read-only, the container won't start... poked hallyn about that one, should be easy to fix19:22
CPCookieIRCHello19:22
CPCookieIRCHaving just a tiny problem compiling Ubuntu Touch, anyone around?19:23
Bzerosomeone now install ububtu touch in galaxy s419:23
Bzero???19:24
CPCookieIRC./home/cpcookieman/UbuntuPhone/out/host/linux-x86/framework/signapk.jar', needed by `/home/cpcookieman/UbuntuPhone/out/target/product/toro/obj/APPS/BIP_intermediates/BIP.apk'.  Stop.19:26
Bzeroanyone know if you can touch can install ubuntu on galaxy s4???19:26
Rowterhello19:26
CPCookieIRCHello rowter19:26
hallynstgraber: where do you want the fix most urgently?19:27
Rowteranyone here have use kyvi with ubuntu and pqlabs multitouch g6?19:27
Rowterhttp://multi-touch-screen.com/product_g4.html sorry. anyone had use this overlay on ubuntu?19:27
stgraberhallyn: saucy19:28
hallynstgraber: ok.19:28
RowterI made it work but it  seems like detecting it like a mouse, it does not work well, any ideas?19:28
CPCookieIRCI obviously need this BIP.apk file, Jean-Baptiste Queru is saying that it's part of the LTE network stack.19:28
folfBzero: have a look here https://wiki.ubuntu.com/Touch/Devices19:29
folfBzero: it's not listed right now, so probably not.19:29
CPCookieIRCBzero: Maybe check xda-developers.com and see if it's unofficially supported.19:29
stgraberrsalveti: so it looks like that even with fstab.mako updated to have system, cache and data commented, Android still tries to mount them and causes a bit of a mess with the data partition19:30
=== rbelem_ is now known as rbelem
stgraberrsalveti: I'm going to try and create fake mount entries in the mount namespace, see if that fixes that19:30
Bzerook thanks if it will tell you19:30
rsalvetistgraber: that's unexpected, as the only way to get the partition id is via fstab19:31
ograslangasek, so if you add an override file for udev and ubuntu-session-touch, you should be able to work around the issue by manually starting them19:31
ograthat should definitely be late enough for the container ueventd to be done19:31
CPCookieIRCMaybe it's just not commented well enough.19:32
=== zumbi is now known as Guest1230
CPCookieIRCThrow in some more ######## maybe some // // // // /* */19:32
CPCookieIRC</sarcasm>19:32
rsalvetistgraber: look with grep if you can find any other file pointing out to /data19:32
rsalvetinot data, but the partition name itself19:32
ogra!devices | Bzero19:33
ubot5Bzero: You can find the full list of devices, official images, community images, and works in progress at https://wiki.ubuntu.com/Touch/Devices19:33
ograBzero, if it is not on the device wikipage you might need to try to port it yourself19:33
ograhmm, where is the bot ?19:34
DarkEragone with the net split?19:34
Bzeroyes will try19:35
ograits not a netsplit ... its DADAism19:35
ograthrowing out lines in the wrong order and all :)19:35
=== yofel_ is now known as yofel
CPCookieIRCBzero, that's not going to be easy. What carrier is your S4?19:36
=== francisco is now known as Guest71674
slangasekogra: actually, what I've done is forced lxc-android-config to run on 'starting udev', and added a 20 second delay to lxc-android-config at the end; but the firmware is still not getting loaded, I think it's because the kernel driver only asks for it on device access19:39
ograhmm, yeah,, that might actually be the difference between mako and maguro ... omap4 has a userspace tool that loads it19:40
slangasekogra: ah - no, the 'sleep 20' isn't working, udev is starting way too early19:40
ogra(which gets run in android )19:40
slangasek[    2.447581] systemd-udevd[159]: starting version 20419:40
ograah19:40
ograwell, i'd start with manual19:41
ograto see if it changes it at all19:41
slangaseksure, I'll see what that gives me19:41
Bzeronot carrier is stock from lta19:41
ogrado you get a black screen or does the google logo stay ?19:41
ograif you get a black screen that means surfaceflinger came up ... which in turn means the device was actually accessed19:42
slangasekogra: google logo19:42
ograah, yeah19:42
slangasekhmm19:43
slangasekoh hah19:43
slangasekignore my noises19:43
* ogra tries to ... but i'm to curious what it was 19:44
hallynstgraber: fix pushed to saucy19:46
slangasekogra: well, the container wasn't running; because I had udev 'manual', but the container was still 'start on starting udev'19:50
ograhaha19:50
ograk19:50
slangasek# cat ~phablet/.ubuntu-touch-session/logs/qml-phone-shell.log19:50
slangasekCant find EGLConfig, returning null config19:50
slangasekthat's new19:50
ograare /system and /vendor mounted properly ?19:51
slangasekyes19:51
slangasekwell19:51
slangasekin the rootfs yes19:51
slangasekand in the container, I'm not sure - is the container using namespacing?19:51
LokiScarletSooooo apparently if I remove the 'phablet' user on a phone... It breaks the OS19:52
LokiScarletProbably using an auto-login19:52
slangasekLokiScarlet: yes - so don't do that ;)19:52
ograslangasek, you can look in /proc ... use "lxc-info -n android" then look in /proc/$pid/root19:52
slangasekogra: right; so I'm not sure what "properly" mounted looks like19:53
slangasekogra: but I do have, e.g:19:53
slangasek69 49 179:21 /vendor /data/ubuntu/vendor ro,relatime shared:18 - ext4 /dev/block/platform/msm_sdcc.1/by-name/system ro,data=ordered19:53
ograwell, there is no content if there is no partition19:53
LokiScarletslangasek: Any better solution to set my own user settings then? :319:54
ograif ls /proc/$pid/root/system and /proc/$pid/root/vendor return ccontent they should be fine19:54
LokiScarletinb4 "wait til the final release", that's just no fun~19:54
ograwhy do you care about the user ID ? its not exposed anywhere19:55
slangasekLokiScarlet: the phablet account is the user that runs the shell UI; this is hardcoded, and I wouldn't advise trying to change this19:55
ograif you need an additional cmdline user, just create one (not sure for what you would want that though)19:56
stgraberhallyn: thanks!19:56
ograslangasek, so to get the android logs you can use /system/bin/logcat -d under ubuntu ... have a look if you can see anything obvious there19:57
LokiScarletI'm... Trying to blank the user data and then set stuff in the phone UI.19:57
slangasek/system/bin/lolcat, got it19:57
ograhehe19:57
ograLokiScarlet, just follow the release notes for clearing the data19:57
LokiScarletThe obvious "format user data in CWM" idea.... Well, we all know what that does. :319:57
ogra(see chsannel topic)19:58
LokiScarletMUTTER FI-- I swear this stuff didn't show up before. >.< I must be going insane19:59
LokiScarletWait a minute...20:00
LokiScarlet>implying going20:00
* LokiScarlet tilts head ninety degrees and smiles stupidly20:00
beidlLokiScarlet: >no greentext in here20:01
slangasekogra: ok - finally got it to manually boot to the shell.  Now let's see if I can do that a second time, and maybe even make it work automatically.20:03
ograyay !!!!20:04
ograha, and i found why powerd doesnt autostart20:04
* ogra tries a fix20:04
ograi wonder why sutdown takes so long20:04
ograyippie20:05
ografinally got powerd autostarting20:05
slangasekok, somehow udevtrigger is failing to run20:05
ogrado you call it like that ?20:06
ograisnt it udevadm trigger nowadays20:06
slangasekthe udevtrigger job is failing to run.20:06
ograha20:06
ograerr20:06
ograah20:06
ograboah, thats irritating ...20:06
slangasekso I can do 'udevadm trigger --action=add && service ubuntu-touch-session restart'20:06
ograi am kind of used to not have an eternal command history in the shell20:07
slangasekok, how do I *configure* the wifi?20:07
ograyou cant with the in archive NM20:07
slangasekphooey20:07
ograinstall the NM and the two libnm packages from the phablet PPA20:08
slangasekshouldn't those already be the ones installed on this image?20:08
jcastroout of curiosity is there a performance or power saving benefit to switching around from android/chroot to ubuntu/lxc?20:08
ograthen you can just use phablet-network-setup from the host or use the UI20:08
slangasekjcastro: not directly AFAICS20:08
ograslangasek, the saucy in-archive NM is newer20:08
slangasekogra: ah20:09
ogracyphermox_, is working on merging the patches from the PPA one in20:09
ograthen we should have everything in the archive we need20:09
ograpulse will also need love20:09
slangasekwell, anyway - I have the sequencing working now with the sleep kludge, but udevtrigger fails to start for $reasons20:09
slangasekah, the fact that I have to restart ubuntu-touch-session is also a sequencing bug20:10
ograwell, the eternal sleep doesnt sound good20:10
slangasekI wonder what that should be waiting for20:10
slangasekyeah, we don't want to do it that way20:10
ograon started lxc-android-config20:10
ograi'd say20:10
ogra(i thought i actually added that to the job)20:10
slangasekno, it already has that and that's too early20:10
ograhmm20:11
slangasekI have to *re*start it after udevadm trigger20:11
ograbah20:12
ogra*sniff*20:12
ograg_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting20:12
ograpowerd doesnt stay alive20:12
ograbut starting it manually doesnt die20:13
* ogra doesnt get that 20:13
ogramfisch, does powerd only connect after a while to dbus, and not on startup ?20:13
ChickenCutlassogra, you do need the system bus to be up20:14
ograit seems to run for a while after boot but then dies with the above error20:14
ograso why isnt that reflected in the upstart job then ?20:14
* ogra adds a "start on started dbus" to it 20:14
ChickenCutlassogra, dbus support was just added.  It's a bug20:14
ograah, k20:14
ograi dont understand why it doesnt crash the same way in unflipped raring though20:15
ograthey shouldnt differ in that regard20:15
mfischdbus support has been there for 2-3 weeks now20:15
mfischit should work fine20:15
ograwell, it doesnt in saucy20:16
sergiusensogra: it does in my saucy :-)20:16
ograi did see the same issue in the unflipped image20:16
sergiusens:-p20:16
ograthen it doesnt with archive packages ... no idea20:16
sergiusensogra: ah, without dbus you mean... I can check and validate20:16
sergiusensogra: but I guess no one fell into the issue of no dbus20:16
ograha !20:17
ograso "start on started dbus" definitely fixes it20:17
sergiusensogra: I do recall launching powerd when I had the _broken_ mountall20:17
ogramy screen just tirned off right after boot20:17
mfischogra: so do we need to modify the upstart job?20:17
ogramfisch, yeah20:18
ograit currently starts on mounted /run20:18
mfischstart on started dbus?20:18
ograthats really really early20:18
ograyup20:18
mfischokay, I have no device to test on so I will take your word20:19
ograask sergiusens with an unflipped image if it works for him20:19
ograthat should cover both setups we have atm20:19
mfischogra: here's the mp: https://code.launchpad.net/~mfisch/powerd/startondbus/+merge/16763220:20
mfischlets wait on sergiusens20:20
LokiScarletbeidl: Gonna be hard to do, I've got my shell text set to green20:20
mfischsforshee: ping20:20
* LokiScarlet rimshot20:20
sforsheemfisch, pong20:21
mfischsforshee: we need to modify upstart to wait until dbus is up20:21
mfischsfeole: MP is above, but dont approve until we hear from sergiusens20:21
beidlLokiScarlet: well played20:21
sforsheemfisch, upstart?20:21
ograthe job, not init :)20:21
mfischsfeole: hah yeah20:22
sforsheethat's what I was guessing20:22
sergiusensack20:22
ogradont tell jodh that you want to make upstart depend on dbus being up *grin*20:22
LokiScarletbeidl beidl beidl, if nothing's in my way, beidl beidl beidl, with your mind I will play. (Sorry, your name's just that interesting.)20:23
beidlLokiScarlet: I'm assuming you already guessed what my nick name really means20:24
sforsheemfisch, give me a minute to test then I'll approve the mp20:24
LokiScarletNot a clue.20:25
LokiScarlet:320:25
LokiScarletWhy, does beidl mean something cool?20:25
mfischsforshee: we need to wait on sergiusens too20:25
mfischhe has a "flipped" image20:25
sforsheemfisch, okay. Is he already testing?20:26
sergiusensI am unflipped20:26
beidlLokiScarlet, well, lets put it that way, it's all about the D20:26
* mfisch isnt sure what flipped means but hopefully someone tries it20:26
LokiScarletSo it means you're a dick? Cause I can prove you wrong and dethroned on that one if you give me some time20:27
* LokiScarlet is teh bakas20:28
ogramfisch, booting into ubuntu, running android in lxc .... thats what i have here (and what is our actually planned image setup)20:30
ograsergio has the old image model, just on saucy packages20:30
ogra(flipped the containers)20:30
mfischogra: ah, thanks for explaining20:30
beidlLokiScarlet, hmm... interesting20:31
sforsheemfisch, well the change works in the flipped model at least20:31
sforsheeI guess sergiusens can approve when he's done testing20:31
mfischsforshee: ok20:31
folfWhen flashing  a newer build with phablet-flash, does it always remove the coreapps installed from the ppa's? Or is this supposed to change?20:32
pmcgowansergiusens, folf asks a good question20:34
ryukafalzSo I've been wondering... will Ubuntu Touch use the standard web device APIs being worked on at the W3C and such?20:36
ryukafalzthings like media capture and screen rotation, for instance20:36
manoelramonI need to compile ubuntu touch under x86.. how do I get the source code instead pre-defined images for ARM ?20:36
ograpmcgowan, folf, that will start working once we have image based upgrades ... (alternatively the flipped container will allow you to use apt)20:37
sergiusenspmcgowan: folf I guess always until we have click packages20:37
sergiusensogra: well, final solution is click packages installing in user data locations20:38
ograyeah20:38
ograwhich will work with image based upgrades :)20:38
folfogra, OK. It's not a big issue, but I'd expect a lot of people doing the adb to install openssh, then add ppa's, then install apps :-)20:38
ograbut the flipped container should enable you to just upgrade through apt like on your desktop20:38
ograuntil the image based upgrades/click package combo is there20:39
ograi expect that you wont need to reflash anymore once we have the container flip fully implemented20:39
manoelramonSergio, how do I get the souce code ? need to compile for x86 !20:40
ogra(until image based upgrades do it automatically at least)20:40
sergiusensogra: we still need to solve platform-api and hybris... it's the only reason we are not promoting apt-get20:40
sergiusensmanoelramon: hey, got your email... loaded question :-)20:40
=== hggdh is now known as ubotu-br
ograsergiusens, we have the toolchain, its a matter of someone having time to package them :)20:40
sergiusensmanoelramon: everythng is here http://phablet.ubuntu.com/gitweb20:40
ograi hope that we have that in place when the flip goes active20:41
sergiusensmanoelramon: just look for the phablet-10.1 branches and cherry pick20:41
sergiusensogra: +120:41
manoelramonsergio: but there after to fetch the code I have only a project called ubuntu20:41
=== ubotu-br is now known as ubotu-br`
manoelramonand on this ubuntu dir I have only assets and xchroot20:41
manoelramonno code!!!20:41
sergiusensmanoelramon: how are you doing the clone?20:42
ogramanoelramon, follow the porting wikipage, that should get you all trees20:42
=== ubotu-br` is now known as hggdh
sergiusensogra: he's trying x86... it's a different repo ;-)20:42
sergiusensogra: as in repo sync manifest20:42
ograsergiusens, well, he needs the phablet repo, no ?20:42
ograplus an x86 tree he needs to add himself20:43
sergiusensogra: yeah... that's why I said loaded question, not sure :-)20:43
asacrsalveti: lunch doesnt work with our android stuff?20:43
asacactually ... wonder what java i need :)20:43
ograso first step: phablet-dev-bootstrap20:43
asachttps://wiki.ubuntu.com/Touch/Building20:43
asacjava is not mentioned there20:43
ograasac, 1.620:43
rsalvetiwe removed the java dependency20:43
ograopjdk is fine20:43
asacjava SE? or openjdk is also ok?20:43
asacok20:43
ogra*open20:43
sergiusensasac: lunch works... openjdk should be fine... still need to get rid of some bits20:43
* asac uninstalls jdk 7 :)20:44
rsalvetisergiusens: didn't we remove it all?20:44
ograiirc you can have them in parallel20:44
rsalvetiyeah, just use openjdk20:44
ogra(6 and 7)20:44
sergiusensrsalveti: forgot about bouncycastle20:44
manoelramon_sergio I used the follwing "repo init -u git://phablet.ubuntu.com/CyanogenMod/android.git -b phablet-10.1"20:44
rsalvetisergiusens: ok20:44
sergiusensmanoelramon: and repo sync for that didn't work?20:44
asacsergiusens: so we dont have bouncy?20:44
asacdoes it mean i need oracle for now?20:45
sergiusensasac: it's in, but we might not need it at all20:45
manoelramon_sergiousens: yes.. worked however I have only a new project called "ubuntu" with two folders inside... but no source code.20:45
asaci did the bootstrap i think ... i basically gave mea  checkout of the android code20:45
sergiusensasac: nope, openjdk is fine... the oracle java thing is mostly for apk and android services20:45
asackk20:45
rsalvetimanoelramon: repo sync should have copied all your sources files20:46
rsalvetimanoelramon: did it take long to run?20:46
sergiusensmanoelramon: rinse and repeat, just in case you got a broken connection20:46
sergiusensmanoelramon_: which x86 sources are you using btw?20:46
asacwhere is the livehelper config for our phablet rootfs?20:47
asaclive-build  :)20:47
AskUbuntuWhat are the supported devices for ubunu Phone? | http://askubuntu.com/q/30455020:47
manoelramon_I should compile for medfield intel x86 based20:47
manoelramon_let me run the repo sync again20:47
sergiusensasac: ah, got scared there for a second :-P had no idea what livehelper was :-)20:47
sergiusensasac: https://code.launchpad.net/~phablet-team/touch-preview-images/ubuntu-build-phablet-saucy20:47
sergiusensasac: as the name implies, that's for saucy20:47
sergiusensasac: with no container flip20:47
rsalvetiasac: we also got it upstream20:48
asacyeah, its the old name ... when i still hacked on it it was named like that20:48
rsalvetifor the image ogra is working on20:48
sergiusensasac: the other one is in liverootfs branch iirc the name20:48
folfsergiusens, ogra, pmcgowan BTW I found this: http://bazaar.launchpad.net/~popey/+junk/phablet-flash-wrapper/view/head:/add_apps.sh20:48
folfQuite useful...20:48
* asac tries to go deep in to his memory to remember how this live-buidl thing worked20:48
pmcgowanfolf, indeed good ole popey20:49
rsalvetimanoelramon_: just saw your email, so try grabbing the sources again, it should work and get you the needed files20:50
rsalvetiyou might need to modify them to make it x86 compatible20:50
asacok so live-build has certainly evolved a bit :)20:50
rsalvetimanoelramon_: do you have a standard android build tree for x86 that's based on android 4.2?20:50
rsalvetimight be easier to change that instead of trying to build from our sources atm20:50
rsalvetias I know cyanogenmod doesn't yet support x86620:50
sergiusensrsalveti: I'm trying to figure out which way the porting is being done20:51
sergiusensto an x86 tree or from one20:51
rsalvetimight be easier to grab a working android build from intel and reduce it like we did20:51
cyphermox_rsalveti: sergiusens: I'm pretty much ready to push NM to distro for saucy, but you'd still need to run logind on the touch image, and that breaks the UI currently...20:51
sergiusensrsalveti: well that was my stance20:51
ograasac, for the cdimage side you want livecd-rootfs20:51
rsalveticyphermox_: what breaks?20:52
ograif you want to roll the flipped image that is20:52
manoelramon_ok I am fetching the code again.... yes, I do have... I am wondering put the code under my env and compile using our compiler here.... I have all android source code JB including kernel.. that's why I do not wanna port using CM20:52
rsalvetimanoelramon_: right, might be easier20:52
cyphermox_well you can't actually establish a wifi connection from the UI, you can click it but NM won't be able to authenticate the dbus calls or something20:52
ogracyphermox_,20:52
ograroot@ubuntu-phablet:/# ps ax|grep logind20:52
ogra  532 ?        Ss     0:00 /lib/systemd/systemd-logind20:52
rsalvetimanoelramon_: http://phablet.ubuntu.com/gitweb?p=CyanogenMod/android_build.git;a=shortlog;h=refs/heads/phablet-10.120:52
ograi have no issues here20:52
cyphermox_ogra: yes, logind is running, that's fine20:53
rsalvetithese are the most important changes we did to reduce the build20:53
ogra(uding the new world order though)20:53
ogra*using20:53
cyphermox_I have logind running here too20:53
manoelramon_rsalveti: the "ubuntu" project is the folder that should contain all code for touch rgith ?20:53
rsalvetimanoelramon_: basically to remove everything dalvik and app related from android20:53
cyphermox_but NM relies on that to authenticate the calls, and AIUI it wasn't available in the display server ?20:53
rsalvetiand get a tiny version that is console only (plus a few services, such as surface flinger)20:53
manoelramon_rsalveti: yes, I saw in the manifest.20:53
sergiusensmanoelramon_: the changes are all over the place20:54
rsalvetimanoelramon_: no, that's just the compat layer which makes it easier to talk with the ubuntu side20:54
sergiusensmanoelramon_: basically if there's a phablet-10.1 branch in the repo in the tree it has changes20:54
rsalvetiyou'd also need a ubuntu x86 based image20:54
rsalvetiwhich we can generate using live-build20:54
rsalvetibut that would be the second step20:54
rsalvetifirst step would be getting a minimal image that is able to boot in your device20:55
rsalvetithen trying to get hybris to work, and see if the test cases would work there20:55
manoelramon_rsalveti: that's the question.. the x86 image in on your webgit also ?20:55
rsalvetiI noticed a few intel folks contributing to hybris, so I'd expect it to work for x86 as well20:55
sergiusensmanoelramon_: no, it's not20:55
rsalvetithat's created from the ubuntu archive20:55
rsalvetivia live-build20:55
manoelramon_I do not think I will need to port all commits you have done because you fixed bunch of problems I will not have... just wondering how to get the code/image and put over my kernel...20:56
rsalvetimanoelramon_: right, that's why I'd start based on this branch (you can just take the changes, not necessarily all commits), and try to get a minimal image to work first20:57
rsalvetimeanwhile we can produce an ubuntu rootfs via live-build which you can use20:57
rsalvetisergiusens: we should have everything in the ppa to produce a x86 based image20:58
rsalvetiusing raring would probably be a better idea for now20:58
manoelramon_rsalveti: I already did all changes in the kernel.. I am only need the x86 sources... I could compile to medfield and push back to you.20:59
rsalvetiright, kernel changes should be minimal20:59
rsalvetithe ones under build are the most critical to generate a minimal image20:59
ograand you will have to find an x86 tree yourself to add it21:01
ograon phablet.ubuntu.com there is none21:02
sergiusensrsalveti: saucy is solid21:04
rsalvetisergiusens: lol21:04
rsalvetisergiusens: can't even have a stable saucy in my desktop21:05
rsalvetiogra: right, but would be nice if we could support that as well21:05
rsalvetiwould just need to check the changes done per repo, which is really painful21:05
rsalvetiand would need a device as well21:05
ograrsalveti, well, sure, i would have worked on it but there is always something with high prio on my desk since i joined the same team you work in ... i knew that would happen, i so did !21:07
ogra:)21:07
manoelramon_rsalveti21:07
asacrepo sync doesnt work?21:07
manoelramon_rsalveti: my devices boots :)21:07
asacfatal: Not a git repository (or any parent up to mount point /home)21:07
asacStopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).21:07
asacTraceback (most recent call last):21:07
* ogra votes for renaming phonedations into canonical-workaholics21:07
rsalvetiogra: right21:07
rsalvetilol21:08
* rsalveti blames asac 21:08
rsalvetilol21:08
ogra"hello, my name is oliver and i am a workaholic ... i am dry since two weeks now .... "21:08
mhall1190.01 days without a relapse21:09
ograyeah, its definitely all asacs fault21:09
asaci take that as a compliment :P21:09
ogra:)21:09
asacstill repo sync doesnt work here :)21:10
asacbut its totally possible that its me21:10
rsalvetiwell, as long we don't kill any developer til we release the project we're good lol21:10
rsalvetiasac: hm, let me start fresh to see21:10
asacwait its here for sure21:11
rsalvetisergiusens: why are we still building raring based images automatically?21:11
ograso that my sync script doesnt feel lonely21:11
rsalvetirepo sync working fine here21:11
mhall119don't let the machines get lonely, that's when they'll turn on us21:12
rsalvetimanoelramon_: with a minimal image? (aka no dalvik)21:12
manoelramon_rsalveti: not yet :) ... but if boot today, when you will give me the other sources :) ?21:13
rsalvetimanoelramon_: actually it's just a rootfs, let me try here21:14
manoelramon_rsalveti: no problem :) but if you give me the code I reply you with compiled for medfield processor ... I swear :)21:15
sergiusensrsalveti: lol21:16
rsalvetimanoelramon_: would i386 work fine for medfield ?21:16
sergiusensrsalveti: tough news for you, but I think ofono is only bulding for amrhf21:16
rsalvetisergiusens: true, have that in my todo21:17
asacin live-build ... --bootstrap-qemu-arch is used for what?21:17
sergiusensrsalveti: most apps and components only link to platform-api if it is arh armhf21:17
rsalvetiasac: to build it with qemu21:17
manoelramon_theoretically yes21:17
rsalvetisergiusens: that's being fixed as we're pushign things to the archive21:17
rsalvetimanoelramon_: awesome21:19
rsalvetiI'm running live-build to see what happens here, but we might indeed have missing packages21:19
manoelramon_I hope dude :)21:19
rsalvetiwhich we're fixing anyway21:19
manoelramonThank you so much Ricardo!!!21:21
rsalvetisergiusens:21:29
rsalvetiE: Unable to locate package libandroid-audiosystem-asound221:29
rsalvetiE: Unable to locate package powerd21:29
rsalvetiso fixing the android audiosystem unblocks ofono21:29
rsalvetinow powerd is a different issue21:29
rsalvetishouldn't be armhf specific21:29
stgraberrsalveti: we'll really need to teach Android not to touch /data, /cache and /system at all...21:32
sergiusensrsalveti: yup... but libandroid-audiosystem-asound2 always has... not that it's right or wrong21:32
stgraberI just noticed that it's trying to remount them ro on shutdown or something21:32
stgraberwhich means remounting /data read-only but that's our data partition so that's not that great...21:32
rsalvetistgraber: right, that we can fix21:32
rsalvetibut it can only mount with fstab21:32
stgrabergranted you're not supposed to stop the android container, but still...21:33
rsalvetiafter it's mounted it can try to remount, which we can fix from the android side21:33
stgraberrsalveti: yep, apparently it's respecting the fstab, still failing to start but I'm trying to track that one down now21:33
rsalvetistgraber: ok21:33
asacrefs/heads/phablet-10.121:35
asacwhat is that based on?21:35
asacandroid-4.1.2_r2 ?21:35
rsalvetiyup21:36
rsalvetiactually it's a bit newer than that, but not the latest 4.2.2 tag21:37
asacrefs/tags/android-4.2.2_r1 ? you pull those prebuilts in21:37
asacok21:37
asaci see21:37
asacso that was misleading then21:37
asaci will use that21:37
asacto replace our binoic21:37
asacso guess would be good to know exactly :)21:37
asaclet me see our gitweb21:37
asachard to say21:39
rsalvetiasac: replace our bionic?21:39
rsalvetiwhy?21:39
asacseems we didnt push any very recent tags to our phablet21:39
asacrsalveti: because it has hackery that is a bit annoying atm :)21:39
asacsincos21:39
rsalvetinops, we didn't touch that since jan or such21:39
asacok i see21:39
rsalvetiasac: we welcome patches21:39
asachehe21:39
ogra++21:39
asacrsalveti: so do we know where this is based off?21:40
asaccm-10.121:40
rsalvetiCM10.1 M1 I think21:40
rsalvetilet me check21:40
rsalvetithere's a cm tag21:40
asacbut what that is is harrd to figure for me21:40
asacyeah its cm-10.121:40
asacbut i what android is that based on?21:41
rsalvetisure, but there are a bunch of tags21:41
rsalveti:-)21:41
asacoh i see a merge21:41
asacits 4.2.2_r121:41
asachttp://phablet.ubuntu.com/gitweb?p=CyanogenMod/android_bionic.git;a=shortlog;h=refs/heads/cm-10.121:41
asacpretty high on top there21:41
rsalvetiright21:41
asacok let me try that21:41
rsalvetiand why are you looking into that?21:41
rsalvetiany feature we're missing?21:41
rsalvetiyeah, it's based on CM10.1 M121:42
asachmm. those cm guys didnt push the tag21:42
asaclet me find the commit21:42
rsalvetimanoelramon: where can I find the intel android tree?21:43
rsalvetior is that already upstream?21:43
stgraberrsalveti: so, my current problem is that the container kinda starts, /system/bin/mediaserver is spawned, stays there for a few seconds and then the container dies21:43
stgraberrsalveti: rings a bell?21:43
rsalvetistgraber: hm, no21:44
rsalvetistgraber: no logs?21:44
rsalvetilogcat would be useful there21:44
jonopmcgowan, hey21:45
jonopmcgowan, any idea who is working on the infographics work?21:45
stgraberrsalveti: how do I turn /dev/alog/main into something readable?21:46
=== Guest1230 is now known as zumbi
rsalvetihm, would need to investigate21:47
rsalvetilet me check21:47
=== zumbi is now known as Guest86601
RobbyFwill the email client support exchange?21:48
rsalvetistgraber: just a simple cat would already be useful21:48
rsalvetistgraber: try running logcat manually21:50
rsalvetiit should be static linked I'd guess21:50
rsalvetiif not you can probably build it easily21:51
rsalvetihttp://phablet.ubuntu.com/gitweb?p=CyanogenMod/android_system_core.git;a=tree;f=logcat;h=9cd412866c535d84bd1b106ad4fa32e3a438f1b5;hb=refs/heads/phablet-10.121:51
ograstgraber, /system/bin/logcat21:52
ograit is definitely static21:52
rsalvetiyeah, if you have it mounted it'd just work21:52
ogra:)21:52
asacrsalveti: you are android-audiosystem guru? what is so armel specific there?21:52
rsalvetiasac: that's what I'm checking now21:52
rsalvetithis is old code from motorola21:52
asacintersting :)21:53
ograwell /var/lib/lxc/android/rootfs/system/bin/logcat (can we add some more subdirs) then21:53
asacis it important for primary user experience?21:53
asace.g. booting, showing stuff on screen etc.?21:53
rsalvetiasac: well, just no sound21:53
asackk21:53
asacno crashes?21:53
rsalvetinops21:53
stgraberogra: not static21:53
ograoh21:53
stgraber/var/lib/lxc/android/rootfs/system/bin/logcat: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked (uses shared libs), stripped21:53
asacrsalveti: what is it doing? talking to... alsa?21:53
asac:)21:53
manoelramonhttps://01.org/android-ia/documentation/faq21:53
rsalvetiasac: other way around21:53
rsalvetiasac: for pulse to talk to audioflinger21:53
* asac turns upside down21:54
rsalvetimanoelramon: thanks21:54
asacok. doesnt sound very armel specific21:54
ograstgraber, link system to / then ... LD_PRELOAD should give you all you need21:54
rsalvetiasac: no, just stupid build system21:54
ogra(it points to /system/lib)21:54
rsalvetias we got some .S files there21:54
asacyeah21:54
asachave you tried sedding everythign :)?21:54
stgraberogra: read-only, remember? :)21:54
rsalvetiasac: I'm fixing it21:54
ograstgraber, well ... remount rw ... then set the link21:55
rsalvetistgraber: chroot21:55
asacgood21:55
rsalvetiand then run it from the android container21:55
rsalvetishouldn't explode :-)21:55
ograyou dont have /dev21:55
ograneed to bind mount it21:55
rsalvetihaha21:55
sergiusensmanoelramon: I have may have access to some intel devices from the Cordoba site... I'll get your tree's and see what happens21:55
=== brion is now known as brion_
ograhmm, there is still something fishy with powerd21:56
* ogra tries to move it later 21:59
ograhmm21:59
ograis there any reason why we dont have ubuntu-session start powerd ?21:59
stgraberrsalveti, ogra: http://paste.ubuntu.com/5737111/21:59
rsalvetiwell, powerd is a system service22:00
asacogra: my understanding is that powerd is something deeper entrenched in the OS than a session...22:00
ograasac, well, it needs bits from the container and dbus22:00
asacdbus is started in the gnome-session?22:01
ograstgraber, same issue slangasek has22:01
asacotherwise i dont know what ubuntu-session is :)22:01
rsalvetistgraber:22:01
rsalvetiD/overlay ( 1001): initoverlay:: opening the device:: /dev/graphics/fb222:01
rsalvetiE/overlay ( 1001): cannot open framebuffer(2)22:01
asac(and you can ignore me)22:01
ograasac, the session bus, not the system bus22:01
rsalvetithen egl fails, which causes surfaceflinger to crash22:01
ograasac, https://code.launchpad.net/~phablet-team/session-manager-touch/trunk22:01
rsalvetibut still, it should go on and print more messages22:01
asacdo we use androids busybox?22:02
rsalvetiis that all you get?22:02
asacerr the busybox of CM22:02
asac(android doesnt have that)22:02
ograi dont think so22:02
rsalvetiasac: http://phablet.ubuntu.com/gitweb?p=CyanogenMod/android_external_busybox.git;a=summary22:02
ograoh, we do ?22:02
asacso we use that?22:02
asachmm22:02
ograbut with nothing enabled i guess22:02
asacwhat is the official android replace called?22:02
ogra/bin/sh: 0: Can't open /proc/self/fd/922:03
ogra** (process:489): DEBUG: owner id: 122:03
ogra** (process:489): DEBUG: Activity Timeout is 30 seconds22:03
ograwoah22:03
asacah its toolbox22:03
asacright22:03
asacthats what its called22:03
ogra(powerd log)22:03
stgraberslangasek: apparently I'm hitting the same bug as you had (lxc container not starting), what's the problem?22:04
ograstgraber, his container was starting, his  session wasnt ...22:05
ograrace between udev and the container start22:05
stgraberok, my container isn't starting at all and I've got udev in Ubuntu disabled22:05
rsalvetistgraber: is that all you got from logcat?22:05
stgraberwell, it starts for a minute and dies. The only process I see init spawn is /system/bin/mediaserver22:05
stgraberrsalveti: yep22:06
rsalvetistgraber: can you check if you have /dev/graphics/fb2 inside your android container?22:06
rsalvetihm, that error also happens here22:07
* ogra guesses only while the container is running22:07
ograi guess fb2 is HDMI22:07
stgraberrsalveti: I'll try but as I said the container dies pretty quickly, so I'll have to do some clever tricks to pull the data before it goes away22:07
rsalvetiW/SurfaceFlinger( 1001): no suitable EGLConfig found, trying without EGL_FRAMEBUFFER_TARGET_ANDROID22:07
ograor however that special plug adapter thing is called22:07
rsalvetiso surface flinger fails completely here22:07
asacdo we have lots of arm specific stuff in powerd?22:08
rsalvetiwhich could mean issues with udevd or it couldn't see the vendor stuff22:08
rsalvetistgraber: are you using our own system.img file?22:08
rsalvetior did you build it your own?22:08
stgraberrsalveti: nope, used the one from ubuntu-touch-preview22:08
ograunpacked from ours22:08
ogradid you tar it and forgot --numeric-owner or some such ?22:09
rsalvetiW/Adreno200-EGL( 1001): <eglGetConfigs:400>: EGL_NOT_INITIALIZED22:09
rsalvetinow why would the driver fail22:09
ograbecause /vendor isnt set up22:09
rsalvetiE/Adreno200-GSL( 1001): <ioctl_kgsl_driver_entry:269>: open(/dev/kgsl-3d0) failed: errno 2. No such file or directory22:09
rsalvetithere you go22:09
stgraberogra: mix of root and gid 2000, that looks vaguely reasonable22:09
stgraberrsalveti: well, yeah, as part of my problems I don't even see ueventd starting, so I'd expect /dev to be pretty much empty22:10
ograah, no /dev22:10
stgraberas I said, I only see a single process being spawned in the container and that's "/system/bin/mediaserver"22:10
stgraberno ueventd that I can see22:11
rsalvetithe rest might fail22:11
rsalvetior init fails completely22:11
ograyeah, so talk to jhodapp, we cant help :P22:11
rsalvetidue lack of udev22:11
rsalvetiueventd22:11
ogramediaserver is his area22:11
ogra:P22:11
ogradid you modify init.rc somehow ?22:12
stgraberogra: nope, only changes I did comment cache, system and data in fstab.mako and removed adbd (just in case)22:12
ograno need for that22:13
ograin fact i would leave it there, that way you can easily switch between ubuntu and container22:13
ogra(by setting the adbd upstart job to manual)22:13
ograadbd wont start if its loopback port is already taken22:14
=== brion_ is now known as brion
=== Fyodorovna is now known as wilee-nilee
ograstgraber, do you have  nodev.nosuid options set on /data by chance ?22:16
stgraberogra: nope22:19
|QuaD|hello! quick question for you. I am setting up ubuntu touch on my nexus 7 for fun. How are upgrades handled? is it done throuhg normal apt? or do i have to reflash an image everytime22:21
ograyou currently have to reflash22:23
ograsince there are bits in the android layer that arent packaged but require updates on package upgrades22:23
ographablet-flash is clever enough to keep your userdata intact though22:24
=== salem_ is now known as _salem
=== Fyodorovna is now known as sporkeee
=== sporkeee is now known as wilee-nilee
|QuaD|ogra: thanks! do we have an eta of when something like nexus 7 will be autoupdateable?22:51
ograapt updates will work once the images have the flipped container model in use and the two bits that we use inside android are packaged22:52
|QuaD|cool22:52
ograon the former there is active cross team work going on22:52
ograso it should be in place *soon*22:52
ograthe latter will have to wait until someone has time to actually do the packaging22:53
|QuaD|and once that build comes out, i just have to run phablet-flash, it will upgrade and then be upgradeable?22:55
asacremember that apt updates are really just an intermediate state22:55
asacwe are actually shooting for system updates22:56
asac(for end user experience at least)22:56
rickspencer3kenvandine, bfiller http://theravingrick.blogspot.com/2013/06/the-social-phone.html23:30
slangasekstgraber: mmm, the issue I had was because I had changed the lxc-android-container job to start on 'starting udev' and had set the udev job to manual23:31
stgraberslangasek: yeah, my issue appears unrelated as I already had udev disabled to check that wasn't the problem. Not sure exactly what's going on, but I guess it was to be expected that some bits would fail when moving to a read-only root23:32
mfischsergiusens: can you approve the upstart job change for powerd?  https://code.launchpad.net/~mfisch/powerd/startondbus/+merge/16763223:38
=== SkavenXXI-[OFF] is now known as SkavenXXI
slangasekogra: is there a master bzr branch for lxc-android-config?  (it's not in debian/control)23:40
=== chihchun_afk is now known as chihchun

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