#sfdroid log for Wednesday, 2017-05-17

*** Piece_Maker <Piece_Maker!~Acou_Bass@host-89-241-255-180.as13285.net> has joined #sfdroid02:34
*** Acou_Bass <Acou_Bass!~Acou_Bass@host-78-144-157-133.as13285.net> has quit IRC (Ping timeout: 272 seconds)02:37
*** Piece_Maker is now known as Acou_Bass02:37
*** piggz_ <piggz_!~piggz@95.147.209.146> has quit IRC (Read error: No route to host)05:28
*** piggz_ <piggz_!~piggz@95.147.209.146> has joined #sfdroid05:28
*** piggz_ <piggz_!~piggz@95.147.209.146> has quit IRC (Read error: Connection reset by peer)05:36
*** piggz_ <piggz_!~piggz@95.147.209.146> has joined #sfdroid05:36
kimmolioo06:10
*** piggz_ <piggz_!~piggz@95.147.209.146> has quit IRC (Read error: Connection reset by peer)06:13
*** piggz <piggz!~piggz@95.147.209.146> has joined #sfdroid06:13
locusfwoah06:53
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has joined #sfdroid07:27
*** taaem <taaem!~taaem@unaffiliated/taaem> has joined #sfdroid08:11
locusfdoes it take long to start android container and the window to appear?10:58
mallocusf: on fp2 it doesn't work yet, container started ok but UI not11:12
locusfmal: ok same symptoms then11:12
locusfthanks for the packages btw :)11:13
mallocusf: looks like the wayland version is already on github but not built on OBS afaik11:18
locusfyeah11:20
locusfkrnlyng__: to the rescue11:20
nh1402again11:20
saidinesh5yup. it will be a little mroe while for it to be on OBS though12:27
saidinesh5it doesnt detect screen resolution yet.. doesnt do input, plus anbox side of cleanups and reimplementation is totally not done yet12:28
saidinesh5for me there's something wrong with my container patches on my device though12:29
nh1402saidinesh5: Google I/O today12:29
*** taaem <taaem!~taaem@unaffiliated/taaem> has quit IRC (Ping timeout: 246 seconds)12:31
saidinesh5oh it started ?12:32
nh1402it starts today12:37
nh1402the keynote is later 3/4 hours time I think12:37
nh1402might be time to start looking at android o sources12:39
nh1402although the final sources don't get released till much later in the year12:39
saidinesh5Ahh12:43
saidinesh5might be time to look at fucshia sources :P12:43
nh1402that's a different OS altogether with a unix micro kernel12:44
nh1402with a horrid UI12:44
saidinesh5i thought the UI was just a proof of concept?12:45
saidinesh5iirc the demos on the verge was actually the UI running on an Android phone.. compiled with flutter12:46
nh1402that UI looks like it's designed for a TV12:47
nh1402not a phone12:47
* saidinesh5 shrugs12:48
nh1402saidinesh5 agrees12:48
saidinesh5nh1402: any idea where i go for some help on kernel configs for LXC?13:15
saidinesh5#lxc and #lxcontainers seem  to be very quiet13:15
nh1402luneos ?13:17
nh1402they use an lxc container for their ports I think13:18
saidinesh5hmm..13:18
nh1402their channel is #webos-ports13:19
nh1402saidinesh5: I think Tofe should know (involved with luneos if I'm not mistaken), he/she is in the user list on #sailfishos-porters no idea if he/she's available though13:22
saidinesh5yup pinged him there13:22
*** Mister_Magister_ <Mister_Magister_!~foidbgen@user-94-254-147-60.play-internet.pl> has joined #sfdroid13:44
*** Mister_Magister_ is now known as Mister_Magister13:45
nh1402saidinesh5: anything?14:45
saidinesh5noope. no reply on any channel so far14:45
saidinesh5digging through the code slowly myself14:45
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has quit IRC (Quit: Leaving)15:31
saidinesh5hmm.. unsure where to dig though. the net cls cgroup related files are more or less identical between mine and fp2 sources: https://github.com/atilag/fairphone2-kernel15:36
krnlyng__mal, do your gralloc headers contain any vendor specific modifications?16:49
krnlyng__mal, i am preparing a new image right now, will take some hours though since i need to implement linker hack & screen size acquiring in hwcomposer, but be prepared :)16:50
*** piggz <piggz!~piggz@95.147.209.146> has quit IRC (Read error: Connection reset by peer)16:53
*** piggz <piggz!~piggz@95.147.209.146> has joined #sfdroid16:53
malkrnlyng__: not 100% sure, it should be mostly aosp, the repos are online16:54
malsaidinesh5: wondering what repo that is, the official repo is elsewhere in fairphone gerrit16:56
saidinesh5Oh.. dunno just looked for fp2 kernel sources and found that16:57
saidinesh5mal: so your session manager was also running on fp2?16:57
saidinesh5what does your container.log look like?16:57
malyes, seemed like it16:57
malI can try16:58
saidinesh5Aye let me know16:58
saidinesh5cant seem to find any info on why it fails for me16:58
saidinesh5and not quite sure how to debug it16:58
saidinesh5seems like a kernel issue so far though.. mkdir failing that is16:59
Mister_Magisterkrnlyng__: in sfdroid with anbox you can enable/disable android?17:40
krnlyng__Mister_Magister, you can start & stop the container yes17:40
krnlyng__Mister_Magister, needs GUI but can be done yes17:40
Mister_Magisterkrnlyng__: because sfdroid on 1GB ram was kinda working. The multitasking was cut down to 2-3 apps but with zram it would be even better so if anbox can be disabled then you will be able to cut down multitasking just for a moment17:41
saidinesh5is it just me or is google io quite boring as of now? AI this , AI that..17:56
saidinesh5seems a lot more like a shinier  packaging for their Ads as of  now..17:57
Mister_Magistersaidinesh5: i hate google :D I'm making my own AI :V17:57
saidinesh5heh17:58
*** piggz <piggz!~piggz@95.147.209.146> has quit IRC (Quit: Konversation terminated!)18:12
*** piggz <piggz!~piggz@95.147.209.146> has joined #sfdroid18:13
*** cvp <cvp!~cvp@pD9EE3AA1.dip0.t-ipconnect.de> has joined #sfdroid18:19
nh1402[m]well all they've done is add a dot to icons to show that the app in question has a notification18:33
nh1402[m]NO WAY18:33
*** cvp <cvp!~cvp@pD9EE3AA1.dip0.t-ipconnect.de> has quit IRC (Quit: Leaving)18:33
nh1402[m]AMAZING /s18:33
nh1402[m]smart highlighting, and Picture in Picture18:34
saidinesh5*cough*applet layer*cough*18:35
nh1402[m]what the heck is kotlin18:39
saidinesh5saner language that runs on JVM.18:42
saidinesh5quite famous and neater than Javaargh18:42
saidinesh5at least less painful back when i tried it18:42
nh1402[m]so like Scala18:43
nh1402[m]hmm, Android Go might be useful to us.18:43
locusfandroid go?18:45
nh1402[m]locusf: a configuration of Android O that runs on devices with 1GB RAM or less18:46
locusfok wow18:47
nh1402[m]they even claim it works with 512MB RAM18:47
nh1402[m]saidinesh5: wow, his pronunciation of hindi is really bad18:49
saidinesh5lol18:49
kimmolihttps://www.cnet.com/news/android-go-phone-os-features/18:54
nh1402[m]kimmoli: Once it's out we should configure sfdroid to use that by default.18:56
saidinesh5brace yourself .. google is competing with linked in.. more spam to your email ? :P18:58
nh1402[m]saidinesh5: YES MORE SPAM18:59
nh1402[m]saidinesh5: can you send me some spam mail, please. I can't get enough! /s19:00
saidinesh5heh19:00
nh1402[m]Mister_Magister: Android Go19:02
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-lmywqmuxkmybzzww> has joined #sfdroid19:05
krnlyng__mal, can you test the new rpms (both anbox and anbox-sailfishos-image updated)?19:37
krnlyng__mal, i think anbox is still building19:37
locusfI can test too19:40
Mister_Magisternh1402[m]: hmmmmmmmm19:43
locusf[   34s] /usr/sbin/zic: option requires an argument -- 'l'19:46
locusftheres something like that in the obs build log for the image19:46
locusfah it needs forced reinstall19:48
krnlyng__locusf, do you have the updated kernel?19:49
locusfI do19:49
locusfany debug tips?20:18
krnlyng__locusf, not working?20:23
krnlyng__locusf, how did you start it?20:23
locusfnope20:23
locusfcommand line with anbox launch20:23
locusfsame line as with .desktop20:24
krnlyng__ah no you need this:20:24
krnlyng__as root20:24
krnlyng__anbox container-manager --privileged20:24
krnlyng__as normal user:20:24
krnlyng__anbox session-manager20:24
krnlyng__container manager needs to be running first20:24
locusfthose are both on20:24
krnlyng__hm ok20:24
krnlyng__then we need to debug with adb20:24
krnlyng__locusf, https://www.dropbox.com/s/hpm3pt9gamoidph/anbox-adb?dl=020:26
krnlyng__run this20:26
krnlyng__android-adb shell20:27
krnlyng__erm20:27
krnlyng__anbox-adb shell20:27
locusfcontainer.log has errors about anbox-init.sh having a SIGCHLD20:28
krnlyng__hm20:28
locusfhttps://gist.github.com/locusf/e8c48680595da81f514550a2f92ea74220:28
krnlyng__locusf, can you check if /var/lib/anbox/data/tombstones/tombstone_0* exist and upload those?20:29
locusfnope no existing tombstones20:30
krnlyng__ok20:30
krnlyng__then the container doesn't start properly20:31
krnlyng__hmm20:31
krnlyng__maybe a kernel config missing?20:31
krnlyng__let me check my logs20:31
locusfanything interesting in the gist20:31
malhmm, wondering what could be missing, I added all the lxc checker told but not all got enabled20:32
krnlyng__locusf, i have the same in the logs so it's probably fine20:32
krnlyng__locusf, ps aux20:32
malkrnlyng__: which one do you have in log? the invalid pid thing?20:33
krnlyng__yes20:33
locusfanything specific to look for20:33
krnlyng__and the init exited20:33
krnlyng__locusf, surfaceflinger and other android processes20:33
locusfin ps axu20:33
malkrnlyng__: ok, so those are not real errors?20:33
krnlyng__mal, maybe not20:33
locusfnope20:34
locusfI'll reboot20:35
krnlyng__locusf, try starting the container manager and session manager manually to see if they print errors20:35
krnlyng__after the reboot20:35
locusfwill do20:35
locusfnothing is printed for either20:36
locusfsame logs20:39
krnlyng__locusf, my ps fax output: https://bpaste.net/show/5c49c478c80220:39
krnlyng__locusf, nothing comparable?20:40
krnlyng__like /init --second-stage running?20:40
locusfno20:40
krnlyng__can you send me the whole container.log file?20:41
krnlyng__or is that everything?20:41
locusfI can20:41
locusfone moment20:41
locusfhttps://gist.github.com/locusf/e386c887b738fd4b4d8cffc53cca08c020:41
krnlyng__ahh actually: lxc_start - start.c:signal_handler:326 - Container init process 24698 exited. this i only have when the container is stopped20:42
malso something is causing the init to fail20:44
krnlyng__mhm20:45
krnlyng__locusf, can you strace anbox /init?20:46
krnlyng__locusf, instructions:20:46
krnlyng__locusf, copy /var/lib/anbox/rootfs/anbox-init.sh to /var/lib/anbox/overlay/anbox-init.sh20:46
krnlyng__modify /init call to /system/xbin/strace -o /data/log_init -fF /init20:47
krnlyng__then restart the container20:47
locusfok20:47
krnlyng__and cat /var/lib/anbox/data/log_init from outside20:47
krnlyng__modify inside anbox-init.sh*20:47
locusfno log file found20:50
locusffor log_init that is20:51
krnlyng__hmm21:05
krnlyng__no idea currently21:05
krnlyng__#lxc?21:05
malcould there be some problem with the kernel still21:13
krnlyng__mal, saidinesh5 also has weird problems21:24
malok21:24
krnlyng__whats the minimal kernel version which is supported by lxc 2.0?21:24
malkrnlyng__: "We still support all kernels from 2.6.32 though the exact feature set does obviously vary based on kernel features" https://stgraber.org/2016/04/06/lxc-2-0-has-been-released/21:27
krnlyng__ok21:27
saidinesh5not sure what the issue is but the lune os guys are able to use hammerhead (3.4) kernel with vvery minimal changes to power their lxc 2.021:48
saidinesh5their defconfig: https://github.com/shr-distribution/meta-smartphone/tree/krogoth/meta-lg/recipes-kernel/linux/linux-lg-hammerhead21:49
saidinesh5their commits: https://github.com/Tofee/android_kernel_lge_hammerhead/commits/hammerhead/3.4/cm-12.121:49
*** Mister_Magister_ <Mister_Magister_!~foidbgen@user-94-254-147-60.play-internet.pl> has joined #sfdroid22:10
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-147-60.play-internet.pl> has quit IRC (Ping timeout: 255 seconds)22:10
*** piggz <piggz!~piggz@95.147.209.146> has quit IRC (Read error: No route to host)22:11
*** piggz <piggz!~piggz@95.147.209.146> has joined #sfdroid22:11
*** Mister_Magister_ <Mister_Magister_!~foidbgen@user-94-254-147-60.play-internet.pl> has quit IRC (Quit: Konversation terminated!)22:26
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-lmywqmuxkmybzzww> has quit IRC (Quit: Connection closed for inactivity)22:54
saidinesh5Okay.. disabling CONFIG_NET_CLS_CGROUP moved me to the next error. that's progress!22:56

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