#sfdroid log for Tuesday, 2016-12-06

*** krnlyng <krnlyng!~liar@77.117.11.111.wireless.dyn.drei.com> has quit IRC (Ping timeout: 258 seconds)01:25
*** krnlyng <krnlyng!~liar@77.116.104.144.wireless.dyn.drei.com> has joined #sfdroid01:38
*** ChanServ sets mode: +o krnlyng01:38
*** horuxan <horuxan!~horuxanxx@201.46.181.44> has quit IRC (Read error: Connection reset by peer)02:18
*** NotKit <NotKit!~nekit@95-83-61-209.saransk.ru> has joined #sfdroid04:11
*** horuxan <horuxan!~horuxanxx@201.46.181.44> has joined #sfdroid04:15
*** TheKit <TheKit!~nekit@95-83-51-132.saransk.ru> has quit IRC (Ping timeout: 268 seconds)04:15
*** krnlyng|mobile_ <krnlyng|mobile_!~sailfish@213162068208.public.t-mobile.at> has quit IRC (Ping timeout: 260 seconds)06:57
*** NeKit <NeKit!~nekit@188.162.51.177> has joined #sfdroid06:58
*** NeKit <NeKit!~nekit@188.162.51.177> has quit IRC (Ping timeout: 248 seconds)07:52
*** locusf_ is now known as locusf07:53
*** NeKit <NeKit!~nekit@188.162.51.177> has joined #sfdroid07:56
*** baddea <baddea!059ca7d5@gateway/web/cgi-irc/kiwiirc.com/ip.5.156.167.213> has joined #sfdroid08:00
*** rinigus <rinigus!~rinigus@kybi.ioc.ee> has joined #sfdroid08:26
*** baddea <baddea!059ca7d5@gateway/web/cgi-irc/kiwiirc.com/ip.5.156.167.213> has quit IRC (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)08:27
*** NeKit <NeKit!~nekit@188.162.51.177> has quit IRC (Read error: Connection reset by peer)08:56
*** krnlyng|mobile_ <krnlyng|mobile_!~sailfish@213162068201.public.t-mobile.at> has joined #sfdroid11:17
*** krnlyng|mobile_ <krnlyng|mobile_!~sailfish@213162068201.public.t-mobile.at> has quit IRC (Ping timeout: 256 seconds)11:44
*** krnlyng|mobile <krnlyng|mobile!~sailfish@213162068163.public.t-mobile.at> has joined #sfdroid12:06
entilkrnlyng: I have no idea how to start looking even :( restarted with init.sfdroid.rc enabled and there's nothing related to surfaceflinger in logcat output12:06
malentil: I rememver having some strange issue that I needed to manually start surfaceflinger or something to get it working12:08
entil[22:28] <@krnlyng> entil: try killall surfaceflinger zygote main servicemanager12:08
entil[22:28] <@krnlyng> entil: and if that helps try and figure out a proper solution for the problem :D12:08
entil[22:28] < entil> zygote: no process found12:08
entilthat's still what happens to me12:08
entil[22:28] <@krnlyng> thats fine12:08
entil[22:28] < entil> the screen went black12:08
entilthe "best" "results" I get12:08
entilmal: does your sfdroid work so well you can actually use eg. whatsapp on it?12:09
*** krnlyng|mobile <krnlyng|mobile!~sailfish@213162068163.public.t-mobile.at> has quit IRC (Ping timeout: 265 seconds)12:11
malentil: never tried to install any apps, just the included ones12:21
entilmal: but you have got it running at some point?12:30
entilapparently you have :P12:30
entilbe that as it may, the surfaceflinger process was running12:31
entilguess what I need is some other way of debugging than logcat cuz apparently nothing relevant shows up there12:31
malgetting it running was a matter of randomly killing surfaceflinger, servicemanager and then doing some initialization command12:35
entilmaybe krnlyng will know about initialization12:41
*** krnlyng|mobile <krnlyng|mobile!~sailfish@213162068203.public.t-mobile.at> has joined #sfdroid13:25
*** krnlyng|mobile <krnlyng|mobile!~sailfish@213162068203.public.t-mobile.at> has quit IRC (Ping timeout: 248 seconds)13:44
*** rinigus <rinigus!~rinigus@kybi.ioc.ee> has quit IRC (Quit: Leaving)15:13
*** krnlyng|mobile <krnlyng|mobile!~sailfish@213162068190.public.t-mobile.at> has joined #sfdroid16:03
krnlyng|mobileentil: there was a permissions error last time, wasn't there?16:13
*** krnlyng|mobile <krnlyng|mobile!~sailfish@213162068190.public.t-mobile.at> has quit IRC (Remote host closed the connection)16:16
*** krnlyng|mobile_ <krnlyng|mobile_!~sailfish@213162068142.public.t-mobile.at> has joined #sfdroid16:30
*** krnlyng|mobile <krnlyng|mobile!~sailfish@213162068129.public.t-mobile.at> has joined #sfdroid16:39
*** krnlyng|mobile_ <krnlyng|mobile_!~sailfish@213162068142.public.t-mobile.at> has quit IRC (Ping timeout: 260 seconds)16:42
*** nh1402 <nh1402!~Thunderbi@95.148.89.25> has joined #sfdroid16:59
*** krnlyng|mobile <krnlyng|mobile!~sailfish@213162068129.public.t-mobile.at> has quit IRC (Ping timeout: 244 seconds)16:59
entilkrnlyng: I think that was a red herring from journalctl16:59
entilkrnlyng: like with nothing better to go for I saw that in journalctl and thought it was relevant17:00
krnlyngentil: i am pretty sure i saw that in the logcat output17:20
krnlyngentil: what would help is a full logcat output... i am sure you already sent one but i was busy sorry. and it's probably expired by now17:22
entilkrnlyng: how does logcat actually work? if I start the phone with init.sfdroid.rc enabled, start sfdroid, do a killall on the certain processes _and then_ run logcat, will it capture everything relevant or do I need to set it up somewhere in init to catch everything?17:30
krnlyngentil: if you kill these processes it will capture everything relevant17:32
entilkrnlyng: ok, I enabled init.sfdroid.rc and told my phone to reboot17:33
entilactually what I'll do is set logcat to output to a file as soon as I can log in17:34
entiljust to be sure17:34
entilkrnlyng: http://mjt.nysv.org/scratch/sailfish/logcat-2016-12-06.01.txt17:37
entilkrnlyng: there's a lot of text there but it won't expire17:37
entilE/SurfaceFlinger(  697): Permission Denial: can't access SurfaceFlinger pid=1389, uid=1000  # <- that caught me last time17:37
entilcaught my eye, that is17:37
entilkrnlyng: bear in mind that I may have messed something up while compiling, or something17:42
krnlynghttps://android.googlesource.com/platform/frameworks/native/+/2a23184/services/surfaceflinger/SurfaceFlinger.cpp#219917:42
krnlyngentil: can you try disabling minisf?17:43
entilwhat's minisf?17:44
entiland/or how?17:44
krnlynga mini surfaceflinger service used because of AppOps or something iirc17:44
krnlyngwhich interferes with surfaceflinger most likely17:45
krnlyngin init.rc add disabled to the minisf service17:45
entilshould I comment it out in /init.rc?17:45
entilok17:45
krnlyngor comment it out17:45
entilrebooting now17:45
entilkrnlyng: http://mjt.nysv.org/scratch/sailfish/logcat-2016-12-06.02.txt that's the new run, but I still get a black screen17:49
krnlyngit seems something needs to be in the graphics group and it isn't17:51
krnlyngerr uid17:51
entilnemo is there17:52
entil[root@Sailfish nemo]# grep gra /etc/group17:52
entilgraphics:x:1003:nemo17:52
krnlyngbootanimation doesn't get permissions17:55
krnlyngas well as system_server17:56
krnlyngTheRealJohnGalt[: didn't you have similar issues?17:56
krnlyngentil: can you try building servicemanager and use it as a replacement for /system/bin/servicemanager?18:00
entilkrnlyng: like a debug version? how hard is it to build? cuz I don't have a lot more of computer time today :/18:01
entilhave to be early at work in the morning18:01
krnlyngentil: frameworks/native/cmds/servicemanager18:02
krnlyngentil: mm18:02
krnlyngalso comment out miniaf18:03
entilminiaf's easy, commented it out and issued a reboot18:05
entilexcept I get the invalid unlock code thing :( hold on18:06
entilthis might take another reboot or few18:06
entilthis is really an annoying bug, and then it sometimes gets stuck on the boot screen and I have to boot it again18:09
entilwtf, it's never been this bad18:13
krnlyngentil: if the android services are starting up booting might take longer18:17
entilkrnlyng: http://mjt.nysv.org/scratch/sailfish/logcat-2016-12-06.03.txt18:17
entilthe phone finally accepted my security code18:17
entil^ that link is with miniaf disabled as well18:17
krnlyngsure?18:18
krnlyngE/ServiceManager( 3185): add_service('media.audio_flinger',7) uid=1013 - ALREADY REGISTERED, OVERRIDE18:18
krnlyngwait18:18
krnlyngdo you have the mediaserver patches?18:18
entilboth miniaf and minisf are disabled18:18
entilframeworks/av/media/mediaserver you mean?18:19
entilhttps://gist.github.com/mjtorn/6cf8ed8b33fd91b3ffa05e7981b8f76918:20
entilthat's what I build with18:20
entilkrnlyng: I'm sure there are no patches there18:21
entilkrnlyng: would that be the android_frameworks_av repo?18:24
krnlyngentil: yes18:24
entilkrnlyng: whose repos are the best btw?-) I use smurfynet's forks, should I go with that for this as well?18:25
entilasdf, I use the sfdroid forks, I mean18:25
krnlyngentil: sfdroid forks18:25
entilyay18:25
krnlyngmako_12 branch18:25
entilmako_12 for the fairphone2?18:26
krnlyngerm18:26
entilthere is an fp2-sibon branch18:26
krnlyngyou need to use your base cyanogenmods sources18:27
krnlyngand apply the patches on top18:27
entilI have the aosp sources18:28
krnlyngthe mako_12 shall only be used as a reference implementation18:28
entilall this is built with the fp2-sibon branches due to that18:28
entilso my understanding has been that this would work with the aosp as its base18:30
krnlyngentil: you need to be very careful about the base, you need exactly those sources which where used to build the base rom you install18:30
krnlyngentil: because even a slight change can cause weird problems18:30
krnlyngdifference*18:30
krnlyngMisterMagister had linker errors ;)18:31
krnlyng(for example)18:31
krnlyngwith official cyanogenmod ports it is easy, you just take the build-manifest.xml18:31
krnlyngor if you know which base you're working on you can use another yog7pa or whatever brancht if you're lucky18:32
malkrnlyng: fp2 has nice tags for releases also18:32
entilI have the fairphone open android aosp thing for my branch18:32
entilbase*18:32
malkrnlyng: so it's easy to pick the correct release18:33
entilthere is of course a chance that the build script will do something wrong with checking out the repos for that18:33
entilit checks out the device branch but if that's drifted beyond where I currently am or somehow become incompatible, that would cause errors18:33
entilbut it's 16.10 now, iirc mal said sailfish won't even run with anything older18:34
entilI can reflash that to be sure though18:34
malit will but gps might be a problem18:34
malthere were some symlinks broken with some android releases18:34
malentil: next sailfish release for fp2 will be 16.11 based, but the new releases only have bug fixes and should work fine18:35
entilhmm18:35
krnlyngso if you're flashing 16.10 you will need to use the 16.10 as base for sfdroid18:36
entilI think I just noticed that my gits for these may be way old18:37
entilmjt@ishtar:~/src/git_checkouts/fp2/fairphone_os/kernel ((a89df05...))$ git show HEAD18:37
entilDate:   Wed Jun 22 08:40:52 2016 +080018:37
entilnot much poing in doing anything about this until I teach my build script to be sure it's got the correct code18:38
entilie. it knows to sync the fairphone open stuff correctly18:39
malit's easy to get the correct version in manifest18:40
malyou can even get the correct manifest by tag18:40
entilwhich manifest is this now?18:40
entilok, this is actually quite bad! at least some of these repos use tags, so I should not blindly rely on running repo sync, but checking out the tags18:47
entilat least that's what it looks like when I did a spot check18:47
entilbut the github.com/sfdroid/ repos aren't tagged, so I have to assume (and pray to the devil) that the fp2-sibon branch is close enough in sync with the tagged releases from code.fairphone.com18:48
malentil: assuming you originally got a manifest for a tag it should contain something like this <default remote="origin" revision="refs/tags/FP2-open-16.11.0" dest-branch="fp2-sibon" />18:48
entilmal: you're losing me here, where would that manifest be? in the fairphone sources?18:49
malentil: in your case ~/src/git_checkouts/fp2/fairphone_os/.repo/manifest.xml18:50
entil  <default remote="origin" revision="fp2-sibon" dest-branch="fp2-sibon" />18:50
malso you don't use a tagged release, repo sync will always get the latest for you but the patched repos are based on some tag18:51
malso that can cause problems18:51
entilbesides which the sailfish port will more or less expect a tagged base install18:51
entiljudging by two spot checks, the tags are consistent, FP2-open-${version} where version looks like 16.10.018:52
malentil: fp2-sibon always matches the latest tagged release18:52
malthere is no code aded between releases, only after a new release the new code will be added to fp2-sibon and the tagged18:53
mal*then18:53
entilmal: they develop somewhere else and only release here?18:53
malyes18:53
entilbecause then I might as well update my base to 16.11 if it would work with my current sailfishos setup18:53
malthey have their internal git and they just push the releases to that public one18:53
entiland forget all this hömpötys about tags and crap18:53
malentil: I suggest you update now and use the tagged 16.1118:54
malthat way in the future you won't accidentially break it18:54
entilbut be that as it may, `repo sync` will update fp2-sibon so I need to add that to my build script18:54
entilbecause otherwise I might drift18:54
entilso 1) update the base to 16.11 2) update sailfish for fun 3) patch my build script to check for repository sanity 4) 4.1) rebuild 4.2) repackage 4.3) reinstall sfdroid and see what happens18:56
entiltoo bad I have to head off now, let's see if I can get back to this tomorrow18:56
entilmal: btw wasn't there an mms problem or something in the latest sailfish port? or is it fixed now?18:57
entilthis is the wrong channel for that subject, but I've been holding off on updating18:57
entiland I need to go, thanks for the help, good night, hopefully I can get back to this soon :) ->18:57
malin the latest devel version that is fixed18:58
malcheck here https://wiki.merproject.org/wiki/Adaptations/libhybris/Install_SailfishOS_for_fp218:58
malthat will be in the next release I hopefully manage to made within the next few days18:58
mal*make18:58
*** rinigus <rinigus!~rinigus@jyri-gw.levikom.ee> has joined #sfdroid20:44
*** nh1402 <nh1402!~Thunderbi@95.148.89.25> has quit IRC (Ping timeout: 268 seconds)22:15
*** rinigus <rinigus!~rinigus@jyri-gw.levikom.ee> has quit IRC (Quit: Leaving)22:26

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