Monday, 2017-06-26

*** Qiangong2 <Qiangong2!47e79f60@gateway/web/freenode/ip.> has quit IRC (Quit: Page closed)00:02
*** Nokius_ <Nokius_!> has joined #sailfishos-porters00:05
*** Nokius <Nokius!> has quit IRC (Ping timeout: 240 seconds)00:08
*** CrKit <CrKit!~nekit@> has quit IRC (Ping timeout: 246 seconds)00:15
*** Administrator <Administrator!~quassel@> has joined #sailfishos-porters01:38
*** Administrator is now known as Guest5552401:38
*** Guest55524 is now known as zhxt01:42
*** andrzejku <andrzejku!~andrzejku@> has joined #sailfishos-porters01:55
*** andrzejku_ <andrzejku_!~andrzejku@> has quit IRC (Ping timeout: 240 seconds)01:55
*** eLtMosen <eLtMosen!> has quit IRC (Quit: Leaving.)02:14
*** CrKit <CrKit!~nekit@> has joined #sailfishos-porters03:42
litewfinally device loads backported Bluetooth drivers. Any idea how can i check with Bluez5 if BT Low Energy is working?04:12
*** Veraendert <Veraendert!> has joined #sailfishos-porters04:41
*** olafh <olafh!> has joined #sailfishos-porters04:47
*** CrKit <CrKit!~nekit@> has quit IRC (Ping timeout: 260 seconds)05:09
*** phdeswer <phdeswer!> has joined #sailfishos-porters05:35
*** mkosola1 <mkosola1!> has quit IRC (Quit: Leaving.)05:51
*** SfietKonstantin <SfietKonstantin!~sk@> has joined #sailfishos-porters05:57
*** Kabouik <Kabouik!~kabouik@> has joined #sailfishos-porters06:01
*** hge <hge!> has joined #sailfishos-porters06:01
*** Nokius_ is now known as Nokius06:08
*** Veraendert <Veraendert!> has left #sailfishos-porters06:13
*** phlixi <phlixi!> has quit IRC ()06:14
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has joined #sailfishos-porters06:27
*** andrzejku <andrzejku!~andrzejku@> has quit IRC (Ping timeout: 240 seconds)06:30
*** andrzejku <andrzejku!~andrzejku@> has joined #sailfishos-porters06:30
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has quit IRC (Remote host closed the connection)06:30
*** drFaustroll <drFaustroll!> has joined #sailfishos-porters06:33
*** drFaustroll <drFaustroll!> has quit IRC (Changing host)06:33
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has joined #sailfishos-porters06:33
*** kjokinie <kjokinie!~kjokinie@> has quit IRC (Read error: Connection reset by peer)06:37
*** phlixi <phlixi!> has joined #sailfishos-porters06:52
*** kjokinie <kjokinie!~kjokinie@> has joined #sailfishos-porters07:03
*** SfietKonstantin <SfietKonstantin!~sk@> has quit IRC (Ping timeout: 276 seconds)07:10
*** malkien <malkien!> has joined #sailfishos-porters08:01
*** adeen-s <adeen-s!~adeen-s@> has joined #sailfishos-porters08:01
*** nh1402 <nh1402!> has joined #sailfishos-porters08:01
*** andrzejku <andrzejku!~andrzejku@> has quit IRC (Remote host closed the connection)08:10
*** andrzejku <andrzejku!~andrzejku@> has joined #sailfishos-porters08:15
*** ghosalmartin <ghosalmartin!~ghosalmar@> has joined #sailfishos-porters08:16
*** cxl000 <cxl000!> has joined #sailfishos-porters08:18
*** m4h0n3y <m4h0n3y!d45c6107@gateway/web/freenode/ip.> has joined #sailfishos-porters08:24
m4h0n3yhi guys. still trying to start sfos on my tsubasa. last time stopped on dhi and mce diying with "segmentation fault". got strace of dhi. could someone please check what could bewrong?thanx
ghosalmartinm4h0n3y, thats not an accurate strace, first do "systemctl mask droid-hal-init" reboot, then test again08:26
ghosalmartindhi can only be run once, so after first failure its useless08:26
m4h0n3yok, done
m4h0n3ybtw is it fine to doing traces od dhi in case when mce fails?08:35
*** neerad <neerad!~neerad@> has joined #sailfishos-porters08:39
mallitew: just scan for devices and check if you can see some bt le only devices, assuming you have such a device08:47
*** piggz <piggz!> has joined #sailfishos-porters08:48
piggzghosalmartin, i thought of a quick test to try this morning before going to work.... Run surface flinger.... To see if and anything came up..... It didn't reboot but it didn't work, it crashed :(08:51
ghosalmartinpiggz, *sigh* fml08:52
piggzIt would be handy to get the boot animation showing to know the gfx stack works in android before getting sfos up08:52
ghosalmartini guess step one is get surfaceflinger working08:53
ghosalmartindumb question by cm works right? :P08:53
ghosalmartinm4h0n3y, is dhi actually breaking? or just mce?08:53
m4h0n3ylooks like i posted incomplete strace... this is the end
ghosalmartinpiggz, do you think it can be an issue with permissions?08:54
m4h0n3yi have both services in failed state08:54
ghosalmartinm4h0n3y, i guess start at the top and see whats up with mce?08:54
piggzghosalmartin, yes, cm is fine!08:54
piggzIt wasa dlfree error iirc08:54
m4h0n3yok, going to check mce first08:54
piggzFrom libc08:55
ghosalmartinpiggz, odd, krnlyng might be able to help more than me in that regard08:55
piggzghosalmartin, invalid address or address of corrupt block 0x558b7bb7f9 passed to dlfree08:57
litewmal: thanks, i'll try to find some and check then09:01
m4h0n3yso this is my mce segfault:
ghosalmartinpiggz, hmm at that point is it still just strictly android stack?09:07
ghosalmartinm4h0n3y, it seems to break after doing libdsyscalls.so09:08
ghosalmartinwell after opening that and doing stuff09:08
ghosalmartinoh wait not, it calls the close :/09:08
*** eLtMosen <eLtMosen!> has joined #sailfishos-porters09:11
piggzghosalmartin, should be all android :(09:12
piggzghosalmartin, when i get back from work i can post the logcat and strace09:12
piggzAnd i thought porting a new phone would be a breeze!09:12
ghosalmartinpiggz, tbh I thought we'd tackled most the qualcomm issues, but sometimes vendors like to do some funky stuff09:13
locusfghosalmartin: hi,did you get your bluetooth stuff working?09:14
piggzghosalmartin, the cm 14.1 base appears to be better supported on this phone..... Does sfos work on that in any way?09:15
ghosalmartinlocusf, nahh, have had too much time spent on it09:15
locusfghosalmartin: ok09:15
ghosalmartinpiggz, cm14 seems to change a few things quite a bit and also need changes to the linker09:15
ghosalmartinlocusf, been struggling with making thins render to the surfaceflinger09:15
locusfghosalmartin yeah it helps to actually see something :D09:17
ghosalmartinlocusf, its what happens when device has no hwcomposer support I guess :P09:18
*** brodolfo <brodolfo!> has joined #sailfishos-porters09:18
locusfhave you tried eglfs qpa?09:19
ghosalmartinlocusf, no? am using the surfaceflinger qpa atm09:23
locusfsometimes when nemo acted up I used it instead09:24
piggzWell, that won't help me without surface flinger...eglfs might though09:29
m4h0n3ybtw howto dela with it: "Couldn't resolve host ''"?09:30
m4h0n3y*howto deal09:30
*** Mister_Magister_ <Mister_Magister_!> has joined #sailfishos-porters09:30
locusfyou gotta have network to use09:31
m4h0n3yoh, sorry, was absolutely sure, that network is ok09:32
*** Sailor11268 <Sailor11268!~sailfish@> has joined #sailfishos-porters09:33
m4h0n3ybtw there is really no less in repos? Oo09:36
*** piggz <piggz!> has quit IRC (Ping timeout: 240 seconds)09:39
*** Sailor11268_ <Sailor11268_!~sailfish@> has joined #sailfishos-porters09:40
r0kk3rztheres one on obs im sure09:41
r0kk3rzor mer-tools repo09:41
*** olafh <olafh!> has quit IRC (Remote host closed the connection)09:41
*** Sailor11268 <Sailor11268!~sailfish@> has quit IRC (Ping timeout: 260 seconds)09:42
m4h0n3yomg thanks :)09:44
*** olafh <olafh!> has joined #sailfishos-porters09:45
*** Mister_Magister_ <Mister_Magister_!> has quit IRC (Quit: IRC for Sailfish 0.9)09:48
m4h0n3yso any ideas what can be wrong with my mce?09:51
*** piggz <piggz!> has joined #sailfishos-porters09:56
piggzHas anyone else had permission errors when doing network operations like ping (using the USB network) as root09:58
piggzSome basic networking would be handy for getting gdb :)09:59
nh1402piggz: isn't that a general linux thing?09:59
r0kk3rzpiggz: someone had that the other day, i think it was a group issue10:00
*** Sailor11268_ <Sailor11268_!~sailfish@> has quit IRC (Ping timeout: 268 seconds)10:00
piggzOk, ta, ill look at that later10:01
*** AndroUser2 <AndroUser2!> has joined #sailfishos-porters10:03
*** piggz <piggz!> has quit IRC (Ping timeout: 246 seconds)10:06
abranson_i'm taking the plunge and having a go at switching droidmedia from OMXCodec to MediaCodecSource. Anyone have any recommendations/requests?10:07
*** Sailor11268_ <Sailor11268_!~sailfish@> has joined #sailfishos-porters10:12
*** AndroUser2 <AndroUser2!> has quit IRC (Ping timeout: 276 seconds)10:13
malabranson_: that's a good idea, hopefully that will fix the issues with permissions10:17
abranson_mal: that's the idea. OMXCodec seems to be gone in nougat too, so it'll need doing sooner or later anyway10:22
*** CrKit <CrKit!~nekit@> has joined #sailfishos-porters10:22
*** Sailor11268 <Sailor11268!~sailfish@> has joined #sailfishos-porters10:25
*** Sailor11268_ <Sailor11268_!~sailfish@> has quit IRC (Ping timeout: 260 seconds)10:27
malabranson_: yep, I have all other parts of droidmedia patched for android 7 support but not the codec part10:27
abranson_mal: ooh you do?10:28
malabranson_: yep10:28
*** CrKit <CrKit!~nekit@> has quit IRC (Ping timeout: 246 seconds)10:33
malabranson_: maybe I should try to finish the android 7 support completely for other parts of the device, some vibrator related things need fixing and graphics in qt (probably some linker hook missing)10:34
*** TheKit <TheKit!> has joined #sailfishos-porters10:35
*** NeKit <NeKit!~nekit@> has quit IRC (Ping timeout: 240 seconds)10:38
spiiroin__m4h0n3y: at 1st glance looks like your mce crashes while attempting to use android hal via libhybris10:40
spiiroin__m4h0n3y: uninstall mce-plugin-libhybris and see if you get any further10:40
spiiroin__... in practice the plugin is used only for led control10:41
*** spiiroin__ is now known as spiiroin10:42
ghosalmartinTheKit: hey up, did you ever have touchscreen issues with the qpa surfaceflinger plugin? Or binder issues?10:51
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has quit IRC (Remote host closed the connection)10:55
ghosalmartinalso when sfos is waiting-for-session, what does that mean exactly? for the user session to start?10:55
malI think so10:57
ghosalmartinhmm what dictates it starting10:59
m4h0n3ywell droid-hal-init hangs... journalctl full of "Jun 26 13:41:08 Sailfish kernel: pil pil2: q6: Failed to locate q6.mdt Jun 26 13:41:08 Sailfish kernel: smd_pkt_open failed on smd_pkt_dev id:0 - pil_get failed for modem"11:02
m4h0n3yand i have this q6.mdt, it is inside /system/etc/firmware... made link to /etc/firmware and /firmware, but that didn't fix that problem :(11:03
abranson_mal: that's great. i'd got as far as making the new minisurfaceflinger - didn't see anything change between 6 and 7 in that.11:07
abranson_what else was there?11:07
litewm4h0n3y: is rmt_storage process running?11:08
m4h0n3ylitew: yes, i can see it in ps ax output11:10
malabranson_: not much changes for other parts, some small ones only11:19
abranson_mal: well that's good then. enough going on with the OMX I suppose11:20
m4h0n3yaha, so i made link /system/firmware -> /lib/firmware and something changed at last11:29
*** ghosalmartin <ghosalmartin!~ghosalmar@> has quit IRC (Remote host closed the connection)11:30
m4h0n3yno more ril errors inside journalctl, but dhi still hangs :(11:30
*** zhxt is now known as zhxt_afk11:36
m4h0n3yhmmm, now dhi dies after property_set failed11:41
*** wiktorek140 <wiktorek140!> has joined #sailfishos-porters11:41
wiktorek140sledges: ping11:49
wiktorek140lbt: ping11:49
*** adeen-s <adeen-s!~adeen-s@> has quit IRC (Quit: Lost terminal)11:53
sledgeswiktorek140: pong11:53
sledgespiggzts: pong (a curious nickname extension:)11:54
sledgeswiktorek140: just read your PM, what is device vendor and codename?11:56
*** pashik <pashik!> has quit IRC (Quit: WeeChat 1.4)12:15
*** pashik <pashik!> has joined #sailfishos-porters12:15
wiktorek140sledges: vendor motorola, codename surnia12:17
sledgeswiktorek140: enjoy!
*** guhl <guhl!~guhl@gateway/tor-sasl/guhl> has joined #sailfishos-porters12:18
wiktorek140thanks, but there is another trouble ;p account :)12:19
wiktorek140sledges: i don't talk anything :)12:20
wiktorek140i found my password ;p12:20
sledgesso all good?;)12:28
*** tbr <tbr!> has quit IRC (Ping timeout: 258 seconds)12:28
wiktorek140yea for now, i just started to uploads things12:29
*** tbr <tbr!> has joined #sailfishos-porters12:34
*** piggz <piggz!> has joined #sailfishos-porters12:42
piggzsledges, wonered if u had any insights into my port issues12:44
sledgeswhich ones are you still left with after ghosal's first shots? :)12:45
*** ghosalmartin <ghosalmartin!~ghosalmar@> has joined #sailfishos-porters12:47
piggzSurfaceflinger starting12:48
piggzOr crashing the ohone if starting a hycomposer client12:50
piggzEven test_hwcomposer12:51
ghosalmartinit feels related to bionic12:52
wiktorek140piggz: if i understand correctly u have trouble with starting gui right?12:52
sledgesdoes sflinger start?12:52
*** piggz <piggz!> has quit IRC (Read error: Connection reset by peer)12:52
*** piggz <piggz!> has joined #sailfishos-porters12:52
ghosalmartinsledges, no it causes reboot12:52
sledgestry to strace it, probably something's not mounted12:53
ghosalmartinactually is vendor mounted12:54
piggzIthink so, but can't check atm12:58
piggzSledges, there are many stracs pastebinned12:58
piggzLast night12:59
wiktorek140piggz: if system is mounted check that exist hwcomposer.default.so12:59
wiktorek140sledges: can u help a little with webhooks?13:04
*** zhxt_ <zhxt_!~zhxt@> has joined #sailfishos-porters13:06
*** piggz <piggz!> has quit IRC (Ping timeout: 260 seconds)13:14
*** AndroUser2 <AndroUser2!> has joined #sailfishos-porters13:18
AndroUser2sledges, ar u around latr?13:22
*** AndroUser2 is now known as piggz13:23
*** ocmylife <ocmylife!> has joined #sailfishos-porters13:29
*** piggz <piggz!> has quit IRC (Read error: Connection reset by peer)13:30
*** piggz <piggz!> has joined #sailfishos-porters13:33
wiktorek140lbt: can u patternize my repo? (
wiktorek140sledges: or you13:43
m4h0n3yso after rebuild and reflash now droid-hal-init starts ok, mce stil fails, lipstick still doesn't want to start13:51
m4h0n3ycan someone explain please how to debug lipstick failure?13:51
malm4h0n3y: does minimer or test_hwcomposer work?13:52
m4h0n3ymal: test_hwcomposer prints segmentation fault :( what is minimer? can't find such a binary at disk... and i have issue with ping, it says socket: Permission denied. tried to add root and nemo to group inet, but doesn't work13:54
malm4h0n3y: read faq13:55
wiktorek140m4h0n3y: which cm version?13:55
m4h0n3ywiktorek140: cm1313:56
spiiroinm4h0n3y: did you already try uninstalling mce-plugin-libhybris package?13:57
wiktorek140m4h0n3y: hmm, on cm13 i dont have problem with hwcomposer, but u can try find hwcomposer.*.so and symlink it to hwcomposer.default.so13:57
malm4h0n3y: but no point in trying minimer until test_hwcomposer work, did you have correct platform defined for that?13:57
*** piggz <piggz!> has quit IRC (Ping timeout: 240 seconds)13:58
m4h0n3yspiiron: tried on previous build, will try again13:58
m4h0n3ymal: previous build was with fbdev/hwcomposer, current is hwcomposer14:00
malm4h0n3y: I meant did you use EGL_PLATFORM=hwcomposer test_hwcomposer14:01
m4h0n3ymal: not I didn't, with env still segmentation fault14:03
*** andrzejku_ <andrzejku_!~andrzejku@> has joined #sailfishos-porters14:04
m4h0n3ywiktorek140: found only some under /system14:04
malstrace should tell if the correct hwcomposer library is found or not14:06
*** andrzejku <andrzejku!~andrzejku@> has quit IRC (Ping timeout: 255 seconds)14:07
m4h0n3yi can see open("/usr/lib/", O_RDONLY|O_CLOEXEC) = 3 in strace... i believe it means that lib found? - full strace14:11
malm4h0n3y: you didn't define EGL_PLATFORM=hwcomposer when running that strace?14:15
*** ocmylife <ocmylife!> has quit IRC (Quit: ocmylife)14:15
m4h0n3yrunned before  export... repeated with strace -E EGL_PLATFORM=hwcomposer and see same result14:17
malno signs of the correct libs there, you should see the android lib hwcomposer.*.so loaded14:19
wiktorek140m4h0n3y: are u use EGL_PLATFORM=hwcomposer strace test_hwcomposer ?14:26
m4h0n3yyes, tried that way too, made that symlink, but strace output is the same :(14:27
m4h0n3ymal: stupid question, if it is not going to include the correct library, that means, that it is necessary to fix something in build?14:28
malm4h0n3y: maybe the execution fails before it reaches that part14:30
malm4h0n3y: and it's obvious that something needs to be fixed in your build, not sure what though14:31
wiktorek140m4h0n3y: mal:  maybe config in sparse/var/lib/environment/compositor/droid-hal-device.conf ?14:32
malwiktorek140: most likely not, unless he changed the default values there14:33
m4h0n3yin sparse/var/lib/environment/compositor/droid-hal-device.conf i have egl=hwcomposer14:36
m4h0n3yoops, i mean fbdev14:36
m4h0n3ybut in mer/targets/sony-tsubasa-armv7hl/var/lib/environment/compositor/droid-hal-device.conf i have hwcomposer14:37
m4h0n3ythis is bad i believe?14:37
m4h0n3ybtw in my image in /var/lib/environment/compositor/droid-hal-device.conf i have EGL_PLATFORM=fbdev14:39
wiktorek140m4h0n3y: but which one is correct?14:39
m4h0n3yis there any way to check which one should be correct?14:40
malm4h0n3y: it should have EGL_PLATFORM=hwcomposer and QT_QPA_PLATFORM=hwcomposer unless you really know what you are doing14:40
malm4h0n3y: is that device qcom?14:41
m4h0n3ymal: yes it is14:41
wiktorek140m4h0n3y: if it doesn't help please "strace lipstick" . look there what is missing to run14:42
*** hge <hge!> has quit IRC (Quit: Leaving)14:46
malm4h0n3y: so far all modern qcom devices have used hwcomposer14:47
m4h0n3ywiktorek140: i believe mal is right and i should rebuild it with hwcomposer. at least there is nothing criminal i can see in that strace
malwiktorek140: you are giving instructions for too advanced tests, no point in trying lipstick before test_hwcomposer works14:48
malm4h0n3y: no need to rebuild all the time, modify it on the device14:48
malif you always rebuild everything it just takes a lot of time14:49
m4h0n3ymal: hmmm, so you mean recompile some libs or it will be enough to edit that config?14:49
malm4h0n3y: if you just change that configuration no need to rebuild anything else14:51
malthat is a runtime configuration14:51
wiktorek140mal: fo me on cm12 build strace lipstic help me which lib is missing to run gui ;p14:57
m4h0n3ymal: i thought it is necessary, because it builds completely different code.... :) ok, i changed EGL_PLATFORM to hwcomposer at /var/lib/environment/compositor/droid-hal-device.conf, but nothing changed in strace. any suggestion?14:58
wiktorek140reboot maybe?14:58
m4h0n3ywiktorek140: unfortunately doesn't help :'(14:59
malm4h0n3y: test_hwcomposer doesn't use that file15:00
wiktorek140mal: maybe add to PATH or LD system path to libs?15:01
ghosalmartinanyone have a link to this great blog post about the unfortunate demise of nokia15:02
ghosalmartinit had detailed timeline of maemo/meego and symbian15:02
wiktorek140or maybe sparse/lib/udev/rules.d missing?15:03
wiktorek140m4h0n3y: did u know is your device use detritus in hw-adaptation yaml?15:06
m4h0n3ywiktorek140: i have droid-hal-tsubasa-detritus in mer/android/droid/hybris/droid-configs/patterns/jolla-hw-adaptation-tsubasa.yaml15:08
m4h0n3ybtw tried test_composer with gdb15:08
m4h0n3ypressed "r" and after segfault wrote "bt full" and it wrote me #1  0xb6f4a644 in hw_get_module (n1=0xa458 "gralloc", n2=0xbefffc8c) at hardware.c:27         f = 0x0 #2  0x00009804 in main ()15:09
m4h0n3ynot sure what i did :)15:10
malthat is the usual error is android side is not behaving well15:11
wiktorek140m4h0n3y: maybe wrong base system installed?15:12
wiktorek140or missing some symlink to firmware where are crucial file to launch lipstick?15:13
*** pashik <pashik!> has quit IRC (Quit: WeeChat 1.4)15:13
wiktorek140maybe need lipstick hack?15:14
malwell I have no idea what device that is but lipstick hack is only for motorola devices afaik15:16
m4h0n3ywiktorek140: journalctl is full of pil pil2: q6: Failed to locate q6.mdt, so i believe it is firmware problem15:16
m4h0n3ymal: that is sony tsubasa based on msm896015:16
wiktorek140m4h0n3y: did u have partition table somwhere?15:17
m4h0n3ywell, no matter, i'll try first figure why there is again probem with firmware loading after last reinstall15:17
wiktorek140mal: on my moto its unusable because it work without lipstick hack15:17
m4h0n3ypartition table? i have /dev/block/ pathes fixed in udev and /data is mounted ok15:18
m4h0n3yjournalctl writes, that /fstab.qcom can't be found15:18
m4h0n3yand there are some errors in /init.*.rc scripts15:18
m4h0n3ywil try to fix that and firmware loading15:19
m4h0n3ythank you very much for help15:19
*** m4h0n3y <m4h0n3y!d45c6107@gateway/web/freenode/ip.> has quit IRC (Quit: Page closed)15:19
*** zhxt_ <zhxt_!~zhxt@> has quit IRC (Ping timeout: 255 seconds)15:20
*** pashik <pashik!> has joined #sailfishos-porters15:30
malpeople always think the fstab error is really an error15:30
malit will probably just break things if that is added15:30
wiktorek140mal: yea, i know, i think about generated mount files is correct15:31
malbut when people are doing quite random changes all over the place then it's quite difficult to know how to fix anything15:35
NeoChapaywho can help me with compas ?15:41
malcompass is not usually working in 12.1 or newer bases15:47
*** Tassadar <Tassadar!> has joined #sailfishos-porters15:54
NeoChapaymal: oh....i have opensource i2c driver and /dev/console device15:55
malNeoChapay: ok, then it's probably different, so far the android side compass is not working on most devices15:57
*** Kabouik <Kabouik!~kabouik@> has quit IRC (Ping timeout: 268 seconds)15:59
wiktorek140what i need to build sfdroid?16:00
*** nh1402w <nh1402w!> has joined #sailfishos-porters16:03
*** nh1402 <nh1402!> has quit IRC (Ping timeout: 240 seconds)16:05
*** nh1402w <nh1402w!> has quit IRC (Quit: Leaving)16:17
*** krnlyng <krnlyng!> has quit IRC (Remote host closed the connection)16:19
*** krnlyng <krnlyng!> has joined #sailfishos-porters16:19
*** toomin <toomin!~Slartibar@unaffiliated/toomin> has joined #sailfishos-porters16:49
piggztssledges: ghosalmartin: yes, /vendor is populated16:51
piggztscan I get any more straces?16:51
ghosalmartinpiggzts, i guess strace surfaceflinger with -fF and -s 102416:51
Mister_Magisterpiggzts: working hard on xiaomi?16:52
piggztsMister_Magister: too hard16:52
*** piggzts is now known as piggz16:52
Mister_Magisterlol :D16:52
piggzi thought it would be easy these days!16:53
piggzghosalmartin: journal from surfaceflinger being started by servicemanager, inc kernel16:54
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has joined #sailfishos-porters16:55
*** ericjames <ericjames!cead67d4@gateway/web/freenode/ip.> has quit IRC (Ping timeout: 260 seconds)16:55
ghosalmartinpiggz, ah dont start surfaceflinger from the service16:55
ghosalmartinjust start it fro mthe system/bin16:55
piggzyeah, i just wondered if it would work as a service...16:56
ghosalmartinpiggz, might of done, but it seems like anything it touches breaks16:57
piggzwiktorek140: ghosalmartin: i do not have a hwcompoer.default.so17:03
ghosalmartini doubt you need it tbh17:03
locusfusually no17:04
locusfthe soc has its own and its picked up automagically17:04
ghosalmartinlocusf, it is in the strace17:05
ghosalmartinkrnlyng, you about?17:06
sledgespiggz: which libhybris?17:11
wiktorek140piggz: maybe missing these files /system/lib64/egl/ ?17:11
piggzsledges: sledgesmm64-rpm17:12
piggzwell, near enough!17:12
ghosalmartinsledges, feels like a missing hook17:12
sledgespiggz: you'll most probably need minimalhooks and bionic patches17:12
sledgesghosalmartin: don't you use those in bullhead ^ ?17:12
ghosalmartini do indeed :) posted them last night17:12
piggzsledges: what about surfaceflinger not even working?17:12
sledgesdlfree and 0xdeadbaad suggested that17:12
piggzsledges: that error is from surfaceflinger, not a hybris client17:13
sledgespiggz: you are running them from glibc userspace right17:13
piggzok, what repos do i need?17:13
sledgesespecially the bionic patch, means even libhybris-less things would fall over17:14
piggz(and, why is this SOC special?)17:14
sledgesit's 64bit and android 6, welcome..17:14
ghosalmartinit has the same soc as the xperia X17:14
ghosalmartini think17:14
ghosalmartinah not exactly one older than the X17:15
ghosalmartinive gotta head home anyways17:15
ghosalmartinpost in the logs how you get on and ill check then :)17:15
*** ghosalmartin <ghosalmartin!~ghosalmar@> has quit IRC (Remote host closed the connection)17:16
*** tortoisedoc <tortoisedoc!5b9b7212@gateway/web/freenode/ip.> has joined #sailfishos-porters17:17
tortoisedochow can i switch the update repos on-device with ssu?17:17
tortoisedocssu --dup version?17:17
*** malkien <malkien!> has quit IRC (Quit: Konversation terminated!)17:19
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has quit IRC (Quit: Konversation terminated!)17:27
wiktorek140piggz: did u ever try to boot android on these kernel?17:29
*** ocmylife <ocmylife!> has joined #sailfishos-porters17:34
litewmal: BT LE scan results for Xiaomi Mi Band 1 which has DA14580 soc (BT 4.0 LE): At the same time it's not seen on device without backported BT drivers.17:43
*** ghosalmartin <ghosalmartin!~ghosalmar@2a02:c7f:923a:9000:88b3:ec70:a748:bad9> has joined #sailfishos-porters17:45
*** mhlavink <mhlavink!quassel@nat/redhat/x-okpqadjxtjpaigfq> has joined #sailfishos-porters17:55
*** eLtMosen <eLtMosen!> has quit IRC (Quit: Leaving.)17:57
mallitew: how simple was the usage of those drivers, if not trivial would you like to write some instructions17:58
*** ocmylife <ocmylife!> has quit IRC (Remote host closed the connection)18:00
litewmal: i've made this PR:  Applied to ham and armani kernels without any big troubles. Made it from backport-3.10.19-1 archive18:04
*** mark__ <mark__!> has joined #sailfishos-porters18:06
krnlyngghosalmartin, hi18:06
ghosalmartinkrnlyng, hello :)18:08
ghosalmartinkrnlyng, seen the issue that piggz is having18:11
*** mark__ <mark__!> has quit IRC (Remote host closed the connection)18:14
piggzghosalmartin: krnlyng: yes, please look! :)18:15
ghosalmartinpiggz, probably best shooting for the minimalhooks18:16
*** phdeswer <phdeswer!> has quit IRC (Ping timeout: 268 seconds)18:16
piggzghosalmartin: i am ... i presume its the hybris-13 branch of krnlyng repo?18:16
krnlyngit's weird though that surfaceflinger crashes18:16
piggz(building now)18:16
ghosalmartinpiggz, yes18:16
krnlyngpiggz, is there anything in logcat when sf crashes?18:17
*** gmoro_ <gmoro_!~gmoro@> has quit IRC (Ping timeout: 255 seconds)18:26
krnlyngpiggz, why is it using dlmalloc?18:27
piggzkrnlyng: how should I know? :D18:28
krnlyngpiggz, where is your device repo?18:29
*** phdeswer <phdeswer!> has joined #sailfishos-porters18:29
*** Sailor11268 <Sailor11268!~sailfish@> has quit IRC (Ping timeout: 255 seconds)18:30
piggzkrnlyng: there is also an official version now
krnlyngpiggz, try this and rebuild hybris-hal18:31
piggzkrnlyng: ah, I guess that isnt in the cm13 branch18:32
ghosalmartinanyone used CONFIG_ANDROID_BINDER_IPC before18:33
tortoisedocghosalmartin : for enabling binder kernel module=18:33
ghosalmartintortoisedoc, is it important?18:34
tortoisedocghosalmartin: depends, it is core part of android subsystm18:34
tortoisedocghosalmartin : what re you doing?18:35
ghosalmartintortoisedoc, am having a lot of transaction errors from the binder for the huawei p9, but on a similar device the honor 8 , exact same chipset, it doesnt have it enabled so thinking disable it and see what breaks18:35
krnlyngghosalmartin, without it you won't have binder support so servicemanager and services cannot communicate18:36
tortoisedocghosalmartin, its a kernel thing18:36
ghosalmartinkrnlyng, then how does it work on other devices without it18:36
tortoisedocghosalmartin: are you sure it is loaded on hte honor8?18:37
tortoisedoc*not* loaded18:37
ghosalmartintortoisedoc, according to the kernel source yeah18:37
ghosalmartinno binder.c18:37
ghosalmartinor any mention of binder in the defconfig18:37
ghosalmartinactually wait no18:38
ghosalmartinits in the defconfig18:38
ghosalmartinwell there goes that theory :P18:38
ghosalmartinkrnlyng, yeah i noticed it, interesting that it wasnt in staging18:38
tortoisedocanother question, has anyone of you guys worked with protobuf & co stuff?18:38
tortoisedocIm wondering about licensing18:39
krnlyngpiggz, jup, not sure if it makes a difference but it's worth a try18:39
piggzkrnlyng: should I try the minimalhook stuff first18:40
piggzits all built18:40
ghosalmartinooo the one not in staging has a fix for me i think18:40
krnlyngpiggz, try the jemalloc stuff first, but i am still wondering why sf fails18:41
*** Sailor11268 <Sailor11268!~sailfish@> has joined #sailfishos-porters18:41
*** phdeswer <phdeswer!> has quit IRC (Ping timeout: 240 seconds)18:42
*** drFaustroll <drFaustroll!~drFaustro@> has joined #sailfishos-porters18:42
*** drFaustroll <drFaustroll!~drFaustro@> has quit IRC (Changing host)18:42
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has joined #sailfishos-porters18:42
ghosalmartinstill no touch screen :P18:45
ghosalmartinsomethings gotta give18:45
piggzkrnlyng: make fails in bionic18:46
piggzjusr removing the old .o and rebuilding18:47
piggzkrnlyng: nope ... bionic has undefined references to dl*18:48
krnlyngpiggz, i will look into that, maybe try the minimalhooks first :)18:48
piggzkrnlyng: well, its your repo ;)18:49
krnlyngpiggz, i mean try without the MALLOC_IMPL := patch again18:49
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has quit IRC (Quit: Konversation terminated!)18:50
piggzkrnlyng: yes, thats what im doing ... i meant the bionic that fails to build is the one im using from your repo18:50
*** sydney_untangle <sydney_untangle!~sydney@supertux/sydney> has quit IRC (Quit: brb)18:50
ghosalmartinpiggz, maybe do a clean first?18:51
ghosalmartinalso anyone knows how I can test the touchscreen18:51
ghosalmartinor use some utility to simulate a touch18:51
piggzmaybe ... esp as changing it back also fails18:51
*** Tassadar <Tassadar!> has quit IRC (Quit: Segmentation fault)18:54
*** phdeswer <phdeswer!> has joined #sailfishos-porters18:55
*** Sailor11268_ <Sailor11268_!~sailfish@> has joined #sailfishos-porters19:08
krnlyngpiggz, what happens if you run surfaceflinger from the cmdline?19:09
*** Sailor11268 <Sailor11268!~sailfish@> has quit IRC (Ping timeout: 260 seconds)19:10
*** Sailor11268 <Sailor11268!~sailfish@> has joined #sailfishos-porters19:11
tortoisedocgcc on Mer does *not* support -std=c++0x???19:13
*** Sailor11268_ <Sailor11268_!~sailfish@> has quit IRC (Ping timeout: 246 seconds)19:15
*** Sailor11268 <Sailor11268!~sailfish@> has quit IRC (Ping timeout: 246 seconds)19:16
*** Sailor11268 <Sailor11268!~sailfish@> has joined #sailfishos-porters19:20
*** eLtMosen <eLtMosen!> has joined #sailfishos-porters19:24
piggzkrnlyng: that strace is what happens19:32
krnlyngpiggz, which strace?19:33
*** wiktorek140 <wiktorek140!> has quit IRC (Quit: Dowidzenia ^-^)19:34
*** Sailor11268 <Sailor11268!~sailfish@> has quit IRC (Ping timeout: 276 seconds)19:38
krnlyngpiggz, and the error of test_hwcomposer?19:39
piggzkrnlyng: that is the good one ... causes instant reboot19:39
TheKitghosalmartin, did you check raw touchscreen events?19:40
krnlyngpiggz, have you managed to build minimalhooks?19:44
piggzkrnlyng: just finished install and on first boot!19:44
*** SfietKonstantin <SfietKonstantin!~sk@> has joined #sailfishos-porters19:45
*** piggz <piggz!~piggz@> has quit IRC (Read error: Connection reset by peer)19:54
*** piggz <piggz!~piggz@> has joined #sailfishos-porters19:54
ghosalmartinTheKit how can I do that?20:01
TheKitevdev_trace from mce-tools20:02
ghosalmartinTheKit, ill give that a shot ta20:02
ghosalmartinTheKit, ah its pointing to the sound jack20:04
ghosalmartinTheKit: woop woop touchscreen works :D20:06
*** drFaustroll <drFaustroll!~drFaustro@> has joined #sailfishos-porters20:06
*** drFaustroll <drFaustroll!~drFaustro@> has quit IRC (Changing host)20:06
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has joined #sailfishos-porters20:06
TheKitnice :)20:06
ghosalmartinhmmm Jolla wizard works fine20:07
ghosalmartinbut lipstick goes crazyy20:07
ghosalmartinwell its just a black screen20:07
ghosalmartinbut in a second dmesg will flood20:07
ghosalmartinoh never mind its up20:07
ghosalmartinbinder: will no more async space left [freed:48][allocate size:72], unfreeze [1435]20:08
ghosalmartinalthough that will crash the phone me thinks20:08
ghosalmartinit does seem all the icons are broken20:08
ghosalmartinis that due to the pixel ratio?20:09
malbroken how?20:09
maldid you manage to go through both wizards?20:09
*** eyome <eyome!> has joined #sailfishos-porters20:10
ghosalmartinmal: yeahh20:10
ghosalmartinbut everythings tiny20:11
ghosalmartinso am guessing the pixel ratio is wrong?20:11
malghosalmartin: might be, what did you define for that? also do you have the display dimensions in /var/lib/environment/compositor/droid-hal-device.conf20:15
ghosalmartinmal: nah i dont20:16
ghosalmartinis it an old version of the file?20:16
malghosalmartin: I have this
ghosalmartinmal: hmm havent seen that before, and the etherpad stuff isnt working :P20:19
malghosalmartin: what isn't working?20:20
ghosalmartinmal: the dconf commands20:20
piggzghosalmartin: krnlyng: ok, installed new image, and modified the init files as before for 32bit20:20
piggzuser@1000000 is disabled20:21
piggzdroid-hal-init is starting20:21
malghosalmartin: those should work if you are as correct user20:21
ghosalmartinmal: as nemo?20:21
malmight be, can't remember20:21
ghosalmartinmal: well am definitley further than before, although screen wont turn off :P it just blanks on power button haha20:22
piggzghosalmartin: krnlyng: surfaceflinger still cfrashes20:22
ghosalmartinpiggz, dlfree issue?20:22
piggzghosalmartin: yes20:23
ghosalmartin ¯\_(ツ)_/¯20:23
ghosalmartinall i got left :P20:23
piggzghosalmartin: krnlyng: however, test_hwcomposer isnt rebooting it20:25
piggzits not working, but....20:26
krnlyngpiggz, oh thats good20:26
piggzkrnlyng: logcat is spewing:20:26
piggz06-26 19:49:03.475  2272  2272 I Adreno  :  GetAndroidProperty: property_get debug.egl.swapinterval failed (err = 0)20:26
piggz06-26 19:49:03.475  2272  2272 I SDM     : HWCDisplayPrimary::ProcessBootAnimCompleted: ProcessBootAnimCompleted: cryptostate= unencrypted20:26
krnlyngpiggz, ok test_hwcomposer probably doesn't have this:
krnlyngpiggz, but you can just test lipstick?20:27
piggzkrnlyng: whats the best way? /usr/bin/jolla-startupwizard-pre-user-session ?20:28
piggzand /usr/bin/jolla-startupwizard-pre-user-session20:28
piggzi mean EGL_PLATFORM=hwcomposer QT_QPA_PLATFORM=hwcomposer20:28
piggzkrnlyng: argh, that rebooted the phone20:29
ghosalmartinmal: well thats pixel ratio a bit better20:30
ghosalmartinlets see if the icons stuck20:30
*** Umeaboy <Umeaboy!> has joined #sailfishos-porters20:30
ghosalmartini can see a bit of blurring, unsure if thats the pixel ratio or the screen protector20:30
UmeaboyHi guys!20:30
UmeaboyI have the Samsung Galaxy S6 Edge in my hand and I run a Lineage variant on it called ResurrectionRemix.20:31
UmeaboyIt's based on
UmeaboyNow to my question......20:31
krnlyngpiggz, are there files in /sys/fs/pstore?20:32
UmeaboyThere's no page telling me how to make a successful build for it as my current attempts have failed due to some missing repos. Not exactly sure which ones.20:32
krnlyngpiggz, after the crash20:32
UmeaboyCan I use this built rom and put Sailfish on top of it anyway?20:32
piggzkrnlyng: running lipstick instead of jolla-startup.... doesnt reboot20:32
UmeaboyIt's fully rooted.20:32
piggzit crashes tho20:32
Umeaboypiggz: What do you say about it?20:33
UmeaboyIs it possible to build Sailfish without having to build Lineage if there aren't instructions working?20:33
piggzkrnlyng: this is the logcat
*** SfietKonstantin <SfietKonstantin!~sk@> has quit IRC (Ping timeout: 240 seconds)20:33
piggzsh-3.2# cat /sys/fs/pstore/20:34
piggzconsole-ramoops  dmesg-ramoops-0  dmesg-ramoops-120:34
krnlyngpiggz, check dmesg-ramoops-0/120:34
malUmeaboy: you still need sources matching close enough the the existing image, so at least the device and kernel repos20:35
piggzkrnlyng: its not text20:35
krnlyngpiggz, use strings on the files20:35
piggzconsole is20:35
malUmeaboy: also no working hybris repos for android 7 yet20:36
Umeaboymal: There are both device sources and kernel sources. However those repos are outdated.20:36
UmeaboyMy own tree.20:37
krnlyngpiggz, or upload the files20:37
*** gmoro <gmoro!~gmoro@> has joined #sailfishos-porters20:37
UmeaboyI used the tree from TWRP for Nougat as a template.20:37
piggzkrnlyng: this is the kernel output from the crash (running jolla-startupwizard-pre-user-session)20:39
UmeaboySomeone willing to help me make a working tree? :)20:39
UmeaboyI've done alot of adjustments already.20:39
piggzkrnlyng: this is the strace from lipstick, which crashed but didnt reboot
ghosalmartinkrnlyng, do you know how important libhybris becomes or its hooks if am using surfaceflinger to render?20:41
krnlyngpiggz, try these20:42
piggzkrnlyng: i put the files in your sfdroid dropbox20:42
krnlyngghosalmartin, it should not affect surfaceflinger20:43
piggzone moment ... nned to feed the chickens before i get told off ;)20:43
ghosalmartinkrnlyng, thought as much, so using minimal hooks or the other one wont matter too much20:43
krnlyngghosalmartin, for surfaceflinger not20:44
ghosalmartinkrnlyng, awesome ta :)20:44
ghosalmartinis there anywhere i can tweak the swipe strength / limits20:48
*** SfietKonstantin <SfietKonstantin!~sk@> has joined #sailfishos-porters20:58
*** SfietKonstantin <SfietKonstantin!~sk@> has quit IRC (Ping timeout: 246 seconds)21:03
piggzkrnlyng: did you get those files?21:04
ghosalmartinand now the polishing begins :P
piggzghosalmartin: fu :P21:05
piggzjust rub it in21:06
ghosalmartinpiggz, haha :P21:06
ghosalmartinyoull get there, ive had this device for a few months21:06
ghosalmartinnot a 20min port ;)21:06
ghosalmartinalbeit ive been lazy at times21:06
krnlyngpiggz, hmm these files seem to be garbage :( for me they usually containe *some* text21:07
krnlyngpiggz, have you tried the kernel patches? it seems to me they might help21:07
malghosalmartin: so quite the same time as my first port :)21:07
ghosalmartinmal: yeahh my bullhead took closer to a year :P21:07
ghosalmartintbr ^^ finally some workable ui :P21:11
*** andrzejku__ <andrzejku__!~andrzejku@> has joined #sailfishos-porters21:17
malghosalmartin: is anything else working yet? like audio, camera or sensors?21:17
ghosalmartinmal: nah havent tried any of them, not quite sure how sensors will work tbh if its going through surfaceflinger21:17
ghosalmartinplus test_sensors segfaults as no suitable binary is found21:18
piggzkrnlyng: can i run lipstick without a user session?21:19
*** andrzejku_ <andrzejku_!~andrzejku@> has quit IRC (Ping timeout: 240 seconds)21:20
krnlyngpiggz, "su nemo", then source /var/lib/environment/compositor/droid-hal-device.conf; lipstick -platform hwcomposer21:20
mal+the one variable from that file as parameter for lipstick probably?21:22
piggzkrnlyng: oh21:26
piggzkrnlyng: lipstick is running, no crash ... screen has gone black (MI logo removed) .....nothing else21:27
krnlyngpiggz, ok but you have both kernel patches?21:29
piggzkrnlyng: yes21:29
krnlyngzhxt had a similar problem but for him the black screen went away with the first patch21:29
piggzkrnlyng: i have binder transaction failed messages in journal21:30
piggzkrnlyng: and the process number match lipstick21:31
piggzMar 04 14:01:40 Sailfish kernel: binder: 1204:1204 transaction failed 29189, size 0-021:31
piggzrepeated over and pver21:31
ghosalmartinpiggz, try a swipe21:31
krnlyngpiggz, try as mal said21:32
krnlyngpiggz, with the extra parameter21:32
krnlyngthen you should have touch21:32
krnlyngif the event node is correct21:32
piggzit is21:33
piggzstill nothing21:34
piggzkrnlyng: seems droid-hal-init isnt running, one moemnt21:37
*** eLtMosen <eLtMosen!> has quit IRC (Quit: Leaving.)21:39
piggzkrnlyng: with droid-hal-init running, lipstick aborts....21:40
krnlyngpiggz, any logs before the abort?21:41
piggzkrnlyng: logcat..
*** eyome <eyome!> has quit IRC (Quit: eyome)21:42
piggzkrnlyng: and strace
*** sydney_untangle <sydney_untangle!~sydney@supertux/sydney> has joined #sailfishos-porters21:50
krnlyngpiggz, you seem to have some dbus related errors and permissions errors, no libhybris error at the moment21:50
krnlyngpiggz, can you try starting lipstick via systemctl start --user lipstick.service21:55
*** phlixi <phlixi!> has quit IRC ()21:57
*** phlixi <phlixi!> has joined #sailfishos-porters21:57
piggzkrnlyng: user session isnt running....its masked ... i need to inhibit the gui services before starting it i think22:03
*** Sailor11268 <Sailor11268!> has joined #sailfishos-porters22:04
piggzkrnlyng: it rebooted the phone :(22:10
krnlyngpiggz, :( do the /sys/fs/pstore files tell anything new?22:10
*** eLtMosen <eLtMosen!> has joined #sailfishos-porters22:11
piggzkrnlyng: im off to zzzZZZ now ... think more tomorrow!, thx!22:12
*** piggz <piggz!~piggz@> has quit IRC (Ping timeout: 260 seconds)22:17
*** tortoisedoc <tortoisedoc!5b9b7212@gateway/web/freenode/ip.> has quit IRC (Ping timeout: 260 seconds)22:20
*** carepack <carepack!> has quit IRC (Ping timeout: 268 seconds)22:34
*** carepack <carepack!> has joined #sailfishos-porters22:35
*** zhxt_afk <zhxt_afk!~quassel@> has quit IRC (Read error: Connection reset by peer)23:00
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has quit IRC (Ping timeout: 246 seconds)23:01
*** phdeswer <phdeswer!> has quit IRC (Ping timeout: 255 seconds)23:03
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has joined #sailfishos-porters23:14
*** ghosalmartin <ghosalmartin!~ghosalmar@2a02:c7f:923a:9000:88b3:ec70:a748:bad9> has quit IRC (Ping timeout: 255 seconds)23:14
*** cxl000 <cxl000!> has quit IRC (Quit: Leaving)23:22
*** guhl <guhl!~guhl@gateway/tor-sasl/guhl> has quit IRC (Ping timeout: 248 seconds)23:26
*** toomin <toomin!~Slartibar@unaffiliated/toomin> has quit IRC (Ping timeout: 268 seconds)23:28
*** Umeaboy <Umeaboy!> has quit IRC (Quit: Leaving)23:32
*** krnlyng <krnlyng!> has quit IRC (Remote host closed the connection)23:34
*** olafh <olafh!> has quit IRC (Ping timeout: 260 seconds)23:35
*** krnlyng <krnlyng!> has joined #sailfishos-porters23:36
*** eLtMosen <eLtMosen!> has quit IRC (Ping timeout: 240 seconds)23:45
*** drFaustroll_ <drFaustroll_!~drFaustro@opensuse/member/ealin> has joined #sailfishos-porters23:52
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has quit IRC (Ping timeout: 240 seconds)23:53

Generated by 2.17.1 by Marius Gedminas - find it at!