[01:15] sooo - does anyone know when is the next ubunntu phone gonna come out? [01:16] I just broke my android - but I want something more serious than bq aquaris. [01:17] did not hear anything more than "soon" [01:17] k1l, ok - then how about best supported phone so far? nexus 5? [01:18] erm. both nexus 4 and 5 seem to be ok? [01:22] nexus5 has no bluetooth and won't play videos [01:23] oh. [01:23] nexus4 was the original dev device. [01:24] k1l, so that leaves only nexus 4? [01:24] the meizu mx4 is the next phone [01:29] damn. mx4 is gsm, im on verizon :(. === chihchun_afk is now known as chihchun [02:52] Hello People :D Hay alguien que hable español? [07:35] guys I have a serious issue with my BQ, this morning it froze and I powered it off then on and now I am stuck at boot loop at the BQ logo and powered by Ubuntu screen. [07:43] now attempting to enter recovery, still waiting at the ubuntu logo [07:45] a few bq logo flashes and now it boots "normally"?? [07:46] EdwardMorbius, https://lists.launchpad.net/ubuntu-phone/msg11819.html [07:47] ogra I think this has something to do with changed system language [07:47] from what to what did you change it ? [07:47] I switched from english us to english uk and I read on the Internet about someone else getting bootloop after they changed language [07:48] could you comment on the bu that is mentioned in the above mail ? [07:48] *bu [07:48] bah [07:48] *bug [07:48] will do so now, because I had one phone freeze before but I powered it off and on normally [07:48] but now I got bootloop [07:49] oh, you sounded like it booted again above [07:49] the option in the gui erase&reset everything will make a full factory reset right? [07:49] It did boot but looks shaky to me [07:49] yes :/ [07:49] define "looks shaky" [07:49] indicator date time is bugged and I got to gui some time ago too, attempted a new reboot from gui and again got the bootloop [07:50] so I believe factory reset is the way to get everything in the clear again [07:51] yeah, but at lest you have the ui up to be able to pull down photos etc if needed [07:51] the factory reset will sort it [07:53] didnt have any photos worth saving anyway, restoring all my settings will be a little chore though [07:53] yeah, we really need a backup tool for this ... one that stores and restores all data and settings [07:53] phone resetted and I am commenting on the bug now [07:53] yes that would be very helpful [07:53] thanks ! [07:55] just posted, too bad I had to reset the phone, I am guessing all the logs are gone now too. [07:55] yes, but you are the second person that claims it happened after language switch ... that at least gives a pointer [07:56] (though trying to reproduce it on a development device here doesnt get me the issue) [07:56] development device as in nexus 4? [07:56] no, a pre-production bq [07:57] same device .... but with android buttons on the glass :) [07:57] maybe someone with the production device should attempt it, gremlins inside may be different than in the pre production one. [07:57] yeah [07:58] when device froze I was like "oh I will post some logs as bug report later on" but then :O :D [07:58] yeah, if you cant boot that wont help :) [08:00] I am not touching the system language again :D [08:00] heh [08:00] there might be a differnce in how the welcome wizard sets it and how the system settings do [08:01] true, someone should check that, it is possibly an oversight [08:01] riht, i will ... after easter vacation though ... i'm not officially here :) [08:02] lets hope no more people get ideas about changing the system language :D [08:03] yep :/ [08:04] and that backup tool would be veeery nice if someone can make it [08:09] updating apps... [08:10] Is it just me or is the Ubuntu Store sometimes a bit slow? === thomas_ is now known as Guest55350 [10:22] i rootstrock-ng only useable for the supported devices? what would i do if i had a freshly build system.img for my galaxy s4 [10:22] ? [10:54] good morning all [10:54] shall I assume that everyone is on holiday today? [10:55] except us poor saps from the USA, and then I guess I assume I am the only one crazy enough to be up already? [10:56] rickspencer3: real part of France is working as well :) [10:56] hey! [10:56] hey ;) [10:56] bon courage! [10:57] merci, à toi aussi ! [10:57] I was not expecting a response :) [11:01] the heathen land of Ireland also defiant [11:02] greyback: hey! you keep wanting to be different than the UK, I see ;) [11:03] didrocks: you're lucky there's an ocean between us! [11:03] greyback: j/k ;) [11:03] :D [11:05] greyback! [11:05] rickspencer3: at your service *hat tip* :) [11:05] o/ [11:05] just saying "hi" [11:06] I got up early because I was so worried about the bootloop issue I couldn't sleep [11:06] I imagined hundreds of people factory resetting their phones this morning :/ === cwayne-afk is now known as cwayne === dkessel_ is now known as dkessel [11:34] how do i get my compiled images and the rootfs to my s4 in order to get it up running? [11:40] Isotop7, hey, I feart that the channel may be slightly laggy for you today, I know I lot of people are afk b/c of Easter :/ [11:40] dudes, I'm getting "invalid cross-device link" when using the citrain thingy to install a silo [11:40] how go problem fix I? [11:56] Laney, you might want #ubuntu-ci-eng rather [11:57] Laney, i think robru fiddled with the code very recently ... (last week) [11:58] probably check if there is a newer version [11:58] where? [11:58] phablet-team PPA [11:58] I used that Ubuntu archive thing [12:17] ogra_: how did you test that lxc-android-config fix? [12:18] i made the file writable through writable-paths and rebooted [12:18] installing lxc-android-config is rather painful so i only tested the chnage [12:18] so touch /userdata/.wriatble_paths; reboot; edit; rm /.../.; reboot; test ? [12:19] i never touch writable_paths... [12:19] you can just edit it? [12:19] wget the deb ... reboo to recovery ... [12:19] woah [12:19] what is this? [12:19] install lxc-android-config chrooted into the rootfs [12:20] then reboot ... [12:20] O_O [12:20] it's only a file change, right? [12:20] thats how to install this package [12:20] as i said ... painfull [12:20] thanks to our bindmount farm spanning across partitions [12:20] you can mount -o remount,rw …, do the change, reboot [12:20] not to test the package [12:21] but yeah, to test the change [12:21] yeah, not the package, but just the 8 char changes in a string file [12:21] right, that wont tell you if the package did the right thing though ... but is enough o check the change works [12:22] given that you think it does and jibel says it does not ... [12:22] yeah, i told him i'll research it after the holidays [12:23] is there a reason why we dont use the same .override mechanism we use in vivid ? [12:23] seems that all frenchies are trying to make Laney's life hard :) [12:23] conspiracy! [12:23] ogra_: well, it needs some changes to multiple components to work [12:23] whoopsie, whoopsie-preferences… [12:23] not sure you want those changes for rtm [12:23] (handling transitions…) [12:24] didrocks, ah, no [12:24] ogra_: look at the postinsts, you will have fun :p [12:24] but I think those kind of changes are good, no more "ENABLE" in conffiles [12:25] i dont really care about conffiles on the phone :) [12:25] ogra_: well, you have to find a way to transition though? [12:25] like, how would you transition to the new system with the .override [12:25] why ? we just replace [12:25] once moved to vivid? [12:25] how do you preserve the user setting? [12:25] ok, so the user disabled whoopsie [12:25] /etc/default/whoopsie have ENABLED=false [12:25] in vivid-based image, this reflect in the /etc/init/whoopsie.override with "manual" [12:26] how do you handle that in the touch world? [12:26] ah, that ... yeah, a simple upstart job does that ... in our upgrade management [12:26] ok, this happens in recovery, after the unpack? [12:26] we have that upstart subdir wheer you can drop transition jobs [12:26] (and before removing files that are not anymore in the new image?) [12:26] on first boot after upgrade [12:26] hum [12:26] but /etc/default/whoopsie would disappear, wouldn't it? [12:26] or by developer chice on every boot) [12:27] or we keep it and let the transition job deleting it? [12:27] yep [12:27] ogra_: that's the thing based on session-migration or something else? [12:27] something else [12:27] (because my session-migration is only executed by session) [12:27] right [12:27] ok, was afraid it was going to start too late [12:28] search for boot in /etc/init on a phone [12:28] sounds good then, I'm just afraid we forget about it though [12:28] (and that's just one case) [12:28] there is a subdir and a job executing th bits indside that subdir [12:28] both called boot-$something [12:28] * ogra_ has no phone cnsole around [12:29] ogra_: no worry, but I think as long as we have the pre/post* world and this image-based one, we might miss those transitions on one side or the other [12:29] we surely will [12:29] * ogra_ looksforward to snappy [12:29] ;) [12:30] getting rid of all the deb mess :) [12:30] Suppose I want to replace Ubuntu with Android on the Aquaris e4.5 (I need PGP support for email), can I use fastboot flashall with imgs taken from bq's firmware zips for an hard reset? [12:31] lemmster, i fear thats something you need to ask bq [12:31] not sure you can install android at all, since the partitioning scheme is different [12:32] ogra I believe it can be done because I think I saw someone on Twitter that said he reflashed the phone with Android while he waits for bugs to be fixed in UT [12:32] and ... well ... there are no android buttons on the glass ... [12:32] How can I enable ttyUSB/ttyACM usb serial support for host-mode usb (on a Nexus 5)? [12:32] ogra_: There are manuals on the web to replace android with ubuntu. I would assume the reverse should be possible as well (not that I have tried the former). [12:33] EdwardMorbius: You still happen to have a ref to the tweet? [12:33] ogra that can be solved by using softkeys if firmware allows it and it should I believe [12:33] lemmster, well, i know that there is a different partitioning scheme applied to ubuntu phones ... it might or might not work [12:33] lemmster I will check if I have it somewhere [12:33] this is definitely not something we exercise in development :) === tosky__ is now known as tosk === tosk is now known as tosky [12:35] also keep in mind that the flashing of android might perhaps change the partitioning ... i have no idea how the android zips work in this case ... it might prevent you from re-installing ubuntu then [12:35] lemmster https://twitter.com/sharkdrink/status/581786668480503808 [12:36] EdwardMorbius: Thanks [12:37] lemmster no problem [12:41] so I heard on the last Ubuntu live session that the UT actually has another theme inside, the Ambience but currently there is no way you can switch to it, that correct? [12:45] ogra_: do you know of any documentation for this writable-paths file? [12:45] I just checked and after modifying it (even with 'transition') /etc/default/apport is empty on reboot [12:46] apport [12:46] ? [12:47] whoopsie! [12:47] ah [12:47] :) [12:47] wait WTF now it's not [12:47] now I'm questioning the nature of reality itself [12:48] http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/vivid/initramfs-tools-ubuntu-touch/vivid/view/head:/scripts/touch [12:48] line 336ff [12:49] hex line numbers [12:49] heh [12:50] How do I chrt into the lxc container? [12:50] lxc-console -t0 -nandroid [12:50] from the running ubuntu [12:51] Cool [12:51] (you need ctrl-a-q to exit it) [13:06] ogra_: Could not write configuration: Failed to create file '/etc/default/whoopsie.0NIIWX': Read-only file system [13:06] it's trying to do an atomic write [13:06] yeah, that wont wrk [13:06] snazzy [13:08] Laney, that will be a bigger change ... we have a dir for such special cases, but the file needs to be pre-created during build [13:08] what you want is /userdata/system-data/etc/writable/whoopsie and a bind mount like hostname and localtime use [13:09] I remember this hack [13:12] going to go climbing instead :) [13:12] enjoy :) [13:14] rsalveti: ping [13:19] How do I compile a .ko for the hammerhead kernel? [13:20] hey guys, i hope someone can help me. Im working on the port for the one plus one and im struggling to get the /firmware partition to mount correctly. From what i have read there is a script that runs that updates the fstab on boot? I have tried to correct add some code to out the correct mount options for /firmware in the script /usr/lib/lxc-android-config/update-fstab but have had no luck. Any ideas [13:28] spazzymoto, that script just grabs the fstab from android and processes it, if you have a /factory entry in your android fstab it will be automatically created [13:28] err [13:28] /firmware [13:31] hmm [13:31] i do have it in my fstab.bacon [13:31] but if i check /etc/fstab once booted i dont see an entry for /firmware [13:32] and doing an ls /firmware returns nothing either [13:32] if i manually mount it with /dev/mmcblk0p1 /firmware vfat ro,shortname=lower,uid=1000,gid=1026,dmask=227,fmask=337,context=u:object_r:firmware_file:s0 wait i can browse the partition [13:33] http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/vivid/initramfs-tools-ubuntu-touch/vivid/view/head:/scripts/touch#L408 [13:33] and http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/vivid/initramfs-tools-ubuntu-touch/vivid/view/head:/scripts/touch#L82 for the function [13:35] thank you let me have a look at that [13:39] hmm, looking at this code, i wonder what happens if you have multiple fstab files in that location :) [13:39] spazzymoto, do you have more than one file that starts with "fstab" in yoour android rootfs ? [13:41] ogra, only 1 file hey [13:50] i do see the message [ 16.174895] initrd: mounting /dev/disk/by-partlabel/modem as /root/android//firmware [13:50] ogra_: FYI: I successfully flashed Android with this MKT Flash Tool on Windows and the bq firmware reset image. [13:54] ah mount: special device /dev/block/platform/msm_sdcc.1/by-name/modem does not exist :( will try change this to /dev/mmcblk0p1 [13:55] lemmster, right, as i said, you might not be able t go back ... better test that before you start usingthe phone ;) [13:57] spazzymoto, wont that break android then ? [13:57] ogra_: I will try to go back the moment the features I'm missing are there. [13:57] you usually dont have /dev/mmcblkX there [13:57] Is there an Ubuntu Touch that doesn't require Android? [13:57] dbeal, there is the desktop-next image for PCs [13:57] orga :/ ah i didnt know that [13:58] spazzymoto, you rather want to make sure your kernel provides /dev/block/platform/msm_sdcc.1/by-name/modem ... [13:59] ogra, thanks for the help. Ill go research on how to make that happen [13:59] :) [13:59] spazzymoto, are you sureat all that you need /firmware on the ubuntu side ? [14:00] usually the modem is completely handled inside the container ... ubuntu talks to it via rild [14:01] i might be on the wrong tack. Im seeing these messages in my dmesg [14:01] [ 20.829270] msm_ipc_load_default_node: Failed to load modem [ 20.858718] pil-q6v5-mss fc880000.qcom,mss: mba: Failed to locate mba.mdt [14:01] well, that is something your init.rc in the container should handle i guess [14:02] the kernel prints messages for both systems ... it is sometimes hard to allocate them to the right one ... but i guess this one comes from inside the container [14:04] ok cool :) let me poke around a bit more. Thanks for putting me on the right path [14:36] Is there a phone with Ubuntu that doesn't require Android? [14:36] [02:27] dbeal, there is the desktop-next image for PCs [14:36] dbeal, no [14:36] if you want to make any use of the hardware yu wont get around using the binary drivers [14:37] In my mind, a phone is a small computer. [14:38] sure [14:38] So is the problem that, for some specific hardware (e.g., Nexus 5 camera), the only drivers available are within Android? [14:38] well, if it would just be the camera :) [14:39] modem, all sensors, gps, camera, graphics chip, audio and video codecs [14:39] Are those all binary only drivers? [14:39] yes [14:40] Is there one for host-mode usb serial support? [14:40] that really depends on the device [14:40] Say for example I wanted to connect a Bus Pirate or Aardvark? [14:41] Arduino also has a usb serial interface. [14:42] as i said, that competely depends on the device you run on [14:43] What about this device? [14:43] [ 1245.529600] usb 1-1: Product: FT232R USB UART [ 1245.529625] usb 1-1: Manufacturer: FTDI [14:43] no idea [14:43] what about it [14:45] I would expect a /dev/ttyUSB* or /dev/ttyACM* entry to appear when connecting a usb serial device. [14:45] With a module like this. [14:45] if your kernel supports it, sure [14:45] usbserial 45100 1 ftdi_sio [14:45] Would I need to recompile the kernel? [14:45] and if the USB interface isnt blocked by something the kernel ships [14:46] i have no idea, really [14:46] totally depends on your device and how the kernel is set up by default, what it already does with the usb port etc etc [14:47] I'm pretty new to the Ubuntu Touch architecture, so I'm not entirely sure how the system works with the lxc and how kernel module compilation works. [14:47] this is a bit like you coming to a car shop, showing a random bolt from your car to a mechanic and asking why the radion doesnt work :) [14:47] *radio [14:48] tha also depends on the device ... for the nexus devces we ue normal linux kernel packages in the archive ... the binaries get dynamically pulled in during the build of the android container in the android package ... for all othr devices we build the kernel during the container build instead of using a binary deb [14:53] Hello everybody, I'm trying to figure out if I have a problem with BQ's Aquaris E4.5 Ubuntu Edition. Is this correct place to try it? [14:53] you aretrying to figure out ? [14:53] What is the name of the linux kernel and android container package? [14:54] dbeal, the android package is called android ... the kernel packages are linux-image-$your-devices-codename (i.e. "mako" for N4 or "flo" for N7) [14:56] I don't seem to have an "android" package. [14:56] it is in the ubuntu archive [14:57] I don't have a linux-image package installed either. [14:57] installed ? [14:57] no [14:57] these bits live all in the device tarball [14:57] Denco, most likely yes [14:58] Where is the device tarball? [14:58] My BQ's Aquaris lost 13% of battery in two hours after it was fully charged. I made just 2 phone calls in that time, it was just lying on the table the rest of the time. Is this normal? [14:58] depends on your device once again [14:59] I have an N5. === chihchun is now known as chihchun_afk [14:59] dbeal, we don have device taballs for N5 ... [14:59] dbeal, for that i think you need to talk to Tassadar [14:59] So when I ran a system update this morning, it actually rebuilt the kernel? [14:59] no [15:00] it is rebuilt beofore the device tarball hits the server [15:00] It just downloaded a new container binary? [15:00] Oh, ok [15:00] Is there a package I can install to build my own kernel containers? [15:01] not sure how the N5 is maintained [15:02] might be there is a hammerhead linuc-image package somewhere, no idea [15:02] Does the BQ also use Android? [15:02] yep, there is [15:02] " if you want to make any use of the hardware you wont get around using the binary drivers" [15:02] ^^that applies to all phones ... including the bq indeed [15:03] linux-hammerhead - Complete Linux kernel for the Nexus 5 (hammerhead). [15:04] If I have an N5 device, why don't I need to have linux-image-hammerhead installed? [15:04] because you boot from a boot.img file [15:04] https://code-review.phablet.ubuntu.com/gitweb?p=ubuntu/kernel/trusty.git;a=summary this is the kernel source [15:05] installing the pckage would just waste diskspace ... it wouldnt be used [15:05] *package [15:05] Is there any special reason why the N5 is not officially supported? [15:05] What would I do with the hammerhead kernel package? [15:06] no, no special reason except that canonical doesnt have N5s [15:10] I would be fine with the idea of binary drivers, if they were designed as microkernel-style device drivers. [15:11] well, they are designed as the manufacturer decided ... not much anyone but them can do about that [15:11] its like nvidia on PCs [15:12] e.g., each binary driver operates as an independent process that communicates with a parent kernel solely via message passing. Any process that wanted to talk to the device would then talk directly to the device driver process. [15:12] (except that the binary drivers provided for android are not linked against linux libc but android bionic) [15:13] dbeal, what do you do with the binary daemons that are needed to initialize and configure the driver ? [15:13] It almost seems like the android-as-lxc architecture is a step towards the slippery microkernel slope. [15:13] (note, they are also not linked against libc and wont run on linux out of the box) [15:14] it is the most elegant solution we found to the problem ... [15:15] jolla and firefoxOS have the same issue btw ... [15:15] i don t found anymore the fb messanger...was installed...disinstalled...gone from store :/ [15:16] Good question. [15:17] hey [15:17] hello [15:21] I am developing an Ubuntu Phone application "QML app with C++ plugin (cmake)" but I have so many qml files so I want to separate them by functionality [15:21] ApplicationName [15:21] CMakeListes.txt [15:21] .. [15:21] app [15:21] CmakeListes.txt [15:21] ApplicationName.desktop.in [15:21] tests [15:21] mainComponents [15:21] sub directories of mainComponents [15:21] some files [15:21] some other files [15:21] ApplicationName.qml [15:21] po [15:21] CMakeListes.txt [15:21] ApplicationName.apparmor [15:21] manifest.json.in [15:21] but the "mainComponents" folder dose not appear in the project tree and after some searches I found that I must add CMakeListes.txt in every new folder and this: [15:21] Okay, so you have binary drivers, binary daemons, but you can still build the android lxc kernel? [15:21] add_subdirectory(folder_name) [15:21] instruction in the parent folder CMakeListes.txt file but I don't if there is more to add and I don't know how to create the CMakeListes.txt [15:21] LeousSama, please use a pastebin like paste.ubuntu.com [15:21] thanks [15:22] and you might have better luck in #ubuntu-app-devel with that question [15:22] ok sorry [15:22] dbeal, the kernel luckily desnt care about the libc that is used in the rootfs [15:23] we use a patched android source (see the porting guide from the topic, it explans the kernel changes) [15:23] so the kernel serves both OSes [15:24] But are the binary device drivers all compiled into that kernel? [15:24] no [15:24] No, that wouldn't make sense, would it? [15:24] most of them reside as libs in the container [15:25] or as firmware ... [15:25] or even as daemons [15:25] Ok, so the kernel just has to be binary compatible with the binary kernel modules? [15:25] (which simply include the driver bits) [15:25] right [15:25] and the environment has to provide the files in the right places [15:26] since the binaries usually have hardcoded paths etc [15:26] ifthey read configs or lod other binary stuff [15:26] *load [15:26] Hence the chroot/lxc [15:27] right [15:27] https://developer.ubuntu.com/static/devportal_uploaded/136981fa-6287-49d3-9874-06f40b2e4eb7-cms_page_media/380/ubuntu_touch_architecture.png [15:27] that illustrates it pretty well (a bit outdated though) [15:28] Are the modules in /system/lib/modules/ binary-only, or are they the ones you can build from source? [15:28] (and there is a set of arrows missing, the orange par can indeed always talk directly to the kernel too) [15:28] How do I load or inspect the state of one of the binary-only drivers? [15:28] however you would do it on android :) [15:29] differs per device and driver [15:29] you can enter the running contaner with "lxc-console -t0 -nandroid" [15:29] and poke around in there if you like [15:33] It looks like /system/lib/modules looks like it has linux native modules. I might be able to build something like usbserial or cdc_acm support in. [15:33] sure, you should be able to drop them there and update the module deps === ahayzen is now known as ahayzen_ === ahayzen_ is now known as ahayzen__ === ahayzen__ is now known as ahayzen [15:40] awe_: ping [15:43] peat-psuwit, pong [15:44] awe_: Now I have a working fix for ofono now, what should I do to create a new plugin for it? [15:45] so we maintain ofono for ubuntu in a github repo [15:45] and would be glad to review new pull-requests [15:46] one thing that's different than standard ofono plugins [15:46] # mount -oremount,rw /lib/modules mount: cannot remount /dev/loop1 read-write, is write-protected [15:46] is we use our own plugin to dynamically load a rilmodem type device plugin vs. using the std udevng plugin normally used by ofono [15:47] peat-psuwit, here's the git repo: https://github.com/rilmodem/ofono [15:47] Is it possible to load a .ko from somewhere other than the write-protected /lib/modules? [15:47] sure, you can use insmod ... [15:47] peat-psuwit, and here's the plugin we use to dynamically load device-specific ofono plugins: https://github.com/rilmodem/ofono/blob/master/plugins/rildev.c [15:49] peat-psuwit, maybe the first step would be to create grab a copy of our repo, apply your changes [15:49] have you just changed the existing code directly? [15:50] ( ie. modified the ril.c device plugin, and rilmodem code itself ) [15:51] awe_: I actually edit drivers/rilmodem/sim.c in function sim_status_cb [15:51] to call my function that fire another request [15:52] are you familiar with git/github? [15:52] I also edit gril stuff to support new type of request. [15:52] awe_: I'm pretty good about git. [15:53] ok. then probably the best approach would be to clone our git repo, apply your changes to your own branch, then ask abeato or myself to review [15:53] my guess is that you'll probably need to re-work slightly so that it would be acceptable to us [15:53] my guess is you'd probably need a device-specific plugin [15:53] similar to mtk.c or ril.c [15:54] and then some things can be done inline via device quirks [15:54] some things ( like overriding functions ) [15:54] might require a new modem driver [15:54] but again, I would get your code into a git branch on github that we could review, and we can progress from there... [15:55] awe_: Let me upload my version of code to github first. [15:55] Shouldn't be too long. :) [15:57] ok [15:57] note, we have a lot on our plate at the moment, but will try to squeeze this in as soon as possible [15:57] thanks! [16:07] How long will the battery last if I am building a kernel? [16:09] How do I resize my 2G root partition? [16:13] Should I just append zeros to system.img and run resize2fs? === Tassadar_ is now known as Tassadar [16:15] Hey is there anyway i can emulate what happens when an OOM hits a specific app (I need to be able todo it manually because the music-app has a lifecycle exception at the moment)? [16:18] # dd if=/dev/zero bs=4096 count=512000 >> /userdata/system.img [16:18] hm no [16:18] dd conv=notrunc oflag=append if=/dev/zero of=/path/to/your/file bs=1M count=1024 [16:18] would append 1GB to it [16:19] ahayzen, i guess tvoss or ricmm could help you ... but i dooubt you will find them online beofre monday/tuuesday [16:19] dbeal, why do you want to do that ? [16:19] ogra_, ah ok i'll ask then thanks :) [16:19] easter holiday in many european countries :) [16:19] # resize2fs system.img resize2fs 1.42.12 (29-Aug-2014) Resizing the filesystem on system.img to 1024000 (4k) blocks. The filesystem on system.img is now 1024000 (4k) blocks long. [16:20] Would a sparse truncate have been better? [16:20] why do you do that ? [16:20] I would like to increase the size of the root partition. [16:20] yes, why ? [16:20] I ran out of space while trying to install the kernel source and build dependencies. [16:21] (i see *what* you do, i was wondering why [16:21] ugh [16:21] * ogra_ quietly points to https://wiki.ubuntu.com/KernelTeam/ARMKernelCrossCompile [16:21] yeah [16:21] why compiling a kernel on the device ^^ [16:21] if you compile *on* the device, just create a chroot [16:21] that would need ages [16:21] Thank you, I am not sure my battery can last through the full compile. [16:21] no need to mess up your system and lose updates etc [16:22] Ok, that seems smarter. [16:23] on your device in /home/phablet: wget http://cdimage.ubuntu.com/ubuntu-core/daily-preinstalled/current/vivid-preinstalled-core-armhf.tar.gz ... [16:23] untar .. chroot into the untarred system ... install your build stuff ... [16:23] but for kernels you really want to cross build on a PC ... easier and faster [16:24] i guess a single compile on device will nearly eat your bat.^^ [16:24] yeah, you definitely want to keep it on a charger when doing that [16:25] on a real charger ... not a usb port on your laptop :) [16:31] Cool [16:33] Why do system updates require read-only root partition? [16:33] because the update is a diff between two versions of the rootfs [16:33] A binary diff? [16:33] that only works if the rootfs you have isidentical with the one the server used to create that diff [16:34] yes [16:34] Why doesn't it use something like dist-upgrade? [16:34] would you like your update to take 1h while it configures single packages ? [16:34] and then it fails after 58min and 59s [16:34] :D [16:35] nah, it wouldnt fail but it would detect a conffile change and try to ask you a question about it :) [16:35] ^^ [16:35] (with a pupunder that stays behind the UI indeed) [16:36] *popunder [16:36] applying the diff for the whole rootfs usually takes a few seconds [16:36] while a package by package upgrade takes waaaay longer [16:39] Ah [16:41] If I ran dist-upgrade, would it end up with the same upgrade? [16:42] no [16:42] and it would break sooner or later [16:42] apt is fine for installing a few packages when working on the core system ... but not for much more [16:43] (and with re-flashing the device after your work is done in mind) [16:44] Is there some kind of strategic Ubuntu move towards binary-only distribution releases? [16:45] ?? [16:45] what do you mean by binary-only ? [16:46] all ubuntu releases have always been binary [16:47] Well, a binary-only release requires the system image to be kept immutable in order for it to participate in an upgrade cycle. [16:48] ubuntu will surely switch in the long term to image based upgrades, yes [16:48] Nexus 4 with ubuntu is not being detected on QT creator. it does a device search, detects the phone for a second and then goes back to searching.. [16:48] effectively ubuntu will switch to snappy everywhere at some point [16:49] I am not able to figure this out. Are there logs on the phone somewhere? [16:49] mr_november, is the screen unlocked ? [16:49] Yes [16:49] and developer mode is enabled ? [16:49] In order for this upgrade cycle to be tenable, the entire system image would have to remain immutable indefinitely. [16:49] Yep [16:49] dbeal, yes, anything wrong with that ? [16:50] The phone shows battery charging and not charging with same fluctuation [16:50] As soon as I quit QT creator, the phone charges constantly [16:50] mr_november, that sounds like a hardware prob ... [16:50] I have tested the cable [16:50] I am able to push several files using adb [16:50] very weird [16:50] I know! [16:51] How do I customize the Ubuntu system if its system image must remain immutable? [16:51] have you checked if you are up to date with all sdk related packages ? [16:51] I just installed them yesterday from the ppa. also did a dist-upgrade [16:52] is the bttery level very low or some such ? [16:52] It is at 80% right now [16:52] did you tinker in any way with the phone install ? [16:53] (making it writable, changing system bits) [16:53] I was not aware of the new Snappy strategy.. [16:54] dbeal, snappy brings 100% upgrade safety ... cant really claim that for apt upgrades ... there are always corner cases where upgrades fail [16:54] chrisccoulson, man, is jenkins down or something? I was really hoping that the mirserver oxide branch would generate debs overnight. I've been cross compiling this morning to test. I already miss working with Qml [16:54] ogra_, not that I can recall. I have just used adb for pushing files etc. [16:55] snappy: command not found [16:56] mr_november, well, it seems like somthing the sdk does causes this ... while i work on the developer mode, this part seems fine to me (adb works) ... i'm not sure ifyou can stillcatch anyone from the sdk team to help in #ubuntu-app-devel (easter holidays all over europe this weekend) [16:56] dbeal, that only works on a snappy system :) [16:56] ogra_, I see, thanks though [16:57] I just noticed that I cannot access the storage through the file explorer [16:57] This is the first time I'm hearing about snappy and Ubuntu Core. Does snappy work with Ubuntu Touch? [16:57] That's new. [16:57] dbeal, not yet ... snappy is the next evolution step of the technology we developed for the phone ... [16:57] Is Ubuntu Touch just being snappy-esque with its binary image updates? [16:58] at some point the phone will move to snappy as a base [16:58] I see. [16:58] snappy was developed out of the phon system ... now went its own way and once matured it will return to the phone :) [17:01] Like a snappy boomerang? [17:01] Is snappy ready for desktop use? [17:01] more like a child that has grown up [17:02] not yet, no [17:02] the framework interface isnt 100% done yet ... on snappy nothing talks directly to the system and graphical apps require a graphics server framework fist [17:03] snappy focus is on cloud and IoT currently [17:03] IoT as in BeagleBone Black? [17:03] i know mterry did some hackery of dumping a whole desktop into one snap package though [17:03] Or Intel Edison? [17:03] right [17:03] or RPi ... [17:04] or ninjasphere ... [17:10] How is a snappy system customized? [17:10] not at all ... [17:10] what would you customize ? [17:11] Anything and everything, I suppose. [17:11] you would have to create your own image if you wanted that [17:11] at last for the 100MB or so that the core system is [17:11] chrisccoulson, is there a release of oxide happening anyway? Or is this mirserver patch the only thing waiting? [17:12] kgunn, btw bug 1439829 is a vivid regression that is pretty serious in terms of being a crash during wizard. Wanted to put it on your radar [17:12] bug 1439829 in oxide-qt (Ubuntu) "Wizard crashes when trying to view HERE terms and conditions" [Undecided,In progress] https://launchpad.net/bugs/1439829 [17:16] ogra_: holidays are overrated :) mr_november -> I can try to help if it still does not work [17:17] Thanks bzoltan [17:17] bzoltan, nah, holidays are the days where you can program your private projects ;) [17:17] I am still not getting a stable detect on QT creator [17:18] bzoltan, sounds a bit like it falls over when establishing ssh on top of the adb connection (iirc thats what you do) [17:19] ogra_: I am done with that for today :) I was hacking on a blckbox wifi sd card what came with chinese labels... not a victory march [17:20] mr_november: ogra_ : the device detection does not use much ssh. [17:20] well, i'm still crying over the G+ apis here ... trying to finish my semi native G+ app sharing bits for photos and videos [17:20] mr_november: so what is the symptom? [17:20] Sure, I'll try to explain in detail. [17:21] When I connect the nexus 4 to my laptop using USB, usually everything is fine. I can browse files in the explorer, adb devices lists it, I can even push a large file [17:21] And the device is charging of course . As soon as I run QT Creator though [17:22] mterry, the next release is from the current stable branch (https://code.launchpad.net/~oxide-developers/oxide/1.5), which is in here already https://launchpad.net/~ubuntu-mozilla-security/+archive/ubuntu/ppa/ [17:22] chrisccoulson, I was just wondering if it wouldn't be faster to test this fix in a silo [17:23] mterry, what sort of hardware are you building on? [17:23] It starts fluctuating. The charging symbol goes on and off, it disappears and reappears in the file explorer, and the QT creator device log shows 'detecting device' and then detected and then back to detecting [17:23] chrisccoulson, cross compiling on my laptop :( [17:23] mterry, this is for testing on the device? [17:24] mr_november: most of the device connectivity is done by simple scripts under /usr/share/qtcreator/ubuntu/scripts/ [17:24] chrisccoulson, yah [17:24] mterry, and vivid? [17:24] chrisccoulson, yeah [17:24] bzoltan, okay [17:24] mr_november: try the device_search device_version device_wait_for_shell to see if they return smart values or hang or print some crap [17:25] mterry, I've already got a fully built tree here for vivid/armhf. I could probably create a build for you in about 5 minutes :) [17:25] mr_november: but form what you say it feels that your adbd is unstable or doing something odd [17:26] chrisccoulson, you lovely lovely person [17:26] chrisccoulson, I just wanted to test that mirserver branch [17:26] bzoltan, I see. I am going to try the scripts [17:26] chrisccoulson, I don't *think* it needs modification per greyback's comments -- the current code checks the return of the eglcontext call [17:27] an app uninstalled leave trace on the device? [17:27] mterry, it won't be a package though (I have a script that creates a tarball, which provides a wrapper script for testing the new version) [17:27] but you can probably copy the files wherever [17:27] mr_november: and please check your syslog too. I am afraid that the QtC is just a victim here ... if the system thinks that the usb device was disconnected then it does what you say [17:28] mr_november: and the charging symbol does indicate that it receives current for some time and then it looses it [17:28] mterry, aha, you need to add an #include to all of the modified files :) [17:28] it fails to build here [17:28] chrisccoulson, ah! Good ok [17:29] bzoltan, but the current is stable when qt creator is off [17:30] also device_search returned a positive result [17:30] mr_november: what about the device_version [17:30] mterry, how were you doing a cross-build btw? Are you using the packaging? (Note, I haven't tried using that) [17:30] is my device version 25? [17:31] bzoltan, also device wait for shell is not in this folder [17:31] chrisccoulson, updated. Yeah, I was doing a pbuilder build [17:31] mterry, aha, I'm not sure how much success you would have with that, given that Chromium needs both a target and host compiler [17:32] mr_november: /usr/share/qtcreator/ubuntu/scripts/device_wait_for_shell [17:32] mterry, Oxide supports cross-compiling without the packaging - http://bazaar.launchpad.net/~oxide-developers/oxide/oxide.trunk/view/head:/build/toolchain_configs/ubuntu-arm-linux-gnueabihf.cmake :) [17:32] I did start writing some instructions for it a while ago, but never got around to finishing them (https://wiki.ubuntu.com/Oxide/ArmCrossCompiling) [17:32] chrisccoulson, I've only really dealt with oxide yesterday and today but I already hate it [17:32] heh [17:33] bzoltan, device_version result is device_version: 25: ./functions.inc: function: not found [17:33] * ogra_ wonders how to tell a webview about the timezone he is in ... [17:33] mterry, you need a fairly quick machine (I have 16GB of RAM and a Samsung 840 Pro SSD) [17:34] mr_november: you need to be in that directory [17:34] timestamps in articles in a page i show in the webview always jump around between UTC and my timezone depending on how often i reload [17:35] mterry, ok, that's linking now :) [17:35] bzoltan, I am in /usr/share/qtcreator/ubuntu/scripts [17:35] chrisccoulson, sweet [17:35] mr_november: well, if you do not have the functions.inc there then your SDK is prety badly busted [17:36] functions.inc is there [17:36] device_search returns 0098f70d1d524baa device usb:2-1.1 product:occam model:Nexus_4 device:mako [17:37] mr_november: so what `./device_version 0098f70d1d524baa` tells [17:38] mr_november: and ./device_wait_for_shell 0098f70d1d524baa [17:38] hold on [17:39] The first one returned nothing [17:39] :| [17:40] And second returns no such file or directory [17:40] I think I should reinstall qt creator [17:41] mr_november: I think you should remove all sdk and qtc related packages, check that you do not have any legacy PPAs or old packages and install it from the scratch [17:42] bzoltan, just to check, I am on precise. Does that matter? [17:42] mr_november: Err :) it does [17:42] Oh great [17:42] mr_november: you need to get permission from the archeology authorities to use such old SDK [17:43] Lol [17:44] mr_november: Okey :) at least we have figured out what the problem is. Enjoy your upgrade :) Trusty is cool. [17:45] bzoltan, Trusty Tahr it is then, thanks [17:45] * ogra_ sighs about timezones ... [17:45] bzoltan, until then, can you help me with something [17:46] is there a way I can export all my SMSs? [17:47] so if i click a link, the time is right on the target page when it loads first ... once i reload the page, the timestamp jumps to UTC [17:47] * ogra_ doesnt get that ... [17:48] chrisccoulson, is there any secret property in oxide i could use to tell a webview about the timezone a user is in ? [17:50] ogra, after some playing around it seems the partitions in my fstab.bacon are not mounting in the lxc container. Any ideas on how i can start to debug why? [17:50] spazzymoto, check syslog and /var/log/dmesg [18:04] awe_: https://github.com/rilmodem/ofono/pull/174 [18:05] awe_: Sorry for a delay. I was implementing multi-sim, but doesn't work. [18:06] That code doesn't for 2nd slot, but can be used for 1st one. [18:06] peat-psuwit, so is this a working branch, or do you still have work to do? [18:06] ok [18:06] as mentioned, I won't be able to get to this till next week sometime, but I'll share with abeato [18:07] fyi, you might want to change your description to mention the specific device. The base rilmodem code works on the nexus4, which is a Qualcomm device [18:08] awe_: Oh, I forgot that. I'll edit that now. [18:10] awe_: Done. [18:10] thanks [18:11] awe_: How should I distribute this in my port? [18:12] well, we need to get the patch right first [18:12] we have try to maintain a single ubuntu read-only filesystem for touch images [18:12] so the idea would be to get your changes into the archive at some point [18:12] but as I mentioned, we need to first review, and I imagine they'll be some changes [18:14] if you really want/need to build a derivative image with custom packages, it's possible, but a lot of work, and you'd need to discuss someone else like maybe ogra_ [18:14] awe_: It'll probably miss vivid's freeze deadline, right? [18:15] well, as ofono is really only used by touch, it's possible you might be able to get it in still, but that's not something I can answer right now [18:15] for hacks you can ship stuff inside the device tarball [18:15] packages? [18:15] no, files [18:15] yea, this needs a package [18:15] and they get bind mounted into the rootfs [18:15] so you need the "mountpoint files" in the rootfs too for that [18:16] peat-psuwit, again we'll need to review, and that'll have to wait till next week sometime... we have a lot of other work on our plate atm [18:16] so let's talk more next week [18:16] there's not much I can tell you today [18:16] awe_: That's fine. Thank you! [18:16] np [18:17] ogra_: You mean extract files in android's tree, and get them included in system image? [18:18] peat-psuwit, you probably don't want to go there... [18:18] peat-psuwit, in your android tree there is an ubuntu/ subdir ... [18:18] files in there will get bind mounted over existing files in the ubuntu rootfs if the path patches something existing [18:18] s/pathes/matches/ [18:20] ogra_: Oh, I miss that. You mean in device tarball, the same one that ships system.img, right? [18:27] yes [18:27] renato___, in case you're around, check out https://code.launchpad.net/~ken-vandine/content-hub/serialized_content_transfers [18:27] but your target file needs to exist, as i said [18:28] since it will serve as mountpint for a bind mount [18:28] renato___, it's mostly what we discussed, ContentItem.stream is a QByteArray and adds a streamType property for the mime-type [18:29] renato___, and i added convenience getter/setter for text which sets the stream to a string and the streamType to plain/text [18:29] ogra_: Okay, I'll try that. [18:29] renato___, i still need to do the same with url, store it in the same stream instead of a separate variable, i'll get to that after i get back from vacation :) [19:13] shit fb app crashed all phone [20:18] hmm, now i thought there is a new version of popey's stallboard with tedg's voice ... https://appstore.bhdouglass.com/app/tedtalks.mk1973 ... [20:19] ... but in the end it isnt :) [20:19] :-( === ahoneybun__ is now known as ahoneybun === szymon is now known as szymon_ === szymon_ is now known as szymon_W [21:00] Wohooo! New keyboard for 20€. And it's a good one! I'm like a child with a new toy [21:00] By the way, GPS has stopped working at all for me [21:00] nothing works, even after factory reset [21:00] Is there trouble with the servers or am I the only one?