#sfdroid log for Friday, 2017-01-06

*** NeKit <NeKit!~nekit@176.59.18.45> has joined #sfdroid00:50
*** NeKit <NeKit!~nekit@176.59.18.45> has quit IRC (Ping timeout: 246 seconds)00:58
*** kimmoli <kimmoli!~kl@194.100.69.195> has quit IRC (*.net *.split)01:13
*** nkf1 <nkf1!~nk@104.236.175.225> has quit IRC (*.net *.split)01:13
*** dr_gogeta86 <dr_gogeta86!~gogeta@unaffiliated/dr-gogeta86/x-8885803> has quit IRC (*.net *.split)01:13
*** dr_gogeta86 <dr_gogeta86!~gogeta@195.ip-37-187-42.eu> has joined #sfdroid01:14
*** NeKit <NeKit!~nekit@81.30.60.40> has joined #sfdroid01:14
*** dr_gogeta86 <dr_gogeta86!~gogeta@195.ip-37-187-42.eu> has quit IRC (Changing host)01:14
*** dr_gogeta86 <dr_gogeta86!~gogeta@unaffiliated/dr-gogeta86/x-8885803> has joined #sfdroid01:14
*** kimmoli <kimmoli!~kl@194.100.69.195> has joined #sfdroid01:14
*** nkf1 <nkf1!~nk@104.236.175.225> has joined #sfdroid01:14
*** NeKit <NeKit!~nekit@81.30.60.40> has quit IRC (Ping timeout: 248 seconds)01:27
saidinesh5bah some of my sources werent fully downloaded..01:53
*** NeKit <NeKit!~nekit@81.30.60.30> has joined #sfdroid02:15
*** NeKit <NeKit!~nekit@81.30.60.30> has quit IRC (Ping timeout: 256 seconds)02:42
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has joined #sfdroid08:11
*** phlixi <phlixi!~phlixi@ppp-88-217-54-66.dynamic.mnet-online.de> has quit IRC (Read error: Connection reset by peer)08:23
*** phlixi <phlixi!~phlixi@ppp-88-217-54-66.dynamic.mnet-online.de> has joined #sfdroid08:23
*** krnlyng <krnlyng!~liar@77.116.51.233.wireless.dyn.drei.com> has quit IRC (Ping timeout: 248 seconds)08:25
*** NeKit <NeKit!~nekit@176.59.18.134> has joined #sfdroid08:29
*** maheart <maheart!~maheart@110-174-95-7.static.tpgi.com.au> has quit IRC (*.net *.split)08:31
*** MMori <MMori!~MMori@armorila.net> has quit IRC (*.net *.split)08:31
*** locusf <locusf!~locusf@a88-112-228-79.elisa-laajakaista.fi> has quit IRC (*.net *.split)08:31
*** smurfynet <smurfynet!~smurfynet@ppp-93-104-111-82.dynamic.mnet-online.de> has quit IRC (*.net *.split)08:31
*** mal <mal!~mal@dsl-hkibrasgw1-58c392-192.dhcp.inet.fi> has quit IRC (*.net *.split)08:31
*** saidinesh5 <saidinesh5!~quassel@minad.de> has quit IRC (*.net *.split)08:31
*** maheart <maheart!~maheart@110-174-95-7.static.tpgi.com.au> has joined #sfdroid08:37
*** MMori <MMori!~MMori@armorila.net> has joined #sfdroid08:37
*** smurfynet <smurfynet!~smurfynet@ppp-93-104-111-82.dynamic.mnet-online.de> has joined #sfdroid08:37
*** locusf <locusf!~locusf@a88-112-228-79.elisa-laajakaista.fi> has joined #sfdroid08:37
*** mal <mal!~mal@dsl-hkibrasgw1-58c392-192.dhcp.inet.fi> has joined #sfdroid08:37
*** saidinesh5 <saidinesh5!~quassel@minad.de> has joined #sfdroid08:37
*** krnlyng <krnlyng!~liar@77.116.51.233.wireless.dyn.drei.com> has joined #sfdroid08:39
*** ChanServ sets mode: +o krnlyng08:39
*** NeKit <NeKit!~nekit@176.59.18.134> has quit IRC (Read error: Connection reset by peer)08:46
*** NeKit <NeKit!~nekit@176.59.12.64> has joined #sfdroid08:47
*** NeKit <NeKit!~nekit@176.59.12.64> has quit IRC (Ping timeout: 258 seconds)08:54
*** krnlyng <krnlyng!~liar@77.116.51.233.wireless.dyn.drei.com> has quit IRC (Ping timeout: 240 seconds)09:19
*** krnlyng <krnlyng!~liar@77.116.88.74.wireless.dyn.drei.com> has joined #sfdroid09:32
*** ChanServ sets mode: +o krnlyng09:32
*** NeKit <NeKit!~nekit@188.162.36.22> has joined #sfdroid09:49
*** NeKit <NeKit!~nekit@188.162.36.22> has quit IRC (Ping timeout: 258 seconds)10:01
*** NeKit <NeKit!~nekit@176.59.116.247> has joined #sfdroid10:31
*** Tofe <Tofe!~Tofe@nor75-20-82-247-155-176.fbx.proxad.net> has joined #sfdroid10:41
TofeMorning!10:41
TofeHas someone around here already tried starting sfdroid from within a lxc container ?10:44
malnot sure if anyone has tried but there was talk about that here yesterday10:50
nh1402saidinesh5: has been attempting it10:51
*** rinigus <rinigus!~rinigus@jyri-gw.levikom.ee> has joined #sfdroid11:30
*** NeKit <NeKit!~nekit@176.59.116.247> has quit IRC (Ping timeout: 248 seconds)11:44
TofeWell, I'll be trying it in a couple of days too, so we'll see11:52
TofeIf I understand well how sfdroid works, to test it I just have to compile sfdroid-renderer and start it alongside the other android runtime. It should then start the launcher. right?12:16
saidinesh5Tofe: interesting timing! i actually saw your comments on Lune OS just yesterday!12:28
saidinesh5Tofe: that's right. make Sfdroid renderer start your lxc container with the patched android12:29
Tofesaidinesh5: yes, we just finished migrating to a CM12.1-based libhybris, and we now re-use the /system partition that is present on the device, much like sailfishos ports do.12:32
saidinesh5Ahh12:32
TofeSo it *should* be pretty straightforward, except I guess it will need a bit of lxc tweaking to let sfdroid communicate with wayland.12:33
saidinesh5i basically compiled sfdroid for my device but it was too messy to debug when it was loading a 100 different services from my installed apps from my /data, and putting in LD_PRELOAD, LD_LIBRARY_PATH in Sailfish's droid-init's init.rc was messing with my system12:34
saidinesh5hence trying to move to LXC, but since yesterday compiiling android12:34
saidinesh5Tofe: the plan for the communication is to share the /tmp12:34
saidinesh5sfdroid-renderer communicates with the patched libhardware modules via. a Unix domain socket12:35
Tofeah, yes, would be quite a simple solution12:35
saidinesh5plus need to figure out how to share dbus12:35
Tofeit needs dbus?12:35
saidinesh5that's what SFdroid is using to deal with activating/deactivating some services afaik12:36
Tofeah ok, I'll need to have a look at that12:37
saidinesh5<nh1402> mobile data and WiFi work via dbus, and everything else is via the socket iirc12:37
saidinesh5Tofe: you got any stripped down manifest.xml i can use?12:37
Tofesure ;)12:38
saidinesh5yesterday after like 6 hours i had to find out that my build was worthless because i didnt have unzip in my chrooot and it was leading to all kinds of errors12:38
Tofesaidinesh5: something like that https://gist.github.com/Tofee/c57009c5eca19130a412c7cfaf66d26c12:38
Tofebut keep in mind that I'm just building the hybris HAL bit12:39
Tofenot the whole CM12:39
saidinesh5oh i meant the whole CM12:39
saidinesh5i am trying to compile it for lxc right?12:39
saidinesh5so i need a manifest.xml as minimal CM as i could get away with12:40
Tofebut you still want to apply the hybris patch, right?12:41
Tofealso I would advise you to build the embedded android target instead of the whole aosp stuff12:42
saidinesh5why would i need hybris patch?12:43
saidinesh5oh i wrote a custom sfdroid.mk with to build core_minimal12:43
saidinesh5we do need some AOSP stuff for sfdroid..12:45
saidinesh5frameworks etc..12:45
Tofeah it's true that in this case, you don't mix bionic and glibc stacks, so it might not be needed. I'm a bit lost sometimes :)12:46
saidinesh5embedded looked like it would build only the native part of frameworks all the things that go into bin/ etc..12:46
saidinesh5but even core minimal - the bit that failed to compile after 6 hours ate like 30 GB of hard disk and compiled every useless thing12:47
saidinesh5half of which is chromium12:47
TofeI'm not very surprised, it's very hard to untangle the whole thing12:47
*** horuxan <horuxan!~horuxanxx@201.46.189.63> has quit IRC (Read error: Connection reset by peer)12:49
*** horuxan <horuxan!~horuxanxx@201.46.189.63> has joined #sfdroid12:49
*** taaem <taaem!~taaem@unaffiliated/taaem> has joined #sfdroid13:08
*** cvp <cvp!~cvp@dslb-088-075-219-005.088.075.pools.vodafone-ip.de> has joined #sfdroid13:21
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has quit IRC (Quit: Leaving)13:26
*** horuxan <horuxan!~horuxanxx@201.46.189.63> has quit IRC (Remote host closed the connection)13:47
*** nh1402 <nh1402!~nh1402@2.26.4.250> has joined #sfdroid13:59
saidinesh5nh1402: do you have a manifest for a stripped down android/cyanogenmod?14:24
nh1402saidinesh5, i dont believe so14:26
Tofesaidinesh5: you do know that mer-project's manifest is already a bit stripped down, right?14:28
saidinesh5Tofe: i cant start with mer project's manifest. because i have no clue what i need to add on top of it for android stuff we need.14:29
saidinesh5that's why stripping down a cyanogenmod's manifest manually14:29
TofeOk. Well, then, good luck :)14:30
saidinesh5heh each edit means at least 10-15 minutes of make that tells me something is missing14:30
Tofesaidinesh5: that version of my local_manifest did build, in my case, iirc: https://gist.github.com/Tofee/c57009c5eca19130a412c7cfaf66d26c/759e7e2a422928c2df818eff0aafa90dd18d506214:33
TofeBut it was made to be compiled with hybris, so maybe it'll just make you lose time instead14:34
Tofe(though it was a full minimal build)14:34
saidinesh5why the:  <project path="prebuilts/qemu-kernel" name="platform/prebuilts/qemu-kernel" groups="pdk" clone-depth="1" remote="aosp" /> ?14:34
TofeThat was required by the build at some point14:35
TofeI agree it looks weird14:35
* saidinesh5 adds it back to his manifest14:35
saidinesh5Tofe: is chromium really needed for the CM build?14:40
saidinesh5i remember with 5.1 android moved it's webview/html viewer to use that14:40
saidinesh5they eat up like half the build time14:41
TofeI don't really know14:44
TofeBut yes it's a pretty big piece...14:44
*** rinigus <rinigus!~rinigus@jyri-gw.levikom.ee> has quit IRC (Ping timeout: 245 seconds)15:24
nh1402saidinesh5, what you could try and do is, modify the arm emulator image to work with sfdroid, and put that into an lxc containter, that should could run on numerous devices, although I'm not sure about performance.15:40
saidinesh5hmm....15:44
saidinesh5nh1402: how is audio handled?15:44
nh1402saidinesh5, I have absolutely no idea16:16
saidinesh5hmm16:17
nh1402i want to go out on a limb and say audio worked straight away on the nexus 5, but other devices needed some modifications, but I really don't know for sure.16:18
*** NeKit <NeKit!~nekit@188.162.205.89> has joined #sfdroid16:55
*** NeKit <NeKit!~nekit@188.162.205.89> has quit IRC (Ping timeout: 258 seconds)17:04
*** rinigus <rinigus!~rinigus@jyri-gw.levikom.ee> has joined #sfdroid17:06
saidinesh5art/runtime/gc/space/malloc_space.h:23:10: fatal error: 'valgrind.h' file not found17:13
saidinesh5O_O17:13
saidinesh5art needs valgrind now?17:14
*** rinigus <rinigus!~rinigus@jyri-gw.levikom.ee> has quit IRC (Quit: Leaving)17:28
*** cvp <cvp!~cvp@dslb-088-075-219-005.088.075.pools.vodafone-ip.de> has quit IRC (Remote host closed the connection)18:02
*** NeKit <NeKit!~nekit@188.162.200.221> has joined #sfdroid18:26
*** NeKit <NeKit!~nekit@188.162.200.221> has quit IRC (Ping timeout: 255 seconds)18:43
*** maheart1 <maheart1!~maheart@110-174-95-7.static.tpgi.com.au> has joined #sfdroid19:22
*** maheart <maheart!~maheart@110-174-95-7.static.tpgi.com.au> has quit IRC (*.net *.split)19:22
*** nh1402_ <nh1402_!~nh1402@2.26.4.250> has joined #sfdroid20:29
*** NeKit <NeKit!~nekit@85-95-187-57.saransk.ru> has joined #sfdroid20:30
*** nh1402 <nh1402!~nh1402@2.26.4.250> has quit IRC (Ping timeout: 258 seconds)20:31
*** nh1402__ <nh1402__!~nh1402@2.26.4.250> has joined #sfdroid20:43
*** nh1402_ <nh1402_!~nh1402@2.26.4.250> has quit IRC (Ping timeout: 256 seconds)20:46
*** Herrie <Herrie!~Herrie@dhcp-077-248-190-099.chello.nl> has joined #sfdroid22:14
saidinesh5nh1402__: btw. i think we are reading input directly from /dev/input/...22:50
saidinesh5https://github.com/sfdroid/android_frameworks_native/commit/decd427dd69217e64f8ff6e724760c9584cca6aa22:50
*** nh1402__ <nh1402__!~nh1402@2.26.4.250> has quit IRC (Ping timeout: 248 seconds)22:51

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