#sfdroid log for Saturday, 2017-09-16

*** m01 <m01!~quassel@2a00:1a48:7808:102:be76:4eff:fe08:b79c> has quit IRC (Remote host closed the connection)02:17
*** kimmoli <kimmoli!~kl@194.100.69.195> has quit IRC (Ping timeout: 264 seconds)04:22
*** kimmoli <kimmoli!~kl@194.100.69.195> has joined #sfdroid04:27
*** kimmoli_ <kimmoli_!~kl@194.100.69.195> has joined #sfdroid04:28
*** kimmoli_ <kimmoli_!~kl@194.100.69.195> has left #sfdroid04:30
*** jakibaki <jakibaki!~textual@ipservice-092-217-212-051.092.217.pools.vodafone-ip.de> has quit IRC (Quit: Textual IRC Client: www.textualapp.com)06:48
*** jakibaki <jakibaki!~textual@ipservice-092-217-212-051.092.217.pools.vodafone-ip.de> has joined #sfdroid06:54
*** piggz <piggz!~piggz@95.149.121.33> has joined #sfdroid07:01
*** NeKit <NeKit!~nekit@178-45-10-185.saransk.ru> has joined #sfdroid07:04
*** TheKit <TheKit!~nekit@178-45-9-179.saransk.ru> has joined #sfdroid07:19
*** NeKit <NeKit!~nekit@178-45-10-185.saransk.ru> has quit IRC (Ping timeout: 240 seconds)07:22
*** piggz <piggz!~piggz@95.149.121.33> has quit IRC (Ping timeout: 246 seconds)07:46
*** jakibaki <jakibaki!~textual@ipservice-092-217-212-051.092.217.pools.vodafone-ip.de> has quit IRC (Quit: Textual IRC Client: www.textualapp.com)08:32
*** jakibaki <jakibaki!~textual@ipservice-092-217-212-051.092.217.pools.vodafone-ip.de> has joined #sfdroid08:34
*** cvp <cvp!~cvp@p2003008C4F4F7C0088ABB34FC1FF93DD.dip0.t-ipconnect.de> has joined #sfdroid09:33
*** nh1402 <nh1402!~nh1402@22.104.114.87.dyn.plus.net> has joined #sfdroid09:39
*** sailfishmods <sailfishmods!~sailfishm@p2003008C4F4F7C0088ABB34FC1FF93DD.dip0.t-ipconnect.de> has joined #sfdroid09:59
*** cvp <cvp!~cvp@p2003008C4F4F7C0088ABB34FC1FF93DD.dip0.t-ipconnect.de> has quit IRC (Quit: Leaving)10:00
*** Mister_Magister_ is now known as Mister_Magister10:13
*** nh1402_ <nh1402_!~nh1402@22.104.114.87.dyn.plus.net> has joined #sfdroid10:16
*** nh1402 <nh1402!~nh1402@22.104.114.87.dyn.plus.net> has quit IRC (Remote host closed the connection)10:17
*** Piece_Maker <Piece_Maker!~Acou_Bass@host-78-144-158-163.as13285.net> has joined #sfdroid11:33
*** Acou_Bass <Acou_Bass!~Acou_Bass@host-89-242-220-168.as13285.net> has quit IRC (Ping timeout: 246 seconds)11:34
*** Piece_Maker is now known as Acou_Bass11:34
*** Mister_Magister_ <Mister_Magister_!~mister@user-94-254-146-187.play-internet.pl> has joined #sfdroid11:45
*** Mister_Magister <Mister_Magister!~mister@user-94-254-146-187.play-internet.pl> has quit IRC (Ping timeout: 240 seconds)11:45
*** jakibaki <jakibaki!~textual@ipservice-092-217-212-051.092.217.pools.vodafone-ip.de> has quit IRC (Quit: Textual IRC Client: www.textualapp.com)12:01
*** Mister_Magister_ is now known as Mister_Magister12:19
*** nh1402_ <nh1402_!~nh1402@22.104.114.87.dyn.plus.net> has quit IRC (Ping timeout: 248 seconds)12:24
*** nh1402 <nh1402!~nh1402@22.104.114.87.dyn.plus.net> has joined #sfdroid12:27
*** sailfishmods <sailfishmods!~sailfishm@p2003008C4F4F7C0088ABB34FC1FF93DD.dip0.t-ipconnect.de> has quit IRC (Remote host closed the connection)12:39
*** CrKit <CrKit!~nekit@178-45-9-179.saransk.ru> has joined #sfdroid14:02
*** Mister_Magister <Mister_Magister!~mister@user-94-254-146-187.play-internet.pl> has quit IRC (Ping timeout: 240 seconds)14:28
*** Mister_Magister <Mister_Magister!~mister@user-94-254-151-68.play-internet.pl> has joined #sfdroid14:28
Mister_Magisterlxc-checkconfig is showing me that i don't have flags enabled even if i do14:57
malMister_Magister: which flags?15:10
Mister_Magistermal: almost every cgroup and others (gimme sec i'll make paste)15:11
malMister_Magister: are you sure you used the correct cgroup stuff for your kernel15:12
Mister_Magisterhttps://pastebin.com/Q0PAqhwa15:12
Mister_Magistermal: yes i am i even checked that manually15:12
malMister_Magister: you need to use CONFIG=/path/to/config/file lxc-checkconfig15:13
Mister_Magistermal: changes nothing15:14
malMister_Magister: you uncompressed the gzipped config from under /proc and then did that with correct path?15:15
malI'm pretty sure you didn't do that correctly15:15
Mister_Magistermal: ah yes now it's working15:16
Mister_Magistermal: didn't know you are into anbox15:22
*** Mister_Magister_ <Mister_Magister_!~mister@user-94-254-128-218.play-internet.pl> has joined #sfdroid15:45
Mister_Magister_mal: hotspot stopped working but all green15:45
*** Mister_Magister <Mister_Magister!~mister@user-94-254-151-68.play-internet.pl> has quit IRC (Ping timeout: 246 seconds)15:45
*** Mister_Magister_ is now known as Mister_Magister15:55
nh1402saidinesh5: you around?16:50
*** nh1402 <nh1402!~nh1402@22.104.114.87.dyn.plus.net> has quit IRC (Remote host closed the connection)17:05
*** nh1402 <nh1402!~nh1402@22.104.114.87.dyn.plus.net> has joined #sfdroid17:08
*** piggz <piggz!~piggz@95.149.121.33> has joined #sfdroid17:10
saidinesh5nh1402: will soon be on a flight.. so probably no?17:34
saidinesh5lol17:34
nh1402could you mention how to access logcat from anbox before you get on17:40
malI heard that it could be via adb17:43
malbut anyway I found the error I had, assert in libEGL so I need to fix it somehow17:44
nh1402[m]I'm about to get the Anbox android sources,  as soon as I can get free17:45
*** sailfishmods <sailfishmods!~sailfishm@p2E5765FE.dip0.t-ipconnect.de> has joined #sfdroid17:46
Mister_Magistersaidinesh5: where are you going?17:53
Mister_Magistermotorola source need willd namespace patching17:56
*** piggz <piggz!~piggz@95.149.121.33> has quit IRC (Ping timeout: 240 seconds)18:00
*** piggz <piggz!~piggz@95.149.121.33> has joined #sfdroid18:02
nh1402[m]Then do the namespace patching...18:08
Mister_Magisterhmmm?18:08
Mister_Magisternh1402[m]: what do you mean?18:08
nh1402[m]You said your device need patching,  so patch it18:09
Mister_Magisterno i said it needs wild patching18:09
Mister_Magisterwild/custom18:09
*** Mister_Magister_ <Mister_Magister_!~mister@user-94-254-144-114.play-internet.pl> has joined #sfdroid18:10
*** sailfishmods <sailfishmods!~sailfishm@p2E5765FE.dip0.t-ipconnect.de> has quit IRC (Remote host closed the connection)18:11
Mister_Magister_great kernel is still working after my patching. what now? install anbox-saiflishos and anbox-sailfishos-image?18:12
*** Mister_Magister <Mister_Magister!~mister@user-94-254-128-218.play-internet.pl> has quit IRC (Ping timeout: 248 seconds)18:14
*** Mister_Magister_ is now known as Mister_Magister18:18
nh1402Mister_Magister: which patches have you applied18:27
saidinesh5Mister_Magister: germany.. 1 week .. office stuff18:42
malsaidinesh5: is the anbox on your OBS 32-bit or 64-bit build18:46
saidinesh5only 32bit build mal18:47
nh1402[m]Should still work, I think.18:47
mal09-16 17:53:40.953   210   210 I gatekeeperd: Starting gatekeeperd...18:48
mal09-16 17:53:40.953   210   210 E ProcessState: Binder driver protocol does not match user space protocol!18:48
mal09-16 17:53:40.953   210   210 E ProcessState: Binder ioctl to set max threads failed: Bad file descriptor18:48
mal09-16 17:53:40.953   210   210 F ProcessState: Binder driver could not be opened.  Terminating.18:48
malthat is the current failure18:48
malcould be a 32-bit vs 64-bit issue18:48
Mister_Magistersaidinesh5: nice18:55
Mister_MagisterHow can i start anbox?18:56
saidinesh5mal:  you need to compile 64bit anbox image18:58
saidinesh5even the anbox installer script copies files/libraries from your system/vendor partition which are probably 64bit binaries18:58
malsaidinesh5: the installer script badly broken for device with both lib and lib6419:00
malI had to manually copy those19:00
saidinesh5mal: but the rest fo the anbox space is also 32bit.. so.. not sure how well it plays with your lib64..19:01
malwe'll see19:01
malI think we just need to make sure anbox handles the 64-bit kernel properly19:01
saidinesh5on desktop it does..19:02
malhmm19:02
malsaidinesh5: when using 32-bit android image?19:02
mal*anbox image19:02
*** TheKit <TheKit!~nekit@178-45-9-179.saransk.ru> has quit IRC (Remote host closed the connection)19:02
malsaidinesh5: I think is the relevant part TARGET_USES_64_BIT_BINDER := true19:06
Mister_Magistererm guys mal saidinesh5 i'm trying to run anbox on moto x force is there any point in doing that?19:07
saidinesh5mal: on desktop the image is also 64 bit19:07
saidinesh5could be..19:07
malsaidinesh5: I'll try a normal 32-bit image but with that define in BoardConfig.mk19:09
*** NeKit <NeKit!~nekit@178-45-9-179.saransk.ru> has joined #sfdroid19:12
nh1402[m]Someone may have already built a 64 bit anbox image, piggz maybe19:22
Mister_Magisterso i think i'll just give up19:23
*** piggz <piggz!~piggz@95.149.121.33> has quit IRC (Quit: Konversation terminated!)19:23
nh1402Mister_Magister: why19:24
*** piggz <piggz!~piggz@95.149.121.33> has joined #sfdroid19:24
piggznh1402: no, its on my list of things to do19:24
nh1402I'm getting the source now19:26
nh1402may/probably take a while19:26
nh1402probably should have done this some time ago19:26
*** Mister_Magister_ <Mister_Magister_!~mister@user-94-254-148-58.play-internet.pl> has joined #sfdroid19:27
*** Mister_Magister <Mister_Magister!~mister@user-94-254-144-114.play-internet.pl> has quit IRC (Ping timeout: 240 seconds)19:27
*** nh1402_ <nh1402_!~nh1402@22.104.114.87.dyn.plus.net> has joined #sfdroid19:30
*** nh1402 <nh1402!~nh1402@22.104.114.87.dyn.plus.net> has quit IRC (Read error: Connection reset by peer)19:30
malMister_Magister_: which kernel version, how much ram?19:33
malpiggz: building 64-bit failed for me so I continued with the modified 32-bit19:33
piggzmal: you got that to work on your device with 64bit kernel?19:35
*** nh1402 <nh1402!~nh1402@22.104.114.87.dyn.plus.net> has joined #sfdroid19:36
*** nh1402_ <nh1402_!~nh1402@22.104.114.87.dyn.plus.net> has quit IRC (Read error: Connection reset by peer)19:36
malpiggz: still building the modified rootfs19:36
Mister_Magister_mal: moto x force 3.10 3GB19:37
Mister_Magister_64bit19:37
malshould be possible19:38
malonly 3.4 kernels have had problems we cannot solve easily (although I think I have a list of 35 patches needed to make it possibly work)19:39
saidinesh5o_o 34 Patches?19:40
saidinesh5where did you get that list from mal?19:40
malsaidinesh5: it was the list patches applied to 3.7 kernel to make lxc work properly19:41
malor actually those were merged to 3.8 by anyway19:41
mal*but anyway19:41
saidinesh5Ahh I see19:42
saidinesh5the odd thing is i have no idea how the ubports guys/even the webos guys make their droid-hal run inside an lxc19:42
*** nh1402_ <nh1402_!~nh1402@22.104.114.87.dyn.plus.net> has joined #sfdroid19:42
*** nh1402 <nh1402!~nh1402@22.104.114.87.dyn.plus.net> has quit IRC (Read error: Connection reset by peer)19:42
malhappened to find the branch used for reviewing the the patches needed for lxc19:42
malsaidinesh5: because they run a much more minimal version of android than anbox does19:43
saidinesh5true19:43
saidinesh5but we ccouldnt get that to boot up either..19:43
malhalium does work on 3.4 kernel also19:44
maland that uses containers also19:44
saidinesh5yep, same stuff as the other two iirc19:44
Mister_Magister_well by now overlayfs patch is no good for 3.10 kernel19:46
malI had to adapt it a little19:46
saidinesh5there was a separate overlayfs patch for 3.10 kernel iirv19:46
Mister_Magister_i have to addapt it a little more19:46
saidinesh5iirc19:46
Mister_Magister_because there is no vfs_readdir19:47
malMister_Magister_: yes, same issue I had19:49
malMister_Magister_: try this https://pastebin.com/XUdm7cAm19:51
malsaidinesh5: the 3.10 patch didn't apply, I had to adapt the 3.11 patch19:54
saidinesh5Ahh.. mal which device btw?19:54
malxperia x19:54
saidinesh5Ahh you too?19:54
saidinesh5wow. a lot of people in here seems to have that one!19:54
*** nh1402 <nh1402!~nh1402@22.104.114.87.dyn.plus.net> has joined #sfdroid20:02
*** nh1402_ <nh1402_!~nh1402@22.104.114.87.dyn.plus.net> has quit IRC (Ping timeout: 260 seconds)20:02
Mister_Magister_mal: that patch is not working20:03
malthen adapt it20:05
Mister_Magister_meh20:06
Mister_Magister_now i need to clean my kernel from junk20:06
maladapting a patch is not that difficult20:08
malpretty sure it's some tiny differences in the surroundings or the patched parts, I had to fix 4 parts of the patch20:09
Mister_Magister_mal: reverting everything anbox will not work anyway20:10
mal?20:10
Mister_Magister_?20:11
malwhat did you mean by that last sentence20:11
Mister_Magister_i'm reverting every change that i made for anbox20:11
malwhy?20:17
Mister_Magister_because it's too much work and it will not work anyway so there is no point20:20
*** jakibaki <jakibaki!~textual@ipservice-092-217-212-051.092.217.pools.vodafone-ip.de> has joined #sfdroid20:21
malMister_Magister_: you are really giving up if one patch doesn't apply? why are you even trying then to even port?20:22
*** Mister_Magister_ <Mister_Magister_!~mister@user-94-254-148-58.play-internet.pl> has quit IRC (Ping timeout: 248 seconds)20:26
*** Mister_Magister_ <Mister_Magister_!~mister@user-94-254-167-87.play-internet.pl> has joined #sfdroid20:30
Mister_Magister_mal: it's not the first thing that fails20:31
Mister_Magister_name 2 devices on which anbox is working i'll wait20:31
malmost device have been 3.4, not sure what 3.10 or newer have been tried20:32
malsaidinesh5: building of external/wayland fails it seems20:41
malsaidinesh5: which environment did you use for the build?20:42
saidinesh5mal: krnlyng built that. iirc he just built the libwaylandclient20:44
malsaidinesh5: what do you mean?20:45
saidinesh5he built libwaylandclient as part of habuild sdk20:46
malok20:46
malsaidinesh5: no help, I built that manually and tried to continue but same error20:47
saidinesh5whats the error?20:47
malsaidinesh5: https://pastebin.com/KfeDYuBr20:49
saidinesh5mal: this branch is incomplete afaik, could you use the older parts?20:50
saidinesh5this branch is krnlyng's hyperexperimental make surfaceflinger talkto wayland outside directly20:50
saidinesh5thought you wanted to compile wayland just for future testing..20:51
nh1402[m]Stick with upstream anbox with flag20:52
malsaidinesh5: which parts20:53
saidinesh5looking..20:53
saidinesh5nh1402[m]: not even that.. the anbox that worked with sailfish os was just one hyperpatched version long long ago20:53
saidinesh5had to rip out some additional boost dependency from that.20:54
saidinesh5and it used the original sfdroid code krnlyng wrote..20:54
Mister_Magister_mal: i'll come back to this when it will finally work20:54
saidinesh5https://github.com/sfdroid/anbox/commit/cf6fb4f5c7ff486f24782cf7658f9ef7aab0527a20:55
saidinesh5i think that one20:55
saidinesh5https://github.com/sfdroid/anbox/commits/anbox20:55
nh1402[m]Well my thinking was we could use the  rpms you built to test we've got the kernel patches and configs right,  and then I'll work on upstream anbox20:55
saidinesh5hmm.. getting upstream anbox is still a pain .. because of its newer boost dependencies20:56
saidinesh5i cant just blindly replace boost in sailfish ,as i dont know what all parts of sailfish depend on it..20:56
nh1402[m]Well by upstream I meant adding touchscreen support , sensors20:58
nh1402[m]Then look at removing dependencies20:58
saidinesh5ah20:58
malsaidinesh5: I think I need to talk to krnlyng about what exactly he used20:59
malnh1402[m]: and we really should the proper sailfish platform to upstream20:59
*** jakibaki <jakibaki!~textual@ipservice-092-217-212-051.092.217.pools.vodafone-ip.de> has quit IRC (Quit: Textual IRC Client: www.textualapp.com)20:59
mal*should add20:59
nh1402[m]Adding sensors support might mean we can get rid of Google mock dependency20:59
saidinesh5mal: more like "headless platform"20:59
malsaidinesh5: yes, whatever it's called21:00
nh1402[m]It's either for sensors or gps21:00
saidinesh5mhm, for that there is still a lot of work to be done though21:00
nh1402[m]What do you mean by headless?21:00
saidinesh5anbox doesnt render thingsanymroe21:00
nh1402[m]So how is that handled21:00
saidinesh5it surfaceflinger directly tells lipstick to create windows21:01
saidinesh5using libwayland21:01
*** Mister_Magister_ <Mister_Magister_!~mister@user-94-254-167-87.play-internet.pl> has quit IRC (Ping timeout: 246 seconds)21:02
nh1402[m]I meant how does anbox handle drawing if it's headless21:03
*** piggz <piggz!~piggz@95.149.121.33> has quit IRC (Read error: Connection reset by peer)21:03
*** Mister_Magister_ <Mister_Magister_!~mister@user-94-254-225-203.play-internet.pl> has joined #sfdroid21:05
*** jakibaki <jakibaki!~textual@ipservice-092-217-212-051.092.217.pools.vodafone-ip.de> has joined #sfdroid21:07
dr_gogeta86saidinesh5, did you updated the build patches ?21:11
dr_gogeta86Last week got problems with qemu21:11
saidinesh5nope...  dr_gogeta8621:11
nh1402[m]We can go to town on the anbox code once we can confirm it boots21:12
saidinesh5nh1402[m]: anbox doesnt "handle" drawing anymore after that. our anbox-image would directly speak to lipstick21:12
saidinesh5yeah21:12
dr_gogeta86i've pulled master and try to build with your patches on fedora ... a total failure21:12
dr_gogeta86:-(21:12
nh1402[m]Isn't fedora a type of hat21:12
saidinesh5dr_gogeta86: which patches are you talking about?21:13
dr_gogeta86pulled anbox master ...21:13
dr_gogeta86ad yours from build on non ubuntu21:13
saidinesh5Ahh21:13
saidinesh5iirc anbox master is something we haveent touched in a while21:14
dr_gogeta86quiet different21:14
saidinesh5yeah a  lot of things changed after we forked it21:14
dr_gogeta86why ubuntu have so much divert21:16
dr_gogeta86everytime a mess21:16
dr_gogeta86not only for anbox21:16
dr_gogeta86but even unity ...21:16
nh1402[m]> yeah a  lot of things changed after we forked it21:18
nh1402[m]What has changed?21:18
saidinesh5the added in more boost dependenciies for one21:23
saidinesh5after that they started refactoring things into "platforms" to make it more easy for us to send a pull request21:23
saidinesh5which has been long overdue now21:23
nh1402[m]For Pete sake why are they adding more dependencies21:25
saidinesh5they were simply using newer boost version21:27
saidinesh5while sailfish is shippiing a very old one21:27
nh1402[m]It's going to take a while for us to take get rid of them21:27
saidinesh5or..  we can simply update our packages..21:28
saidinesh5we already compiled a lot of packages, and backported boost-log to our 1.5221:28
nh1402[m]But still21:29
saidinesh5at this point i am really tempted to port snapd or something so we dont have to worry about this pointless thing21:29
nh1402[m]It looks like the dependencies are going to increase instead of decrease21:29
saidinesh5well still better than them reinventing the wheel in a buggy way21:30
nh1402[m]We could try, but doesn't that also require kernel patches too21:30
nh1402[m]The Snap package would include the dependencies along with Anbox too right?21:30
saidinesh5if we wanted apparour or something, then we do21:31
saidinesh5yep21:31
saidinesh5i was hopiing to get my 3.10 kernel up and running this weekend but too much to do for the travel thing21:31
saidinesh5okay afk now. need to head to the airport..21:31
nh1402[m]Well if my connection doesn't keep dropping out then I'll get the anbox android sources and do stuff21:38
nh1402[m]Touchscreen support is probably the first thing to do21:38
nh1402[m]Then see what's next21:39
malsaidinesh5: this helped with the build: make protocol/wayland-client-protocol.h21:57
*** nh1402 <nh1402!~nh1402@22.104.114.87.dyn.plus.net> has quit IRC (Ping timeout: 240 seconds)22:06
*** nh1402 <nh1402!~nh1402@22.104.114.87.dyn.plus.net> has joined #sfdroid22:31
*** CrKit <CrKit!~nekit@178-45-9-179.saransk.ru> has quit IRC (Ping timeout: 255 seconds)22:46
*** Mister_Magister <Mister_Magister!~mister@user-94-254-147-41.play-internet.pl> has joined #sfdroid22:47
*** Mister_Magister_ <Mister_Magister_!~mister@user-94-254-225-203.play-internet.pl> has quit IRC (Ping timeout: 240 seconds)22:47
*** Mister_Magister <Mister_Magister!~mister@user-94-254-147-41.play-internet.pl> has quit IRC (Ping timeout: 240 seconds)22:54
*** nh1402 <nh1402!~nh1402@22.104.114.87.dyn.plus.net> has quit IRC (Remote host closed the connection)22:57
*** Mister_Magister <Mister_Magister!~mister@user-94-254-150-65.play-internet.pl> has joined #sfdroid23:34

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