#sfdroid log for Sunday, 2016-08-14

*** rinigus <rinigus!~rinigus@tabasalu-gw.radionet.ee> has joined #sfdroid07:09
nh1402[m]Why don't we have it wait for uinput during the boot process in system server for example,09:26
krnlyngdr_gogeta86: do you still get the boot message error currently? can you test something for me?11:10
riniguskrnlyng: I tried to enable the sfdroid using your latest packages, but it seems to be stuck on CM boot logo when I press sfdroid. did you have any success on n4?11:12
krnlyngrinigus: it should "just" work on n4 actually11:13
krnlyngrinigus: can you check logcat for errors?11:13
krnlyngnh1402[m]: we do exactly that11:13
riniguskrnlyng: :( . I was just going to ask you how to debug the beast. OK, I'll reboot and try again. btw, which CM base did you use?11:14
krnlyngrinigus: the one ballock suggested11:14
krnlyngrinigus: YOG4PA iirc11:14
krnlynglet me check11:14
krnlyngyes11:15
krnlyngpiggz: ping11:16
riniguskrnlyng: my image is based on YOG7D, as its default for hybris-12.1 [hence separate CM zip].11:16
krnlynghmm11:16
krnlyngthat might cause problems11:16
riniguskrnlyng: but probably we would use YOG4PA for release.11:16
krnlyngok11:16
krnlyngis there a reason for using the one over the other?11:16
riniguskrnlyng: so, if I want to test sfdroid, I might have to compile myself with the correct base, right?11:17
krnlyngrinigus: either you use YOG4PA as base cm, or you compile sfdroid for YOG7D11:17
riniguskrnlyng: /cross-posting/ advantage of yog4pa is that it was used for mako release11:18
riniguskrnlyng: ^CM release, I mean11:18
krnlyngah ok11:18
riniguskrnlyng: advantage of YOG7D is that its a base for hybris 12.111:18
riniguskrnlyng: but then I have to compile CM as well11:18
krnlyngrinigus: can you check whether logcat prints anything useful? the maybe there is just a small incompatibility which can be fixed ...11:19
riniguskrnlyng: let me see11:19
krnlyngrinigus: it probably rotates around like hell , capture it for like a minute and then look for the loop11:22
*** rinigus-m <rinigus-m!~sailfish@tabasalu-gw.radionet.ee> has joined #sfdroid11:40
rinigus-mkrnlyng: i11:41
krnlyngrinigus: u11:42
riniguskrnlyng: I'll check the log a bit later - sorry, have to go :) [u]11:42
krnlyngok :)11:42
riniguskrnlyng: I tried to cleanup the log, but since I don't know exactly what to expect, its rather long. here it is https://ptpb.pw/aVBk/#L-39314:01
krnlyngrinigus: ok another case of the showbootmessage error14:03
krnlyngi don't understand why i don't get that14:03
krnlyngrinigus: can you test this for me:14:03
krnlynghttps://bpaste.net/show/a6d8945b08e914:04
krnlyngrinigus: this is init.sfdroid.rc^^14:04
riniguskrnlyng: just few differences with ballock's images: in addition to the CM base difference, I use a somewhat different kernel config (tried to add more things from new 12.1 CM kernel config).14:05
riniguskrnlyng: sure, testing ...14:05
krnlyngmore android kernel configs cannot hurt :)14:07
rinigusexactly! kernel seems also have got some updates by CM, so, while looking for playback bug, I baked a new config14:09
*** rinigus-m <rinigus-m!~sailfish@tabasalu-gw.radionet.ee> has quit IRC (Read error: Connection reset by peer)14:10
riniguskrnlyng: still stuck on boot logo (when I press sfdroid multiwin)14:15
krnlynghm ok14:15
krnlyngsame error in logcat?14:15
riniguskrnlyng: how long I am expected to wait after boot?14:15
riniguswhich error do you look at?14:16
krnlyngshowBootMessage14:16
krnlyngnull object14:16
krnlyngrinigus: it might take a while on first boot14:16
krnlyngrinigus: but if it's not starting to optimize apps soon there is likely something wrong14:16
riniguskrnlyng: let's not forget that this is a wrong base as well.14:17
krnlyngrinigus: yes but this error is something that many people have14:17
krnlyngrinigus: if there was an incompatibility in binaries we'd have seen ,... nothing14:17
krnlyngrinigus: if there was an incompatibility in java stuff there might be errors later14:18
krnlyngrinigus: if there was an incompatibility in the frameworks we'd already have seen different errors14:18
krnlyngsomewhat like this :)14:18
rinigusok, there are errors on showBoot... and its not optimizing yet. do you want a logcat?14:20
krnlyngno it's fine i don't think it will be different14:21
krnlyngrinigus: my guess is: surfaceflinger starting too late14:22
riniguskrnlyng: maybe. since it seems to be a failure at start14:23
krnlyngrinigus: i actually looked in more detail into this error. it is windowmanager service not started up properly thus mWindowManager not set in ActivityServiceManager14:23
krnlyngor actually14:24
krnlyngwindow manager service hanging during startup14:24
riniguskrnlyng: and my new shiny kernel has some more delays, it seems.14:24
krnlyngand that hangs because it cannot connect to surfaceflinger14:24
krnlynghmm!14:25
krnlyngand that means surfaceflinger did not register it's service properly?14:26
rinigusps -ef : /system/bin/surfaceflinger14:26
rinigusps -ef : /system/bin/surfaceflinger is running14:26
krnlyngtry "killall servicemanager zygote main system_server surfaceflinger"14:27
riniguskrnlyng: zygote and main were not found. and now?14:28
krnlyngrinigus: thats fine14:29
krnlyngrinigus: hmm does it behave differntly now?14:29
riniguskrnlyng: so far logo only. but maybe I should wait a bit14:31
krnlynghm maybe it's not surfaceflinger it is looking for in this case14:35
riniguskrnlyng: it looks similar. logo blinks for some time and then the blinking kind of slows down to still. logcat is full of unhappy messages. for example, "Could not create image space with image file '/system/framework/boot.art'. Attempting to fall back to imageless running. Error was: Only the zygote can create the global boot image"14:36
krnlyngmaybe Context.DISPLAY_SERVICE is the problem14:36
riniguskrnlyng: btw, I think it should not be a problem, but note that I am using multirom over here14:36
krnlyngthats from the sfdroid binary14:36
krnlyngrinigus: i am using multirom too14:37
rinigusok, good. its a saver when you test things out!14:37
krnlyngyes :)14:37
krnlyngi wonder if it is related to dumpsys display hanging14:38
krnlyngdisplay.qservice*14:39
riniguskrnlyng: is it a process? ps?14:40
krnlyngit's from qcom/display/msm8960/libqservice/14:41
krnlyngrinigus: can you do /system/bin/dumpsys display14:42
riniguscan't find service display14:42
krnlyngah obviously because system_server is crashing ... sorry14:43
krnlyngi am going to see if i can reproduce the error14:44
rinigustry to use my image :)14:45
krnlyngi am :D14:45
krnlyngabout to*14:45
riniguskrnlyng: so, my first contribution to sfdroid is producing a buggy n4 image on which you could test other's problems :) [hopefully, you'll get the same bug]14:47
krnlynghaha i don't think it is buggy, i think sfdroid is :D14:48
riniguskrnlyng: when you use ballock's image, do you also have to hit enter on sim pin dialog twice? or you don't have sim over there? (unrelated q to sfdroid)14:50
krnlyngrinigus: no i don't use this as my main phone, haven't tried a sim with it in 2 months :)14:51
riniguskrnlyng: ok, I see. np, I'll try to look into it14:51
krnlyngremind me and i will try it after the sfdroid tests14:53
riniguskrnlyng: I'll see first if newer ofono could help ... but maybe ballock knows how to fix it. we'll cry for help if its eluding us14:54
krnlyngyes i do have the error15:07
*** rinigus-m <rinigus-m!~sailfish@tabasalu-gw.radionet.ee> has joined #sfdroid15:17
rinigus-mkrnlyng: you mean sfdroid error, right?15:20
krnlyngyes15:21
rinigus-mso, as usual, its reproducible. that's good15:23
krnlyngW/dex2oat (13882): Failed to open oat file '/data/dalvik-cache/arm/system@framework@boot.oat' referenced from image /data/dalvik-cache/arm/system@framework@boot.art: Failed to open oat filename for reading: Too many open files15:29
krnlyngi think actually this is the problem15:29
krnlynghm15:32
krnlyngmaybe it is even another error15:32
krnlyngok no15:33
krnlyngrinigus: chmod 644 /usr/libexec/sfdroid/system/framework/ext.jar15:33
krnlyngrinigus: doesn't solve the problem but shuold probably be done15:33
rinigus-mkrnlyng: but limits can be increased, if needed15:34
*** krnlyng <krnlyng!~liar@178.114.22.53.wireless.dyn.drei.com> has quit IRC (Ping timeout: 258 seconds)15:38
*** krnlyng <krnlyng!~liar@178.114.51.186.wireless.dyn.drei.com> has joined #sfdroid15:51
*** ChanServ sets mode: +o krnlyng15:51
krnlyngrinigus: as far as i can tell it fails to set up /data/data/com.android.providers.settings/databases/settings.db16:22
krnlyngrinigus: and thus fails somewhere later when trying to start core services16:22
rinigus-mkrnlyng: i do have this file, but its 0 bytes16:27
krnlyngyes thats the problem i think16:28
rinigus-mkrnlyng: rm and boot?16:31
krnlyngrinigus-m: did not help on my side16:32
rinigus-mkrnlyng: then i guess its not that. but now when we talk about databases, maybe differences in cm versions are becoming important?16:37
krnlyngrinigus-m: yes maybe16:38
krnlyngrinigus-m: just for the hell of it, before i dig too deep, can you test a rom with YOG4PA as a base?16:40
*** ced117 <ced117!~ced117@opensuse/member/ced117> has quit IRC (Ping timeout: 244 seconds)16:41
rinigus-mkrnlyng: thats not that easy - i dont have any. ballock is building those and he's on vacation right now16:42
rinigus-mkrnlyng: what about rebuilding sfdroid for matching base?16:43
krnlyngrinigus-m: takes a while16:44
rinigus-m:(. maybe i should try to build it during a night, if i get the time.16:45
rinigus-mdo you guys have build instructions?16:46
krnlyngrinigus-m: you don't have the YOG7D sources on your system right now?16:46
krnlyngby any chance16:47
rinigus-mi do. its just i have to go and would be back only later. i can send messages once in a while, but that would need a bit more ...16:48
rinigus-m:)16:48
krnlyngrinigus-m: ok it is definately a mismatch16:52
krnlyngrinigus-m: i don't even have CMSettings in YOG4PA16:52
krnlyngrinigus-m: and that is what causes the break16:52
krnlyngrinigus-m: as far as i can tell16:52
*** ced117 <ced117!~ced117@opensuse/member/ced117> has joined #sfdroid16:55
rinigus-mexcellent! then i would just need to rebuild for my base16:55
krnlyngrinigus-m: i thought there were only minor differences between those two versions17:12
krnlyngapparently i was wrong and wasted a bit of time :(17:12
rinigus-mlets see if, after building matching sfdroid, problem will disappear.17:16
krnlyngrinigus-m: i am pretty sure it will but to be sure get cyanogenmod sources from build-manifest.xml17:17
rinigus-mkrnlyng: do you have some readme.txt around with build instructions?17:17
rinigus-myep, i have cm and aosp sources that match sfos image.17:17
krnlyngrinigus-m: get /system/etc/build-manifest.xml get cm sources with that cherry pick everything from mako_12 branches, clone dbus, clone sfdroid-inits, run buildscript.sh (https://bpaste.net/show/3bf7cfdcf283, adjust device name!) run pack-source.sh (https://bpaste.net/show/d0182ac14ba3 - but adjust the path to sfdroid-inits), mb2 -t $VENDOR-$DEVICE-armv7hl build with spec: https://bpaste.net/show/07943c62c95617:21
ballockI see you guys have been working hard :)17:21
krnlyngrinigus-m: if you have the sources already it should only take ~1 1/2 hours17:21
krnlyngballock: ahoi!17:22
ballockrinigus: Gallery reliably crashes with the .secure codec removed on yog4p, so I guess there's more mismatch17:22
ballockrinigus: I didn't check the trace yet, nor logcat, though.17:23
ballockWhat do you need to build on yog4p?17:23
rinigus-mkrnlyng: ok, I'll try that later. since its a build that needs sfos sdk, i would need to organise some hdd space. we'll get back with the feedback on build probably tomorrow evening.17:31
rinigus-mballock: interesting, i do wonder whats else is missing on g4p.17:32
krnlyngrinigus-m: you don't have the mer sdk? how did you build sfos then?17:33
krnlyngrinigus-m: you can always skip over the rpm and tar the files generated by pack-source and untar on the device17:33
rinigus-mballock: we tried to get sfdroid to work on my hybrid cm image17:33
ballockI compiled yog4p on a remote server that I can share if that helps you.17:34
ballockYou'd need ipv6 access, though, it's on ipv6 only.17:35
rinigus-mkrnlyng: i have full cm on machine which does not have sfos sdk. sfos was build on the other one (it needs root and there some limitations on hdd mounts). so, I'll try when i get hardware sorted - not a big issue :)17:36
krnlyngrinigus-m: ok :) btw if it is too much hassle setting up the mer sdk on the other machine, simply copy the pack-source.sh output to the mer sdk machine :P17:37
rinigus-mballock: but why playback doesn't work on the released cm base? i guess we better move that discussion to other channel. but before that, krnlyng can you try yo record video in sfos with camera and play it on my image? please, just to get n>117:40
rinigus-mkrnlyng: thanks for a tip!17:40
rinigus-mballock: looked again through your messages: i don't think that we need to build anything on yog4p - on that sfdroid works. now i need to understand if i can get it working on my image17:50
ballockrinigus: Did I share the yog4p manifest with you?17:53
ballockrinigus: otherwise I guess you'd need to do the sfos rebasing yourself17:53
piggzkrnlyng: pong17:57
piggzkrnlyng: rinigus-m: my sfdroid is also yog7d17:58
rinigus-mballock: yes, you did share. i think through your android manifest18:02
ballockrinigus: ok, good then :)18:03
krnlyngpiggz: can you send me a logcat of your device? maybe it is the same or a similar issue18:03
rinigus-mpiggz: my image is based on yog7d as well (to have it close to hybris12).18:03
piggzrinigus-m: sure ...18:16
piggzkrnlyng: will do....18:16
piggzkrnlyng: the logcat of auto starting surfaceflinger where it doesnt work, or manually where it does but input is flakey ?18:17
krnlyngpiggz: where it does not work18:19
piggzkrnlyng: https://justpaste.it/xbh618:30
krnlynghm seems like a different problem than baddea and rinigus18:31
krnlyngi will look in more detail later18:31
piggzkrnlyng: i guess the problem is18:32
piggzI/SystemServiceManager( 3786): Starting com.android.server.display.DisplayManagerService18:32
piggzW/DisplayEventReceiver( 3786): Failed to initialize display event receiver, status=-1918:32
piggzE/AndroidRuntime( 3786): *** FATAL EXCEPTION IN SYSTEM PROCESS: android.display18:32
piggzE/AndroidRuntime( 3786): java.lang.RuntimeException: Failed to initialize display event receiver.  status=-1918:32
krnlyngi have seen this before18:34
piggz\o/18:36
piggzkrnlyng: does kimmoli still have the problem with killing servicemanager?18:37
krnlyngbut i have no solution as of yet :(18:38
krnlyngi think dr_gogeta86 and kimmoli also had this problem18:38
krnlyngthis is really something with surfaceflinger if i am not mistaken again18:38
krnlyngrinigus: sorry for the delay. n=219:17
nh1402[m]what if n != 219:40
rinigus-mkrnlyng: thank you!19:41
krnlyngnh1402[m]: well it's not that bad because x = 5 and pie = 319:41
krnlyngany ideas why android creates an empty /data/data/com.android.providers.settings/databases/settings.db and then crashes because it is empty?19:42
*** rinigus-m <rinigus-m!~sailfish@tabasalu-gw.radionet.ee> has quit IRC (Quit: IRC for Sailfish 0.9)19:49
nh1402[m]π = 3.1419:50
nh1402[m]Urm is it trying to populate the database in a different location19:51
nh1402[m]It should be that location, but its installed the app in a different location19:53
nh1402[m]That's probably why its crashing19:53
nh1402[m]Its in droid/exec/data or something but the database is still in /data19:53
nh1402[m]Well I think that's the problem19:55
krnlyngno i tried putting it into /system and that didnt help19:57
nh1402[m]What's "it"19:58
krnlyngSettingProviders.apk20:01
krnlyngSettingsProvider.apk*20:02
krnlyngi guess that is what creates the file, actually i don't know but it seems likely since the folder is com.android.providers.settings/databases20:02
nh1402[m]Whose fault is that krnlyng20:26
krnlyngnot mine20:27
*** rinigus <rinigus!~rinigus@tabasalu-gw.radionet.ee> has quit IRC (Quit: Leaving)21:08

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