#sfdroid log for Thursday, 2017-01-12

saidinesh5hmm.. yet another sailfish installation ruined.. lxc wasnt starting .. so i manually mounted the android rootfs into a temporary directory and chroot ran the init inside it, with a stripped down init file00:47
saidinesh5sfos isnt booting now :|00:47
*** phlixi <phlixi!~phlixi@ppp-88-217-54-66.dynamic.mnet-online.de> has quit IRC (Read error: Connection reset by peer)02:56
*** phlixi <phlixi!~phlixi@ppp-88-217-54-66.dynamic.mnet-online.de> has joined #sfdroid02:56
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has joined #sfdroid08:18
*** krnlyng <krnlyng!~liar@77.116.89.4.wireless.dyn.drei.com> has quit IRC (Ping timeout: 258 seconds)09:19
dr_gogeta86neither on 232309:27
dr_gogeta86?09:27
dr_gogeta86check it first09:28
dr_gogeta86telnet 232309:28
dr_gogeta86to ruin an installation you need to ERASE things09:28
*** krnlyng <krnlyng!~liar@178.114.187.161.wireless.dyn.drei.com> has joined #sfdroid09:32
*** ChanServ sets mode: +o krnlyng09:32
nh1402dr_gogeta86: su rm -rf /* is a nice way of erasing things09:46
*** cvp <cvp!~cvp@dslb-088-075-219-005.088.075.pools.vodafone-ip.de> has joined #sfdroid11:08
saidinesh5dr_gogeta86: it boots but journalctl fails to start any services... things started working once i reflashed the base os zip11:28
nh1402saidinesh5: how's it going?11:33
*** TheRealJohnGalt[ <TheRealJohnGalt[!therealjoh@gateway/shell/matrix.org/x-ugfxdmvnrlcfqqgc> has left #sfdroid ("Kicked by @appservice-irc:matrix.org")11:53
saidinesh5nh1402: oh reading through lxc docs to get it up and running13:46
saidinesh5plus I was missing SystemUI and a launcher, as i was building only core-minimal... so building generic_no_telephony build now13:47
saidinesh5although at this moment trying to figure out why my touchscreen isnt working sometimes after i answer a phone call13:48
nh1402saidinesh5: you'll definitely need SystemUI and a launcher (unless you've made a fake launcher like I *think* alien dalvik has)13:53
saidinesh5nh1402: yesterday when i ran the init in chroot all i had were around 10-20 dex2opt packages heating up the cpu  at 100%13:54
saidinesh5plus filling the ram up13:54
saidinesh5any idea on that?13:54
nh1402saidinesh5: it sounds to me like it was trying to optimise apk's and failing, miserably.14:02
saidinesh5plus thermal engine was flooding the logcat so couldnt find anything sensible in there14:02
saidinesh5and by flooding i mean 60 fps butter smooth scrolling lol14:03
nh1402have you tried filtering out the thermal engine logcat messages?14:03
saidinesh5nah, the phone was heating up very soon. so shut it down14:03
saidinesh5after ~1 minute14:03
nh1402the joys of working with ART14:04
*** NeKit <NeKit!~nekit@85-95-186-79.saransk.ru> has quit IRC (Ping timeout: 245 seconds)14:08
nh1402saidinesh5: do you see anything onscreen?14:08
saidinesh5with sfdroid renderer?14:08
nh1402yes14:08
nh1402I think piggz had a similar problem getting sfdroid (CM12.1) booting on his Moto G14:09
saidinesh5first it was giving me the no permission to access uinput iirc. when i chaned that device permission to 666, it was giving me the frame 0 nothing, couldnt connect to activity manager14:09
nh1402did you get the activitymanager working?, you'll need that.14:10
saidinesh5ps aux | am gave me a bunch of processes iirc14:10
saidinesh5first it was this error:14:11
saidinesh5$ /usr/bin/sg graphics /usr/bin/sfdroid14:11
saidinesh5failed to open uinput device:14:11
saidinesh5/dev/uinput: Permission denied14:11
saidinesh5i thought the udev rule bundled with sfdroid renderer should have fixed that?14:11
nh1402well the nexus 5 users had to run this "devel-su usermod -G net_bt_stack -a nemo" in order to get input working, not sure if it is still needed in the latest version. You may need to do something similar.14:14
saidinesh5that bit gets run as part of the install script of sfdroid_renderer right?14:15
saidinesh5%pre14:16
saidinesh5usermod -G net_bt_stack -a nemo14:16
nh1402did you install the renderer from the rpm?14:19
nh1402as in did you build an rpm package for the renderer, and then install it that way?, I'm not sure if that was finished or not.14:21
saidinesh5yup14:25
saidinesh5renderer and sfdroid root14:25
saidinesh5i built rpms for both14:25
nh1402I'm not sure if the work on that was finished, it sounded pretty much finished iirc14:27
nh1402mal: is it safe to package renderer and sfdroid root in rpms to install?, any device specific changes required?14:28
saidinesh5oh i packagedd the sfdroid root myself..14:30
saidinesh5just to include the needed files14:30
malnh1402: this is renderer for fp2 https://build.merproject.org/project/show/home:mal:sfdroid14:31
saidinesh5yeah the spec for renderer is there in the git repo itself14:35
nh1402I saw that, I wasn't sure if it was finished14:37
nh1402I suppose it is, if it works.14:37
saidinesh5btw. usefull stuff: http://cecs.wright.edu/~pmateti/Courses/4900/Lectures/Internals/14:38
nh1402"Android Java =  Java SE - AWT/Swing + Android API" is slightly different for Android Nougat, I believe they now use the OpenJDK instead.14:43
saidinesh5yup14:44
nh1402since you're using CM12.1 I think you can use the patched glibc from krnlyng to load surfaceflinger and stuff through that instead of bionic, which would negate the need for the buffer, and could (in theory) mean an easier way to get input working.14:48
nh1402i may have mentioned this before. I'm kind of in between things at work atm14:50
saidinesh5yup . but you mentioned that method isn't that portable either14:51
saidinesh5also using the patched libhardware to share buffers seems nicer14:52
saidinesh5that way any modifications we need to do to android , all stay in libhardware14:52
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has quit IRC (Quit: Leaving)16:01
*** NeKit <NeKit!~nekit@85-95-187-158.saransk.ru> has joined #sfdroid16:06
*** merbot <merbot!~supybot@phost1.merproject.org> has joined #sfdroid17:07
*** piggz <piggz!~piggz@195.147.198.68> has quit IRC (Quit: Konversation terminated!)17:50
*** piggz <piggz!~piggz@195.147.198.68> has joined #sfdroid17:50
*** cvp <cvp!~cvp@dslb-088-075-219-005.088.075.pools.vodafone-ip.de> has quit IRC (Remote host closed the connection)18:02
*** piggz <piggz!~piggz@195.147.198.68> has quit IRC (Quit: Konversation terminated!)18:05
*** nh1402 <nh1402!~nh1402@95.148.89.10> has joined #sfdroid18:10
*** nh1402_ <nh1402_!~nh1402@95.148.89.10> has joined #sfdroid18:11
*** nh1402 <nh1402!~nh1402@95.148.89.10> has quit IRC (Client Quit)18:11
*** nh1402_ is now known as nh140218:11
*** nh1402 <nh1402!~nh1402@95.148.89.10> has joined #sfdroid18:11
*** piggz <piggz!~piggz@195.147.198.68> has joined #sfdroid18:12
*** piggz <piggz!~piggz@195.147.198.68> has quit IRC (Quit: Konversation terminated!)18:18
*** piggz <piggz!~piggz@195.147.198.68> has joined #sfdroid18:18
*** nh1402 <nh1402!~nh1402@95.148.89.10> has quit IRC (Quit: Leaving)19:38

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