[00:25] <Elleo> kenvandine: approved that MR
[01:06] <kenvandine> Elleo, thx
[08:18] <dholbach> good morning
[08:18] <dholbach> Mirv, can you let me know how I roll back to an older version of the image?
[08:18] <dholbach> or anyone else?
[08:19] <dholbach> ah no, Joey Chan just replied
[08:24] <Mirv> dholbach: ok. one can flash. if you're on #141, you can just apt upgrade too now.
[08:25] <dholbach> yep, Joey gave me the exact command line bits I needed to enter
[08:25] <brogrammer> everytime I try "apt-get install openjdk" there comes an error message...
[08:28] <brogrammer> W: Not using locking for read only lock file /var/lib/dpkg/lock E: Unable to write to /var/cache/apt E: The package lists or status file could not be parsed or opened.
[08:57] <seb128> Cimi, hey, can you approve https://code.launchpad.net/~larsu/overlay-scrollbar/blacklist-gnome-boxes/+merge/251566 ?
[09:06] <aki237> I have a Moto G XT1033 running lollipop 5.0.2. I have followed all the instructions to flash ubuntu in my device given in the XDADevelopers page. but i doesnt boot and it just stops at a blank black screen....And Lollipop stock rom has 4 System images namely "system.imgsparsechunk0 and1,2,3"......What should I do?
[09:34] <aki237>  I have a Moto G XT1033 running lollipop 5.0.2. I have followed all the instructions to flash ubuntu in my device given in the XDADevelopers page. but i doesnt boot and it just stops at a blank black screen....And Lollipop stock rom has 4 System images namely "system.imgsparsechunk0 and1,2,3"......What should I do?
[09:43] <aki237>  I have a Moto G XT1033 running lollipop 5.0.2. I have followed all the instructions to flash ubuntu in my device given in the XDADevelopers page. but i doesnt boot and it just stops at a blank black screen....And Lollipop stock rom has 4 System images namely "system.imgsparsechunk0 and1,2,3"......What should I do?
[09:44] <k1l> aki237: well, did you try to talk to the guy who did the ubuntu-touch port for that device?
[09:45] <aki237> no
[09:51] <Cimi> seb128, ok
[09:51] <seb128> Cimi, too late but thanks
[09:52] <Cimi> seb128, had wifi issues :/
[10:11] <JamesTait> Good morning all; happy Chocolate Caramel Day! :-D
[11:37] <jivin> hello
[11:37] <jivin> One question
[11:38] <jivin> Does App "MediaPlayer" on touch use Android MediaCodec?
[11:45] <davmor2> jivin: no, gstreamer iirc, why?
[11:46] <davmor2> jivin: might use the hardware acceleration drivers not sure on that though
[12:03] <svij> can anyone tell me, where I can find the Tab-key on the keyboard? using the terminal without a tab is a bit annoying
[12:03] <popey> tap the screen
[12:04] <svij> popey: oh lol, thx
[12:37] <simosx> I am trying to upload an app created with the webapp-generator. When submitting the app, I get the error "The uploaded package name (realmobilegr-jwe.simosx) does not use your namespace (None)".
[12:37] <simosx> In my dev account details, the namespace is "simosx" (instead of Empty/None).
[12:37] <ogra_> beuno, ^^^
[12:38] <ogra_> could be the dash in the package name ... (not sure, just guessing)
[12:38] <beuno> hm
[12:39] <beuno> simosx, can you try something for me, before I go in to debug?
[12:39] <beuno> go to your account page again
[12:39] <popey> the dash is fine, i have an app with a dash
[12:39] <beuno> and just hit "update my account"
[12:39] <simosx> hmm, it appears that "simosx" in the dev settings was taken or something. Changed it to "simos" and appears OK (green).
[12:39] <beuno> and try to upload again
[12:39] <beuno> ah
[12:39] <beuno> there we go
[12:39] <ogra_> popey, ah, good to know
[12:39] <beuno> ogra_, we fixed that!  :)
[12:39] <popey> that sounds unlikely - two people with simosx?
[12:40] <ogra_> beuno, i know it was fixed for version numbers ... never used a dash in package names though
[12:40] <simosx> probably some issue. I changed back to "simosx" and it was now accepted. Will try to upload the app to see if it makes a difference.
[12:40] <popey> yay
[12:41] <popey> eek, need to recalibrate my graph! http://popey.mooo.com/mirror/clicks/graph_clicks.png
[12:43] <simosx> now it worked. app was uploaded.
[12:44] <beuno> ogra_, we fixed all the things
[12:44] <ogra_> haha, k :)
[12:44] <beuno> popey, it's trying to escape!
[12:44] <popey> hah
[12:45] <ogra_> why re-calibrate the graph ...
[12:45] <ogra_> just limit the number of apps in the store to 1000 ... done
[12:45] <ogra_> you guys always look for the complicated solution ...
[12:47] <jgdx> anyone seeing a black screen when trying to unlock a mako running latest vivid?
[12:55] <om26er> artmello, Hi!
[12:55] <om26er> artmello, re: fix for 1425563 I still see some flicker when app goes fullscreen
[12:56] <om26er> i do have the click installed
[12:59] <artmello> om26er: Yes, there are still some flicking related with the header hiding. We will neither further investigation with sdk guys on that
[13:00] <om26er> artmello, ok, just wanted to make sure it was known. Your fix does reduce the flickering
[13:01] <artmello> om26er: sure, thx
[13:03] <om26er> artmello, re: this https://code.launchpad.net/~phablet-team/gallery-app/gallery-app-photo-editor/+merge/243243
[13:04] <om26er> artmello, it says we are using photo editor from ui-toolkit-extras, I would expect code deletions to be much more than additions ?
[13:06] <artmello> om26er: unfortunately, right now, we cannot make sure that the user will have the correct version of extras before he updates gallery (ie. from click store). If that happens the user will not be able to edit any photo. So basically we have a local version of the editor on gallery in case the extras is not updated/not present
[13:07] <om26er> uh
[13:09] <om26er> artmello, the CI spreadsheet does not mention the TestPlan to run, probably something to add to the sheet
[13:13] <artmello> om26er: I will update the TestPlan
[13:44] <om26er> artmello, with the fix for flickering, I am noticing some oddity when playing with albums
[13:44] <om26er> artmello, some part of the album goes under the header
[13:46] <artmello> om26er: ok, how do you reproduce the issue?
[13:47] <om26er> artmello, create a new album, click on it
[13:47] <om26er> artmello, http://i.imgur.com/SGDOvyD.png
[13:47] <om26er> http://i.imgur.com/q1JA21x.png
[13:53] <artmello> om26er: I am taking a look
[14:00] <Anon287> Hello. I have a question about using non-Canonical system-image servers: Is the server used only for first time installation or do all OTA updates get downloaded through this server too?
[14:01] <Anon287> I ask because I'm interested in getting an N7, I've come across an N7+LTE (Deb, rather than Flo) but that means I cannot use Canonical's system-image server, instead I have to use Vojtech Bocek's server here: https://wiki.ubuntu.com/Touch/Devices
[14:01] <dobey> Anon287: the OTAs would come through it too
[14:02] <Anon287> I'm concerned that if this user (unlikely as it may seem) took down the server I would no longer get updates for the N7.
[14:02] <Anon287> Ah, okay... So if I want 'official' builds I need to get a non-LTE N7 (Flo).
[14:02] <dobey> yes, if the server (or the images for that device) were taken down, you would no longer get updates for it from that server
[14:03] <dobey> the canonical server has stopped providing images for certain devices before as well
[14:03] <Anon287> Okay, great. Although a shame (because it seemed like a good price) I think I'll hold out and get a Flo. I'd rather grab Canonical's images.
[14:03] <dobey> ie, groupe and maguro no longer have images avaialble
[14:04] <Anon287> Sure, but I guess N7 is a safe bet for a while yet (and hopefully by that time an official tablet will be available)
[14:04] <Anon287> I guess you cannot flash Flo onto Deb and just not get the cellular functionality? That'd be an okay compromise...
[14:04] <Anon287> I guess not though.
[14:04] <dobey> well the deb builds are probably not likely to stop building, unless flo goes away too
[14:05] <dobey> the deb images follow the flo images
[14:05] <dobey> i don't know if all the hardware on deb works the same as flo though
[14:05] <Anon287> Sure but there is a total reliance on one guy for Deb builds, right?
[14:07] <dobey> not really. more like reliance on some python scripts. as long as nothing breaks and the server bill is payed, i guess he doesn't actually have to do anything
[14:07] <dobey> and he hangs out in here
[14:07] <dobey> and he maintains the MultiROM app which many people use for dual booting android and ubuntu
[14:09] <Anon287> Okay. thanks for the heads up. Now really confused whether to grab the Deb or wait for a Flo to come along :P Decisions! :)
[14:12] <adrian47> E/HAL     ( 1717): dlopen failed: could not load library "libcamerapp.so" needed by "camera.vendor.msm7x30.so"; caused by cannot locate symbol "_ZN7android10VectorImpl19reservedVectorImpl1Ev" referenced by "libcamerapp.so"...
[14:12] <adrian47> Someone have some idea about it?
[14:13] <adrian47> P.S. Hello :)
[14:14] <adrian47> 'about that'* (?)
[14:15] <om26er> artmello, I'll move the silo to failed section and then once we have the fix and silo rebuilt I guess we will have a new card in trello.
[14:15] <om26er> what you say ?
[14:23] <artmello> om26er: ok, if it has a problem makes sense. I am still trying to find out what is wrong since that was tested
[14:39] <barry> what's the last known good revision (before the latest one) in ubuntu-touch/devel-proposed?
[14:40] <barry> i'm testing upgrades so i need a known good older revision to upgrade to the latest one
[14:46] <dobey> barry: for mako?
[14:46] <barry> dobey: krillin
[14:47] <dobey> ah, no idea :)
[14:49] <barry> while still_bricked: i -= 1
[14:50] <Anon287> What device is Krillin?
[14:50] <Isotop7> bq aquaris
[14:51] <Anon287> oh okay :)
[14:51] <Anon287> Thank you
[15:07] <om26er> boiko, Hi!
[15:09] <jgdx> awe_, cyphermox, would wpa_supplican! need something special to create a secure ap on mako? I can't seem to get it to work. Getting http://pastebin.ubuntu.com/10627959/ — even when I blanket OK all wpa_supplicant interfaces in the dbus policy.
[15:10] <awe_> jgdx, not sure... I can look into this, but let's discuss during tomorrow's system settings mtg
[15:10] <jgdx> aaa right
[15:10] <balloons> ping tedg. can you tell me if the url dispatcher still has temporary hardcoded urls in it? See the bottom of this page: https://developer.ubuntu.com/en/apps/platform/guides/url-dispatcher-guide/.
[15:12] <cyphermox> jgdx: no, nothing special. but you also shouldn't create the AP using the supplicant directly, you should go through NM
[15:12] <brendand> tedg, can you join #ubuntu-quality?
[15:12] <jgdx> cyphermox, we're not touching wpa, except to set the driver on hybris devices.
[15:13] <jgdx> cyphermox, but wpa is the one complaining when trying to connect to the AP, as well as lock up for some reason.
[15:14] <cyphermox> it would help then if you explain what you mean by complaining and locking up... like debug logs
[15:19] <jgdx> complaining is the one above ( http://pastebin.ubuntu.com/10627959/ ) and locking up is [1] ad nauseam [1] http://pastebin.ubuntu.com/10628171/
[15:21] <jgdx> cyphermox, ^
[15:25] <cyphermox> jgdx: sounds like driver issues
[15:27] <kenvandine> Elleo, can you test silo 28 after it finishes building?
[15:29] <jgdx> cyphermox, uh oh
[15:30] <Elleo> kenvandine: sure
[16:00] <rvr> popey: Hey, quick question. A friend of mine is testing my bq phone (don't ship here, asked him to receive the package and resend). He wonders why we don't ship a native email client, do you know why Dekko is not installed by default?
[16:01] <popey> rvr: because it's not finished :)
[16:03] <rvr> popey: Does it mean it is in the roadmap? :)
[16:03] <popey> rvr: we're constantly re-evaluating apps that are in the image
[16:05] <rvr> popey wins 10 points for "politically correct" answers ;)
[16:06] <popey> haha
[16:09] <oSoMoN> kenvandine, hey, I’m gonna need a packaging review for https://code.launchpad.net/~osomon/webbrowser-app/bottom-edge/+merge/248019 (changes to debian/control are rather trivial but I’ll an ack for landing anyway)
[16:09] <oSoMoN> would you have a moment to do that sometime today?
[16:11] <kenvandine> oSoMoN, sure
[16:11] <oSoMoN> thanks!
[16:13] <kenvandine> oSoMoN, done
[16:13] <kenvandine> that was easy :)
[16:15] <ogra_> kenvandine, oSoMoN can you pretty please make sure to mention dependency changes in the commit message or changelog (whatever you use)
[16:16] <oSoMoN> ogra_, sure, updating the commit message now
[16:16] <ogra_> thx :)
[16:25] <Elleo> kenvandine: tested that silo, all looks good to me
[16:27] <peat-psuwit> What should happen if something calls AudioSystem::setParameters in libmedia? libmedia tries to talk with AudioFlinger, make it wait forever.
[16:30] <kenvandine> Elleo, cool, can you mark it on the spreadsheet?  line 6
[16:30] <kenvandine> line 66
[16:35] <Elleo> kenvandine: ah, I don't seem to have edit access on the spreadsheet
[16:35] <kenvandine> oh... ok
[16:35] <kenvandine> what image did you test with?
[16:35] <Elleo> #142
[16:35] <Elleo> on mako
[16:36] <kenvandine> Elleo, thx
[16:36] <Elleo> no problem
[16:44] <boiko> hi om26er
[16:44] <om26er> boiko, hey
[16:44] <om26er> boiko, in dialer-app dialing a key quickly 3 times only produces sound twice.
[16:44] <boiko> om26er: there is a bug reported for it already, it is a problem in the tone generator
[16:44] <boiko> om26er: let me find it
[16:53] <peat-psuwit> rsalveti, do you remember my question about the voice flow?
[17:00] <AskUbuntu_> Ubuntu Touch (of Aquaris E4.5 Ubuntu Edition) freezes when booting up | http://askubuntu.com/q/598797
[17:00] <AskUbuntu_> How to import Contacts form Sim Card to Ubuntu Phone? | http://askubuntu.com/q/598801
[17:01] <adrian47> How can I run shell script automatically when poweroff was pressed?
[17:06] <adrian47> Or in another way before device powering off
[17:06] <popey> bfiller: do we have an ETA on SIM contacts import? (see above askubuntu question)
[17:07] <Isotop7> i dont know if this works on the ubuntu touch images but you could write a init script...
[17:15] <dobey> popey: ah, i just answered it. afaik, rtm is only going to get critical/mfg bug fixes, but it's in vivid already. and hopefully vivid will become stable enough to update everyone to soon
[17:46] <rsalveti> peat-psuwit: the one I replied, yep
[17:46] <rsalveti> not sure if you asked me another one
[17:48] <peat-psuwit> rsalveti, In Ubuntu, pulseaudio notify hardware to let voice flow to speaker. What's doing the same on Android? AudioFlinger?
[17:49] <rsalveti> peat-psuwit: yeah
[17:50] <peat-psuwit> rsalveti, Then, who notify AudioFlinger?
[17:59] <rsalveti> peat-psuwit: don't remember exactly, would need to dive the codebase, but I think they have some sort of telephony manager
[17:59] <rsalveti> that gets the notification that the call is active
[17:59] <rsalveti> and then requests audioflinger to change the audio mode to call mode
[18:00] <rsalveti> that ends up affecting the hal, similar to the way we do with pulseaudio
[18:04] <kenvandine> renatu, bfiller: i proposed a branch for address-book-app that properly quits when the app is killed, so your destructors will get called
[18:04] <peat-psuwit> rsalveti, How rild may involve in this process? On my device, I see that rild calls AudioFlinger (via libmedia). Don't know what it may do.
[18:05] <rsalveti> peat-psuwit: there are 2 pieces for rild, the low level layer (daemon), and the java telephony stack that implements the rild protocol
[18:05] <rsalveti> the java layer is the one doing that work
[18:08] <peat-psuwit> rsalveti, No, I means daemon, because it also happens on my port of Ubuntu Touch too. It makes rild (daemon) somewhat hang because it's waiting to connect with AudioFlinger.
[18:09] <rsalveti> peat-psuwit: oh, if that is indeed true, then it's a massive hack
[18:10] <rsalveti> peat-psuwit: what do you get on logcat?
[18:10] <rsalveti> as root, /system/bin/logcat
[18:10] <rsalveti> peat-psuwit: at least even for the low level daemon, there are 2 pieces
[18:10] <rsalveti> the low level library (closed source binary)
[18:11] <rsalveti> and the open one, that loads the closed source binary
[18:19] <peat-psuwit> rsalveti, I/ServiceManager( 1001): Waiting for service media.audio_flinger...
[18:19] <peat-psuwit> W/AudioSystem( 1001): AudioFlinger not published, waiting...
[18:20] <peat-psuwit> 1001 is pid of rild. They repeat a few times.
[18:22] <rsalveti> peat-psuwit: do you have any source code for that piece specifically?
[18:23] <rsalveti> rild shouldn't be talking with audioflinger at all
[18:23] <rsalveti> but the problem is that people end up doing all sort of hacks on android
[18:24] <cwayne> Tassadar, did you follow a guide to get your s-i server setup?
[18:24] <cwayne> and/or do you have any notes?
[18:24] <Tassadar> I did, but had to do bunch of extra things, and I do not have any notes
[18:25] <peat-psuwit> rsalveti, I'm afraid not.
[18:25] <Tassadar> I'm suing my fort too - http://bazaar.launchpad.net/~vbocek/+junk/system-image-server-tasemnice/revision/225 has support for pathing of rootfs tars (for hammerhead) and can sync version numbers with anoter s-i server
[18:25] <Tassadar> *fork
[18:25] <Tassadar> *using
[18:26] <Tassadar> *patching
[18:26] <rsalveti> peat-psuwit: otherwise we'd need to have mock service for audioflinger
[18:26] <Tassadar> *another
[18:26] <Tassadar> wow, I'm bad at typing
[18:26] <peat-psuwit> rsalveti, It's Qualcom's qcril. Maybe Qualcom have released some of code around?
[18:27] <rsalveti> for the interfaces used by rild
[18:27] <rsalveti> peat-psuwit: could be, yeah
[18:29] <peat-psuwit> rsalveti, I think it use setParameters, because I see that on the radio logcat on Android.
[18:49] <cwayne> rsalveti, whats the best way to debug missing wifi on a new port?
[18:49] <rsalveti> cwayne: first check if you have a wireless device
[18:50] <rsalveti> cwayne: if not, then we need to check if the kernel failed to load the firmware and so on
[18:50] <rsalveti> usually the output of ifconfig -a and dmesg already helps quite a bit
[18:51] <cwayne> looks like no wireless device
[18:53] <cwayne> so what am I checking for in dmesg?
[19:04] <cwayne> rsalveti, if youre interested, dmesg: http://paste.ubuntu.com/10629349/
[19:04]  * rsalveti checks
[19:04] <rsalveti> cwayne: which device?
[19:05] <cwayne> rsalveti, oneplus, using mariogrips build
[19:07] <rsalveti> cwayne: not much indeed
[19:07] <rsalveti> [    1.071421] wcnss_wlan probed in built-in mode
[19:08] <rsalveti> that is probably the wifi driver you have
[19:08] <rsalveti> now would need the kernel source to actually see why that didn't actually loaded anything
[19:09] <cwayne> rsalveti, should be here: https://github.com/ubuntu-touch-oneplus-one
[19:10] <rsalveti> hm, need a beer
[19:10] <rsalveti> qcom_conn_init
[19:11] <rsalveti> wonder if that also helps
[19:11] <cwayne> what, beer? :P
[19:11] <rsalveti> trying to remember the hacks we did with other qcom devices to have a working wireless
[19:11] <rsalveti> always
[19:12] <rsalveti> cwayne: http://paste.ubuntu.com/10629420/
[19:13] <Anon2938> Hi. Can anybody point me at any efforts to port Ubuntu Touch to Nexus 9? I assumed there would be work on it but I've searched and cannot find anything...
[19:13] <rsalveti> cwayne: see if you have /sys/devices/platform/wcnss_wlan, or something like that
[19:14] <rsalveti> so, how it works on flo:
[19:14] <cwayne> hm, dont have that
[19:15] <rsalveti> cwayne: http://paste.ubuntu.com/10629436/
[19:16] <rsalveti> cwayne: as part of the android init script for flo there is a service called wcnss_init
[19:16] <rsalveti> and that service is just a script, that calls /system/bin/conn_init
[19:16] <rsalveti> and echo 1 > /dev/wcnss_wlan
[19:16] <rsalveti> then my other init_wlan.sh script makes it to load the firmware
[19:17] <rsalveti> echo sta > /sys/module/wlan/parameters/fwpath
[19:17] <rsalveti> you can get the android console by calling lxc-console -nandroid -t0
[19:17] <rsalveti> then from there you can call conn_init (as that's a binary from android)
[19:17] <rsalveti> https://github.com/ubuntu-touch-oneplus-one/qcom_conn_init
[19:18] <rsalveti> it seems the maintainer was trying to get that to work somwhoe
[19:18] <cwayne> 127|root@bacon:/ # conn_init
[19:18] <cwayne> system/bin/sh: conn_init: not found
[19:18] <rsalveti> full path makes any difference?
[19:18] <rsalveti> maybe that binary wasn't installed by the build
[19:19] <rsalveti> oh, he had that, but removed
[19:19] <rsalveti> https://github.com/ubuntu-touch-oneplus-one/android_device_oneplus_bacon/commit/43c904a8c0f92f2e9055815ce7c2b1cd04ca5bb4
[19:20] <rsalveti> but he actually included as a build requirement
[19:20] <rsalveti>  /system/bin/wcnss_service needs to run as well
[19:20] <Talustus> hello :)
[19:22] <cwayne> yeah, seem to not be in the build
[19:25] <rsalveti> cwayne: how maintains that port?
[19:25] <rsalveti> I can easily help if I find the guy
[19:26] <cwayne> he seems not online atm but mariogrip
[19:30] <cwayne> hm, i cant seem to do the reverse tethering via ppp either :/
[19:35] <cwayne> got a build running now at least :)
[19:37] <rsalveti> cwayne: just ask him to ping me if he needs any help
[19:37] <cwayne> yeah, ill try and find him
[19:37] <cwayne> id love to get this port working well
[19:46] <strahtw> Does anyone know if the Ubuntu SDK is running also on XUbuntu or LUbuntu?
[19:46] <strahtw>  I know its not running on my actual OS (!#). But my machine isn't fast enough for actual Ubuntu
[20:00] <dobey> strahtw: it should run on them just fine, yes
[20:01] <strahtw> okay, thx ;) So will change OS on weekend and try to install.
[20:53] <cwayne> mariogrip, hey!
[20:54] <cwayne> mariogrip, got your port booted on my OPO, was just talking to rsalveti about what to do re: wifi
[20:56] <Tassadar> would you want to add opo builds to my s-i server?
[20:59] <cwayne> thatd be pretty excellent
[21:00] <Tassadar> how do you build it now? How about adding it's device tree to https://code-review.phablet.ubuntu.com , like hammerhead is, I'm pretty sure it'd would be possible if you ponder the right people
[21:01] <cwayne> Tassadar, youd have to ask mariogrip, my guess is its not quite ready yet
[21:01] <Tassadar> only issue is my VPS is pretty tight on disk space, would have to buy a higher tier
[21:02] <cwayne> Tassadar, i'd be happy to help pay, I've been using your s-i for my hammerhead for awhile
[21:03] <Tassadar> it's fine for now, the payment is around christmas each year and it gets covered by multirom donations, mostly. Just saying that I'd happily add opo to my s-i server once it is ready if you want to
[21:09] <Tassadar> heh, thank god the traffic on that VPS is unlimited, it has uploaded over 1TB over past 19 days
[21:10] <cwayne> whoa
[21:11] <Tassadar> http://tasemnice.eu/mrtg/46.28.111.65_eth0.html , doesn't show how much data it transfered but you can see the average upload (1TB is in ifconfig)
[21:12] <cwayne> jeeze
[21:12] <cwayne> aaaaaaaand now my OPO wont boot at all
[21:37] <Letozaf_> Hi guys I have found a problem when trying to submit an application to the app store that has been created with https://developer.ubuntu.com/webapp-generator/
[21:38] <Letozaf_> I get this error: "The package name planetubuntu-itorg-tfu cannot be more than 20 characters."
[21:39] <Letozaf_> but the apps name when creating the webapp package was "Planet Ubuntu-it" is that too long ?
[21:40] <mariogrip> cwayne, Hey
[21:45] <cwayne> mariogrip, heya, was just trying to figure out how I could help get wifi working
[21:45] <cwayne> though now I've got that fun thing where my opo won't boot even to fastboot or recovery
[21:46] <bala> frameworks/base/include/android_runtime/AndroidRuntime.h:29:30: fatal error: nativehelper/jni.h: No such file or directory
[21:46] <bala> compilation terminated.
[21:50] <mariogrip> cwayne, you cannot boot into fastboot mode? :O
[21:53] <mariogrip> cwayne, about wifi, some ideas?
[21:53] <cwayne> mariogrip, i was gonna point you to rsalveti, he said he'd be able to help
[21:54] <cwayne> rsalveti, ^ :)
[21:56] <mariogrip> cwayne, what i have found out yet (i have been sick this week, so i haven't done much), but i switched to conn_init and found it missing .mdt files
[22:03] <cwayne> mariogrip, so it wouldn't build?
[22:04] <cwayne> mariogrip, hm, I can't get the image to build at all: ubuntu/platform-api/android/hybris/../..//include/ubuntu/application/instance.h:28:44: fatal error: mir_toolkit/mir_client_library.h: No such file or directory
[22:04] <cwayne> compilation terminated.
[22:05] <cwayne> \o/ finally got phone to boot at least
[22:06] <mariogrip> it will build, but wcnss is missing wcnss.mdt
[22:07] <mariogrip> wcnss.mdt is just a link file,
[22:11] <cwayne> mariogrip, hm, I've got it from when I did a CM build of bacon
[22:15] <mariogrip> yeah, i tried that, but it seems like the link does not direct it to the correct place, or that fstab is not mounting firmware correctly
[22:15] <mariogrip> humm, /firmware seems to be empty
[22:16] <cwayne> mariogrip, not sure if this is relevant:
 cwayne: as part of the android init script for flo there is a service called wcnss_init
[22:16] <cwayne> * brendand (~brendand@5751f17e.skybroadband.com) has joined #ubuntu-touch
 and that service is just a script, that calls /system/bin/conn_init
 and echo 1 > /dev/wcnss_wlan
 then my other init_wlan.sh script makes it to load the firmware
 echo sta > /sys/module/wlan/parameters/fwpath
 you can get the android console by calling lxc-console -nandroid -t0
[22:18] <mariogrip> https://github.com/ubuntu-touch-oneplus-one/android_device_oneplus_bacon/tree/v4.4/configs-ubuntu
[22:18] <mariogrip> i made some scripts
[22:21] <cwayne> ah hm, that looks pretty much the same
[22:21] <cwayne> hmm
[22:24] <cwayne> ondra, ^ any ideas?
[22:28] <mariogrip> http://paste.ubuntu.com/10630412/
[22:29] <mariogrip> this is better: http://paste.ubuntu.com/10630428/
[22:30] <mariogrip> [   31.148635] pil_pronto fb21b000.qcom,pronto: wcnss: Failed to locate wcnss.mdt
[22:30] <mariogrip> [   31.148720] wcnss_notifier_cb: sysmon_send_event error -19
[22:30] <mariogrip> [   31.148767] wcnss_wlan fb000000.qcom,wcnss-wlan: Peripheral Loader failed on WCNSS.
[22:33] <cwayne> mariogrip, and its not in /firmware/image?
[22:34] <mariogrip> there is not any files or folders inside frimware
[22:34] <mariogrip> firm*
[22:38] <mariogrip> ah, i see fstab is trying to mount /dev/block/platform/msm_sdcc.1/by-name/modem
[22:38] <mariogrip> but that does not exist
[22:39] <mariogrip> wait, it does exist inside lxc
[22:42] <mariogrip> but, firmware is not mounted in lxc
[22:52] <cwayne> Tassadar, did you have any issues with wcnss on deb?
[22:52] <cwayne> or are you just using the flo image basically
[22:53] <Tassadar> I'm building it from source, and with nexus devices, google prepares packages with proprietary binaries that go to vendor/ in android tree and they contain, among other things, fw for that wcnss thing
[22:54] <Tassadar> ask some ROM builders how do they do it with opo, might have to just extract them from a stock ROM
[22:55] <mariogrip> opo i think make .mdt files in Android.mk, but for some reason it does not work, i just added the files manually
[22:56] <Tassadar> it's kinda messy, because you can't really redistribute those files according to the license
[22:57] <mariogrip> the .mdt files is just link files
[22:57] <Tassadar> well they are obviously not supposed to be :)
[22:58] <mariogrip> :O they are like that in android
[22:58] <Tassadar> well they link somewhere
[22:58] <Tassadar> *point
[22:58] <mariogrip> point to a file in /firmware
[22:58] <cwayne> hm, its not in the list of files that's pulled with extract-files.sh
[22:59] <mariogrip> but /firmware is empty
[22:59] <Tassadar> oh, then just mount /dev/block/platform/*somethingIdon'tRemember/by-name/modem to /firmware
[22:59] <Tassadar> some of the fw files are on special partition, it is different for each device
[22:59] <mariogrip> yeah, fstab does that
[22:59] <Tassadar> then what's the problem, it's not /firmware on ubuntu or what?
[23:00] <mariogrip> /dev/block/platform/msm_sdcc.1/by-name/modem        /firmware       vfat    ro,shortname=lower,uid=1000,gid=1026,dmask=227,fmask=337,context=u:object_r:firmware_file:s0        wait
[23:00] <Tassadar> or it won't mount it?
[23:00] <Tassadar> might have to remove the "context=..." mount flag, since ubuntu kernels don't have SELinux
[23:01] <mariogrip> i will give that a try
[23:01] <Tassadar> well is it mounted or not? and it would print out error in dmesg if that were the problem
[23:02] <Tassadar> *should
[23:02] <mariogrip> http://paste.ubuntu.com/10630428/   btw, i have to get to sleep, i have work tomorrow :P
[23:03] <mariogrip> i cannot find any errors
[23:03] <cwayne> FWIW on flo it's in /system/vendor/firmware/wcnss.mdt
[23:04] <Tassadar> yeah, it doesn't have it on that partition, but it has different firmware files on there
[23:04] <Tassadar> looks like it was mounted just fine
[23:04] <mariogrip> but, why is it empty then?
[23:04] <Tassadar> you could use lxc-console ...some parameters I don't remember... to get to that android container and check there
[23:05] <cwayne> sudo lxc-console -nandroid -t0
[23:05] <Tassadar> yeah, that
[23:05] <mariogrip> yeah, but there is no /firmware there
[23:05] <Tassadar> is it in ubuntu root?
[23:05] <mariogrip> yeah
[23:05] <mariogrip> but not in lxc
[23:05] <Tassadar> what does mount say? is it mounted there?
[23:07] <mariogrip> I have rebooted my phone back to android, i will try more tomorrow.
[23:07] <Tassadar> finding what exactly loads the firmware could be useful too, if it is the kernel then it needs to be in /firmware, if it is via android's init, then you have to make it mounted to /firmware in that android container
[23:07] <Tassadar> yeah, I'm going to bed too
[23:08] <mariogrip>  it late here in norway :P
[23:08] <Tassadar> it's midnight here
[23:09] <mariogrip> yeah, i will try to find that out, but i do think it's the fstab file, because if i removes that, it doses not show up
[23:11] <cwayne> I'll keep poking (although I still can't even get it to build :P)
[23:11]  * rsalveti waves
[23:12] <rsalveti> cwayne: current build is broken
[23:12] <rsalveti> cwayne: we're fixing that, latest platform-api landing broke all the builds
[23:12] <cwayne> rsalveti, ah, okay
[23:12] <cwayne> i vaguely remembered that
[23:13] <cwayne> rsalveti, so as for our wifi issue, if you wanna read scrollback, it's failing at pil_pronto fb21b000.qcom,pronto: wcnss: Failed to locate wcnss.mdt
[23:14] <rsalveti> cwayne: right, just need to find out who provides that
[23:15] <cwayne> yea
[23:15] <rsalveti> cwayne: because there are usually 2 issues, one is that the path for the firmware directory is usually wrong, as that's pointing out for the android path
[23:15] <rsalveti> and the other is actually making that file available in the ubuntu side
[23:15] <cwayne> makes sense
[23:16] <rsalveti> it's common for a few devices for us to change '/etc/firmware/foobar' into '/system/etc/firmware/foobar' in order to get it to work (in the kernel code)
[23:17] <cwayne> i see
[23:17] <rsalveti>  vendor/sony/rhine-common/proprietary/etc/firmware/wcnss.mdt
[23:17] <rsalveti> cwayne: for one sony device using the same chipset
[23:18] <rsalveti> system/etc/firmware/wcnss.mdt
[23:18] <rsalveti> cwayne: can you check if you have something under /system/etc/firmware ?
[23:18] <DonkeyHotei> anyone know what causes the power mgmt problems on hammerhead?
[23:18] <cwayne> rsalveti, i've got some stuff, but not the wcnss
[23:19] <rsalveti> cwayne: the device git repository should have something
[23:19] <rsalveti> unless it's under vendor
[23:19] <cwayne> although I do have system/etc/firmware/wlan/prima/WCNSS_CFG.dat
[23:19] <rsalveti> right, that's one thing
[23:21] <cwayne> rsalveti, https://github.com/ubuntu-touch-oneplus-one/android_device_oneplus_bacon/blob/v4.4/Android.mk starting at line 53 maybe
[23:22] <rsalveti> cwayne: yeah, that would be /system/etc/firmware
[23:22] <cwayne> hm, wonder why its not there then
[23:22] <rsalveti> guess the files are just missing from this repo
[23:22] <rsalveti> let me check the CM one
[23:23] <rsalveti> oh, sorry
[23:23] <rsalveti> yeah, it's under /firmware/image
[23:23] <rsalveti> that is just a logic to add a syslink
[23:24] <rsalveti> now what is this /firmware, probably a partition
[23:24] <rsalveti> /dev/block/platform/msm_sdcc.1/by-name/modem /firmware vfat ro,shortname=lower,uid=1000,gid=1026,dmask=227,fmask=337,context=u:object_r:firmware_file:s0 wait
[23:24] <rsalveti> yeah
[23:24] <rsalveti> cwayne: try mounting that by hand
[23:25] <rsalveti> in theory we have a logic inside our initrd that is responsible for mounting all the partitions from fstab
[23:25] <rsalveti> but last time I check I think we had a bug in there
[23:25] <cwayne> just sudo mount /dev/block/platform/msm_sdcc.1/by-name/modem ?
[23:25] <rsalveti> but first try mounting that by hand and check if the files are there
[23:25] <rsalveti> yeah, somewhere, like /tmp/foobar
[23:25] <cwayne> mount: special device /dev/block/platform/msm_sdcc.1/by-name/modem does not exist
[23:26] <cwayne> er wait should i be in the lxc
[23:26] <rsalveti> cwayne: no need
[23:26] <rsalveti> cwayne: the path is just different under udev
[23:26] <rsalveti> cwayne: find /dev | grep by-name
[23:27] <rsalveti> /dev/disk/by-partlabel
[23:27] <rsalveti> should probably be under that dir
[23:27] <rsalveti> like /dev/disk/by-partlabel/modem
[23:28] <cwayne> yeap, there it is
[23:29] <rsalveti> cwayne: is there a wcnss.mdt in there?
[23:29] <cwayne> rsalveti, yeap
[23:29] <rsalveti> let me clone the kernel
[23:29] <rsalveti> cwayne: great
[23:30] <cwayne> rsalveti, so is it an initrd bug? or is the fstab wrong
[23:30] <rsalveti> checking now
[23:37] <rsalveti> cwayne: can you give me the output of 'sudo cat /var/lib/lxc/android/rootfs/fstab*' ?
[23:39] <cwayne> cat: /var/lib/lxc/android/rootfs/fstab*: No such file or directory
[23:39] <rsalveti> oh, that explains
[23:40] <rsalveti> cwayne: 'rootfs' here is the android initrd
[23:40] <rsalveti> cwayne: so in order for this to work, we first need to produce an android initrd that includes the fstab
[23:40] <rsalveti> with sudo lxc-console -nandroid -t0 you can also see the files that are mounted in android
[23:41] <rsalveti> that would show you the initrd + rootfs (system)
[23:41] <rsalveti> 408         # Mount all the Android partitions
[23:41] <rsalveti> 409         mount_android_partitions "${rootmnt}/var/lib/lxc/android/rootfs/fstab*" ${rootmnt}/android
[23:41] <rsalveti> from our initrd logic
[23:42] <cwayne> ah
[23:43] <cwayne> http://paste.ubuntu.com/10630805/
[23:43] <rsalveti> right
[23:43] <rsalveti> should be an easy fix
[23:43] <rsalveti> now let me check if we also need to change the kernel
[23:44] <rsalveti> git fetch taking forever :-(
[23:45] <cwayne> boo
[23:45] <cwayne> although yay for easy fix
[23:45] <rsalveti> let me check the git repo
[23:45] <cwayne> whatre the chances this'll fix a bunch of stuff or would it be just wlan probably
[23:46] <rsalveti> cwayne: http://paste.ubuntu.com/10630818/
[23:46] <rsalveti> bunch of stuff
[23:46] <rsalveti> cwayne: if you want to build the image
[23:46] <rsalveti> just manually apply that diff under ubuntu/platform-api
[23:48] <cwayne> tryin to build now
[23:49] <cwayne> seems to be goin
[23:51] <rsalveti> cwayne: https://github.com/ubuntu-touch-oneplus-one/android_device_oneplus_bacon/blob/v4.4/device.mk
[23:51] <rsalveti> cwayne:
[23:51] <rsalveti> PRODUCT_COPY_FILES += \
[23:51] <rsalveti> device/oneplus/bacon/configs-ubuntu/fstab.bacon:root/fstab.bacon \
[23:51] <rsalveti> in theory it's trying to copy the fstab into the initrd
[23:52] <rsalveti> but we can check the output of your build once you're done with it
[23:53] <cwayne> is it possible to mount it manually on a running image and re-init wifi to see if it works?
[23:55] <rsalveti> yup
[23:55] <rsalveti> just mount it under /firmware
[23:55] <cwayne> i did that
[23:56] <cwayne> didnt seem to do anything though, didnt know if i needed to start some service or something
[23:57] <rsalveti> cwayne: you said you're still missing /system/bin/conn_init, right?
[23:57] <cwayne> yea
[23:59] <rsalveti> cwayne: try echo 1 > /dev/wcnss_wlan
[23:59] <rsalveti> it seems your image is not necessarily reflecting latest from github