Sunday, 2017-10-08

*** xvnvx <xvnvx!~xvnvx@> has joined #sailfishos-porters00:11
*** xvnvx <xvnvx!~xvnvx@> has quit IRC (Client Quit)00:15
*** carepack_ <carepack_!> has joined #sailfishos-porters00:16
*** carepack__ <carepack__!> has quit IRC (Ping timeout: 260 seconds)00:17
*** carepack_ <carepack_!> has quit IRC (Read error: Connection reset by peer)00:20
*** carepack_ <carepack_!> has joined #sailfishos-porters00:21
*** Kabouik- <Kabouik-!> has joined #sailfishos-porters00:26
*** Kabouik_ <Kabouik_!> has quit IRC (Ping timeout: 248 seconds)00:28
*** cxl000 <cxl000!> has joined #sailfishos-porters01:04
*** maheart <maheart!> has quit IRC (Quit: Leaving)01:59
thewisenerdmal, ping02:11
*** maheart <maheart!> has joined #sailfishos-porters02:43
rydarele ping du mal02:46
rydarehaha good thing we don't speak french here ^^02:47
*** Kabouik- <Kabouik-!> has quit IRC (Remote host closed the connection)02:47
*** Kabouik <Kabouik!> has joined #sailfishos-porters02:48
*** Kabouik <Kabouik!> has quit IRC (Remote host closed the connection)02:57
*** Kabouik <Kabouik!> has joined #sailfishos-porters02:58
*** luen <luen!> has joined #sailfishos-porters03:01
*** nac <nac!> has quit IRC (Ping timeout: 258 seconds)03:19
*** cyberlyra <cyberlyra!~cyberlyra@> has joined #sailfishos-porters03:35
*** zhxt <zhxt!~zhxt@> has joined #sailfishos-porters03:36
*** cyberlyra <cyberlyra!~cyberlyra@> has quit IRC (Remote host closed the connection)03:42
*** cyberlyra <cyberlyra!~cyberlyra@> has joined #sailfishos-porters03:46
*** Kabouik <Kabouik!> has quit IRC (Remote host closed the connection)03:47
*** Kabouik <Kabouik!> has joined #sailfishos-porters03:47
thewisenerdrydare, but i understand a teeny weeny bitsy of french ;P03:52
*** ghosalmartin <ghosalmartin!~ghosalmar@2a02:c7f:923a:9000:2d88:21f0:99fc:d9c3> has quit IRC (Remote host closed the connection)04:01
*** cyberlyra <cyberlyra!~cyberlyra@> has quit IRC (Remote host closed the connection)04:02
*** Kabouik <Kabouik!> has quit IRC (Remote host closed the connection)04:03
*** Kabouik <Kabouik!> has joined #sailfishos-porters04:04
thewisenerdanyone know the fixup scripts mal  was talking about? AdamPiggTelegram  ?04:09
thewisenerdfor hybris-7.1 ?04:09
*** cyberlyra <cyberlyra!~cyberlyra@> has joined #sailfishos-porters04:16
*** Kabouik <Kabouik!> has quit IRC (Remote host closed the connection)04:16
*** Kabouik <Kabouik!> has joined #sailfishos-porters04:17
*** Mister_Magister <Mister_Magister!> has quit IRC (Read error: Connection reset by peer)04:24
*** Nemno <Nemno!~teknomen@> has joined #sailfishos-porters04:54
*** _sven <_sven!> has joined #sailfishos-porters05:01
*** krnlyng <krnlyng!> has quit IRC (Ping timeout: 240 seconds)05:04
*** cyberlyra <cyberlyra!~cyberlyra@> has quit IRC (Remote host closed the connection)05:48
*** cyberlyra <cyberlyra!~cyberlyra@> has joined #sailfishos-porters06:09
*** cyberlyra <cyberlyra!~cyberlyra@> has quit IRC (Ping timeout: 240 seconds)06:13
thewisenerdum ; guys, how do i go about debugging a black screen at boot? systemctl shows 5 services that failed which include droid-hal-init.service, droid-late-start.service06:14
*** zhxt <zhxt!~zhxt@> has quit IRC (Quit: Konversation terminated!)06:15
thewisenerdsomething from journalctl -xe06:16
thewisenerd@mal, @AdamPiggTelegram06:16
*** cyberlyra <cyberlyra!~cyberlyra@> has joined #sailfishos-porters06:19
*** cyberlyra <cyberlyra!~cyberlyra@> has quit IRC (Ping timeout: 255 seconds)06:24
*** Nokius_ <Nokius_!> has joined #sailfishos-porters07:04
thewisenerdi've commented out the `if; /sbin/ifconfig usb0 $LOCAL_IP && USB_IFACE=usb0; fi` lines but still no use07:05
thewisenerdlcd brightness is doing a wierd dance though07:06
*** Nokius <Nokius!> has quit IRC (Ping timeout: 248 seconds)07:07
*** cyberlyra <cyberlyra!~cyberlyra@> has joined #sailfishos-porters07:19
*** cyberlyra <cyberlyra!~cyberlyra@> has quit IRC (Ping timeout: 240 seconds)07:23
sledgesstephg: you need to build on the tagged-manifest.xml at the moment or bearr with me07:24
*** jakibaki <jakibaki!> has quit IRC (Quit: Textual IRC Client:
sledgesstephg: if it bootloops, show me your mic output - community branch has nothing but extra debug to catch that random resize2fs bug07:26
*** T4 <T4!~ircbot@unaffiliated/mikaela/bot/euforia> has quit IRC (Remote host closed the connection)07:29
*** T4 <T4!> has joined #sailfishos-porters07:29
*** T4 <T4!> has quit IRC (Changing host)07:29
*** T4 <T4!~ircbot@unaffiliated/mikaela/bot/euforia> has joined #sailfishos-porters07:29
*** T4 <T4!~ircbot@unaffiliated/mikaela/bot/euforia> has quit IRC (Remote host closed the connection)07:39
*** T4 <T4!> has joined #sailfishos-porters07:39
*** T4 <T4!T4@unaffiliated/mikaela/bot/euforia> has joined #sailfishos-porters07:39
sledgesthewisenerd: failing droid-hal-init.service is your number one thing to look at, perhaps try removing "exec" in its start .sh script07:45
*** jakibaki <jakibaki!> has joined #sailfishos-porters07:50
malthewisenerd: this should create the needed symlinks to droid-configs if you run it in $ANDROID_ROOT07:52
malthewisenerd: also add this to your $ANDROID_ROOT/hybris/droid-configs/sparse/usr/bin/droid/07:53
stephgsledges ok will do, I've been granted some time to port this afternoon07:55
*** louisdk <louisdk!~louisdk@> has joined #sailfishos-porters08:04
thewisenerdmal, ive created the symlinks after grepping logs and finding that link :p08:06
thewisenerdalso the file seems to be there in /usr/bin/droid from telnet, but with an `exec` . lemme try removing that08:09
thewisenerdalso i'm getting the same lots of binder errors08:09
thewisenerdokay, droid-hal-init.service doesn't fail anymore sledges08:11
thewisenerdnow only these three fail : dev-bfqio.mount, dev-cpuctl.mount, dev-stune.mount08:11
malthose failures are not a problem08:12
thewisenerdyeah i guessed as much08:13
thewisenerdegl_platform=hwcomposer test_hwcomposer returns something now08:13
thewisenerdsh-3.2# EGL_PLATFORM=hwcomposer test_hwcomposer08:13
thewisenerdwidth: 1080 height: 192008:13
thewisenerdundefined symbol: eglCreateStreamKHR08:13
thewisenerdundefined symbol: eglSetSwapRectangleANDROID08:13
thewisenerdOpenGL ES 2.0 (OpenGL ES 3.2 V@145.0 (GIT@I38fdb1353f))08:13
thewisenerda whole bunch of undefined symbols08:13
malignore the undefined symbols, that's just incorrect reporting08:14
thewisenerdhmm nothing shows up on display ...08:14
malbut it doesn't crash?08:14
thewisenerd[  270.641508] mdss_fb_compat_buf_sync: failed -2408:14
thewisenerddoesn't crash08:14
thewisenerdthese three lines on an infinite loop08:15
thewisenerd[  270.641325] mdss_mdp_overlay_pipe_setup: exceeded max mixer supported resolution 1920x-107908:15
thewisenerd[  270.641489] mdss_fb_handle_buf_sync_ioctl: mdp-fence: get_unused_fd_flags failed error:0xffffffe808:15
thewisenerd[  270.641508] mdss_fb_compat_buf_sync: failed -2408:15
maltry running /system/bin/surfaceflinger08:15
thewisenerdyay bootanim08:16
thewisenerdis showing up08:16
malok, at least the android side works08:16
thewisenerddisplay brightness acting wonky; dancing around brightness ; but that's a non issue right now08:17
thewisenerdhmm mal i had the same issue with halium-7.108:18
malwondering where that incorrect resolution value comes from "exceeded max mixer supported resolution 1920x-1079"08:18
thewisenerdiirc mariogrip wrote a patch for it08:18
malthewisenerd: try running the other test_* programs, like test_sensors etc08:20
thewisenerdbut i want display xd08:21
thewisenerdmal, same as halium-7.1 ; test_sensors, test_lights, test_vibrator, test_wifi work; rest crash in same way as halium-7.1, test_{egl*,hwcomposer} showing unknown symbols but same output08:24
malthewisenerd: but do they print anything else?08:25
maldoes test_Sensors list sensors?08:25
thewisenerdmal, yes08:26
thewisenerdoh wait08:26
thewisenerdtest_sensors doesn't print any sensors08:26
r0kk3rzdoes is explode in a ball of fire? or just say 0 sensors08:27
thewisenerdreads that as: give a pastebin output of what it looks like xd08:27
malso 0 sensors08:28
malthewisenerd: could you pastebin output of both ls -l /etc/ and ls -l /system/etc/08:29
thewisenerdwhy can't we poll/notify input events and write to sysfs files for sensors and leds respectively? :|08:29
r0kk3rzbecause android :P08:29
*** krnlyng <krnlyng!> has joined #sailfishos-porters08:30
malthewisenerd: we could if we had proper kernel drivers for the sensors, not always the case08:30
malsome of the sensors are often just inside android blobs08:30
thewisenerd /etc:
thewisenerd /system/etc:
thewisenerdhmm, i have mainline drivers for leds, just seems like a chore to go through too many hoops for a sysfs write08:32
thewisenerd( because liblights just writes to /sysfs :p )08:33
malthewisenerd: what device was that again?08:33
thewisenerdmal, mi 4i (ferrari)08:35
thewisenerdbshah tells me to enable --enable-adreno-quirks flag on libhybris master branch... :|08:35
*** carepack_ <carepack_!> has quit IRC (Ping timeout: 248 seconds)08:35
malthewisenerd: you have that already08:36
thewisenerdhmm yes n64-rpm08:37
thewisenerdhas it already08:37
malthewisenerd: try running these on the device ln -s /systm/etc/sensors/ /etc/sensors and ln -s /system/etc/firmware /etc/firmware08:38
malthewisenerd: then reboot08:38
thewisenerdtest_sensors again?08:40
thewisenerdstill zero sensors08:40
thewisenerdoh wait08:40
thewisenerdi think i'm missing a module08:40
thewisenerdtime to strace08:40
thewisenerduh... how to show only opens ?08:41
malyes, I was just about to say that install strace08:41
malthewisenerd: grep?08:41
thewisenerdidk why grep doesn't work on strace08:42
*** Manizuca <Manizuca!> has quit IRC (Quit: Leaving)08:42
thewisenerdjust ends up showing all lines08:42
malthewisenerd: maybe it prints to stderr08:42
thewisenerdyeah piping it to a file08:42
thewisenerdprobably missing libstlport08:42
thewisenerdor something08:43
thewisenerdpretty sure i need and libstlport.so08:45
thewisenerdnvm they're found08:48
malall seem to be found based on that08:51
thewisenerduploading trace08:51
*** R-Z <R-Z!> has quit IRC (Ping timeout: 255 seconds)08:52
*** R-Z <R-Z!> has joined #sailfishos-porters08:52
thewisenerdshould i try compiling libhybris with mm64-rpm?08:53
thewisenerdor any other branch, in fact08:53
malthewisenerd: it seems your device is using iio sensors based on that strace, sensorfw supports also those (most of the usual sensors at least)08:53
malthewisenerd: NO08:54
maln64-rpm is needed for android 708:54
malthewisenerd: I'm quite sure the problem is not libhybris but something else08:54
malthewisenerd: the strace shows some errors "SensorHAL\0", 10}, {"Failed to open buffer file (/dev"...,08:56
thewisenerdhmm wierd08:56
thewisenerdudev rules? :p08:56
thewisenerdor " how do i figure out why this thing doesn't work " : part 1.008:57
thewisenerd!seen mariogrip08:58
merbotthewisenerd: mariogrip was last seen in #sailfishos-porters 12 weeks, 4 days, 9 hours, 45 minutes, and 21 seconds ago: <mariogrip> mal: I totally get that,I did not mean you should do it alone.08:58
malthewisenerd: check /usr/libexec/droid-hybris/system/bin/logcat output for anything sensor related08:58
malor graphics related also08:58
r0kk3rzthewisenerd: figuring it out is where the fun is :)08:58
malmaybe just pastebin the whole thing08:58
malthewisenerd: check if your device really has stuff under /sys/bus/iio/devices/08:59
thewisenerdwell i'll be darned udev08:59
*** R-Z <R-Z!> has quit IRC (Ping timeout: 248 seconds)09:00
malthewisenerd: do you see any iio stuff in /dev/ ?09:01
*** R-Z <R-Z!> has joined #sailfishos-porters09:01
thewisenerdmal, yes, /dev/iio:device[0-30] exist09:02
thewisenerd```Bad ov dump:  mdp_overlay z=0 alpha=255 mask=-1 flags=0x20000 id=-1``` continues for awhile09:03
thewisenerdand then error 24 too many files:
thewisenerd /sys/bus/iio/devices/[0-30] exist as well09:04
thewisenerdall the open("/dev/iio:.. calls failed (from strace)
*** cyberlyra <cyberlyra!~cyberlyra@> has joined #sailfishos-porters09:11
thewisenerdlol mal you had the same error on 2017-07-1109:12
thewisenerdyou tell me how to fix this :D09:13
malthewisenerd: what does lsof tell for those sensor paths09:13
thewisenerdlsof /dev or /sys?09:14
*** zhxt <zhxt!~zhxt@> has joined #sailfishos-porters09:15
*** cyberlyra <cyberlyra!~cyberlyra@> has quit IRC (Ping timeout: 255 seconds)09:15
malthewisenerd: /dev09:16
thewisenerdmal, :(09:20
*** miau <miau!> has joined #sailfishos-porters09:21
malthewisenerd: which line that log (you know you can link to the line also by pressing the timestamp at the end of the line)09:21
Nokius_r0kk3rz: ahh :)09:22
*** Nokius_ is now known as nokius09:22
malthewisenerd: oh, so maybe sensorfw is already running?09:22
thewisenerdhuh how do i check it then?09:22
malthewisenerd: try systemctl stop sensorfw09:22
thewisenerdshouldn't it show up ?09:22
malor was it sensorfwd09:22
malthewisenerd: yes, but we want to see that the sensors are actually reported09:23
thewisenerdnow test_sensor ?09:23
malthewisenerd: I checked your kernel and it had all of the iio sensor driver there so I think there is also a possibility to use those directly but that is for later testing09:24
thewisenerdmal, did you gain any insight from the logs?09:24
*** cyberlyra <cyberlyra!~cyberlyra@> has joined #sailfishos-porters09:24
malthewisenerd: you didn't say which line in the log09:24
malI'm too lazy to check the whole log09:24
thewisenerdi have the exact error09:25
thewisenerdah mal sensors worked i guess09:25
malok good09:25
thewisenerdgot 31 sensors, works.09:26
malok, the fix for graphics was some simple thing, need check09:26
thewisenerdwhat simple thing?09:26
maltrying to remember09:26
thewisenerdits afternoon here lemme go eat breakfast xd09:27
*** Mikaela <Mikaela!mikaela@unaffiliated/mikaela> has quit IRC (Quit:
*** Mikaela <Mikaela!mikaela@unaffiliated/mikaela> has joined #sailfishos-porters09:28
*** cyberlyra <cyberlyra!~cyberlyra@> has quit IRC (Ping timeout: 248 seconds)09:29
r0kk3rzhey mal, so this sony tab boots maybe 1/7 of the time, and it hangs really early, like before telnet and nothing in lsusb iSerial either09:30
thewisenerdr0kk3rz, just dmesg -w ; lsusb shows my device as a "google inc."09:31
r0kk3rzdoesnt bootloop just hangs, persistent journalctl gives me nothing, i cant get to recovery without flashing something09:31
r0kk3rzthewisenerd: our init writes some debugging messages there09:32
r0kk3rzfor real early boot failures09:32
thewisenerdshould figure out a way to write to pstore ..09:33
thewisenerdand keep it from nuking itself09:33
malthewisenerd: check $ANDROID_ROOT/droid-local-repo/ferrari/droid-hal-ferrari/droid-hal-ferrari-devel*.rpm in your build environment for file /usr/lib/droid-devel/droid-headers/android-config.h and pastebin that09:35
malthewisenerd: also on the device run getprop debug.composition.type09:36
thewisenerdgetprop: c2d09:36
thewisenerdhwo do i "check for *.rpm files for a file android-config.h" ? :|09:37
malthewisenerd: rpm is just an compressed archive so use some manager to open it09:38
thewisenerdwwaaaaa no qcom bsp set?09:41
malthewisenerd: there is your problem09:42
malthewisenerd: just a moment09:42
thewisenerdokway waiting xd09:42
malthewisenerd: add this to $ANDROID_ROOT/rpm/droid-hal-ferrari.spec before the last line (never change the last line in that file)
malthewisenerd: after that run and make a new image (it's also possible to manually copy and install the rpms to the device but new image is easier)09:45
thewisenerdmal, okay09:46
thewisenerdanother thing, quite a few "errors" show up when building packages09:46
malbefore building the image check the rpm again09:46
thewisenerdmostly not being able to run files09:46
malline what?09:46
thewisenerdqemu not being able to execute files, iirc09:46
thewisenerdand something like $TERM not found09:46
malprobably not problems09:47
thewisenerdyou mean before `%include rpm/dhd/` ?09:47
malthe last line has to remain as is09:48
thewisenerdgoes back to search for pdf xd09:48
*** carepack_ <carepack_!> has joined #sailfishos-porters09:48
thewisenerdcan't wrap my head over host > sfos sdk > ubu chroot for the builds though09:49
malwhy not?09:50
malit's quite simple09:50
thewisenerdbut -why- ? :p09:50
thewisenerdandroid-7.0 build works quite fine with arch linux + bash + packages09:51
malthewisenerd: this time you only need to do things in platform sdk09:51
thewisenerdalso need to set up the symlinks for sensors?09:51
malthewisenerd: actually I build my android 7 stuff in host but the packaging I did in platform sdk09:51
malthewisenerd: not sure if those are needed or not but it won't hurt09:51
malthewisenerd: do you understand where to add those?09:52
thewisenerdwell i'm still ... thinking.  there's quite some files on /system/etc that need to be symlinked onto /etc at this rate09:52
thewisenerdwhy not just bind mount skip some files09:53
malthewisenerd: most of those are not needed, just some specific files09:53
thewisenerdp.s. Build libhybris? [Y/n/all]a  : a good idea ?09:53
*** carepack_ <carepack_!> has quit IRC (Read error: Connection reset by peer)09:53
malthewisenerd: build all09:53
maljust to be safe09:53
thewisenerdwell, glad i did the same last time09:53
malthewisenerd: check the rpm again to make sure the fix was properly added09:54
*** carepack_ <carepack_!> has joined #sailfishos-porters09:54
malthewisenerd: also check on the device which input device is the touchscreen09:54
malthewisenerd: we might fix it for this build also09:55
thewisenerdmal, already done ;) device 4.09:55
r0kk3rzthewisenerd: sfos sdk comes with a lot of tools you need, ubu-chroot is mostly just to eliminate potential host env issues09:55
thewisenerdfixed that when creating the file xd09:55
malthewisenerd: ok, good09:55
malthewisenerd: it's nice to have new porters who seem to know what they doing :)09:56
thewisenerdr0kk3rz, android-7.1 is ... not so bad. i remember lollipop (and mm?) had issues with linker causing builds to be unbootable, but.09:56
thewisenerdandroid-7.1 compiles just fine with packages installed and under a bash env09:56
r0kk3rzthewisenerd: we use the same process for cm-11 onwards :P09:56
thewisenerdr0kk3rz, iirc you need jdk 8 for > mm and 7 for < mm09:57
thewisenerdbut yeah i do plan on getting this synced some day and building for my 4 y/o device :p09:58
r0kk3rzi think we mostly stay away from the java stuff, its NDK stuff we use09:58
thewisenerdp.s. if you have a --mirror'ed repo of ROM source A, and plan to --reference B to A, it isn't gonna work. you need a reference C to A then reference B to C xd09:59
thewisenerdlearnt that the hard way today09:59
thewisenerdand synced hybris-14.1 in less than 20 minutes with my 2mbit connection xd09:59
thewisenerdokay maybe i #OTed10:01
*** nh1402 <nh1402!~nh1402@> has joined #sailfishos-porters10:02
thewisenerdmal :D10:03
thewisenerdit's added10:03
malthewisenerd: good, now there is hope to get graphics working, I also know why the automatic detection failed and those lines were not added10:08
thewisenerdbuild does not call vendor/lineage/ ?10:08
malthewisenerd: the missing define is not for the android side build but for the middleware build10:11
thewisenerdah right xd10:11
thewisenerdbtw, i have noticed this issue before, being10:11
malthewisenerd: some of middleware use android headers during build so they need to have the matching defines10:11
thewisenerdtwrp kills a long running extract process10:11
thewisenerdlike tar10:12
thewisenerdbecause OOM kicks in10:12
thewisenerdnot because the extractor itself was taking memory but the file it was extracting was being buffered10:12
malthewisenerd: so I have added some magic to look for certain things in of main device repo but your device has the line in a different repo and different file10:12
malthewisenerd: hmm, check this not related to build but that happens on most new devices10:13
thewisenerdwait which repos are you looking at for my device? :D10:13
malthewisenerd: the ones on lineageos github10:14
*** Zucca <Zucca!> has joined #sailfishos-porters10:15
thewisenerdhmm they're old10:16
thewisenerdlike almost a year old now :p10:16
malthewisenerd: but the basics don't change much10:17
malwhy is nobody updating those?10:17
*** ggabriel <ggabriel!> has quit IRC (Ping timeout: 248 seconds)10:18
thewisenerduserbase of device is ~100 and even they complain xd10:18
thewisenerdmy repos are here:
*** SfietKonstantinW <SfietKonstantinW!c2623324@gateway/web/cgi-irc/> has quit IRC (Quit: - A hand crafted IRC client)10:20
*** SfietKonstantinW <SfietKonstantinW!c2623324@gateway/web/cgi-irc/> has joined #sailfishos-porters10:20
thewisenerdthe installer zip uses bz2 nay?10:20
thewisenerdhope that doesn't trigger OOM10:20
malthewisenerd: it will10:22
maloom stuff is read only10:22
malthewisenerd: you need to revert this (actually not exactly that but you get the point, you have some differently named variables)10:23
*** ggabriel <ggabriel!> has joined #sailfishos-porters10:25
malthewisenerd: this one for your kernel the10:26
thewisenerdwell so far it hasn't. i'll pull that in later :D10:28
thewisenerdhoping display works :p10:28
thewisenerdguessing i need to edit since i haven't pulled it in already ?10:29
malthewisenerd: that oom issue happens when UI is up :)10:29
malthewisenerd: yes, you should have added to your droid-configs repo like I told you, but not sure if you did that10:30
thewisenerdor bigger rootfs'es . plasma mobile rootfs almost always oom's in recovery.10:30
thewisenerdedited over telnet :p10:30
thewisenerds/in/even in10:30
thewisenerdis the installer zip trying to force a userdata mount/unmount?10:30
thewisenerdi think that can be "improved"10:30
malmight be, the warning it gives can be ignored10:31
*** piggz <piggz!~piggz@> has joined #sailfishos-porters10:31
thewisenerduh oh still no display10:32
thewisenerdoh wait10:32
thewisenerdthere is :D10:32
piggzabranson/mal: will mp3's not playing be related to the general codecs not working at all in 14.1?10:32
thewisenerdweee :D10:33
thewisenerdits __tiny__ :>10:33
abransonpiggz: yep10:33
thewisenerdwew ofono works ?10:34
thewisenerdwlan doesn't. hmm.10:34
abransonpiggz: though in the next release of gstreamer, sw mp3 should be included. because the patents have expired.10:34
malpiggz: yes10:36
malabranson: which codec?10:36
malabranson: I hope not fluendo (that is crappy as hell, I can give and example how to see just how crappy)10:37
malthewisenerd: wlan usually needs to be build as a module10:38
malthewisenerd: maybe you forgot to set the correct pixel ratio?10:38
malthewisenerd: now check for the oom errors10:38
abransonmal: they're saying mpg12310:38
malabranson: ok, that is probably better10:39
abransonwhich would give us some lower mpegs that we're currently missing10:39
abransoni think they said they've removed a crappy one10:39
thewisenerdmal, how do i ?10:39
malthewisenerd: journalctl10:40
*** taaem <taaem!~taaem@unaffiliated/taaem> has quit IRC (Ping timeout: 260 seconds)10:40
abransonmal: "The mad mp1/mp2/mp3 decoder plugin was removed from gst-plugins-ugly, as libmad is GPL licensed, has been unmaintained for a very long time, and there are better alternatives available. Use the mpg123audiodec element from the mpg123 plugin in gst-plugins-ugly instead, or avdec_mp3 from the gst-libav module which wraps the ffmpeg library. We expect that we will be able to move mp3 decoding to gst-plugins-good in10:40
abransonthe next cycle seeing that most patents around mp3 have expired recently or are about to expire."10:40
piggzabranson/mal: ok, np .....10:41
piggzabranson: hows your thoughts on supporting los14?10:41
abransonpiggz: soontm10:42
malpiggz: decoding should work, but not 100% sure10:42
abransonwell, from my perspective finishing the droidmedia support for android 7 isn't on the top of my list, but it's on the lsit10:42
thewisenerdmal, nothing seems -wrong- in ofono10:43
piggzi suspect its quite a niche skill, and i probably cant help?10:43
abransonmal: no there's no codecs made for decoding yet. i don't think the encoders are properly working on 7 either10:43
malthewisenerd: I wasn't talking about ofono10:43
abransonneeds that MediaCodec/SimpleDecodingSource or something like that10:43
malabranson: hmm, I thought it was the other way, decoders are there but encoders not10:44
abransonI had to add MediaCodecSource support to get the sony video recording working. the xperia just hung with OMXCodec10:44
abransonin theory that should work in 7...10:44
abransonbut might need a little more live10:44
thewisenerds/ofono/journalctl xd10:45
thewisenerdnothing related to oom in journalctl10:45
thewisenerdi need to sleep :p10:45
*** taaem <taaem!~taaem@unaffiliated/taaem> has joined #sailfishos-porters10:46
malthewisenerd: so nothing like "Failed at step OOM_ADJUST spawning /usr/libexec/mapplauncherd/booster-qt5: Permission denied"10:46
thewisenerdum, no?10:48
thewisenerd2 GB of RAM, probably why :p10:48
r0kk3rzhmm, my dev-mmc is taking 2.4 seconds to mount, is there a way i can tell other things to wait a bit longer for it?10:50
piggzabranson: could you cast your eye over the logs on this post?  It seems a user has followed all my instructions, but audioflinger isnt working for them ... there is some kind of permission error in the logcat
thewisenerdpiggz, !!!10:52
malthewisenerd: but better make the fix anyway just in case10:53
malthewisenerd: at some point10:54
thewisenerdmal, sure :) so i just make sure that the person who kills my beloved processes is never born/enabled10:55
kimmolidon't get personal10:55
thewisenerdkimmoli, ...10:57
*** psachin <psachin!~psachin@> has quit IRC (Ping timeout: 240 seconds)11:00
*** krnlyng <krnlyng!> has quit IRC (Read error: Connection reset by peer)11:03
*** krnlyng <krnlyng!> has joined #sailfishos-porters11:10
*** PeperJohnny <PeperJohnny!~johnny@2a02:8109:1e40:d48:9f1e:79ed:14f7:e40a> has joined #sailfishos-porters11:22
T4@fridlmue was removed by: @fridlmue11:24
abransonpiggz: not sure, but as you suggested I'd look for droid services that shouldn't be enabled11:25
*** filip <filip!> has joined #sailfishos-porters11:26
*** PeperJohnny <PeperJohnny!~johnny@2a02:8109:1e40:d48:9f1e:79ed:14f7:e40a> has quit IRC (Quit: Konversation terminated!)11:40
*** PeperJohnny <PeperJohnny!> has joined #sailfishos-porters11:40
* stephg byebye syspart and hadk, hello repo sync my old 'friend'11:42
sledgesstephg: i should have updated android repos by tonight, so the choice is yours11:43
stephgsledges: once the repos are uptodate, would I need to blow away the tagged-manifest'd .repo and start again anyway?11:44
sledgesstephg: yes, and hope they won't break, or just stick to the updated tagged-manifest, which will also be updated11:45
stephgsledges: the agony of choice!11:46
sledgesstephg: however come to thinking all these things will need updated blobs which are not publicly available11:46
sledgesso yeah, go ahead with current manifest .xmls11:46
stephgso wait then?11:47
sledgesso go ahead11:47
stephgwith tagged-manifest? ok11:47
stephgany reason why depth 10 not 2 or even 1?11:47
r0kk3rzstephg: don't be so shallow11:48
sledgesi'm even tempted to blob a tag on that tagged-manifest.xml11:48
stephgr0kk3rz: meow! :D11:48
sledgesfree your mind!11:48
stephgit's my bandwidth bill I'm worried about :P11:49
r0kk3rzsledges: what is the best way to make init wait a little bit longer for the mmc to mount?11:50
r0kk3rzi hacked a 1s delay into systemd-udev-trigger.service which seemed to do the trick, but its a hack11:50
sledgesstephg: i was hoping for more contributions with depth=10 so looking into the code is neater11:50
stephgsledges: ok understood11:50
stephg(only wondering)11:50
sledgesstephg: i don't think 1 vs 10 will change much, compared to number of commits those repos have11:51
thewisenerdstephg, do you have a local lineageos clone?11:51
thewisenerdif yes, just use --reference :D11:51
stephgthewisenerd: ah, but nope :)11:51
r0kk3rzthewisenerd: most of us don't build android at all :)11:51
thewisenerddu -h .repo reads 72 MB for me xd11:52
sledgesr0kk3rz: you can try adding a systemd quirk into droid-hal-init.service file which waits for a file to appear once mounted (e.g. to wait for system you can look for /system/init.rc to appear as an example)11:52
sledgesi obviously forgot the exact parameter name for that ;P11:52
r0kk3rzsledges: i think thats too late in the init process, but i'll try11:53
sledgesr0kk3rz: what's too late?11:54
r0kk3rzdhi, theres loads of stuff that happens before that11:55
thewisenerdjust thinking ... do we need the device trees at any point of time apart from building hybris-boot? :o11:55
thewisenerds/do we/when do we/11:55
sledgesr0kk3rz: but you said you care only about init starting after mmc is ready?11:56
* stephg threatens to hit repo sync with a stick11:57
r0kk3rzsledges: im not 100% sure, something falls over really early on in the boot process, and im fairly sure its because the mmc is taking 2.4s-2.6s to mount11:58
sledgesr0kk3rz: evidence of something falling over?11:58
r0kk3rzsledges: boot hangs forever... no telnet, no iSerial. maybe 1/7 times it boots to UI11:59
sledgesthewisenerd: the whole android tree including device/ subdirs is also needed during the droid-hal build12:00
sledgesr0kk3rz: and by mmc you mean /system mount?12:00
r0kk3rzsledges: looking at systemd-analyze there is a dev-mmcblksomethingpwhatever.device as like the first thing it does after the kernel12:02
sledgesr0kk3rz: is this where you added the sleep hack?12:02
r0kk3rzit was a little bit after that, before the local-fs-pre.target12:03
sledgesdo you have the filename?12:03
r0kk3rzonce i get this thing to boot again... i tried to do the hack in a better way. i dont think it worked12:05
r0kk3rzsledges: its the userdata partition12:12
*** cyberlyra <cyberlyra!~cyberlyra@> has joined #sailfishos-porters12:18
*** cyberlyra <cyberlyra!~cyberlyra@> has quit IRC (Ping timeout: 260 seconds)12:22
*** louisdk <louisdk!~louisdk@> has quit IRC (Ping timeout: 246 seconds)12:39
*** PeperJohnny <PeperJohnny!> has quit IRC (Quit: Konversation terminated!)12:39
piggzabranson: eek, my phone is now doing the same, cant hear audio on calls12:43
piggzabranson: this is logcat from making a call
thewisenerdpiggz, why do i see msm8916_platform in the logs?12:51
abransonpiggz: i don't know much about the audioflingerglue side sorry, if it is indeed that causing it.12:52
piggzthewisenerd: i think thats the audio platform12:52
abransonwhat changed?12:52
piggzabranson: nothing ... thats the thing...12:53
piggzim just gonna reboot, and make sure its not something like, it only works when usb is plugged in, as, previously, ive probaby only tested it while plugged in and im developing12:54
piggzabranson: it worked just then after a reboot while plugged in....12:55
piggzabranson: thats it!12:55
stephgwhy on earth would that make a difference12:55
piggzi just rebooted without usb connected, and no audio!12:55
piggzi need to test that again!12:56
piggzok ... again, booted with usb, audio worked , log
piggzah, its not just a calls issue13:02
piggzwithout usb conbected at boot, there is no UI sound when lipstick starts13:03
piggzscrap that13:04
piggzthe sound was becuase usb was in13:04
piggzdamnit, audio worked that time13:05
*** louisdk <louisdk!~louisdk@> has joined #sailfishos-porters13:05
*** gmoro_ <gmoro_!~gmoro@> has joined #sailfishos-porters13:06
*** gmoro <gmoro!~gmoro@> has quit IRC (Ping timeout: 260 seconds)13:07
piggzlets try without pluggin in the usb before making a call ... like a regular user would13:08
piggzno, its working fine now13:09
piggzi wonder if those symlinks i added helped13:09
piggzit would make sense that a symlink for /system/etc/permissions would help...13:11
*** carepack__ <carepack__!> has joined #sailfishos-porters13:15
*** miau <miau!> has quit IRC (Ping timeout: 255 seconds)13:15
*** carepack_ <carepack_!> has quit IRC (Remote host closed the connection)13:16
*** carepack_ <carepack_!> has joined #sailfishos-porters13:17
*** carepack__ <carepack__!> has quit IRC (Read error: Connection reset by peer)13:18
piggznope, this seems intermittent13:21
piggzplatform.xml:    <assign-permission name="android.permission.MODIFY_AUDIO_SETTINGS" uid="audioserver" />13:26
piggz1041      1421  0.1  0.4  44008 11760 ?        Sl   14:21   0:00 /system/bin/audioserver13:26
piggzam i missing a uid for the audioserver?13:27
piggz10-08 13:21:31.507  1421  1891 E         : Request requires android.permission.MODIFY_AUDIO_SETTINGS13:28
*** jakibaki <jakibaki!> has quit IRC (Quit: Textual IRC Client:
*** jakibaki <jakibaki!> has joined #sailfishos-porters13:40
*** sydney_untangle <sydney_untangle!~sydney@supertux/sydney> has quit IRC (Ping timeout: 240 seconds)13:42
*** nac <nac!> has joined #sailfishos-porters14:27
*** zhxt <zhxt!~zhxt@> has quit IRC (Ping timeout: 255 seconds)14:31
*** cmazieri <cmazieri!~carlos@> has joined #sailfishos-porters14:32
*** eyome <eyome!> has joined #sailfishos-porters14:33
*** Mister_Magister <Mister_Magister!> has joined #sailfishos-porters14:41
*** elros <elros!> has joined #sailfishos-porters15:06
piggzmal: could this problem be caused by service startup ordering?  is there a service in change of permissions?15:14
malpiggz: did call audio work at some point?15:14
piggzmal: yes, it is working now15:14
piggzbut seems sometimes after a boot it wont15:14
piggzwell, not seems ... actually15:14
malcould be some race condition15:14
faenilr0kk3rz: sorry for the 3 weeks late reply, was afk :D15:15
piggzhavnt found a pattern, except in the logs which show permission errors when it isnt working15:15
piggznot sure which services to focus on just yet15:15
faenil(I got a highlight for a discussion on cursor on ubuntu phones)15:15
*** sydney_untangle <sydney_untangle!~sydney@supertux/sydney> has joined #sailfishos-porters15:19
malpiggz: is it only call audio, not all audio?15:20
elrospiggz: systemd-analyze plot  and udevadm helped me to figure out why sensorfw wasn't detecting all sensors at boot up sometimes15:20
*** nokius is now known as Nokius15:20
malelros: what was the reason, I had similar issue on fp2 and I solved it bu adding sleep 10 before sensorfwd startup :D15:20
*** carepack_ <carepack_!> has quit IRC (Read error: Connection reset by peer)15:21
*** nac <nac!> has quit IRC (Ping timeout: 248 seconds)15:21
piggzmal: yes, only call audio15:23
elrosmal: I am still testing it but looks like if sensorfwd starts before sys-device-platform-SENSOR.3.device then it does't work and need to be restarted15:23
elrosSo I added Requires and After = sys-device-platform-SENSOR.3.device to sensorfwd.service15:25
piggzelros: cheers, i'll see if it helps ... in this case, i think its android init start15:27
elrosusefull service to track udev uevents at boot up:
malelros: ok15:29
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@> has joined #sailfishos-porters15:33
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@> has quit IRC (Ping timeout: 258 seconds)15:38
piggzmal: sleep 10!?!?  and you call me hacky for putting libs in droid-configs!15:40
malpiggz: :D15:42
malpiggz: actually it's only sleep 5
malelros: ^15:43
*** phlixi_ <phlixi_!> has quit IRC ()15:58
*** phlixi <phlixi!> has joined #sailfishos-porters16:03
r0kk3rzfaenil: o/16:10
*** elros <elros!> has quit IRC (Quit: Communi 3.5.0 -
Nokiusfaenil: \o16:22
*** Mister_Magister <Mister_Magister!> has quit IRC (Ping timeout: 240 seconds)16:25
*** nh1402_ <nh1402_!~nh1402@> has joined #sailfishos-porters16:26
*** nh1402 <nh1402!~nh1402@> has quit IRC (Read error: Connection reset by peer)16:27
*** _sven <_sven!> has quit IRC (Ping timeout: 240 seconds)16:33
*** Mister_Magister <Mister_Magister!> has joined #sailfishos-porters16:35
*** _sven <_sven!> has joined #sailfishos-porters16:38
*** _sven <_sven!> has quit IRC (Remote host closed the connection)16:44
*** cmazieri <cmazieri!~carlos@> has quit IRC (Quit: Leaving)16:49
*** XenoPL <XenoPL!> has joined #sailfishos-porters16:49
thewisenerdis the wiki down? :|16:50
thewisenerdgetting a database error16:50
stephgthewisenerd: it was doing that last week16:50
*** _sven <_sven!> has joined #sailfishos-porters16:51
*** piggz <piggz!~piggz@> has quit IRC (Ping timeout: 255 seconds)16:54
*** piggz <piggz!~piggz@> has joined #sailfishos-porters16:57
r0kk3rzworks for me, but its really slow16:57
*** T4 <T4!T4@unaffiliated/mikaela/bot/euforia> has quit IRC (Remote host closed the connection)17:00
*** T4 <T4!> has joined #sailfishos-porters17:00
*** T4 <T4!> has quit IRC (Changing host)17:00
*** T4 <T4!T4@unaffiliated/mikaela/bot/euforia> has joined #sailfishos-porters17:00
stephgI'm getting mighty fed up of syncing :/17:00
thewisenerdguys, on a msim device, why does it only show one sim's network?17:11
thewisenerdon homescreen?17:11
thewisenerdor should i reboot? xd17:11
thewisenerdnvm, reboot got it17:12
thewisenerdbtw, if test_sensors worked, do i assume sensors work? or is there a way to test it?17:16
thewisenerd( als i can check, thanks to auto brightness )17:16
thewisenerdalso, what's the difference between vibration and haptics?17:17
*** louisdk <louisdk!~louisdk@> has quit IRC (Ping timeout: 240 seconds)17:17
r0kk3rzthewisenerd: you can install messwerk, or run csd-tool17:21
thewisenerdr0kk3rz, no wifi yet :|17:23
malthewisenerd: for dual-sim device you need some configuration changes and new packages17:23
malr0kk3rz: did you build the wlan as module yet?17:24
malthewisenerd: ^17:24
thewisenerdwlan is built in, doesn't work ... "very well" as a module.17:24
malthewisenerd: why not?17:24
malthewisenerd: pretty much all device need it as a module17:24
thewisenerddo i need it though?17:25
thewisenerdon halium, i just do17:25
thewisenerdecho sta > /sys/module/wlan/parameters/fwpath17:25
thewisenerdnmcli dev wifi con "ssid" password "passwd"17:25
malthewisenerd: have you tried that?17:25
malthewisenerd: usually it's just easier as module, just a simple systemd service to modprobe it at correct time17:27
thewisenerdmal, yes, connected17:27
thewisenerdecho sta > /sys/module/wlan/parameters/fwpath17:27
thewisenerdthis gets wlan up17:28
r0kk3rzmal: btw
thewisenerdafter which i can turn on/off wlan from settings17:28
*** Kabouik_ <Kabouik_!~kabouik@> has joined #sailfishos-porters17:28
malthewisenerd: ok, then you just need a simple systemd service to run that command at boot17:28
*** krnlyng <krnlyng!> has quit IRC (Read error: Connection reset by peer)17:30
*** Kabouik <Kabouik!> has quit IRC (Ping timeout: 258 seconds)17:31
thewisenerdmal, wifi, and hotspot work :D17:31
thewisenerdwhat is wlan > data though?17:32
thewisenerdcelllar data works < tested with browser and over hotspot17:33
*** nac <nac!> has joined #sailfishos-porters17:36
thewisenerd> PackageKit is blocking zypper. This happens if you have an updater applet or other software management application using PackageKit running. ?17:38
malthewisenerd: for dual-sim add and also the lines after tat17:39
thewisenerdi am guessing i'm doing something wrong17:39
malthewisenerd: nope17:39
malthat is normal17:39
thewisenerdmal, i already have it :D
thewisenerdokay so i quit packagekit17:39
r0kk3rzthat happens if you use the store or something like that17:40
malthewisenerd: why are missing the name fields?17:40
thewisenerdhmm it got closed on it's own17:40
thewisenerdthey were commented out... so... :<17:40
thewisenerdah k nvm17:41
malthewisenerd: ah, yes, those might not be needed17:41
thewisenerdthey were commented out on a single sim config17:41
thewisenerd> # RIL logging prefix, to tell one socket from another in the log.17:41
thewisenerd# Makes sense if you have more than one modem configured.17:41
thewisenerd# No prefix by default.17:41
malthewisenerd: do you have the package mention in the link I gave?17:41
thewisenerdhmm no17:42
thewisenerdbtw, do i have to build entire rootfs everytiem? :<17:42
maldepends on what you change17:42
thewisenerdzypper in jolla-settings-networking-multisim ?17:42
thewisenerdr0kk3rz, 'messwerk' not found in package names. Trying capabilities.17:42
malI think it's Messwerk or harbour-messwerk or something like that17:43
thewisenerdmal, what does the package add? i can configure both cellular networks already17:43
malit should add some configuration stuff17:44
thewisenerdooh there's a new "sim cards" option17:44
thewisenerdin settings17:44
thewisenerdmal, my LED's constantly -on- ...17:45
thewisenerdany idea why ?17:45
malthewisenerd: you can of course copy rpms you build to the device or do fixes directly on device but it's easy to forget to add the changes to repos17:45
malthewisenerd: do yo have usb connected, it might be because of that?17:46
thewisenerdmal, hmm, yes. now it's gone though ? :|17:46
thewisenerd weird17:46
*** krnlyng <krnlyng!> has joined #sailfishos-porters17:46
malmight be about charging or something17:46
thewisenerdhmm gps doesn't work17:50
thewisenerdeverything else in messwerk is working fine :)17:50
thewisenerdcrosses off sensors xd17:50
piggzthewisenerd: syminks from /system/etc for gps?17:51
*** paju <paju!> has quit IRC (Read error: Connection reset by peer)17:51
thewisenerdpiggz, where to ?17:52
thewisenerd /system/etc/what to /etc/what ?17:52
thewisenerdalso,  how do i check usb tethering?17:52
malthewisenerd: did you enable gps in settings?17:53
thewisenerd.. good question xd17:54
malthewisenerd: also harbour-gpsinfo is better for gps testing17:54
malthewisenerd: either way you need to enable it first in settings17:54
thewisenerdaaaa i can't test it inside this brick cage xd17:54
thewisenerdi need to get out17:54
*** paju <paju!> has joined #sailfishos-porters17:54
thewisenerdharbour-gpsinfo, okay17:55
thewisenerdpiggz, do you mean the /etc/config/files/that/gps/reads?17:55
malthewisenerd: don't worry about that now, I think you might not need anything there17:55
malthewisenerd: there are some symlinks you might need later17:56
thewisenerdsh-3.2# cat {red,green,blue}/brightness17:56
thewisenerdthis is when usb is connected17:56
thewisenerddoesn't seem right17:56
thewisenerdwhere can i configure this?17:56
thewisenerdbrb going out to test harbour-gpsinfo xd17:56
thewisenerdnothing. i think i need the symlinks17:58
malcheck logcat17:59
malthewisenerd: did you enable gps in settings?18:00
thewisenerdmal, location is 'on' in device only mode18:00
thewisenerdshould i switch to high accuracy mode?18:00
*** XenoPL <XenoPL!> has quit IRC (Read error: Connection reset by peer)18:00
*** krnlyng_ <krnlyng_!> has joined #sailfishos-porters18:01
*** krnlyng <krnlyng!> has quit IRC (Read error: Connection reset by peer)18:01
thewisenerdhmm switching off and on location shows nothing related to gps in logs18:01
malit's usually something like loc-api or anything loc or location related18:03
malanything in journalctl?18:03
malabout geoclue18:03
thewisenerdanything better than telnet? :p18:03
thewisenerdtelnet doesn't like arrow keys and stuff :(18:03
malyou can always use ssh18:03
malyou just need to set password for nemo user18:04
maleither via telnet or developer mode in settings18:04
thewisenerdnow, journalctl -a ?18:05
thewisenerdhmm how do i get root? :p18:05
*** krnlyng_ <krnlyng_!> has quit IRC (Ping timeout: 248 seconds)18:05
*** krnlyng <krnlyng!> has joined #sailfishos-porters18:06
thewisenerdno 'geoclue' instance18:06
thewisenerdlemme reboot and try18:06
*** miau <miau!> has joined #sailfishos-porters18:07
malthere are maybe 3 different geoclue processes that can exists18:07
thewisenerduh oh display's gone18:09
thewisenerdi just rebooted :|18:09
thewisenerdmaybe it's the "offline charging" thing18:10
malcould be if such a feature is supported by the device18:11
thewisenerdno "geo clue"18:11
thewisenerds/geo clue/geoclue18:11
thewisenerdin fact, no geo instances found on journalctl -a18:12
thewisenerdfor searching you do `journalctl -a` then type '/' followed by search term, right? :|18:12
malI think those are started on-demand18:12
maldo you see anything goeclue processes in ps aux?18:13
thewisenerdhmm, nothing18:13
thewisenerdonly grep instance18:13
thewisenerdhmm upon starting gpsinfo i get geoclue processes18:14
thewisenerdbut how to view logs though18:14
malcheck journalctl and logcat18:17
malpastebin those if you don't know what to look for18:18
thewisenerdjournalctl -a ?18:18
malthewisenerd: oh, I found errors in your logcat, check on your device the file /init.environ.rc and if it contains a line export LD_LIBRARY_PATH something then remove that line18:24
thewisenerdwill that persist? i guess no?18:24
thewisenerdoh wait it's in .stowaways18:24
*** Wohoo <Wohoo!3e4e9541@gateway/web/freenode/ip.> has joined #sailfishos-porters18:25
malthat will persist but for build we need to fix it properly18:25
thewisenerdreboot now? or try again?18:25
maldid it contain that line?18:25
thewisenerdmal, yes18:25
*** Wohoo <Wohoo!3e4e9541@gateway/web/freenode/ip.> has quit IRC (Client Quit)18:25
thewisenerdwhy do i need a "reboot -f" btw?18:25
thewisenerdreboot just... does nothing18:26
malmaybe systemctl reboot?18:26
*** Kabouik- <Kabouik-!> has joined #sailfishos-porters18:26
thewisenerdyay those .so errors in logcat seeem to be gone18:28
thewisenerdrunning gpsinfo now18:28
*** Kabouik_ <Kabouik_!~kabouik@> has quit IRC (Ping timeout: 240 seconds)18:29
malthewisenerd: it seems I forgot to fix that error, I was supposed to fix it18:29
thewisenerdi probably need to go out and try this18:29
malthat looks ok18:30
thewisenerdhmm nothing18:31
thewisenerdgetting logs18:31
malLocSvc_ApiV02: E/static loc_core::LocApiBase *LocApiV02::createLocApiV02(const MsgTask *, LOC_API_ADAPTER_EVENT_MASK_T, loc_core::ContextBase *):217]: msgTask can not be NULL18:35
thewisenerdthat's... bad?18:36
thewisenerdmy device is using a N gps hal18:36
thewisenerdshould i fall back to M ?18:36
maltry using test_gps18:40
malwhat does it say?18:40
*** phdeswer <phdeswer!> has joined #sailfishos-porters18:40
malthewisenerd: do you have that anywhere in /system ?18:42
thewisenerd /system/vendor/lib64/libperipheral_client.so18:42
thewisenerdguessing that got nuked with LD_LIBRARY_PATH ?18:43
malnot sure if it would work because mixing 32 and 64 bit libs doesn't always work18:43
malnot sure how relevant that it18:43
malthewisenerd: also I have patch for the N gps hal which I haven't been able to test because I have no device that uses it18:44
thewisenerdi can do eet :D18:44
thewisenerdbtw, for RIL, i can call my device, but don't get any ring.18:44
thewisenerdshould i check ofono or logcat ?18:45
malthewisenerd: check call stuff in hadk pdf18:45
malthewisenerd: chapter 13.4.118:46
thewisenerdhaha yes 13.4.118:46
thewisenerdThe necessary middleware is already built for you, just add geoclue-provider-hybris package into your18:47
thewisenerddo i need this?18:47
malthewisenerd: that is old info, it's included by default18:47
*** nh1402 <nh1402!~nh1402@> has joined #sailfishos-porters18:48
thewisenerdokay, how do i test audio? it's blank in hadk :p18:48
r0kk3rzplay a file?18:49
*** nh1402_ <nh1402_!~nh1402@> has quit IRC (Ping timeout: 258 seconds)18:49
malthewisenerd: from sound settings for example18:49
thewisenerdthey work, ringtones play and stuff18:49
thewisenerdwonder if i can test playing files without gstreamer18:49
thewisenerdwhat media player works? :D18:50
*** nh1402 <nh1402!~nh1402@> has quit IRC (Client Quit)18:50
malthewisenerd: the default media app, jolla-mediaplayer18:50
malthewisenerd: at some point you also might want to do chapter 13.218:52
maland 13.318:52
thewisenerdentire chapter 13 :p18:53
thewisenerdi haven't gone beyond 8 xd18:53
*** louisdk <louisdk!~louisdk@> has joined #sailfishos-porters18:53
malthewisenerd: the ones I told are the important ones, of course bluetooth at some point but there is no documentation for that, depends on the chip18:54
thewisenerdi also need to rewrite vibrator driver using ffmemless to check off "haptics" ? xd18:56
malthewisenerd: no18:57
malthewisenerd: not needed anymore unless you really want to18:57
thewisenerdit'll be good to have a generic drive18:57
thewisenerdeven though this chip or its documentation wont see the light of day or be sold outside markets18:58
thewisenerdanyway, lmk if you have the gps patch. i'll start compiling the changes i've made18:58
thewisenerddon't wanna get too far from hal-* repos xd18:58
thewisenerdbtw, do i need QT_QPA_EGLFS_PHYSICAL_{WIDTH,HEIGHT} or pixel_ratio ?19:00
r0kk3rzmal: i wrote up some new instructions for broadcom bt with the stuff jolla did for the x19:00
r0kk3rzbut we still need to fix these rome whatsits19:00
malthewisenerd: pixel ratio you should have set earlier already, but those width and height values are good to have19:01
thewisenerdokay :D19:02
thewisenerddo i also need to set resolution somewhere?19:02
malthewisenerd: if you want to test new gps api in test_gps apply this to libhybris
malthewisenerd: for geoclue I need to rebase my patch19:03
thewisenerdso, the three -major- repositories i need to keep in case i decide to nuke sources are19:05
thewisenerdjust gonna set env vars $DROID_HAL, $DROID_CONFIG, $DROID_VERSION xd19:06
r0kk3rzits mostly just droid-configs19:07
thewisenerdnuu i defined qti bsp and straggler files in $DROID_HAL19:08
r0kk3rzsince that is the major place you add your fixes for things19:08
thewisenerdqcom bsp flags fixed display for me lel19:09
thewisenerdstill can't believe audio works out of the box19:09
thewisenerdmaybe i'll run into the issues piggz ran into sooner or later19:09
piggzthewisenerd: what is your device?19:10
thewisenerdmi 4i (ferrari)19:10
thewisenerdmsm8939 (msm8916_64 family)19:10
thewisenerdsame audio platform i guess19:10
thewisenerdbtw can you check if you have an audio.offload.disable somewhere in build.prop?19:11
malthewisenerd: for geoclue-providers-hybris
mallooks like I had that in github since this summer :D19:12
malit has been waiting for a device to test it on so I can get it included19:13
thewisenerdhmm where are the package sources locally?19:14
thewisenerdi was hoping to just add as a remote and pull19:14
malthewisenerd: use rpm/dhd/helpers/ -b hybris/mw/geoclue-providers-hybris19:18 --configs19:19 --droid-hal19:19
thewisenerdand build rootfs19:20
thewisenerd( if i want to rebuild the entire thing )19:20
thewisenerd%define QT_QPA_EGLFS_PHYSICAL_WIDTH 69.619:23
thewisenerd%define QT_QPA_EGLFS_PHYSICAL_HEIGHT 138.119:23
thewisenerdbefore %include rpm/dhd/droid-hal-device.inc19:23
thewisenerdis floating point accepted ?19:23
malI always used integers19:25
malnot sure if floating points are ok or not19:26
thewisenerdokay, i'll round it off to 70 and 138 :p19:26
*** louisdk <louisdk!~louisdk@> has quit IRC (Ping timeout: 240 seconds)19:28
thewisenerdmal, do i need this? %define community_adaptation 1 :P19:44
*** sven_ <sven_!> has joined #sailfishos-porters19:49
*** ghosalmartin <ghosalmartin!~ghosalmar@2a02:c7f:923a:9000:9cac:bb25:643e:76d0> has joined #sailfishos-porters19:49
*** _sven <_sven!> has quit IRC (Ping timeout: 260 seconds)19:51
piggzmal: the permission failure im getting (which i cant figure out a pattern!) comes from this code20:03
piggz            // Is this a permission failure, or did the controller go away?20:03
piggz            if (IInterface::asBinder(pc)->isBinderAlive()) {20:03
piggz                ALOGW("Permission failure: %s from uid=%d pid=%d",20:03
piggz                        String8(permission).string(), uid, pid);20:03
piggz                return false;20:03
piggz            }20:04
piggzin libs/binder/IServiceManager.cpp:20:04
*** sven_ <sven_!> has quit IRC (Ping timeout: 248 seconds)20:07
malthewisenerd: yes20:08
thewisenerdpiggz, why do you have QT_OPENGL_NO_BGRA ?20:09
piggzthewisenerd: becuase these deivces require it to display images20:09
malthewisenerd: that is needed on many new devices, you'll see if you get black images in gallery20:09
thewisenerdmal, i don't xd20:10
thewisenerdprobably don't need it then20:10
thewisenerdbtw should i add libaudioflingerglue_32 miniafservice to my device tree?20:10
malthewisenerd: ?20:10
maljust build them as instructed20:10
maland package according to hadk20:10
thewisenerdsb2: Error: Cannot access target root '/parentroot/srv/mer/targets/xiaomi-ferrari-armv7hl', aborting.20:15
stephgthewisenerd: remove readd the target?20:16
*** XenoPL <XenoPL!> has joined #sailfishos-porters20:16
stephg(if that errors then chown -R <you> /parentroot/srv/mer/targets/xiaomi-ferrari-armv7hl?)20:16
thewisenerdshould i give an absolute path?20:16
thewisenerdi do not have it under /parentrot/srv20:17
stephg /parentroot is just bound in the sdk20:18
stephgyou'll have it at /srv/mer/targets/xiaomi-ferrari-armv7hl not in the sdk20:18
thewisenerdi did not install sdk to /srv20:19
stephgwhats your value of $PLATFORM_ROOT then?20:19
stephg(or whatever that variable is in the sdk setup20:20
thewisenerdhmm target doesn't seem to exist wtf20:20
thewisenerdlol nvm, i was nesting sfossdk20:23
thewisenerdwhen i had to exit20:23
stephgthewisenerd: ah yeah I suppose that would do it20:23
thewisenerdhow do i -save- this?20:24
thewisenerdwhat do i push to git repo?20:24
*** eyome <eyome!> has quit IRC (Quit: eyome)20:32
*** eyome <eyome!> has joined #sailfishos-porters20:32
*** Jurop <Jurop!> has joined #sailfishos-porters20:32
thewisenerdmal, does this look okay for systemd:
r0kk3rzseems reasonable20:36
r0kk3rzyou need to put that in your sparse in droid-configs20:37
r0kk3rzand a symlink to enable it20:37
*** ghosalmartin <ghosalmartin!~ghosalmar@2a02:c7f:923a:9000:9cac:bb25:643e:76d0> has quit IRC (Remote host closed the connection)20:38
thewisenerdyes i have20:38
thewisenerdbtw i need to20:39
thewisenerdln -s /system/etc/sensors/ /etc/sensors and ln -s /system/etc/firmware /etc/firmware20:39
thewisenerddo i just do that under sparse?20:39
thewisenerdokay :)20:39
thewisenerdi don't need to generate the  kickstart file everytime, do i ?20:43
stephgunless your patterns change?20:43
r0kk3rzno, ks should be fine, just process_patterns if they change20:44
stephgah yeah20:44
piggzmal: hmmm, i wonder ... how bad would it be to make the checkPermissions call just return true20:49
*** jakibaki_ <jakibaki_!> has joined #sailfishos-porters20:51
malstephg: thewisenerd actually .ks file doesn't need to be regenerated pretty much ever20:52
thewisenerdis there a way to check for usb tethering and "power management" ?20:53
malusb tethering is not officially supported I think20:53
*** cyberlyra <cyberlyra!~cyberlyra@> has joined #sailfishos-porters20:53
malpiggz: not sure, still wondering why it fails in the first place20:53
piggzmal: i got the process list from both working and non working boots ... and, for the related android services, theyre both in the same order20:54
thewisenerdhmm so what does "Net." under usb mean?20:55
piggzusb tethering always works for me20:55
thewisenerdbut where is the option? :p20:55
thewisenerdrtc alarms should work it's a kernel config option for me. did you need anything extra for it piggz ?20:56
piggzthewisenerd: settings > usb > Mode20:56
piggzi set to always ask20:56
thewisenerdalso, mal, do i -need- to map the keypad keys? :\20:56
thewisenerdi feel it'll hinder the swipe up action20:57
*** ahjolinna <ahjolinna!> has quit IRC (Ping timeout: 248 seconds)20:57
thewisenerdpiggz, cool let me try20:57
malthose are not used in sailfish20:57
thewisenerdabout the rtc alarms?20:57
malrtc alarms just work if supported by kernel (I mean automatic boot on alarm from power off state)20:58
thewisenerdmal, yes they do :D20:58
piggzmal: any ideas on things I can try to get more useful debug info?20:59
*** phdeswer <phdeswer!> has quit IRC (Ping timeout: 258 seconds)21:02
thewisenerdhmm 100% packet loss :|21:05
thewisenerdpiggz, any ideas? :|21:05
piggznope :)21:06
thewisenerdmaybe i'm messing up dhcpcd xd21:06
*** cyberlyra <cyberlyra!~cyberlyra@> has quit IRC (Remote host closed the connection)21:06
*** miau <miau!> has quit IRC (Quit: Leaving)21:06
malpiggz: not right now, it's getting late so maybe I'll go offline now21:08
piggzmal: good idea21:08
piggzim copying over my modded to see what happens!21:09
thewisenerdwifi-module-load.service: Cannot add dependency job, ignoring: Unit wifi-module-load.service failed to load: Invalid argument. See system logs and 'systemctl status wifi-module-load.service' for details.21:18
*** cyberlyra <cyberlyra!~cyberlyra@> has joined #sailfishos-porters21:18
*** cyberlyra <cyberlyra!~cyberlyra@> has quit IRC (Ping timeout: 248 seconds)21:22
piggzthewisenerd: did you do as it says?21:23
thewisenerdsystemctl status wifi-module-load.service shows this message xd21:26
*** cyberlyra <cyberlyra!~cyberlyra@> has joined #sailfishos-porters21:26
*** helllo <helllo!5ae396b8@gateway/web/freenode/ip.> has joined #sailfishos-porters21:39
hellloHello friends! Excited that Sailfish OS is finally coming to Sony Xperia X. Would anybody know if it will work with newer Sony Xperia, such as XZ1?21:40
*** cyberlyra <cyberlyra!~cyberlyra@> has quit IRC ()21:51
*** helllo <helllo!5ae396b8@gateway/web/freenode/ip.> has quit IRC (Quit: Page closed)21:54
jakibakihelllo: The official release is only for the Xperia X.21:57
thewisenerdpiggz, you set up led notifications ?21:57
thewisenerdhaving real hard time tryna figure if audio works or doesn't work because gallery doesn't play audio/video :\21:57
thewisenerdany file maanger? :p21:57
*** Manizuca <Manizuca!> has joined #sailfishos-porters22:09
*** eyome <eyome!> has quit IRC (Quit: eyome)22:15
*** cxl000 <cxl000!> has quit IRC (Quit: Leaving)22:17
*** jakibaki <jakibaki!> has quit IRC (Quit: Textual IRC Client:
r0kk3rzthewisenerd: did you do miniafservice stuff?22:20
thewisenerdr0kk3rz, not yet22:22
thewisenerdbtw, was double tap nuked from mce?22:22
thewisenerdi added the 60-doubletap-jolla.ini and reboot, nothing shows up in gestures22:23
r0kk3rzyeah if you dont do that, some audio wont work properly22:23
thewisenerdhmm i have to manually `mcetool --set-doubletap-mode=show-unlock-screen`22:31
*** carepack <carepack!> has quit IRC (Ping timeout: 240 seconds)22:33
*** carepack <carepack!> has joined #sailfishos-porters22:36
*** ExPLIT <ExPLIT!5f5bd699@gateway/web/freenode/ip.> has joined #sailfishos-porters22:50
*** ExPLIT <ExPLIT!5f5bd699@gateway/web/freenode/ip.> has left #sailfishos-porters22:50
thewisenerdanyone knows where minimedia is ?22:50
*** doniks <doniks!~doniks@2001:980:8522:1:65aa:b62a:cab4:6c0> has quit IRC (Quit: Leaving)23:01
*** nac <nac!> has quit IRC (Quit: Leaving)23:04
*** Kabouik_ <Kabouik_!~kabouik@> has joined #sailfishos-porters23:04
*** Nemno <Nemno!~teknomen@> has quit IRC (Ping timeout: 240 seconds)23:05
*** Kabouik- <Kabouik-!> has quit IRC (Ping timeout: 248 seconds)23:06
*** nac <nac!> has joined #sailfishos-porters23:08
*** _nac_ <_nac_!> has joined #sailfishos-porters23:29
*** nac <nac!> has quit IRC (Ping timeout: 240 seconds)23:33
thewisenerdkrnlyng, i'd like to test out your anbox port :D23:43
*** filip <filip!> has quit IRC (Ping timeout: 240 seconds)23:48

Generated by 2.17.1 by Marius Gedminas - find it at!