**** BEGIN LOGGING AT Thu Jun 11 02:59:59 2020 Jun 11 05:46:02 Morning! Jun 11 05:46:56 Tofe: Not surprising it only has VOIP since they use it on TV's mainly, so it's probably for Skype. Adding the phone bits is something we could do and possibly upstream Jun 11 05:47:17 Though of course they might have internal versions with it somewhere LOL Jun 11 05:54:50 Morning! Jun 11 05:54:56 Herrie: yes, possibly :) Jun 11 05:58:25 Tofe: API seems pretty extensive for the rest, way more v.s. ours in terms of what it can do, so that's good :) Jun 11 05:58:37 But you'd probably need to do the coding, so it's your call in the end ;) Jun 11 06:02:18 Seems our audio-service API file is a bit misleading, because we only have these implemented actually: https://github.com/webOS-ports/audio-service/blob/webOS-ports/webOS-OSE/src/audioservice.cpp#L59-L71 Jun 11 06:03:45 PR merged, SRCREV bumped Jun 11 06:03:54 I charged my Mido overnight so will try it there Jun 11 06:09:53 Tofe: Seems that miniafservice = audiofingerglue as per https://github.com/mer-hybris/audioflingerglue/blob/master/Android.mk#L83 Jun 11 06:12:33 And seems both minimediaservice and minisfservice are provided by droidmedia: https://github.com/sailfishos/droidmedia/blob/52143f26ff6dc2346cf4f14792c175493cf529b1/Android.mk#L192 and https://github.com/sailfishos/droidmedia/blob/52143f26ff6dc2346cf4f14792c175493cf529b1/Android.mk#L152 Jun 11 06:13:07 minimediaservice we'd need at some point too right for gstreamer, camera rework etc, so might be good to add right away to targets with miniafservice Jun 11 06:14:23 Not sure if we need minisfservice, that one is probably SFOS specific? SInce they don't run Android in LXC? Jun 11 06:36:01 All that is related to droidmedia we don't need at the moment, as we use the libcompat approach (I still need to migrate that...) Jun 11 06:37:12 minisfservice is related to surfaceflinger, i.e. to rendering. I'm not sure why we would need that, all is well currently for this topic Jun 11 06:38:04 if you want you can add minimediaservice, if it doesn't break anything then it'll facilitate the droidmedia migration Jun 11 07:51:15 Tofe: We'd need droidmedia at some point for camera on 7.x + right? Since libcompat is 5.x only right? Jun 11 07:54:08 right Jun 11 07:54:25 also for integrating the OSE media stack, which uses gstreamer Jun 11 08:05:10 Tofe: Yes so if I anyway need to make changes to device repo, just as well add it right away Jun 11 08:13:32 ok yes Jun 11 08:13:59 For BT40 when he's around: https://github.com/webosose/samples Jun 11 08:49:02 JaMa: https://github.com/shr-distribution/meta-smartphone/pull/114 Jun 11 09:19:56 Tofe: https://github.com/webOS-ports/keymanager/pull/9 Jun 11 09:20:32 Got some LS_REQUIRES_SECURITY in my logs for activitymanager Jun 11 09:38:28 Tofe: Interestingly I'm seeing a few more "LS_REQUIRES_SECURITY" in the logs now that I didn't see before. Jun 11 09:38:31 So will address those Jun 11 09:39:14 Herrie: the magic of working logs :) Jun 11 09:39:23 Tofe: Seems so Jun 11 09:39:27 mediaindexer as well Jun 11 09:39:33 or it could also be use-cases that are now going further Jun 11 09:39:36 So a few more PR's coming Jun 11 09:49:05 BT40: Hi Jun 11 09:49:11 Seems guys @ LG heard you ;) Jun 11 09:49:11 HI Jun 11 09:49:20 :) Jun 11 09:49:26 EAGER TO HEAR MORE Jun 11 09:49:31 https://github.com/webosose/samples Jun 11 09:49:49 Published yesterday ;0 Jun 11 09:49:50 :D Jun 11 09:51:00 hahaha great. Thank you brother. Jun 11 09:51:55 bitbake once again gonna help. :) Jun 11 10:24:43 Herrie: can you add git log of new changes? I was surprised that there is different SRCREV in 2 of them (so it's not just repo moved) Jun 11 10:25:08 Herrie: or I can do it when cherry-picking it to all 3 branches Jun 11 10:26:05 JaMa: well seems for mido I simply forgot to bump srcrev Jun 11 10:26:15 For a small defconfig change Jun 11 10:26:42 And for Tenderloin bumped srcrev based on yesterday's PR Jun 11 10:27:00 Happy to reword it if needed Jun 11 10:39:48 JaMa: done Jun 11 10:40:13 Reworded commit message Jun 11 10:52:14 Herrie: thanks Jun 11 10:53:55 Tofe: https://github.com/webOS-ports/org.webosports.app.filemanager/pull/15 Jun 11 10:54:01 Seems I forgot to PR that one Jun 11 11:54:38 Tofe: And one more for mediaindexer: https://github.com/webOS-ports/mediaindexer/pull/18 Jun 11 13:29:15 Tofe: thnx for merges. Seems we need to clean up compat.perm.json a bit too. Still quite some in there with public/private that can go Jun 11 13:37:33 we'll have to be careful that legacy apps still need to work Jun 11 13:44:55 Tofe: Yeah true Jun 11 15:01:24 Tofe: https://github.com/webOS-ports/app-services/pull/14 This might help in sorting some of the issues with app-services such as Calendar Reminders, Emails etc. Seems that they were calling com.palm.applicationmanager/open while they didn't have access to system where this api is listed Jun 11 15:01:48 It didn't show anything obvious in logs, but had issues with some of my activities for Calendar Reminders Jun 11 15:01:53 So it might help to solve those Jun 11 16:55:42 * BT40 just came to know about ADB over wifi. Scratching his head if we can use this in absence of usb debigging Jun 11 17:00:39 Herrie: have you already taken steps to include droidmedia stuff into the tissot build ? Jun 11 17:22:42 I was looking what's the best place for the mini services Jun 11 17:22:49 Seems different distros have different approach Jun 11 17:23:17 well we already have libdroidmedia and miniafservice Jun 11 17:23:29 I'm just talking about halium right now Jun 11 17:23:55 or, what do you mean Jun 11 17:24:16 Tofe: well they need to be started in some init Jun 11 17:24:22 AsteroidOS approach: https://github.com/AsteroidOS/meta-mtk6580-hybris/blob/master/recipes-android/android-init/android-init/init.rc Jun 11 17:25:22 Ah wait, seems Halium already does it: https://github.com/Halium/audioflingerglue/blob/master/miniaf.rc Jun 11 17:26:17 Though the Halium one probably needs some rebasing with: https://github.com/mer-hybris/audioflingerglue Jun 11 17:26:21 ah, they shit a init.rc with the source code... why not. But we still need to include it Jun 11 17:26:49 Tofe: Well it's probably there already Jun 11 17:27:59 It should be there in the repos that are pulled in: https://github.com/Halium/android/blob/halium-7.1/default.xml#L262 Jun 11 17:28:47 we already have halium/droidmedia/ yes Jun 11 17:29:04 and it build libdroidmedia and miniafservice Jun 11 17:29:09 that's all, though Jun 11 17:29:50 So it doesn't get included in the build? Jun 11 17:29:57 Ah this is the hybris-boot thing I guess Jun 11 17:30:11 libdroidmedia and miniafservice are included yes Jun 11 17:30:18 not minimediaservice Jun 11 17:30:49 we'll need that one too, if we want the complete gstreamer-droid stuff (I... think ?) Jun 11 17:31:39 If I understand correcly these mini*service provide a bridge to the distro world outside of the lxc container Jun 11 17:31:56 it could also be I misunderstood Jun 11 17:33:49 No, you need the minimedia quite sure Jun 11 17:34:08 for minisfservice I'm still not sure about it, frankly Jun 11 17:34:39 Tofe: I suspect we don't need it Jun 11 17:34:44 ok I'm patching build/target/product/core_base.mk and giving it a little try Jun 11 17:34:46 For UBPorts it seems to conflict with Mir Jun 11 17:35:16 This is what they do in Mer for newer Android versions: https://github.com/mer-hybris/hybris-patches/blob/075a9c7a1867728a03ee5056033899c578e824a6/frameworks/native/0001-hybris-Use-mini-services-and-disable-starting-unneed.patch Jun 11 17:36:43 From UBPorts: https://forums.ubports.com/topic/3257/how-to-test-gstreamer-droid-based-camera-support-in-ubuntu-touch-for-halium-7-1-based-port/11 Jun 11 17:36:50 Seems they only use the miniaf at their end Jun 11 17:37:05 out/target/product/tissot/system/bin/minimediaservice <-- ok it builds fine, we just need to include it Jun 11 17:37:08 But that's because they have their own mediaserver (which we don't I think at our end) Jun 11 17:38:20 They just copy it in their .spec for SFOS: https://github.com/Plamb1r/droidmedia/blob/09a218592b8f695b943a4edc4f73111099aa840a/rpm/droidmedia.spec#L61 Jun 11 17:39:32 I have minimediaservice, miniafservice... now I need the recipe for gst-droid; maybe asteroidos has it already Jun 11 17:39:58 ah, I forgot to start minimediaservice in a random .rc :) Jun 11 17:40:56 Seems they do this for some targets: https://github.com/Halium/android_device_oneplus_oneplus3/blob/halium-7.1/device.mk#L358 Jun 11 17:41:00 Tofe: Likely Jun 11 17:41:23 Tofe: The OPO3 is nasty though Jun 11 17:41:58 we're not going to add it to every device git :) Jun 11 17:42:24 Tofe: No, and it's nasty and seems UBports specific there Jun 11 17:42:34 right Jun 11 17:42:46 Tofe: https://github.com/AsteroidOS/meta-asteroid/tree/master/recipes-multimedia/gstreamer Jun 11 17:43:06 Herrie: thanks, exactly what I was looking for Jun 11 17:43:42 my Halium image is ready, now let's do the recipes... Jun 11 17:51:24 Tofe: if you bump nemo-gst-interfaces you can drop the patch probably: https://git.sailfishos.org/mer-core/nemo-gst-interfaces/commit/bd1672cddcc2ece783497809fb349a3bc7d79df0 Jun 11 17:51:30 https://github.com/AsteroidOS/meta-asteroid/commit/b6ca77e842e275b28eb96a4a36c1272088be08f3 Jun 11 17:51:35 Seems similar to me ;) Jun 11 17:52:53 correct Jun 11 17:54:30 "fatal error: droidmedia/droidmedia.h: No such file or directory" I'm not surprised, but the dependency it's stated in DEPENDS Jun 11 17:54:37 isn't* Jun 11 17:55:32 Well they don't have a JaMa there ;) Jun 11 17:56:04 gst-droid bump might also be good to do once you have it building: Seems quite some interesting bits added since 0aeb90829c4a26add975d53a8a4a228bf1cd4c59 Jun 11 17:56:09 https://github.com/sailfishos/gst-droid/commits/master Jun 11 17:57:02 good idea, let's go Jun 11 17:57:39 Where did the asteroidos guys put the recipe for droidmedia... I can easily do it, but if it exists already, well Jun 11 17:58:37 they even forked it... Jun 11 18:01:59 I also don't see it... Jun 11 18:02:54 It's not there.... Jun 11 18:03:05 it's quite weird Jun 11 18:03:19 No references to droidmedia in their meta-asteroid.... Jun 11 18:04:52 I can't find it Jun 11 18:05:13 Except for gst-droid Jun 11 18:14:24 Damn ! How does this work. Jun 11 18:20:25 I think they just somehow have it as a build directory that they import Jun 11 18:21:03 it looks like it just needs to copy *.h and hybris.c from droidmedia source code Jun 11 18:21:12 that's ugly, but let's try Jun 11 18:33:54 what did I do or didn't do in asteroids? :) Jun 11 18:39:37 JaMa: it looks like they have some mysterious hidden dependencies in one of their recipes Jun 11 18:41:35 gst-droid: done Jun 11 18:54:35 no crash, but no camera device either Jun 11 18:59:23 same status when including minisfservice (just to be sure) Jun 11 19:13:58 Tofe: So nothing working, nothing broken? Jun 11 19:14:20 well, gstreamer does detect the plugin Jun 11 19:14:39 Could be we need some config still Jun 11 19:15:15 See https://github.com/piggz/droid-config-mido/tree/master/sparse/etc Jun 11 19:15:29 https://github.com/piggz/droid-config-mido/tree/master/sparse/etc/gst-droid Jun 11 19:16:00 And maybe https://github.com/piggz/droid-config-mido/tree/master/sparse/etc/camera-settings but could be sfos camera app specific Jun 11 19:16:20 that's some good pointers yes Jun 11 19:18:45 looks like it tries to write to config.disable_cameraservice property on /dev/socket/property_service and it seems it fails or something like that Jun 11 19:22:02 it does load libdroidmedia Jun 11 19:22:33 and tries to load /etc/gst-droid/gstdroidcodec.conf too; doesn't look fatal though Jun 11 19:28:01 Well those files are all in: https://github.com/enesutku07/droid-config-tissot/tree/master/sparse/etc/gst-droid Jun 11 19:28:36 I added the .conf; it looks like it helped a bit, but I still can't get anything out of gstreamer :p Jun 11 19:33:56 I'm trying thing lke "gst-launch-1.0 droidcamsrc ! fakevideosink" but I get an error and a crash at the end Jun 11 19:34:18 ^https://paste2.org/fOA5Xf6y Jun 11 19:34:47 on logcat it does look pretty good though, it does a lot of things Jun 11 19:36:51 https://paste2.org/2hedY0NA logcat counterpart Jun 11 19:44:42 I'll give up for today; I didn't really expect it to succeed so quickly :) Jun 11 19:44:48 Here is the current work: https://github.com/Tofee/meta-smartphone-1/commit/7fafd942b72a8fa04d4f3d8bc8851196187066f8 Jun 11 19:45:00 (might be in the wrong repo, we'll see about that later on) Jun 11 19:48:55 Good enough status so quickly no? Jun 11 19:49:12 Also calling it a day. Headaches still there Jun 11 19:50:17 2 teachers at sons school got covid so not unlikely we might have it too. Besides headaches and a little cold nothing too serious really. Might get tested sometime. Jun 11 19:50:21 We'll see Jun 11 19:59:02 Yeah... take care :) Jun 11 23:37:35 You fine folk might interested to know the palm pvg100 has been rooted finally. AOSP, treble, and LOS seem to be running on it Jun 11 23:37:57 someone made an unofficial port of TWRP for it **** ENDING LOGGING AT Fri Jun 12 02:59:58 2020