Monday, 2019-10-07

T42<BusterBg_18> mal: the .ks file is empty00:08
T42<BusterBg_18> I mean the one used for packaging rootfs00:12
T42<BusterBg_18> Sorry my bad, was missing ">" before $KS00:16
T42<BusterBg_18> So packing the rootfs was successful, now comes all the debugging and missing features:p00:50
Mister_Magisterkimmoli: pinggeroni06:59
jusaFYI: new pulseaudio-modules-droid has reworked input source handling in the form of reconfiguring droid source. usually this isn't visible at all, but if your port sees regression please let me know so we can fix that. As an example, with XA2 with the change input-voice_call was used by default when doing in-call recording (which to me feels like the "correct thing to do") but the end07:58
jusaresult was completely broken recording. To work around this, I needed to disable port change to input-voice_call during a call, as seen in this commit:
Mister_Magisterjusa: more like PSA07:58
Mister_MagisterOH SHIT JUSA U HERE07:59
Mister_Magisterjusa: i have question! Remember you changed my phone that in phone call earspeaker mode it uses loudspeaker mic but the noise cancelling is broken and i'm barely hearable. Can we disable noise cancelling to make it better somehow?08:00
Mister_Magisteroh no he ran away from me08:02
Mister_Magisterjusa: i really want to do something with that mic ;-;08:02
Mister_Magisteru prably busy rn08:04
T42Thinhx2 was added by: Thinhx208:13
jusaMister_Magister: I quickly skimmed through the backlog from now to 14.8., when we last discussed about this, and I asked for logs which I don't see08:27
Mister_Magisterjusa: yeah i just wanted to know if we can disable noise cancelling to make it better08:37
jusaMister_Magister: maybe, probably, but I have no idea how, I would need to look at the device adaptation, see how it behaves, and without any logs or clear pointers to the adaptation configuration that is just impossible.. so to your question, "can we disable noise cancelling to make it better" the answer is no.08:40
jusathen the other question is, should the noise cancellation even be disabled, or if there is some other proper way to fix that.. but same remarks08:41
Mister_Magisterokay i will contact u when iget logs08:43
jusaMister_Magister: to reiterate myself, first really make sure that the behaviour is correct with the Android build, and only if this is the case take at least 1) with the Android image, logcat logs of a) making a phone call b) making a phone call while you switch to speaker mode and back c) making a phone call while you connect and disconnect headset d) just listening to music while08:49
jusaconnecting and disconnecting headset, 2) same a, b, c and d with your Sailfish port, both with logcat and full PulseAudio logs, give me a link to your device's audio adaptation sources if possible (audio_hw.c and configuration xmls), after those I might be able to give an informed guess on what to do08:50
Mister_Magisterjusa: but what is listening to music for?08:51
jusaMister_Magister: more data on how the thing behaves08:52
jusaactually, more preferably record some audio with recording app08:52
Mister_Magisterjusa: okay since you want more detailed logs than before i'm gonna do it soon (maybe today even)08:52
jusamore is more08:53
Mister_Magisterjusa: dunno about audio_hw.c but config files are here
rinigusfor sony aosp9 based port, should I use as android base? and, I guess, replace droid-src-sony-ganges-pie with something more appropriate. its not the latest one that is available for aosp9, though09:52
Mister_Magisterrinigus:  prably not09:56
rinigusMister_Magister: from reading the manifest, its mainly the name that has ganges in it and it looks to be covering many sony devices. Hence the question10:09
Mister_Magisterah sony aosp9 based port10:09
Mister_Magisterthen dunno feel free i guess10:10
malrinigus: depends on how you are planning to built it10:11
malthe community way or the other way mentioned in sailfish x build instructions10:12
rinigusmal: as close as possible to x build instructions. I suspect it will lead to better result10:12
deathmistjust curious, would elros' dhd pull 226 ( fix the following journal spam of over 100 lines during init?
malprobably yes11:30
malwe forgot about that PR, need to check it again11:30
rinigusmal: just to confirm - your silence indicates that this android base is a correct one, right? :)12:25
malrinigus: well that can be used, just adapt the needed repos to match your device12:31
T42<BusterBg_18> Hey mal: what TWRP version should I use for flashing from what some users have told me it throws an error 613:03
malcheck channel logs13:06
deathmistmal elros: happy to report that dhd PR #226 works perfectly and I no more see chmod & chown journal spam ( on a new zip (y)14:57
T42<adampigg> mal: playing with allowing al orientations in p-o-v ... set allowedOrientations to Orientations.All, but dont get any onOrientattionChanged events :/15:35
T42<adampigg> forget that, working15:39
mal@adampigg the issue of using Orientations.All is that if you do side swipe to show events view it is shown upside down15:44
T42<adampigg> mal: it might be working, expect a PR15:54
Thaodanany one with a Sony device interested in helping on  a Android 10 based adaption?16:19
malThaodan: why do you want to use that? not sure how good the support is yet16:20
Thaodanbecause I have a device that has no pie support.16:21
Thaodanthe support is marked experimental.16:21
Thaodanthe  soc (sd8150) has no support for Android 9 apparently16:23
maloh, ok16:23
malI do have plans to test android base16:23
mal*android 10 base16:23
malor actually lineage 1716:23
ThaodanI have prepared the kernel properly for hybris16:24
malkernel is the easy part, usually16:24
ThaodanI know my sentence wasn't complete.  Next thing is updating the manifest and rebasing the changes from hybris16:25
ThaodanI hope I16:26
Thaodancan do it in a  way that it can go back to SailfishOS16:26
T42<BusterBg_18> So I'm following HADK guide to manually install the rootfs16:27
malwe'll see if we can still use same linker in libhybris, and that other things won't break16:27
T42<BusterBg_18> But tar command fails16:27
T42<BusterBg_18> With invalid magic or something like that16:27
T42<BusterBg_18> I flashed hybris-boot but after maybe a minute it reboots16:28
T42<BusterBg_18> Can't connect to telnet tho16:28
Thaodanmal: I'm not that far into Android and those things are the least changes you hear about in the news.16:29
Thaodan@BusterBg_18 try hybris recovery and see if this works at least.16:30
T42<BusterBg_18> Just boot it right?16:33
T42<BusterBg_18> It just boot to a black screen16:57
vknecht@BusterBg_18: if the tar fails, did you check the file is valid ? eg. trying to open and check its content on host computer ?17:03
T42<BusterBg_18> Yep on host it untars correctly17:06
T42<BusterBg_18> Now I know why it rebooted I had CONFIG_AUDIT=n17:08
*** electro is now known as Guest915117:12
vknechthmm, adding snapshot capability to pov video player, but can't seem to dynamically add a picture to gallery with "page.galleryModel.append({ filePath: path, isVideo: false });" and/or "gallery.fileList.append({ filePath: path, isVideo: false });"17:38
vknechtwould I have to turn the model into a singleton, or any other idea ?17:39
T42<jgibbon> vknecht: I think the gallery's id is galleryPage, not gallery.18:23
T42<jgibbon> or you could try to get the parent page via pageStack – something like PageStack.previousPage().fileList18:23
T42<jgibbon> or push the model into the player scope on pageStack.push as it is done with the gallery (as a property of page, but perhaps change from the empty "var" thing to something like property ListModel galleryModel)18:29
vknechtgood catch ! fixing name doesn't help, but with pagestack trick there's an item added but video/not-video is incorrect18:32
vknechtwill have to try passing it, good idea18:32
T42<BusterBg_18> Can someone look at my kernel defconfig? Its still rebooting19:25
T42<BusterBg_18> I managed to untar rootfs19:26
T42<BusterBg_18> But even so my kernel still fails to boot19:27
T42<BusterBg_18> Sorry it is this file
T42<BusterBg_18> already added audit=0 and selinux=0 to cmdline20:02
piggzmal: fixed a bug in the current code when facing down/up20:06
piggzvknecht: was that your bug? ;)20:06
mal@BusterBg_18 usually we don't add audit=0 to cmdline, only selinux=020:12
T42<BusterBg_18> Does it affect it if I leave it like that?20:17
malit can cause issues, modern devices need audit usually20:18
maldo you see anything in host dmesg?20:18
T42<BusterBg_18> Just the normal Android and Xiaomi Products20:19
malone thing that some new devices have is skip_initramfs in kernel cmdline which prevents sfos from working unless something like this is done
malbut you need to check if that is the case on your device20:20
T42<BusterBg_18> Ill have to check that but currently I cant even reach telnet20:23
maldo you see anything in host dmesg in usb related messages20:23
malanything about mer in there20:24
T42<BusterBg_18> Sadly only thing I see is Google and Xiaomi on dmesg20:25
piggzmal: in p-o-v ... should I move qml files that arnt pages, into the components folder?20:25
T42<jgibbon> piggz: I'm not mal, but… yes :)20:33
malpiggz: sure, why not20:43
piggzmal: will do that after the 2 PRs go in....20:44
piggzthen i will re-submit to harbour20:44
vknechtpiggz, hmm, on X it seems the portrait selfie is upside down in viewfinder now, and so in gallery (landscape selfie upside down in gallery too)20:55
vknechttest build from rotation PR:
piggzmido is fine ...20:57
piggzi thought X was like that anyway wasnt it?20:57
piggzthe only problem ive seen is selfie is mirrored horizontally in mido20:58
piggzbut it was like that before20:58
vknechtyes that too, on idol3 also20:58
T42<BusterBg_18> I have already removed audit from cmdline, and still can't seem to boot21:00
T42<BusterBg_18> I'm starting to become annoyed so I'm calling it a day21:00
T42<BusterBg_18> If anyone has a suggestion or idea please tell me21:06
vknechtyesterday, on X the viewfinder had no vertical flip, now portait has it21:08
vknechtsorry not sure it's clear, maybe we should make a spreadsheet21:09
piggzim struggling to get the focus circle to display in the correct posision atm21:09

Generated by 2.17.1 by Marius Gedminas - find it at!