Saturday, 2017-03-25

*** ExPLIT1 <ExPLIT1!> has joined #sailfishos-porters00:29
*** olafh <olafh!> has quit IRC (Ping timeout: 256 seconds)00:35
*** ExPLIT2 <ExPLIT2!> has joined #sailfishos-porters00:39
*** ExPLIT1 <ExPLIT1!> has quit IRC (Ping timeout: 258 seconds)00:41
*** Nemno <Nemno!~teknomen@> has quit IRC (Ping timeout: 256 seconds)00:42
*** phdeswer_ <phdeswer_!> has quit IRC (Ping timeout: 256 seconds)00:51
*** zhxt <zhxt!~zhxt@> has joined #sailfishos-porters02:22
*** zhxt__ <zhxt__!~zhxt@> has joined #sailfishos-porters02:24
*** zhxt_ <zhxt_!~zhxt@> has quit IRC (Ping timeout: 240 seconds)02:25
*** kamnxt <kamnxt!> has quit IRC (Quit: leaving)02:26
*** zhxt <zhxt!~zhxt@> has quit IRC (Ping timeout: 258 seconds)02:28
*** srohmen <srohmen!> has quit IRC (Quit: Leaving.)02:41
*** srohmen <srohmen!> has joined #sailfishos-porters02:41
*** ExPLIT2 <ExPLIT2!> has quit IRC (Quit: Leaving.)02:44
*** Dazzozo` is now known as Dazzozo03:18
*** srohmen <srohmen!> has quit IRC (Quit: Leaving.)03:25
*** lpotter <lpotter!> has joined #sailfishos-porters03:55
*** lpotter_ <lpotter_!> has quit IRC (Ping timeout: 260 seconds)03:58
*** krnlyng__ <krnlyng__!> has joined #sailfishos-porters04:07
*** krnlyng_ <krnlyng_!> has quit IRC (Ping timeout: 240 seconds)04:10
*** TheKit <TheKit!> has quit IRC (Read error: Connection timed out)04:56
*** linux_unix-10_ <linux_unix-10_!~quassel@> has quit IRC (Ping timeout: 260 seconds)05:05
*** olafh <olafh!> has joined #sailfishos-porters05:47
*** TheKit <TheKit!> has joined #sailfishos-porters05:53
*** Zucca <Zucca!> has joined #sailfishos-porters06:18
*** phdeswer_ <phdeswer_!> has joined #sailfishos-porters07:34
*** sletta <sletta!> has quit IRC (Ping timeout: 256 seconds)07:50
*** lpotter_ <lpotter_!> has joined #sailfishos-porters08:04
*** lpotter <lpotter!> has quit IRC (Ping timeout: 268 seconds)08:07
*** phdeswer_ <phdeswer_!> has quit IRC (Ping timeout: 258 seconds)08:42
*** tortoisedoc <tortoisedoc!5872b4a9@gateway/web/freenode/ip.> has joined #sailfishos-porters08:47
tortoisedochowdy ho!08:47
tortoisedocI get a weird error from android -> cannot locate symbol "dl_iterate_phdr" referenced by ""08:47
tortoisedocapp_process refuses to start apparently08:47
tortoisedocwhat am I missing?08:48
tortoisedocthe is in system_jolla08:51
tortoisedocand the android app im trying to run is ART08:51
tortoisedocthat an issue?08:51
*** Nokius_ is now known as Nokius08:52
*** tortoisedoc <tortoisedoc!5872b4a9@gateway/web/freenode/ip.> has quit IRC (Ping timeout: 260 seconds)08:58
*** neochapay_ <neochapay_!~neochapay@> has quit IRC (Ping timeout: 256 seconds)09:19
*** neochapay__ <neochapay__!~neochapay@> has joined #sailfishos-porters09:19
*** Nemno <Nemno!~teknomen@> has joined #sailfishos-porters09:21
*** Matemana_ <Matemana_!bc81c8e6@gateway/web/freenode/ip.> has joined #sailfishos-porters09:29
*** Jackneill <Jackneill!~Jackneill@unaffiliated/jackneill> has joined #sailfishos-porters09:43
Matemana_i have this problem10:00
Matemana_Warning: repo problem: pattern:jolla-hw-adaptation-mako-1-1.noarch requires gstreamer1.0-droid, but this requirement cannot be provided, uninstallable providers: gstreamer1.0-droid-1.0.0-1.armv7hl[adaptation0-mako-]10:00
Matemana_i know hadk has fix for it, i tried but no luck10:00
malMatemana_: ddi you build the droidmedia dependency as instructed?10:02
Matemana_and i am rebuilding now10:10
Matemana_this is my problem10:11
Matemana_can you look at it?10:11
malMatemana_: change the version in droidmedia .spec to that (I assume you use the localbuild version in rpm/dhd/helpers)10:12
Matemana_yes i used localbuild10:13
Matemana_changed it from 0.0.0. to 1.0.010:14
Matemana_now i will rebuild it10:14
Matemana_is this what you told?10:14
malwell I would have used the same format as in the droidmedia tags10:15
mallike 0.20170317.010:15
Matemana_i have built 3-4 rpms for SFOS i did not know this kind of format could be used10:16
malMatemana_: it depends on the package, that is for droidmedia10:17
*** pat_512 <pat_512!> has joined #sailfishos-porters10:17
malthat is actually a somewhat uncommon version number10:17
malMatemana_: but you saw that version number already in the error message "droidmedia >= 0.20170120.0"10:18
Matemana_you are right10:18
Matemana_what about this file?10:19
Matemana_mv hybris/mw/droidmedia-0.0.0.tgz10:19
Matemana_should i rename it following version number?10:19
Matemana_i should10:20
Matemana_it searched for that version and did not find10:20
Matemana_looks like i have to change it somewhere else too10:22
Matemana_mal: fixed it there also was folder named after version10:24
Matemana_changed it and it built10:24
*** sernick <sernick!~sernick@> has joined #sailfishos-porters10:30
*** pat_512 <pat_512!> has quit IRC (Quit: IRC for Sailfish 0.9)10:31
*** sernick <sernick!~sernick@> has quit IRC (Remote host closed the connection)10:37
*** sernick <sernick!~sernick@> has joined #sailfishos-porters10:37
malMatemana_: the spec needs some fixing10:44
*** dvogel <dvogel!~dorianvog@2a01:e34:ed7f:3f00:c670:28ad:2fe:a5ae> has joined #sailfishos-porters10:49
*** sernick <sernick!~sernick@> has quit IRC (Remote host closed the connection)10:50
*** sernick <sernick!~sernick@> has joined #sailfishos-porters10:51
*** dvogel <dvogel!~dorianvog@2a01:e34:ed7f:3f00:c670:28ad:2fe:a5ae> has quit IRC (Client Quit)10:51
sernicki have built the tar.bz2 image10:52
sernickbut i assume i can't just flash it right away10:52
sernickwhat should i do now?10:53
saidinesh5sernick: you need to flash the .zip which gets built10:58
saidinesh5first flash the CM base rom you've built your ROM against10:58
saidinesh5then flash that .zip file10:58
*** sernick <sernick!~sernick@> has quit IRC (Remote host closed the connection)11:00
*** sernick <sernick!~sernick@> has joined #sailfishos-porters11:01
*** sfos__ <sfos__!> has joined #sailfishos-porters11:03
*** cvp <cvp!> has joined #sailfishos-porters11:04
*** sernick <sernick!~sernick@> has quit IRC (Ping timeout: 260 seconds)11:05
Matemana_wohoooooooooo it's building11:09
Matemana_mal: spec file only needed to change version11:09
Matemana_mal: and also build folders name needed to match that version that's it11:10
Matemana_mal: strange thing is it's generating *-patterns*rpm package in droid-local-repo/mako and in droid-local-repo/mako/droid-configs11:10
Matemana_if i do not remove it from droid-local-repo/mako/droid-configs and leave only one in droid-local-repo/makoit fails11:11
malMatemana_: the ones in subfolders should be the correct one, the old build script added the packages diretly to droid-local-repo/mako11:13
malMatemana_: new script add all packages to subfolders11:13
Matemana_yeah i know checked by date of creation i ran mv droid-local-repo/mako/droid-configs droid-local-repo/mako11:13
Matemana_on that *-patterns*rpm file11:14
Matemana_ooooh i forgot to insert my geo keyboard package name in ks file11:15
malno need to move any rpms manually11:15
Matemana_can i rebuild it after it finishes building?11:15
Matemana_mal: if i did not delete every *-patterns*rpm file it failed with error more then one "*-patterns*rpm" was found11:16
malI thought I just told that you only should have droid-local-repo/mako/droid-configs11:18
malno configs packages in droid-local-repo/mako11:18
Matemana_i have it in droid-local-repo/mako now11:18
Matemana_but it's building so it's wrong11:19
malMatemana_: just do as say11:19
Matemana_ok i will rebuild again, i forgot to include my keyboard11:19
malas I say11:19
malremove all old packages and rebuild11:19
malexcept the droid-hal droidmedia and stuff11:19
Matemana_run this again right?11:21
*** dvogel <dvogel!~dorianvog@2a01:e34:ed7f:3f00:c670:28ad:2fe:a5ae> has joined #sailfishos-porters11:21
*** Mister_Magister <Mister_Magister!> has joined #sailfishos-porters11:22
Matemana_mal: it's creating *-patterns*rpm in droid-local-repo/mako and in droid-local-repo/mako/droid-configs. You said it must be in subfolder but why does it create on both places11:27
*** SfietKonstantin <SfietKonstantin!~sk@> has joined #sailfishos-porters11:28
malMatemana_: how can it create to two places, that doesn't make any sense11:29
Matemana_But it does, i removed everything and it created that file in both places, when i rerun it complains that more then one pattern file is found11:29
Matemana_that's why i removed it manually11:29
malthen there is something really wrong in your setup or repos11:30
malyou need to look at build logs11:31
Matemana_i seted up hadk 6 times already on my laptop and on my work PC i am tired already11:31
malMatemana_: are there other packages in droid-local-repo/mako than *patterns*11:31
Matemana_i'll show you11:31
*** SfietKonstantin <SfietKonstantin!~sk@> has quit IRC (Ping timeout: 240 seconds)11:32
Matemana_here is ls droid-local-repo11:33
malMatemana_: where do those droid-config-mako-* files come from? those should be in the droid-configs subfolder assuming you have the correct rpm/dhd submodule11:34
malsame fro droid-hal packages11:34
Matemana_can we check if i have correct rpm/dhd submodule?11:35
Matemana_i build packages and it puts them there11:35
Matemana_it's like this on my work and laptop pc11:35
malif you go to that folder and run git log and then compare it to this
malMatemana_: and you still have packages also in droid-local-repo/mako/droid-configs ?11:36
Matemana_mal: yes11:37
malI think your submodule must be somehow messed up to achieve that11:37
malMatemana_: have you made any modifications to that submodule?11:38
malMatemana_: I cannot understand how it can be possible to get packages to two places in one build11:39
Matemana_so i should have no rpm packages except patterns in droid-local-repo/mako right11:39
Matemana_and except that packages what i want to include in zip right?11:39
malMatemana_: no, there should be no droid-* packages in droid-local-repo/mako11:40
malonly in the subfolders11:40
malMatemana_: force reset the submodule, search online how to do that, I need to go and get some food11:41
Matemana_what about packages i want to include?11:41
Matemana_where should they be?11:41
malanywhere in droid-local-repo/mako or any subfolder11:42
Matemana_ok i'll search that thanks, bon appetit11:42
malsomething like git reset --hard HEAD11:42
malnot sure if you need to specify remote or branch somehow11:43
Matemana_mal: i fixed it, but it seems i had old file it searched for pattern in droid-local-repo/mako12:01
*** pseudodev <pseudodev!uid205973@gateway/web/> has joined #sailfishos-porters12:01
Matemana_i edited it but igues i have to run git pull in droid-hal-configs12:02
*** sernick <sernick!> has joined #sailfishos-porters12:03
Matemana_mal: can't fix this problem with HADK fix #!/bin/sh # create/update patterns in local repo # Copyright (c) 2014 Jolla Ltd. # Contact: Simonas Leleiva <>  if [ ! -d hybris ]; then     echo $0: launch this script from the $ANDROID_ROOT directory     exit 1 fi  if [ -z $DEVICE ]; then     echo 'Error: $DEVICE is undefined. Please run hadk'     exit 1 fi  RPMPATH="$ANDROID_ROOT/droid-local-r12:06
Matemana_Warning: repo problem: pattern:jolla-hw-adaptation-mako-1-1.noarch requires droid-hal-mako-img-boot, but this requirement cannot be provided, uninstallable providers: droid-hal-mako-img-boot-0.0.6-201703251125.armv7hl[adaptation0-mako-]12:06
Matemana_i substitute @Jolla Configuration mako with @jolla-hw-adaptation-mako but it does not work12:07
Matemana_mal: That i bult 20 minutes ago when i had rpms in droid-local-repo/mako worked12:13
*** sernick <sernick!> has quit IRC (Remote host closed the connection)12:14
*** sernick <sernick!> has joined #sailfishos-porters12:15
*** linux_unix-10_ <linux_unix-10_!~quassel@> has joined #sailfishos-porters12:15
*** sernick <sernick!> has quit IRC (Remote host closed the connection)12:20
*** srohmen <srohmen!> has joined #sailfishos-porters12:23
*** SfietKonstantin <SfietKonstantin!~sk@> has joined #sailfishos-porters12:26
*** sernick <sernick!> has joined #sailfishos-porters12:34
*** SfietKonstantin <SfietKonstantin!~sk@> has quit IRC (Ping timeout: 240 seconds)12:39
malMatemana_: update droid-config-device submodule in hybris/droid-configs12:39
*** M4rtinK <M4rtinK!~M4rtinK@> has joined #sailfishos-porters12:40
*** sernick <sernick!> has quit IRC (Ping timeout: 260 seconds)12:41
malMatemana_: and rebuild config packages after that12:42
Matemana_is it's url this?
Matemana_mal: or this?
Matemana_it asks me URL12:45
r0kk3rzMatemana_: the second one12:48
Matemana_r0kk3rz: how to merge?12:50
*** SfietKonstantin <SfietKonstantin!~sk@> has joined #sailfishos-porters12:51
malMatemana_: the url should be there already, probably github remote12:52
Matemana_Previous HEAD position was e37f266... Merge pull request #38 from mlehtima/master Branch master set up to track remote branch master from github. Switched to a new branch 'master'12:52
Matemana_is that it?12:53
malwhat does git remote -v tell?12:53
Matemana_i really do not understand this git12:53
Matemana_github (fetch) github (push)12:53
Matemana_it's too complicated12:53
malok, now it probably is ok, check that git log matches
Matemana_does not match12:55
malMatemana_: what is the difference?12:55
malwhat is the last commit in your git log12:55
Matemana_commits on 24 are not in my local files12:55
malMatemana_: did you try git pull github master?12:55
*** tortoisedoc <tortoisedoc!5872b4a9@gateway/web/freenode/ip.> has joined #sailfishos-porters12:55
Matemana_mal: that did a trick12:56
Matemana_now 24 commits are here12:56
Matemana_so whenever i want to update i have to run git pull github master12:56
r0kk3rzMatemana_: its not that complicated, but its a DVS and so there is a certain amount of complication you cant really solve12:57
malMatemana_: yes, that should usually work, just make sure the remote (in this case github) is corrent and also the branch12:57
tortoisedoccannot locate symbol "dl_iterate_phdr" referenced by "" -> any idea where to get the dl_iterate_phdr from?13:00
tortoisedocand btw13:00
tortoisedocwhat's the alien dalvik runtime support on jolla?13:00
*** SfietKonstantin <SfietKonstantin!~sk@> has quit IRC (Ping timeout: 264 seconds)13:01
*** cvp <cvp!> has quit IRC (Remote host closed the connection)13:01
r0kk3rzapi 18 or something13:03
Matemana_yes it's kitkat13:11
*** SfietKonstantin <SfietKonstantin!~sk@> has joined #sailfishos-porters13:13
*** SfietKonstantin <SfietKonstantin!~sk@> has quit IRC (Ping timeout: 240 seconds)13:17
Matemana_on my laptop i have this problem sudo: effective uid is not 0, is sudo installed setuid root?13:24
Matemana_can i fix this?13:24
*** pykape <pykape!> has quit IRC (Ping timeout: 256 seconds)13:24
*** pykape <pykape!> has joined #sailfishos-porters13:25
*** Matemana_ <Matemana_!bc81c8e6@gateway/web/freenode/ip.> has quit IRC (Quit: Page closed)13:30
*** tortoisedoc <tortoisedoc!5872b4a9@gateway/web/freenode/ip.> has quit IRC (Ping timeout: 260 seconds)13:35
malMatemana: the first entry in faq13:45
*** tortoisedoc <tortoisedoc!5872b4a9@gateway/web/freenode/ip.> has joined #sailfishos-porters13:47
tortoisedocid wonder if there's a way to find the api version?13:48
tortoisedocthere seems to be art (under system_jolla)13:48
r0kk3rztortoisedoc: j1 or jc?13:48
tortoisedocbut trying to use it results in the dl_iterate_phdr symbol not found13:48
tortoisedocr0kk3rz : ^13:48
r0kk3rzyeah that ones not too bad, 4.4.413:48
tortoisedochmm art under kitkat has limited support iirc13:49
tortoisedocwonder if it's related13:49
r0kk3rzyeah but its not android remember, its alien-dalvik13:50
r0kk3rzno art13:50
tortoisedocr0kk3rz : there seems to be something art like under system_jolla tho?13:50
r0kk3rzi could be wrong13:54
tortoisedocit can also be incomplete tho13:54
tortoisedoccant seem to get the apk installed13:54
tortoisedoc(with pm)13:55
tortoisedoc(actually cant seem to get app_process to run at all)13:55
*** dvogel <dvogel!~dorianvog@2a01:e34:ed7f:3f00:c670:28ad:2fe:a5ae> has quit IRC (Ping timeout: 240 seconds)13:55
*** pseudodev <pseudodev!uid205973@gateway/web/> has quit IRC (Quit: Connection closed for inactivity)14:09
saidinesh5odd thing with 2.1 (I think) is once I have disconnected USB, the rndis0 interface doesnt seem to come up again14:23
saidinesh5until a reboot14:25
Mister_Magistersaidinesh5: hello14:29
saidinesh5Hey Mister_Magister14:29
Mister_Magistersaidinesh5: i want to ask you something. Do you know how to make dbus services?14:29
saidinesh5did you face this issue?14:29
Mister_Magisterwhat issue?14:29
saidinesh5Mister_Magister: sure, there is nice documentation about it in sailfish website14:30
saidinesh5the issue seems to be that once i disconnect USB cable rndis0 doesnt seem to come up again until a reboot14:30
Mister_Magistersaidinesh5: can you give me a link? I need to make service for messenger14:30
Mister_Magistersaidinesh5: nope i didn't had it14:31
saidinesh5Mister_Magister: Install a file like this: to /usr/share/dbus-1/services/net.garageresearch.droplet.service14:33
saidinesh5that will tell dbus to automatically start the service when the dbus interface is accessed14:33
saidinesh5the rest of  the documentation you need on how to expose / access a dbus interface from QML is documented in here:
saidinesh5Sample code for DBus Adapter is :
saidinesh5Sample code for accessing that DBus service is :
Mister_Magistersaidinesh5: i don't want to connect to some service from qml14:35
Mister_Magisteri want to make c++ service that handle dbus connections14:36
saidinesh5Ah, the C++ tutorial is a little longer than the QML counterpart14:37
Mister_Magisteri have found something that looks good
saidinesh5Mister_Magister: use QDBus14:38
saidinesh5it has a bunch of tools to autogenerate the boilerplate from your DBus interfaces14:38
Mister_Magisteri need dbus service because libpurple have to work in background so messenger will be always active. It will also allow me to open droplets or send nootifications from it14:38
saidinesh5then why not expose the interface in QML itself?14:39
Mister_Magisterapp have to be closable14:40
Mister_Magisterand messenger itself have to be still working14:40
saidinesh5So You just need a long running service , that Also exposes a DBus interface14:42
Mister_Magisterwhen you get message it will send notification and when you click notification it will open app and app will communicate with service throught dbus14:43
Mister_Magisteri think it's good idea14:43
Mister_Magisterto use dbus for that14:43
saidinesh5Sure. I think Sailorgram has a bunch of code you can directly use14:44
Mister_Magisterokay thanks i'll look at it14:44
Mister_Magisterthanks now i just have to dig into code :/14:48
saidinesh5Most of the code you need is around here:
saidinesh5the autostart bit is for systemd to automatically start the service on startup. the keep running is - once started, do not terminate the Application even after all windows are closed14:51
*** SfietKonstantinW <SfietKonstantinW!c2623324@gateway/web/cgi-irc/> has quit IRC (Quit: - A hand crafted IRC client)14:52
*** SfietKonstantinW <SfietKonstantinW!c2623324@gateway/web/cgi-irc/> has joined #sailfishos-porters14:52
saidinesh5and this is the first tutorial i used to create a dbus interface in C++
saidinesh5Mister_Magister: ^14:53
Mister_Magistersaidinesh5: qApp->setQuitOnLastWindowClosed(!keep); i used the same for tray icon on desktop. I can make gui to hide not to close and i'll have the same effect14:53
Mister_Magisterwhat do you think about this?14:53
saidinesh5Mister_Magister: yup. And then you expose a Register a DBus interface to also show/hide the window14:54
Mister_Magisterand i'll be able to connect gui with app through signals14:54
Mister_Magisterqt signals i mean14:54
Mister_Magisterand systemd will start app hidden by default14:55
Mister_Magistercan launcher send dbus message?14:55
saidinesh5you can use a command line argument for that14:55
Mister_Magisteroh right14:56
saidinesh5Also launcher can simply call a DBus interface14:56
saidinesh5that's what the DBus activation bit I've talked about is14:56
saidinesh5whenever DBus receives a call on that interface, it automatically launches the binary which creates that interface14:57
Mister_Magisteri'm collecting everything that i need for app14:57
saidinesh5Ah..  to summarise: <- Tutorial + Code on how to create DBus interface, DBus Service file you need to install to /usr/share/dbus-1/services
saidinesh5And a .desktop file to create a launcher entry to call a DBus interface:
Mister_Magistergarageresearch? hahaha :D15:02
Mister_Magisterthank you very much :315:02
Mister_Magisterhmmm i need xml file too15:04
saidinesh5yes, you write an xml file and use that qdbusxml2cpp to generate the C++ stubs for your interface15:04
saidinesh5there was also qdbuscpp2xml iirc15:05
Mister_Magisterokay. but leave that for later i'm getting lost in what i have to do first15:06
saidinesh5the kdetechbase tutorial :P15:07
Mister_Magisterso first i'll make simple code in c++ then connect it with qml app and then i'll make dbus15:07
saidinesh5start with that15:07
saidinesh5i think i need to look into support for multiple overlapping Applets though15:21
saidinesh5i think i need to look into support for multiple overlapping Applets though15:21
saidinesh5*havent tested that bit15:21
Mister_Magistersaidinesh5: how many droplets can be open in the same time?15:21
saidinesh5Right now the code is such that if the droplets wont fit on screen, they get shown as "count" on the last Droplet15:23
saidinesh5So as many as you want...15:23
saidinesh5But i havent tested the code for what happens when multiple applications create  droplets15:24
Mister_Magisteroh good to know15:24
saidinesh5okay dinner time15:24
Mister_Magisterso you have to test it and make library. Thank you for your work :)15:24
saidinesh5Aye. will do15:24
Mister_MagisterBon Appetit15:24
*** tortoisedoc <tortoisedoc!5872b4a9@gateway/web/freenode/ip.> has quit IRC (Ping timeout: 260 seconds)15:29
*** kamnxt <kamnxt!> has joined #sailfishos-porters16:09
*** SfietKonstantinW <SfietKonstantinW!c2623324@gateway/web/cgi-irc/> has quit IRC (Quit: - A hand crafted IRC client)16:09
kamnxtHello again :D16:09
kamnxtsomehow my lockscreen started working16:09
*** SfietKonstantinW <SfietKonstantinW!c2623324@gateway/web/cgi-irc/> has joined #sailfishos-porters16:11
*** linux_unix-10_ <linux_unix-10_!~quassel@> has quit IRC (Ping timeout: 260 seconds)16:24
*** linux_unix-10_ <linux_unix-10_!~quassel@> has joined #sailfishos-porters16:26
*** minimec <minimec!~minimec@unaffiliated/minimec> has quit IRC (Quit: leaving)16:26
*** dvogel <dvogel!~dorianvog@2a01:e34:ed7f:3f00:c670:28ad:2fe:a5ae> has joined #sailfishos-porters16:36
*** dvogel <dvogel!~dorianvog@2a01:e34:ed7f:3f00:c670:28ad:2fe:a5ae> has quit IRC (Client Quit)16:39
*** dvogel <dvogel!~dorianvog@2a01:e34:ed7f:3f00:c670:28ad:2fe:a5ae> has joined #sailfishos-porters16:39
*** Tassadar <Tassadar!> has joined #sailfishos-porters16:49
r0kk3rzalways woo, so much woo17:09
*** mp107 <mp107!> has joined #sailfishos-porters17:16
*** SfietKonstantin <SfietKonstantin!~sk@> has joined #sailfishos-porters17:16
*** minimec <minimec!~minimec@unaffiliated/minimec> has joined #sailfishos-porters17:17
kamnxtmy phone was almost discharged, so i plugged in the charger... SFOS said "low battery" and then "unplug charger to save energy"17:30
kamnxtyes sailfish, i want to save energy, not charge my phone...17:30
*** SfietKonstantin <SfietKonstantin!~sk@> has quit IRC (Ping timeout: 240 seconds)17:34
Mister_Magistersaidinesh5: that feel when you strugle for 3 days with building libpurple and libpurple-plugin-facebook and you are making new messenger app and somebody says it's nodevel work and don't say word about me.
saidinesh5oh boy..17:44
kimmolisimo has been vaping too much17:45
Mister_Magisterkimmoli: whaaat? :D17:52
r0kk3rzsimo still writes?17:53
r0kk3rzMister_Magister: does it work?17:54
Mister_Magisterwho is simo17:54
Mister_Magisterand what is working17:54
tbrMister_Magister: Simo is the guy behind reviewjolla17:56
r0kk3rzMister_Magister: fb thin17:57
Mister_Magistertbr: oh okay :D17:57
Mister_Magisterr0kk3rz: messenger? Yeah with my libpurple and libpurple-plugin-facebooks the old plugin is working (unstable but working). I don't care about that plugin i just checked if it's working with my libpurple and it is so people can use it by now. I'm making messenger app that will replace old plugin17:59
r0kk3rzMister_Magister: why not fix the plugin?18:02
Mister_Magisterr0kk3rz: because no. plugin itself is in qml only and uses telepathy. I don't know how it works and how to fix it and it will be better to make app because setting as read will be working groups will work and images will work18:03
r0kk3rzbecause no :D18:04
Mister_Magisterand it will be working better. Now it don;t work until you get all contacts from facebook and you are getting them magically you don't know why you don't have them18:04
M4rtinKit's unfortunate that it seems to be easier to write a new messaging app than to add/fix Telepathy plugins18:05
M4rtinKbreaks all the unified notification center concept quite a bit18:05
M4rtinK& unified messaging center concept18:05
r0kk3rzMister_Magister: good luck! im sure many people will appreciate the result18:06
kamnxtWhat's the best way to recreate the /dev structure?18:06
Mister_Magisterr0kk3rz: it will work the same as now but you will not have messages in messages app and contacts in people app but in my app18:06
*** olafh <olafh!> has quit IRC (Ping timeout: 246 seconds)18:09
r0kk3rzMister_Magister: then why libpurple? isnt that a telepathy thing?18:09
*** olafh <olafh!> has joined #sailfishos-porters18:10
*** tortoisedoc <tortoisedoc!5872b4a9@gateway/web/freenode/ip.> has joined #sailfishos-porters18:29
kamnxt...that moment when you try to google an issue and get your own discussion from yesterday18:32
*** sernick <sernick!~sernick@> has joined #sailfishos-porters18:34
kamnxthmm, so apparently RIL detects the SIM18:42
kamnxtI get SIM_CONUT: 118:42
kamnxtbut I still don't have any sim icon18:42
*** mp107 <mp107!> has quit IRC (Quit: Leaving)18:43
Mister_Magistermixing c and c++ is complicated18:57
Mister_Magisterkamnxt: check systemctl status ofono18:57
kamnxtMister_Magister: seems ok19:00
kamnxtfirst it says "excluding x driver" a bunch of times19:00
kamnxtthan it says "RIL version 11"19:00
kamnxtthen systemd says "started telephony service"19:00
Mister_Magisteroh okay so that's working19:01
kamnxtMister_Magister: well, not sure if it is working, but it does seem like it's working19:02
Mister_Magisteryeah it looks okay19:02
kamnxttrying to call a number just shows "emergency numbers only" or something like that though19:02
Mister_Magisterand do you have sim settings?19:02
kamnxtshould I try a restart?19:03
Mister_Magisteri don't know much about ofono but i'll try help :)19:03
Mister_Magisteruntil somebody experienced will answer19:03
kamnxtthanks :D19:04
Mister_Magisterso, do you have ofono-tests package?19:05
kamnxtwhere do I find it?19:05
Mister_Magisterzypper in ofono-tests19:05
kamnxt... can't connect to the internet19:06
kamnxtwifi doesn't want to turn on for some reason19:06
kamnxti'll try a reboot19:07
Mister_Magistergive me a second ;) you can do reboot and meanwhile i'll give you that package19:08
kamnxtok, now wifi turned on at least19:08
Mister_Magisteroh... xD19:09
kamnxtnot sure if it's gonna be able to connect to anything though19:10
kamnxtit seems to get an ip, but I can't even ping anything19:10
kamnxtcouldn't resolve host19:10
kamnxt...something seems wrong19:14
kamnxtmtp shows up as camera19:14
kamnxt"charging only" shows all the partitions19:14
kamnxtMister_Magister: got any ideas for copying it over?19:18
kamnxtor should I just adb push it through recovery19:18
Mister_Magisterkamnxt: ssh?19:20
*** Matemana_ <Matemana_!bc81c8e6@gateway/web/freenode/ip.> has joined #sailfishos-porters19:20
kamnxtssh doesn't work19:20
kamnxti can't connect to it19:20
kamnxtusb gives me an ip, but i can't even ping it19:20
Mister_Magisterthen how are you running commands?19:20
*** tortoisedoc <tortoisedoc!5872b4a9@gateway/web/freenode/ip.> has quit IRC (Ping timeout: 260 seconds)19:20
kamnxtthe terminal on the phone :/19:20
kamnxtbecause it works just fine19:21
Mister_Magisterdid you check phone ip from phone?19:21
kamnxtMister_Magister: yep19:21
kamnxtit gets an IP from wifi19:22
Mister_Magisterand cannot ping it?19:22
Mister_Magisterno i mean through usb19:22
Mister_Magisternot wifi19:22
kamnxtcan't ping it through usb either19:22
kamnxttelnet works during boot19:22
kamnxtand then i can't do anything19:22
kamnxtunless I log in and mask usb-moded19:22
kamnxtthen telnet keeps working19:22
Mister_Magisterdid you tried internet sharing?19:22
Mister_Magistermtp from twrp should be working]19:23
Mister_Magistertwrp is awesome thing. Once i even chrooted to sailfish from twrp :D19:23
kamnxtfor some reason now the lockscreen stopped working19:24
kamnxtit used to work19:24
Mister_Magisterkamnxt: it's because ofono is not working19:24
Mister_Magisterdouble click power button when screen is off19:24
kamnxtbut i only rebooted it19:24
kamnxt(swiping also still works)19:24
kamnxtbut the lockscreen used to be displayed19:25
Mister_Magisterit's because ofono is not working :/19:26
Mister_Magistercheck systemctl status ofono19:26
kamnxtactive (running)19:26
kamnxtlast message: "RIL version 11"19:26
malit can be running but RIL is probably not working properly19:27
kamnxtrild is running19:28
kamnxtprobably not working, but running19:28
Mister_Magistermal: know everything :D19:29
kamnxtMister_Magister: tried to install your ofono-tests, but it requres python, dbus-python and an older version of ofono19:30
Mister_Magisteroh :/ What version of sailfish?19:31
kamnxtand i have ofono something_git8 and your package required something_git719:31
Mister_Magisterthat's why19:31
Mister_Magisteri have
kamnxtalso, for some reason I can't connect to wifi now19:32
Mister_Magisteri see it's very unstable? haha :D19:33
kamnxtnow the lockscreen works19:33
Mister_Magisterhere is version for your os19:33
kamnxtit's the 1.18+git7 version my phone seems to want +git819:34
Mister_Magisterso sometimes ril/ofono is working and sometimes not19:34
kamnxtseems like it19:34
Mister_Magisterbut it's from repo so it should be working19:34
kamnxtalso, now wifi works19:34
kamnxtsettings say "limited connectivity" though19:34
kamnxtso no internet connection19:35
Mister_Magisterkamnxt: some magic happens there :D19:35
Mister_Magistertry ping
kamnxtNetwork is unreachable19:35
kamnxti think my phone is full of magic19:35
*** cmazieri <cmazieri!~carlos@> has joined #sailfishos-porters19:36
kamnxtip a shows an ip19:37
kamnxtnmap finds it19:38
kamnxtbut doesn't even respond to ping19:38
*** ghosalmartin <ghosalmartin!~ghosalmar@2a02:c7f:923a:9000:991f:d1c1:c147:c3b0> has joined #sailfishos-porters19:41
Mister_Magistertry that new ofono-test package19:41
kamnxtbut i'll also need python3, dbus-python33 and python3-gobject19:42
kamnxtperhaps I should try getting the network connection to work first :/19:43
*** sernick <sernick!~sernick@> has quit IRC (Remote host closed the connection)19:43
*** sernick <sernick!~sernick@> has joined #sailfishos-porters19:43
kamnxtgot any ideas what might be wrong?19:45
kamnxtbecause it seems like it doesn't have any problems with getting the ip or connecting19:45
kamnxtalso, it seems like traceroute works, at least from nmap19:45
kamnxt...or not19:46
kamnxtwell, at least nmap finds it19:47
kamnxtwhen scanning my wifi network19:47
Mister_Magisterwhat phone btw?19:50
kamnxtlg g419:50
kamnxtaka h81519:50
Mister_Magisterlg.... did you even got gui? hahaha :D19:50
kamnxtMister_Magister: interestingly enough, yes19:50
kamnxtI'm kind of surprised the screen and vibration worked almost out of the box19:50
Mister_Magistercongrats :D19:51
kamnxtafter fixing mountpoints IIRC19:51
Mister_Magisteronce lg said me he is using mbr not gpt D:19:51
kamnxtwhat phone?19:51
Mister_Magisterlg l319:51
kamnxtmaybe they changed that19:51
Mister_Magisterdo you have wifi built as module?19:51
kamnxtnot quite sure tbh19:52
*** sernick <sernick!~sernick@> has quit IRC (Remote host closed the connection)19:52
Mister_Magisterit's working so i thing it's not important19:52
*** sernick <sernick!~sernick@> has joined #sailfishos-porters19:52
kamnxtcurrently, the only thing lsmod shows is autofs419:52
Mister_Magisterif ping says there is no internet connection thenit's not connected :D19:52
kamnxtMister_Magister: except nmap finds it19:53
Mister_Magisterifconfig says it have ip?19:53
kamnxtfrom my laptop19:53
kamnxtip a shows it has an ip19:53
kamnxtsettings show it has an ip19:53
kamnxti can find its ip from my laptop19:53
kamnxtbut can't connect to or from it19:53
Mister_Magisterand ping says?19:53
Mister_Magisterfrom phone19:53
kamnxtbut gets 100% packet loss19:54
kamnxt100% packet loss19:54
kamnxtthat works19:54
malkamnxt: which device is that?19:55
kamnxtlg g4 (aka h815)19:55
Mister_Magistermal: building wifi as module will change something?19:55
kamnxtalso, netd keeps getting killed19:55
malkamnxt: have you checked the udev rules meaning have you compared the /dev/block paths in android and sailfish?19:56
kamnxtmal: can check19:56
kamnxtcan also try seeing if i can chroot into sailfish and install ofono-tests from android19:57
kamnxtwill ls -lr /dev/block give me all the information i need?19:58
kamnxtor should I use find or something19:58
Mister_Magisterkamnxt: forgot ofono-tests for now19:59
*** sernick <sernick!~sernick@> has quit IRC (Remote host closed the connection)19:59
kamnxtok, going to cm1320:00
malkamnxt: yes, ls -lR /dev/block20:00
kamnxtwhoops, ran ls -lr :/20:01
malkamnxt: yep, -R is recursive20:02
malwhich we need to see20:02
kamnxtcan try uploading it somewhere20:05
Mister_Magisterpastebin probably20:06
kamnxtwas faster :P20:06
Mister_Magisterokay that's ok too :D20:06
kamnxtthat's android20:07
*** cmazieri <cmazieri!~carlos@> has quit IRC (Quit: Leaving)20:08
kamnxtok, got the one from sfos too, just gotta boot into recovery20:14
kamnxt <- sailfishos20:15
kamnxtMister_Magister, mal: do you see anything there?20:18
kamnxtexcept for the f9824900.sdhci part20:18
malkamnxt: you probably should edit the /lib/udev/platform-device so it won't cut too much of the path, (/dev/block/platform/soc.0/f9824900.sdhci/by-name vs /dev/block/platform/soc.0/by-name)20:19
kamnxtI'm not good at regexes :/20:19
kamnxtor should I just change the cut part to be 1-220:20
malnot sure20:20
malkamnxt: try this RESULT=`echo "$1" | sed "s|/devices/\([^/]*\)/\([^/]*\)/\([^/]*\)/.*|\1/\2/\3|g"| cut -d'/' -f1`20:22
kamnxtok, trying20:24
kamnxtdidn't help20:27
*** ExPLIT <ExPLIT!> has joined #sailfishos-porters20:27
malkamnxt: did the paths change?20:28
*** ExPLIT1 <ExPLIT1!> has joined #sailfishos-porters20:30
*** ExPLIT <ExPLIT!> has quit IRC (Read error: Connection reset by peer)20:30
*** ghosalmartin <ghosalmartin!~ghosalmar@2a02:c7f:923a:9000:991f:d1c1:c147:c3b0> has quit IRC (Ping timeout: 264 seconds)20:30
kamnxtI thing changing the cut to -f1-2 might work20:30
kamnxti'll try20:30
malmight work20:31
kamnxtnow I have soc.0/f9824900.sdhci/by-name20:34
*** tortoisedoc <tortoisedoc!5872b4a9@gateway/web/freenode/ip.> has joined #sailfishos-porters20:35
malok, any difference in anything else?20:36
*** Zucca <Zucca!> has quit IRC (Ping timeout: 258 seconds)20:42
kamnxtdoesn't seem like it20:46
kamnxtnope20:47 rild doesn't start it seems20:49
malthen you probably need to get some logs: dmesg, journalctl -a, /usr/libexec/droid-hybris/system/bin/logcat and the last one also with -b radio20:49
kamnxtnvm, rild starts now20:50
kamnxtsoooo, debuggerd, drm, media, zygote and zygote_secondary keep starting and being killed20:51
kamnxtseems like it's trying to open /sys/android_power/request_state20:57
kamnxtexcept that isn't there20:57
*** ExPLIT1 <ExPLIT1!> has quit IRC (Ping timeout: 240 seconds)20:58
kamnxtlogcat -b radio ends with "failed to initialize Diag for QCRIL logging"21:00
malhmm, needs some more investigation what is causing those services to fail, but not today, it's getting late21:07
*** sernick <sernick!> has joined #sailfishos-porters21:11
sernickwhy can't i have patterns within patterns?21:14
sernicke.g i have sailfish-porter-tools in jolla-configuration-device and when building mic it throws an error21:15
malsernick: what do you mean?21:15
malwhat error21:15
sernickbut when add it manually in kickstart substituting jolla-configuration it builds normally21:16
sernickmal:  pattern:jolla-configuration-surnia-1-1.noarch requires pattern:sailfish-porter-tools, but this requirement cannot be provided21:16
malbut porter tools should be enabled by default and have never caused any issues21:18
sernicknow i added to kickstart @sailfish-porter-tools and the error is gone21:19
malthe porter tools should be in there all the time21:20
malsernick: do you have this file droid-configs/droid-configs-device/patterns/common/sailfish-porter-tools.yaml21:21
Matemana_Guys i have this problem: "Warning: repo problem: nothing provides pattern:jolla-hw-adaptation-hybris needed by pattern:jolla-hw-adaptation-mako-1-1.noarch" the thing is i have changed line with this "@jolla-hw-adaptation-mako" in my KS file like HADK said but it did not fix issue21:25
maland you can see in jolla-configuration-$DEVICE.yaml that it has many patterns included, why would one of those fail21:25
sernickmal: porter tools are present but somehow the  jolla-configuration-$DEVICE.yaml can't see/ use it21:26
malMatemana_: you need to update patterns for your device to match the new templates21:26
Matemana_mal: i do not quite understand. Is this command which updates patterns? rpm/dhd/helpers/ --configs21:28
*** ExPLIT <ExPLIT!> has joined #sailfishos-porters21:28
malMatemana_: you need to edit the pattern files, something like this
malMatemana_: only look at the modifications to patterns21:29
malMatemana_: just look at the templates I linked and then edit your patterns to match, also add any relevant addition stuff there you might have21:30
malMatemana_: also this change is relevant
kamnxtI got internet connection21:32
Matemana_mal: i want to include some rpms in the SFOS and i have added those package names in ks file under line 23 @-------.21:32
kamnxtthrough usb and masking usb-moded21:32
malMatemana_: so?21:33
Matemana_is this why build fails?21:33
malMatemana_: did you do what I told to patterns?21:33
Matemana_i have exact same hadk seted up on my work pc and it built without editing patterns21:33
malMatemana_: but we updated the submodules21:34
Matemana_i did same thing on my laptop afterwards21:34
Matemana_where can i find patterns?21:35
*** Zucca <Zucca!> has joined #sailfishos-porters21:35
Matemana_found it but i do not know what lines to add to patterns21:36
malMatemana_: droid-configs/patterns21:36
malMatemana_: read what I wrote21:37
kamnxtseems like list-modems doesn't return anything on my phone21:37
malkamnxt: probably because you have many failing services21:39
Matemana_mal: my local jolla-hw-adaptation-mako.yaml has those lines in it21:40
Matemana_i do not know what is missing21:40
Matemana_i read this
Matemana_and my local file has those lines21:40
malMatemana_: all of them?21:40
malMatemana_: pastebin all of your pattern files21:40
Matemana_That's a problem i do not know what they must include and what they must not. I do not want just to add any lines i find in them. I need to understand what am i doing21:42
Matemana_i'll pastebin now21:42
malMatemana_: did you look at the example of the changes I made for my device?21:42
*** Nokius_ <Nokius_!> has joined #sailfishos-porters21:43
Matemana_mal: but my device is nexus 521:43
Matemana_not fp221:43
malMatemana_: I know, that's why I said it was an example21:43
malthe changes are almost the same for all devices21:44
*** Nokius <Nokius!~Nokius@> has quit IRC (Ping timeout: 260 seconds)21:45
Matemana_mal: here are pastebin
malMatemana_: those changes should give you an idea what changes might be needed, then you can probably understand what is being done if you also look at the templates I linked21:46
Matemana_that middle one did not link well here it is
malMatemana_: so now compare the patterns you have and the templates, then look at the changes for fp2 and you should be able to figure out what needs to be done21:48
malMatemana_: the templayes are also in droid-configs/droid-configs-device/patterns/templates21:49
Matemana_here what is in red you removed right?
malyes, red is removal and green is adding new lines21:50
Matemana_this line is in red -- pattern:jolla-hw-adaptation-hybris it gives me this error that this is not found. this is written as requirement so if i remove it it should fix my problem21:50
malyes, but you should do all of the changes so that your patterns match the templates (add the additional lines you might have there)21:51
*** ExPLIT <ExPLIT!> has quit IRC (Ping timeout: 260 seconds)21:52
malMatemana_: many thing were moved to different patterns so it's better to make those match21:52
malnow I'll go to sleep21:54
kamnxtmal: only dev-cpuctl, dev-cpuset, some systemd-tmpfiles services and user@0 failed21:54
kamnxtgood night!21:55
*** sernick <sernick!> has quit IRC (Remote host closed the connection)21:55
Matemana_mal: it's hard for me now. You have removed this line for example: "-- jolla-settings-layout" it has comment above: -# Settings app needs this since update1521:56
Matemana_how will i know what is needed and what is not21:56
*** tortoisedoc <tortoisedoc!5872b4a9@gateway/web/freenode/ip.> has quit IRC (Quit: Page closed)21:57
*** hge <hge!~hongwei.g@2001:14ba:9fc:400:cc65:794:3dd:a9c1> has joined #sailfishos-porters21:58
*** Xxaxx_ is now known as Xxaxx22:10
*** hge <hge!~hongwei.g@2001:14ba:9fc:400:cc65:794:3dd:a9c1> has quit IRC (Quit: Leaving)22:10
*** dvogel <dvogel!~dorianvog@2a01:e34:ed7f:3f00:c670:28ad:2fe:a5ae> has quit IRC (Ping timeout: 240 seconds)22:14
*** SfietKonstantin <SfietKonstantin!~sk@> has joined #sailfishos-porters22:15
*** Acou_Bass <Acou_Bass!> has quit IRC (Ping timeout: 240 seconds)22:20
*** Piece_Maker <Piece_Maker!> has joined #sailfishos-porters22:20
*** Piece_Maker is now known as Acou_Bass22:21 now I'm getting spammed with this: ofonod[15794]: drivers/ril/ril_plugin_dbus.c:ril_plugin_dbus_imei_reply() blocking IMEI request 0x2e734822:22
*** SfietKonstantin <SfietKonstantin!~sk@> has quit IRC (Ping timeout: 240 seconds)22:22
kamnxtdoes anyone have any idea what I can do?22:23
*** Xxaxx <Xxaxx!> has left #sailfishos-porters22:24
*** ghosalmartin <ghosalmartin!~ghosalmar@2a02:c7f:923a:9000:f029:c49a:e87f:4f37> has joined #sailfishos-porters22:30
*** Matemana_ <Matemana_!bc81c8e6@gateway/web/freenode/ip.> has quit IRC (Quit: Page closed)22:38
*** Jackneill <Jackneill!~Jackneill@unaffiliated/jackneill> has quit IRC (Remote host closed the connection)22:50
*** srohmen <srohmen!> has quit IRC (Quit: Leaving.)23:12
*** Nokius_ is now known as Nokius23:20
Nokiusr0kk3rz: I will build aosp soon for you my hypervisor is working well again the reboot after >500days did the magic trick :D23:21
*** Tassadar <Tassadar!> has quit IRC (Quit: Segmentation fault)23:21
*** ghosalmartin <ghosalmartin!~ghosalmar@2a02:c7f:923a:9000:f029:c49a:e87f:4f37> has quit IRC (Ping timeout: 264 seconds)23:21
kamnxtDid anyone get netmgrd working?23:25
Mister_Magisterkamnxt: about IMEI maybe it will help23:28
*** Mister_Magister <Mister_Magister!> has quit IRC (Quit: Konversation terminated!)23:29
kamnxtI do get RIL> RIL_CONNECTED, so that's probably not what's happening23:31
kamnxtI'm getting "qcril_qmi_init_core_client_handles: Client init failed, details: QMI Voice" now23:40

Generated by 2.17.1 by Marius Gedminas - find it at!