[00:25] kenvandine: approved that MR [01:06] Elleo, thx === salem_ is now known as _salem === ecloud is now known as ecloud_wfh [08:18] good morning [08:18] Mirv, can you let me know how I roll back to an older version of the image? [08:18] or anyone else? [08:19] ah no, Joey Chan just replied [08:24] dholbach: ok. one can flash. if you're on #141, you can just apt upgrade too now. [08:25] yep, Joey gave me the exact command line bits I needed to enter [08:25] everytime I try "apt-get install openjdk" there comes an error message... [08:28] 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. === timchen1` is now known as timchen119 === dholbach_ is now known as dholbach [08:57] Cimi, hey, can you approve https://code.launchpad.net/~larsu/overlay-scrollbar/blacklist-gnome-boxes/+merge/251566 ? [09:06] 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] 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] 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] aki237: well, did you try to talk to the guy who did the ubuntu-touch port for that device? [09:45] no [09:51] seb128, ok [09:51] Cimi, too late but thanks [09:52] seb128, had wifi issues :/ [10:11] Good morning all; happy Chocolate Caramel Day! :-D === dholbach_ is now known as dholbach === dholbach_ is now known as dholbach === chihchun_afk is now known as chihchun [11:37] hello [11:37] One question [11:38] Does App "MediaPlayer" on touch use Android MediaCodec? [11:45] jivin: no, gstreamer iirc, why? [11:46] jivin: might use the hardware acceleration drivers not sure on that though [12:03] 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] tap the screen [12:04] popey: oh lol, thx === MacSlow is now known as MacSlow|lunch [12:37] 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] In my dev account details, the namespace is "simosx" (instead of Empty/None). [12:37] beuno, ^^^ [12:38] could be the dash in the package name ... (not sure, just guessing) [12:38] hm [12:39] simosx, can you try something for me, before I go in to debug? [12:39] go to your account page again [12:39] the dash is fine, i have an app with a dash [12:39] and just hit "update my account" [12:39] hmm, it appears that "simosx" in the dev settings was taken or something. Changed it to "simos" and appears OK (green). [12:39] and try to upload again [12:39] ah [12:39] there we go [12:39] popey, ah, good to know [12:39] ogra_, we fixed that! :) [12:39] that sounds unlikely - two people with simosx? [12:40] beuno, i know it was fixed for version numbers ... never used a dash in package names though [12:40] 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] yay [12:41] eek, need to recalibrate my graph! http://popey.mooo.com/mirror/clicks/graph_clicks.png [12:43] now it worked. app was uploaded. [12:44] ogra_, we fixed all the things [12:44] haha, k :) [12:44] popey, it's trying to escape! [12:44] hah [12:45] why re-calibrate the graph ... [12:45] just limit the number of apps in the store to 1000 ... done [12:45] you guys always look for the complicated solution ... === _salem is now known as salem_ [12:47] anyone seeing a black screen when trying to unlock a mako running latest vivid? === alan_g is now known as alan_g|afk [12:55] artmello, Hi! [12:55] artmello, re: fix for 1425563 I still see some flicker when app goes fullscreen [12:56] i do have the click installed [12:59] om26er: Yes, there are still some flicking related with the header hiding. We will neither further investigation with sdk guys on that [13:00] artmello, ok, just wanted to make sure it was known. Your fix does reduce the flickering === MacSlow|lunch is now known as MacSlow [13:01] om26er: sure, thx [13:03] artmello, re: this https://code.launchpad.net/~phablet-team/gallery-app/gallery-app-photo-editor/+merge/243243 [13:04] artmello, it says we are using photo editor from ui-toolkit-extras, I would expect code deletions to be much more than additions ? === chihchun is now known as chihchun_afk [13:06] 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] uh [13:09] artmello, the CI spreadsheet does not mention the TestPlan to run, probably something to add to the sheet [13:13] om26er: I will update the TestPlan [13:44] artmello, with the fix for flickering, I am noticing some oddity when playing with albums [13:44] artmello, some part of the album goes under the header [13:46] om26er: ok, how do you reproduce the issue? [13:47] artmello, create a new album, click on it [13:47] artmello, http://i.imgur.com/SGDOvyD.png [13:47] http://i.imgur.com/q1JA21x.png [13:53] om26er: I am taking a look [14:00] 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] 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] Anon287: the OTAs would come through it too [14:02] 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] Ah, okay... So if I want 'official' builds I need to get a non-LTE N7 (Flo). [14:02] 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] the canonical server has stopped providing images for certain devices before as well [14:03] 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] ie, groupe and maguro no longer have images avaialble [14:04] 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] I guess you cannot flash Flo onto Deb and just not get the cellular functionality? That'd be an okay compromise... [14:04] I guess not though. [14:04] well the deb builds are probably not likely to stop building, unless flo goes away too [14:05] the deb images follow the flo images [14:05] i don't know if all the hardware on deb works the same as flo though [14:05] Sure but there is a total reliance on one guy for Deb builds, right? [14:07] 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] and he hangs out in here [14:07] and he maintains the MultiROM app which many people use for dual booting android and ubuntu [14:09] Okay. thanks for the heads up. Now really confused whether to grab the Deb or wait for a Flo to come along :P Decisions! :) === dandrader is now known as dandrader|afk [14:12] 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] Someone have some idea about it? [14:13] P.S. Hello :) [14:14] 'about that'* (?) [14:15] 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] what you say ? [14:23] om26er: ok, if it has a problem makes sense. I am still trying to find out what is wrong since that was tested === dandrader|afk is now known as dandrader [14:39] what's the last known good revision (before the latest one) in ubuntu-touch/devel-proposed? [14:40] i'm testing upgrades so i need a known good older revision to upgrade to the latest one [14:46] barry: for mako? [14:46] dobey: krillin [14:47] ah, no idea :) [14:49] while still_bricked: i -= 1 [14:50] What device is Krillin? [14:50] bq aquaris [14:51] oh okay :) [14:51] Thank you [15:07] boiko, Hi! [15:09] 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] jgdx, not sure... I can look into this, but let's discuss during tomorrow's system settings mtg [15:10] aaa right [15:10] 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] jgdx: no, nothing special. but you also shouldn't create the AP using the supplicant directly, you should go through NM [15:12] tedg, can you join #ubuntu-quality? [15:12] cyphermox, we're not touching wpa, except to set the driver on hybris devices. [15:13] cyphermox, but wpa is the one complaining when trying to connect to the AP, as well as lock up for some reason. [15:14] it would help then if you explain what you mean by complaining and locking up... like debug logs [15:19] 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] cyphermox, ^ [15:25] jgdx: sounds like driver issues [15:27] Elleo, can you test silo 28 after it finishes building? [15:29] cyphermox, uh oh [15:30] kenvandine: sure [16:00] 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] rvr: because it's not finished :) [16:03] popey: Does it mean it is in the roadmap? :) [16:03] rvr: we're constantly re-evaluating apps that are in the image [16:05] popey wins 10 points for "politically correct" answers ;) [16:06] haha [16:09] 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] would you have a moment to do that sometime today? [16:11] oSoMoN, sure [16:11] thanks! [16:13] oSoMoN, done [16:13] that was easy :) [16:15] kenvandine, oSoMoN can you pretty please make sure to mention dependency changes in the commit message or changelog (whatever you use) [16:16] ogra_, sure, updating the commit message now [16:16] thx :) === seb128_ is now known as seb128 [16:25] kenvandine: tested that silo, all looks good to me [16:27] What should happen if something calls AudioSystem::setParameters in libmedia? libmedia tries to talk with AudioFlinger, make it wait forever. [16:30] Elleo, cool, can you mark it on the spreadsheet? line 6 [16:30] line 66 [16:35] kenvandine: ah, I don't seem to have edit access on the spreadsheet [16:35] oh... ok [16:35] what image did you test with? [16:35] #142 [16:35] on mako === alan_g|afk is now known as alan_g [16:36] Elleo, thx [16:36] no problem [16:44] hi om26er [16:44] boiko, hey [16:44] boiko, in dialer-app dialing a key quickly 3 times only produces sound twice. [16:44] om26er: there is a bug reported for it already, it is a problem in the tone generator [16:44] om26er: let me find it [16:53] rsalveti, do you remember my question about the voice flow? [17:00] Ubuntu Touch (of Aquaris E4.5 Ubuntu Edition) freezes when booting up | http://askubuntu.com/q/598797 [17:00] How to import Contacts form Sim Card to Ubuntu Phone? | http://askubuntu.com/q/598801 [17:01] How can I run shell script automatically when poweroff was pressed? [17:06] Or in another way before device powering off [17:06] bfiller: do we have an ETA on SIM contacts import? (see above askubuntu question) [17:07] i dont know if this works on the ubuntu touch images but you could write a init script... [17:15] 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] peat-psuwit: the one I replied, yep [17:46] not sure if you asked me another one [17:48] rsalveti, In Ubuntu, pulseaudio notify hardware to let voice flow to speaker. What's doing the same on Android? AudioFlinger? [17:49] peat-psuwit: yeah [17:50] rsalveti, Then, who notify AudioFlinger? [17:59] peat-psuwit: don't remember exactly, would need to dive the codebase, but I think they have some sort of telephony manager [17:59] that gets the notification that the call is active [17:59] and then requests audioflinger to change the audio mode to call mode [18:00] that ends up affecting the hal, similar to the way we do with pulseaudio [18:04] 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] 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] 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] the java layer is the one doing that work [18:08] 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. === alan_g is now known as alan_g|EOD [18:09] peat-psuwit: oh, if that is indeed true, then it's a massive hack [18:10] peat-psuwit: what do you get on logcat? [18:10] as root, /system/bin/logcat [18:10] peat-psuwit: at least even for the low level daemon, there are 2 pieces [18:10] the low level library (closed source binary) [18:11] and the open one, that loads the closed source binary [18:19] rsalveti, I/ServiceManager( 1001): Waiting for service media.audio_flinger... [18:19] W/AudioSystem( 1001): AudioFlinger not published, waiting... [18:20] 1001 is pid of rild. They repeat a few times. [18:22] peat-psuwit: do you have any source code for that piece specifically? [18:23] rild shouldn't be talking with audioflinger at all [18:23] but the problem is that people end up doing all sort of hacks on android [18:24] Tassadar, did you follow a guide to get your s-i server setup? [18:24] and/or do you have any notes? [18:24] I did, but had to do bunch of extra things, and I do not have any notes [18:25] rsalveti, I'm afraid not. [18:25] 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] *fork [18:25] *using [18:26] *patching [18:26] peat-psuwit: otherwise we'd need to have mock service for audioflinger [18:26] *another [18:26] wow, I'm bad at typing [18:26] rsalveti, It's Qualcom's qcril. Maybe Qualcom have released some of code around? [18:27] for the interfaces used by rild [18:27] peat-psuwit: could be, yeah [18:29] rsalveti, I think it use setParameters, because I see that on the radio logcat on Android. [18:49] rsalveti, whats the best way to debug missing wifi on a new port? [18:49] cwayne: first check if you have a wireless device [18:50] cwayne: if not, then we need to check if the kernel failed to load the firmware and so on [18:50] usually the output of ifconfig -a and dmesg already helps quite a bit [18:51] looks like no wireless device [18:53] so what am I checking for in dmesg? [19:04] rsalveti, if youre interested, dmesg: http://paste.ubuntu.com/10629349/ [19:04] * rsalveti checks [19:04] cwayne: which device? [19:05] rsalveti, oneplus, using mariogrips build [19:07] cwayne: not much indeed [19:07] [ 1.071421] wcnss_wlan probed in built-in mode [19:08] that is probably the wifi driver you have [19:08] now would need the kernel source to actually see why that didn't actually loaded anything [19:09] rsalveti, should be here: https://github.com/ubuntu-touch-oneplus-one [19:10] hm, need a beer [19:10] qcom_conn_init [19:11] wonder if that also helps [19:11] what, beer? :P [19:11] trying to remember the hacks we did with other qcom devices to have a working wireless [19:11] always [19:12] cwayne: http://paste.ubuntu.com/10629420/ [19:13] 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] cwayne: see if you have /sys/devices/platform/wcnss_wlan, or something like that [19:14] so, how it works on flo: [19:14] hm, dont have that [19:15] cwayne: http://paste.ubuntu.com/10629436/ [19:16] cwayne: as part of the android init script for flo there is a service called wcnss_init [19:16] and that service is just a script, that calls /system/bin/conn_init [19:16] and echo 1 > /dev/wcnss_wlan [19:16] then my other init_wlan.sh script makes it to load the firmware [19:17] echo sta > /sys/module/wlan/parameters/fwpath [19:17] you can get the android console by calling lxc-console -nandroid -t0 [19:17] then from there you can call conn_init (as that's a binary from android) [19:17] https://github.com/ubuntu-touch-oneplus-one/qcom_conn_init [19:18] it seems the maintainer was trying to get that to work somwhoe [19:18] 127|root@bacon:/ # conn_init [19:18] system/bin/sh: conn_init: not found [19:18] full path makes any difference? [19:18] maybe that binary wasn't installed by the build [19:19] oh, he had that, but removed [19:19] https://github.com/ubuntu-touch-oneplus-one/android_device_oneplus_bacon/commit/43c904a8c0f92f2e9055815ce7c2b1cd04ca5bb4 [19:20] but he actually included as a build requirement [19:20] /system/bin/wcnss_service needs to run as well [19:20] hello :) [19:22] yeah, seem to not be in the build [19:25] cwayne: how maintains that port? [19:25] I can easily help if I find the guy [19:26] he seems not online atm but mariogrip [19:30] hm, i cant seem to do the reverse tethering via ppp either :/ [19:35] got a build running now at least :) [19:37] cwayne: just ask him to ping me if he needs any help [19:37] yeah, ill try and find him [19:37] id love to get this port working well [19:46] Does anyone know if the Ubuntu SDK is running also on XUbuntu or LUbuntu? [19:46] I know its not running on my actual OS (!#). But my machine isn't fast enough for actual Ubuntu [20:00] strahtw: it should run on them just fine, yes [20:01] okay, thx ;) So will change OS on weekend and try to install. [20:53] mariogrip, hey! [20:54] mariogrip, got your port booted on my OPO, was just talking to rsalveti about what to do re: wifi [20:56] would you want to add opo builds to my s-i server? [20:59] thatd be pretty excellent [21:00] 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] Tassadar, youd have to ask mariogrip, my guess is its not quite ready yet [21:01] only issue is my VPS is pretty tight on disk space, would have to buy a higher tier [21:02] Tassadar, i'd be happy to help pay, I've been using your s-i for my hammerhead for awhile [21:03] 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] heh, thank god the traffic on that VPS is unlimited, it has uploaded over 1TB over past 19 days [21:10] whoa [21:11] 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] jeeze [21:12] aaaaaaaand now my OPO wont boot at all [21:37] 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] I get this error: "The package name planetubuntu-itorg-tfu cannot be more than 20 characters." [21:39] but the apps name when creating the webapp package was "Planet Ubuntu-it" is that too long ? [21:40] cwayne, Hey [21:45] mariogrip, heya, was just trying to figure out how I could help get wifi working [21:45] though now I've got that fun thing where my opo won't boot even to fastboot or recovery [21:46] frameworks/base/include/android_runtime/AndroidRuntime.h:29:30: fatal error: nativehelper/jni.h: No such file or directory [21:46] compilation terminated. [21:50] cwayne, you cannot boot into fastboot mode? :O [21:53] cwayne, about wifi, some ideas? [21:53] mariogrip, i was gonna point you to rsalveti, he said he'd be able to help [21:54] rsalveti, ^ :) [21:56] 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] mariogrip, so it wouldn't build? [22:04] 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] compilation terminated. [22:05] \o/ finally got phone to boot at least [22:06] it will build, but wcnss is missing wcnss.mdt [22:07] wcnss.mdt is just a link file, === davidcalle_ is now known as davidcalle [22:11] mariogrip, hm, I've got it from when I did a CM build of bacon [22:15] 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] humm, /firmware seems to be empty [22:16] mariogrip, not sure if this is relevant: [22:16] cwayne: as part of the android init script for flo there is a service called wcnss_init [22:16] * brendand (~brendand@5751f17e.skybroadband.com) has joined #ubuntu-touch [22:16] and that service is just a script, that calls /system/bin/conn_init [22:16] and echo 1 > /dev/wcnss_wlan [22:16] then my other init_wlan.sh script makes it to load the firmware [22:16] echo sta > /sys/module/wlan/parameters/fwpath [22:16] you can get the android console by calling lxc-console -nandroid -t0 [22:18] https://github.com/ubuntu-touch-oneplus-one/android_device_oneplus_bacon/tree/v4.4/configs-ubuntu [22:18] i made some scripts [22:21] ah hm, that looks pretty much the same [22:21] hmm [22:24] ondra, ^ any ideas? [22:28] http://paste.ubuntu.com/10630412/ [22:29] this is better: http://paste.ubuntu.com/10630428/ [22:30] [ 31.148635] pil_pronto fb21b000.qcom,pronto: wcnss: Failed to locate wcnss.mdt [22:30] [ 31.148720] wcnss_notifier_cb: sysmon_send_event error -19 [22:30] [ 31.148767] wcnss_wlan fb000000.qcom,wcnss-wlan: Peripheral Loader failed on WCNSS. [22:33] mariogrip, and its not in /firmware/image? [22:34] there is not any files or folders inside frimware [22:34] firm* [22:38] ah, i see fstab is trying to mount /dev/block/platform/msm_sdcc.1/by-name/modem [22:38] but that does not exist [22:39] wait, it does exist inside lxc [22:42] but, firmware is not mounted in lxc === chihchun_afk is now known as chihchun [22:52] Tassadar, did you have any issues with wcnss on deb? [22:52] or are you just using the flo image basically [22:53] 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] ask some ROM builders how do they do it with opo, might have to just extract them from a stock ROM [22:55] 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] it's kinda messy, because you can't really redistribute those files according to the license [22:57] the .mdt files is just link files [22:57] well they are obviously not supposed to be :) [22:58] :O they are like that in android [22:58] well they link somewhere [22:58] *point [22:58] point to a file in /firmware [22:58] hm, its not in the list of files that's pulled with extract-files.sh [22:59] but /firmware is empty [22:59] oh, then just mount /dev/block/platform/*somethingIdon'tRemember/by-name/modem to /firmware [22:59] some of the fw files are on special partition, it is different for each device [22:59] yeah, fstab does that [22:59] then what's the problem, it's not /firmware on ubuntu or what? [23:00] /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] or it won't mount it? [23:00] might have to remove the "context=..." mount flag, since ubuntu kernels don't have SELinux [23:01] i will give that a try [23:01] well is it mounted or not? and it would print out error in dmesg if that were the problem [23:02] *should [23:02] http://paste.ubuntu.com/10630428/ btw, i have to get to sleep, i have work tomorrow :P [23:03] i cannot find any errors [23:03] FWIW on flo it's in /system/vendor/firmware/wcnss.mdt [23:04] yeah, it doesn't have it on that partition, but it has different firmware files on there [23:04] looks like it was mounted just fine [23:04] but, why is it empty then? [23:04] you could use lxc-console ...some parameters I don't remember... to get to that android container and check there [23:05] sudo lxc-console -nandroid -t0 [23:05] yeah, that [23:05] yeah, but there is no /firmware there [23:05] is it in ubuntu root? [23:05] yeah [23:05] but not in lxc [23:05] what does mount say? is it mounted there? [23:07] I have rebooted my phone back to android, i will try more tomorrow. [23:07] 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] yeah, I'm going to bed too [23:08] it late here in norway :P [23:08] it's midnight here [23:09] 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] I'll keep poking (although I still can't even get it to build :P) [23:11] * rsalveti waves [23:12] cwayne: current build is broken [23:12] cwayne: we're fixing that, latest platform-api landing broke all the builds [23:12] rsalveti, ah, okay [23:12] i vaguely remembered that [23:13] 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] cwayne: right, just need to find out who provides that [23:15] yea [23:15] 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] and the other is actually making that file available in the ubuntu side [23:15] makes sense [23:16] 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] i see [23:17] vendor/sony/rhine-common/proprietary/etc/firmware/wcnss.mdt [23:17] cwayne: for one sony device using the same chipset [23:18] system/etc/firmware/wcnss.mdt [23:18] cwayne: can you check if you have something under /system/etc/firmware ? [23:18] anyone know what causes the power mgmt problems on hammerhead? [23:18] rsalveti, i've got some stuff, but not the wcnss [23:19] cwayne: the device git repository should have something [23:19] unless it's under vendor [23:19] although I do have system/etc/firmware/wlan/prima/WCNSS_CFG.dat [23:19] right, that's one thing [23:21] rsalveti, https://github.com/ubuntu-touch-oneplus-one/android_device_oneplus_bacon/blob/v4.4/Android.mk starting at line 53 maybe [23:22] cwayne: yeah, that would be /system/etc/firmware [23:22] hm, wonder why its not there then [23:22] guess the files are just missing from this repo [23:22] let me check the CM one [23:23] oh, sorry [23:23] yeah, it's under /firmware/image [23:23] that is just a logic to add a syslink [23:24] now what is this /firmware, probably a partition [23:24] /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] yeah [23:24] cwayne: try mounting that by hand [23:25] in theory we have a logic inside our initrd that is responsible for mounting all the partitions from fstab [23:25] but last time I check I think we had a bug in there [23:25] just sudo mount /dev/block/platform/msm_sdcc.1/by-name/modem ? [23:25] but first try mounting that by hand and check if the files are there [23:25] yeah, somewhere, like /tmp/foobar [23:25] mount: special device /dev/block/platform/msm_sdcc.1/by-name/modem does not exist [23:26] er wait should i be in the lxc [23:26] cwayne: no need [23:26] cwayne: the path is just different under udev [23:26] cwayne: find /dev | grep by-name [23:27] /dev/disk/by-partlabel [23:27] should probably be under that dir [23:27] like /dev/disk/by-partlabel/modem [23:28] yeap, there it is [23:29] cwayne: is there a wcnss.mdt in there? [23:29] rsalveti, yeap [23:29] let me clone the kernel [23:29] cwayne: great [23:30] rsalveti, so is it an initrd bug? or is the fstab wrong [23:30] checking now [23:37] cwayne: can you give me the output of 'sudo cat /var/lib/lxc/android/rootfs/fstab*' ? [23:39] cat: /var/lib/lxc/android/rootfs/fstab*: No such file or directory [23:39] oh, that explains [23:40] cwayne: 'rootfs' here is the android initrd [23:40] cwayne: so in order for this to work, we first need to produce an android initrd that includes the fstab [23:40] with sudo lxc-console -nandroid -t0 you can also see the files that are mounted in android [23:41] that would show you the initrd + rootfs (system) [23:41] 408 # Mount all the Android partitions [23:41] 409 mount_android_partitions "${rootmnt}/var/lib/lxc/android/rootfs/fstab*" ${rootmnt}/android [23:41] from our initrd logic [23:42] ah [23:43] http://paste.ubuntu.com/10630805/ [23:43] right [23:43] should be an easy fix [23:43] now let me check if we also need to change the kernel [23:44] git fetch taking forever :-( [23:45] boo [23:45] although yay for easy fix [23:45] let me check the git repo [23:45] whatre the chances this'll fix a bunch of stuff or would it be just wlan probably [23:46] cwayne: http://paste.ubuntu.com/10630818/ [23:46] bunch of stuff [23:46] cwayne: if you want to build the image [23:46] just manually apply that diff under ubuntu/platform-api [23:48] tryin to build now [23:49] seems to be goin [23:51] cwayne: https://github.com/ubuntu-touch-oneplus-one/android_device_oneplus_bacon/blob/v4.4/device.mk [23:51] cwayne: [23:51] PRODUCT_COPY_FILES += \ [23:51] device/oneplus/bacon/configs-ubuntu/fstab.bacon:root/fstab.bacon \ [23:51] in theory it's trying to copy the fstab into the initrd [23:52] but we can check the output of your build once you're done with it [23:53] is it possible to mount it manually on a running image and re-init wifi to see if it works? [23:55] yup [23:55] just mount it under /firmware === chihchun is now known as chihchun_afk [23:55] i did that [23:56] didnt seem to do anything though, didnt know if i needed to start some service or something [23:57] cwayne: you said you're still missing /system/bin/conn_init, right? [23:57] yea [23:59] cwayne: try echo 1 > /dev/wcnss_wlan [23:59] it seems your image is not necessarily reflecting latest from github