Saturday, 2017-02-04

*** cxl000 <cxl000!~cxl000@c27-253-11-51.brodm4.vic.optusnet.com.au> has joined #sailfishos-porters00:07
*** miau_ <miau_!~miau@55d415b0.access.ecotel.net> has quit IRC (Remote host closed the connection)00:11
*** nh1402 <nh1402!~nh1402@2.26.4.134> has quit IRC (Quit: Leaving)00:32
*** srohmen1 <srohmen1!~srohmen@x4db6c6b1.dyn.telefonica.de> has joined #sailfishos-porters01:02
*** srohmen <srohmen!~srohmen@x4db5c6e0.dyn.telefonica.de> has quit IRC (Ping timeout: 240 seconds)01:03
*** Nokius_ is now known as Nokius01:26
Nokiuseekkelund: nice to have face to nick now :D01:29
*** NeKit <NeKit!~nekit@87-119-247-131.saransk.ru> has quit IRC (Ping timeout: 240 seconds)02:11
*** srohmen1 <srohmen1!~srohmen@x4db6c6b1.dyn.telefonica.de> has quit IRC (Quit: Leaving.)02:26
*** cxl000 <cxl000!~cxl000@c27-253-11-51.brodm4.vic.optusnet.com.au> has quit IRC (Ping timeout: 240 seconds)03:24
*** cxl000 <cxl000!~cxl000@c27-253-11-51.brodm4.vic.optusnet.com.au> has joined #sailfishos-porters03:25
*** maheart <maheart!~maheart@110-174-95-7.static.tpgi.com.au> has quit IRC (Quit: Leaving)06:20
*** miau_ <miau_!~miau@55d41c5b.access.ecotel.net> has joined #sailfishos-porters06:34
*** miau_ <miau_!~miau@55d41c5b.access.ecotel.net> has quit IRC (Ping timeout: 255 seconds)06:48
*** Jackneill <Jackneill!~Jackneill@unaffiliated/jackneill> has joined #sailfishos-porters07:33
*** Jackneill <Jackneill!~Jackneill@unaffiliated/jackneill> has quit IRC (Remote host closed the connection)07:41
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has quit IRC (Quit: Konversation terminated!)07:45
*** Jackneill <Jackneill!~Jackneill@unaffiliated/jackneill> has joined #sailfishos-porters07:46
*** drFaustroll <drFaustroll!~drFaustro@2.31.145.76> has joined #sailfishos-porters07:58
*** drFaustroll <drFaustroll!~drFaustro@2.31.145.76> has quit IRC (Changing host)07:58
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has joined #sailfishos-porters07:58
*** NeKit <NeKit!~nekit@188.162.203.89> has joined #sailfishos-porters08:12
*** dstm <dstm!~duud@p20030070CF347900021D7DFFFE112201.dip0.t-ipconnect.de> has joined #sailfishos-porters08:21
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has quit IRC (Quit: Konversation terminated!)08:40
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has joined #sailfishos-porters08:40
*** miau_ <miau_!~miau@55d41c5b.access.ecotel.net> has joined #sailfishos-porters08:58
dstmmiau_: hey :) did u test abransons latest droidmedia?09:04
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has joined #sailfishos-porters09:06
miau_dstm: Yes.09:08
dstmand?09:08
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@2001:67c:1810:f051:95dd:6df5:5db3:88b6> has joined #sailfishos-porters09:08
miau_dstm: https://dpaste.de/kMaB09:08
*** ruthenianboy <ruthenianboy!55d882fa@gateway/web/freenode/ip.85.216.130.250> has joined #sailfishos-porters09:10
ruthenianboyMorning09:10
miau_Morning.09:10
dstmmiau_: strange, he added user with pid1 to allowed users, look at his commits09:11
dstmruthenianboy: Morning09:11
miau_dstm: Yesterday, there was another error, but i think abranson changed something.09:12
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@2001:67c:1810:f051:95dd:6df5:5db3:88b6> has quit IRC (Ping timeout: 240 seconds)09:13
dstmmiau_: I'm just getting 'W CameraBase: An error occurred while connecting to camera: 0 E         : Failed to connect to camera service' after I recompiled droidmedia and gst-droid yesterday09:14
dstmmiau_: maybe I did something wrong09:14
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@2001:67c:1810:f051:95dd:6df5:5db3:88b6> has joined #sailfishos-porters09:15
Tofemiau_: do you have a cm13 hammerhead build at someplace where I could retrieve it ? that way I could compare with my behaviors09:17
*** krnlyng_ <krnlyng_!~liar@77.117.20.21.wireless.dyn.drei.com> has joined #sailfishos-porters09:17
miau_dstm: Why, it's the same error i get.09:17
*** brodolfo <brodolfo!~Broodle@host36-59-dynamic.26-79-r.retail.telecomitalia.it> has joined #sailfishos-porters09:17
miau_Tofe: Do you mean the cyanogenmod image?09:17
Tofemiau_: no no, that one I found09:18
TofeI mean a sfos build09:18
miau_Tofe: No, sorry.09:19
Tofeok09:19
*** krnlyng__ <krnlyng__!~liar@77.116.70.51.wireless.dyn.drei.com> has quit IRC (Ping timeout: 245 seconds)09:19
dstmmiau_: No, I don't have the first line in my logs 'E CameraService: CameraService::connect X (PID 13004) rejected (cannot connect from device user 1, currently allowed device users: 0)'09:20
miau_dstm: Could you provide a 'logcat | grep camera'?09:20
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@2001:67c:1810:f051:95dd:6df5:5db3:88b6> has quit IRC (Ping timeout: 240 seconds)09:21
miau_abranson: Hi, are you there?09:21
dstmmiau_: it contains only the 2 lines I mentioned09:22
miau_dstm: Could you do a 'lsof | grep /dev/video0" to get the pid of mm-qcamera-daemon and kill it. And start it with '/system/bin/mm-qcamera-daemon &' and see if the putput changes.09:23
abransonmiau_: yes hello09:27
miau_abranson i rebuild droidmedia yesterday, and i'm getting the device user error instead of the permission denied update stream error.09:28
abransondstm. yes. 1 was the uid that was being rejected when I tried to start the camera app. The latest code should add 1 and 0, though I can add more.09:28
*** guhl <guhl!~guhl@gateway/tor-sasl/guhl> has joined #sailfishos-porters09:28
abransonmiau_: what's the device user error?09:28
miau_abranson: https://dpaste.de/kMaB09:29
abransonmiau_: that's not very helpful is it :) maybe some GST_DEBUG might give more.09:30
abransonI had a lot more errors in my attempts09:30
dstmthis is what I'm getting after restarting mm-qcamera-daemon, I didn't start jolla-camera yet. https://dpaste.de/GmNu09:31
abransonyes I saw similar, lots of modules failing to load09:32
miau_dstm: The errors are the same on cm13, so nothing to worry.09:32
abransonmiau_: ah wait I messed up. added another user to the list but didn't increase the length!09:33
miau_abranson: Ah, ok :)09:33
abransoni was testing with mk_cam_conf so i didn't see it09:33
dstm:)09:33
miau_abranson: Ok, i was wondering, on first version of your commit, this error was gone.09:34
ruthenianboyguys, could someone provide me systemd journal log (journal -ab --no-pager > journal.log)? Want to compare droid-hal-init execution on my device with device which is working.09:35
miau_dstm: You said you had to change some things when building, like the kernel command line and the oom_adjust patch, what did you do to the kernel command line and what else did you change?09:35
miau_ruthenianboy: journal command not found.09:36
ruthenianboymiau_: journalctl09:36
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@2001:67c:1810:f051:95dd:6df5:5db3:88b6> has joined #sailfishos-porters09:37
miau_ruthenianboy: https://dpaste.de/ETyh09:37
miau_abranson: Was this the error you were getting? GLIB CRITICAL ** GStreamer -09:38
miau_                                  Trying to dispose element video-encodebin, but it is in READY (locked) instead of the NULL state.09:38
miau_                                  You need to explicitly set elements to the NULL state before09:38
miau_                                  dropping the final reference, to allow them to clean up.09:38
miau_                                  This problem may also be caused by a refcounting bug in the09:38
miau_                                  application or some element.09:38
dstmmiau_: cmdline: https://github.com/mer-hybris/android_device_lge_hammerhead/commit/da11311821facba81dfbe52198c07bba168de93e09:38
abransonno, mine was some initialization without implementation error09:38
dstmmiau_: and i had to revert this: https://github.com/mer-hybris/android_kernel_oneplus_msm8974/commit/0ed87d7f3cf7d3388f09bd264a856ad9efc564a309:38
miau_dstm: Thanks, i always thought it takes too long to boot :-D09:39
miau_dstm: Is 2nd commit the oom stuff?09:39
abransoni'm still building, but you can change line 62 of minimedia.cpp - the last 1 should be a 2 now09:39
abransoni dunno why it sees a 1 there. nemo should be 100000 or whatever09:39
miau_abranson: Ok, gonna test it later. Is it enough to just install the new droidmedia rpm or must i create a new rootfs?09:40
miau_abranson: In old version of your droidmedia it was 100000.09:40
abransonmiau_: didn't realise you were watching my WIPs :)09:41
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@2001:67c:1810:f051:95dd:6df5:5db3:88b6> has quit IRC (Client Quit)09:41
abransonbuilding droidmedia is enough09:41
dstmmiau_: sailfish uses the oom stuff for memory management, something was hanging because of the permissions of the oom files09:41
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@2001:67c:1810:f051:95dd:6df5:5db3:88b6> has joined #sailfishos-porters09:41
*** NeKit <NeKit!~nekit@188.162.203.89> has quit IRC (Ping timeout: 240 seconds)09:42
miau_abranson:     gCameraService->notifySystemEvent(1, users, 2);09:42
dstmabranson: pid1 is bin user. what is it used for? something binder related?09:43
abransonah could be. there seems to be lost of new multiuser stuff in android 6 though that we could have some bugs with?09:44
abransonmiau_: yep09:45
dstmmiau_: now I have the same cam errors like u, why did I need to restart mm-qcamera-daemon?09:46
*** Jackneill <Jackneill!~Jackneill@unaffiliated/jackneill> has quit IRC (Remote host closed the connection)09:46
abransonmiau_: wait, that doesn't seem to have worked...09:48
miau_dstm: Seems SELinux related.09:49
miau_Which selinux stuf do you have enabled in defconfig?09:49
*** TheRightCorner_ <TheRightCorner_!~quassel@36.255.158.21> has joined #sailfishos-porters09:50
miau_abranson: Nope, that gives the same output in logcat as when the deviceuser check return value is removed.09:50
miau_dstm: And have you checked if your device enters suspend mode?09:51
abransonmiau_: ok, looking into it09:52
miau_abranson: Thanks.09:52
dstmmiau_: I don't have selinux in my kernel09:53
*** Jackneill <Jackneill!~Jackneill@unaffiliated/jackneill> has joined #sailfishos-porters09:53
abransonmiau_: in the meantime, root well get past it, so running mk_cam_conf will advance to the later errors09:53
miau_dstm: That's why it doesn't start.09:53
dstmmiau_: it was running before I did the restart09:54
dstmmiau_: miau_ checked it with ps09:54
miau_dstm: Yes, but it does not work correctly.09:54
*** NeKit <NeKit!~nekit@85-95-187-85.saransk.ru> has joined #sailfishos-porters09:55
dstmmiau_: why does it work after starting manually? strange09:55
*** Jackneill <Jackneill!~Jackneill@unaffiliated/jackneill> has quit IRC (Remote host closed the connection)09:56
ruthenianboymiau_: hm, it will not help me as I need full verbosity. Nevermind, thank you for your effor anyway:)09:56
dstmmiau_: I didn't check the wakelock stuff yet09:56
miau_dstm: Seems a permission error. Are /data/cam_socket1 and 2 are owned by root:root?09:57
dstmdstm: srwxrwx--- 1 camera camera09:58
miau_abranson: No errors with mk-cam-conf here.09:58
miau_dstm: Ok, thats correct.09:58
abransonmiau_: really? you get generated conf?09:58
*** Jackneill <Jackneill!~Jackneill@unaffiliated/jackneill> has joined #sailfishos-porters09:59
*** akhil_surabhi <akhil_surabhi!uid207218@gateway/web/irccloud.com/x-xhstrepurnuqwuuv> has joined #sailfishos-porters10:00
miau_abranson: No, too early, mk-cam-conf 1 gives an error.10:01
miau_abranson: https://dpaste.de/sqvC10:02
miau_dstm: You need to enable SELInux in defconfig to get mm-qcamera-daemon work correctly.10:02
abransonmiau_: still, one out of two isn't bad :)10:03
miau_abranson: Is 0 the ear or front camera?10:03
abransonrear I think. might be a good idea to try 1 after a reboot, in case it's a matter of something not being released10:03
dstmmiau_: and whats with the kernel cmdline?10:03
dstmmiau_: selinux=0?10:05
miau_dstm: Doesn't change anything. I couldn't enable selinux in permissive mode, it's always disabled. But by enabling selinux and selinux_develop the error is gone, if not add selinux_bootparam and selinux_bootparam_value=1.10:05
miau_abranson: I try, wait.10:06
miau_dstm: And also add bt_msm_sleep or whatever it is called and audit.10:06
miau_abranson: Yep, a reboot worked.10:07
abransonthere are a couple of hints at things not being released properly, like that earlier error you got10:08
*** TheRightCorner_ <TheRightCorner_!~quassel@36.255.158.21> has quit IRC (Remote host closed the connection)10:08
abransonooh got the viewfinder working10:11
abransonstrange - that 1 to 2 change seem to be working here...10:11
dstmmiau_: sorry didn't understand, so u're running selinux in enforcing mode now?10:12
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@2001:67c:1810:f051:95dd:6df5:5db3:88b6> has quit IRC (Ping timeout: 240 seconds)10:12
miau_dstm: No, its still disabled.10:12
miau_abranson: So you got a picture when opening camera app as nemo?10:13
*** ruthenianboy <ruthenianboy!55d882fa@gateway/web/freenode/ip.85.216.130.250> has quit IRC (Quit: Page closed)10:13
abransonmiau_: yes, which is quite exciting. didn't realise at first cos i had the lens covered :)10:13
dstmmiau_: so u have compiled selinux support into the kernel and disabled it (selinux=0)?10:14
miau_abranson, not working for me though...strange.10:14
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has quit IRC (Remote host closed the connection)10:15
miau_dstm: Yes, but it will always remain disabled, don't know why. even if you dissalow SElinux to be diabled in init/Android.mk its still disabled, so no change to kernel commandline is needed.10:15
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has joined #sailfishos-porters10:15
abransoni think there's a media.camera.proxy service that it seems to be searching for that we're not starting10:15
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has quit IRC (Read error: Connection reset by peer)10:15
dstmmiau_: ah ok I see10:16
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has joined #sailfishos-porters10:16
malabranson: afaik that service is defined here https://android.googlesource.com/platform/frameworks/base/+/master/services/core/java/com/android/server/camera/CameraService.java10:21
abransonmal: thanks10:23
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has quit IRC (Remote host closed the connection)10:23
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has joined #sailfishos-porters10:23
abransonmiau_: i had to remove that libcameraservice preload line from init.rc for the camera to work here. but I have a photo!10:23
dstmyes!10:24
malabranson: the preload has been causing issues lately10:24
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has quit IRC (Remote host closed the connection)10:25
abransonmk-cam-conf gives me (mk-cam-conf:9661): GStreamer-CRITICAL **: Registering meta implementation 'NemoGstBufferOrientationMeta' without init function10:26
abransonand 'open: No such file or directory'10:26
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has joined #sailfishos-porters10:27
miau_abranson: Camera app is still crashing here.10:29
miau_abranson: Should i had to rebuild gst-droid also?10:30
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has quit IRC (Remote host closed the connection)10:30
abransonno10:30
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has joined #sailfishos-porters10:30
abransonnot just for this, but have you already built the new version for the droidmediarecorder stuff?10:31
abransoni have to run,  but i'll be back tonight.10:32
miau_abranson: I built it yesterday.10:32
miau_abranson: I checked out the droidmediarecoder commits.10:32
mallooks like merproject git is down, at least the webinterface10:32
miau_abranson: ServiceManager: Waiting for service media.camera.proxy...10:33
miau_CameraService: disconnect: Disconnected client for camera 0 for PID 1197010:33
abransonthat sounds good10:33
miau_abranson: Why?10:33
abransonmy camera app take about 10 seconds to start showing the preview, even though logcat's spewing camera spam for most of that10:34
abransondisconnected means it was connected?10:34
miau_abranson: mm-camera: mct_stream_metadata_bus_msg:Failed to get_buf10:35
miau_mm-camera: mct_stream_metadata_bus_msg:1417: NULL ptr10:35
abransonok gotta run, will be back later on and will take a look.10:37
miau_abranson: Mee too, already late for work...bye!10:38
*** miau_ <miau_!~miau@55d41c5b.access.ecotel.net> has quit IRC (Ping timeout: 240 seconds)10:42
*** Jackneill <Jackneill!~Jackneill@unaffiliated/jackneill> has quit IRC (Remote host closed the connection)10:44
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has quit IRC (Remote host closed the connection)10:46
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5256:a8ff:fe03:1b> has joined #sailfishos-porters10:46
dstmi meant uid1 all the time :)10:46
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5256:a8ff:fe03:1b> has quit IRC (Remote host closed the connection)11:01
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has joined #sailfishos-porters11:01
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has quit IRC (Remote host closed the connection)11:02
*** Jackneill <Jackneill!~Jackneill@unaffiliated/jackneill> has joined #sailfishos-porters11:05
*** Jackneill <Jackneill!~Jackneill@unaffiliated/jackneill> has quit IRC (Remote host closed the connection)11:08
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has joined #sailfishos-porters11:11
*** Jackneill <Jackneill!~Jackneill@unaffiliated/jackneill> has joined #sailfishos-porters11:12
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has quit IRC (Remote host closed the connection)11:22
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has joined #sailfishos-porters11:23
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has quit IRC (Remote host closed the connection)11:24
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has joined #sailfishos-porters11:24
*** Jackneill <Jackneill!~Jackneill@unaffiliated/jackneill> has quit IRC (Remote host closed the connection)11:25
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has quit IRC (Remote host closed the connection)11:28
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has joined #sailfishos-porters11:29
*** dstm <dstm!~duud@p20030070CF347900021D7DFFFE112201.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 276 seconds)11:35
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has quit IRC (Remote host closed the connection)11:37
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5256:a8ff:fe03:1b> has joined #sailfishos-porters11:37
*** dstm <dstm!~duud@p20030070CF347900021D7DFFFE112201.dip0.t-ipconnect.de> has joined #sailfishos-porters11:45
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5256:a8ff:fe03:1b> has quit IRC (Ping timeout: 240 seconds)11:51
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has joined #sailfishos-porters11:54
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has quit IRC (Remote host closed the connection)11:54
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has joined #sailfishos-porters11:54
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has quit IRC (Remote host closed the connection)11:55
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has joined #sailfishos-porters11:55
*** elfio <elfio!~pablo@213.95.219.87.dynamic.jazztel.es> has joined #sailfishos-porters12:01
*** Jackneill <Jackneill!~Jackneill@unaffiliated/jackneill> has joined #sailfishos-porters12:06
*** ruthenianboy <ruthenianboy!55d882fa@gateway/web/freenode/ip.85.216.130.250> has joined #sailfishos-porters12:06
ruthenianboylooks like I need to check every *.rc script which droid-hal-init execute12:07
ruthenianboydroid-init-done.sh is exiting with status 1. It is not able to notify systemd. I think this is root cause of droid-hal-init timeouts12:08
ruthenianboywhat is purpose of droid-hal-init? It is just service which execute init*rc script like original android init do? If yes, what services could not be there? For example, adb is started by one of init scripts.12:13
malruthenianboy: it is just a patched android init12:19
*** hpagseddy <hpagseddy!~arch@85.110.177.77> has joined #sailfishos-porters12:23
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-145-218.play-internet.pl> has joined #sailfishos-porters12:23
*** dlavso_ <dlavso_!~dlavsolin@host36-59-dynamic.26-79-r.retail.telecomitalia.it> has quit IRC (Ping timeout: 245 seconds)12:24
ruthenianboymal: any ide how to fix droid_init_done service?12:26
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has quit IRC (Remote host closed the connection)12:29
*** brodolfo <brodolfo!~Broodle@host36-59-dynamic.26-79-r.retail.telecomitalia.it> has quit IRC (Ping timeout: 260 seconds)12:29
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@2001:67c:1810:f051:95dd:6df5:5db3:88b6> has joined #sailfishos-porters12:37
malruthenianboy: show logs12:39
ruthenianboymal: what logs? Journal is enough?12:39
malruthenianboy: dmesg is usually cleaner12:42
malbut get both just in case12:42
ruthenianboydmesg https://paste.fedoraproject.org/545489/12328148/12:45
hpagseddymal: ok i solved all the problems, now should i go to chapter 8?12:46
malhpagseddy: if you built packages then yes12:49
hpagseddymal: yes i build the packages12:49
hpagseddymal: is chapter 8.3 necessary?12:50
malhpagseddy: no12:50
malhpagseddy: oops, yes 8.3 is needed12:50
hpagseddymal: ok thanks12:51
malhpagseddy: but DO NOT run the commands under the warning box12:51
hpagseddymal: ok12:51
hpagseddymal: how can i add aliendalvik on my build?12:51
malhpagseddy: aliendalvik is not available for community ports12:52
hpagseddymal: ooh.. :(12:52
*** anttsam[m] <anttsam[m]!anttsammat@gateway/shell/matrix.org/x-uxuiccxsormbyuma> has left #sailfishos-porters ("User left")12:52
malhpagseddy: as you can see in chapter 8.212:52
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has joined #sailfishos-porters12:53
hpagseddymal: patterns are necessary?12:54
malhpagseddy: yes12:54
maljsut follow the instructions12:54
hpagseddymal: ok12:54
malI will be away for a while now, at least an hour or two12:55
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@2001:67c:1810:f051:95dd:6df5:5db3:88b6> has quit IRC (Ping timeout: 240 seconds)12:55
*** cvp <cvp!~sailfish@x59cc8962.dyn.telefonica.de> has quit IRC (Remote host closed the connection)12:55
*** cvp <cvp!~sailfish@x59cc8962.dyn.telefonica.de> has joined #sailfishos-porters12:55
malhpagseddy: also be careful when you copy the sed command in chapter 8.3, it contain many lines12:57
hpagseddymal: is this an error http://chopapp.com/#vdlg8usa12:57
hpagseddymal: which commands contain many lines?12:57
malI sitll wonder how anyone has managed to make such a bad paste service, I have open the link several times before I can see anything12:58
malhpagseddy: that is not an error12:58
*** Jackneill <Jackneill!~Jackneill@unaffiliated/jackneill> has quit IRC (Read error: Connection reset by peer)12:58
hpagseddymal: i will use proxy for the pastebin :)12:58
hpagseddythanks12:58
hpagseddymal: should i skip the chapter 8.4.2?12:59
malyes13:01
hpagseddymal: ok thanks13:01
malhpagseddy: it clearly talks about modifying patterns13:02
*** platicus <platicus!~matrixirc@fanzine.igalia.com> has quit IRC (Remote host closed the connection)13:03
*** Jackneill <Jackneill!~Jackneill@unaffiliated/jackneill> has joined #sailfishos-porters13:03
malhpagseddy: which version of HADK pdf do you use?13:03
*** platicus <platicus!~matrixirc@fanzine.igalia.com> has joined #sailfishos-porters13:03
hpagseddymal: 1.1.213:03
*** agomez{M} <agomez{M}!~agomeziga@fanzine.igalia.com> has joined #sailfishos-porters13:04
malhpagseddy: ok, then in chapter 8.5 remove the line --runtime=native \ from the command13:04
hpagseddymal: ok thanks13:04
*** ubizzy <ubizzy!~ubizzy@178.58.63.94.rev.vodafone.pt> has joined #sailfishos-porters13:06
malhpagseddy: also build version 2.0.5.613:07
hpagseddymal: yes i know :)13:07
malhopefully your repos have everything correctly for that, there are some things that might need to be added but we'll see, now I need to leave to get some food13:08
*** Jackneill <Jackneill!~Jackneill@unaffiliated/jackneill> has quit IRC (Remote host closed the connection)13:11
hpagseddymal: http://chopapp.com/#pygywi8513:14
hpagseddymal: when you back, please help13:14
*** cvp[Mobile] <cvp[Mobile]!~sailfish@x59cc8beb.dyn.telefonica.de> has joined #sailfishos-porters13:20
*** cvp <cvp!~sailfish@x59cc8962.dyn.telefonica.de> has quit IRC (Read error: Connection reset by peer)13:20
*** Jackneill <Jackneill!~Jackneill@unaffiliated/jackneill> has joined #sailfishos-porters13:26
*** ruthenianboy <ruthenianboy!55d882fa@gateway/web/freenode/ip.85.216.130.250> has quit IRC (Quit: Page closed)13:27
*** dlavso_ <dlavso_!~dlavsolin@a-nu5-62.tin.it> has joined #sailfishos-porters13:28
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has quit IRC (Remote host closed the connection)13:31
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has joined #sailfishos-porters13:32
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has quit IRC (Remote host closed the connection)13:37
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has joined #sailfishos-porters13:37
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has quit IRC (Read error: Connection reset by peer)13:39
*** elros34 <elros34!d960cfa2@gateway/web/freenode/ip.217.96.207.162> has joined #sailfishos-porters13:39
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has joined #sailfishos-porters13:39
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has quit IRC (Remote host closed the connection)13:41
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has joined #sailfishos-porters13:41
*** M4rtinK <M4rtinK!~M4rtinK@ip-78-45-144-165.net.upcbroadband.cz> has joined #sailfishos-porters13:51
*** nh1402 <nh1402!~nh1402@2.26.4.134> has joined #sailfishos-porters13:53
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has quit IRC (Ping timeout: 240 seconds)13:54
guhlhpagseddy,if you look into your hybris/droid-configs/droid-configs-device/droid-configs.inc13:57
guhldo you have a "Obsoletes: bluez-configs-sailfish"13:58
guhli think you have to update your droid-configs-device submodule13:58
elros34hello to all. I have done everything described in faq about camera but still I can't make jolla-camera work.14:01
elros34Can anyone help me?14:01
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has quit IRC (Remote host closed the connection)14:01
guhlelros34, look at logcat while starting camera14:01
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has joined #sailfishos-porters14:02
elros34I have only E/QualcommCamera2(  644): Qint android::get_camera_info(int, camera_info*): E E/QualcommCamera2(  644): Qint android::get_camera_info(int, camera_info*): E E/QualcommCamera2(  644): Qint android::get_camera_info(int, camera_info*): E14:02
hpagseddyguhl: yes i have Obsoletes: bluez-configs-sailfish14:02
guhland see if you have some waiting for service, ... messages14:02
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@2001:67c:1810:f051:95dd:6df5:5db3:88b6> has joined #sailfishos-porters14:03
guhlhpagseddy, i had this too but i can't remember what i did (besides updating all submodules and rebuilding)14:04
hpagseddyguhl: ok14:04
guhlwell elros34 that is not too much14:04
elros34guhl: when I start cameraplus I have 5 x E/QualcommCamera2(  644): Qint android::get_camera_info(int, camera_info*): E and then /CameraClient(  644): Opening camera 014:05
elros34but with jolla-camera I have only 3 x E/QualcommCamera2(  644): Qint android::get_camera_info(int, camera_info*): E and nothing more related to camera14:06
guhlelros34, does mk-cam-conf do anything?14:08
elros34what do  you mean? I have created /etc/gst-droid/gstdroidcamsrc-0/1.conf14:09
guhlso the command14:10
guhlmk-cam-conf 0 /etc/gst-droid/gstdroidcamsrc-0.conf14:11
guhlworks?14:11
elros34yes14:11
guhlelros34, i have no real idea but did you run dconf update after creating the camera config files?14:22
elros34yes, dconf update as root, user, reboot...14:23
guhlon the titan the camera only works on the second start after boot14:25
guhland there is not additional info in /proc/kmsg or logcat or journalctl?14:25
guhlon the thea14:26
guhlhpagseddy,14:27
malhpagseddy: you need to remove the line containing bluez-configs-sailfish from hybris/droid-configs/patterns/jolla-hw-adaptation-i9100g.yaml and then run "build_packages.sh -c" and then do chapters 8.4.1 and 8.5 again14:28
hpagseddyguhl: yes?14:28
guhlwell mal was faster :-)14:28
hpagseddyguhl: :)14:28
guhlmal, hi btw14:29
elros34I have QGstreamerVideoWindow::QGstreamerVideoWindow:72 - No m_videoSink available! in journal14:30
elros34and nvoker[4641]: error: Failed to initiate connect on the socket for type silica-media14:32
malguhl: hi14:33
*** T4 <T4!mikaela@unaffiliated/mikaela/bot/euforia> has joined #sailfishos-porters14:36
*** mp107 <mp107!~mp107@PC-109-125-232-42.wegrow.domtel.com.pl> has joined #sailfishos-porters14:46
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has joined #sailfishos-porters15:00
*** piggz <piggz!~piggz@195.147.198.68> has joined #sailfishos-porters15:04
*** Mikaela <Mikaela!mikaela@unaffiliated/mikaela> has joined #sailfishos-porters15:07
pi_____kimmoli: do you have some howto about SFOS in OPX ?15:07
kimmoliin what context?15:09
pi_____installing it15:09
pi_____just bought it15:10
kimmoliok15:10
kimmolithere might be issues with -15 something. and then you might need to downgrade first to older OOS so thst bootloader is compatible15:11
pi_____OOS ?15:12
kimmoliXDA thread(s) might show some light to it, then rest should be in mer-wiki15:12
*** ubizzy <ubizzy!~ubizzy@178.58.63.94.rev.vodafone.pt> has quit IRC (Ping timeout: 264 seconds)15:12
kimmolihttps://forum.xda-developers.com/oneplus-x/development/rom-sailfish-os-t332256715:12
MikaelaT4 had crashed ~00:30 UTC+2, please feel free to ping me if you detect it going down and not returning by itself.15:12
kimmolihttps://wiki.merproject.org/wiki/Adaptations/libhybris/Install_SailfishOS_for_onyx15:12
pi_____thx15:13
kimmolithis is a new blocker.. https://forum.xda-developers.com/oneplus-x/help/twrp-access-internal-storage-t351374815:15
hpagseddymal: http://chopapp.com/#n2t8c6wb15:21
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has quit IRC (Ping timeout: 240 seconds)15:23
malhpagseddy: comment out lines containing pulseaudio-modules-droid-glue and gstreamer1.0-droid from the file as you did before and then do the other things I told15:23
hpagseddymal: ok15:24
malhpagseddy: those are some additional packages which you might need later but let's not build those now15:24
*** norsky <norsky!67480b9a@gateway/web/freenode/ip.103.72.11.154> has joined #sailfishos-porters15:37
elros34anybody know why I have: "Sailfish invoker[2723]: error: Failed to initiate connect on the socket for type silica-media." when starting jolla-camera?15:37
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has joined #sailfishos-porters15:39
*** norsky <norsky!67480b9a@gateway/web/freenode/ip.103.72.11.154> has quit IRC (Client Quit)15:40
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has quit IRC (Remote host closed the connection)15:44
*** srohmen <srohmen!~srohmen@x4db5cd6d.dyn.telefonica.de> has joined #sailfishos-porters15:58
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has joined #sailfishos-porters16:00
malguhl: how's the porting going?16:01
malguhl: just suggestion https://github.com/mer-hybris/droid-hal-configs/blob/master/patterns/templates/jolla-hw-adaptation-%40DEVICE%40.yaml#L7216:02
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@2001:67c:1810:f051:95dd:6df5:5db3:88b6> has quit IRC (Ping timeout: 240 seconds)16:02
*** piggz <piggz!~piggz@195.147.198.68> has quit IRC (Read error: Connection reset by peer)16:02
*** piggz <piggz!~piggz@195.147.198.68> has joined #sailfishos-porters16:03
guhlmal, i had to take a break for a week for daytime work reasons16:03
guhltoday i added fm-radio and flashlight on the thea16:04
guhli will try to focus on sensors next16:04
malguhl: is fm radio working well?16:04
guhlit is working. on first start i had a wait/kill situation16:05
T4<rcktusr> guhl: Which device are you porting?16:05
guhland the audio routing has a bug16:05
guhlT4, thea16:05
guhli have to first put the output on speaker and then i can put it back to headphones16:06
malguhl: have you checked this https://github.com/kimmoli/sfos-onyx-issues/issues/3616:07
guhlmal, that is an online location provider?16:07
malguhl: yes16:07
guhlbased on what?16:07
malguhl: https://location.services.mozilla.com/16:07
*** akhil_surabhi <akhil_surabhi!uid207218@gateway/web/irccloud.com/x-xhstrepurnuqwuuv> has quit IRC (Quit: Connection closed for inactivity)16:08
guhlmal, seriously how many bugs/fixes commits can you remember :-)16:08
malguhl: most of them :D16:09
guhlthat sounds exactly like my problem16:09
*** SfietKonstantinS <SfietKonstantinS!~Sfiet_Kon@2001:67c:1810:f051:5c00:b411:cd89:3194> has quit IRC (Read error: Connection reset by peer)16:09
malguhl: I know :P16:09
malguhl: that is quite common issue for fm radio16:09
malguhl: doing as much porting as I do has it's problems, like not sleeping well because working too much etc16:11
guhlis that already in the current code base of 2.0.5.6 or to i have to build pulseaudio16:11
malyou only need to build that one package pulseaudio-policy-enforcement16:12
guhlmal regarding obs: do i build this and add this to my hal or do i add that as project on obs16:13
guhl(the architecture of the building system is still magic to me)16:14
malguhl: you can either build in a separate project or just add that package to your adaptation project, but even better, I can dd that to common repos16:15
*** mp107 <mp107!~mp107@PC-109-125-232-42.wegrow.domtel.com.pl> has quit IRC ()16:15
malguhl: just a moment16:15
*** elros34 <elros34!d960cfa2@gateway/web/freenode/ip.217.96.207.162> has quit IRC (Quit: Page closed)16:17
guhlmal, well that is of course the most convenient solution16:18
malguhl: now available in adaptation-common repo16:19
guhlmuchos16:19
malguhl: trying to remember what your issue with sensors was?16:20
guhlwell basically only gyro, light and proxy work16:21
guhlno rotation, magnet, acceleration16:22
guhli think the last 3 are all the same hardware16:22
guhland i am still sure that i had screen rotation already working on the thea but maybe i am wrong there16:23
malok16:24
guhlmal, on vision i have been trying to get bluetooth working but bt_hcismd it not working in kernel16:25
guhlthe whole smd part of my mach_msm looks more like a crude hack than a real implementation16:26
guhlbut of course we never really had a 3.x kernel for the vision, that's all ported from other devices with similar socs16:27
guhlmal, one more question on obs: is there another way to force a rebuild after commit in config than pushing a tag?16:34
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@2001:67c:1810:f051:95dd:6df5:5db3:88b6> has joined #sailfishos-porters16:35
*** neerad <neerad!~neerad@112.133.229.170> has joined #sailfishos-porters16:36
neeradwhy does ported phone do not have Android app support ?16:36
neerador is there a way to achieve that except sfdroid16:36
guhlneerad, licensing issue16:37
neeradJESUS F CHRIST16:37
neeradso only way is sfdroid16:37
guhlalien dalvik is everything but free software16:37
guhlthe only android app i need is EasyToken to generate RSA soft tokens16:38
neeradI only need whatsapp that's it16:38
guhlwell i don't use any "social" communication services16:39
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@2001:67c:1810:f051:95dd:6df5:5db3:88b6> has quit IRC (Quit: Konversation terminated!)16:41
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@2001:67c:1810:f051:95dd:6df5:5db3:88b6> has joined #sailfishos-porters16:41
malguhl: assuming you have HEAD as revision in _service you can edit the _service and saving the file triggers fetching new version of sources and a rebuild16:41
guhlmal, OK i'll try that16:43
guhlmal, do you have bluetooth working on the xperia?16:44
hpagseddymal: http://chopapp.com/#sjnxr1lv16:47
malguhl: yes16:50
malhpagseddy: you didn't remove gstreamer1.0-droid or didn't follow the instructions after that16:51
malhpagseddy: comment out lines containing pulseaudio-modules-droid-glue and gstreamer1.0-droid from hybris/droid-configs/patterns/jolla-hw-adaptation-i9100g.yaml and then run "build_packages.sh -c" and then do chapters 8.4.1 and 8.5 again16:52
malas I already told you16:52
guhlmal, well then i will have a look at you kernel sources16:53
hpagseddymal: ooh.. i forgot the "build_packages.sh -c", sorry16:53
guhlmal, ok that looks a lot different in mach_msm. probably will be some work to port that over16:56
guhli assume android_kernel_semc_msm7x30 is your kernel sources16:57
hpagseddymal: http://chopapp.com/#wi3pjaln16:59
malhpagseddy: add this line to your hybris/droid-configs/droid-config-i9100g.spec https://github.com/mer-hybris/droid-hal-configs/blob/master/droid-config-%40DEVICE%40.spec.template#L1117:10
malhpagseddy: then repeat the steps again17:10
*** akhil_surabhi <akhil_surabhi!7362f025@gateway/web/freenode/ip.115.98.240.37> has joined #sailfishos-porters17:11
akhil_surabhighosalmartin, Nokius: Sailfish os just booted on redmi note 3...17:12
malakhil_surabhi: nice, is that hybris-13?17:12
akhil_surabhimal: yes, it is hybris 1317:13
guhlmal, the audio routing is fixed now - thanks17:15
hpagseddymal: then "build_packages.sh -c"17:16
hpagseddyright?17:16
malhpagseddy: yes, ask I said, the same step as before17:16
guhlbut i have to kill media once and start it again before i can seek for channels17:16
malguhl: anything in logs when that happens?17:18
guhlyes this in journal http://pastebin.com/FiR92Xgu17:18
guhlnothing in logcat17:18
akhil_surabhimal: how much time will it usually take for os to load? a blue line keeps circulating..., i can see that phone shows usb connected/disconnected, volume increased/decreased when i press buttons..17:18
guhlmal, this in kmsg http://pastebin.com/a4d3uKhH17:20
hpagseddymal: http://chopapp.com/#tk4nklek17:23
malakhil_surabhi: ofono is not working17:23
*** akhil_surabhi <akhil_surabhi!7362f025@gateway/web/freenode/ip.115.98.240.37> has quit IRC (Ping timeout: 260 seconds)17:23
*** neerad <neerad!~neerad@112.133.229.170> has left #sailfishos-porters ("Leaving")17:23
malguhl: fm radio has nothing to do with android side (except maybe some audio routing stuff like all audio)17:24
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@2001:67c:1810:f051:95dd:6df5:5db3:88b6> has quit IRC (Quit: Konversation terminated!)17:24
*** SfietKonstantin <SfietKonstantin!~sk@2001:67c:1810:f051:95dd:6df5:5db3:88b6> has joined #sailfishos-porters17:24
malhpagseddy: now follow the debugging instructions in hadk after the build command17:24
hpagseddymal: ?17:26
malhpagseddy: read a few lines after the mic command is HADK17:26
malhpagseddy: after A more obscure error might look like this17:27
malguhl: so fm is not properly up, I assume you have build the iris-transport as module and modprobed it?17:28
guhlit's built in17:28
malguhl: that is known to cause issues17:28
guhli just saw it in the faq :-)17:29
malguhl: check fp2 repo for the modprobe service17:30
Mister_Magistermal: do you have time now?17:31
malMister_Magister: which issue now?17:31
Mister_MagisterUSB17:32
malwhat's wrong with that?17:32
hpagseddymal: i cant find17:32
malhpagseddy: just continue reading after the mic command you use to build the final image17:34
malon page 29 near the end17:34
*** SfietKonstantin <SfietKonstantin!~sk@2001:67c:1810:f051:95dd:6df5:5db3:88b6> has quit IRC (Ping timeout: 240 seconds)17:35
*** dlavso_ <dlavso_!~dlavsolin@a-nu5-62.tin.it> has quit IRC (Ping timeout: 276 seconds)17:35
hpagseddymal: oh i find this17:35
*** hpagseddy <hpagseddy!~arch@85.110.177.77> has quit IRC (Quit: hpagseddy)17:36
Mister_Magistermal: if i connect it to pc once then i can't change usb mode it stays in this mode forever even disconnecting is not detected17:39
malMister_Magister: well then get debug output from usb-moded17:39
Mister_Magisterit's because of usb-modded persistant option but when it's not persistant then it disconnects17:39
Mister_MagisterSo let's debug that... how?17:40
malMister_Magister: what do you mean persistent mode?17:40
Mister_Magisterthere is file with usb-moded options17:40
malMister_Magister: maybe you need to experiment with the commandline parameters?17:40
Mister_Magisteri did but without persistant it disconnects17:41
malMister_Magister: I still don't understand what you mean17:41
Mister_Magisterait please17:41
Mister_Magisterwait*17:41
*** Tassadar <Tassadar!~tassadar@ip-78-45-143-117.net.upcbroadband.cz> has joined #sailfishos-porters17:42
malMister_Magister: if usb-moded misbehaves I suggest trying trying -a and/or -i parameters17:42
*** M4rtinK <M4rtinK!~M4rtinK@ip-78-45-144-165.net.upcbroadband.cz> has quit IRC (Ping timeout: 240 seconds)17:43
Mister_Magisterthe persistant mode i was talking about is th -i paremter "ignore incorrect disconnect events after mode setting"17:43
Mister_Magisterso it stays connected forever17:43
malMister_Magister: that is often needed17:44
Mister_Magistermal: but then i'm not able to change usb mode. i have to reboot :/17:45
malMister_Magister: try -a instead of -i17:45
Mister_Magisteri have -ria now17:45
malMister_Magister: how does just -ra work?17:46
Mister_Magistercan i restart usb-moded with only that options?17:46
malreboot is better17:46
malMister_Magister: does system react at all if you disconnect usb cable?17:46
Mister_Magisterno17:47
malMister_Magister: because that -i is a very rare case and I doubt you need it17:47
malMister_Magister: that ignores the first disconnect signal17:47
Mister_Magisterso lets remove that. can i restart usb-moded without rebooting phone?17:47
malMister_Magister: so if your device doesn't need it then disconnects are ignored17:47
malMister_Magister: yes, but I still suggest rebooting17:48
Mister_Magisterthen brb17:48
*** Mister_Magister_ <Mister_Magister_!~foidbgen@user-94-254-146-161.play-internet.pl> has joined #sailfishos-porters17:50
Mister_Magister_what? it's working somehow o_0 Maybe because of 2.0.5.617:51
Mister_Magister_brb need more testing17:51
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-145-218.play-internet.pl> has quit IRC (Ping timeout: 256 seconds)17:52
*** akhil_surabhi <akhil_surabhi!9d30022c@gateway/web/freenode/ip.157.48.2.44> has joined #sailfishos-porters17:52
akhil_surabhimal: how to make ofono work??17:53
malakhil_surabhi: could you provide some logs, dmesg, logcat, journalctl, systemctl, mount and ls -lR /dev/block/17:54
akhil_surabhimal: telnet won't work17:55
malakhil_surabhi: do you see the device in host dmesg? if there a network interface for the device17:55
*** Mister_Magister_ <Mister_Magister_!~foidbgen@user-94-254-146-161.play-internet.pl> has quit IRC (Ping timeout: 256 seconds)17:56
malakhil_surabhi: there should be a way to get to the UI, double click power button when display is off and it should bypass that part17:56
akhil_surabhimal: device is recognized. I'll send you a pastebin in a minute17:56
akhil_surabhimal: since this is my primary device, I need to flash it again, so please wait17:57
malakhil_surabhi: the usual reasons for failing ofono are missing firmware partition mounts, missing symlinks in /etc or incorrect ofono configs17:59
*** akhil_surabhi_ <akhil_surabhi_!7362f025@gateway/web/freenode/ip.115.98.240.37> has joined #sailfishos-porters17:59
malakhil_surabhi: the usual reasons for failing ofono are missing firmware partition mounts, missing symlinks in /etc or incorrect ofono configs17:59
malor incorrect/missing udev rules18:00
akhil_surabhi_mal: since i don't have telnet, what can i do to get the logs?18:00
malakhil_surabhi_: so do you see any new interface on the host device? there have been cases that the interface doesn't get an ip and/or mac18:01
*** Mister_Magister_ <Mister_Magister_!~foidbgen@user-94-254-145-159.play-internet.pl> has joined #sailfishos-porters18:01
malit might be usb0 but sometimes something else18:01
dr_gogeta86Nokius: all ok18:01
dr_gogeta86?18:01
akhil_surabhi_mal: same problem for me too, link isn't ready18:01
Mister_Magister_mal: nope it's not working. here is dmesg http://pastebin.com/TPMKDvbX18:01
malakhil_surabhi_: set it manually18:01
Mister_Magister_it connects and disconnects in loop18:01
Nokiusdr_gogeta86: yes18:01
*** akhil_surabhi <akhil_surabhi!9d30022c@gateway/web/freenode/ip.157.48.2.44> has quit IRC (Ping timeout: 260 seconds)18:01
malMister_Magister_: so enable debug output of usb-moded18:02
dr_gogeta86where you was at BoF18:02
Nokiusakhil_surabhi_: nice \o/18:02
dr_gogeta86i didn't recognize alot of people18:02
Nokiusdr_gogeta86: yes18:02
dr_gogeta86in the audience18:02
Nokiusdr_gogeta86: next to dirk18:02
akhil_surabhi_mal: it is something like this: http://pastebin.com/NaWUfNuA18:03
dr_gogeta86Nokius: right to carsten ?18:03
Mister_Magister_mal: i'm using my phone as modem so rebooting and playing with usb disconnects me from irc. I enabled debug mode so output of that debug mode will be in dmesg?18:03
Nokiusdr_gogeta86: carsten dirk me eekkelund18:04
dr_gogeta86Mister_Magister_: you nuts18:04
Mister_Magister_dr_gogeta86: h18:04
Mister_Magister_what?18:04
dr_gogeta86mad18:04
Mister_Magister_why18:05
dr_gogeta86creates a lot of dmesg crap18:05
malMister_Magister_: in journal log18:05
Mister_Magister_mal: thanks18:05
Mister_Magister_dr_gogeta86: i don't understand what are you talking about :/18:06
dr_gogeta86don't mind18:06
dr_gogeta86Nokius: the men with beard in first row ?18:06
akhil_surabhi_mal: how to set it manually?18:06
*** miau_ <miau_!~miau@55d41c5b.access.ecotel.net> has joined #sailfishos-porters18:07
malakhil_surabhi_: use either ip or ifconfig commands, search web for details18:07
malakhil_surabhi_: is the interface only missing ip or also mac?18:07
akhil_surabhi_mal: only ip it seems18:08
Nokiusdr_gogeta86: no!18:08
Nokiusdr_gogeta86: last row!18:08
dr_gogeta86no no18:08
Nokiuscharsten dirk me eekkelund18:08
dr_gogeta86I'm asking about the first row18:09
dr_gogeta86I've recognized you18:09
Nokiusdr_gogeta86: haha18:09
malakhil_surabhi_: then usually setting ip address of that interface to for example 192.168.2.2 should work18:09
Nokiusdr_gogeta86: he was with Jolla don't know his nick sorry18:09
*** Mister_Magister_ <Mister_Magister_!~foidbgen@user-94-254-145-159.play-internet.pl> has quit IRC (Ping timeout: 252 seconds)18:10
akhil_surabhi_mal: can you please have a look at this?18:10
akhil_surabhi_http://pastebin.com/1ee1SHNu18:10
malakhil_surabhi_: looks normal18:11
malakhil_surabhi_: which port do you use for telnet?18:11
akhil_surabhi_mal: tried both 23 and 2323, it says telnet can't find route temporarily18:12
malakhil_surabhi_: can you get to the UI on the device?18:12
malakhil_surabhi_: with that double/triple click18:13
Nokiusakhil_surabhi_: is it booting to ui?18:13
malNokius: ofono is misbehaving18:13
akhil_surabhi_mal: no, i tried but nothing happens18:13
Nokiusmal: okay18:13
malNokius: also telnet seems to fail18:13
Nokiusmal: same as spark18:14
Nokiusgetting a lease but the inbound get dropped18:14
malakhil_surabhi_: hmm, I have been able to skip the lockscreen18:14
Nokiuss:(18:14
akhil_surabhi_mal: just to confirm, ip to telnet is 192.168.2.15 right?18:15
Nokiusgetting ready for the dinner18:15
Nokiusmal akhil_surabhi_ good luck18:15
akhil_surabhi_Nokius: thanks..18:15
*** Mister_Magister_ <Mister_Magister_!~foidbgen@user-94-254-145-209.play-internet.pl> has joined #sailfishos-porters18:15
malakhil_surabhi_: yes, telnet 192.168.2.15 232318:16
malakhil_surabhi_: make sure no other interface has same ip range18:16
akhil_surabhi_mal: no other interface has same ip. this is the error: telnet: could not resolve 192.168.2.15:2323/telnet: Name or service not known18:17
Mister_Magister_mal: journal http://pastebin.com/w0zcjpR618:18
malakhil_surabhi_: what is the codename of the device?18:18
akhil_surabhi_mal: kenzo18:18
malMister_Magister_: all usb-moded messages have been suppressed by systemd so that doesn't help18:19
malMister_Magister_: it's usualyl better to run usb-moded manually18:19
Mister_Magister_okay so i have to stop systemd service and start it manually?18:19
malMister_Magister_: yes18:20
Mister_Magister_can i without reboot?18:20
malMister_Magister_: maybe18:20
malMister_Magister_: unless usb driver has gone to some strange state18:21
Mister_Magister_so when i start it manually i have to get journalctl?18:21
malMister_Magister_: no, you need to make sure it will print to stdout or stderr18:21
Mister_Magister_oh ok i understand18:22
Mister_Magister_so brb18:22
akhil_surabhi_mal: can i disable ofono from recovery?18:22
malakhil_surabhi_: disabling it won't help since the UI expects it to be running, assuming the ofono version is new enough modifying ofono configs can help, worth a try18:23
malakhil_surabhi_: go to recovery, I have some things you can check there18:23
akhil_surabhi_mal: sure18:23
akhil_surabhi_mal: i'm in recovery now18:24
malakhil_surabhi_: ok, use adb shell or something and go to /data/.stowaways/sailfishos/lib/udev/rules.d/ and edit file 998-droid-system.rules18:25
malakhil_surabhi_: add a new line to the end with this:18:25
malENV{ID_PART_ENTRY_SCHEME}=="gpt", ENV{ID_PART_ENTRY_NAME}=="?*", IMPORT{program}="/bin/sh /lib/udev/platform-device $env{DEVPATH}", SYMLINK+="block/bootdevice/by-name/$env{ID_PART_ENTRY_NAME}"18:25
akhil_surabhi_mal: sure18:26
*** Mister_Magister_ <Mister_Magister_!~foidbgen@user-94-254-145-209.play-internet.pl> has quit IRC (Ping timeout: 240 seconds)18:26
malakhil_surabhi_: then pastebin ls -l /data/.stowaways/sailfishos/etc/18:26
akhil_surabhi_mal: okay18:26
akhil_surabhi_mal: http://pastebin.com/v0k45jgC18:30
malakhil_surabhi_: ok, that looks reasonable18:30
malakhil_surabhi_: maybe add a symlink there which points to /system/etc/firmware just in case18:31
guhli am loving it if you try to build a kernel driver and it fails while it built while built in18:31
*** Mister_Magister_ <Mister_Magister_!~foidbgen@user-94-254-147-91.play-internet.pl> has joined #sailfishos-porters18:31
malguhl: sometimes iris-transport doesn't like to build as module, try also building iris-radio as module, or just fix the errors18:32
guhl#ifndef MODULE should be forbidden18:32
guhlyes i fixed it already18:32
akhil_surabhi_mal: okay, but there's another line similar to the one you told me to add, ENV{ID_PART_ENTRY_SCHEME}=="gpt", ENV{ID_PART_ENTRY_NAME}=="?*", IMPORT{program}="/bin/sh /lib/udev/platform-device $env{DEVPATH}", SYMLINK+="block/platform/$env{ANDROID_BLOCK_DEVICE}/by-name/$env{ID_PART_ENTRY_NAME}"18:33
Mister_Magister_mal: http://pastebin.com/XkhPPcrL18:33
malakhil_surabhi_: yes, I know, leave that there18:33
akhil_surabhi_mal: how do i add symlink to firmware?18:33
litewspiiroin: is there a way to list clients sending queries to mce for holding mce_cpu_keepalive wakelock?18:33
malakhil_surabhi_: ln -s /system/etc/firmware /data/.stowaways/sailfishos/etc/firmware18:34
akhil_surabhi_mal: added18:35
malakhil_surabhi_: ok now reboot, let's see if that was enough18:35
malakhil_surabhi_: if not then we hack around the issue in ofono18:35
akhil_surabhi_mal: still, it did work but i can't unlock18:36
akhil_surabhi_mal: i mean, swiping sideways won't work18:37
malakhil_surabhi_: are you sure touchscreen device is correct18:37
malgo back to recovery and let's check that18:37
*** horuxan <horuxan!~horuxanxx@201.46.189.63> has quit IRC (Ping timeout: 276 seconds)18:37
akhil_surabhi_mal: sure because i can pull from above and lock18:37
malhmm18:37
malakhil_surabhi_: does double click of power button work?18:38
akhil_surabhi_mal: one minute, before this, i was able to lock, but now it doesn't work18:39
akhil_surabhi_mal: double clicking power button makes the device vibrate and nothing happens18:39
malakhil_surabhi_: when display is off?18:39
akhil_surabhi_mal: yes, when the display is off18:40
malakhil_surabhi_: assuming that was the first boot you should have seen two startup wizards18:42
akhil_surabhi_mal: yes, i think, i had to choose ahoy! and then english18:43
miau_minimec: Are you there?18:43
minimecmiau_: yes18:44
malakhil_surabhi_: after that there should have been another wizard18:44
Mister_Magister_mal: i can't see any error in log it's just disconnected18:44
*** Mister_Magister_ is now known as Mister_Magister18:45
miau_minimec: Do you still have the pastebin link to your script? Or should i look in channel logs?18:45
akhil_surabhi_mal: it said starting sailfish os and then this happens18:45
malMister_Magister_: yep, looks similar to xperia issue, need to look more18:45
minimecmiau_: http://pastebin.com/VPc72rDS18:45
malakhil_surabhi_: hmm, go to recovery and let's remove some files18:45
malakhil_surabhi_: unless the second wizard crashes for some reason18:46
akhil_surabhi_mal: i'm in recovery now18:46
malakhil_surabhi_: go to /data/.stowaways/sailfishos/home/nemo and check what files you have there with ls -a18:47
malakhil_surabhi_: .jolla* files18:47
miau_minimec: Could you explain why do you use the timer and display on dbus message?18:47
minimecmiau_: Do you still have a running cm12.1 base? If yes, could you tell me what version of ofono you have installed? I have a version conflict and therefore no 'mobile data', My installed version is '1.18+git7-10.6.2.jolla'.18:47
miau_minimec: Wait a moment, have to reboot18:48
akhil_surabhi_mal: .jolla-startupwizard-done is the only .jolla file18:48
Mister_Magistermal: okay i'll ait18:48
minimecmiau_: I don't use systemd timer. I only start the script and use 'dbus-monitor' to listen for 'disply on'. The if there is an established connection, I have to listen for 'connected == false' when the device is disconnected with 'dbus-monitor' again.18:49
malakhil_surabhi_: ok, that is the first wizard, enable persitent journal in /data/.stowaways/sailfishos/etc/systemd/journald.conf18:49
malMister_Magister: maybe just enable back the -i and lets look at the issue, I'll go to sauna now18:50
miau_minimec: With timer i meant btactive18:50
malakhil_surabhi_: so change storage to persistent in that file18:51
akhil_surabhi_mal: sure18:51
malakhil_surabhi_: that way you can check journal log from recovery later18:51
Mister_Magistermal: i have enabled now because i have to have internet from phone. okay see you later18:51
akhil_surabhi_mal: rebooted the device18:52
minimecmiau_: Oh. After bluetooth is  set on, I want to give the user some time to connect a new device, or to start the car engine to get the car bluetooth system connected.18:52
minimecmiau_: After that, if there is no connection, I set 'sleep mode' again.18:52
miau_minimec: So, i turn the display on and the wakelock is back for 120 seconds?18:53
minimecmiau_: Exactly.18:53
akhil_surabhi_mal: booted to recovery again, what to do now?18:54
minimecmiau_: Imagine you want to share an image over bluetooth with another mobile phone. You would need some tome to find the other phone and then connect...18:54
miau_minimec: Everytime i turn the display on, even when bt is disabled?18:54
minimecmiau_: yes, because you cannot enable bluetooth, if lpm=1. So you would have to interact manually with the device and set lpm=1 first.18:55
minimecmiau_: lpm=0... ;)18:55
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has quit IRC (Quit: Konversation terminated!)18:56
miau_minimec: ofono is 1.18+git7-10.6.1.jolla18:56
minimecmiau_: THX for the ofono version.18:56
minimecmiau_: We could indeed impement another listener, if bluetooth is disabled. I have to think about that, but indeed that might work.18:57
malakhil_surabhi_: now you need to check journal log I think it's probably in /var/log18:57
miau_minimec: Couldn't you just look for the connman dbus message when bt gets enabled via gui and then set lpm=0 and start bluetooth?18:57
miau_minimec: Abranson managed to take a picture today!18:58
malakhil_surabhi_: one thing to try is to stop the boot process and see if telnet works in that situation18:58
minimecmiau_: I am not sure if dbus sends an 'enabled' message, because actually you cannot enable it, you only try, meaning you press the toggle button.18:58
akhil_surabhi_mal: there is no var dir18:59
minimecmiau_: I have seen that. Great!18:59
malakhil_surabhi_: in /data/.stowaways/sailfishos/ obviously, that is the sailfish root18:59
miau_minimec: It does send the message, but it doesn't get enabled.18:59
akhil_surabhi_mal: i didn't know that, one minute18:59
minimecmiau_: I will check that.19:00
malakhil_surabhi_: didn't you wonder why I always gave path with that? :)19:00
akhil_surabhi_mal: yes i did, but, i thought logs are android related19:01
malakhil_surabhi_: we enabled the logs in sailfish19:02
malakhil_surabhi_: journal is a linux thing which doesn't exist in android19:02
akhil_surabhi_mal: sorry, i didn't know that. system.journal consists of garbage19:03
malakhil_surabhi_: yes, it usually does but it has to correct info there also I think19:04
akhil_surabhi_mal: i can't give a complete pastebin, size exceeds my allowable size. here is it http://pastebin.com/DvfrkLJT19:07
malakhil_surabhi_: according to that lipstick fails19:16
malakhil_surabhi_: when did you build your image, did you use mm64-rpm branch of libhybris?19:17
akhil_surabhi_mal: no, i did not use that branch of libhybris19:17
malakhil_surabhi_: check in build_packages.sh in your source tree if it used that19:18
malakhil_surabhi_: it is default on android 6 based builds assuming the epm/dhd submodule is new enough19:18
Mister_Magisterdo anybody know how can i get jolla store on my port?19:19
akhil_surabhi_mal: one min, i'll check that buildpackages.sh19:19
akhil_surabhi_mal: mm64-rpm was used19:21
malakhil_surabhi_: ok, try this: touch /data/.stowaways/sailfishos/init_enter_debug2 and reboot, then try to get telnet working19:22
malakhil_surabhi_: that stops the boot process before systemd is starting everything19:23
miau_Mister_Magister: http://bit.ly/faq-hadk19:25
akhil_surabhi_mal: booting did stop, and network isn't identified and telnet won't work19:26
Mister_Magistermiau_: i know that already :v Hmm i didn't know that i have to write to pketo :v19:28
Mister_Magister!seen pketo19:28
merbot`Mister_Magister: pketo was last seen in #sailfishos-porters 2 weeks, 1 day, 8 hours, 55 minutes, and 0 seconds ago: <pketo> saidinesh5: no idea, I don't really know much about the UI side :)19:28
miau_Mister_Magister: Is there an existing port with store access available for your device?19:29
Mister_Magistermiau_: since i'm making it i think no :V19:29
miau_Mister_Magister: Ok, seems a little bit hard to talk to pketo.19:30
pketoping me tomorrow :)19:30
Mister_Magisterunfortunately :/ I'm waiting since year for store19:31
Mister_Magisterpketo: alright! Thanks :D19:31
malakhil_surabhi_: check /data/.stowaways/sailfishos/init.log in recovery19:32
akhil_surabhi_mal: okay19:32
miau_minimec: Is the dbus message there?19:33
akhil_surabhi_mal: http://pastebin.com/Q0yxmKUc19:35
malakhil_surabhi_: according to that it should be listening to telnet connections19:37
minimecmiau_: I am just trying to find out...19:38
akhil_surabhi_mal: pc dmesg also shows mer boat loader, but, telnet won't work19:38
miau_akhil_surabhi_: Do you use the right telnet port?19:39
akhil_surabhi_yes, 232319:39
malakhil_surabhi_: it still says no route?19:39
akhil_surabhi_mal: yes, i didn't have this issue previously when i had permission denied issues and droid-hal-done issue19:40
akhil_surabhi_mal: correcting that made the os boot, but telnet is lost19:41
malakhil_surabhi_: when you stop the boot like we just did droid-hal-init is not even run19:42
akhil_surabhi_mal: i did touch previously, telnet worked than, but it isn't working now19:42
malakhil_surabhi_: wondering what have you changed19:43
akhil_surabhi_mal: i did a clean build, added few mount points to fixmountpoints file19:44
malakhil_surabhi_: those shouldn't affect it either19:44
malakhil_surabhi_: any changes to kernel configs?19:44
akhil_surabhi_mal: no, i didn't change anything regarding kernel config19:45
malthis just doesn't make any sense19:45
akhil_surabhi_mal: there was a mount point issue previously and it's not there now19:45
miau_minimec: https://dpaste.de/u6mU19:45
malakhil_surabhi_: at which stage?19:45
minimecmiau_: Yeah. It's bus-monitor --system "interface='net.connman',member='SetProperty'"19:46
akhil_surabhi_mal: droid-hal-init failed previously19:46
malakhil_surabhi_: ok, then not related19:46
miau_minimec: Could that be of any use?19:47
akhil_surabhi_mal: should i change anything in kernel config?19:48
malakhil_surabhi_: not if it worked before19:49
malakhil_surabhi_: do you have old kernel in store somewhere?19:49
malakhil_surabhi_: or the whole image19:49
akhil_surabhi_mal: no, i had to reinstall ubuntu, so i lost them19:49
*** drFaustroll <drFaustroll!~drFaustro@2.31.145.76> has joined #sailfishos-porters19:50
*** drFaustroll <drFaustroll!~drFaustro@2.31.145.76> has quit IRC (Changing host)19:50
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has joined #sailfishos-porters19:50
minimecmiau_: Actually yes. It switches to 'boolean true' but connot activate it. So we can probably use that.19:51
malakhil_surabhi_: I'm running out of ideas, anyway telnet is the priority so we can debug the device properly19:51
akhil_surabhi_mal: should i rebuild from scratch?19:51
miau_minimec: Yeah, that's what i meant.19:52
*** divis1969 <divis1969!~dsmirnov@82.208.127.75> has joined #sailfishos-porters19:52
malakhil_surabhi_: that's one possibility, you can also add the fixes we just did to the new image19:52
malakhil_surabhi_: to hybris/droid-configs/sparse19:52
miau_minimec: So it would be a little like our wanted gui solution ;-)19:53
malakhil_surabhi_: make sure you have the latest submodules in rpm/dhd and hybris/droid-configs/droid-config-device19:53
akhil_surabhi_mal: okay, and what can cause lipstick to fail? like selinux, or something like that?19:53
minimecmiau_: Yeah.. But we may face another problem. I had a lot of PID for my script. I have to investigate that.19:53
malakhil_surabhi_: selinux would have caused issues much earlier19:54
malakhil_surabhi_: my guess is libhybris or qt5-qpahwcomposer-plugin19:54
minimecmiau_: It would actually be the way we wanted... right.19:54
akhil_surabhi_mal: okay, i'll try to rebuild and report back tomorrow, it's time to bed, thanks a lot19:56
malakhil_surabhi_: ok, do you know how to add the symlinks and stuff to sparse?19:57
akhil_surabhi_mal: no, can you please tell me?19:57
miau_minimec: :-) So, only the cam problem is left.19:58
malakhil_surabhi_: you need to think that as the root of sailfish so you create the whole path there and the add the needed files or symlinks19:58
malakhil_surabhi_: like this https://github.com/mer-hybris/droid-hal-configs/blob/master/sparse/lib/udev/rules.d/998-droid-system.rules19:59
akhil_surabhi_mal: now i understand, thanks a lot!19:59
malakhil_surabhi_: then symlink you create by going to hybris/droid-configs/sparse/etc and running ls -s /system/etc/firmware firmware20:00
minimecmiau_: Well... Somehow yes, but that bluetooth workaround is a 'hack'. Would be cool if we could fix that kernel bug, althoug it seems, that android phones do also face that problem, right?20:00
akhil_surabhi_mal: okay, and should i rebuild boot and recovery images?20:01
malakhil_surabhi_: yes, build also those just in case20:01
mala rebuild20:02
akhil_surabhi_mal: sure20:02
*** akhil_surabhi_ <akhil_surabhi_!7362f025@gateway/web/freenode/ip.115.98.240.37> has quit IRC (Ping timeout: 260 seconds)20:06
miau_minimec: Yes, the bug appears on android also.20:09
miau_minimec: But if rinigus hadn't pointed us into this direction we never had noticed it....20:10
minimecmiau_: Definitely.20:11
miau_minimec: I'm off, time for a beer.20:16
miau_Have a nice evening everyone...time for a drink, bye.20:16
minimecmiau_: Bye. Have a nice evening.20:17
*** horuxan <horuxan!~horuxanxx@201.46.189.63> has joined #sailfishos-porters20:27
Tofemiau_: about your hammerhead CM13 port, do you experience hwcomposer issues?20:36
Tofeoops, too late :)20:36
divis1969An issue: I've installed the libmce-glib-devel (from the mer-core added manually) to be able to build the ofono. Ofono was built successfully, but when I tried to rebuild the packages and re-create the zip, qt5-qpa-hwcomposer-plugin becfme broken. I had removed the mer-core and removed some packages related to qt5 and then installed those again (version seems downgraded from 5.6 to 5.2). So, it looks like those packages were upgraded after th20:37
miau_ Tofe: In which way?20:38
TofeI have some crashes, and the EGL driver complains about invalid EGL surfaces20:40
TofeFor instance: https://bpaste.net/show/e4ff0a4099f020:40
TofeFor please, don't let me ruin your beer time :)20:41
Tofes/for/but/20:41
miau_Tofe: I'm using mals repo: https://github.com/mlehtima/qt5-qpa-hwcomposer-plugin/tree/qt-5.220:43
malmiau_: mer-hybris qt-5.2 has the same commits now20:45
miau_mal: Thanks, then i can change repo in build script.20:46
miau_How hard could it be to implement a 'Skip tutorial' button....20:47
malmiau_: default build_packages.sh should work now for android 6 devices, just make sure you have the latest submodule20:47
miau_Just updated a few hours ago.20:48
miau_mal: Just updated a few hours ago.20:48
malok, fine then20:48
Tofemiau_: I'll have a look at it, thanks - though I'm using Qt 5.6 on my side, maybe I've missed a fix there20:48
malno need to patch afaik, I have built android 6 device using it20:48
miau_mal: Who maintains the HADK?20:48
malmiau_: sledges20:49
malmiau_: some issues there? are you using the latest unreleased version?20:49
miau_mal: 1.9.920:50
miau_mal: Isn't process_patterns not needed anymore?20:51
*** srohmen <srohmen!~srohmen@x4db5cd6d.dyn.telefonica.de> has quit IRC (Quit: Leaving.)20:55
malmiau_: check chapter 8.520:55
malmiau_: just before mic20:56
miau_mal: It says to execute: rpm/dhd/helpers/build_packages.sh --configs instead of process_patterns.sh20:57
malmiau_: the line before mic20:58
*** elfio <elfio!~pablo@213.95.219.87.dynamic.jazztel.es> has quit IRC (Ping timeout: 260 seconds)20:58
miau_mal: Ok, i overread that.20:59
dstmmiau_: what do u mean by 'the HADK'?21:01
dstmthe doc?21:02
miau_dstm: Yes.21:02
dstmwhere is this secret 1.9.9 version?21:02
miau_dstm: Ask sledges.21:04
dstmhehe :)21:04
*** hpagseddy <hpagseddy!~arch@85.110.177.77> has joined #sailfishos-porters21:04
miau_dstm: Have you compiled selinux?21:04
miau_dstm: Selinux kernel.21:04
dstmmiau_: no21:04
dstmmiau_: mm-qcamera-daemon works without it21:05
miau_dstm: How?21:06
dstmmiau_: I even don't know what problems u had without selinux21:07
dstmmiau_: did it crash?21:08
miau_dstm: Nope, it doesn't do anything until it was started manually.21:08
miau_dstm: I'm going to rebuild without selinux and see what was wrong, maybe there was something else that prevented it from running whats now fixed.21:09
*** M4rtinK <M4rtinK!~M4rtinK@ip-78-45-144-165.net.upcbroadband.cz> has joined #sailfishos-porters21:09
dstmmiau_: oh sorry I'm runnung selinux kernel now, I thought I switched back21:10
dstmmiau_: :)21:10
miau_dstm: Ok, saves me the time to rebuild :-D21:10
dstmmiau_: I`ll test later without selinux and report u21:11
miau_dstm: Thanks.21:12
dstmmiau_: androids cam stack is hard to understand21:12
dstmmiau_: I was reading about it a bit today21:12
hpagseddycan anybody help this problem http://chopapp.com/#tk4nklek21:13
dstmand this mm-qcamera-daemon, opens two sockets, I ques it interacts with the hal libs, very strange21:14
*** Tassadar <Tassadar!~tassadar@ip-78-45-143-117.net.upcbroadband.cz> has quit IRC (Quit: Segmentation fault)21:16
dstmvery strange construction, qualcomm could put all their stuff into their hal libs21:17
malhpagseddy: did you understand the debugging instructions in HADK?21:20
hpagseddymal: i cant understand :(21:22
guhlmal, radio is perfect now21:22
malhpagseddy: it's just about replacing one line in a file with another and then rebuild21:22
malguhl: great21:22
guhlthanks! so push to obs, build, release beta321:23
divis1969How can make my locally-built components (ex. ofono) to be packaged to zip by mic?21:23
guhldivis1969, just add them to local repo21:24
hpagseddymal: can you give an example please?21:24
guhlif the version is newer then the original it will be picked up by mic21:25
malhpagseddy: in packages section of your tmp/Jolla-@RELEASE@-$DEVICE-@ARCH@.ks file replace "Jolla Configuration i9100g" with @jolla-hw-adaptation-i9100g21:26
divis1969guhl: $ANDROID_ROOT/droid-local-repo ? Any requirements for directory placement (naming) inside it?21:27
maldivis1969: anywhere in $ANDROID_ROOT/droid-local-repo/$DEVICE21:27
maldivis1969: if you build build a package locally using build_packages.sh then it's automatically placed there21:28
maldivis1969: why do you need a different ofono?21:28
divis1969Can I check the package will be picked up (or not) from the log?21:28
divis1969I need a version for MTK21:28
malok21:29
*** ghosalmartin <ghosalmartin!~ghosalmar@2a02:c7f:923a:9000:88cc:6055:6747:621f> has joined #sailfishos-porters21:29
guhlif you do it manually:21:29
maldivis1969: if you check in sb2 with zypper if the correct package is found21:29
guhlcopy the rpm files to $ANDROID_ROOT/droid-local-repo/$DEVICE/ofono21:30
guhlthen do21:30
guhlcreaterepo $ANDROID_ROOT/droid-local-repo/$DEVICE21:30
guhlsb2 -t $VENDOR-$DEVICE-armv7hl -R -msdk-install zypper ref21:30
malall local builds of middleware should be done using build_packages.sh so that is not needed21:30
* guhl does no like scripts that hide the essence21:31
Mister_Magistermal: can i ping you tomorrow?21:31
malguhl: true but still easier to explain21:32
divis1969But ofono is not built by build_packages, am I wrong?21:32
maldivis1969: check build_packages.sh --help21:32
maldivis1969: it can do many things now21:32
maldivis1969: https://github.com/mer-hybris/droid-hal-device/blob/master/helpers/build_packages.sh#L3621:32
dstmdamn hungry again :) why do I have to eat so often :)21:32
maldivis1969: so -b is what you want21:32
divis1969ok, thanks. One more question is about that ofono dependency. It brokes my build.21:33
maldivis1969: if you give it a path it will build the sources there21:33
maldivis1969: breaks what?21:33
malhow?21:33
divis1969Some time earlier:21:34
divis1969(11:37:54 PM) divis1969: An issue: I've installed the libmce-glib-devel (from the mer-core added manually) to be able to build the ofono. Ofono was built successfully, but when I tried to rebuild the packages and re-create the zip, qt5-qpa-hwcomposer-plugin becfme broken. I had removed the mer-core and removed some packages related to qt5 and then installed those again (version seems downgraded from 5.6 to 5.2). So, it looks like those packag21:34
maldivis1969: build libmce-glib locally21:35
divis1969ok. I'll try to check that build_packages.sh21:35
maldivis1969: mer-core has many differences with 2.0.5.6 and probably21:35
divis1969that explains the issue. Ok, I'll try this new approach21:36
maldivis1969: with -m you can build a package with just a url to the git repo21:37
maldivis1969: so -b for local sources, -m for online sources21:37
divis1969will it fetch the code into hybris/mw with -m?21:38
malyes21:39
maland build it there21:39
hpagseddymal: still i cant understand :(21:39
malhpagseddy: what is the problem?21:39
hpagseddymal: http://chopapp.com/#tk4nklek21:40
malhpagseddy: can you find the line told in .ks file?21:40
hpagseddymal nope21:40
malhpagseddy: can you find the .ks file?21:40
hpagseddymal: yes in /tmp21:41
malhpagseddy: around line 2321:41
hpagseddymal: line 23 is %end21:42
malhpagseddy: I said around line 23, meaning somewhere near that line21:43
hpagseddymal: oh line 22 is @Jolla Configuration i9100g21:43
malyes21:43
hpagseddymal: then?21:43
malreplace it with @jolla-hw-adaptation-i9100g as I told before21:43
hpagseddyok i changed21:44
hpagseddythen "build_packages.sh -c" right?21:45
malhpagseddy: then run the mic command as you did before in chapter 8.521:45
malhpagseddy: no21:45
hpagseddymal: ok thanks21:45
malhpagseddy: build_packages.sh is only when you change some package sources, .ks file is not part of any repo21:46
dstmone time a week should be enough, but not everyday21:46
*** Jackneill <Jackneill!~Jackneill@unaffiliated/jackneill> has quit IRC (Read error: Connection reset by peer)21:46
malguhl: no need to add pulseaudio-policy-enforcement to patterns, it's installed by default, we just updated it21:48
*** nh1402 <nh1402!~nh1402@2.26.4.134> has quit IRC (Quit: Leaving)21:48
guhlmal, ok i thought so but decided to add it anyway - will clean that21:49
divis1969if I need to modify the source code of the component, I do have to use -b for build_packages.sh, right?21:50
maldivis1969: yes21:51
divis1969BTW, where can I find libmce-glib source?21:51
maldivis1969: https://git.merproject.org/mer-core/libmce-glib21:51
guhlmal, are you working in quality department as a daytime job? :-)21:51
hpagseddymal: http://chopapp.com/#2qhe3ewy21:51
malguhl: nope21:51
guhlso this will keep obs busy for some time21:52
malhpagseddy: are you sure you replaced the line with @jolla-hw-adaptation-i9100g? that file looks for @jolla-hw-adaption-i9100g which is wrong21:54
malguhl: I'm just a normal developer in my daytime job21:54
hpagseddymal: yes i replaced21:55
malhpagseddy: please check again21:55
hpagseddymal: i checked21:55
malhpagseddy: pastebin the file21:55
hpagseddymal: http://chopapp.com/#7q16rv2o21:56
malhpagseddy: please look at what I wrote and what is in that file21:57
malhpagseddy: the file is wrong21:58
guhlmal, well better then me, i am just a business consultant :-)21:58
hpagseddymal: how can i fix it21:58
malhpagseddy: replace it with what I told21:59
malhpagseddy: @jolla-hw-adaptation-i9100g21:59
malhpagseddy: please be more careful and recheck21:59
hpagseddymal: oh im so sorry you said "adaptation", but i wrote "adaption"22:00
hpagseddy:)22:00
malhpagseddy: that is why you should copy the text and not write it manually22:00
malguhl: I didn't study programming, I have a degree in completely different field22:00
guhlwell i do have a degree in computer sciences and a degree in economics but that is not really important22:03
*** SfietKonstantin <SfietKonstantin!~sk@87.65.142.100> has joined #sailfishos-porters22:03
guhlthe things that i learned back when i was studying are mostly obsolete22:03
hpagseddyml: still get this http://chopapp.com/#uio23fe722:04
guhlbut if you need somebody who had to learn how to talk to something on iso layer 2 - i'm your man22:04
hpagseddymal: http://chopapp.com/#uio23fe722:04
guhllater22:06
ghosalmartini got a degree in computer science, its mostly useless atm :P22:07
malhpagseddy: now replace the same line with droid-config-i9100g-sailfish22:08
hpagseddymal: ok22:09
hpagseddymal: replace on "@jolla-hw-adaptation-i9100g"?22:09
malyes22:09
hpagseddywith @22:10
malhpagseddy: no with droid-config-i9100g-sailfish22:10
malhpagseddy: no @ at the beginning22:10
hpagseddymal oh ok22:10
divis1969Q: how can I disable 'store' and 'adaptation0' in my build and this to be packaged to zip? I have to manually disable those storages in terminal otherwise installing apps is not working in UI22:12
maldivis1969: no need to disable store22:12
maldivis1969: also new build should not have adaptatio0 anymore, those should have adaptation-community-$DEVICE22:13
maldivis1969: assuming you have updated your spec in droid-configs22:13
divis1969ok, I'll check it.22:14
maldivis1969: but the adaptation repo can be disabled in .ks by adding a command to proper place22:14
maldivis1969: also OBS builds are always encouraged so disabling repos is not needed22:15
divis1969I do not clearly understand what is OBS.22:16
maldivis1969: https://build.merproject.org/22:16
hpagseddymal: Q: Failed to apply RootPasswordConfig, skip and continue?(Y/n)22:17
malhpagseddy: never seen that22:17
maldivis1969: you should have this in your spec https://github.com/mer-hybris/droid-hal-configs/blob/master/droid-config-%40DEVICE%40.spec.template#L1122:17
hpagseddymal: should i say yes?22:18
malhpagseddy: sure22:18
hpagseddymal: it finished22:19
hpagseddymal: then?22:19
hpagseddymal: what should i do on chapter 922:22
malhpagseddy: no, now replace it back with the original @Jolla Configuration i9100g22:22
malhpagseddy: I have no idea why it fails to build, it's getting late so let's continue some other time22:23
hpagseddymal: ok22:24
*** hpagseddy <hpagseddy!~arch@85.110.177.77> has quit IRC (Quit: hpagseddy)22:24
*** hpagseddy <hpagseddy!~arch@85.110.177.77> has joined #sailfishos-porters22:24
*** hpagseddy <hpagseddy!~arch@85.110.177.77> has quit IRC (Client Quit)22:26
divis1969I've read the OBS home page, but still have no clear understanding. Can I use it to build SFOS (i.e. zip) for my device and the users can download it?22:29
guhldivis1969, it is a build services that builds what you have now in your local repo online22:42
guhlthis is i.e. the repo for https://build.merproject.org/project/show/nemo:devel:hw:motorola:thea22:42
guhlin principle this enables you to have a adaptation-community-thea-@RELEASE@ pointing to the online repo in your kickstart file22:44
guhland of course would help a lot if you are not the only one porting for a specific device22:44
guhland it is more or less a prerequisite if you want to provide OTA updates for your port22:45
guhlit took me a while to get a grip on it, but after mal and sledges invested the precious time to help me understand it i am very happy to use it22:46
guhlmainly because it forces me to work in a more structured way22:47
*** dstm <dstm!~duud@p20030070CF347900021D7DFFFE112201.dip0.t-ipconnect.de> has quit IRC (Quit: WeeChat 1.7)22:54
divis1969guhl: ok, i've got it. I will try to learn how to use it (despite I'm the only porter at the moment). Thank you!22:56
guhlmal, for whatever reason i have now23:02
guhlfailed to set source 'source.primary' port to 'input-fm_rx'23:02
guhlcan't set profiles/ports to source headphoneasfmradiolp23:02
pi_____i have a jolla 1 and a ported device... could be possible to copy android supporty?23:02
guhlfrom pulseaudio when using radio23:02
guhlpi_____, well it for sure is a license violation23:03
pi_____ok, but is technically possible right?23:04
guhli don't know as i did not try23:05
pi_____do you know if someone tried/some howto ?23:05
guhlpi_____, sorry no23:10
Mister_MagisterThat feel when you have full charged phone and yet it shut's down because battery is empty :D #JustJolla1Things :D23:14
ghosalmartinJolla 1 runs quite well with Alien Dalvik disabled23:18
ghosalmartinbut Alien Dalvik steals too much memory23:18
ghosalmartinthen again who wouldnt expect that from something android :P23:18
*** divis1969 <divis1969!~dsmirnov@82.208.127.75> has quit IRC (Remote host closed the connection)23:20
guhlwell i have no idea why the fm-radio does not work now but there is no input-fm_rx source in pactl list23:22
guhlbut it's time to get some sleep now23:23
*** SfietKonstantin <SfietKonstantin!~sk@87.65.142.100> has quit IRC (Ping timeout: 255 seconds)23:28
*** Nokius_ <Nokius_!~Nokius@p508BAC41.dip0.t-ipconnect.de> has joined #sailfishos-porters23:32
*** Nokius <Nokius!~Nokius@p5DDB6398.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 264 seconds)23:35
Mister_Magisterghosalmartin: android Needs 1TB ram yet it's too little for him :D23:39
ghosalmartinMister_Magister, indeed, its not even funny now that phones have 6gigs23:40
ghosalmartinmore than many laptops...23:40
Mister_Magisterghosalmartin: and we are there with sfos and 2GB is enaugh23:40
Mister_Magisterghosalmartin: my brother uses it with alien dalvik and i'm suprised how it's working. on my port i can;t have both browser and camera opened becasue one of them will close. i have 1GB too23:41
*** zhxt <zhxt!~zhxt@1.180.212.74> has joined #sailfishos-porters23:42
ghosalmartinhmmm very odd23:43
Mister_Magisterwith sfos i can't really understand why phones have 4-6-8GB of ram. You are running server on that or what?23:43
ghosalmartini know jolla1 has had a lot of optimisation go in23:43
ghosalmartinand our server at work that handles massive amounts of rpm has like 256meg lol23:43
*** guhl <guhl!~guhl@gateway/tor-sasl/guhl> has quit IRC (Remote host closed the connection)23:47
*** guhl <guhl!~guhl@gateway/tor-sasl/guhl> has joined #sailfishos-porters23:48
*** ghosalmartin <ghosalmartin!~ghosalmar@2a02:c7f:923a:9000:88cc:6055:6747:621f> has quit IRC (Remote host closed the connection)23:48
Mister_Magisterghosalmartin: that's why i don't really get it :D On sfos with 6GB ram you would be probably able to run every app from warehouse in the same time23:48
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-147-91.play-internet.pl> has quit IRC (Remote host closed the connection)23:48
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-147-91.play-internet.pl> has joined #sailfishos-porters23:49
*** NeKit <NeKit!~nekit@85-95-187-85.saransk.ru> has quit IRC (Ping timeout: 240 seconds)23:49
*** litew <litew!~litew@broadband-77-37-218-203.moscow.rt.ru> has quit IRC (Ping timeout: 240 seconds)23:49
*** NeKit <NeKit!~nekit@85-95-187-85.saransk.ru> has joined #sailfishos-porters23:50
*** litew <litew!~litew@broadband-77-37-218-203.moscow.rt.ru> has joined #sailfishos-porters23:50
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-147-91.play-internet.pl> has quit IRC (Client Quit)23:51
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-147-91.play-internet.pl> has joined #sailfishos-porters23:51
T4<reiqu> And that's why I want a oneplus 3 port :D23:54
*** Reiqu <Reiqu!~Reiqu@dyndsl-095-033-255-182.ewe-ip-backbone.de> has joined #sailfishos-porters23:56
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-147-91.play-internet.pl> has quit IRC (Quit: Konversation terminated!)23:59

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