**** BEGIN LOGGING AT Wed Aug 21 02:59:58 2019 Aug 21 08:50:57 Hi Aug 21 08:51:26 hey Aug 21 08:51:50 be sure read our porting guide on our wiki http://docs.halium.org/en/latest/porting/first-steps.html Aug 21 09:33:53 @Danct12 [be sure read our porting guide on our wiki http://docs.halium.org/en/latest/port …], Hi sir, call on santoni working? Have u fixed all issues? (Ubuntu touch) Aug 21 09:35:00 actually i'm busy working on the pinetab after pine64 sent me their tablet, so another friend of mine has the same phone already took over the development Aug 21 09:35:21 he said he hasn't got call working yet Aug 21 10:36:30 @Danct12 [he said he hasn't got call working yet], If It is a halium-7.1 porting, we organised a hackathon to try to fix ofono to allow calling Aug 21 10:36:47 Halium-5.1 seemed to work Aug 21 10:37:14 it is a 7.1 portr Aug 21 10:38:39 fatal: The remote end hung up unexpectedlyMiB | 64.00 KiB/s … fatal: early EOF … fatal: index-pack failed … error: Cannot fetch platform/prebuilts/misc from https://android.googlesource.com/platform/prebuilts/misc … Receiving objects: 100% (2189/2189), 323.00 MiB | 100.00 KiB/s, done. … remote: Total 2189 (delta 439), reused 1535 Aug 21 10:38:39 (delta 439) … Resolving deltas: 100% (439/439), done. … From https://android.googlesource.com/platform/prebuilts/sdk … * [new tag] android-7.1.2_r37 -> android-7.1.2_r37 … Fetching projects: 99% (212/214) … error: Exited sync due to fetch errors Aug 21 10:38:45 error again Aug 21 10:39:13 @Demonic Angel [error again], what it says on the tin: "The remote end hung up unexpectedly" Aug 21 10:39:17 sync again Aug 21 10:39:23 @Demonic Angel [fatal: The remote end hung up unexpectedlyMiB | 64.00 KiB/s … fatal: early EOF …], Maybe your internet connection is just unstable? Aug 21 10:39:33 tried a lot of time Aug 21 10:40:09 repo sync --force-sync Aug 21 10:40:15 i used this Aug 21 10:40:26 but this too didn't worked Aug 21 10:40:39 we can't help you with your connection issues Aug 21 10:41:05 wait lemme boost it Aug 21 10:41:10 then i'll try Aug 21 11:21:37 Luka Panio was added by: Luka Panio Aug 21 11:26:53 error: Cannot fetch Halium/android_frameworks_base from https://github.com/Halium/android_frameworks_base … fatal: The remote end hung up unexpectedly5 MiB | 166.00 KiB/s … fatal: early EOF … fatal: index-pack failed … remote: Counting objects: 1372, done … remote: Finding sources: 100% (1372/1372) … remote: To Aug 21 11:26:53 tal 1372 (delta 320), reused 1331 (delta 320) … Receiving objects: 100% (1372/1372), 173.71 MiB | 273.00 KiB/s, done. … Resolving deltas: 100% (320/320), done. … From https://android.googlesource.com/platform/prebuilts/misc … * [new tag] android-7.1.2_r37 -> android-7.1.2_r37 … error: Exited sync due to fetch errors … \ Aug 21 11:27:00 error again Aug 21 11:28:48 i think its connection problem Aug 21 11:29:05 but my internet is working fine Aug 21 11:29:41 i am syncing it again with repo sync -f Aug 21 11:29:51 this time Aug 21 11:30:26 i'll tell u after it has been synced or fetched error again Aug 21 11:31:42 I think it would be better not to send a message about the same error over and over again. Aug 21 11:32:04 no Aug 21 11:32:24 got the same error after boosting internet pack Aug 21 11:32:39 my^ Aug 21 11:55:36 Checking out project android_external_zlib … Syncing work tree: 47% (101/214)Checking out project platform/external/zopfli … Checking out project Halium/android_frameworks_av … Checking out files: 100% (2913/2913), done. … Syncing work tree: 48% (103/214)Checking out project Halium/android_frameworks_base … error: Cannot checkout Aug 21 11:55:37 Halium/android_frameworks_base: ManifestInvalidRevisionError: revision refs/heads/halium-7.1 in Halium/android_frameworks_base not found … error: in `sync -f -j 16`: revision refs/heads/halium-7.1 in Halium/android_frameworks_base not found Aug 21 11:55:43 new error Aug 21 12:26:41 @Demonic Angel [got the same error after boosting internet pack], Wait are you trying to download this using a mobile internet connection? Aug 21 12:27:36 No surprise then that the connection sometimes spontaneously gets lost. Also you likely don't want to download so much data using this anyway. Aug 21 12:46:41 https://github.com/Halium/android_frameworks_av/pull/3 @NotKit Aug 21 12:49:52 @fredldotme Happy to review that one as well, just do we have more background as to where these codecs are needed/used for? I'm not too familiar with internal Android bits. I assume something related to camera bits? Aug 21 12:51:13 This is avoiding the binder call to the "media.player" service and instead taking the local list of supported media codecs for video playback. Granted, video playback fails with a missing codecs error but gstreamer/media-hub on UT doesn't crash anymore. Aug 21 12:52:29 @fredldotme [This is avoiding the binder call to the "media.player" service and instead takin …], Well, you know that gst-droid also includes video encoding/decoding right? Aug 21 12:52:47 it's not used by UT though Aug 21 12:54:27 I planed to migrate to gst-droid to avoid carrying the custom patches required for audio in video recording. Aug 21 12:54:51 With the PR, it breaks gst-droid, right? Aug 21 12:54:59 I'm happy to test any prebuilt packages Aug 21 12:55:16 does gst-droid provide the media.player service by itself? Aug 21 12:55:28 I don't see how it would break Aug 21 12:56:04 peat_psuwit: gst-droid is also something we would consider for LuneOS going forward Aug 21 12:57:18 `media.player` should be provided by the `mediaserver` itself. Aug 21 12:57:21 I mean I'd be happy to have it in UT but last time I spoke to Dalton and Marius they were not too interested in having gst-droid take over. Aug 21 13:00:01 @fredldotme Ok, I misread your message. BTW, do you still have the log of media-hub crashing? Aug 21 13:00:13 I don't, sadly Aug 21 13:06:37 CodyMills was added by: CodyMills Aug 21 13:48:19 how can i enable test mode on halium-install? Aug 21 13:49:04 @JBB-xmpp [There's an undocumented command line option. I think it's --test-mode], . Aug 21 14:07:14 thanks Aug 21 14:07:45 btw where should i flash halium-boot.img? There is no boot partition on my device Aug 21 14:19:03 https://bpaste.net/show/SqpJ Aug 21 14:24:58 Sorry, I have never seen such a partition layout on an android device. Aug 21 14:27:41 :( Aug 21 14:36:07 dohbee was added by: dohbee Aug 21 14:40:10 @peat_psuwit [@fredldotme Ok, I misread your message. BTW, do you still have the log of media- …], how far along are you with gst-droid? are you going to test whether the framework/av PR is affecting it? Aug 21 14:44:40 I have the camera part of gst-droid partially working on Ubuntu Touch & FP2 now (viewfinder & still image) but haven't look into video part of it because it didn't work on PM. Aug 21 14:45:06 @JBBgameich [Wait are you trying to download this using a mobile internet connection?], i don't have a wifi connection so have to download it using my mobile internet connection Aug 21 14:45:46 So, I'll test if it affects the camera part, but the test result probably won't be conclusive. Aug 21 14:49:50 remote: Enumerating objects: 5, done. … remote: Counting objects: 100% (5/5), done. … remote: Compressing objects: 100% (1/1), done. … remote: Total 3 (delta 1), reused 2 (delta 1), pack-reused 0 … From https://github.com/Halium/android … + 8b9e798...03b0359 halium-7.1 -> origin/halium-7.1 (forced u Aug 21 14:49:50 pdate) … error: .repo/manifests/: contains uncommitted changes … demon@Demonic-machine:~/halium$ Aug 21 14:49:55 what does this mean Aug 21 14:49:57 ?? Aug 21 14:50:36 `cd .repo/manifests; git reset --hard HEAD; cd -` … and repo sync again Aug 21 14:51:04 it's because the change I instructed you to do is now in the repo Aug 21 14:51:21 cd .repo/manifests; git reset --hard HEAD; cd - … HEAD is now at 8b9e798 Merge pull request #34 from Vince1171/halium-7.1 … /home/demon/halium Aug 21 14:51:46 should i sync again now? Aug 21 14:51:51 as I said, yes Aug 21 14:52:05 thanks Aug 21 14:52:35 but I'm actually worrying about your connection more, just `repo sync` as long as there are remote hangups Aug 21 14:52:38 @fredldotme: I merged all those pending PR's. I cherry-picked a quick commit to fix build errors Aug 21 14:53:03 For android_frameworks_av that is Aug 21 14:53:04 @fredldotme [but I'm actually worrying about your connection more, just repo sync as long as …], yes, i am ding it again and again lol' Aug 21 14:54:09 Herrie well done. maybe we should wait with the local codecs change until @peat_psuwit has confirmed it not conflicting with gst-droid Aug 21 14:54:25 fredldotme: Yeah that's my plan as well Aug 21 14:54:49 There were a lot more commits in android_frameworks_av, but just quickly cherry picked this one to get build working Aug 21 14:55:02 Other commits shouldn't affect us that much anyway Aug 21 14:55:17 But it wouldn't hurt to do a rebase at some point in the future I guess for other forks as well Aug 21 14:55:46 btw @peat_psuwit are you doing the debian packaging for gst-droid as well or just a local build? I'd like to put gst-droid to the race against gst-androidmedia. Aug 21 14:56:01 Herrie yeah makes sense Aug 21 14:57:18 @fredldotme [btw @peat_psuwit are you doing the debian packaging for gst-droid as well or jus …], Debian packaging is already done at https://github.com/halium-packaging/gst-droid Aug 21 14:57:44 @peat_psuwit [Debian packaging is already done at https://github.com/halium-packaging/gst-droi …], thanks! Aug 21 15:06:14 Maybe the one from debian-pm works better nowadays, I'm not sure whether the one from halium-packaging still compiles with the latest upstream version... Aug 21 15:07:49 nnbLE was added by: nnbLE Aug 21 15:17:36 Hi, is calls working in halium . I heard that port of UB using halium , calls r not working. Aug 21 15:18:12 Donreddy: Depends on Android version. If 5.1 based: yes, if 7.1 based: no currently Aug 21 15:31:30 @JBBgameich [Maybe the one from debian-pm works better nowadays, I'm not sure whether the one …], Oh, I didn't notice the one in Debian-pm. I have to add a patch in the halium-packaging one to make it builds. It seems like the one in debian-pm have a similar patch already. Aug 21 15:38:58 You mean this one? https://github.com/debian-pm/gst-droid-packaging/ Aug 21 15:42:16 No. It's this one: https://gitlab.com/debian-pm/halium/gst-droid Aug 21 15:42:37 thank you Aug 21 15:57:17 @bhushanshah [Umm I thought we enabled software rendered mouse cursor on hwcomposer backend al …], So, ist should be sufficient to export KWIN_FORCE_SW_CURSOR? Aug 21 16:05:38 ```dh_install: droidmedia missing files: *.h … dh_install: droidmedia missing files: hybris.c``` … wth, those are clearly in the droidmedia source archive Aug 21 16:14:16 Fwd from Lakotaubp: This Saturday, August 24th 2019, #UBports Porting Team and developers from HaliumProject, LuneOS and PlasmaMobile will hold the first Ofono Hackathon. … The aim is to fix common issues of ofono/rild packages, specifically affecting #Halium-7.1 porting (i.e. Android 6.0 and 7.1.x) … For worldwide participation, Aug 21 16:14:16 the event is in two 'sessions': 14.00 to 18.00 (UTC+2) and 20.00 (UTC+2) on, you can follow online at https://t.me/halium … For more details, please see: https://pad.ubports.com/p/ofono-hackathon … Feel free to integrate current information with further useful details of your device and issue experiences (logs). … #UbuntuTouch #HaliumProject #Plas Aug 21 16:14:16 maMobile #LuneOS #Ofono #Hackathon Aug 21 16:22:12 @JBBgameich Where are the binaries for debian-pm published? Aug 21 16:23:20 @peat_psuwit [@JBBgameich Where are the binaries for debian-pm published?], the packages on archive.kaidan.im and the images (pretty untested currently) on archive.kaidan.im Aug 21 16:23:50 @peat_psuwit [@JBBgameich Where are the binaries for debian-pm published?], [Edit] the packages on repo.kaidan.im and the images (pretty untested currently) on archive.kaidan.im Aug 21 16:26:01 @fredldotme [dh_install: droidmedia missing files: *.h … dh_install: droidmedia missing files: …], Similar to the issues im having on my note 4 atm Aug 21 17:00:37 @fredldotme [dh_install: droidmedia missing files: *.h … dh_install: droidmedia missing files: …], Can't reproduce with the droidmedia packaging from debian-pm. Aug 21 17:03:28 @fredldotme [Herrie well done. maybe we should wait with the local codecs change until @peat_ …], With the local codec PR, there's no breakage in camera functionality. Video decoding still fails for other reasons I have to investigate. Apparently it stills connect to mediaserver: … `OMXMaster: makeComponentInstance(OMX.qcom.video.enco Aug 21 17:03:28 der.avc) in mediaserver process` … Herrie: ^ Aug 21 17:06:46 @peat_psuwit: thnx for testing Aug 21 17:11:31 is droidmedia running? Sailfish doesn't run mediaserver either Aug 21 17:17:50 stefanomelchior: unfortunately, for LuneOS, I'm not here this week-end... I'm looking at this issue right now, but without success so far Aug 21 17:18:39 Tofe is maybe someone willing to jump in for you? Aug 21 17:20:03 Not sure, not many in our team know about analyzing this low-level kind of issues; but we'll see Aug 21 17:28:21 I'll try to be around on 24th. I have access to my speedy builder, so if there are large rebuilds required of things, I can do them pretty rapidly Aug 21 17:36:26 @NotKit [is droidmedia running? Sailfish doesn't run mediaserver either], Media services are in minimedia, part of droidmedia. … https://github.com/sailfishos/droidmedia/blob/master/minimedia.cpp Aug 21 17:37:19 you're right, confused the name Aug 21 17:50:30 @Donreddy [Hi, is calls working in halium . I heard that port of UB using halium , calls r …], There will be hackaton for Ofono/rild and as I seen today on Porting group, someone made it work on 7.1 ... So future is bright Aug 21 17:52:56 @Stefano0101: Any sources available for 7.1? Aug 21 18:52:02 Luka made calls working by anticipating the call routing with the pactl commands to switch sink to proper ports such as voicecall, output-speaker and output-parking Aug 21 18:52:03 Fwd from stefanomelchior: There is an error in these commands, accordingly with my `pacmd info` output: https://paste.ubuntu.com/p/fVzDNdDwNc/ I'm referring to replace `sink.primary` with `sink.primary_output` Aug 21 18:52:25 [Edit] Luka made audio working in calls by anticipating the call routing with the pactl commands to switch sink to proper ports such as voicecall, output-speaker and output-parking Aug 21 18:53:29 I myself tried but the solution was not effective on tenshi, beside I already installed pulseaudio-modules-droid-glue-24, as in the following msg Aug 21 18:53:42 Fwd from Luka Panio: sudo ubports-qa install xenial_-_android24 … sudo apt install pulseaudio-modules-droid-glue-24 Aug 21 19:21:50 @stefanomelchior: Ah so just playing with PA etc as workaround. Not really fixing things properly yet in RIL/oFono? Aug 21 19:22:45 Herrie it seems ofono is doing its job just fine but something is messing up the audio rerouting (which makes me point at telepathy-ofono) Aug 21 19:23:47 @fredldotme [Herrie it seems ofono is doing its job just fine but something is messing up the …], iirc, telepathy-ofono is really just for SMS/MMS stuff. telephony-service is i think what connects the audio routing for calls Aug 21 19:24:01 @dohbee [iirc, telepathy-ofono is really just for SMS/MMS stuff. telephony-service is i t …], https://wiki.ubuntu.com/Touch/Audio#General_audio_architecture Aug 21 19:25:04 it has the QPulseAudioEngine{,Worker} classes which is reacting to pulseaudio and ofono changes to change in- and outputs Aug 21 19:26:26 hmm Aug 21 19:27:20 Well we don't have telepathy in LuneOS but we suspect some issues in QMI RIL at least for our Xiaomi devices Aug 21 19:27:23 it's also weird code because it has to reflect PulseAudios internal state + decide between headphone-use, hands free, and normal use Aug 21 19:27:46 We don't really have many other brands to test with at our end. Just some OnePlus Onyx Aug 21 19:28:26 Herrie what's ofonos debug output say for the rilmodem driver? also, do you have a device with working calls? Aug 21 19:29:12 We have 5.1 based devices with working calls using RILModem driver in Mer's oFono (legacy RILModem that is, not new Mer one) Aug 21 19:30:15 New Mer RILmodem with 7.1 doesn't work either Aug 21 19:33:17 Logs from today with latest PR's merged on Halium side and Mer's RILModem driver: https://paste2.org/5N4cPYYK Aug 21 19:35:54 Herrie have you tried running ofono manually with debugging enabled? (`sudo env OFONO_DEBUG=-d OFONO_RIL_DEVICE=ril OFONO_RIL_NUM_SIM_SLOTS=1 ofonod -d drivers/* -n -P provision,udev*,dun*,smart*,hfp_bluez5,stktest,sap`) Aug 21 19:36:40 that's for Ubuntu Touch, I don't know which driver modules you guys support Aug 21 19:42:18 @fredldotme [it has the QPulseAudioEngine{,Worker} classes which is reacting to pulseaudio an …], Might it need changes to its mixer paths? Aug 21 19:44:22 fredldotme: I've pinged Tofe, he might be around Aug 21 19:44:26 I am Aug 21 19:44:32 let me catch up Aug 21 19:44:34 He knows more and can test on devicd Aug 21 19:45:34 @UniversalSuperBox [Might it need changes to its mixer paths?], probably. I'm currently thinking of adding support for the h2w sysfs switch because telepathy-ofono switches to headphones during call and restores to headphones after call even though no headphones were connected. Aug 21 19:45:56 let's try, but yes I have been running ofono in debug mode for some time Aug 21 19:46:05 @fredldotme [probably. I'm currently thinking of adding support for the h2w sysfs switch beca …], That seems to be something as of yet undocumented Aug 21 19:46:08 But important Aug 21 19:46:22 Critically important Aug 21 19:46:59 fredldotme: as far as I can tell, our problem seems to be that the android side never sends any "setup" message via RIL Aug 21 19:47:03 what specifically, the misfortunate switching behavior? Aug 21 19:47:05 only "ringing" Aug 21 19:47:17 @UniversalSuperBox [That seems to be something as of yet undocumented], what specifically, the misfortunate switching behavior? Aug 21 19:47:50 Well that for one, but also the mixer path system and its effects on UT while in or out of a call Aug 21 19:48:04 fredldotme: but it also seems to be device-specific, related to the "tissot" device somehow Aug 21 19:48:42 Tofe almost sounds like it, yes Aug 21 19:49:26 @UniversalSuperBox [Well that for one, but also the mixer path system and its effects on UT while in …], this wiki page still fits the current architecture: https://wiki.ubuntu.com/Touch/Audio Aug 21 19:50:27 how and which sinks/sources are used depends on telepathy-ofono here: https://github.com/ubports/telepathy-ofono/blob/xenial/qpulseaudioengine.cpp Aug 21 20:45:40 @fredldotme [how and which sinks/sources are used depends on telepathy-ofono here: https://gi …], does it make sense to set default sink up in /etc/pulse/touch.pa as in this thread (https://bugs.freedesktop.org/show_bug.cgi?id=73325) where for `load-module module-bluetooth-discover`you can use `headset=native -> only a2dp … headse Aug 21 20:45:40 t=ofono -> only headset … headset=auto -> a2dp and headset` to force discovery Aug 21 20:46:36 I mean you force device to route to our preferred choice for the ofono calls Aug 21 20:47:09 the question then is what should happen when you plug in headphones= Aug 21 20:47:13 [Edit] the question then is what should happen when you plug in headphones? Aug 21 20:50:40 Note that the user can change these values from the call overview screen as well Aug 21 20:51:52 the situation can be `headset=speaker` as default, `headset=jack` for outside mic and `headset=auto` to auto discover. if there is a mic (outside) output channel should switch to external output Aug 21 20:52:48 yep, but if you set up a default option, then on the interface the user can choose alternative channels too Aug 21 20:54:10 @fredldotme [this wiki page still fits the current architecture: https://wiki.ubuntu.com/Touc …], So many pages, no navigation Aug 21 20:54:36 lol yeah Aug 21 22:46:12 diego_topow was added by: diego_topow Aug 22 02:31:00 @fredldotme [], Is this sort of a conference/symposium thing? Is there a way to follow it via stream or something? Aug 22 02:32:18 Oops missed the title it’s a hackathon **** ENDING LOGGING AT Thu Aug 22 02:59:56 2019