Sunday, 2021-05-30

piggzhttps://twitter.com/adampigg/status/139888915514963148906:41
T42<Verevka86> @piggz [https://twitter.com/adampigg/status/1398889155 …], On my xiaomi mi6 (msm8998) in hybris17.1 everything works except the camera 😔06:50
T42<ruspartisan> @adampigg I managed to make pinephone image (after I bought the phone and dumped image from it after initial setup) to work-ish in qemu (gui works, ssh works, apps can open sometimes), that's what I was aiming for, thank you and chat for help.06:52
T42<ruspartisan> (Document) https://irc.thaodan.de/.imgstore/qvXQytlatG.mp406:52
T42<adampigg> @ruspartisan [@adampigg I managed to make pinephone image (a …], Great. ..np06:53
T42<adampigg> @ruspartisan does the browser work?07:09
T42<ruspartisan> Dns doesn't work so i didn't check the browser07:11
T42<ruspartisan> also for some reason sometimes I have to manually restart mce.server after gui appears07:13
T42<ruspartisan> checked the browser, can't open anything even by ip because it says it's in offline mode, though I can ping sites in ssh by ip07:19
T42<b100dian> nice! what was the lipstick issue piggz?08:15
piggzlibtls-padding08:16
piggz@notkit figured it out08:16
T42<b100dian> and you linked that to odm/lib64?08:16
T42<b100dian> mal: it turns out my camera actually works after clearing `~/.cache/gstreamer-1.0/` _and_ blanking and unblanking the display..08:21
piggz@b100dian added to ld.so.preload08:26
T42<b100dian> interesting, thanks for sharing08:33
piggzhttps://gitlab.com/ubports/core/hybris-support/tls-padding/08:37
T42chaudharyjatin115 was added by: chaudharyjatin11509:21
mal@Verevka86 do you have the needed hacks for camera?09:34
T42<b100dian> mal: I'm trying AUDIOPOLICYSERVICE now because I also have the recoring stops freeze, what are the other hacks?09:36
malI think most if not all need some symlinks for certain libs09:39
T42<b100dian> It also required libandroidicu, just verified that removing that link from /odm/lib64 makes it not work again09:47
malsome devices need symlinks to /system/lib also10:00
T42<Verevka86> @mal [I think most if not all need some symlinks for …], Yes12:09
mal@Verevka86 so what have you tried so far for camera? how does it behave?12:20
T42<b100dian> I'm not following, does Verevka also have a broken camera as me or a fixed one?12:29
T42<b100dian> *like me12:29
malprobably both12:31
T42<NotKit> mal, have you so far encountered Android 10 devices with sensors HAL 2.0?12:37
T42<NotKit> the main difference is that events are sent through FMQ as opposed to binder, and I have not found a way to use that with libgbinder on our side12:37
mal@NotKit I haven't seen any of those12:52
T42<NotKit> I've seen on OnePlus Nord N10, Poco M3 and I think Volla Phone with A10 BSP has that too12:56
malok, and those don't have 1.0 anymore?13:03
T42<NotKit> yes, no 1.013:08
T42<b100dian> @NotKit how can one tell if they're on sensors hal 2.0? (other than 'no working sensors')13:22
T42<NotKit> though 'no working sensors' on A10 port is a good way13:23
mal@b100dian use binder-list program from libgbinder-tools package13:24
T42<b100dian> Lineage 17.1 here - I have not reached the 'debugging sensors' part, but I have `android.hardware.sensors@1.0` output from that command13:25
T42<b100dian> also from binder-list, thanks mal13:27
T42<b100dian> but I do have one "vendor.xiaomi.hardware.citsensorservice@":)13:27
malprobably not relevant13:27
rinigusmal and piggz : fyi https://github.com/Olf0/mount-sdcard/issues/41 . mal , I presume this issue was not yet solved during internal Jolla discussions (/dev/sd* as internal storage)13:36
rinigus... also, which oneplus port had the same problem13:36
T42<elros34> When this issue keeps returning I always wonder why do you keep ignoring 'type' property. Is it not available on newer kernels or it is not consistent accross devices? /sys/block/mmcblk*/device/type or ATTRS{type} looks better than hardcoding particular block device as internal/external14:26
piggzdefinitely14:43
piggzmal: i have reduced warnings to https://paste.mozilla.org/jcaODdGH15:16
T42<b100dian> how does one strace a service when starting? attaching to pid may be too late and running the executable directly may not go through the same codepath (e.g. different user). I've enabled MINIMEDIA_AUDIOPOLICYSERVICE_ENABLE and still get 'Service media.audio_policy didn't start'15:26
T42<birdzhang> try AUDIOPOLICYSERVICE_ENABLE := 1 too15:28
T42<b100dian> Hmm enabling the MINIMEDIA_ prefixed one already prompted me to add  `frameworks/av/media/utils/include` to Android.mk, I am leaning towards a runtime failure15:35
piggzmal: should CONFIG_BT_HCIVHCI be added to kernel checker?15:38
malpiggz: maybe15:45
T42PadhiTheBoss was added by: PadhiTheBoss17:29
malrinigus: yeah, that's annoying issue, I still haven't personally had such device so not so easy to test18:33
rinigusmal: it is an annoying one and, on the top of it, dangerous. well, let's see if we can somehow test it with mount-sdcard of olf.18:59
malrinigus: what is that project? some extra thing or a hack?19:00
malin any case we should figure out how to make the detection work correctly19:01
rinigusmal: saw it at https://openrepos.net/content/olf/mount-sdcard . never used it myself19:02
malrinigus: wasn't there some device also with even more than one sd* devices for internal memory19:03
malah, that xz2 has that it seems19:04
malor does it, not sure19:05
rinigusmal: sdb and sdc is there as well on xz2, in addition to sda19:05
malrinigus: found a small issue in gst-droid and maybe other parts of gstreamer, the addition we have there19:18
malgst-inspect shows Unknown type 84 "GVariant" for some modes19:19
rinigusmal: interesting - maybe it will fix something19:20
malrinigus: not sure19:21
poetasteranyone verify that: https://wiki.merproject.org/wiki/Packaging/webhooks is usable?20:41
poetastersorry guys, it's way too late on a sunday, but I'm offline the next couple of days :)20:43
T42<adampigg> Poetaster : see my volla sfos 4.1 aarch64 port?20:55
poetasterno. way. way?20:56
mal@adampigg quite odd issue now, I try to run droid-hal-init and it says "bash: /sbin/droid-hal-init: not found" but the file is there20:56
poetasteradampigg: you know you rock.20:57
T42<adampigg> Early but way20:57
T42<adampigg> Mal: selinux?20:57
malhmm20:57
poetasteradampigg: release early, release often.20:57
T42<adampigg> Nees to be a little better yet20:57
poetasteradampigg: I have a second device JUST for this case.20:58
poetasteradampigg: but I'm away a couple of days and too tired to start now.20:58
malI'm quite the opposite with my ports, fp3 port is still not released because there has been two known issues20:59
poetastermal: I was being glib, your right to do what you do.21:00
poetasterI'm not in a hurry. I'm happy with 3.4 on fp2 and volla. I'm doing development and using (picture editing, building a synth with sdl2) so I'm good21:01
malI might be a bit too perfectionist21:01
poetastermal: that's a good thing (tm).21:02
poetasterI'm a release early and necessarily because of my bugs often kind of guy.21:02
malpoetaster: the problem is that new browser in newer sfos release would help use quite a lot on fp221:02
poetasternecessarily often21:02
mal@adampigg it seems only droid-hal-init fails, I don't see anything else failing21:03
poetastermal: yeah, that's clear. it's a right bugger the browser. with aggressive adblocking the 3.4 browser is 'ok'21:03
T42<adampigg> Perms?21:04
poetastermal: in a way, we're screwed, people moving to electron apps for cross plaform is really starting to constrain things21:05
malelectron apps?21:07
T42<adampigg> Shitty web things with a bundled chrome engine21:08
poetasteradampigg: exactly.21:08
T42<adampigg> Resource hoggs21:08
poetasterditto.21:08
malsounds terrible21:08
mal@adampigg device boots again21:09
poetasteradampigg: where should I have seen the port? gitlab ci?21:09
T42<adampigg> Btw not porting tonight21:09
mal@adampigg now I have 4.1.0.24 on fp321:09
T42<adampigg> (Photo, 2560x1920) https://irc.thaodan.de/.imgstore/u4d4Y0hVGr.png21:09
mal@adampigg I don't have any sailjail issues on fp3 at least21:10
malnice21:11
poetasteradampigg: nice ... I was at the lake with 2 eight year olds. similar vide.21:11
poetasters/vide/vibe/21:11
poetaster(I'm so slow. trying to figure out what kind of chicken that might be)21:12
poetaster(and the poker looks like an epee foil)21:13
T42<adampigg> :)21:14
poetasteradampigg: gardens and basements. not necessarily that order.21:20
T42<adampigg> (Photo, 2560x1920) https://irc.thaodan.de/.imgstore/VVSjrrMRXp.png21:22
poetaster(Phto, too large) https://poetaster.de/media/20210530_153836.jpg21:23
poetaster(the mothers were hiking 2 days running so I've been running around with 2 8 years olds)21:24
T42<adampigg> Nice21:26
poetasterwhere should I have seen the aarch 4.1 for volla? I was looking here https://gitlab.com/sailfishos-porters-ci/yggdrasil-ci21:29
poetastergood night guys!21:36

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