[00:48] hello folks. I'm about to install ubuntu touch for the first time an a N4. Anything I should know before following the instructions here: https://developer.ubuntu.com/en/start/ubuntu-for-devices/installing-ubuntu-for-devices/ [00:52] Eadrom: Maybe that it may wipe some data [00:53] mariogrip, it's a new phone I bought specifically for ubuntu touch so I have no interest in anything on it (that I know of) [00:53] then it's just to flash [00:53] indeed [00:54] was just curious if there was anything that would be useful to do or pull off the andorid OS prior to following the docs to flash ubuntu on it [00:56] Eadrom: no, I don't think you need anything on the android OS (else than personal data, which you do not have since it brand new) [00:57] Eadrom: The flash command set's up everything for you :) [00:58] mariogrip, awesome! Thank you :) [00:58] np :) [01:18] looking for help to flash ubuntu-touch 14.09 .img files to nexus 7 2012 (grouper) just for testing of Ubuntu Touch. Anyone know how I can do that since it's not available in the channels anymore? [01:23] Hello ? [01:26] Anyone help me ? [01:30] hi [01:31] Sneaky: Better to just state what your problem is, and see if anyone can assist [01:31] i have a Soney E3 phone, But i cant find If i can run ubuntu touch [01:33] !ports [01:33] For instructions on how to set up port-forwarding (for games, torrents, webservers) see http://portforward.com - also see !firewall [01:33] * genii smacks the bot [01:36] cmerkert: you can try multirom for this case, http://forum.xda-developers.com/showthread.php?t=2011403 [02:01] howdy again. I'm having a spot of trouble w/ getting ubuntu touch loaded on my nexus 4. everything going smoothly until the ubuntu-device-flash command. Images are downloaded, phone reboots into ubuntu recovery and then terminal on my laptop outputs an error message "Failed to enter Recovery" [02:02] Eadrom: it's ok, just wait when your phone finish [02:02] on the phone, it looks like the ubuntu recovery image is running. I've got a grublike looking menu with options like reboot, wipe data/factory reset, etc [02:02] Stanley00, just let it sit at the recovery screen on the phone? [02:03] the ubuntu-device-flash command has exited and is not running anymore in my terminal [02:04] Eadrom: I'm not sure about N4, on my E5, when images are downloaded to phone, phone reboot to recovery mode, install the images, while ubuntu-device-flash exit with the error as yours [02:05] Eadrom: but, in recovery mode, I saw a rolling circle, not the recovery menu <= that's the different part [02:08] as I understand it, an ubuntu recovery image is installed, then the phone needs to boot to that recovery image, and then that recovery image installs the actual ubuntu touch os on the phone [02:08] I think I'm getting stuck somewhere between the copy recovery image over and boot that recovery image [02:08] I'm in some part of the ubuntu touch system though [02:08] text in bottom left corner is "Ubuntu Touch (CWM-based) Recovery v6.0.4.6" [02:09] reboot system now, wipe data/factory reset, wipe cache partition, backup and restore, advanced [02:09] are the options I have [02:10] advanced submenu shows option to reboot recovery, reboot bootloader, and power off [02:11] Eadrom: I think you may need to run ubuntu-device-flash again then [02:11] Stanley00, oh I've run it multiple times in an effort to see if there was anything to try. I can very reliably boot to fastboot bootloader [02:12] and I can kickoff the ubuntu-device-flash command w/o issues [02:12] and the device will reboot to the recovery image, it's just that I don't get the option to boot into the ubuntu touch recovery image [02:12] which I think is what is supposed to happen next [02:16] this is the exact problem I'm having [02:16] http://askubuntu.com/questions/582501/how-to-get-ubuntu-touch-recovery-to-boot-into-ubuntu-touch-on-nexus-4 [02:24] Stanley00: thanks, that seems to be getting me somewhere! Thanks for the advice! [02:28] Eadrom: look like I cannot find any solution to this one either. Did you unlock your phone before flash (via sudo fastboot oem unlock) ? [02:30] Stanley00, I did indeed. followed every step and it all was going so well lol [02:30] https://developer.ubuntu.com/en/start/ubuntu-for-devices/installing-ubuntu-for-devices/ [02:31] that's the guide I've been using [02:31] made it to step 3 of Install Ubuntu [02:31] after that, ran into this issue [02:40] Eadrom: I'm not sure if this is a good advice, but you can try flash with fastboot, you can get images here http://cdimage.ubuntu.com/ubuntu-touch/ <= do it at your own risk and good luck to you [02:42] I'm re-flashing to android 4.2.2 [02:42] and will try again [02:42] I seem to recall someone saying that I needed to downgrade android version prior to starting, but I don't remember what version they said [02:44] Eadrom: flashing 4.4, booting to the setup wizard, then rebooting to fastboot and flashing with ubuntu-device-flash should get it to work [02:47] dobey, setup wizard for...android (as in the first boot welcome, setup thing for android?) [02:54] yes [03:02] alrighty, I'll give that a shot dobey [03:20] also, I'm using --channel=ubuntu-touch/stable/ubuntu [03:20] is there a different channel I should be using? [03:24] dobey, no joy. same thing again (see for what I am seeing http://askubuntu.com/questions/582501/how-to-get-ubuntu-touch-recovery-to-boot-into-ubuntu-touch-on-nexus-4) [03:31] Eadrom: you should probably be using stable channel [03:31] and what exactly is the error? [03:32] dobey, yeah that's what I've been using [03:32] 2016/02/18 19:23:58 Failed to enter Recovery [03:32] someone else was having this same issue (the askubuntu link) but never solved it [03:33] Eadrom: and what happens when you go to advanced and choose reboot recovery? [03:34] dobey, complete log for ubuntu-device-flash: http://pastebin.com/hV8QWe4B [03:39] and I'm back on my desktop [05:08] victory! [05:08] flashing appears to have succeeded. got to the next part and looks like ubuntu is installing now [05:08] thank you for the help dobey [05:29] oh, do I need an ubuntu one account to use stuff on ubuntu touch? [05:31] eadrom: ubuntu software center will need that [05:32] Stanley00, turns out I already had an account from who knows when ago. [05:33] Stanley00, thank you for the help earlier as well :) [05:33] eadrom: no problem, and btw, congratz your new ubuntu touch :3 [05:34] thank you! once I swapped over to an ubuntu install, everything worked perfectly (lol imagine that) [05:36] really really hope that tablet coming out next month ships to USA. Signed up for notification when it comes available. Going to buy one as soon as it's available if it ships here === danilos` is now known as danilos [08:36] am I able to create other users on my ubuntu touch phone? I'd like to be able to much about on the phone via SSH as a different user than phablet [08:38] I tried w/ a useradd and got a "useradd: cannot lock /etc/passwd; try again later." error [08:44] maybe you have to remount,rw / before add user. But be careful to write your root partition === faenil_ is now known as faenil [09:02] how can i install codecs to mediaplayer-app? I would like to watching movies but mkv is not supported. [09:03] this is nifty - http://daniel-beck.org/howto-install-click-packages/ [09:07] oh nice. I can edit the applicable overlay in /userdata and those files are rw so I can make changes to those [09:07] nifty [09:17] I think if you setup your user on another system, then copy over to the indicated files [09:17] https://launchpad.net/ubuntu/xenial/amd64/libnss-extrausers [09:17] that'd let me create a new ssh user w/o having to much w/ rw / [09:17] *to muck [09:24] eadrom: interesting to see how far you get with that one. I don't know how much PAM and apparmor will let your new user do. Keep us posted ;) [09:25] yup, editing /userdata/system-data/var/lib/extrausers/{passwd,shadow} with the data copied over from my workstation's passwd and shadow file let me su to my new user [09:25] put my new user in the phablet group to prevent the need of making a new group [09:28] looks like I'll need to make a new group if I want to be able to ssh in [09:28] ping ogra_ [09:30] i need some help with c++ file handling on the phone, i am trying to write something to a file but i get an error while trying to open the file [09:30] i can read from the file but i can't write. do i need special permissions to read/write from apps dir? [09:31] pixel__: what dir do you mean by "apps dir"? [09:32] mcphail, hi [09:32] pixel__: good morning [09:32] the current dir? from where i read all the game resources [09:33] it's the balls.briketa app [09:33] pixel__: app confinement on the phone is tricky. I presume you're trying to write to the app install location, which will not work [09:33] mcphail, yes i just want to save the current level [09:33] to lvl.ini [09:34] pixel__: have a look at the RUNTIME ENVIRONMENT section of https://developer.ubuntu.com/en/start/platform/guides/app-confinement/ which will tell you where you can read and write [09:34] mcphail, thanks, much! :D [09:34] pixel__: good luck ;) [09:35] pixel__, di you actually need a file ? QML offers a local storage interface in SQL ... [09:35] ogra_, it's c++ / SDL [09:35] ah [09:35] i'll port it to vulkan soon [09:35] JOKING! [09:36] i will not [09:36] * mcphail wishes he understood why vulkan is getting everyone so excited [09:37] because of lava ? [09:37] I can now log in via ssh to my phone as my normal workstation username and not the phablet user [09:37] I did get an interesting "grep: /proc/cmdline: Permission denied" error though [09:37] mcphail, probably because they don't know what vulkan is :)) [09:37] it's all about the FPS [09:38] popey ! [09:38] popey, that's a good morning to you right? [09:38] I installed Vulkan and now I frag _all_ the noobs on CS:GO [09:39] * mcphail never actually graduated beyond CS:S [09:39] a simple triangle in vulkan https://github.com/SaschaWillems/Vulkan/blob/master/triangle/triangle.cpp [09:40] pixel__: always nice to see a crossplatform API requiring #ifdef _WIN32 [09:40] yeah :D [09:41] eadrom: so, does your new user work well? Or are lots of things blocked? [09:43] mcphail, I can write and chmod files in my home dir [09:43] can execute stuff like a python3 shell [09:43] I can ping google [09:44] eadrom: nice. Wonder if you can launch apps with your new user? [09:45] mcphail, like on the phone gui? [09:45] yep [09:46] I believe I'd have to logout as phablet and login as eadrom...hmmm I don't know if I could do that w/o some cli muckery [09:46] I'm actually fine w/ phablet as default GUI user [09:47] I wanted another user that I could use a kind of "let's muck around and see what all we can do" user [09:47] next step is to figure out how to add groups to my new user, such as sudo [09:47] I can escalate to root though if I need to [09:48] su to phablet [09:48] mcphail, you can likely exec apps as phablet via a lot of sudo hackery (to get the environment right) [09:48] to gain access to sudo, then I can sudo su to get a root shell [09:48] but then .... why not directly use phablet ? :) [09:49] ogra_: interested to see how the security model handles it. Always like to find out how something breaks [09:49] mcphail, if you sudo and have all the env vars properly set it will be have like you are the phablet user [09:49] *behave [09:50] I was able copy /etc/skel/.* over to my new user and now I have pretty ls output xD [09:50] eadrom: sudo su is a bad idea, it should be sudo -i [09:50] (this is essentially what adb shell does internally, it runs as root and uses sudo to fire up the actual shell as phablet if you connect via adb shell) [09:51] still getting this odd grep error from /proc/cmdline. I think if I can get my new user in the radio group, that error will go away. it's not breaking anything as far as I can tell though [09:51] (just getting the env working correctly is very tricky since you need all vars from the running UI session (and it breaks horribly if your session restarts while you are logged in via adb)) [09:52] yeah I'm working over SSH w/ my phone on wifi [09:52] I Read about some odd stuff when working w/ adb so just chose to use ssh [09:54] adb doesnt properly handle linux tty's and swallows some special chars (like ctrl-C) ... yeah, ssh is definitely more comfortable [10:04] hello! just a little question, is it possible to encrypt all private data on a Ubuntu touch powered phone? [10:05] not yet [10:06] okey, popey, but it is on the wish list? [10:08] yeah, has been forever [10:12] hmmmmm doesn't look like an easy way to add groups to a user [10:15] I wonder if extrausers will combine group info from /etc/group and the extrausers group [10:19] added users:x:100:eadrom to the extrausers/group [10:19] rebooting to see if anything changes [10:20] it does not, as expected [10:28] popey, okey, I see, I was just wondering, nothing else [10:34] I figured it out :) [10:35] I mounted /userdata/system.img via mount -o loop to a directory in /home/eadrom (as root) [10:35] and that has a lot of the base system, however here they were rw [10:36] edited the /etc/group in the system.img [10:36] reboot [10:36] and now my new user has sudo :) [10:37] though I presume that anything I change in /userdata/system.img will be undone when a new system.img is installed [10:37] unless the update process is also mounting that .img and changing the data as well [10:37] is there any office app which works on E5? [10:38] then at least only explicit changes to /etc/group would change that file and undo my edit [10:38] I love this phone lol [10:38] I can't wait to get my hands on that new tablet === faenil is now known as faenil_ === faenil_ is now known as faenil [10:49] and now my new user had all the permissions the phablet user has and that odd grep error has gone away when logging in via ssh w/ my new user [10:51] kki, the document reader can open all office documents [10:56] hi guyz [10:57] im plannin on buying a tablet 4 ubuntu touch... i know there is a fully documented hardware-compatibility list but can u guyz recommend some tablets? or brands especially? [10:57] the only supported one is the nexus7 2013 [10:57] within 6 weeks oor so bq will start selling a 10" ubuntu tablet though [10:57] alright thanx @ogra_ [10:58] benq? [10:58] no, bq [10:58] canonicals hardware partner [10:58] ok u know the pricing [10:58] (one of them) [11:01] r4fu5, http://www.cnet.com/products/bq-aquaris-m10-ubuntu-edition/ [11:01] the android version is around 250€, i wouldnt expect the ubuntu one to be much more expensive [11:04] if you get a logitech k480 keyboard you can also use the thing as a laptop ;) [11:04] (or some similar kbd, just an example) [11:05] ogra_ with X11 app compatibility? [11:05] i got a BT keyboard already. just need the tablet :) [11:06] V99_, you have to re-pack them in a wrapper so they beciome click packages, but yeah thats possible [11:08] V99_, afaik things like firefox, libreoffice, xchat and gedit are even preinstalled [11:09] k1l: I only have the micro HDMI cable :P [11:10] thats like: i'm buying a car !!! I already have the wheel caps ... [11:10] :D [11:10] we need to team up then :) [11:11] hehe [11:11] <_Sponge> A_bit more on the $3 dollar phone from India : http://hackaday.com/2016/02/18/3-smartphone-from-india/ [11:13] -.- [11:29] no one missing native applications to read/edit documents? I'm frustrated a little bit this with brand new E5. [11:31] kki, again, try the document viewer, it opens all kinds of docs [11:31] (including libreoffice and MS office) [11:37] ogra, thanks === _salem is now known as salem_ === la_juyis` is now known as la_juyis [12:38] Hi [12:39] Is there an official app directory somewhere? I only know the unofficial https://uappexplorer.com/ [12:43] se6: on your phone :p [12:44] Sure, but would be convient trough laptop! And uApp Explorer is not fully working right now. [12:46] se6: found a list for the core apps only, but not sure there's an official for all apps, as their mixed [12:48] lotuspshychje: Thanks. Was looking for the source code of the app chessboard for example, it is GPL3, but seems I need to contact author to know where to find the code for it. [12:48] se6: lemme look on my phone holdon [12:49] I have done it, but it has just email address [12:49] se6: so email him? [12:49] Sure. Thanks. === xiinotulp is now known as plutoniix === dandrader is now known as dandrader|afk === dandrader|afk is now known as dandrader === dandrader is now known as dandrader|lunch === dandrader|lunch is now known as dandrader [15:37] kenvandine, hey ken!! :) [15:38] kenvandine, so your https://code.launchpad.net/~ken-vandine/unity8/share_data_uri_string/+merge/286676 - you sure we are supposed to support just a single string and not more than one? [15:42] cimi, well in a preview you are generally only working with a single item right? [15:42] cimi, and... the API sounds singular to me, shareData[uri] [15:42] not uris [15:42] sure we could make it handle multiples there, but the scope side needs to know it's an array [15:43] cimi, is it possible for the preview to be showing multiple images? === zenvoid_ is now known as zenvoid [15:45] kenvandine, yes, see apps previews in Apps scope [15:45] cimi, I think we agreed on supporting VariantArray there as well for multiple uris? [15:45] ok, then the share-data API should be clear that it takes an array [15:46] so rename uri to uris [16:03] pstolowski, oh yeah answer is yes [16:05] cimi, afair we wanted to allow a single string or array, up to scope author [16:06] not sure about renaming to 'uris' though [16:07] most scopes will be interested in a single uri [16:07] i think if it expects and array, it should be uris [16:07] if you can determine it's an array or string in QML, then cool [16:10] the point is it should accept a single string (expected for 99% of scopes), but then also deal with array of strings [16:13] pstolowski, or nor creating an array with a single string inside? [16:13] cimi, yeah, the idea was we don't require scope to create an array with single string if it only wants a single strin [16:13] g [16:14] ok, well the code that was there always assume it was an array [16:15] Hello, can any body help with install bacon2d to ubuntu sdk? [16:15] hey sistemx [16:16] sistemx, i saw i missed you in #bacon2d the other day [16:16] I follow this link http://bacon2d.com/docs/ubuntu-touch-getting-started.html [16:16] zes [16:16] sistemx, yeah, that was for the older ubuntu sdk [16:16] yes [16:16] try installing ubuntu-sdk-bacon2d [16:17] Do zou mean sudo apt get_ [16:17] ? [16:17] yes [16:17] ubuntu-sdk-ide looks for templates in a different directory, so i've packaged those in ubuntu-sdk-bacon2d === chihchun_afk is now known as chihchun [16:18] but my system doesn't know it [16:18] need any ppa? [16:18] it's in the bacon2d-team ppa [16:18] ok wait [16:19] https://launchpad.net/~bacon2d-team/+archive/ubuntu/ppa === zenvoid_ is now known as zenvoid [16:20] mmm bacon [16:21] yum [16:28] I am not sure what is wrong, but still nothing, I try remove and add repositorz again [16:28] and nothing [16:29] don't know ubuntu-sdk-bacon2d [16:29] sistemx, which ubuntu release are you on? [16:30] 14.04 Trusty [16:30] sistemx, oh! [16:30] 64bit [16:30] that version isn't built for trusty [16:30] hang on [16:31] I see, so what? Install 15.04 [16:31] sistemx, nah, i'll get a trusty build of that in the ppa [16:31] is it enough [16:31] give me a few minutes [16:31] ok [16:34] sistemx, i've uploaded a trusty version to the ppa, give it a few minutes to build and get published [16:35] 30 minutes or so [16:36] sistemx, or you can download the deb and install it [16:36] https://launchpad.net/~bacon2d-team/+archive/ubuntu/ppa/+build/9038528/+files/ubuntu-sdk-bacon2d_3.1.1+15.04.20151218-0trusty1_all.deb [16:38] I will try download and install, really many thanks for help. I checked internet and many instructions and nothnig... [16:38] sistemx, sorry about that, i should update the docs to reflect the new package name [16:40] Great, it works now. Once again thanks :) So ican start do something for ubuntu touch.... [16:40] sistemx, that's great! [16:41] sistemx, let me know if you have any questions as you get developing [16:41] sistemx, i'm usually in #bacon2d if you want to talk games [16:43] I am nube about that, I try Gdevelop before, but games go slow down when use physics etc.. So I want try bacon... [16:44] Bacon is native, everything could smooth [16:45] If I will have big troubles, I will contact you. Any way thanks for that... [16:51] sistemx, no problem, yeah physics should be smooth === dandrader is now known as dandrader|afk [17:34] http://news.softpedia.com/news/canonical-presents-sony-xperia-z1-and-oneplus-one-as-ubuntu-phones-500658.shtml === dandrader_ is now known as dandrader === chihchun is now known as chihchun_afk [18:05] http://insights.ubuntu.com/2016/02/18/zfs-licensing-and-linux/ - that is sailing pretty close to the wind. To state that a kernel object is not a derivative work of the kernel is _one_ interpretation [18:09] ask 5 people about it and you get 7 results :) [18:11] wait what? [18:12] mcphail: feel free to demand nvidia release the source for their drivers :) [18:12] dobey: posted this to the wrong channel ;/ [18:12] * mcphail didn't mean to stir up any hornets in #ubuntu-touch [18:13] heh [18:13] * popey wonders where mcphail did plan to stir hornets [18:35] <_Sponge> mariogrip: Sent you an eMail (gmail). Also please add the Microsoft Lumia 640 to the list, cheers. [18:42] _Sponge: Microsoft phones are gonna be way harder to port to. === boiko_ is now known as boiko === chihchun_afk is now known as chihchun [20:23] * ahoneybun thinks mariogrip should have been taken to MWC [21:04] hi [21:05] got a BQ aquaris phone with ubuntu [21:24] grats lgp I got my nexus 4 flashed last night [21:24] i love it so far [21:29] ahoneybun: i'm sure he accepts patches ;) === salem_ is now known as _salem [22:28] _Sponge: I don't think Microsoft devices is possible manly due to blobs (drivers) and that's it has no open source... Even if it's possible it would be damn hard to do, so I think I stay with android devices... [22:30] ahoneybun: I got invited, but I sadly could not go === chihchun is now known as chihchun_afk [22:55] <_Sponge> mariogrip: ping [23:06] <_Sponge> mariogrip ping [23:53] <_Sponge> mariogrip ping [23:56] does an app developer see how many downloads from the store his app gets? [23:57] matv1: yes - from the ubuntu myapps site [23:58] mcphail ok thanks