/srv/irclogs.ubuntu.com/2013/08/02/#ubuntu-touch.txt

=== chriadam|away is now known as chriadam
themikemQuick question: I've built the current (raring) image, and now I'm trying to move over to the flipped image.  How to I get phablet-dev-bootstrap pointed at the saucy code?  Doesn't seem to be an argument for which branch to use...00:53
themikemin other words, what command do I run to init a saucy phablet repo?00:54
sebsebsebhi01:09
RAOFHello.01:14
=== roasted_ is now known as roasted
sebsebsebRAOF: Ubuntu Touch is  simklar to Android since based on that mod ?01:24
sebsebsebyes ?01:24
RAOFNot really.01:25
RAOFUbuntu Touch is about as similar to Android as Android is to Ubuntu (ie: they use the same kernel)01:25
sebsebsebRAOF: ok fine01:26
sebsebsebRAOF: so what about that Ubuntu Edge then?  the Ubuntu on their is usign Ubuntu Touch01:26
sebsebsebwell if those phoens actasuly get made01:26
RAOFCorrect01:26
RAOFOh. Ubuntu Touch is like Android in that it's usable on phones and tablets, if that's what you mean.01:27
sebsebsebyeah I know a bit about it already, but  how differnet is to Android?01:27
RAOFEverything above the kernel is different01:28
RAOFAs for user-experience, it's... different?01:28
RAOFIt's quite a lot like desktop Unity, if desktop Unity were to be made as a phone/tablet UI?01:29
sebsebsebyeah seen some screnshots and videos of it01:30
sebsebseb,but that's it really01:30
sebsebsebseems it's like you say Unity for phones01:30
sergiusensthemikem: repo init -b phablet-saucy -u git://phablet.ubuntu.com/CyanogenMod/android.git01:36
sergiusensif you already have a repo sync for phablet-10.101:36
sergiusensjust do repo init -b phablet-saucy and repo sync01:36
=== _xtr3m3 is now known as xtr3m3
=== _salem is now known as salem_
savedjulihi03:20
=== Aww_ is now known as Aww
=== chihchun_afk is now known as chihchun
=== salem_ is now known as _salem
=== chihchun is now known as chihchun_afk
=== Namidairo`bnc is now known as Namidairo
=== chihchun_afk is now known as chihchun
=== JBassett_ is now known as JBassett
xboxfanjSo they said the edge will work on sprint and Verizon, is that assuming volte or is it just data only?04:17
=== JBassett_ is now known as JBassett
Sarvattxboxfanj: its 100% assuming volte, it wont work for cdma for phone.04:32
xboxfanjOK that's what i figured04:33
xboxfanjThanks04:33
xboxfanjNot sure i can gamble on Sprint to do that04:33
xboxfanjI guess i could buy a used one if they do though04:34
=== Andro|AFK is now known as andromorphone
=== andromorphone is now known as Andro|AFK
=== Andro|AFK is now known as andromorphone
=== andromorphone is now known as Andro|AFK
=== Andro|AFK is now known as andromorphone
=== andromorphone is now known as Andro|AFK
=== Andro|AFK is now known as andromorphone
=== andromorphone is now known as Andro|AFK
=== Andro|AFK is now known as andromorphone
=== andromorphone is now known as Andro|AFK
=== Andro|AFK is now known as andromorphone
=== andromorphone is now known as Andro|AFK
sil2100gusch: hi!07:13
guschsil2100: ho07:14
sil2100gusch: we encountered some problems with gallery-app AP tests - those look like something changed in the ui-toolkit07:14
sil2100gusch: on the other hand, it seems not have been introduced just now, since it fails with todays version of ui-toolkit and also with the one from 31th07:15
sil2100gusch: let me show you a link to those, I'll create a bug report07:15
guschsil2100: ok07:16
sil2100gusch: here are the test results - this test uses the already released ui-toolkit, which is strange07:18
sil2100gusch: we also got the same failure tooday on SDK tests using the latest daily ui-toolkit, as we run a few Apps tests on SDK stack releases07:18
sil2100(to make sure it doesn't break anything)07:18
sil2100Filling out bug07:18
guschsil2100: where are the results?07:22
sil2100gusch: https://bugs.launchpad.net/gallery-app/+bug/120764707:23
ubot5Ubuntu bug 1207647 in Ubuntu UI Toolkit "gallery-app autopilot test failures - 'NoneType' object has no attribute 'width'" [High,New]07:23
sil2100gusch: ah! Right, heh ;)07:23
sil2100gusch: I forgot to paste the link, but the bug has those07:23
* sil2100 needs coffee07:23
guschsil2100: omg - SDK changed the tabbar implementation  - I'll check/update the gallery autopilot tests07:26
* sil2100 sighs07:28
sil2100didrocks: morning!07:28
didrockshey sil2100!07:28
didrocksshouldn't we have some deprecation methods?07:29
didrocksespecially on the sdk07:29
sil2100didrocks: we have #1207647 blocking the apps and sdk stacks07:29
sil2100LP: #120764707:29
ubot5Launchpad bug 1207647 in Ubuntu UI Toolkit "gallery-app autopilot test failures - 'NoneType' object has no attribute 'width'" [High,New] https://launchpad.net/bugs/120764707:29
didrockssil2100: this did block sdk as well, right, as we run their tests?07:29
didrocksthanks for opening the bug :)07:29
didrocksasac: not sure if you want to track that one ^07:29
sil2100didrocks: strange thing, since it didn't block SDK last time!07:29
didrockssil2100: was it failing?07:30
sil2100didrocks: although now SDK clearly fails on gallery-app tess07:30
sil2100*tests07:30
didrocksI think we added those in between, right?07:30
didrocks(like since last time to detect that sdk breaks apps)07:30
sil2100didrocks: last time no, now it does, but it already released the changed one it seems - since as I wrote in the bug, Apps stack uses the released version of ui-toolkit and fails there ;/07:30
sil2100didrocks: which is strange as it should fail07:31
sil2100didrocks: since now SDK fails properly on the gallery-app tests07:31
sil2100But why didn't it during last release?07:31
asaclool: where are you?07:32
didrockssil2100: btw, you can look at unity8 now as well :)07:33
asacdidrocks: i cant track anything :)07:33
didrockssil2100: let me check if we didn't had to set some relax on the treshold in past07:33
asaci will ask every day i guess07:33
didrocksasac: come on, you like doing this ;)07:33
didrocksasac: anyway, we'll push upstream07:33
didrocksand now there is a bug opened07:34
sil2100didrocks: already poked Saviq ;)07:34
didrockssil2100: Saviq is travelling07:34
didrockssil2100: please try bzoltan07:34
bzoltan sil2100: yes sir07:34
didrockssil2100: no relax, the treshold is 007:35
bzoltansil2100: didrocks:  Before anybody shouting "SDK fails" it would be fun to see the logs...07:35
bzoltanKind of tired of watching failures what has nothing to do with the sdk :)07:36
sil2100bzoltan: there is a bug I pasted to gusch about that07:37
bzoltansil2100:  details please07:37
sil2100One moment07:37
sil2100bzoltan: https://bugs.launchpad.net/gallery-app/+bug/120764707:37
ubot5Ubuntu bug 1207647 in Ubuntu UI Toolkit "gallery-app autopilot test failures - 'NoneType' object has no attribute 'width'" [High,New]07:37
sil2100bzoltan: I don't assume anything! I just fill in bugs ;)07:37
bzoltansil2100: I am watching ot07:38
bzoltanit07:38
guschbzoltan: seems like SDK changed the nav-bar implementation, so I'll have to update the autopilot tests07:38
bzoltangusch: seems or you know?07:39
guschbzoltan: I looked about 1 minute on it - so for now I'm only assuming ...07:39
bzoltangusch:  cool... just for the sake of good spirit :) would you be so kind to make sure that you point to the right place before tossing the SDK under the bus :) Recently it become very fashionable to blame the SDK without being sure that the problem is not caused by something else...07:41
bzoltan sil2100: ^07:41
sil2100bzoltan: agreed, but as I said, I don't blame anyone! I just observe and fill in bugs so that everything can be recognized, so I said 2 bug targets ;p07:42
bzoltansil2100:  No worries :) Noone got hurt :) I just would like to be very sure that it is really and SDK issue... before we jump on it and spend time to fix some other project's bug07:44
ali1234why is the compiled kernel suddenly too big for the boot partition on galaxysmtd flipped?07:48
didrocksgusch: so, who is looking at it a little bit closer?07:51
didrocksgusch: as this is blocking all stacks as SDK won't publish (as this test failed)07:51
guschdidrocks: give me 5 minutes, then I'll investiage07:51
didrocksgusch: ok, thanks, please keep us posted07:51
didrocksrather than finding who is to blame exactly, let's try to first get the things fixed as top priority07:52
didrocksunblocking everything07:52
didrocksthen, we can see what we can do :)07:52
ali1234is a boot.img always a kernel and ramdisk?07:57
Chipacayes07:57
timpgusch, bzoltan I changed the TabBar implementation07:58
timpI updated the emulators.py in UITK autopilot tests, I was assuming that apps use those, but I'm not really up-to-date on the tests07:58
ali1234ok, well the last working boot.img i have is 5.8MB... the new one is 10MB and the kernel alone is 8MB07:58
bzoltangusch, sil2100: Let's arrange a public humilation session for timp :D07:58
guschtimp: ok - I'll have a look at your emulator.py and update the gallery tests08:00
timpgusch: you can see the changes here https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/tabs-restructure/+merge/177131 (search for emulators.py). they are not very big08:01
timpgusch: I think we should provide something like this as a library that the apps can call08:01
timpelopio: hi. We moved the discussion about the emulators here08:02
elopiohey.08:02
timpelopio: are the emulators from UITK ready to be used by the app autopilot tests?08:03
timpelopio: my MR that change the tab bar broke the tests in apps08:03
elopiotimp: yes, the filemanager and dropping letters are samples of what needs to be done to use the emulators.08:03
timpgusch: do you need to do a quick fix now? the better solution seems to use the UITK emulators08:05
guschtimp: quick fix now (some people seem to be nervous here ;), and then I'll try to use your emulators08:06
asacogra_: do you have a maguro?08:06
elopiogusch: while using the emulators, you can be sure that all the methods you call are going to work always, because they have selftests on the ui-toolkit branch. If a change on the ui toolkit breaks the emulator, it will not land.08:07
timpgusch: ok, sounds good. get_tabs_bar() seems straightforward to update (remove the New from "NewTabBar"), but I'm figuring out now how you use the result08:07
elopiotimp, gusch: I'm sleeping now :) But I'll be up in ~6 hours in case you need a hand.08:07
timpelopio: sleep well :)08:08
didrocksgusch: it's not a question of being nervous or not, it's just how reactive can we be to get issues fixed and having the flow opened again08:08
didrocksso let's open the gate again! :)08:08
timpdidrocks: did more apps tests break besides gallery?08:09
timpdidrocks: the problem is that autopilot tests of apps make use of internal implemetation details of UITK, which do not need to be stable, but luckily elopio did work to solve that by starting an autopilot library in UITK that other apps can use08:11
elopiobefore I go, I think that a good fix for the tests is better in the long run, even if we need to close the daily releases while we get it implemented. I would use this failures as a sign that we have a high priority to use the emulators on the toolkit on all apps.08:11
elopio...just sayin' :)08:11
didrockstimp: not more tests, but maybe more apps :)08:12
popeyogra_: should we be testing on --ubuntu-bootstrap now?08:12
didrockstimp: it's something that in any way apps can get access to?08:12
didrocksif so, sil2100 can unblock the stack and still publish08:13
didrocksthen, next run will ensure that the tests are now running again08:13
didrocksbut that would make the dashboard red08:13
didrocksso I can see an angry asac next to me :p08:13
timpdidrocks: 10:03:55 < elopio> timp: yes, the filemanager and dropping letters are samples of what needs to be done to use the emulators.08:15
ogra_asac, indeed i do, what do you need ?08:15
didrockstimp: thanks, I was disconnected while you wrote that08:15
timpdidrocks: ^ so I guess apps can get access to it, but how to do it I don't know, let's have a look at filemanager and dropping letters08:15
didrocksyeah08:15
didrocksso let's not release08:15
timpdidrocks: I don't know all the details. elopio wrote that08:15
didrocksin case an app do that08:15
ogra_popey, we should test what utah tests to enhance the automation imho ...08:18
=== alan_g|EOD is now known as alan_g
timpit is a larger MR than I was hoping for, but for filemanager, it is here https://code.launchpad.net/~elopio/ubuntu-filemanager-app/emulators/+merge/17707008:18
ogra_popey, (which means just flipped atm i guess)08:19
asacogra_: folks said maguro is boot looping?08:20
asachmm... just installed aug 108:20
asacthat seems to boot fine08:20
ogra_asac, rsalveti and i tested that last night and couldnt reproduce08:20
ogra_right08:20
asacgema: cant confirm its an issue08:20
asacgema: installed 0801 and it just worked08:20
asacgema: guess we need the exact scripts08:20
xnoxogra_: rsalveti: so yeah, last night's android upload has sqlite back in - both binary and .so08:25
ogra_xnox, great, thanks08:25
popeyogra_: ok08:27
gemaasac: did you use phablet-flash?08:27
asacgema: sure08:27
asacphablet-flash --pending08:28
gemaasac: ack, will ask rfowler and plars to work together in triaging this, then08:28
guschsil2100 bzoltan didrocks timp here the quick fix: https://code.launchpad.net/~schwann/gallery-app/gallery-autopilot-navbar/+merge/178221 (timp can you maybe review it?)08:28
timpgusch: looks good, approving08:28
didrocksgreat! please ping us when the 2 are merged08:29
timpdidrocks: 2? what's the second08:29
timp?08:29
didrocksthe filemanager one?08:29
timpdidrocks: that was already merged, elopio referred to that MR so we can see how to use the uitk emulators in apps08:30
didrocksah, great :)08:30
didrockssil2100: so once the gallery-app is merged, can you please rekick the stack?08:30
didrocksif it publishes, then we can publish sdk + gallery08:30
tsdgeosricmm: you there?09:01
guschdidrocks sil2100 gallery is merged09:06
JamesTaitGood morning all, happy Friday and happy Ice Cream Sandwich Day! :-D09:08
ogra_ yay09:08
ogra_right on the spot for this weather :)09:08
didrocksgusch: thanks! sil2100 still around?09:08
didrocksok, seems not, let me rerun it09:08
didrocks(done)09:09
=== hikiko is now known as hikiko|afk|brb
slangasekrsalveti: so I'm trying to figure out whether the NM delta can't really be limited to the policykit policy after all; but with my dpkg-diverted && hacked-up policy, chewie isn't working, and I'm also not seeing any traffic with dbus-monitor --system.  Do you have any hints how to debug this - at least to the point that I can actually see the dbus traffic?09:48
=== hikiko|afk|brb is now known as hikiko
guschelopio: I'm trying to use the SDK autopilot emulators in gallery - but need some help, can you?09:56
timpgusch: 10:07:36 < elopio> timp, gusch: I'm sleeping now :) But I'll be up in ~6 hours in case you need a hand.10:01
guschtimp: ah - ok - thx10:01
AskUbuntuUbuntu SDK: qmlscene shows a blank image - Ubuntu 12.04 | http://askubuntu.com/q/32777810:03
guschtimp: do you know how the MainView of the toolkit emulators is created? I only get a NoneType ... :(10:21
guschtimp: or do you know anyone who knows about how to use it (filemanager does not hep me :( )10:23
=== chihchun is now known as chihchun_afk
ogra_YAY !10:25
ogra_my first kernel patch since 2.0 times and it works :)10:25
ogra_asac, todays image build failed with a weird python-minimal errors ... i suspect the buildd is borked10:33
=== hikiko is now known as hikiko|lunch
cjwatsonyes, it's the usual panda damage (#ubuntu-release)10:35
ogra_yeah10:35
ogra_re-running, lets see10:35
ogra_if it fails again i'll ask for a reboot10:35
dholbachdid any of the port maintainers (or other people who use a non-official) succeed flashing their devices with  lp:~sergiusens/phablet-tools/flash_change ?10:55
diwicsforshee, mfisch, hi, so I think PulseAudio needs to talk to powerd to make sure the system does not go into S3 while playing back audio. Do you have pointers to how to accomplish this?10:58
Laneymardy: please merge lp:~laney/ubuntu-system-settings/new-icon-paths11:01
Laneythat or make those files not hardcode the directory11:02
sforsheediwic: I can help you out, but I'm not sure I agree that any audio playback should block suspend11:03
diwicsforshee, well, if you play back audio, you need to wake the CPU up every now and then to read more data and feed it into the DMA buffer?11:04
diwicsforshee, if the system suspends, audio playback will stop11:04
sforsheediwic: I would expect this to be a higher-level policy decision that we're playing some class of audio that needs to continue, even if it's to the detriment of battery life11:05
diwicsforshee, PulseAudio could check what type/class of audio is being played back and only request a wake lock on certain types of audio11:07
sforsheediwic: so long as PA has that sort of information I guess that's fine11:07
diwicsforshee, it seems like PA is the one that has the most information about what it is playing back at least11:08
diwicsforshee, since streams can carry classifications11:08
mardyLaney: oops, done11:08
sforsheediwic: so it can tell the difference between e.g. background mp3 playback and sound effects from some app?11:08
diwicsforshee, yes, at least if the app is well-behaving11:09
mardyLaney: did you debug that QNetworkAccessManager issue?11:09
diwicsforshee, and tags its streams accordingly11:09
Laneymardy: no, but I do have that plugin11:09
sforsheediwic: I don't want our power management predicated on apps behaving appropriately11:09
Laneymardy: looks like I might not need it if the design gets simplified11:09
diwicsforshee, do you have a better suggestion?11:12
rahthis guide https://wiki.ubuntu.com/Touch/Porting says that the ubuntu filesystem is kept within a container11:13
rahis that still the case?11:13
sforsheediwic: I would expect whatever implements our media API for apps to make these decisions. Will apps actually talk to PA directly?11:15
dholbachI'm trying to reply to http://forum.xda-developers.com/showpost.php?p=44197859&postcount=5 - is there any reason calls, sms and 3g should not work on a galaxy nexus (using verizon)?11:16
sforsheediwic: My expectation would be that apps would have some kind of play_background_audio() API, and part of the implementation of that API would be to request the active state11:16
pmcgowandholbach, verizon uses cdma which we do not yet support, if this is in reference to touch images11:17
dholbachpmcgowan, gotcha11:17
diwicsforshee, hmm. Do all apps use the SDK? What about "regular" ubuntu software, will they not run on the phone?11:18
diwicsforshee, I mean, if all apps use the SDK we could pull in some policy layer between the app and PA, but that just makes life harder for applications not using the SDK.11:19
jounihI'd imagine games and apps that do their own UI components from scratch wouldn't necessarily use the SDK11:21
sforsheediwic: I really don't know. That's probably a question for tvoss_11:22
diwicsforshee, well, from the discussions with tvoss_ he said it was okay to do it in PulseAudio11:23
=== MacSlow is now known as MacSlow|lunch
diwicsforshee, but if you like we could set up some meeting about it if you have concerns about that11:23
sforsheediwic: I've got to run, but the documentation for powerd's dbus api is at https://wiki.ubuntu.com/powerd11:23
sforsheediwic: you want requestSysState and clearSysState11:23
diwicsforshee, thanks11:23
pmcgowanogra_, I have a mako stuck at the boot screen11:24
pmcgowanogra_, adb sees the device but I cannot shell in, anything to check?11:24
pmcgowanogra_, nm it just booted, hmmm11:25
=== hikiko|lunch is now known as hikiko
rahwhat is the "container" that ubuntu touch runs in?11:31
popeylxc11:31
pmcgowanrah, android components are int he container11:32
pmcgowanin the latest images11:32
rahpmcgowan: so the arrangement has changed recently?11:32
pmcgowanrah, around 1 month ago, the so called flip11:32
rahI see11:33
rahit looks like just control groups and whatnot11:33
pmcgowanthe previous images had ubuntu in a chroot11:33
rahI see11:33
rahso nothing virtual11:33
pmcgowanno11:33
rahgood :-)11:34
dholbachsent another call for help with updating ports and testing the new phablet-flash to http://forum.xda-developers.com/showthread.php?p=44206124#post44206124 (just in case anyone here is interested in helping out as well)11:34
ogra_rah, we boot natively into the ubuntu touch rootfs and fire up androids hardware layer in an lxc container to initialize the hardware ...11:39
rahogra_: I see11:39
rahogra_: why? :-)11:39
rahI mean, why use a container?11:39
ogra_would you prefer the old model of using a chroot for ubuntu ?11:39
rahwhy is the choice container or chroot?11:40
ogra_(running on top of a minimal android)11:40
rahwhy not just: execute?11:40
ogra_because the two systems function totally different11:40
rahfor example?11:40
timpgusch: sorry, I don't know. I know that elopio created them11:40
ogra_ubuntu uses udev for managing device nodes (and has a certain standardized linux naming scheme apps rely on) ... android uses ueventd11:41
rahI see11:41
=== chriadam is now known as chriadam|away
ali1234dholbach: why are you still posting the in progress guide? it's not materially different to the old guide in what it tells you to do, and does not work!11:41
ogra_you cant really use the same /dev for both at the same time without introducing massive issues you would have to hack around11:41
rahlxc can change mount points?11:41
ogra_lxc operates like a vm ... even though it isnt one11:42
rahinteresting11:42
rahdo the android components need modification to work with this setup?11:42
ogra_well, depends what you define as modified11:43
ogra_we rip out 90% of the android tree anyway since we only use the hardware abstraction layer11:43
ogra_but yeah, there are some minor additional adjustments11:44
rahI see11:44
ogra_i.e. we keep just enough android to make the binary drivers usable :)11:44
davmor2ogra_: whats with the touch images?   have they just not run enough all the 2.1 images are red on install and boot?11:47
ogra_davmor2, patience :)11:48
ogra_seems they just havent started yet11:48
davmor2ogra_: so just not run long enough then?11:49
* popey has just flashed 20130802.1 here11:49
ogra_davmor2, the dashboard works asynchronous ... it only updates every n munites11:49
davmor2popey: I was about to do the same so checked the smoke test first and the see of red didn't fill me full of hope :)11:50
davmor2ogra_: ah fair enough11:50
ogra_davmor2, hmm, though looking at the logs it seems like it actually failed to install, seems the tests changed11:53
ogra_gema, ^^^11:53
popeygallery app looks broken if launched from the camera app11:53
popeybut works if launched on its own11:53
ogra_gema, apparently the new "install-and-boot" test failed for all 0802.1 images11:53
guschpopey: works for me11:53
popeygusch: on 20130802.1?11:54
guschpopey: 20130801 ...11:54
ogra_02.1 is only 20min old :)11:54
popeyI'm fast ☻11:54
ogra_yeah11:55
popeyit works after gallery has been launched at least once11:55
popeybut if you flash, open camera, press button in bottom right to launch gallery, it fails11:55
popeynow, is that a camera-app bug or a gallery-app bug? ☻11:56
=== om26er is now known as om26er|internet_
=== om26er|internet_ is now known as om26er
davmor2popey: write it as a camera app bug and add gallery to the bug11:58
popeyyeah11:58
popeyhttps://bugs.launchpad.net/camera-app/+bug/120772012:00
ubot5Ubuntu bug 1207720 in gallery-app "gallery wont start after clean flash, from camera app" [Undecided,New]12:00
davmor2popey: open clock, set city to wolverhapmton, what time does it display?12:00
popey183012:00
popey(the year)12:00
popey(kidding)12:00
davmor2popey: for me utc is saying 12:01 wolves is saying 04:0112:01
popeydavmor2: 13:0112:01
popeyhttp://popey.com/~alan/device-2013-08-02-130142.png12:01
davmor2not quite sure what  happened there :)12:01
davmor2popey: ta I'll add it again and see what happens12:02
popeyi added then tapped on it12:03
davmor2and now it's right :)12:03
popeymagic12:03
davmor2popey: must of just been a minor glitch12:03
popeyfat finger syndrome12:03
davmor2popey: possibly except that under wolverhampton there are 5 listings all of which are wolverhapton in the uk12:04
davmor2popey: I might of clicked before it had refreshed fully and got some random timezone12:05
davmor2popey: if I open camera and click on gallery I get the gallery but it takes a couple of attempts at opening12:06
davmor2popey: flashes grey, closes back to camera, then opens properly12:07
ogra_linker.c:1095| ERROR: Library 'libmaliinstr.so' not found12:09
ogra_GRMPF ...12:09
xnoxHM?!12:14
xnoxwhy would we need maliit on android side? or is this inside ubuntu?12:14
=== alan_g is now known as alan_g|lunch
popeydavmor2: i tried 3 times before it would launch12:16
davmor2popey: is that from a --pending or a --pending --wipe?12:17
popeyits --pending, but it's a clean device12:17
davmor2popey: okay once we find out what is happening with the m-i-l I'll try a --wipe and see if that replicates it.12:18
ogra_xnox, android side ... on a galaxy S212:22
ogra_cjwatson, heh, i liked "mantra" :) ... thanks for reminding me of the WI ... (/me closes, long done)12:23
=== _salem is now known as salem_
ogra_xnox, seems the camera-app triggers something that wants to use this lib (and indeed falls over with white screen)12:25
gemaogra_: that means the image doesn't install12:33
ogra_gema, well, it surely does for popey and me12:33
gemaogra_: install-and-boot is our test for flashing and doing something small12:33
gemaogra_: looking12:34
popeyi just did "phablet-flash --pending"12:34
popeyalan@deep-thought:~$ adb shell cat /var/log/installer/media-info12:34
popeyUbuntu Saucy Salamander (development branch) - armhf (20130802.1)12:34
gemaogra_: maguro is broken12:34
gemaogra_: the phone itself12:34
gemaogra_: int he lab12:34
ogra_gema, yeah12:34
gemaogra_: I need paul and rfowler to look into that later today12:34
gemaogra_: and I don't know about grouper12:35
gemaogra_: but we enabled this test yesterday, so give us a couple of days to go through the hooks to make it work12:35
ogra_gema, install-and-boot seems to have failed for grouper and manta too though12:35
gemaogra_: yep, I see that12:35
ogra_k12:35
gemaogra_: plars will fix that12:35
ogra_yeah, i didnt want to be pushy, just report it :)12:36
=== MacSlow|lunch is now known as MacSlow
dholbachali1234, how is https://wiki.ubuntu.com/Touch/PortingFlippedInProgress?action=diff&rev2=13&rev1=1 "not materially different"?12:39
ali1234dholbach: the instructions for checkout and building a port are identical. those notes only apply *after* you have done that12:41
ali1234and also they are device specific anyway12:42
dholbachali1234, well, there are always going to be device-specific parts - thanks in any case for bringing it up on the mailing list12:43
ali1234i'm currently trying to build vanilla cyanogenmod to see if it also builds a bloated 8MB kernel12:51
ali1234but it keeps failing on some proprietary app :(12:51
ogra_ali1234, woah, 8M ?12:56
ali1234yeah i know12:56
ali1234this didn't happen with the unflipped image, when it still worked12:56
ali1234boot is only 7MB and the ramdisk is another 2MB12:56
ogra_yeah12:56
ogra_i havent seen a kernel above 5M yet12:56
ali1234so somehow i need to trim 3MB from the kernel12:56
ogra_in android12:56
ogra_you could repack the ramdisk and remove adbd and libcrypto.so12:57
ali1234that won't help given that the kernel alone is bigger than boot12:57
ogra_ah, your boot partition is 8M ? yeah, then it wouldnt12:58
ogra_i wonder why it got bigger for you though ... its not like we touch kernel configs of ports in any way12:58
ali1234well for one thing samsung uses a non standard boot.img format12:58
ogra_(and the configs for the supported devices  comes from packaged kernels)12:58
ali1234they are probably using lzma or something, to fit their massive kernel in it12:59
ogra_yeah, i know ... thats what my last mail to the ML was about12:59
ogra_for the galaxy S2 though12:59
ali1234anyway, if i can see how vanilla CM does it, i will know what the problem is12:59
ogra_they do, but that hasnt changed since before the flip12:59
ali1234if i can get it to build that is12:59
ali1234er... but it has changed12:59
ogra_it can only be a change on the CM side13:00
ali1234the unflipped images also no longer work for me13:00
ogra_as i said, we dont touch kernel configs ... the porter has to do that himself13:00
ali1234in the flipped image it uses mkbootimg, that's where it fails13:00
ogra_but since your kernel gets most likely pulled from CM i would blame them13:00
ogra_mkbootimg doeesnt have anything to do with the kernel config though13:01
ali1234the last time i successfully built an ubuntu touch image, it had a boot.img without the "Android!" magic, ie it's a none standard samsung one13:01
ogra_it is called after your kernel was built13:01
ali1234exactly13:01
ali1234the last time i successfully built ubuntu-touch, it didn't use mkbootimg13:02
ali1234it used whatever tool samsung uses13:02
=== daker_ is now known as daker
ali1234but since i no longer have the source of that version, i can't compare13:02
ali1234hence trying to build CM13:02
ali1234it may be as simple as hacking the script to use a different version of mkbootimg, one that uses different compression13:04
ali1234like maybe they disabled compression on the kernel build and put it into mkbootimg?13:04
ali1234/home/al/Source/ubuntu-touch/cm/out/target/product/galaxysmtd/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8SVGRectElement.cpp:373:1: internal compiler error: Segmentation fault13:04
ali1234fun13:04
ogra_wow13:10
ogra_gallety app looks really bad on http://reports.qa.ubuntu.com/smokeng/saucy/image/3316/gallery-app-autopilot/  (mako on 0802.1)13:10
ali1234is "make out/target/product/galaxysmtd/kernel" a valid thing to do?13:12
ali1234no13:13
ogra_go into the kernel subdir and call make Image13:13
ogra_*make zImage13:13
ogra_(my Z key is wonky)13:13
ali1234that won't tell me what i need to know13:13
ali1234well, i suppose it might13:13
ogra_ah, k13:13
ogra_i thought you wanted to get a kernel binary quickly13:14
ali1234supposing i do that and the kernel comes out at 5MB, what then?13:14
ali1234no, i want to know how cyanogenmod fits an 8MB kernel into a 5MB boot.img :P13:14
ogra_oh, you should copy the right defconfig file to .config in that dir13:14
ogra_before building :)13:14
ali1234and where do i find the right one?13:14
ogra_in the kernel subdir it should be in arch/arm/configs/13:15
ogra_usually named after your device13:15
ali1234yeah with about 5 million others13:15
ogra_(i,e, i have a cyanogenmod_i9100_defconfig for the galaxy S2 in use)13:15
ali1234ah yeah13:16
ogra_knowing the SGS2 is an i9100 makes it easy :)13:16
ali1234of course there is no guarantee that's the one it actually uses13:16
ogra_there surely is an xml or .mk file where it is defined what brunch uses13:16
ali1234CONFIG_INITRAMFS_SOURCE="source/usr/galaxysmtd_initramfs.list"13:17
ali1234CONFIG_INITRAMFS_COMPRESSION_NONE=y13:17
ogra_(i never needed it so i never searched)13:17
ali1234maybe that's why it's so big?13:17
ogra_nah13:17
ogra_that would be referring to ramdisk.img only13:17
ogra_look at the kernel comprerssion instead13:17
ogra_my SGS2 indeed uses lzma here13:18
ogra_not sure what you have13:18
ali1234CONFIG_KERNEL_LZMA=y13:18
ogra_yeah, the same13:18
ali1234if i do make zImage i also need to export ARCH and CROSS_COMPILE and so on...13:20
ogra_i'd check the if CM has made any config changes between 10.1 and 10.2 ... look for something that was modular before and isnt anymore13:20
ali1234i'm not using 10.213:20
ogra_-the13:20
ogra_you are using phablet-saycy, no ?13:20
ogra_*saucy13:20
ali1234yes13:20
ogra_iirc rsalveti based that on 10.213:21
ali1234but saucy doesn't contain repos for galaxysmtd13:21
ogra_ah. you mean your added stuff points to 10.1 ?13:21
ali1234yeah, i think so13:21
ali1234only the parts i changed though13:21
=== Nitrodex is now known as Guest93127
ali1234breakfast adds 5 repos, 3 of which i changed to my own13:22
ali1234i rebased my kernel tree on cm-10.1 latest13:24
ali1234i think i will revert back to exactly what i had last time it worked13:24
ogra_well, we stopped building unflipped userspace a while ago13:25
ali1234yes, i mean just revert the kernel source13:25
ogra_ah13:26
ogra_yeah13:26
ali1234trying now13:26
ali1234do i need to do anything to get a clean build?13:26
=== alan_g|lunch is now known as alan_g
ali1234make  -C kernel/samsung/aries O=/home/al/Source/ubuntu-touch/phablet/out/target/product/galaxysmtd/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/al/Source/ubuntu-touch/phablet/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" zImage13:29
ali1234is what it actually does13:29
AskUbuntuUbuntu Touch OS | http://askubuntu.com/q/32783213:29
oSoMoNKaleo: hey, what’s the issue with the font size in QtWebKit?13:29
rsalvetimorning13:30
=== Namidairo is now known as Namidairo`bnc
* rsalveti reading backlog13:30
ali1234nope. identical kernel source, still doesn't work13:32
rsalvetislangasek: cyphermox spent quite a few days trying to just disable the policy part of it, and in the end he was still unable to make the indicator to create the connection, that's when he gave up13:32
rsalvetislangasek: so unfortunately I don't know much more about that specifically, and cyphermox will be back on monday13:33
sergiusensxnox: maliit != mali13:35
ogra_ali1234, btw, since your device seems to use the same shitty bootimg design my SGS2 has, you might need the patch i posted to the ML today13:36
ogra_sergiusens, heh, lol, i didnt even notice that :)13:37
slangasekrsalveti: ack, understood.  fwiw I got my dbus-monitor issue sorted, apparently there's a wiki page for that (thanks, robert_ancell :) - so the method is being called and NM is seemingly ignoring the request, still working on understanding why this is13:38
Saviqmhall119, not yet13:39
slangasekrsalveti: I'd rather do this than add a separate binary package now that we'll have to futz with later, but I'll timebox it so if I don't get it done by Monday we fall back to the really-quick-and-extra-dirty option :)13:39
rsalvetiogra_: libmaliinstr.so seems to be a blob13:42
Stskeepsit's a instrumentation extension, can be ignored, not fatal from what i know?13:43
rsalvetiogra_: phablet-flash is based on 10.1.2 :-) 10.2 is based on AOSP 4.313:43
rsalvetiStskeeps: cool, ogra_ ^13:43
rsalvetislangasek: exactly, that's what we requested cyphermox to do as well, but he had to give up after 2,3 days13:44
rsalvetiand he's back on monday as well, so make sure you sync with him before pushing the quick and dirty one :-)13:45
slangasekrsalveti: so if cyphermox wasn't able to crack it, I won't feel bad if I also fail - but I'll try all the same. :)13:45
rsalveti:-)13:45
ogra_Stskeeps, well, thats the error logcat shows if i try to start the camera app or ant media playback13:46
ogra_*any13:46
Stskeepshmm13:46
Stskeepsit's not my belief it's anything but a warning, perhaps caused by dlopen13:47
rsalvetiogra_: just that error?13:47
ogra_so i assume the SGS2 might actually make use of it13:47
ogra_rsalveti, one sec, need to boot13:48
ogra_hmm, odd, now it doesnt boot13:50
rsalvetiogra_: :-)13:51
ogra_http://paste.ubuntu.com/5940127/13:51
* rsalveti hugs sforshee, my device was off but still with a bit of battery13:52
rsalveticould boot and charge :-)13:52
ogra_oh, powerd got critical shutdown ?13:52
ogra_nice13:52
rsalvetilanded last week afaik13:53
rahis ubuntu touch usable?13:53
ogra_we need to get rid of the charget stuff ...13:53
ogra_*charger13:53
rsalvetiogra_: so that's just the linker complaining about the missing library13:53
ogra_it annoys me massively13:53
rsalvetithat doesn't necessarily cause any issue13:53
rsalvetiogra_: try stopping the shell and starting just the camera app13:53
ogra_rsalveti, hmm, k then its something else13:53
ogra_might be device access issues still13:54
rsalvetiogra_: or the camera test app from libhybris13:54
rsalvetiright13:54
ogra_though max said he had camera and media playback working in unflipped13:54
rsalvetiif you see maguro, it'll always complain about missing libraries13:54
ogra_(he funnily also has gprs working just fine ... but no calls/SMS)13:54
ogra_rah, there are people using it on a daily basis as their main phone13:55
ogra_rah, i wouldnt give it to my Mom yet13:56
rahogra_: cool thanks13:56
KaleooSoMoN: I suppose the patch supporting the grid unit definition/pixel ratio has not been ported to Qt5.113:56
KaleooSoMoN: since it won't be necessary thanks to qtubuntu feeding the right information to the whole of Qt13:56
Kaleohttps://bugs.launchpad.net/webbrowser-app/+bug/120727013:56
ubot5Ubuntu bug 1207270 in webbrowser-app "Font size too small in browser with Qt 5.1" [High,In progress]13:56
oSoMoNKaleo: really, qtubuntu has been fixed in this regard? hurray!13:57
KaleooSoMoN: no it has not :)13:57
KaleooSoMoN: but it will be done next week13:57
oSoMoNthen hurray all the same!13:57
dholbachsergiusens, did you get much feedback on your branch? some success stories? :)13:59
sergiusensdholbach: not really14:00
dholbachall right, I'll mail the port maintainers again - will this require a flipped port already?14:01
sergiusensdholbach: no, it would work with anything14:01
dholbachgotcha14:02
sergiusensdholbach: as long as you specify the 2 zips14:02
ogra_rsalveti, so i think there is something else http://paste.ubuntu.com/5940176/14:04
=== salem_ is now known as _salem
rsalvetiogra_: not sure if those are fatal14:05
rsalvetiogra_: I believe they will happen even if you start with maguro14:05
rsalvetior mako14:05
mhall119Saviq: not yet what?14:05
ogra_hmm k14:06
ogra_so how do i debug that :/14:06
Saviqmhall119, not yet tests for HUD14:07
Saviqmhall119, well, there are some, but testing unity8 itself, not integration14:07
mhall119ah, ok14:08
rsalvetiogra_: what is the ui behavior?14:08
mhall119is that something we can write tests for?14:08
ogra_white screen14:08
rsalvetilet me check the hybris test here14:08
rsalvetihm14:08
ogra_for camera as well as movie playback14:08
rsalvetiso the camera app is not even started somehow14:08
ogra_right14:08
ricmmtsdgeos: whats up14:10
tsdgeosricmm: https://code.launchpad.net/~aacid/platform-api/mirftbfs14:10
rsalvetiogra_: I know sergiusens had some camera hal tests already14:11
rsalvetisergiusens: is that public somehow?14:11
ricmmtsdgeos: ah shit, so thats why get_native(surface) was failing14:11
ricmmtsdgeos: lemme test real quick and ill happrove14:12
sergiusensrsalveti: I have it in a branch, but I broke them yesterday14:12
tsdgeosricmm: tbh i have not tested it because i have no clue when taht gets called14:12
rsalvetiogra_: I can run test_camera here, but it seems I'm not getting anything in the screen (but can take pictures and such)14:12
rsalvetisergiusens: haha, ok :-)14:12
ricmmtsdgeos: it gets called on creation of a surface14:12
ricmmthe native type is requested14:12
sergiusensrsalveti: my tests were headless, so if screen integration is what you were looking for, that's how I broke the tests yesterday, being a GL noob14:13
ricmmsergiusens: noob14:13
sergiusensricmm: yup, and proud :-)14:14
rsalvetiogra_: try running test_camera14:14
sergiusensrsalveti: I'll have to do some weekend reading or see if I can get some help from gusch later today/monday14:14
rsalvetisergiusens: got it, but guess for now just testing if the hal itself is working should be good (for what ogra needs)14:14
ogra_should it do anything ?14:14
rsalvetisergiusens: cool14:15
rsalvetiogra_: press the power button, should take a picture14:15
ogra_hmm14:15
rsalvetiogra_: http://paste.ubuntu.com/5940205/14:15
ogra_mine sits at line 214:16
ogra_forever14:16
rsalvetiogra_: even as root?14:16
ogra_yeh14:16
=== _salem is now known as salem_
ogra_*yeah14:16
guschsergiusens: today?!? not very likely ;)14:17
rsalvetiogra_: if so, I'd guess it's hanging when trying to connect with the camera service14:17
sergiusensgusch: I know, hence the /Monday which means next week14:17
rsalvetiogra_: strace?14:17
sergiusens:-)14:17
ogra_rsalveti,  of the test ?14:17
ogra_one sec14:17
rsalvetiogra_: yeah14:17
ogra_sigh14:17
sergiusenslogcat is very verbose with the camera14:17
ogra_why the heck dont we ship strace by default14:17
rsalvetiogra_: yeah, both strace and logcat please :-)14:18
rsalvetiogra_: indeed14:18
rsalvetiit was just like wget14:18
rsalveticommand not found14:18
ogra_do we have a logcat package ?14:18
rsalvetihahah14:18
rsalvetibut we have it now because of click packages14:18
ogra_yeah14:19
rsalvetiogra_: nops, just use the android binary14:19
ogra_oh, i thought logcat in the seeds, heh14:19
ogra_my brain is borked today ... 32C and rising here14:19
slangasekrsalveti: please review https://code.launchpad.net/~vorlon/ubuntu/saucy/lxc-android-config/nm-divert/+merge/178308 :)14:20
rsalvetihaha, can imagine that's not that common for you14:20
rsalvetislangasek: sure, lemmecheck14:20
slangasekrsalveti: successfully tested on mako w/ stock NM14:20
ogra_http://paste.ubuntu.com/5940226/14:21
ogra_rsalveti, logcat doesnt move at all when i run the test14:22
rsalvetiogra_: hm, running logcat as root as well?14:23
ali1234right. the only difference between CM kernel and ubuntu touch kernel is the addition of the various required config options. these grow the kernel by 3M14:23
ogra_yep14:23
rsalvetiweird14:23
rsalvetilet me read the strace log14:23
ogra_i think i dont get through at all14:23
=== _salem is now known as salem_
sil2100jamesh: are you still around?14:25
rsalvetiogra_: do you have the media service running in the android container?14:25
ogra_root@ubuntu-phablet:/# ps ax|grep media14:26
ogra_ 1802 ?        Sl     0:00 /system/bin/mediaserver14:26
ogra_i moved the sensorservice from late_start to main though ...14:26
slangasekrsalveti: if you're happy with that patch, I'd love it to be uploaded today so we can scratch NM off the list :)14:26
ogra_but even without it moved it didnt work, so i dont think thats related14:27
rsalvetislangasek: yup, just doing a clean flash and will test it14:28
slangasek\o/14:28
rsalvetiogra_: interesting, comparing with mine (on maguro), the only difference is that it seems I get a reply over binder14:29
rsalvetiand yours get stuck in there14:29
ogra_yeah14:29
ogra_thats waht i meant with "i dont get through"14:29
rsalvetithat's the annoying part of not using just the hal, and also depending on a service14:29
ogra_i blame tvoss14:29
rsalvetithe video playback must be hanging in a similar situation14:30
rsalvetias that also depends on the mediaservice14:30
guschelopio timp can one of you review this? https://code.launchpad.net/~schwann/ubuntu-ui-toolkit/ui-autopilot-fix-toolbar-open/+merge/17831114:30
ogra_well, i have no sound14:30
ogra_so i'd blame video playback not working on that fact14:30
rsalvetiyeah, sound would also go via binder14:31
rsalvetiso it seems indeed an issue when trying to talk, over binder, with the media service14:32
rsalvetiand why would that only happen with your port14:32
ogra_well, and why would the rest of the system work just fine14:32
ogra_doesnt ubuntuappmanager talk over binder too ?14:32
rsalvetiogra_: yup14:32
ogra_right14:32
rsalvetiogra_: try killing the mediaservice14:33
rsalvetithat would get it restarted14:33
ogra_so the commmunication is generally possible14:33
rsalvetiand then watch for logcat14:33
rsalvetiindeed14:33
janimoogra_, is there no manifest of the inlcuded packages and their versions for preinstalled saucy images?14:33
ogra_huh ? there should be14:33
* ogra_ checks14:33
ogra_http://cdimage.ubuntu.com/ubuntu-touch/daily-preinstalled/20130802.1/saucy-preinstalled-touch-armhf.manifest14:34
ogra_janimo, ^^^14:34
ali1234hmm... nope again14:34
ali1234identical, and i do mean 100% identical kernel source produces a 6MB kernel under one build system, and a 8MB kernel under another14:35
Tassadar_ali1234: is that only zImage, or the whole boot.img?14:36
ali1234both14:36
janimoogra_, thanks my bad. I just eyeballed the page without using Ctrl-F :)14:36
ali1234boot.img is exactly the same file as "kernel" on galaxysmtd14:36
janimomanifest just hid well among manta, maguro and mako14:36
ogra_rsalveti, http://paste.ubuntu.com/5940282/ looks all fine14:37
Tassadar_ah, samsung devices, no idea how are they doing it)14:37
ogra_Tassadar_, in an awful way14:37
rsalvetiogra_: indeed, still fails after restarting the service?14:38
ogra_Tassadar_, its a three stage bootloader14:38
ogra_rsalveti, yup14:38
ogra_Tassadar_, with scripts in the middle somewhere14:39
* Tassadar_ goes back to his nexii with 'nope!'14:39
ogra_heh14:39
rsalvetiogra_: argh, then guess we'd need more debugging enabled in the media service itself, to see if android is indeed getting the binder requests14:39
=== jono is now known as Guest51067
rsalvetiwhat a pain14:39
ogra_rsalveti, well, its not a high prio14:40
ogra_i have put enough work time into it14:40
rsalvetiit should all be easier later on once we switch to be only hal based14:40
rsalvetias that would just be loading the library and doing stuff14:40
rsalvetiyeah14:40
ogra_the purpose of finding out to whats needed to get it to flipped is fulfilled already14:40
ogra_and it made me write a kernel patch ...14:41
ogra_the first one in ten years ... and it worked on first shot ... i'm so proud :D14:41
rsalveti:D14:41
jodhrsalveti: FYI, the upstart-local-bridge (the ubuntu side of the property watcher) is now in lp:upstart if you want to pull that and try it out locally.14:44
jGleitzHey guys!14:44
jGleitzMaybe this is very obvious, but I was unable to find documentation about this anyway:14:44
jGleitzThe Ubuntu SDK is said to have the u1db-feature integrated. If I get it right, this is a nice way for apps to store their data and have it available across different devices.14:44
jGleitzBut: How do I use it?14:44
rsalvetijodh: awesome, will try it today still14:44
rsalvetilooking forward for that :-)14:44
ogra_oh, i would have expected a slightly more intuitive name14:45
popeyjGleitz: kalikiana is your man14:45
* ogra_ noted you talked about upstart-local-bridge in the foundations meeting ... i wouldnt have gotten the connection to android from that name14:46
jGleitz @popey: Thanks! Shat I message him directly via IRC?14:46
jGleitz*Shall14:46
* dholbach hugs janimo14:47
jodhrsalveti: note there is no sample .conf file (as we can't know what the path will be), but something like this should work: http://paste.ubuntu.com/5940308/14:47
jodhrsalveti: we should prolly change that path to /dev/socket/upstart-local-bridge in that .conf and also in the android watcher code of course.14:48
ogra_jodh, oh, we use the android event elsewhere ... do you plan to keep it ?14:48
* ogra_ will need to update the container stuff then14:48
dholbachjanimo, thanks a bunch for your experience report14:48
jodhogra_: it was just a suggestion. Maybe "android-init"?14:49
rsalvetijodh: awesome, indeed14:49
ogra_jodh, well, i can rename mine to android-container as well :)14:49
jodhrsalveti: adding --debug to the command-line could be useful initially too.14:49
rsalvetijodh: ok14:49
ogra_janimo, the SF hacks wont be needed anymore once we are on Mir ...14:52
ali1234this makes no sense14:56
ali1234the only thing that can be different is the compiler14:56
ogra_ali1234, well, it is samsung14:56
ali1234make  -C kernel/samsung/aries O=/home/al/Source/ubuntu-touch/cm/out/target/product/galaxysmtd/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/al/Source/ubuntu-touch/cm/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" zImage14:57
ali1234this command produces a 8MB kernel in phablet and a 5MB kernel with cyanogenmod14:57
ali1234kernel/samsung/aries is identical in both cases14:57
ali1234the only other difference is the compiler used14:57
ali1234i am now going to test it externally to the repo, just to prove there's no other differences14:58
ogra_well, its weird14:59
mfischLaney: would you have any use for having libglib2.0-bin installed by default ( to get gsettings for example)?15:00
* janimo hugs dholback back15:00
janimoogra_, I am looking forward to Mir landing15:00
nexwave-mat1morning guys15:03
nexwave-mat1I managed to build for my device on the phablet-saucy branch this morning. Now I'm wondering what the next step to getting the flipped container to boot is?15:04
Chocantopopey: Hey ! How are you ? :) Since libpoppler is available in saucy-proposed, the poppler-qml-plugin can be compile and packaged without any problems. Then, can we add this package to the coreapps PPA and make autolanding tests for it ? :)15:05
nexwave-mat1I can ADB straight into ubuntu but have no logcat command...15:06
ali1234android_prebuilt.git is the one with the compilers, right?15:07
nexwave-mat1ali1234, yes15:08
popeyChocanto: yes. fginther is the man you need for that15:08
Chocantopopey: OK thank you :)15:08
Chocantofginther: ping ?15:08
fgintherChocanto, hello15:09
salem_sergiusens, ping15:09
sergiusenssalem_: slow pong...15:09
Chocantofginther: Hello :) I would like to add a package for core apps15:09
salem_sergiusens, hey, do you know what is going on with this MR?  https://jenkins.qa.ubuntu.com/job/telepathy-ofono-ci/5/console15:10
sergiusenssalem_: give me a minute and I'll check15:10
salem_sergiusens, ok, thanks15:10
fgintherChocanto, libpoppler I see15:11
fgintheror poppler-qml-plugin15:11
Chocantofginther: the qml plugin :)15:11
sergiusensfginther: seems the telepathy-ofono project is broken15:11
sergiusenssalem_: ^^15:12
fgintherChocanto, I can start the process of adding it. Will ping you when it's ready15:12
fginthersergiusens, how so?15:12
Chocantofginther: Ok, thank you15:12
sergiusensfginther: no downstream projects15:12
sergiusensfginther: http://10.97.2.10:8080/job/telepathy-ofono-ci/15:12
popeythanks fginther15:12
sergiusensfginther: just gone...15:13
salem_sergiusens, broken? how?15:13
sergiusenssalem_: it's not configured to build anything15:13
salem_sergiusens, ah, you mean the jenkins project:15:14
salem_?15:14
mfischogra_: ping15:14
sergiusenssalem_: yeah, sorry15:14
ogra_mfisch, hey15:14
mfischogra_: surfaceflinger is segfaulting, is there any suggestions to debug?15:14
salem_sergiusens, who can fix it?15:14
ogra_mfisch, hmm not really beyond logcat output, syslog, dmesg15:15
mfischogra_: I'm guessing this is the main issue: "F/SurfaceFlinger( 3388): couldn't create EGLContext"15:15
mfischit tried a bunch of stuff before that to create one and then gave up15:15
ogra_no, thats normal15:15
mfischogra_: i thought "F/" was fatal?15:15
fginthersergiusens, it's jut not configured correctly. I'm guessing it got moved15:16
sergiusenssalem_: I pinged fginther, probably an update of configs that broke it15:16
ogra_adb shell /system/bin/logcat -D | pastebinit15:16
salem_sergiusens, ok, thanks!15:16
sergiusensfginther: oh, I was guessing a push during a build15:16
nexwave-mat1ogra_, just wanted to say thanks for the help yesterday. I got everything building and am now ready to continue. You free to help some more?15:16
ogra_nexwave-mat1, not today, i'm rather busy, but i can surely answer one or the other occasional question15:17
nexwave-mat1ogra_, lol well my next question is after I have a booting build whats the next step?15:17
ogra_install the zip and see how it behaves15:18
fgintherChocanto, what is the correct launchpad branch for poppler-qml-plugin?15:18
Chocantofginther:  lp:ubuntu-docviewer-app/poppler-qml-plugin15:18
ogra_you will either end up with a boot loop or it will stop in initrd and give you an adb shell ... or it will boot into the rootfs15:18
nexwave-mat1ogra_, I did. It boots and I can adb into ubuntu but it seams to be a very stripped down version15:19
nexwave-mat1not logcat and no /var/log/ directory15:19
fgintherChocanto, thanks15:19
ogra_so you see root@ubuntu-phablet ?15:19
ogra_or do you see root@android ?15:19
ogra_logcat isnt in $PATH ... you need to call it directly as /system/bin7logcat15:20
ogra_/system/bin/logcat15:20
nexwave-mat1ogra_, http://pastebin.com/iQU8Ph9e15:20
ogra_nexwave-mat1, thats the initrd, it didnt boot15:21
rsalvetislangasek: happroved your nm lxc-android-config change, mind merging and pushing that?15:21
rsalvetislangasek: will also remove nm from our ppa15:21
rsalvetiseems it worked as expected :D15:21
ogra_nexwave-mat1, it did not find your rootfs15:21
nexwave-mat1ogra_, ok...15:21
ogra_nexwave-mat1, that happens if your partition name is not in the list15:22
ogra_i have to add it to the script15:22
nexwave-mat1ogra_, what do you need from me?15:22
ogra_nexwave-mat1, find /dev -name *by-name*15:22
ogra_lets see if thats right15:22
nexwave-mat1ogra_, can I make any mod right now to get ot to work?15:22
ogra_nexwave-mat1, yes, but we need the find the names15:23
nexwave-mat1ogra_, where do I search?15:23
ogra_ls /dev/disk/by-name and ls /dev/disk/by-partlabel15:23
ogra_that shoulkd suffice15:23
slangasekrsalveti: \o/15:23
rsalvetislangasek: once you push that, let's also spin a new image15:24
* rsalveti removing nm from the ppa15:24
nexwave-mat1ogra_, I just resotred CM on my phone, can I give you the fstab file instead?15:24
ali1234ok the prebuilt repos are identical in CM and UT15:25
ogra_nexwave-mat1, no, that doesnt help15:25
ali1234so identical kernel source and identical compiler produces different results15:25
ogra_nexwave-mat1, we need the device names as udev in ubuntu sees them15:26
nexwave-mat1ok gimme a min ill reflash15:26
ogra_rsalveti, oh, i'm just finally updating meta for the unity8 drop ...15:26
fgintherChocanto, poppler-qml-plugin doesn't build yet, the dependency needs to be promoted from proposed15:26
ogra_rsalveti, i'll better wait then :)15:26
rsalvetislangasek: removed nm from the ppa, so after pushing the change (and getting it published), sync with ogra_ to spin a new image :-)15:27
rsalvetiso we can test that properly before eod15:27
fgintherChocanto, http://91.189.93.70:8080/job/ubuntu-docviewer-app-poppler-qml-plugin-saucy-amd64-ci/1/console15:27
Chocantofginther: Jenkin don't have the proposed repo ?15:27
slangasekrsalveti: lxc-android-config uploaded15:28
ogra_yay15:29
fginthersergiusens, I pushed a fix for telepathy-ofono15:29
fgintherChocanto, no, we don't use proposed15:29
fginthersergiusens, Chocanto gotta go. I'll be online after a few hours15:31
Chocantofginther: Ok, we can wait, it will build when libpoppler will be promoted15:31
ali1234hmmmmmmmmmmm15:32
ali1234comparing System.map. guess what the first different offset is...15:32
ali1234the only difference between these kernels is that the one built by ubuntu has a huge initramfs compiled in to it15:32
cjwatsonThat could still take a little while - poppler is in the middle of a transition15:32
ogra_ali1234, *into* it ?15:32
cjwatsonThough it does look like it's almost there15:34
ali1234yes15:35
ali1234c002d4c8 T __initramfs_start15:35
ali1234c06ad4c8 T __initramfs_size15:35
ali1234those symbols are consecutive in System.map and the latter is the first one that differs between the two kernels15:35
ali1234i suppose this is how samsung boot.img differs. instead of the Android! header it's just a raw zImage with compiled in initramfs15:35
ali1234then ubuntu tries to make that into a boot.img, appending yet another ramdisk15:35
ogra_you said kernel15:35
nexwave-mat1ogra_, # ls dev/disk/by-15:35
nexwave-mat1by-id/    by-path/  by-uuid/15:35
ali1234yes, kernel, as in zImage15:35
nexwave-mat1its all I got15:35
ogra_nexwave-mat1, very bad15:35
nexwave-mat1ogra_, >.<15:36
ogra_nexwave-mat1, i fear you have to wait until i fixed bug 1199084 (and indeed that will only work if you have a fully modifyable kernel cmdline15:37
nexwave-mat1ogra_, http://pastebin.com/iQU8Ph9e15:37
ubot5bug 1199084 in initramfs-tools-ubuntu-touch (Ubuntu) "mount support via cmdline parameters: systempart= datapart=" [Medium,Confirmed] https://launchpad.net/bugs/119908415:37
ogra_yeah thats doesnt help15:37
rsalvetidiwic: you did remove alsa load/store in your image, right?15:38
rsalvetidiwic: I wonder if that's causing issues with maguro with the default image15:38
rsalvetithe device is crashing while initializing the sound, after a second reboot15:39
nexwave-mat1 ogra_, so nothing we can do at the moment?15:39
ogra_nexwave-mat1, you can hack up the touch script inside the initrd and see how much further you get with that15:39
diwicrsalveti, I believe you removed it for me15:39
ogra_nexwave-mat1, but not having properly labelled partitions will cause other issues later too15:40
rsalvetidiwic: yeah, was thinking of pushing that to the default image15:40
ogra_rsalveti, ++15:40
rsalvetiwill do some more testing here, but will probably push that by default as well15:40
ogra_i tried it a week ago or so, didnt cause any harm on grouper and maguro15:40
rsalvetiyeah, cool15:40
diwicrsalveti, sounds good to me too15:42
rsalvetidiwic: ok, cool15:42
janimoogra_, my graphics devnode addition was needed even after the device specific .rc15:45
janimoif it's a known issue on OMAP/SGX it may be the case for other devices too15:45
diwicrsalveti, for the Audio HAL talking to the baseband/modem, look at http://phablet.ubuntu.com/gitweb?p=CyanogenMod/android_hardware_qcom_audio.git;a=blob_plain;f=alsa_sound/AudioHardwareALSA.cpp;hb=HEAD and search for csd_start_playback / csd_stop_playback15:45
ogra_janimo, oh, sorry, please add it back then15:46
nexwave-mat1 ogra_, do you know the file location?15:46
ogra_nexwave-mat1, inside the initrd it is scripts/touch15:46
janimoogra_, you can extend the adb shell call to glob ueventd.*.rc to cover all rc, it will add the emulator too15:46
ogra_janimo, perfect !15:46
nexwave-mat1 ogra_, sorry, where? on the phone, the zip, source?15:47
ogra_inside the initrd15:47
ogra_you need to unpack, edit and repack it15:47
janimoogra_, done15:47
nexwave-mat1 ogra_, in the out directory?15:47
ogra_thx !15:47
slangasekogra_: I'm being ushered out of the meeting room here at the sprint, can I leave it to you to track the lxc-android-config publication and respin the image when the time comes?15:48
ogra_nexwave-mat1, in your boot.img15:48
ogra_slangasek, sure, np15:48
slangasekogra_: thanks!15:49
ogra_:)15:49
ogra_bah, cjwatson has beaten me ...15:51
ogra_my -meta update is still running ... chromebook is really not the device for that15:51
ali1234ogra_: http://imagebin.org/266312 left is ubuntu, right is CM. notice that boot.img == kernel == zImage and the difference in size between ubuntu and CM is roughly the same as the size of ramdisk.img15:52
cjwatsonSorry15:53
rsalvetidiwic: oh, that's ugly15:54
ogra_cjwatson, heh, no problem :) i'm happy to have computing power back :)15:54
rsalvetiwhy everything related with qcom must be proprietary15:54
diwicrsalveti, you think that's ugly? Look at Android 4.3. There, they set up the mixer specially if you're on the T-mobile US network. :-)15:55
ogra_ali1234, sorry that crashes here while loading15:55
ogra_i get half the pic loaded and then it dies and i end up  with a broken img icon15:56
ali1234it's just a png file. reload15:56
ali1234anyway the bottom line is that boot.img and zImage are identical files15:56
rsalvetidiwic: lol, right15:56
ali1234and they already contain ramdisk.img15:56
diwicrsalveti, I don't think we need to worry about that though.15:56
rsalvetidiwic: yeah15:57
ogra_ali1234, right and thus there should be no initrd inside15:57
rsalvetibut we still need some sort of abstraction to handle that one15:57
ali1234ogra_: why should there be no initrd inside?15:57
ogra_it shouldnt be insice the zImage15:57
ogra_*inside15:58
ali1234that's what i'm saying15:58
ali1234it is15:58
ali1234it shouldn't be, but it is15:58
ogra_yes, and it shouldnt :)15:58
ogra_so we agree that we agree :)15:58
ali1234then when you mkbootimg you're trying to add another copy15:58
ogra_right, i assume your device might need some special code changes to the mkbootimg stuff then15:58
ali1234what is android-boot.img actually used for btw?15:59
ogra_it is the root of the container15:59
ali1234oh?15:59
ogra_android doesnt switch its / to the target disk15:59
ali1234wait15:59
ali1234so why does it need a copy of the kernel in it?16:00
ogra_so to boot the container we need to unpack the initrd to get /16:00
ogra_it doesnt16:00
ali1234ok16:00
ogra_oh, wait16:00
ogra_i'm mixing up things16:00
ogra_android-ramdisk.img is what i was referring to16:00
ali1234yeah, i don't care about that, that looks fine16:00
ali1234android-boot.img is whatever would have been boot.img in cyanogenmod16:01
ogra_right16:01
ogra_we dont need it ... we eed ubuntu-boot.img16:01
ali1234except it isn't, because it ends up with the huge ubuntu ramdisk in it instead of the cyanogenmod one16:01
ali1234yeah ubutu-boot.img is only in the raring branch16:01
ali1234in saucy you need android-boot.img instead, or the build crashes16:02
ogra_funny, my saucy build has ubuntu-boot.img16:02
ali1234the same error in the same place16:02
ali1234the only difference is raring asks for ubuntu-boot.img and saucy asks for android-boot.img16:02
ogra_well, the name shouldnt matter as long as the content is ok16:03
ali1234what is the content supposed to be?16:03
ogra_the kernel and the ubuntu ramdisk ... for "normal" android devices16:03
ogra_samsung is different16:03
ali1234ok16:03
ogra_and that difference needs to be ported to16:04
ali1234well that is what it contains for me, except built in the samsung way16:04
ogra_right16:04
ogra_but still the gigantic kernel16:04
ali1234no16:04
ogra_oh ?16:04
ali1234the kernel is only gigantic because it has ramdisk.img as an initramfs16:04
ogra_which it should16:04
ali1234it should for samsung, yes16:04
ogra_well not the kernel16:04
ogra_the boot.img  should ...16:05
ali1234there is no boot.img16:05
ogra_there is android-boot.img16:05
ogra_which i meant16:05
ali1234so what exactly is different between boot.img and android-boot.img?16:05
ogra_nothing, they are the same thing16:05
ali1234what?!?!?!?16:06
ali1234why does it need both files then?16:06
ogra_on all non samsung devices boot.img is what gets installed into your "boot" partition16:06
ali1234that is the same on samsung16:06
ogra_its not16:06
ogra_at least not on my device16:06
ali1234well it is on mine16:06
ogra_i have a separate kernel partition16:06
ogra_and a three stage bootloader16:06
ali1234anyway, this is my question16:06
ali1234if i don't have android-boot.img, the build dies16:07
ogra_in stage2 there is an /init script which switches between normal and recovery initrd16:07
ali1234if i don't have boot.img, it tries to build boot.img16:07
ali1234why does it need both?16:07
ogra_it doesnt16:07
ali1234yes it does16:07
ali1234this is the point where it dies16:07
ogra_it *needs* only one16:08
ogra_it builds two apparently16:08
ali1234it will only build one of them16:08
ali1234if you don't have the other one the build just crashes out16:08
ogra_well, in any case you need the one that has the ubuntu initrd inside on your device16:09
ali1234so in other words i just need to copy android-boot.img to boot.img16:09
ogra_thats the core of flipped images .. that and the lxc container16:09
ogra_if that gets installed by your zip, right16:10
ali1234it does16:10
ali1234android-boot.img is something only required by ubuntu touch16:10
ogra_yeah, then you need that16:10
ali1234by "required" i mean that if your device specific makefiles dont have a rule that build android-boot.img, the build fails with "no rule to make target..."16:10
ali1234that is the only reason it is needed16:11
ali1234it is apparently not used for anything16:11
ogra_rsalveti, any reason for that ?16:11
ogra_^^^16:11
ali1234because it then builds boot.img again anyway16:11
ogra_well, as long as the downloaded initrd ends up in there all is fine16:11
ali1234i still need to trim about 500kb out of it somehow to fit it in boot16:12
ali1234but that's better than 3MB16:12
* rsalveti reading16:12
ogra_did you already drop adbd and libcrypto ?16:12
ali1234no, i do not know how16:12
ogra_that alone should cut off more than 1M16:12
ogra_ali1234, the abootimg package ships scripts for that16:13
ogra_abootimg-unpack-initrd /path/to/initrd16:13
ogra_abootimg-pack-initrd <- this called in the same dir you called the above will pack it again16:13
rsalvetiali1234: android-boot.img is the original android-boot.img16:14
ogra_you get a directory tree and can just rm stuff in there16:14
rsalvetiwith flipped, the final boot.img that gets created is the one for ubuntu already16:14
rsalvetiwhich contains the ubuntu specific initrd16:14
ali1234rsalveti: you mean the original android boot.img16:14
ogra_rsalveti, right, but thats confusing16:14
themikemHi all.  I'm trying to build saucy, but I'm running into a "no rule to make target" error for sqlite3.  Any ideas?16:14
ogra_rsalveti, if we dont need the android one we should just drop it16:14
rsalvetiogra_: well, the default boot.img and ramdisk.img is now the one from ubuntu16:14
ogra_right16:14
rsalvetithat's why the android ones are now called android-foobar.img16:14
ogra_but why do we buuld them at all ?16:15
rsalvetiwe need at least the android-ramdisk for the container16:15
ogra_yeah16:15
ogra_thats clear16:15
rsalvetithe android-boot image can be dropped16:15
ali1234rsalveti: the trouble is that my android-boot.img is not the original android one16:15
ali1234it's the original android kernel + the ubuntu ramdisk.img16:15
rsalvetiI just didn't do that because I wanted to know the original size of the android boot image16:15
rsalvetiso you could compare and such16:15
ogra_yeah16:15
* ogra_ understands16:16
rsalvetiali1234: it shouldn't be16:16
ali1234i know it shouldn't be!!!16:16
ali1234but it is!!!16:16
ali1234see my screenshot16:16
rsalvetigive me the output of mka showcommands bacon16:16
ali1234this device the boot images are weird16:17
ali1234http://paste.ubuntu.com/5940639/16:18
rsalveti /media/rsalveti/home/dev/android/build/saucy/out/host/linux-x86/bin/mkbootimg  --kernel /media/rsalveti/home/dev/android/build/saucy/out/target/product/maguro/kernel --ramdisk /media/rsalveti/home/dev/android/build/saucy/out/target/product/maguro/android-ramdisk.img --base 0x80000000  --output /media/rsalveti/home/dev/android/build/saucy/out/target/product/maguro/android-boot.img16:18
rsalvetithis is how I'm getting mine16:18
rsalvetiso it's using android-ramdisk to build android-boot.img16:18
ali1234this device does not use mkbootimg16:18
ali1234it combines the ramdisk and kernel at kernel build time. it puts it in a initramfs16:19
ogra_rsalveti, samsung generally doesnt use mkbootimg16:19
ogra_(and you cant unpack them with abootimg etc)16:19
ali1234so what happens is, i change the samsung makefile to output to android-boot.img instead of boot.img. this works, but includes the ubuntu ramdisk into the kernel16:19
rsalvetithen it must be some sort of specific makefile from your device, which device is that?16:19
rsalvetiso I can check the makefiles16:20
ali1234galaxysmtd16:20
ali1234anyway then it tries to make boot.img using kernel and ramdisk.img, but kernel already has ramdisk.img as a initramfs16:20
ali1234so this means the boot.img ends up huge because it has two copies of ramdisk16:20
ali1234i mean it's already too big with just one copy of ramdisk, two is right out...16:21
ali1234now, if android-boot.img is not used anyway16:22
ali1234then all i need to do is shrink down the ramdisk16:22
ali1234and then android-boot.img is what i actually want to boot from16:23
ogra_right16:23
ali1234since it's the device kernel and ubuntu ramdisk16:23
rsalveti  running:  mkbootimg --kernel /tmp/targetfiles-VNHHsb/BOOT/kernel --cmdline console=ttyFIQ0,115200 init=/init no_console_suspend --base 0x32000000 --pagesize 4096 --ramdisk /tmp/targetfiles-VNHHsb/BOOT/ramdisk.img --output /tmp/tmpTWPOL016:23
rsalvetithat ramdisk.img is indeed the ubuntu one16:23
ali1234the easiest way to achieve this is to not patch the samsung makefile to create android-boot.img. then it will create boot.img and everthing should be good16:24
ali1234except that then the build will die with "no rule to make android-boot.img"16:24
rsalvetiali1234: where is the rule that puts the ramdisk inside the kenrel?16:24
ali1234rsalveti: i have no idea16:25
rsalvetiyou don't want to boot from android-boot.img16:25
ali1234rsalveti: see http://imagebin.org/26631216:25
ali1234in this case i do16:25
rsalvetithat will only get you android16:25
ali1234no, it won't16:26
ali1234it will get me the android kernel and ubuntu ramdisk.img16:26
ali1234compare the size of android-boot.img on the left and boot.img on the right. then compare the size of ramdisk.img.16:27
rsalvetiright, in that case zImage is the boot image itself16:27
ali1234right, that's what i've been saying this whole time!16:28
rsalvetithe only way for the ramdisk to be part of that, is from the kernel build scripts16:28
ali1234yes!16:28
rsalvetiwhich I'm not so sure if that's indeed happening16:28
ali1234it is!16:28
ali1234both the kernels contain initramfs images approximately the same size as the ramdisks16:28
ali1234verified on System.map16:28
ali1234you can see a bit of it above the ls output16:29
ali1234notice that the two zImage's are in the KERNEL_OBJ dirs and are the same files also16:30
ali1234that dir is only written by the kernel build16:30
ali1234actually i pasted the full exact "make zImage" command which builds it above16:30
rsalvetiright, but I'm not seeing how the kernel can contain the ramdisk in there16:31
rsalvetiunless the kernel has a custom build rule16:31
ali1234i don't understand it either!16:31
rsalvetithe only thing I'm seeing in there is that the android-boot, the kernel, recovery and zImage all have the same size16:31
ali1234but there is no other possible explanation16:31
rsalvetiwhat could mean is that it couldn't find the recovery when creating those files16:32
rsalvetiand all it created from was the kernel16:32
ali1234look at the lines above where i grepped System.map16:32
rsalvetinot recovery, but the ramdisk, as the recovery is yet another ramdisk16:32
ali1234the cyanogenmod build completed without errors16:33
ali1234i doubt your explanation is likely :P16:33
rsalveti /home/al/Source/ubuntu-touch/phablet/out/host/linux-x86/bin/acp -fp /home/al/Source/ubuntu-touch/phablet/out/target/product/galaxysmtd/obj/KERNEL_OBJ/arch/arm/boot/zImage /home/al/Source/ubuntu-touch/phablet/out/target/product/galaxysmtd/kernel16:33
rsalveti/home/al/Source/ubuntu-touch/phablet/out/host/linux-x86/bin/acp /home/al/Source/ubuntu-touch/phablet/out/target/product/galaxysmtd/kernel /home/al/Source/ubuntu-touch/phablet/out/target/product/galaxysmtd/android-boot.img16:33
rsalveti/home/al/Source/ubuntu-touch/phablet/out/host/linux-x86/bin/acp /home/al/Source/ubuntu-touch/phablet/out/target/product/galaxysmtd/android-boot.img /home/al/Source/ubuntu-touch/phablet/out/target/product/galaxysmtd/recovery.img16:33
rsalvetifrom your logs16:33
rsalvetithat's why16:33
ali1234yes, it simply copies the files16:34
rsalvetiso the kernel doesn't have the ramdisk in it16:34
rsalvetiit's all just the kernel itself16:34
ali1234it has an initramfs which is almost exactly the same size as ramdisk.img16:34
davmor2popey: right I'm going to do a --wipe now and see if I can replicate your camera/gallery issue do you happen to have the bug number handy though?16:35
rsalvetiali1234: can you confirm that?16:36
ogra_ali1234, do an md5sum on kernel, android-boot.img and recovery.img ... they are just zImage by the above code16:36
popeydavmor2: one mo16:36
ali1234ogra_: correct16:36
popeydavmor2: https://bugs.launchpad.net/gallery-app/+bug/120772016:36
rsalvetiyeah, and it's failing when creating with mkbootimg16:36
ubot5Ubuntu bug 1207720 in gallery-app "gallery wont start after clean flash, from camera app" [Undecided,New]16:36
ali1234rsalveti: yes, by looking at System.map16:36
rsalvetibut you both said it shouldn't use mkbootimg16:36
rsalvetiali1234: give me the output of that16:37
davmor2popey: thanks16:37
ogra_well, that tree probably ships a vendor mkbootimg16:37
mfischstgraber: do you have system image update changes for me to try today?16:37
ogra_i'm just judging by behavior of my samsung tree16:37
ali1234cyanogenmod kernel system map http://paste.ubuntu.com/5940704/16:38
rsalvetishould be part of samsung_aries-common16:38
stgrabermfisch: I just pushed a new lxc-android-config and initramfs-tools-ubuntu-touch to the archive, ubuntu-touch-generic-initrd will follow in a few minutes16:38
stgrabermfisch: after that, the next build will give you a working /var/log/upstart16:38
ogra_stgraber, bah16:39
mfischstgraber: okay, I have a hacked recovery that skips checking the signature so I can add my own custom tgz16:39
* ogra_ was waiting for it to land to trigger a new image build16:39
ali1234ubuntu-touch kernel System.map http://paste.ubuntu.com/5940708/16:39
ali1234rsalveti: ^f,initramfs16:39
ali1234notice that it's the first thing with a different (ending) offset16:40
stgrabermfisch: haha, at some point I'll have to document how to create your own keys so you can just update the archive-master.tar.xz file in the recovery image and then have it flash images signed by an unofficial key (we'll need that for ports too)16:40
mfischstgraber: "return 0" at the top of the validation function works pretty well too ;)16:41
mfischstgraber: when we will be switching to these images full time?16:41
ogra_mfisch, after click packages fully landed16:41
rsalvetiali1234: ogra_: http://paste.ubuntu.com/5940714/16:41
ali1234yep16:42
ali1234that's the makefile where i changed boot.img to android-boot.img16:42
mfischogra_ / stgraber: how will click packages deal with the RO folders? do they get installed outside it?16:42
ogra_yeah16:42
ali1234in order to make the annoying "no rule to make target..." go away16:42
ogra_click installs in the rw space16:42
rsalvetito get the android ramdisk, change INSTALLED_RAMDISK_TARGET to INSTALLED_RAMDISK_TARGET_ANDROID16:43
mfischogra_: but we cannot install any extra packages there I assume16:43
mfischogra_: for example, a chinese build may want some different fonts16:43
ali1234ok, but why do i need that?16:43
ogra_mfisch, we can ... but for a chinese img i would do that in a separate image build as debs16:43
rsalvetiali1234: in case you wanted to generate the original files only16:44
mfischogra_: right, because you also need a new default locate, changes to maliit's conf file, etc16:44
rsalvetiso I don't see how the ramdisk is part of the kernel16:44
rsalvetithat's just the kernel for me16:44
mfischogra_: although that (different build) is not the current plan as I understand it16:44
rsalvetiand your device just copies things around16:44
rsalvetiand then use the original mkbootimg it seems16:44
ogra_mfisch, right, i think something like we do for desktop would be better for that16:44
ali1234"# Add ramdisk dependencies to kernel"16:44
rsalvetiwhich is where it's failing to generate the final image16:44
rsalvetithat's just build dependencies16:44
ali1234rsalveti: you;re missing the point16:44
ali1234when i build cyanogen it doesn't fail16:44
mfischogra_: there are many blockers in doing it, I'll CC you on the mail so you can weigh in. thanks16:44
ali1234it doesn't ever call mkbootimg because boot.img already exists16:45
ali1234under ubuntu you have to patch the makefile to generate android-boot.img instead of boot.img16:45
ali1234that means boot.img doesn't exist16:45
rsalvetithen boot.img will just be the plain kernel for you16:45
ali1234that means it erroneously tries to call mkbootimg on a kernel that already contains a ramdisk16:46
rsalvetiright16:46
rsalvetinow how does it bundles the ramdisk in there?16:46
ali1234using that makefile you pasted16:46
rsalvetiali1234: but that's just a copy16:47
rsalvetinot putting the ramdisk together with the kernel16:47
rsalvetiof the zImage16:47
rsalvetiso unless you got a kernel patch for that, it'd just be the pure kernel16:47
ali1234i guess they must have patched the kernel then16:48
ali1234but look at the line after "Add ramdisk dependencies to kernel" - that is not referenced anywhere else16:48
rsalvetiI need to better handle the variables there when a device defines BOARD_CUSTOM_BOOTIMG_MK16:49
ali1234i don't understand how any of this works16:50
ogra_it is easy for the normal boot.img's16:50
ali1234i don;t know how the ramdisk got in there16:50
ogra_but samsung is a special beast16:50
ali1234but it's pretty clear to me that it has somehow16:50
ali1234so i have two questions now16:50
ali1234first, how do i trim the ramdisk without unpacking and rebuilding it?16:51
rsalvetiali1234: TARGET_KERNEL_BINARIES is just to copy all the files in the out directory16:51
ali1234and second.... actually there is no second16:51
ogra_ali1234, i can add a hack to the package so that we ship an additional initrd without adb inside ...16:52
rsalveti    # write new kernel to boot partition16:52
rsalveti    /tmp/flash_image boot /tmp/boot.img16:52
ogra_rsalveti, and i discussed that before16:52
rsalvetiyeah, boot is just the kernel16:52
ogra_right16:52
ogra_on my device the partition is even labelled "kernel"16:53
rsalvetiright16:53
ogra_i thought thats the case on other samsungs too16:53
ali1234rsalveti: if it is really just a pure kernel, why is it a different size in cyanogenmod and ubuntu, even though it was built with an identical source tree , config, and compiler?16:53
rsalvetianyway, will investigate this a bit more, need to go for a bit for lunch16:53
ali1234and what data lies between __irf_start and __irf_end?16:53
rsalvetinot sure, will investigate this a bit more later today16:54
rsalvetiand get a better handling for custom mkbootimg and recovery tools16:54
rsalvetithis device customizes everything it seems16:54
rsalvetibbl16:54
ali1234rsalveti: if you need to actually try building it, all my code is on github.com/ali1234 - there's just three repos to switch after breakfast and any branch will do16:55
ogra_stgraber, initra,fs-tools is now there ... can you do the initrd dance or should it (i'm holding back an img build for it atm)16:58
popeyhmm, nexus4 just spontaneously rebooted16:59
stgraberogra_: sure, uploading now17:00
ogra_thx17:00
stgraberdone17:00
stgraber(I had it ready for upload, was just waiting for rmadison to confirm the other one was published, though you beat me to monitoring it apparently ;))17:00
ogra_stgraber, i have a script that rings a bell .and shows a notification .. tracing Packaged.g once a minute ;017:05
ogra_;)17:05
ogra_*Packages.gz17:05
themikemHi all.  I'm trying to build a saucy flipped image, but I'm running into a "no rule to make target" error for sqlite3.  Any ideas?  I don't see sqlite3 source in my local tree anywhere... Missing a repo maybe?17:06
ogra_did you repo sync today ?17:07
ogra_it was removed and added back yesterday17:07
themikemah.  yes, I've sync'd twice this morning.  I'll try again...17:08
mfischfginther: ping17:09
=== alan_g is now known as alan_g|EOW
themikemogra_: just sync'd.  No dice.  All up to date.17:11
ogra_did that work with an unflipped build ?17:11
ogra_also what needs sqlite3 in your build ?17:11
themikemhaven't done an unflipped build of saucy, but raring works.17:12
themikemstill digging into the makefiles to answer that more specifically.  The "needed by" error is coming from the target_files zip in PACKAGING/target_files_intermediates/17:14
davmor2popey: with --wipe I get the behaviour I've added to the bug but the gallery does actually open,  So I think you are getting the flash be that I see but then nothing, where as for me the app opens.17:16
davmor2s/flash be/flash bit17:17
Joe_BDoes anyone know of a youtube demo of Touch driving a desktop (not Ubuntu for Android driving a desktop)?17:17
ogra_Joe_B, that would be made up, no such thing exists yet17:19
Joe_BOk, that explains why the demos are ubuntu for android.17:19
mhall119bzoltan: when will the click package creation be available in QtCreator from Saucy's archives?17:19
ogra_Joe_B, development on the converged setp will start in october17:19
ogra_*setup17:20
ogra_(and will be ready in april)17:20
Joe_BGreat, thanks.17:21
=== schwuk is now known as schwuk_away
kenshiroHi, will Ubuntu Touch be stable in october and installable in Nexus 4? Will it have a whatsapp client?17:36
mhall119kenshiro: yes to the first17:37
ali1234hmm even when i hacked the makefiles to produce both boot.img and android-boot.img it still tries to recreate boot.img17:38
mhall119as for the second, WhatsApp killed the idea of an open source 3rd party app, so it'll be up to them whether you get an official client or not17:38
kenshiromhall119 great, thank you ! :-)17:38
ali1234i guess it really does need to take more care when the build specifies custom bootimg17:38
mhall119cjwatson: will click packages be gpg signed when submitted?17:46
mhall119like source debs are17:46
ali1234i read the other day about image based updates... what happens to any deb packages you have installed if there is an image update?17:57
ali1234can you even install debs under this system?17:57
kenshiroHi, will Naver Line (an instant messaging software like Whatsapp) be available for Ubuntu Touch?17:57
ogra_ali1234, no18:00
ali1234so click packages only?18:00
ogra_kenshiro, if someone ports it18:00
ogra_ali1234, no :)18:00
ogra_ali1234, you can swithc to developer mode and then just use deb/apt as yoou are used to18:01
kenshiroogra_ ok. Is there any sure port for instant messaging software in Ubuntu Touch?18:01
ali1234yeah but... how does that work with image updates? do the debs go into a special partition or something?18:01
ali1234or do you have to reinstall them all (like on n900 blargh)18:01
xnoxali1234: switch to developer mode, means you use dist-upgrade and cannot use image updates anymore.18:02
ogra_kenshiro, yes, friends-app is shipped by default, it supports any protocol rlepathy supports ... (someone worked on a whatsapp implementation, not sure what happened to that)18:02
ali1234i see18:02
ali1234that makes sense actually18:02
ali1234so you can opt out of image updates entirely18:02
ogra_right18:02
kenshiroogra_ ok, thank you very much :-)18:03
ogra_:)18:03
=== ogra_ is now known as _ogra_
=== _ogra_ is now known as ogra_
mhall119ali1234: yeah, you can have either image based updates or deb packages, but not both18:05
mhall119ogra_: friends-app uses telepathy?18:06
ogra_which indeed requires that there is never an update to hybris on the android side18:06
ogra_mhall119, doesnt it ?18:06
mhall119I don't think so18:06
mhall119it's not a messaging app18:06
ogra_oh18:06
ogra_then i did get that totally wrong18:07
mhall119it doesn't do chat18:07
mhall119ogra_: you're thinking of Empathy?18:07
=== barry is now known as __barry__
mhall119which, afaik, we don't have a Touch client for18:07
=== __barry__ is now known as barry
mhall119also, the whatsapp telepathy plugin was hackish, it required an app token that had to be stripped out of some other app and which was constantly becoming invalid18:08
ogra_did he drop the ball ?18:10
ogra_or does he look for a solution ?18:10
mhall119he gave up, I think, because it was going to be a constant game of trying to keep the app token updated18:10
ogra_whatsapp seems to be a needed thing nowadays18:10
ogra_(never used it)18:10
mhall119ogra_: I agree, jono reached out to the company to try and get official sanction for the open source app, so they wouldn't have to play token-hunt every few weeks, but they turned it down18:11
mhall119hopefully they will provide an official client instead18:11
ogra_++18:11
ogra_stgraber, oh, i nearly forgot ... i switched the lxc pre-start.sh to have a pre-start.d with snippets (so QA doesnt need to sed around in the script itself) for QA stuff it would be needed that /var/lib/lxc/android/pre-start.d becomes rw ... could you add it with one of the next uploads ?18:14
rsalvetiali1234: thanks, will try to build for your target and see what needs changes in there18:16
rsalvetiogra_: did you trigger a new image already?18:17
ogra_rsalveti, yep, running ... i had to wait a little because i missed the window before stgraber had uploaded the initrd changes ... and i didnt want to have that out of sync18:18
ogra_30-45min18:18
rsalvetiogra_: great18:18
themikemogra_: started over with a fresh tree.  No more sqlite3 errors.  Now I'm getting "QCMetaData.h: no such file or directory" on several packages.  Is this a known issue?18:39
rsalvetithemikem: no, need to grep to see who is requiring that header18:42
rsalvetimight be missing another repository, just do a grep around to see who is including that file18:43
rsalvetiso we can try to understand better the dependencies18:43
themikemlibstagefright18:43
rsalvetihm, let me check18:44
rsalvetithemikem: can you paste the build log you're getting?18:45
themikemdoes it write it to the filesystem somewhere?  If not I need to run it again...18:46
RaznogHi, is there a way to emulate ubuntu-phone in a vm or someting like that?18:46
themikemrsalveti: late for a meeting.  I'll paste it when I get back.18:47
ali1234rsalveti: actually, i'm going to clean up these repos and then do a brain dump on the ML...18:47
rsalvetithemikem: ok, this file is part of hardware/qcom/media/mm-core/inc18:48
rsalvetiali1234: ok18:48
RaznogHi, is there a way to emulate ubuntu-phone in a vm or someting like that?18:56
ogra_rsalveti, slangasek, image is ready18:59
rsalvetiogra_: cool, let me flash that18:59
rsalveti02.2?18:59
rsalvetidownloading19:00
ogra_yeah19:00
=== Cimi_ is now known as Cimi
=== vanhoof_ is now known as vanhoof
=== hggdh_ is now known as hggdh
ali1234rsalveti: ok, i cleaned up the repos so my changes are all on top, and posted exactly what i have done to the ML19:28
rsalvetiali1234: thanks, will try to build it for your device later today19:29
ali1234thanks19:29
=== EvilAww is now known as Emmy
ali1234i might hack together something to extract the initramfs then we'll know for sure what it is19:31
ali1234probably there's already a tool for this actually, if it's as standard as it look19:31
dobeyis there an i386 or amd64 build of the touch image that one could run inside virtualbox or something?19:32
sergiusensdobey: no there isn't19:32
dobey:(19:33
ali1234someone hacked one together by hand (install regular ubuntu, add ppas etc)19:33
ali1234i don't know if they ever got it working properly19:33
sergiusensdobey: closest is armhf/qemu, but it needs some work19:33
=== Emmy is now known as emmy
mhall119sergiusens: who was making click packages for the core apps?19:55
* mhall119 doesn't remmember19:55
sergiusensmhall119: I am19:56
mhall119sergiusens: and you will be submitting merge proposals with the click manifests?19:58
mhall119sergiusens: also, will we be able to provide daily builds using click packages like we currently do with .debs?20:00
sergiusensmhall119: we have daily builds, just done differently ... I'm creating the manifests on the fly from the debian packaging until we have something that we can merge with (autopilot et.al.)20:02
sergiusensmhall119: I'm going to be working with fginther for that20:03
mhall119sergiusens: ok, thanks, as long as somebody is working on it I'm happy :)20:03
mhall119nik90: ^^20:03
sergiusensmhall119: I'll propose MRs with the manifests though, they have stabilized20:03
sergiusensso should be safe to do once20:03
nik90cool20:03
tux_funding for edge was 7,995 m a few mins ago, now its 7,962 m20:09
tux_bit weird20:09
bef0rdtaxman20:14
=== emmy is now known as Emmy
mhall119tux_: are you sure you didn't mis-read 7,955 as 7,995?20:23
ali1234seems plausible20:26
mhall119Terminal app starting in #ubuntu-touch-meeting20:31
tux_mhall119, quite possible, been a long day :/20:31
=== salem_` is now known as _salem
mamenyakahello! can someone help me with phablet-saucy? I have boot and adb, but black screen21:33
mamenyakasergiusens, rsalveti, ogra_  ^^21:36
john__hello21:53
john__can anyone please help me in downloading ubuntu for android21:54
=== kentb is now known as kentb-out

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