#sfdroid log for Thursday, 2017-04-20

*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-lfcvnbwtokrfacpz> has joined #sfdroid04:50
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has joined #sfdroid07:42
*** NeKit <NeKit!~nekit@85.143.20.2> has joined #sfdroid09:58
nh1402saidinesh5: how's it going?10:05
saidinesh5was looking at anbox nh1402. couldnt get it to run without segfault so far10:06
saidinesh5got an interview in an hour though.. i should prolly put a pause to anbox10:06
saidinesh5you?10:06
saidinesh5oh also compiling anbox for phone seems to fail so far10:06
saidinesh5tempted to give sfdroid itself another shot. but the "containerized" approach seems tempting10:07
nh1402well the guy behind anbox insists it can work on an GNU ARM device10:07
saidinesh5yeah , well.. the build fails and tells me to increase java heapsize or something,..10:08
locusfheh10:08
saidinesh5that's when the ram doesnt fill  up10:08
locusfbuild failing for me too10:08
locusffor sfos target, mainly because boost log library is missing10:08
nh1402I'm more ill than anything else, making it harder to focus on things, like work...10:08
locusfand android emulgl app doesn't even compile due to libgl missing10:08
saidinesh5locusf: you trying to port snaps to sfos?10:09
locusfnot snaps10:09
locusffrom source10:09
saidinesh5oh how come nh1402?10:09
locusfanbox10:09
saidinesh5Ahh locusf, did you get anbox working on $YOUR_DISTRO?10:09
locusfnope10:09
locusferm ah10:09
saidinesh5which distro are you on?10:09
locusfmy laptop distro10:09
locusfarch10:09
saidinesh5ah lol10:09
saidinesh5welcome to the club10:09
saidinesh5let me guess.. it segfaults somewhere in intel driver?10:10
locusfnope10:10
saidinesh5or some opengl code path basically10:10
nh1402well there's quite a few people trying to get anbox working on arch10:10
saidinesh5oh? thats what happened to me last week.. didnt bother digging deeper10:10
saidinesh5yeah there's an update10:10
locusfI've yet to try it on arch10:10
saidinesh5updating10:10
saidinesh5Ahh10:10
saidinesh5it is available in AUR actually10:11
locusfoh10:11
saidinesh5another thing about anbox is that it doesnt do wifi/touchscreen as of now it seems .. at least from the issues...10:11
saidinesh5updated my anbox10:11
saidinesh5lets see if that starts anything10:11
locusfok10:12
nh1402locusf: what if you get the boost log library from fedora arm repo?10:13
*** horuxanx <horuxanx!~douglasbr@187-14-77-145.user.veloxzone.com.br> has quit IRC (Ping timeout: 260 seconds)10:13
saidinesh5anbox system-info10:14
saidinesh5Segmentation fault (core dumped)10:14
saidinesh5even anbox version triggers a segfault10:15
saidinesh5#2  0x0000000000562bf2 in ColorBuffer::bindToTexture() ()10:15
locusfnh1402: ah could work10:16
nh1402not sure how we would get around the libgl issue though10:17
nh1402but we don't need it to convert opengl es to opengl though, I think there's a setting disable the conversion10:18
*** horuxanx <horuxanx!~douglasbr@189-105-213-158.user.veloxzone.com.br> has joined #sfdroid10:18
saidinesh5locusf: you were trying to compile it on scratchbox?10:19
locusfsaidinesh5: yes10:19
* saidinesh5 checks10:21
nh1402https://developer.android.com/studio/run/emulator-acceleration.html#accel-graphics10:24
nh1402not 100% sure what the host setting does10:25
saidinesh5interesting btw. #6  0x0000000000584551 in emugl::Thread::thread_main(void*) ()10:26
saidinesh5that's where my error is coming from too..10:26
*** douglasbrito_ <douglasbrito_!~douglasbr@189-105-212-11.user.veloxzone.com.br> has joined #sfdroid10:26
*** horuxanx <horuxanx!~douglasbr@189-105-213-158.user.veloxzone.com.br> has quit IRC (Ping timeout: 240 seconds)10:27
saidinesh5hmm... #include <GL/glx.h>10:28
nh1402yh I think we need to strip out the es to gl conversion10:33
saidinesh5not sure how core that code is because emugl seems to be accessed from : https://github.com/anbox/anbox/blob/master/src/anbox/wm/window.cpp10:35
saidinesh5how did they even compile it for ubuntu touch? xmir or something?10:39
saidinesh5there are no ifdefs or anything here..10:39
nh1402there is a no-window flag when running the emulator10:41
nh1402saidinesh5: ask them10:44
saidinesh5hmm10:44
saidinesh5seeing how their cross compile script works10:45
nh1402saidinesh5: don't you have an interview soon?10:54
saidinesh5i do10:54
saidinesh5in 20 minutes10:54
nh1402don't you need to prepare for that?10:55
saidinesh5not sure what to prepare exactly.. supposed to be just a technical chat10:57
saidinesh5i think the main "interview" is work on a little paid project10:57
*** Mister_Magister_ <Mister_Magister_!~foidbgen@user-94-254-227-62.play-internet.pl> has joined #sfdroid11:08
*** Mister_Magister_ is now known as Mister_Magister11:11
*** m01 <m01!~quassel@2a00:1a48:7808:102:be76:4eff:fe08:b79c> has quit IRC (Ping timeout: 255 seconds)11:20
*** m01 <m01!~quassel@2a00:1a48:7808:102:be76:4eff:fe08:b79c> has joined #sfdroid11:21
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-227-62.play-internet.pl> has quit IRC (Ping timeout: 258 seconds)11:24
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-146-174.play-internet.pl> has joined #sfdroid11:28
*** NeKit <NeKit!~nekit@85.143.20.2> has quit IRC (Ping timeout: 258 seconds)11:40
douglasbrito_saidinesh5, you work, you compartilhe ?12:00
*** douglasbrito_ is now known as horuxan12:00
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-lfcvnbwtokrfacpz> has quit IRC (Quit: Connection closed for inactivity)12:09
dr_gogeta86anbox on fedora is piece of s*12:13
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-ygktbdpowmfaoopg> has joined #sfdroid12:14
nh1402dr_gogeta86: why so12:17
pseudodev!seen dr_gogeta8612:19
merbotpseudodev: dr_gogeta86 was last seen in #sfdroid 6 minutes and 19 seconds ago: <dr_gogeta86> anbox on fedora is piece of s*12:19
saidinesh5horuxan: comwhat?13:16
saidinesh5and dr_gogeta86 looking at their github issues, anbox doesnt work on (m)any other distros , other than *buntu13:17
locusfhmm13:24
locusfthats not nice13:24
dr_gogeta86... snap isn't for fedora13:26
dr_gogeta86doesn't know the libeexec folder13:26
saidinesh5snap does work on fedora nno?13:26
saidinesh5oh13:26
dr_gogeta86i need to create some porkarround13:26
saidinesh5lol13:26
dr_gogeta86i've seen awesome wm in tablet mode13:27
nh1402don't need snap for anbox anyway, just build and install it manually13:27
dr_gogeta86:-D13:27
dr_gogeta86i think is the way to go13:27
*** taaem <taaem!~taaem@unaffiliated/taaem> has quit IRC (Ping timeout: 268 seconds)13:31
saidinesh5nh1402: AUR already has the package..13:31
saidinesh5since you're on arch too now13:31
nh1402urm, AUR?13:32
saidinesh5Arch User repository13:32
nh1402oh yh13:32
saidinesh5$yaourt anbox13:32
saidinesh5should fetch and install the packages13:32
*** taaem <taaem!~taaem@unaffiliated/taaem> has joined #sfdroid13:41
*** horuxan <horuxan!~douglasbr@189-105-212-11.user.veloxzone.com.br> has quit IRC (Ping timeout: 240 seconds)13:43
*** krnlyng <krnlyng!~liar@178.114.163.24.wireless.dyn.drei.com> has quit IRC (Read error: Connection reset by peer)13:44
*** horuxan <horuxan!~douglasbr@177-179-239-208.user.veloxzone.com.br> has joined #sfdroid13:44
*** krnlyng <krnlyng!~liar@178.114.163.24.wireless.dyn.drei.com> has joined #sfdroid13:44
horuxansaidinesh5, I would like to port the snapd to my bike titan g, could you explain me, or a how to, or the sfdroid myself. thank you13:45
horuxanbike moto*13:45
saidinesh5horuxan: no clue about snapd.. for sfdroid.. first clone the CM repos for your device13:46
saidinesh5horuxan: https://gist.github.com/saidinesh5/3262c31c88776445544c8b2804ee02df13:47
horuxansaidinesh5, Does it serve the cm that I downloaded to compile the sailfish?13:47
malhoruxan: like Mister_Magister told you earlier, 1 GB of RAM is quite little for running sailfish with sfdroid13:47
saidinesh5^13:47
saidinesh5mal:  btw. the data partition being corrupt was happening because the services inside chroot couldnt find the files they need and were resetting things13:48
malok13:49
malsaidinesh5: did you solve the problem somehow?13:49
*** xxxx <xxxx!~xxxxxx@2804:d41:e96:cf00:7da6:60e1:8868:5a1e> has joined #sfdroid13:51
saidinesh5nah not yet.. i think the onnly way arouund is to run another set of processes inside chroot13:52
malthat could be a bit resource hungry maybe13:55
nh1402I did run the android emulator on my machine at one point, limiting the ram to 1GB, is just about functional, with a device with only 1GB RAM, is going to be pushing it.13:56
saidinesh5sadly yes.. trying to find out the minimum set of services needed to run say zygote ...13:56
saidinesh5mal: not just resource hungry. when i tried that i got all sorts of errors locking deviecs in /dev13:56
horuxansaidinesh5, titan in local_manifests14:00
horuxanhow to repo init ?14:00
horuxanand paste sfdroid-core ?14:00
horuxanthanks very much14:00
saidinesh5http://xda-university.com/as-a-developer/repo-tips-tricks14:00
saidinesh5horuxan: there is sfdroid-renderer, a package you can compile and install separately14:01
saidinesh5this is to package the android services needed14:01
malsaidinesh5: yep14:02
xxxxsaidinesh5, https://pastebin.com/raw/71mcFk0f14:21
xxxxlook very please ?14:21
saidinesh5xxxx: your local manifest?14:22
xxxxi copy to link you send14:22
xxxxsaidinesh5,14:22
saidinesh5wherever you have <remove-project name="CyanogenMod/android_hardware_libhardware"> delete it14:23
saidinesh5xxxx: ^14:24
*** douglasbrito__ <douglasbrito__!~douglasbr@189-49-200-99.user.veloxzone.com.br> has joined #sfdroid14:30
*** xxxx <xxxx!~xxxxxx@2804:d41:e96:cf00:7da6:60e1:8868:5a1e> has quit IRC (Ping timeout: 252 seconds)14:30
*** horuxan <horuxan!~douglasbr@177-179-239-208.user.veloxzone.com.br> has quit IRC (Ping timeout: 240 seconds)14:31
*** xxxx <xxxx!~xxxxxx@2804:d41:e9d:c700:7da6:60e1:8868:5a1e> has joined #sfdroid14:43
xxxx sync ..14:49
xxxx<xxxx> saidinesh5, and .spec paste what folder ?14:49
xxxx<xxxx> thanks so much14:49
saidinesh5the sfdroid core?14:50
saidinesh5depends on what you use to build that14:50
saidinesh5for me it is iin sfdroid/rpm (the .repo folder is in sfdroid/.repo)14:51
*** NeKit <NeKit!~nekit@178-45-11-43.saransk.ru> has joined #sfdroid15:05
*** xxxx <xxxx!~xxxxxx@2804:d41:e9d:c700:7da6:60e1:8868:5a1e> has quit IRC (Ping timeout: 240 seconds)15:08
*** douglasbrito__ <douglasbrito__!~douglasbr@189-49-200-99.user.veloxzone.com.br> has quit IRC (Ping timeout: 240 seconds)15:19
*** douglasbrito__ <douglasbrito__!~douglasbr@191.43.31.26> has joined #sfdroid15:20
*** xxxx <xxxx!~xxxxxx@2804:d41:ea5:c00:7c8b:61be:5e8d:47d7> has joined #sfdroid15:21
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has quit IRC (Quit: Leaving)15:43
xxxxsaidinesh5, ping16:25
saidinesh5ssup16:25
xxxxhttps://github.com/sfdroid/sfdroid-init16:26
xxxxno have branch 12.116:26
xxxx"////16:26
xxxx<project name="sfdroid/sfdroid-init" path="sfdroid-init" revision="sfdroid-12.1-YOG7D" />16:26
xxxxno have16:26
xxxxmako run ?16:26
saidinesh5ah16:26
saidinesh5take the onyx branch16:26
xxxxsaidinesh5, I'm sorry, but I have doubt, I copied the sfdroid.xml to local_manifests, inside the folder mer / android / .repo is normal? it works ?16:58
xxxxpaste build-sfdroid.sh on folder android ?17:00
saidinesh5sorry was afk17:01
xxxxok ...17:01
saidinesh5xxxx: yes, you use ha build env to build the android bits using build-sfdroid.sh17:01
saidinesh5then you can use the MerSDK to package that into sfdroid-core.rpm17:02
saidinesh5using mb217:02
saidinesh5or thzat build_pacakges.sh -b /path/to/package17:02
xxxxsfdroid-core.rpm17:02
xxxxrun android saidinesh5  ?17:02
xxxxalone ?17:02
saidinesh5then you iinstall sfdroid-core.rpm, sfdroid-renderer.rpm17:03
xxxxor requires others rpms ?17:03
saidinesh5and edit init.rc to include init.sfdroid.rc17:03
saidinesh5sfdroid renderer is what you will be running to see sfdrid running17:03
xxxxedit init.rc to init.sfdroid.rc ?17:03
saidinesh5yyour /init.rc .. add import init.sfdroid.rc17:04
saidinesh5soo that it will start even services from sfdroid17:04
saidinesh5https://github.com/sfdroid/sfdroid_renderer17:05
xxxxcompile sfdroid_renderer ?17:05
xxxxsaidinesh5,17:06
saidinesh5yes.. compile and package and install sfdroid renderer17:06
saidinesh5you will see 2 icons in your launcher then17:06
xxxxhow to compile sfdroid renderer ?17:07
xxxx:S17:07
xxxxsaidinesh5,17:07
saidinesh5use scratchbox17:07
xxxxclone sfdroid renderer to ?17:08
saidinesh5or just use build_pacakges.sh17:08
saidinesh5anywhere17:08
xxxxok ..17:08
*** xxxx <xxxx!~xxxxxx@2804:d41:ea5:c00:7c8b:61be:5e8d:47d7> has quit IRC (Ping timeout: 260 seconds)17:26
*** douglasbrito__ <douglasbrito__!~douglasbr@191.43.31.26> has quit IRC (Ping timeout: 245 seconds)17:26
*** horuxan <horuxan!~douglasbr@177-179-233-202.user.veloxzone.com.br> has joined #sfdroid17:26
*** xxxx <xxxx!~xxxxxx@2804:d41:eb2:8800:76b3:7d6:2f3e:178b> has joined #sfdroid17:38
*** xxxx <xxxx!~xxxxxx@2804:d41:eb2:8800:76b3:7d6:2f3e:178b> has quit IRC (Ping timeout: 240 seconds)18:30
*** horuxan <horuxan!~douglasbr@177-179-233-202.user.veloxzone.com.br> has quit IRC (Ping timeout: 240 seconds)18:30
*** horuxan <horuxan!~douglasbr@187-14-208-221.user.veloxzone.com.br> has joined #sfdroid18:30
*** douglasbrito_ <douglasbrito_!~douglasbr@186-244-165-85.user.veloxzone.com.br> has joined #sfdroid18:38
*** horuxan <horuxan!~douglasbr@187-14-208-221.user.veloxzone.com.br> has quit IRC (Ping timeout: 240 seconds)18:40
*** xxxx <xxxx!~xxxxxx@2804:d41:eba:5800:c80:5970:43bf:4be4> has joined #sfdroid18:43
*** NeKit <NeKit!~nekit@178-45-11-43.saransk.ru> has quit IRC (Ping timeout: 245 seconds)19:32
*** NeKit <NeKit!~nekit@178-45-11-43.saransk.ru> has joined #sfdroid19:35
*** horuxan <horuxan!~douglasbr@189-105-210-153.user.veloxzone.com.br> has joined #sfdroid19:45
*** douglasbrito_ <douglasbrito_!~douglasbr@186-244-165-85.user.veloxzone.com.br> has quit IRC (Ping timeout: 258 seconds)19:45
*** xxxx <xxxx!~xxxxxx@2804:d41:eba:5800:c80:5970:43bf:4be4> has quit IRC (Ping timeout: 255 seconds)19:45
*** xxxx <xxxx!~xxxxxx@2804:d41:ec1:6300:2f4c:3190:88cf:1e75> has joined #sfdroid19:59
*** NeKit <NeKit!~nekit@178-45-11-43.saransk.ru> has quit IRC (Ping timeout: 260 seconds)21:21
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-146-174.play-internet.pl> has quit IRC (Quit: Konversation terminated!)21:32
*** horuxan <horuxan!~douglasbr@189-105-210-153.user.veloxzone.com.br> has quit IRC (Ping timeout: 240 seconds)21:47
*** horuxan <horuxan!~douglasbr@187-14-193-96.user.veloxzone.com.br> has joined #sfdroid21:47
*** xxxx <xxxx!~xxxxxx@2804:d41:ec1:6300:2f4c:3190:88cf:1e75> has quit IRC (Ping timeout: 258 seconds)21:48
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-ygktbdpowmfaoopg> has quit IRC (Quit: Connection closed for inactivity)21:59
*** xxxx <xxxx!~xxxxxx@2804:d41:ecf:3c00:6946:aa4f:d79c:9f3a> has joined #sfdroid22:00
*** xxxx is now known as horuxanx22:05
horuxanxsaidinesh5,22:05
horuxanxhave here ?22:05
saidinesh5 hmm?22:05
horuxanxhttps://pastebin.com/raw/HbQbt9KA22:06
horuxanxhave idea22:06
horuxanxsaidinesh5,22:06
saidinesh5horuxanx: you actually build these in HABUILD_SDK22:08
saidinesh5plus did you repo sync with the sfdroid local manifest?22:09
horuxanxyes22:09
horuxanxuse HADBUILD_SDK22:09
horuxanxto run build-sfdroid.sh ?22:09
saidinesh5yes22:10
saidinesh5did you also add sfdroid.xml to your local_manifests?22:11
horuxanxsaidinesh5, https://pastebin.com/raw/AfmYgP8A22:12
horuxanxyes ..22:12
horuxanxrun in hadbuild_sdk22:13
horuxanxthis error22:13
horuxanx"///22:13
saidinesh5"make: *** No rule to make target `/home/dirlei/mer/android/droid/out/target/product/titan/obj/SHARED_LIBRARIES/libc_intermediates/export_includes', needed by `/home/dirlei/mer/android/droid/out/target/product/titan/obj/SHARED_LIBRARIES/libhardware_intermediates/import_includes'.  Stop."22:13
saidinesh5Do you have bionic?22:13
saidinesh5your repo sync failed or someting22:13
saidinesh5that's a very core library22:13
saidinesh5first make sure you can build CM-12.1 in that tree22:14
saidinesh5Then, add the local manifest and repo sync22:14
horuxanxhave bionic22:14
saidinesh5nonetheless, first try to build CM-12.122:15
saidinesh5bed time for me now though. so first try to build CM-12.122:15
saidinesh5also if you have 1GB ram, its sfdroid wont run well22:16
horuxanxhow to build cm12.1 ?22:16
horuxanxsorry "///22:16
horuxanxsaidinesh5,22:16
horuxanxi have sources ..22:17
horuxanxhow to command to build ?22:17
saidinesh5example: https://forum.xda-developers.com/xperia-mini/general/guide-2011-how-to-build-cyanogenmod-12-0-t304121422:17
horuxanxbuilding ..22:20
horuxanxmake[1]: Leaving directory `/home/dirlei/mer/android/droid/external/busybox'22:21
horuxanxmake: *** No rule to make target `/home/dirlei/mer/android/droid/out/host/linux-x86/bin/aapt', needed by `/home/dirlei/mer/android/droid/out/target/common/obj/APPS/FM2_intermediates/src/R.stamp'.  Stop.22:21
horuxanxsaidinesh5,22:21
saidinesh5your repo sync failed i think22:25
saidinesh5repo sync again22:25
horuxanxsaidinesh5, https://pastebin.com/V7WTtvU622:33
horuxanx:@@@22:33
horuxanxsorry "///22:35
saidinesh5not sure.. delete that repo and re sync?22:36
horuxanxrepo init -u git://github.com/mer-hybris/android.git -b hybris-12.122:37
horuxanx ?22:37
saidinesh5not mer-hybris22:37
saidinesh5you need to build CyanogenMod22:37
horuxanxhttps://github.com/CyanogenMod/android_device_motorola_titan.git22:39
horuxanx?22:39
horuxanx-b stable-cm12.1-YOG7D22:40
horuxanx?22:40
saidinesh5umm..22:40
saidinesh5https://github.com/CyanogenMod/android.git -b stable-cm12.1-YOG7D i think22:41
*** horuxanx <horuxanx!~xxxxxx@2804:d41:ecf:3c00:6946:aa4f:d79c:9f3a> has quit IRC (Ping timeout: 255 seconds)22:48
*** horuxan <horuxan!~douglasbr@187-14-193-96.user.veloxzone.com.br> has quit IRC (Ping timeout: 240 seconds)22:48
*** horuxan <horuxan!~douglasbr@189-70-80-181.user.veloxzone.com.br> has joined #sfdroid22:49
*** horuxanx <horuxanx!~xxxxxx@2804:d41:ed5:e800:416c:64ea:e410:9068> has joined #sfdroid23:00
*** douglasbrito__ <douglasbrito__!~douglasbr@189-24-215-69.user.veloxzone.com.br> has joined #sfdroid23:18
*** horuxanx <horuxanx!~xxxxxx@2804:d41:ed5:e800:416c:64ea:e410:9068> has quit IRC (Ping timeout: 252 seconds)23:19
*** horuxan <horuxan!~douglasbr@189-70-80-181.user.veloxzone.com.br> has quit IRC (Ping timeout: 260 seconds)23:20
*** douglasbrito__ <douglasbrito__!~douglasbr@189-24-215-69.user.veloxzone.com.br> has quit IRC (Ping timeout: 252 seconds)23:24
*** douglasbrito__ <douglasbrito__!~douglasbr@189-49-246-148.user.veloxzone.com.br> has joined #sfdroid23:26
*** horuxanx <horuxanx!~xxxxxx@2804:d41:ed9:fa00:416c:64ea:e410:9068> has joined #sfdroid23:33
*** horuxan <horuxan!~douglasbr@189-105-213-55.user.veloxzone.com.br> has joined #sfdroid23:55
*** douglasbrito__ <douglasbrito__!~douglasbr@189-49-246-148.user.veloxzone.com.br> has quit IRC (Ping timeout: 260 seconds)23:55
*** horuxanx <horuxanx!~xxxxxx@2804:d41:ed9:fa00:416c:64ea:e410:9068> has quit IRC (Ping timeout: 252 seconds)23:55

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