#sfdroid log for Wednesday, 2018-07-11

Tofemal: do you know where I could find the built arm64 image you're using for running anbox on sfos? I'd just like to try your bionic lib, basically07:23
malTofe: I don't have full 64-bit image, only a 32-bit with 64-bit binder which runs on 64-bit kernels08:30
Tofeah ok08:41
steeeveMal: got networking. What about keyboard not showing up :/(10:17
steeeve?10:17
malyou need to install some keyboard10:47
malso copy a keyboard apk to the /var/lib/anbox/data/app folder10:47
maland restart anbox10:48
Tofeeww what, there's no vkb in anbox by default ?10:49
malnope10:50
Tofeoh.10:50
malit's originally meant for desktop I think10:50
malI just need to find a suitable aosp keyboard that I can include in the image10:51
TofeI would have thought google's vkb would be builtin10:51
malalso I need to move anbox data folder from /var/lib/anbox to user home because on official devices like xperia x the rootfs is quite small10:51
malTofe: I think it was disabled, just need to see how to re-enable it10:52
Tofeah  ok :)10:52
TofeI think I'll need to build the android image at some point, unfortunately; I need some of the patches for init10:52
TofeI'm stumbling on https://github.com/mlehtima/android_system_core/blob/hybris-14.1/init/property_service.cpp#L70 and it seems the only way is to comment out the "exit(1)" line10:54
malthat exactly are you trying to do?10:58
mal*what10:58
Tofemal just getting anbox to work on luneos :)11:04
TofeI'm reusing their arm64 image as-is for the moment11:04
malTofe: are you trying to use the upstream anbox? I tried to get that running on sailfish without success so far, android side starts but graphics don't work i.e. the sdl side thingy11:07
Tofemal: well I'm not there yet because of the init issue; but we'll see11:17
Tofebut yes, I'm trying upstream anbox11:17
TofeWith a little patch for wayland11:18
malTofe: I also had some patch for wayland, could you show your patch so I can see if that is done the same way11:19
Tofepatches are there: https://github.com/Tofee/meta-webos-ports/tree/anbox/meta-luneos/recipes-support/anbox/anbox11:19
malthanks, I'll have a look11:24
TofeIt's quite straightforward :) (maybe too straightforward, I don't know yet)11:26
malyep, I had almost the same, one mistake in my code11:27
malneed to check the other patches also11:27
TofeThe other ones are probably less interesting, they're more luneos-specific for many of them11:29
malat least I got it to build quite easily, just need to figure out why graphics didn't work, could be the mistake I had (it was in the SDL_SYSWM_WAYLAND)11:34
raandoom_does someone has any luck to run anbox with kernel 3.4?12:02
malalmost, I got the android side running but graphics fail12:42
nh1402[m]wow, didn't know that12:49
malcould be some missing permission thingy or something in the namespace support12:52
raandoom_mal: can you show your kernel patches for it?15:06
raandoom_i tried to apply all patches from containers-v75 branch from begin and no luck :)15:07
raandoom_all == about 300 patches15:08
malI'll have to check which patch it was, it was just one or two additional patches after the normal patches15:26
steeeveIm pretty sure that the cause of anbox-container-manager service stopping is that ip6tables in not present, in fact if i use new anbox-bridge and install iptables-ipv6 it doesnt crash15:52
steeeveWhich is better than removing anbox-bridhe line in systemd service :D15:53
malthat is actually older anbox-bridge15:54
steeeveNo15:55
steeeveThe new one15:55
steeeveSailfish doesnt have ipv6 iptables, so, new script fails if you dont install it, first15:55
malthe one I gave you yesterday is older than the one in one included in anbox installation15:56
steeeveSrsly?15:57
steeeveAhh15:57
steeeveThats why branch was a commit hash :/15:58
raandoom_mal: what do you mean with 'normal patches'? the last ~40 patches from containers-v75?16:11
malraandoom_: I mean the normal anbox patches (4 or something)16:13
malthe huge amount of containers patches don't seem to be needed16:14
raandoom_mal: really? you are about last 7 patches here https://github.com/CancroSailors/android_kernel_xiaomi_cancro/commits/anbox ?16:16
raandoom_litew: do you read that?16:17
malwell it doesn't work yet16:18
raandoom_mal: but we can start from this point too16:20
litewraandoom_: yep18:00
litewmy pastebin is lost unfortunately, as I remember I had this critical error when starting surfaceflinger inside anbox container: "Couldn't set SCHED_FIFO for SFEventThread"18:00
malpiggz: ping19:24
steeevemal: pong19:54
mal?19:54
steeeveHehe, you got re-pinged19:54
piggzmal: pong21:20
piggzmal: apologies, i got dragged to the pub for some sports event21:20
malpiggz: just thinking about your overlay patch, the upstream anbox has support for the newer overlay support but that doesn't use workdir like your patch did https://github.com/anbox/anbox/commit/77a4cc7f3be0b5bcadd89352a21ac6358e4a3eb521:21
malpiggz: so wondering why you needed workdir21:22
piggzmal: afaict, if workdir is omitted, the fs is readonly21:24
malpiggz: is there any need to have it rw?21:25
malthe rootfs should be readonly21:25
piggz*insert shrug emoji here*21:25
malthe data folder is where data is stored21:25
piggzhttps://unix.stackexchange.com/questions/324515/linux-filesystem-overlay-what-is-workdir-used-for-overlayfs/33016621:25
piggzmal: unless its a 3.18 issue, i wil have to look in my kernel sources21:27
piggzmal: this says https://windsock.io/the-overlay-filesystem/21:28
piggzif the upperdir is omitted, the workdir is optional21:28
piggzand we use upperdir?21:28
malpiggz: we used that but upstream anbox uses lowerdir which doesn't need workdir I think21:30
malpiggz: ah, the upstream overlay format requires kernel 4.0 or newer21:31
malso we need to have 3 different overlay support formats in anbox21:33
piggzeek21:35

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!