[00:00] -bash: /dev/wcnss_wlan: Bad address [00:00] yeah, not surprised [00:02] cwayne: anything in dmesg after that echo? [00:03] rsalveti, nope, but it failed with -bash: /dev/wcnss_wlan: Bad address [00:06] seems you're indeed missing a few files in there [00:06] like it's missing the latest commit from the device repo [00:07] ah, i wonder how old this image is [00:07] i tried his nightly but it didn't boot [00:09] alright i'll go get dinner and come back to this after.. rsalveti if you have a fix in mind ill be happy to build/test later tonight [00:10] i'm wicked excited about this, would love to at least have wifi + data working [00:10] cwayne: oh, by old I mean just the android image [00:11] rsalveti, yeah [00:11] rootfs is like 2 days old [00:11] build failed [00:11] Target boot image: /home/cwayne/Projects/ports/oneplus/phablet/out/target/product/bacon/boot.img [00:11] usage: mkbootimg [00:11] --kernel [00:11] --ramdisk [00:11] [ --second <2ndbootloader-filename> ] [00:11] [ --cmdline ] [00:11] [ --board ] [00:11] [ --base
] [00:11] [ --pagesize ] [00:11] -o|--output [00:11] device/oneplus/bacon/mkbootimg.mk:47: recipe for target '/home/cwayne/Projects/ports/oneplus/phablet/out/target/product/bacon/boot.img' failed [00:14] ah ok there we go [00:14] build success [00:15] rsalveti, what output did you want? [00:15] hm, failed to generate the boot.img though [00:16] probably wrong argument or missing one [00:16] i rebuilt, there was a github issue with mkbootimg, i copied his over and it seemed to work this time [00:16] oh, cool [00:16] so there should be a dir called root, or rootfs under out/target/product/bacon [00:17] cwayne: just give me the list of files in there [00:17] cwayne@boomer:~/Projects/ports/oneplus/phablet/out/target/product/bacon/root$ lscharger init init.usb.rc sepolicy [00:17] data init.bacon.rc proc sys [00:17] default.prop init.environ.rc property_contexts system [00:17] dev init.qcom-common.rc res ueventd.qcom.rc [00:17] file_contexts init.rc sbin ueventd.rc [00:17] fstab.bacon init.trace.rc seapp_contexts [00:18] rsalveti, ^ [00:18] cwayne: cool, yeah, with fstab and stuff [00:18] cwayne: now just fastboot flash boot out/target/product/bacon/boot.img [00:19] might need to update the system image as well [00:19] if you got conn_init [00:19] check for that [00:19] under out/target/product/bacon/system, look for conn_init [00:20] yeap [00:20] https://forums.oneplus.net/threads/wip-ubuntu-touch-for-oneplus-one.266170/ [00:20] to flash everything [00:20] rsalveti, just flashed boot.img and its now booting [00:21] right, that will help the fstab issue, but might still be missing the conn_init one (as I think that is under system instead) [00:21] cwayne: give me your dmesg output after booting [00:21] yeah, good point [00:21] oops was just gonna go into recovery, let me boot back real quick [00:21] in case updating system.img breaks shit [00:21] right [00:21] just want to know if it was able to find the fstab [00:23] rsalveti, http://paste.ubuntu.com/10630968/ [00:24] now trying to update system.img [00:25] cwayne: oh, sorry, yeah, needs a new system.img [00:25] cwayne: the android initrd lives inside the system.img [00:25] so dmesg didn't change much actually [00:26] ah right [00:26] here goes nothin [00:28] howdy [00:28] i want to mount the internal storage of aquaris but libmtp doesnt seem to recognize the device. what am i missing? [00:30] rsalveti, damnit, no boot [00:30] cwayne: how did you update the system.img? [00:30] re-ran rootstock [00:31] maybe the system.img is sparse, and you need to convert that first [00:31] not sure if his script is doing that [00:32] let me check [00:34] it actually converts that [00:34] cwayne: do you have a working recovery which you can use adb shell? [00:34] rsalveti, yea [00:35] cwayne: run: ./build/tools/update-system-img.sh out/target/product/bacon/system.img [00:35] cwayne: from recovery [00:35] cwayne: under the android build system dir [00:38] can anyone help me out please? im running libmtp 1.1.8 and my aquaris doesnt get recognized [00:38] Danny_D: how are you trying to mount the mtp device? [00:38] using it with nautilus or trying to manually mount it? [00:39] also, output of tail -f /var/log/syslog when connecting the cable to your host machine should also help [00:39] ugh rsalveti now i cant get the phone to power on at all [00:39] Danny_D: and another question, what are you using as host? [00:39] ah there we go [00:39] cwayne: :D [00:40] cwayne: any better? [00:41] rsalveti: using the mtpfs command, libmtp reports device unknown, uses android flags o_0 [00:41] on gentoo [00:41] Device 0 (VID=2a47 and PID=2008) is UNKNOWN. [00:42] right [00:42] that is probably why [00:42] let me point you to one patch we used to get it recognized [00:43] which reminds me we can already push the patch upstream, as the device is now public [00:43] rsalveti, not yet, this phone suuuuuuuucks sometimes [00:43] cwayne: what is the issue? [00:44] sometimes it just straight up refuses to power on [00:44] cwayne: weird [00:44] so it wasnt pushed to libmtp yet? ok i already thought so even though i find it a little strange since people actually using it :) [00:45] rsalveti, yeah, and super obnoxious [00:45] Danny_D: http://paste.ubuntu.com/10631100/ [00:45] let me take this opportunity to send that upstream [00:48] anyone know what causes the power mgmt problems on hammerhead? [00:48] rsalveti, yeah i cant get this thing to boot, probably a sign I need a break :) [00:49] will try and run that script after dinner [00:49] cwayne: alright, the reason might be that your system.img is busted [00:49] rsalveti: is there a way to do mount it and tell libmtp about the device specific options without recompiling? [00:49] Danny_D: not that I know [00:49] rsalveti, i doubt it, I dont even get it to power on at all [00:49] weird, put it to charge for a bit, make it relax a bit more [00:50] yeah [00:50] its weird, its happened a few times now [00:50] and i just got it back from an RMA today :/ [00:52] oh well === cwayne is now known as cwayne-afk [00:52] will check back in later [00:55] rsalveti: is the cause known of the power mgmt problems on hammerhead? [00:55] cwayne-afk: oh, ok [00:55] DonkeyHotei: which power mgmt issues? [00:56] well, most reports are that battery life on ubuntu is much wor [00:56] well, most reports are that battery life on ubuntu is much wose than on android [00:56] for hammerhead [00:58] rsalveti: ^ [01:00] well, it depends on a lot of things, first need to check if the device is indeed deep suspending [01:00] then check if something is behaving badly on that hardware [01:00] as we improved/fixed most of the known issues we had [01:01] is there a definitive test for deep suspend? [01:02] you can check that usually with syslog, but cking has a bunch of tools to investigate that [01:02] https://wiki.ubuntu.com/Kernel/PowerManagement/IdentifyingIssues [01:08] Danny_D: ok, sent upstream [01:19] Suspends: [01:19] 3 suspends aborted (13.04%). [01:19] 20 suspends succeeded (86.96%). [01:19] rsalveti: ^ === randy is now known as Guest98999 [01:27] I seem to have lost the ability to su within adb shell. How is that obtained? I've been trying, unsuccessfully, to boot ubuntu-touch. [01:28] is that while booted into android, or ubuntu? [01:29] trying to boot into ubuntu on my device. the device partially boots, I can adb shell, but then can't get much done due to permission denied. [01:30] i actually was able at one point run dmesg, but now I can't [01:32] i wasn't sure what the output of my kernel should be, so i re-flashed a build of cyanogenmod to compare, then when reflashing ubuntu, i lost su. [01:37] which device? [01:37] galaxy nexus [01:38] i'm not sure that port is maintained [01:38] yeah, I'm trying to get it running as a little project of mine. [01:39] since the device is not supported anymore, i tried to run through the porting guide. [01:43] well, look at that. adb root works. :) [01:44] if you can get the touch ui to display, the screenlock passwd you set will be used for sudo [01:45] the boot process never mounts the ubuntu container, so it just sits here with a blank screen. [01:45] is there anyway to get more output from the kernel? I've tried adding debug to the kernel cmdline but that doesn't seem to do anything. [01:46] are you using an ubuntu kernel image? [01:49] i originally built the kernel using the cyanogenmod tuna kernel source. i figured that was the culprit, so i used the pre-built maguro kernel and it gave the exact same output. [01:50] i think i even tried building the ubuntu kernel but that also gave the same outcome. [01:51] certain options in kernel config must be enabled, per the porting guide [01:52] rsalveti, still wont boot [01:52] hooray [01:52] cwayne-afk: try reflashing the system image that was published by the port owner [01:52] just to see if you can get it to boot again [01:52] rsalveti, i cant get it to fastboot or recovery [01:52] it literally doesnt power on [01:52] ouch [01:53] maybe disconnecting battery? [01:53] that's where i thought things went wrong. i tried enabling the kernel options, but every time I ran make, the .config file gets re-written [01:53] we had that issue with mako before [01:53] rsalveti, tamper-proof screws to be able to remove battery [01:53] cwayne-afk: that sucks [01:53] i have a set of tamper-proof drivers [01:54] holy shit i got it [01:54] kinda === cwayne-afk is now known as cwayne [01:54] if you hold the power button while plugging and unplugging usb it turns out [01:54] that makes, literally zero sense. [01:55] rsalveti: i got it to work, using libmtp 1.1.8 & thunar-volman with ur supplied patch [01:55] Danny_D: great [01:56] cwayne: :-) [01:56] stable hardware [01:57] A++ [01:57] randy1: are you sure you're actually flashing a full system image? [01:57] holy shit it booted [01:59] rsalveti, dmesg http://paste.ubuntu.com/10631404/ [02:00] cwayne: nice [02:00] cwayne: [02:00] [ 15.517777] initrd: mounting /dev/disk/by-partlabel/modem as /root/android//firmware [02:00] rsalveti, yeah, I have a /firmware, but it appears to be empty [02:00] so now /firmware should have everything [02:00] hm [02:00] cwayne: check /android/firmware [02:00] hm ls: cannot open directory .: Permission denied [02:00] /firmware should just be a syslink to /android/firmware [02:00] yo [02:00] also empty [02:01] where do ringtones need to be placed and messaging tones? [02:01] cwayne: weird, paste me the output of mount [02:01] rsalveti, http://paste.ubuntu.com/10631407/ [02:02] cwayne: yeah, it's not actually mounting it [02:02] yea [02:03] but i have /system/bin/conn_init [02:03] cwayne: paste me the output of /var/lib/lxc/android/rootfs/fstab* [02:04] /var/lib/lxc/android/rootfs/fstab.bacon [02:04] cwayne: sorry, cat [02:06] rsalveti, http://paste.ubuntu.com/10631431/ [02:09] cwayne: run the following, as root: [02:09] mkdir -p /android/firmware [02:09] mount /dev/disk/by-partlabel/modem /android/firmware -t vfat -o ro,shortname=lower,uid=1000,gid=1026,dmask=227,fmask=337,context=u:object_r:firmware_file:s0 [02:09] I think the amount of options is probably what is causing the error [02:11] cwayne: http://paste.ubuntu.com/10631455/ [02:11] didnt seem to complain [02:11] what it tries to execute in the initrd [02:11] cwayne: did it mount it? [02:11] yep [02:12] hm, that's super weird then [02:13] damnit, super weird is never easy fixes :) [02:15] cwayne: maybe the link from udev might be causing this issue [02:15] saw that before [02:15] /dev/block/platform/msm_sdcc.1/by-name/modem should be pointing out to a device [02:16] cwayne: like /dev/mmcblk0p5 [02:16] in the end [02:16] i think its /dev/mmcblk0p1 [02:16] /dev/mmcblk0p1 on /android/firmware type vfat (ro,relatime,uid=1000,gid=1026,fmask=0337,dmask=0227,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro) [02:16] cwayne: right, can you replace the fstab lines by giving the mmcblk0 instead? [02:17] like replacing /dev/block/platform/msm_sdcc.1/by-name/modem with /dev/mmcblk0p1 [02:17] and so on [02:17] then rebuild the image, flash and reboot [02:18] how do i find out all of them? [02:18] i got that one just by running mount [02:19] cwayne: ls -l /dev/disk/by-partlabel [02:19] they are all links [02:19] ah right [02:20] rsalveti, do i just edit it in out/target/product/bacon/system/blah or is there somewhere else [02:20] cwayne: no, need to edit the original file [02:20] cwayne: probably under device/lge/bacon [02:20] or similar [02:20] ah there we go [02:20] let me find the gitrepo [02:20] rsalveti: wakelocks of interest are wlan_rx_wake, wlan_wd_wake, wlan_wake, and qpnp-vadc-ee189e00, in that order [02:21] device/oneplus/bacon/ubuntu-configs [02:21] cwayne: yeah, guess that's the one [02:21] cwayne: just rebuild and check under out/target/product/bacon/root/fstab [02:21] if it got the new values, then you changed the right file [02:21] DonkeyHotei: yeah, these are all kernel related [02:22] usually we can't do much for that ones [02:32] wtf [02:32] http://paste.ubuntu.com/10631554/ [02:33] oh goddamnit did i forget to run lunch [02:34] yep [02:34] ok there we go [02:34] rsalveti, so it looks right, just update the system.img? [02:39] cwayne: yeah [02:39] rsalveti, no difference [02:42] cwayne: as usual, dmesg and cat /var/lib/lxc/android/rootfs/fstab* [02:42] cwayne: and output of mount [02:43] rsalveti, mount: http://paste.ubuntu.com/10631592/ [02:43] rsalveti, http://paste.ubuntu.com/10631596/ fstab [02:44] wtf [02:44] dmesg [02:44] http://paste.ubuntu.com/10631601/ [02:45] rsalveti, ? [02:48] cwayne: run the following script: http://paste.ubuntu.com/10631610/ [02:48] cwayne: as root, with bash -x [02:48] bash -x ./script.sh [02:48] Which module will call function "media_codec_create_by_codec_name" of hybris/media/media.c? [02:50] jivin: gst-plugins-bad1.0 [02:50] the hybris plugin of that package [02:50] jivin: https://github.com/jhodapp/gst-plugins-bad/blob/master/sys/androidmedia/gstamchybris.c#L235 [02:50] rsalveti, http://paste.ubuntu.com/10631639/ [02:51] jivin, why do you ask? [02:51] Thanks.However, when I start application "MediaPlayer-app" to play a video, function "media_codec_create_by_codec_name" isn't called [02:51] cwayne: crap, there is a bug in our code [02:52] in the initrd? [02:53] cwayne: yeah [02:53] just a sec [02:55] jhodapp, I just want to figure out the full call procedures [02:55] jivin, it has to be called [02:56] cwayne: run the following: http://paste.ubuntu.com/10631651/ [02:56] cwayne: same thing, bash -x as root [02:56] Whether some media player application doesn't use gst-hybris? [02:57] For example, built-in application "Gallery"? [02:57] jivin, it definitely does, the only thing that doesn't use the hardware decoder yet are videos in the web browser [02:57] rsalveti, http://paste.ubuntu.com/10631655/ [02:58] jivin, it's called via: https://github.com/jhodapp/gst-plugins-bad/blob/master/sys/androidmedia/gstamcvideodechybris.c#L510 [02:58] cwayne: can you paste me your mount output now? [02:58] jivin, which is called by gstreamer automatically for the decoder plugin interface: https://github.com/jhodapp/gst-plugins-bad/blob/master/sys/androidmedia/gstamcvideodechybris.c#L390 [02:58] rsalveti, http://paste.ubuntu.com/10631660/ [02:58] looks better [02:58] I hook function "media_codec_create_by_codec_name" and add debug codes. However, there is no expected log when i play a video via "gallery"? [02:59] jivin, you're probably not compiling it correctly...you have to make sure to enable the hybris plugins, not the default gstamc only ones [02:59] cwayne: right, will upload this small fix to the archive, if you try to build it tomorrow it should hopefully fix your issue [02:59] but we still need to understand why the label is a problem [02:59] might be the same issue we had with snappy [02:59] had to call wait-for-root on every label [02:59] rsalveti, ! thanks [03:00] seems kind of a race with udev [03:00] so just repo sync then rebuild once its in? [03:00] cwayne: yup [03:01] rsalveti, cool, will you shoot me a mail when it's in? [03:01] cwayne: sure [03:01] thanks [03:01] so i shouldn't expect it to work even though stuffs mounted now right? [03:03] cwayne: well, you can still try now running that other scripts [03:03] like conn_init and family [03:04] still get -bash: /dev/wcnss_wlan: Bad address when i try to echo 1 to it [03:04] right, call conn_init first, under the android container [03:05] no change [03:08] cwayne: anything new in dmesg? [03:09] not that i can see [03:10] hm, that original aosp based repo has nothing as well [03:10] let me check the CM one [03:10] * cwayne needs to run for tonight [03:10] thanks for the help rsalveti [03:11] will pick it up again tomrrow am [03:11] alright, later! [03:11] rsalveti: here is the wakelock list http://paste.ubuntu.com/10631710/ [03:13] another problem! gst-hybris plugin will call android::MediaCodecs indirectly, and then it will access OMX hardware, which means application will have access to hardware device. So the problem:Does application have permission to do this? [03:14] cwayne: the one used by CM: https://github.com/CyanogenMod/android_device_oppo_msm8974-common/blob/cm-12.0/msm8974.mk#L162 [03:14] so yeah, they don't use conn_init it seems [03:14] but wcnss_service instead [03:14] with the blobs in place [03:15] jivin: we have media-hub doing that hardware related work [03:15] the app will only talk to media-hub [03:16] is media-hub a service in android or ubuntu? [03:18] ubuntu === salem_ is now known as _salem [03:36] Is media-hub a global service in ubuntu?And it serve all media application for media acceleration? And the service has permission to access to hardware device via gst-hybris plugin? [03:37] or it is just a library? [03:40] phablet 2481 0.0 1.3 359812 25648 ? Ssl Mar19 0:40 media-hub-serve [03:42] "phablet"(media-hub-server user) have access to hardware device? [04:02] how to install skype/ viber on ubuntu touch? | http://askubuntu.com/q/598968 [05:10] Ubuntu Touch Wireless PEAP Workaround | http://askubuntu.com/q/598980 === ecloud_wfh is now known as ecloud [07:42] How to install google chrome for ubuntu- touch? | http://askubuntu.com/q/599021 [08:21] good morning [08:30] dpm: https://wiki.ubuntu.com/Touch/ReleaseNotes [08:30] this page is over a year out of date, we should either update it or delete it. [08:31] I'm poking you because you have more edits in the history than anyone else, so I think you own it :) [08:34] ha [08:34] I just happened to modify the SSH access bits [08:34] but should be fine to delete, I guess [08:35] especially as it has advice on it we probably don't want people doing [08:35] and contributes to people doing stuff like this http://www.reddit.com/r/Ubuntu/comments/2zljaw/ubuntu_phone_aquaris_e45_ubuntu_edition/ [08:38] How to use ubuntu-touch as a desktop? | http://askubuntu.com/q/599039 [08:41] popey, i improved http://askubuntu.com/questions/348714/ubuntu-touch-apt-get-install-openssh-server-error a little, that was also heavily out of date [08:42] ooh, nice update [08:42] everyone upvote http://askubuntu.com/a/599041/612 :) [08:44] * popey deletes the section about ssh from the ReleaseNotes page and links to that instead [08:44] might be worth doing that for other sections [08:47] might be worth doing that for all our documentation :P [08:47] most of it is out of date i think [08:49] it would also be good to have a "why is the image writeable, why don't we use dpkg" page ... [08:49] err [08:49] *not writeable [08:50] ogra_: is it because you hate users' freedom? [08:50] what's going on with my krillin? used 23% battery only over night [08:51] that's good, but weird because it's usually not that great ;-) [08:51] nhaines, yeah, there is a longstanding internal conspiracy in canonical to make the deb format die, in fact thats the actual reason Ubuntu was founded :P [08:51] I knew it! I'm telling OMG Ubuntu and also The Register. ;) [08:52] seb128, i have the feeling your device is always a week behind :) [08:52] * ogra_ has awesome battery life since last weekend [08:52] well, I've been travelling this week [08:53] so power usage is not the same when you are commuting [08:53] ah right ... your GSM is more busy and does a lot of sending too [08:53] right [08:53] It's because movement generates static electricity and that affects battery discharge rate. [08:53] lol [08:54] yay ... friday \o/ [08:54] it is totally foggy outside ... no eclipse for me :( [08:54] oh, right [08:54] same here [08:54] we had wonderful weather the whole week ... just not today ... [09:03] Hmm, for the past few days, the Weather Channel scope has been really spotty, only returning directed search results and not local search results. Is there somewhere I could look to see if it's just unhappy with the GPS or something? [09:07] ogra_: dpm ok, i have dramatically trimmed down https://wiki.ubuntu.com/Touch/ReleaseNotes [09:08] Are there release notes for 14.10? [09:08] Devices with 1080 screens [09:08] Set the GRID_UNIT_PX environment variable to an appropriate value for the device (i.e. 30 for a 5” handset screen) in the /usr/bin/ubuntu-session script and in the /home/phablet/.bashrc file. [09:09] rip that out [09:09] (bottom) [09:09] endusers shouldnt play with GRID_UNIT_PX [09:12] ok [09:12] nhaines: not that I am aware of [09:32] could someone help me out please? I was hit by yesterdays unbootable devel proposed image. But i cant seem to roll back to the previous image as suggested in the email exchange about that. [09:33] matv1, roll forward ... the broken image was fixed [09:33] ogra_ image 142 right? tried that as well just now. getting the same error [09:34] .cache/ubuntuimages/ubuntu-touch/devel-proposed/mako/version-142.tar.xz.asc to device: free space on /cache/recovery is 542M [09:34] ogra_ so i am running ubuntu-device-flash --clean-cache touch [09:34] which gives me a nice "Cleaning prevously downloaded content" [09:35] but i still get exactly the same error [09:36] do you know what thats about? [09:37] oh hang on I can still adb shell into the device [09:39] are you in recovery ? [09:40] ogra_ yes [09:40] and you are on which device ? N4 ? [09:40] yes Mako [09:41] are yu also in recovery when running ubuntu-device-flash ? [09:45] ogra_ yes [09:47] ogra_ as I am able to adb shell I should be able to apt-get right? could that sort this out? [09:47] you are on 141 ? i think Mirv made his install work by installing the missing package, so yeah, that might work [09:51] ogra_ I am going to try that. Thnks fr now! [09:54] matv1: yes, if you have writable image you can do apt update + apt upgrade [09:54] and reboot [09:57] Mirv oh I did not make my image writable. [09:57] can i still do that now? [09:58] matv1: I think it should still be possible phablet-config writable-image [09:58] Mirv thnx I will try that! [09:58] or just: sudo mount -o remount,rw / [09:58] saves from the reboot :) [10:00] ogra_ sounds better! still stumped why phablet-flash isnt working but i will give this a go. [10:00] phablet-flash is deprecated [10:00] quite so :) [10:01] soory i meant ubuntu-device-flash bla bla :) I am not doing this stuff all day u know ;) [10:02] wish i was though [10:06] ogra_: oh... :) === chriadam is now known as chriadam|away [10:18] * matv1 is back in business! thnx ogra_ Mirv [10:19] :D [10:21] Good morning all; happy Friday, and happy International Day of Happiness! :-D [10:24] morning, a solar eclipse just ended \o/ [10:26] could you see any of it ? [10:26] yeah [10:26] only clouds here [10:26] http://tasemnice.eu/fotky/IMG_7635.jpg http://tasemnice.eu/fotky/IMG_7642.jpg http://tasemnice.eu/fotky/IMG_7653.jpg [10:26] bah [10:26] kinda difficult to take a photo of, couldn't find any welding glass, so I just used several layers of film attached to the lens [10:27] I'd also need much longer lens) [10:27] looks kinda funny https://drive.google.com/file/d/0B5lxWy6xkKkbdmpZWlpfN1hMYnc/view?usp=sharing [10:27] heh === zhxt is now known as zhxt_afk [10:50] Hello everybody! :D my bq phone just arrived and I already have some problems :S I should connect to the eduroam network, but when I try to do it, it refresh the list of the networks without saying anything else :S [10:51] dadexix86: sadly a known bug [10:51] any hint on how to connect to it? [10:51] popey ack! [10:52] * popey wishes his bq phone would arrive! [10:52] * popey is envious :) [10:55] popey then I am lucky that my university has another network ;) do you know whether it has been solved with updates? [10:55] It hasn't yet, no. [10:56] dadexix86: bug 1104476 [10:56] bug 1104476 in network-manager (openSUSE) "Network manager cannot connect to WPA2/PEAP/MSCHAPv2 network without CA_Certificate" [High,Confirmed] https://launchpad.net/bugs/1104476 [10:58] popey thanks [11:01] np, sorry it doesn't work for you. === teapot is now known as teapot_out [11:42] dadexix86 I remember troubleshooting this a while back . I was able to connect to the eduroam network where i work. https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1241986 [11:42] Ubuntu bug 1241986 in network-manager (Ubuntu) "Cannot connect to WPA/WPA2, EAP-PEAP, MSCHAPV2 network" [Undecided,Confirmed] [11:43] That did require some small hacks but i havn't tried it recently [11:56] popey did you not get a phone at the ubuntu insiders event :) ? [11:59] matv1, no, the phones were exclusively for insiders ... [12:00] matv1: nope. [12:00] ogra_ that shuttleworth guy is a cheapskate :D always has been if u ask me ;) [12:00] haha [12:00] I would rather he paid developers to work on the software than give me free stuff [12:00] lol [12:01] popey well i heard he does that :) === _salem is now known as salem_ [12:24] rsalveti: hey, I sent some test files to debug that audio playback issue. regarding recording, I tried to follow pulseaudio logging instructions that David sent, but pulseaudio won't stop respaning - do you also plan to have a look at that, or should I continue bugging David? :) [12:58] jdstrand: hi! Would you be against adding an apparmor rule to let a click package read its own .desktop file? [12:59] jdstrand: for the webapps, we are doind some changes which require to be able to read the app's name and icon [13:01] mardy: he's out on vacation today [13:01] mardy: maybe you should open a bug saying that you need read access to the .desktop file [13:02] mardy: I think read access would be fine but I don't have the full understanding of the click policy that jd strand does [13:03] tyhicks: thanks === alan_g is now known as alan_g|lunch [13:10] mardy, You can read it, it's in your directory. [13:13] tedg: indeed... except that I wanted to get that info via libaccounts-glib, which uses GAppInfo internally. But yes, maybe reading it directly is simpler [13:13] mardy, Yeah, need to fix libaccounts-glib too :-) [13:13] mardy, I fully expect that the desktop files in ~/.local/share/applications will go away on the device someday. [13:25] tedg: i guess it depends which file you're trying to read? i'm not sure confined apps can read ~/.local/share/applications/; but it should be able to read the one that's in the click package itself (but there's literally no way for it to discover what that file is, programmatically) [13:25] dobey, It could using it's own build system. [13:25] dobey, Or read its own manifest, etc. [13:27] well, the manifest doesn't say which app gets which .desktop does it? there are just multiple "desktop" entries for clicks with multiple apps, iiuc [13:28] yeah, it could know it if it hard-coded it in the code or something [13:28] but i don't think that's what mardy is trying to do [13:29] Depends on the app/package/etc. So, yes, you don't really know. But I'm assuming he has something like appid to work with. [13:29] If you have some details, then you can start to tease out how things are plugged together. [13:33] well, if the --desktop-file-hint value is accessible to the accounts API, that is probably the thing to use [13:34] but that will be the one in ~/ which i'm not sure is accessible by confined apps (not 100% sure, but pretty confident it isn't) [13:35] karni: we got a story just to focus on audio related issues for next week [13:35] karni: so we'll get it fixed soon [13:35] rsalveti: lovely :) thanks! [13:36] dobey, We're not using desktop_file_hint anymore. [13:36] desktop-file-hint even. [13:37] oh === alan_g|lunch is now known as alan_g === dandrader is now known as dandrader|afk === MacSlow is now known as MacSlow|lunch [14:37] dobey, are you on rtm or vivid on your n5 [14:38] cwayne: 14.09-proposed [14:39] dobey, thanks [14:43] Chipaca, is the proper way to setup push notifications (including a server) documented anywhere? [14:44] cwayne: yes, there's documentation, and an example server, and an example app [14:44] cwayne: ralsina can probably point you at it better than i [14:44] * Chipaca has too many conversations open atm [14:45] cwayne, Chipaca: sure I can! [14:45] cwayne: is this a click app with a QML UI? [14:46] ralsina, no sir, a click packaged scope [14:46] ok, I do not have an example for scopes, but surely we can work it out :-) [14:47] cwayne: who is sending the push notifications, your own server, or a 3rd party? [14:47] ralsina, i could do my own server [14:48] ok, for the server, the API is here and it's very simple https://developer.ubuntu.com/en/apps/platform/guides/push-notifications-client-guide/#ubuntu-push-server-api [14:48] all the "data" in a notification is then received by a "helper" you ship with your scope. Here's docs about that: https://developer.ubuntu.com/en/apps/platform/guides/push-notifications-client-guide/#application-helpers [14:49] the helper then gives data to push-client like this https://developer.ubuntu.com/en/apps/platform/guides/push-notifications-client-guide/#helper-output-format [14:49] and voila, notifications :-) [14:51] cwayne: if you need a hand with anything just ping me [14:52] ralsina, thanks! === MacSlow|lunch is now known as MacSlow [15:06] rsalveti, ping === infohawk is now known as hawkeye [15:18] ralsina, so how can a server be logged-in on behalf of the user? (i.e to check an api for notifications) [15:19] cwayne: you mean logged into the 3rd party service? Usually oauth [15:19] cwayne: on the ubuntu push side, the client app will need to send it a token so the server can send notifications back to the device [15:20] which is a part I have not really thought about with scopes to be honest [15:20] cwayne: are you trying to add a third party service for push notifications for untappd or something? [15:20] is there a faq on ubuntu mobile? i'd like to know if it works with heartbeat band, has firefox, can have custom c++ apps [15:21] I *suppose* the 1st time the scope runs it can register with ubuntu-push-client, then get the token and then send it to the server. That token is then used to identify where the push notifications are sent to [15:21] vandenoever: you can write apps in c++ yes. no there aren't any apps which work with heartbeat monitors yet afaik (there's not system service for doing bluetooth serial stuff yet), and there's no version of firefox packaged for it yet [15:22] dobey: ok, thanks, what's the chance of firefox happening? [15:22] dobey, yea [15:22] vandenoever: best option would be to get mozilla to create a package of their mobile version of firefox, for ubuntu [15:23] vandenoever, Think you'd have to ask Mozilla? [15:23] cwayne: i wouldn't mess with it if you couldn't get untappd to support it directly [15:24] cwayne: doing a third party server opens up privacy concerns, and is too much of a pain, i think [15:28] can ubuntu phone act as hotspot via usb? is there vpn support? [15:30] is there an app for tracking gps for e.g. running? [15:31] not yet [15:31] not yet for what? :-) [15:31] does the app store require logging in? [15:32] yes [15:32] yes it requires an ubuntu one account [15:32] why does it require that? can i have my own custom app store? [15:33] no [15:33] dobey, maybe ill just add it to account-polld then [15:34] vandenoever, you can sidleoad any click packages, but not run your own store [15:34] cwayne: untappd will probably be open to adding support for push notifications if we ask them [15:34] ogra_: and that's via usb and cmdline or http link or some other way? [15:34] developer mode [15:34] cmdline ... [15:34] or terminal app [15:35] ogra_: well, the production phone doesn't have terminal by default, so you'd have to sideload that first, if you really don't want to log into u1 for some odd reason [15:35] why would i have to sideload it ? [15:36] oh [15:36] * ogra_ should read both halves of a sentence before replying :P [15:36] heh [15:37] well it is your EOD almost :) [15:37] getting tired already? :P [15:37] i dont really get whats the big deal with not wanting a U1 account ... it is not like that needs actual personal info [15:37] yeah i don't either [15:37] anyway, time to get food here [15:38] i'm a bit strict on how talkative i want my personal hardware to be [15:38] i dont like it talking about me behind my back [15:38] is there a vpn on there? that would help a lot [15:38] not yet, np [15:38] *no [15:38] i could then route traffic via my private server and proxy [15:39] not even with some cmdline adventures? [15:39] it is the very first release of an OS that was mostly designed from scratch ... VPN, enrypted homedirs etc etc will all happen ... [15:39] just not yet ;) [15:40] ok, of course i appreciate the work going in now and what's accomplished so far [15:40] you can make the system writable to install debs ... at the cost of losing any sane upgrade paths ... [15:40] but it can be reflashed i gues [15:40] (thats more a developer feature) [15:40] sure [15:41] is there a navigation app? [15:42] here maps is preinstalled on the bq phones ... [15:42] ok, and can i enable disable network access per app? [15:42] (and will likely also be on the meizu ones) [15:42] i dont think so (yet) [15:43] How can I get involved in developing Ubuntu Touch? Where's the best place to start? [15:43] Anon18574: in #ubuntu-app-devel [15:43] Anon18574, depends want you want to work on ... apps what popey said ... [15:44] working on the plumbing layer of the system fits better here .... [15:45] At the moment I don't mind... I think I'd just like to download the codebase, get to grips with it and try and close a few bug reports for now I guess. I think that'd be a good start. [15:45] that would be awesome [15:45] I need to look for any documentation on the bug filing system, how they get approved, etc, etc. [15:45] vandenoever, i think audio playback and network access are enabled generally for all apps ... for other accesses you get a popup question (i.e. GPS) to allow/deny access if the app tries to do that the first time [15:48] ogra_: and file access? thb network is the one i'd prefer to control most [15:48] no file access outside the app space [15:48] apps that need network are always suspicous to me [15:48] ok that's god [15:48] i.e. a click app can only access two directories in its own name space [15:48] s/god/good [15:49] everything else has to go through the content hub ... which means UI interaction to pick which app you use as input etc [15:49] so nothing can access other apps without you knowing [15:49] or data from them [15:50] yeah, that's really good and apps are all js and qml right? so little attack surface [15:50] some are [15:50] they can be C++ [15:50] some are c++ [15:50] one is java [15:50] in fact they can be anything :) [15:50] only one? :-) [15:50] yeah :) [15:50] i guess accessing exchange server is not supported, right? [15:51] well, I haven't looked at every codebase in the store [15:51] not yet [15:51] but apparmor wont let the app out of the walled garden, no matter what language it is [15:51] (which would be another reason for me to like vpn, because i have davmail to proxy between exchange and imap etc) [15:52] adding VPN would be trivial ... but adding UI for it means it has to iterate through several teams etc ... (design ... implementation etc etc) so it will take a bit [15:53] jgdx: FYI, we implemented the AddAndActivate method in our dbusmock pull request now [15:53] well, the java based bitcoin app used to be the biggest app in the store, that's been overtaken by Realtai - the star gazing app [15:53] pete-woods, hell-o! Nice [15:53] 105M! [15:54] pete-woods, thank you, that's awesome. I was just looking at your pull, it's not there yet, right? [15:54] jgdx: no, still waiting on pit ti to have some spare time [15:55] pete-woods, ack. I haven't produced a pr against your pr yet. Been blocked on other things. :| [15:56] jgdx: no worries. hopefully we've implemented the stuff you needed, anyway :) [16:00] pete-woods, yeah, you're really close. We need 'autoconnect' to work, DeactivateConnection and Update on a Connection. From the top of my head. [16:02] pete-woods, I will also go ahead and add all properties on a Connection, according to nm spec. [16:02] jgdx: sounds good to me :) [16:02] :) === dandrader|afk is now known as dandrader [16:28] Could anyone have a look at this: https://bugs.launchpad.net/ubuntu/+source/android/+bug/1433051 [16:28] Ubuntu bug 1433051 in android (Ubuntu) "TARGET_RECOVERY_SKIP_GPG_VERIFICATION doesn't work when building only recovery image" [Undecided,New] [16:31] vandenoever: re: controlling network access, apps cannot run all the time in the background. there's an app lifecycle and apps in the background are paused and cannot talk to network/etc… [16:37] dobey: so no irc clients, then [16:38] DonkeyHotei: well, something like irccloud or slack would work as an app, if written appropriately, i think [16:38] most apps seen to just be browser windows [16:38] *seem [16:39] there are a lot of webapps in the store, yes [16:39] irccloud and/or slack might work ok as a webapp [16:39] irccloud doesn't have a mobile web version [16:40] but nothing running locally [16:40] i don't use it [16:40] DonkeyHotei: well if you wrote an app using their api and handled reconnection and such appropriately, it should be fine [16:41] you just won't get messages while the app is paused, unless you can convince the service to provide push notification support for ubuntu [16:41] this is something like what iOS does [16:42] yes [16:42] nik90, ping [16:45] charles: pong [17:03] is there a reference implementation of the bottomEdge functionality that doesn't give warnings that Pages cannot be nested? [17:04] LangeOortjes, try #ubuntu-app-devel [17:05] oops, sorry :) === dandrader is now known as dandrader|afk [18:05] * dobey wonders if bluez5 will make it in === alan_g is now known as alan_g|EOW [18:18] dobey, i'm wondering the same thing :) [18:19] kenvandine: you got a nexus 5? [18:20] no [18:20] just hoping my headphones work better [18:21] oh, well iiuc, bluez5 is required for bt on n5 to work at all :) [18:21] then hopefully i can use bt in my truck again [18:25] right now though, autopilot and testtools are really annoying me :( [18:25] Yesterday i successfully installed ubuntu-touch devel-proposed on a nexus 4 from android 4.4.4 using radio of 4.3, just wanted to ask, if it would've been better to use android 5 as basis? [18:26] CereS: nope [18:27] popey: thanks [18:28] i odn [18:29] I´m porting ubuntu phone to my device [18:29] I need help [18:29] anyone help me [18:30] Can I port to the sony xperia arc S? [18:30] Replace Win 8.1 on Pipo W4 tablet with Ubuntu? | http://askubuntu.com/q/599254 [18:31] How can I port ubuntu phone to the xperia arc S? [18:31] seen the porting guide? [18:33] thanks. One more question: How to Add my device specific git repositories? [18:34] pass, not done any porting myself, sorry. [18:35] Ah OK === dandrader|afk is now known as dandrader [18:36] the porting guide should have all you need to do listed in it [19:01] I don´t now how to enable a sony ericsson xperia arc device [19:04] Any one can help me [19:04] ' [19:04] ? [19:07] guadnasdeveloper, what kind of help? [19:08] In the step of add my device I don´t now what thing I have to put on the terminal [19:11] guadnasdeveloper, sorry, i haven't done any porting for devices [19:25] oh well [19:26] at least iit booted partitialy [19:26] ^^ [19:26] BQ ubuntu phone ed. Telegram problem | http://askubuntu.com/q/599271 === thelionroars1337 is now known as thelionroars [19:37] EXT2-fs (loop1): error: couldn't mount because of unsupported optional features (40) [19:37] is that normal or has to be considered as error? [19:37] it still mounts it [19:37] did you build the kernel without support for something? [19:38] it should have extended file atributes enabled [19:38] like journals or attributes or something [19:38] Talustus, That should be normal. Look for EXT4-fs down bellow in the log. [19:38] *below [19:39] [ 32.844390] EXT2-fs (loop1): error: couldn't mount because of unsupported optional features (40) [19:39] [ 32.896514] EXT4-fs (loop1): mounted filesystem with ordered data mode. Opts: (null) [19:39] it still mounts it then [19:49] In ubuntu-rtm, can I add a deb source to install git? It's not available. git is in main, but cannot be installed using default package sources. [19:52] rvr: you probably need to add the ubuntu source to the list to get it [19:54] dobey: What do you mean? [19:56] rvr: in sources.list copy/paste the line for the main archive of ubuntu-rtm and replace "ubuntu-rtm" in it with just "ubuntu" [19:56] or something like that [19:56] and 14.09 with utopic [19:56] dobey: Ah, ok, but then, won't that break something? [19:56] maybe [19:57] but you can pin it or just install git only, and then remove it [19:57] dobey: I guess there are at least different kernels [19:57] rvr: the kernel used by the phone isn't in the archive anyway [19:57] rvr: just don't do an apt-get upgrade or dist-upgrade [19:58] rvr: only update and then install the package you need; and then remove the source if you are worried about possibly breaking things [19:58] dobey: Hmmm... yeah, that may work, thanks [20:10] any idea how to get the prober rules file? the70-* === dandrader is now known as dandrader|bbl [20:12] Ubuntu Core Snappy Touch GUI app | http://askubuntu.com/q/599293 [20:18] mariogrip, hey [20:18] cwayne, Hey [20:19] mariogrip, so we did some digging last night, and we think the fstab issue (not properly mounting /firmware) is really a bug int he ubuntu initrd [20:19] so we found that when properly mounted, /firmware/image/wcnss.mdt does exist [20:20] awesome! i was thinking that that might be the problem [20:20] so unsure if that will 100% fix the issue, but it should certainly help :) [20:21] rsalveti has a fix in the pipeline [20:22] I made some modifications so conn_init so it works with the opo, but i was only missing .mdt files [20:22] it was* [20:22] but, thanks! :D [20:23] mariogrip, ooh, is that pushed? [20:23] ill try and mount manually then run the updated conn_init [20:24] how did you mount it manually? [20:25] mariogrip: I noticed the CM version doesn't use conn_init though [20:26] mkdir -p /android/firmware && sudo mount /dev/mmcblk0p1 /android/firmware iirc [20:26] only https://github.com/CyanogenMod/android_device_oppo_msm8974-common/tree/cm-12.0/wifi [20:26] yeah, it uses qcom cne [20:28] yeah, wcnss_service [20:28] https://github.com/CyanogenMod/android_device_oppo_msm8974-common/blob/cm-12.0/rootdir/etc/init.cne.rc [20:29] mariogrip, can you send me your updated conn_init? [20:29] it should be on github [20:30] last update 4 days ago? [20:33] cwayne, that should work, i haven't tested it becuse i was missing .mdt (i have been sick so i haven't done much in 3-4 days) [20:34] send me any errors that you get, and i will take a look at it :D [20:36] mariogrip, ah, so that should be already in my build right [20:37] yeah, i guess [20:37] but do you get any errors? [20:39] i get no output from running conn_init [20:39] i do seem to have a backtrace in dmesg, not sure if related or now [20:39] not* [20:40] run dmesg -c, then run conn_init, and see if dmesg now shows at least something [20:40] you might me missing a link file in system/etc/firmware [20:41] http://paste.ubuntu.com/10637532/ [20:41] mba.mdt is in /android/firmware/image [20:43] there shuld be a link file in system/etc/firmware that point to that [20:44] there is not [20:45] I can send you some link files that you can use [20:45] system/etc/firmware is r/o though [20:45] and i cant remount it [20:46] mount -o rw,remount / [20:47] does that not work? [20:47] you can reboot into recovery and mount it there [20:47] if that does not work [20:48] yeah, that didnt work, let me boot to recovery [20:48] https://drive.google.com/file/d/0B74IZ6Q2msPDa01LdEQzZXdwaVU/view?usp=sharing [20:49] that's all files in firmware from android [20:49] you probably don't need all of them [20:49] got it, so how do i mount it from recovery? don't i need to loopback mount the system.img or something [20:50] mkdir cache/system && mount -o loop cache/system [20:50] then cd cache/system/var/lib/lxc/android [20:51] then mount -o loop system.img rootfs [20:51] then cd rootfs [20:51] :D [20:53] mount: can't find /cache/system/ in /etc/fstab [20:53] ah a typo, mount -o loop data/system.img cache/system [20:58] brb [20:59] so, I am writing this from xchat on my nexus 7 tablet [20:59] \o/ [21:00] mariogrip, still get the same thing [21:09] mariogrip, that is, i included your files, ran conn_init from the lxc console, and same errors [21:10] need to go make dinner, bbiab [21:13] rickspencer3-2: o/ [21:13] rsalveti, o.=/ [21:13] this is wild [21:14] back, but i have to go, will be back in about 10 hours [21:15] cwayne, you can still reach me on email if there is something you need to know or found out (me@mariogrip.com) [21:17] cwayne, still missing .mdt files, i will look into that when i come back === salem_ is now known as _salem === dandrader|bbl is now known as dandrader [22:26] Error submiting application to myapps.developer.ubuntu.com | http://askubuntu.com/q/599347 [22:51] hi guys, i just got the ubuntu phone aquaris e4. which PPA do i have to add to get nmap? [22:51] i wouldn't do that [22:52] adding a ppa means making the phone read-write [22:53] is it simple to rebuild the phone by reinstalling the operating system? [22:53] yeah, you can re-flash it. [22:53] any usb-debug console? [22:53] you can adb shell in [22:54] sweet [22:54] and it's unlocked, i got root without problems. [22:54] you get yours today? [22:54] you can use sudo [22:54] i just got it today . yes [22:54] nice [22:54] out of interest, what country? :) [22:54] i want to play with it and get most out of arm linux [22:54] sweet. [22:55] * popey looks forward to getting his [22:55] Germany [22:55] i'm looking forward to have kali nethunter running on it [22:56] it's really nice. hardwarre is great, [22:56] the interface is a bit cluncky (in comparason to nexus 5 stock android 5.0.1) [22:57] the interface lags a bit and there is this awkward glitch with the keyboard, when sometimes it does not react. i will check later if this bug is reported [23:47] is there a way to download pdf file via browser? [23:49] muka: you just need to install an app capable of viewing PDFs (such as Document Viewer or Pdfjsviewer) first, then when you click on a PDF in the browser it'll offer to open it with that app [23:53] Elleo, but I would like to save that file. I can do that via wget but I would prefer via browser. It would be easier. [23:55] muka: saving things directly within the browser isn't supported yet, but it's on the roadmap [23:55] muka: if you use document viewer though I believe the latest version saves any files you send to it [23:55] muka: it'll stick them in ~/Documents for you [23:55] Elleo, thanks [23:56] no problem :)