Monday, 2023-04-24

T42<k1gen> good morning elros, I did what you suggested, what logs should I provide?06:08
T42<k1gen> logcat: https://paste.opensuse.org/pastes/b471b50bda57; journal: https://0x0.st/HKbM.txt06:12
T42<k1gen> oh, also: cat: can't open '/data/strace/airbrush.strace': No such file or directory06:13
T42<k1gen> @elros34 https://paste.opensuse.org/pastes/62e47ab63807. should I merge them and upload it?06:19
T42<k1gen> something like cat * > airbrush.strace06:21
T42<TheVancedGamer> you can also start/stop services on demand06:46
T42<TheVancedGamer> `setprop ctl.start <name of service here>`06:48
T42<TheVancedGamer> and `setprop ctl.stop <name of service here>`06:48
T42<k1gen> thanks06:48
T42<TheVancedGamer> btw mal, did you push hybris-patches for hybris-20?06:48
T42<TheVancedGamer> I started working on Halium 13, it's compiling with patches rebased, but I was thinking about how the core bits have been moved from hidl to aidl?06:49
T42<k1gen> you said hidl - reminded me of not working call audio wil hidl_compat. waiting for NotKit to fix it06:51
T42<k1gen> @elros34 here's merged airbrush.strace: https://0x0.st/HKby.strace07:40
T42<k1gen> 116.2M of logs :)07:41
Mister_Magisterstrace is… mighty07:49
T42<k1gen> I wouldn't be surprised if elros won't read this. I wouldn't :)07:53
Mister_Magisteryou don't read entirety of it, you search for what you're looking for07:57
T42<elros34> you know it will grow and fill your partition? You could just show few files but probably one is enough08:33
T42<elros34> how 'stat /dev/ab_sm' looks like now?08:39
T42<k1gen> https://paste.opensuse.org/pastes/f8bb874f177b08:39
T42<elros34> so its wrong but you said it's correct08:41
T42<k1gen> should I chown vendor_airbrush:nobody /dev/ab_sm?08:42
T42<elros34> I think it's wrong but ...08:42
T42<elros34> try chmod 0700 or check what permissions android set08:43
T42<k1gen> so the ownership is fine, it's the permission that are wrong?08:44
T42<elros34> I think08:45
T42<k1gen> so I chmod 0700 now and check what, logcat?08:45
piggzseems that sailjail ApplicationName cant have a space in it?08:48
Mister_Magisterpiggz: Sandboxing=Disabled :)08:49
T42<elros34> @k1gen  remove strace files and check last one, but one more thing before: 'getent passwd vendor_airbrush'08:49
T42<k1gen> @elros34 vendor_airbrush❌100001:2907::/home/vendor_airbrush:/bin/bash08:49
T42<elros34> I am not sure you created it correctly08:50
piggzMister_Magister: thats not responsible ;)08:50
Mister_Magisterpiggz: this is the way08:50
Mister_Magistersailjail is dum and unnecessary08:51
Mister_Magisterbreaks more things than it fixes08:51
T42<k1gen> @elros34 groupadd -g 2907 vendor_airbrush and useradd -g 2907 vendor_airbrush iirc08:51
T42<k1gen> what am I looking for in the last strace?08:51
T42<elros34> same, /dev/ab_sm open() syscall08:53
T42<elros34> but the user is wrong so it will probably not help08:54
T42<k1gen> https://paste.opensuse.org/pastes/3c2625e9ff8408:54
T42<k1gen> should I delete vendor_airbrush user and create it differently?08:58
T42<elros34> yes search how to do this properly and without creating /home/dir and with correct uid09:00
T42<TheVancedGamer> you can use -M flag to useradd to not create home dior09:02
T42<TheVancedGamer> and users have user IDs09:03
T42<TheVancedGamer> so -u flag to specify uid for vendor_airbrush user09:03
T42<TheVancedGamer> you can also add -U flag to get rid of the groupadd command09:03
T42<k1gen> userdel -r vendor_airbrush, then useradd -M -U -u 2907 vendor_airbrush?09:03
T42<TheVancedGamer> yup09:03
T42<k1gen> thanks09:04
T42<k1gen> @elros34: logcat: https://paste.opensuse.org/pastes/a2f6571c8801; stat /dev/ab_sm: https://paste.opensuse.org/pastes/4ea2c7779ac3; strace: https://paste.opensuse.org/pastes/6097d298e07909:15
T42<k1gen> now camera crashes on stop recording again, as when I ran airbrush with runuser, but I see preview when I restart jolla-camera app09:16
T42<k1gen> so camera is mostly usable. videos that are saved are not playable09:18
T42<elros34> group is still wrong but if it works then let it be. Did you try to fix seccam?09:23
T42<k1gen> no, not yet. I remember you sent me lineage commit that changed manifest.xml, but I don't know where to edit it and what to do after09:24
T42<k1gen> I also remember "did you compare with lineage logs? maybe you have same irrelevant error in android", but I don't know what lineage logs you're talking about09:25
T42<elros34> about manifest: neither I. just search in your device whether this file is just copied09:26
T42<elros34> about logs then obviously seccam related, does it work or fails same way on lineage09:26
T42<k1gen> I don't have any logs from lineage09:27
T42<k1gen> https://paste.opensuse.org/pastes/60f1f985ba80. device/google/coral/manifest.xml is the one I guess?09:28
T42<k1gen> is there any way to fix seccam without flashing lineage? compiling it took me whole day, and reverting all the fixes I did to running sailfish...09:29
T42<elros34> and what we are talking about now? find where on device you have manifest.xml, according to your paste it can be /vendor/firmware/ but you must really compare files09:31
T42<k1gen> xml in device tree (device/google/coral/manifest.xml): https://0x0.st/HKcN.txt; xml on device: https://0x0.st/HKcK.xml09:35
T42<k1gen> from all these https://paste.opensuse.org/pastes/b087f8efc758 I showed /vendor/firmware/manifest.xml09:36
T42<elros34> so search in other places maybe etc/vintf09:37
T42<elros34> you do not need to show me that files are different, just find correct one09:38
T42<k1gen> /system/etc/vintf/manifest.xml looks similar: https://0x0.st/-Mjb.xml09:39
T42<k1gen> also /vendor/etc/vintf/manifest.xml: https://0x0.st/HKcc.txt09:41
T42<k1gen> should I add vendor.qti.hardware.seccam to etc/vintf/manifest.xml and reboot?09:45
T42<elros34> really dont know but you can try and see what will burn09:46
T42<k1gen> ok, I bind mounted changed mantifest to /vendor/etc/vintf/manifest.xml, now it has ISecCam in it. any way to check if thish did anything without rebooting?09:51
T42<k1gen> is this useful: https://paste.opensuse.org/pastes/295d51eaa55b?09:52
T42<elros34> no idea what reads that manifest file maybe servicemanager09:53
T42<k1gen> I have could not set property trying to run setprop ctl.stop vendor.qti.hardware.seccam@1.0-service-qti10:01
T42<TheVancedGamer> sudo10:01
T42<k1gen> as root10:02
T42<TheVancedGamer> then try as user10:02
T42<k1gen> same error10:02
T42<TheVancedGamer> I don't know how android works there so no idea10:03
T42<k1gen> then how do I make bind mount stay after power off?10:04
T42<b100dian> add it to /usr/bin/droid/droid-hal-early-init.sh ?10:06
T42<k1gen> I don't have that file, what syntax should I use?10:07
T42<elros34> .sh  is a regular /bin/sh script10:10
T42<k1gen> ok, then just echo 'mount -o bind /etc/vintf_manifest.xml /vendor/etc/vintf/manifest.xml' > /usr/bin/droid/droid-hal-early-init.sh?10:11
T42<k1gen> is the silence a yes?10:15
T42<elros34> why don't you try yourself, run generated script and see10:17
T42<elros34> it will takes you <20s and waiting for answer for such a question 5 minuts or more10:17
T42<k1gen> I'm trying to not reboot if I can, because one reboot may become 10 reboots10:18
T42<k1gen> because of freezing on spinning circle/lockscreen bug10:18
T42<elros34> so again: run script and see if it works10:18
T42<k1gen> works I guess10:19
T42<elros34> check other official devices and see how they use that file/ add regular shebang for precaution10:19
T42<k1gen> bind mount worked, there is now ISecCam in /vendor/etc/vintf/manifest.xml; camera fails when I press the stop reconding button, also video recording preview is laggy. logcat: https://0x0.st/HKcW.txt; journal: https://0x0.st/HKc4.txt10:32
T42<k1gen> I am commenting when exactly I open jolla-camera now by the way10:44
mal@TheVancedGamer I didn't yet push the hybris-20 patches, I probably should10:47
T42<k1gen> oh, proximity sensor and flashlight don't work besides video recording10:49
T42<k1gen> when I'm in calls and get phone close to the ear, display doesn't turn off. and flashlight works once, then when I turn it off, in top menu the flashlight button stays lit as if it's turned on, but flashlight turns off and I can't turn it on anymore10:51
T42<TheVancedGamer> mal: that would help, yeah10:53
T42<TheVancedGamer> finding many oddities with my own rebate attempts10:54
T42<TheVancedGamer> google manages to change so much every release...10:54
mal@TheVancedGamer yeah, the rebase took some time, maybe wait until the evening so I can check that my local branch has all needed changes before I push it to github10:57
T42<k1gen> mal: does that mean you will publish hidl_compat changes too so I could use it without -jb2q pulse?10:58
malI probably should push those also11:00
T42<k1gen> @elros34 any thoughts on why camera crashes on video recording now that we fixed airbrush and seccam?11:20
T42<elros34> no not really, these new device generate insane amount of logs to read11:21
T42<k1gen> can I help somehow?11:23
T42<adampigg> Mal, @k1gen whats this about not needing jb2q pulse? On a modern device? Volla22 also does that so maybe relevant for me11:37
T42<k1gen> hadk-hot says jb2q is for <= android 10, and my build is based on 11. that's why I worry11:38
T42<k1gen> but me, mal and edp_17 share the same issue with audio in calls not working, and we all use hidl_compat. without it, pulseaudio would segfault on my device, and I was struggling a lot to fix that11:39
mal@adampigg I think devices using hidl_compat need to use jb2q currently11:48
maleven if the device is using android 11 or newer base11:48
T42<k1gen> mal: do you happen to know if this hidl_compat issue is being worked on or ever will be?11:48
malI have to figure it out somehow, or build 64-bit hal for my device11:57
T42<k1gen> I can be a tester if you need one, ping me anytime11:58
T42<k1gen> mal: can I ask for help with proximity sensor? I don't know where to begin. sensorfw is working fine, and every sensor works but proximity12:24
T42<Mister_Magister> have you tried the on demand change12:25
T42<elros34> did you check whether proximity sensor works in messwerk or csd?12:26
T42<k1gen> yeah, I just tried testing in csd, and it works there12:28
T42<k1gen> but it doesn't turn off the display when in calls12:28
T42<elros34> https://github.com/mer-hybris/droid-config-sony-seine/commit/4c87a481cd72423ae3b537572abeb09109b3ffc712:29
T42<Mister_Magister> thats… what i just suggested12:29
T42<k1gen> thanks12:29
T42<Mister_Magister> i'm magic unicorn12:29
T42<k1gen> flashlight fixed itself when we fixed airbrush/seccam I guess12:39
T42<k1gen> then only video recording left, if I didn't forget anything12:39
T42<Mister_Magister> ye flashlight for SOME REASON JOLLA uses camera to turn on the torch (re @k1gen: flashlight fixed its...)12:41
T42<Mister_Magister> unless you mean actual flashlight  not torch12:41
T42<Mister_Magister> then ye12:42
T42<Mister_Magister> fingerprint? (re @k1gen: then only video reco...)12:42
T42<k1gen> I have face id, it's pixel :)12:42
T42<Mister_Magister> on sfos?12:42
T42<k1gen> no, I meant that I don't have fingerprint sensor, I only have face detection12:43
Mister_Magisterhuh12:43
Mister_Magisteris that really truth? which pixel was it?'12:43
T42<k1gen> and afaik face id doesn't work on sailfish12:44
Mister_Magisterye hence my question about sfos12:44
T42<k1gen> not was, it is pixel 4. google it :P12:44
Mister_Magisterlool12:46
Mister_Magisteranother reason not to buy12:46
T42<K31j0> Least it has no notch lmao (re @SailfishFreenodeIRCBridgeBot: <Mister_Magister>ano...)12:46
Mister_Magisteri think @k31j0 is about to agree12:46
Mister_Magisterah he aint12:46
T42<k1gen> yeah, it also doesn't have 3.512:46
T42<k1gen> but no notch, yeah12:46
T42<K31j0> I used reply accidentally sorry12:46
T42<k1gen> overall pretty nice phone12:46
Mister_Magisterdw imho reply looks fine12:47
T42<K31j0> idk about pixels, I don't feel good buying anything from Goolag12:47
T42<k1gen> especially with nice os on it12:47
Mister_Magisteri wouldn't say it's nice12:47
Mister_Magistertoo many defects12:47
T42<k1gen> it's kinda offtopic12:47
Mister_Magisterso what12:47
T42<Mister_Magister> here, i'm admin, i allow offtopic xddd12:48
Mister_Magisternah but honestly casual offtopic is fine12:48
Mister_Magister@k1gen ofc you're gonna use that pixel for next 10 years right?12:49
T42<k1gen> 5 at least12:49
Mister_Magisterbased12:49
T42<k1gen> if I don't break it12:49
Mister_Magisteryee12:50
T42<k1gen> I used it for 2 years already12:50
Mister_Magisterit's like my 5z12:50
Mister_Magistertho nobody is using that port so i won't feel bad about not using it anymore12:50
T42<k1gen> and I won't waste any money on a smartphone in the near future12:50
Mister_Magisterbaaased12:51
T42<k1gen> no, I'm just broke12:51
Mister_Magisterxd12:51
Mister_Magistershhh12:51
Mister_Magisteract based12:51
Mister_Magisteri think after we get sake with @k31j0 imma switch to it as main phone + g2 while porting mainline to x212:51
Mister_Magisterg2/x2 best phones ever produced12:51
Mister_Magisterpeak of humanity12:52
T42<k1gen> decrypt the model for me12:52
Mister_Magistermotorola moto g 2nd gen 2014 and motorola moto x 2014 2nd gen12:52
T42<k1gen> thanks12:52
Mister_Magisterg2 is bit weak but for casual calling, navigation, music, it's plenty, and i'm not the only one still using it in 202312:53
T42<K31j0> The only upside of pixels is that goolag partnered with ifixit and you can get parts for them12:53
Mister_Magisterx2 is that much more powerful and plenty enough powerful for everything12:53
T42<K31j0> but anything past 5 will suck to port because it's exynos in disguise x'D12:53
Mister_Magisterwe need tadiphone v212:53
T42<K31j0> Also Zenfones are probably the smallest new phones on the android side so I guess I'll just use that thanks12:54
Mister_Magisterand still has TRRS12:54
Mister_Magisternot putting TRRS is spitting into customer's face12:54
Mister_Magisterboth g2 and x2 have TRRS so if you don't have it, you're automatically worse12:55
T42<k1gen> @K31j0 I actually wanted zenfone 9 for some time, but then I realised how much it costs and started porting sailfish on pixel12:56
Mister_Magisterjust ask people to buy it for you /s12:57
T42<k1gen> also pixel 4 is small, I like it, and in terms of power - I don't think I will ever anything more powerful than sm815012:58
Mister_Magisteryou don't need anything more powerful than x212:58
Mister_Magisterthat's why its peak12:58
Mister_Magister2GB ram and s4 pro12:58
Mister_Magisterno big.LITTLE bullcrap12:58
T42<k1gen> maybe for you it's ideal, not for me12:59
Mister_Magisterlieees12:59
T42<k1gen> so, to summarize - for now I have two issues: can't record video and no sound in calls. as not only I have the sound issue, I hope it will be fixed soon, by NotKit or mal. with video though...13:04
T42<K31j0> If only making a phone was cheaper13:04
piggz@k1gen you need to learn, its Mister_Magister's way, or no-way :D13:14
Mister_Magisterthat's actually false but you can't go wrong with Magister's way :P13:15
T42<elros34> @k1gen did you actually tried to contact with hidl_compat author or you just hope it will read your mind and care about that particular issue ?13:20
T42<k1gen> he's here, I pinged him and described the issue13:21
Mister_Magisternot everyone has bouncer tho13:21
Mister_Magisterunless you mean telegram side13:21
T42<elros34> but he is not active here for a quiet a time already, not sure he even use sailfish anymore13:22
Mister_Magisterif you want something, nothing's better than good old fashion email13:22
Mister_Magistersend them postcard13:23
T42<K31j0> with a pigeon13:23
* Mister_Magister and hence we're called a team13:23
T42<elros34> or in that case "Issue" at github13:24
T42<Mister_Magister> which will also send them email13:24
malI also contacted the author and discussed the issue a bit13:26
Mister_Magisteru sent them pigeon?13:27
malno, I used another chat13:27
T42<TheVancedGamer> @k1gen you mean @NotKit?13:27
T42<TheVancedGamer> they're still here13:27
Mister_Magisteroh thekit13:28
Mister_Magistereveryone knows netkit13:28
T42<k1gen> yeah, I mentioned him earlier13:28
T42<k1gen> a week ago maybe13:28
Mister_Magisterthekit is based af, he a legend13:28
T42<TheVancedGamer> they're on telegram, not irc13:28
T42<k1gen> yeah13:28
Mister_Magisteryee13:28
T42<TheVancedGamer> I guess we wait13:28
T42<TheVancedGamer> Forwarded from unknown: so, to summarize - for now I have two issues: can't record video and no sound in calls. as not only I have the sound issue, I hope it will be fixed soon, by NotKit or mal. with video though...13:32
T42<TheVancedGamer> Forwarded from NotKit: I have no idea of that13:33
T42<TheVancedGamer> @k1gen so theres that13:33
T42<k1gen> :|13:33
T42<k1gen> mal said he discussed the iasue with NotKit13:34
T42<k1gen> *issue13:34
T42<TheVancedGamer> not sure then, we could wait for him here13:34
T42<NotKit> @k1gen what is your device in question? is it Moto device without 64-bit audio HAL?13:38
Mister_Magistersee guys i told you13:38
Mister_Magisterhis nickname is Notkit but his name is Thekit13:38
Mister_Magisteri remember Netkit too13:38
Mister_Magisteri think it was twitter13:38
T42<k1gen> @NotKiti t's a google pixel 4, iirc without 64-bit audio HAL13:39
mal@NotKit fp4, without 64-bit hal13:45
T42<k1gen> @edp_17 also has this issue13:47
T42<elros34> @k1gen what are you talking about? IIRC you had 64bit lib or I have delusion13:49
T42<k1gen> give me some time to get back to my laptop so I could check13:50
T42<k1gen> I found the message after which sound started working, mal sent it: it [pulseaudio] crashes even with audio.primary.msmnile.so loaded, we were attempting to use hidl compat to see if there is some issue in 64-bit lib13:56
T42<k1gen> @elros34 ^13:56
T42<k1gen> @NotKit, do you need any logs of hidl_compat to better understand the issue?14:42
T42<NotKit> sadly I don't know what is that issue related to in the first place14:45
mal@NotKit still odd how several devices appear to have the same issue14:55
maland use different android bases14:55
T42<k1gen> sad that I never knew why my 64-bit lib failed14:58
T42<k1gen> in theory i shouldn't have used hidl_compat at all15:01
T42<k1gen> I'm trying to use mtp, but laptop uses rndis_host driver. how can I fix this? I already have /etc/usb-moded/usb-moded-configfs.ini with this content: https://github.com/mer-hybris/droid-config-sony-seine/blob/master/sparse/etc/usb-moded/usb-moded-configfs-seine.ini. I also have a folder /config/usb_gadget/g1/functions/ffs.mtp15:35

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