[04:47] <Lenovo_> hi
[04:48] <Lenovo_> I am having trouble installing Ubuntu touch on a Lenovo A8-50 or samsung galaxy tablet
[04:49] <Lenovo_> On the Lenovo I have unlocked the OEM, on the Samsung I cannot unlock it
[08:32] <kaisoz> hi!
[08:35] <duflu> Hello kaisoz
[08:35] <duflu> greyback: I suspect (actually can measure) much of our remaining dash performance issues are CPU bound. Anyone looking into that side yet?
[08:36] <greyback> duflu: I believe that is on tsdgeos' plate
[08:36] <duflu> Cool. I know it's impractical to collect CPU profile data on a phone, but it is possible.
[08:36] <duflu> I haven't done it in a while
[08:37] <duflu> Kind of requires a binary that will run without needing interaction
[08:37] <tsdgeos> it's on my plate yeah, i'm first still working on the metrics reporting
[08:37] <tsdgeos> but eventually will get there
[08:38] <duflu> tsdgeos: I've had luck with valgrind --tool=callgrind in the past. Collect data on a phone and then visualize on desktop with kcachegrind
[08:39] <duflu> Also try Google Profiler (the only free one that can accurately measure time wasted in the sleeping state)
[08:44] <duflu> Although you can start using just desktop
[08:46] <popey> duflu: greyback had some tools he demo'd at the desktop sprint in prague. dunno if you're already aware of them. SoC specific ones IIRC
[08:47] <greyback> duflu: for Qt apps, we can use a power profiler tool in QtCreator
[08:48] <greyback> popey refers to other tools I found, which profile the entire device CPU & GPU, and help you see what's going on in the whole system
[08:48] <duflu> I'm trying to avoid mentioning Q* things as it's entirely possible our problems are simpler than that
[08:48] <greyback> duflu: sure, but you were referring to the Dash
[08:49] <greyback> duflu: I wrote up guide on a nice profiling tool for Mali, DS-5, here: https://wiki.ubuntu.com/Touch/GPU%20profiling/Mali
[08:57] <ogra_> popey, how is your battery life on the pro5 ? (i have the feeling mine doesnt properly go to sleep, i lose about 50% over night (rc-proposed))
[09:27] <popey> ogra_: mine's charged a lot of the time
[09:27] <popey> or on charge
[09:28] <ogra_> ah, i only charge mine when it tells me to
[09:28] <ogra_> (and unplug when it is full)
[09:28] <popey> last full charge 24 hours ago, now at 69%
[09:28] <popey> oh, it was off overnight  😃
[10:14] <brunch875> I'm wondering... why stuff like snaps when you can confine with groups and reading permissions?
[10:14] <brunch875> there's more to it, isn't there?
[10:19] <ogra_> brunch875, try #snappy ;)
[10:20] <brunch875> I'm afraid I might get lit up from asking these sort of questions :Þ
[10:20] <ogra_> nah
[10:21] <ogra_> nobody bites over there (at least everyone pretends not to :) )
[10:23] <svij> they only tend to nibble (especially that ogra_ guy)
[10:23] <ogra_> haha
[11:22] <brunch875> I just used phone to flirt huehue
[11:22] <brunch875> utouch++
[13:00] <jdstrand> popey: hi! I'm going through the reviewers queue and clearing out things/getting questions answered. would you mind looking at permy though? its security policy did not change
[13:36] <mterry> oSoMoN, heyo!  What's the plan for building webbrowser-app on arm64?
[13:36] <ogra_> hmm, so my miracast adapters arrived ... seems my session crashes when i disable the external display
[13:36] <oSoMoN> mterry, the plan is to first have oxide build on arm64
[13:36] <mterry> ogra_, why would you ever want to disable such a beautiful thing
[13:36] <mterry> oSoMoN, is there a rough ETA on that?
[13:36] <ogra_> and the fonts are super blurry (my moniotor says it gets 1080p60 ... though that m,ight only be from the adapter)
[13:36] <mterry> oSoMoN, like next month, next week, etc
[13:36] <ogra_> mterry, yeah, when making a call for example ;)
[13:37] <peat-psuwit> Are there any event that's propagate to Android container when booting is done?
[13:37] <ogra_> bahm and two-finger-scrolling is completely broken ... goes into the wrong direction
[13:37] <ogra_> peat-psuwit, only the other way round IIRc
[13:37] <jdstrand> popey: thanks!
[13:38] <ogra_> (teh container listens to ueventd and sends an event to upstart once it is done )
[13:41] <peat-psuwit> ogra_: No property set? Like, when unity finish starting up?
[13:42] <ogra_> i dont think we seed anything into the container, no, we need it completely running for most of the graphical bits
[13:42] <ogra_> so it has to be done even before lightdm starts the UI session
[13:43] <ogra_> (and lightdm waits fro the event from the container ... see its upstart override job)
[13:44] <peat-psuwit> ogra_: Ok. I'm trying to mimic this event: "on property:init.svc.bootanim=stopped" in Android init. I guess I have to create an Upstart job to do that.
[13:45] <ogra_> err
[13:46] <ogra_> that would be long before anything in ubuntu started up
[13:46] <oSoMoN> mterry, that’s tracked by bug #1582638 , see the comments in there
[13:46] <ogra_> peat-psuwit, but yeah, you can easily put that into a unity8.override post-start script snippet
[13:46] <oSoMoN> mterry, more in the "next month" ballpark
[13:46] <ogra_> peat-psuwit, just make sure the android boot finishes fully ...
[13:47] <mterry> oSoMoN, ok thanks!
[13:47] <ogra_> peat-psuwit, i.e. you cant really block the container boot on this else you produce a deadlock
[13:51] <peat-psuwit> ogra_: I'm not sure I understand you correctly.
[13:52] <ogra_> peat-psuwit, do youo want to make the android container boot block until this property is set ?
[13:52] <ogra_> (this wouldnt work  since the container must be done booting for lightdm to start)
[13:53] <peat-psuwit> ogra_: No, not at all. It's kind of post boot adjustment for CPU governor and such.
[13:53] <ogra_> ah, well, then you should just be able to use setprop from either the lightdm or unity8 upstart jobs
[13:54] <ogra_> (i think lightdm would be easier since that doesnt run as the user ... though a bit early perhaps)
[14:04] <peat-psuwit> ogra_: Ok. Thank you, then.
[14:48] <mardy> dobey: hi! About your comment on https://code.launchpad.net/~mardy/ubuntuone-credentials/signon-plugin-part2/+merge/293217
[14:49] <mardy> dobey: SSOService::login() is (in the core currently on the images) calling Keyring::storeToken() after the authentication succeeds,
[14:49] <mardy> dobey: and the latter creates the account (if not already present)
[14:49] <mardy> dobey: the signon-plugin takes care of storing the token only, but it has no knowledge of accounts
[14:50] <mardy> dobey: so that dance with the Accounts::Manager to create the account must still be done somewhere
[14:50] <dobey> yes i know how it works currently
[14:51] <dobey> the account should already be created in the qml plug-in afaik
[14:52] <dobey> mardy: doesn't libsignon or libaccounts already have some way to flag the credentials as being invalid for an account? or is the oauth plug-in just hitting the respective server every time the account is requested by an app?
[14:53] <mardy> dobey: ideally, the right place for doing that is the account plugin, but it may be that for this first iteration it's simpler to keep this code in the lib
[14:53] <mardy> dobey: in a next iteration, I'd like to rework the account plugin so that it's QML only, using the Ubuntu.OnlineAccounts module directly (should be doable)
[14:56] <mardy> dobey: no, it's plugin specific; the OAuth plugin also has a ForceTokenRefresh option
[14:56] <dobey> ick
[14:58] <mardy> dobey: I've just checked, the U1 account plugin does not create the account, it relies on SSOService::login
[14:58] <dobey> mardy: so it just shoves another flag into PluginData and then calls authenticate()?
[14:58] <mardy> dobey: yes
[14:59] <mardy> dobey: ah, now I remember why I didn't convert the account plugin to use the signon-plugin directly: the signon-plugin does not have the functionality to create an account on the server (yet)
[15:00] <dobey> well i'm not worried about creating new accounts on the server yet
[15:14] <mardy> dobey: found a little bug with default-token-name, please don't hurry up with landing https://requests.ci-train.ubuntu.com/#/ticket/1461
[15:16] <dobey> mardy: i haven't even assigned a silo to build it in yet. wanted to get the large part2 branch reviewed enough to be close enough to what we want to land, before building
[15:16] <dobey> and was trying to find a couple other easy things to fix along with
[15:17] <dobey> since our TZ overlap is not great, makes the turnaround for changes a bit annoying :)
[15:17] <mardy> dobey: true
[15:18] <dobey> mardy: why would respondWithStoredToken() always fail?
[15:21] <mardy> dobey: because the stored data it expects must be in the form { "token-name": { "Token": ..., "TokenSecret": ..., ... }, "other-token-name": {...}, ...}
[15:21] <mardy> dobey: unless you tell me that we will never ever support more than one single token name, it's better to store data in this way
[15:22] <dobey> mardy: it still stores data in that way
[15:22] <mardy> dobey: yes, but now process() can be called with an empty token name, so the lookup in the stored data will fail
[15:23] <mardy> dobey: I think that at the beginning of process() we should do tokenName = m_data.TokenName().isEmpty() ? buildTokenName() : m_data.tokenName(), or something like that
[15:26] <dobey> mardy: process() could have been called with an empty token name before too. this doesn't seem like a problem with my branch (if it is indeed a problem)
[15:27] <mardy> dobey: no, tokenName was a required param before
[15:28] <mcphail> popey: is your microsoft dongle the one on offer on ebuyer today?
[15:28] <dobey> mardy: but it could have been an empty string
[15:29] <dobey> oh i guess validateInput checked that it wasn't empty
[15:30] <mardy> dobey: well, probably, but than that was a fault with my code; my intention was clearly to have it as a mandatory non empty param
[15:30] <ogra_> mcphail, you want the v1 version ... that works for sure
[15:30] <dobey> mardy: anyway, yes, currently we only have the one token name for any one device
[15:30] <ogra_> not sure if/how well the v2 works ... i just got two v1 ones ... both work OOTB
[15:30] <mardy> dobey: ok; but do you agree that we could set it right at the beginning of process, if it's empty?
[15:31] <mcphail> ogra_: ta. Thought it was a bit pricey anyway
[15:31] <ogra_> it is ... 40€ or so
[15:33] <Laris> Hello, so I am thinking of switching android to ubuntu touch
[15:33] <popey> mcphail: link?
[15:33] <Laris> can you install glibc.i686 for example on the device after you have ubuntu touch as your os?
[15:33] <popey> mcphail: https://www.amazon.co.uk/gp/product/B00J9C2JDG is the one I have
[15:34] <dobey> mardy: probably not in process(); though i think process() probably needs to be a bit more complex, in order to actually use the signon plug-in
[15:34] <mcphail> popey: hold on - just deleted the email after ogra_ told me to look at the other version... :)
[15:34] <popey> hah
[15:35] <ogra_> well, that pic shows v1
[15:35] <ogra_> afaik the "big part" is smaller in v2
[15:35] <dobey> mardy: if i set it in responseWithStoredData(), it should satisfy your complaint here, no?
[15:35] <popey> http://www.ebuyer.com/743240-wireless-display-adapter-v2-hdmi-usb-in-p3q-00003 is the v2
[15:35] <popey> yes, smaller "big part"
[15:36] <mardy> dobey: yes
[15:36] <mcphail> popey: http://m.ebuyer.com/743240?utm_source=2016-05-27&utm_medium=campaign_email&utm_campaign=B2C_%28Friday%29_Openers
[15:36] <mardy> dobey: please apply this to test: http://paste.ubuntu.com/16733924/
[15:36] <ogra_> mcphail, thats a v2
[15:38] <Laris> can someone please tell me if having ubuntu touch on your device makes it possible in installing 32 and 64 bit libraries?
[15:38] <popey> you can tell it's a v2 by the price :)
[15:38] <mcphail> ogra_: yep. v1 much cheaper anyway
[15:38] <popey> 34vs50 quid
[15:38] <dobey> grr, pastebin is broken
[15:39] <ogra_> Laris, that culd theoretically work in a libertine container if you would have a 64bit rootfs (which we do not have yet) ... then you could enable 32bit execution
[15:39] <mcphail> popey: yep - 20 quid more and you could get the little asus nettop
[15:39] <Laris> aha.
[15:39] <Laris> thanks ogra_
[15:40] <ogra_> Laris, note though that the only x86 rootfs/image we currently have is for the emulator
[15:40] <ogra_> al supported devices are ARM
[15:40] <Laris> this is what I wanted to find out
[15:41] <Laris> I made the mistake into unrooting my device and getting the latest kernel
[15:41] <ogra_> you can do a normal ubuntu install and install the unity8 mir session though
[15:41] <ogra_> in case your device is PC compatible
[15:41] <Laris> I can't root it again as there is nothing available for this kernel and the other way to have uid-0 is to lose my knox certificate and other
[15:42] <Laris> it's a samsung a3
[15:42] <ogra_> ah
[15:42] <Laris> I want to try some pentesting tools and I guess I'll have to wait some more or get an older patch of my actual os
[15:43] <ogra_> hmm, so casting a 1080p youtube movie from my pro5 to the TV still gets me quite some frame dropping ...
[15:43] <Laris> anyway, thanks, it helped
[15:43] <ogra_> popey, ^^ did you try that ?
[15:43] <dobey> also we only have an i386 image for emulator right, no amd64?
[15:43] <ogra_> dobey, yeah, i think i mentioned that above
[15:43] <dobey> ogra_: you just said "x86" :)
[15:43] <ogra_> yeah :)
[15:44] <ogra_> (i could have said "intel" but x86 makes me sound so much more professional :P )
[15:44] <dobey> "intel" wouldn't have made it more clear than "x86" does, about whether it's 32 or 64 bit
[15:45] <mardy> dobey: this is my proposal, feel free to modify it at will: http://bazaar.launchpad.net/~mardy/ubuntuone-credentials/default-token-name/revision/243
[15:45] <ogra_> its "all x86 sstems"
[15:45] <mardy> dobey: but the test case is fine, on that I'm sure :-)
[15:46] <dobey> i don't know why we don't build an amd64 emulator image
[15:46]  * mardy is EOD
[15:47] <dobey> cheers
[15:52] <popey> ogra_: no
[15:52] <popey> ogra_: I think the dongle scales down to 720p
[15:53] <ogra_> well, the one attached to my monitor tells me 1080p60 ... on the monitor side though ... could be it scales internally
[15:53] <ogra_> fonts are definitely very hard to read here
[15:53] <popey> yeah, same
[15:53] <ogra_> on both, monitor and TV
[15:53] <popey> looks awful
[15:53] <brunch875> queschiun: Can I put a reminder on calendar so that it reminds me with an alarm?
[15:54] <brunch875> or should I use the tasks app?
[15:54] <dobey> brunch875: calendar events can have alarms, yes.
[15:54] <brunch875> hoorraaay
[15:55] <ogra_> since forever :)
[15:56] <brunch875> Now how about I add it on my laptop's calendar program. Will it sync?
[15:56] <brunch875> cause that'd be bombastic
[15:58] <brunch875> meh desktop calendar doesn't sync with anything
[15:58] <dobey> ?
[15:59] <ogra_> depends which one you use
[15:59] <brunch875> default, didn't install anything. That's gnome's, isn't it?
[15:59]  * ogra_ uses evolution and syncs through google ...
[15:59] <dobey> google works "fine" in evolution or gnome-calendar
[15:59] <ogra_> dunno, never used it ... most of my machines were installed like 5-6 years ago and since upgraded
[15:59] <brunch875> I'm really tempted to boot thunderbird and get evolution
[16:00] <dobey> only 5-6 years? n00b :P
[16:00] <s`> telegram is accumulating badges, now it shows 3. cant make them go away (talking about the left dock)
[16:01] <s`> anyone got this issue?
[16:01] <ogra_> dobey, well, i have a warty laptop, but that hasnt been booted in years :)
[16:01] <brunch875> The green badges? I have those too. I never quite understood what they meant
[16:01] <ogra_> s`, file a bug
[16:01] <s`> brunch875: it's red
[16:01]  * ogra_ has seen that before as well
[16:01] <brunch875> I believe telegram doesn't mark messages as red if you read them someplace else
[16:02] <ogra_> brunch875, well, it should remove the badge when you open the app locally ... but it doesnt do that every time
[16:02] <s`> i mean, the badge color is red, not green :P
[16:02] <ogra_> (sometimes it does, dometimes it doesnt
[16:02] <ogra_> )
[16:02] <s`> never worked for me ogra_
[16:02] <s`> like NEVER
[16:02] <s`> :D
[16:03] <s`> oh wait
[16:03] <ogra_> works for me about 50% of the time ... perhaps i'm lucky
[16:03] <brunch875> oh wait, I actually had 4 unread messages
[16:03] <s`> ok i understood
[16:04] <brunch875> s`, are you using the latest version?
[16:04] <s`> yes
[16:04] <s`> OTA-10.2
[16:04] <brunch875> hmph maybe it's different for me because sitting on rc-proposed
[16:04] <s`> and latest tg version
[16:05] <brunch875> how do you check ota version, again?
[16:05] <s`> system settings
[16:05] <s`> about
[16:05] <s`> something like that
[16:05] <brunch875> not finding it there
[16:05] <ogra_> only on stable
[16:06] <brunch875> ogra_ spills knowledge everywhere
[16:06] <brunch875> thanks!
[16:06] <ogra_> (OTA version for rc-proposed would be nonsense ... rc-proposed is daily builds)
[16:52] <brunch875> I got age of wonders 3 yesterday. Such a fantastic game. Being turn based it would be simply the best game for utouch. By far!
[16:53] <brunch875> Someone will have to nag the developers to recompile for arm
[16:53] <brunch875> if mc-phail asks, I didn't say anything :Þ
[16:54]  * brunch875 clings to hope
[16:55] <brunch875> Actually, it could be a good place for them to monetize. The ubuntu store
[18:00]  * ogra_ LoLs
[18:00] <ogra_> popey, seen that http://withinrafael.com/building-a-microsoft-wireless-display-adapter-base-image/ ? seems there is linux inside
[18:49] <fish__> Help/
[18:50] <fish__> need help
[18:50] <fish__> installing touch os on samsung g note
[19:44] <DPA> Hi. I just got a Meizu Pro 5 ubuntu edition, and found some things which apear strange to me. First of all, I want to use an ext4 formatted SD Card, but the Phone can't authomatically mount it. I tried to modify /etc/fstab, but the file is mounted on a tmpfs, and any change vanishes after a reboot. How is the /etc/fstab file generated on an ubuntu phone, and how can I change it? Secondly, I read that
[19:44] <DPA> the ubuntu phones aren't updated using apt-get, is this really true? If so, why? And lastly, I found an LXC Container named 'android' on my phone, what purpose does it serve?
[19:47] <mcphail> DPA: with regards to the latter, some android drivers are required for the hardware. There aren't open equivalents
[19:48] <mcphail> DPA: the devs haven't decided on the final strategy for the sd card. You can format as ext4, but you'll be swimming against the tide
[19:49] <DPA> mcphail: Many thanks, this axplains a lot.
[19:49] <dobey> DPA: yes, apt-get is not how the phones are updated. the root fs is read-only. system updates are applied via image diffs
[19:50] <mcphail> DPA: the core images are update as a whole, rather than piecemeal with apt get. If you need apt, safest way is with a chroot
[19:50] <dobey> or a container via libertine
[19:51] <mcphail> brunch875: am I getting a bad reputation on here? ;)
[19:52] <brunch875> Impossible! you're one of the coolguis, mcphail!
[19:53] <popey> ogra_: oooh! Didn't know it had linux inside, maybe we can make an image for it which has an ubuntu splash :)
[19:54] <mcphail> popey: the one good thing about windows is it doesn't have plymouth!
[19:55] <popey> hah
[19:56] <popey> seems no documentation for flashing the thing though
[19:56] <DPA> If image diffs are used for system updates, how does this look like from a security perspective? How can I check that no one manipulated the images with the Images?
[20:01] <popey> DPA: the images are cryptographically signed on our server
[20:03] <dobey> also delivered over HTTPS
[20:57] <crs___> bluetooth is not working on my pro5 with rc-proposed. is that normal?
[21:25] <moritz311> do someone have some basic knowledge about sony devices ?
[21:33] <altker128> mcphail: On the SD card front, why are there issues using ext4 or any other filesystem Linux supports?